/* Sell My Car — match main site fonts & layout (Open Sans / Nunito Sans) */

.sell-hero {
  background-color: var(--blue-450);
  background-image: var(--sell-hero-bg);
  background-size: cover;
  background-position: var(--sell-hero-pos, center);
  position: relative;
}

.sell-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 154, 223, 0.92) 0%, rgba(7, 154, 223, 0.75) 45%, rgba(7, 154, 223, 0.35) 100%);
  pointer-events: none;
}

.sell-hero .app-hero__content {
  position: relative;
  z-index: 1;
}

.sell-form-section {
  margin-top: -20px;
}

@media (min-width: 900px) {
  .sell-form-section {
    margin-top: -40px;
  }
}

/* Form card — calculator-style split */
.cm-sell-form-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

@media (min-width: 900px) {
  .cm-sell-form-card {
    flex-direction: row;
  }
}

.cm-sell-form-card__left {
  background: var(--gray-100);
  padding: 40px 20px 35px;
}

@media (min-width: 600px) {
  .cm-sell-form-card__left {
    padding: 48px 48px 40px;
  }
}

@media (min-width: 900px) {
  .cm-sell-form-card__left {
    width: 55%;
    padding: 56px 48px;
  }
}

.cm-sell-form-card__right {
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

@media (min-width: 600px) {
  .cm-sell-form-card__right {
    padding: 48px 56px;
  }
}

@media (min-width: 900px) {
  .cm-sell-form-card__right {
    width: 45%;
  }
}

.cm-sell-form-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--gray-500);
  margin: 0 0 12px;
}

@media (min-width: 600px) {
  .cm-sell-form-card__title {
    font-size: 28px;
    line-height: 36px;
  }
}

.cm-sell-form-card__subtitle {
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-500);
  margin: 0 0 20px;
}

.cm-sell-form-card__disclaimer {
  font-size: 12px;
  line-height: 18px;
  color: var(--gray-400);
  margin: 0 0 24px;
}

.cm-sell-page-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cm-sell-field {
  display: flex;
  flex-direction: column;
}

.cm-sell-field--full {
  grid-column: 1 / -1;
}

.cm-sell-field label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.cm-sell-field input,
.cm-sell-field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-500);
  background: #fff;
  box-sizing: border-box;
}

.cm-sell-field input:focus,
.cm-sell-field select:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 2px rgba(7, 163, 238, 0.15);
}

.cm-sell-field input::placeholder {
  color: var(--gray-400);
}

.cm-sell-hint {
  font-size: 12px;
  line-height: 18px;
  color: var(--gray-400);
  margin: 8px 0 0;
}

.cm-sell-form-section-label {
  grid-column: 1 / -1;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-500);
  margin: 8px 0 0;
}

.sell-success {
  background: var(--blue-100);
  border: 1px solid var(--blue-300);
  color: var(--blue-500);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 14px;
}

.sell-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 14px;
}

.cm-sell-submit {
  width: 100%;
  max-width: 320px;
}

@media (max-width: 640px) {
  .cm-sell-page-form {
    grid-template-columns: 1fr;
  }
  .cm-sell-submit {
    max-width: none;
  }
}

.cm-sell-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
}

.cm-sell-rating .stars {
  color: #fbbc04;
  letter-spacing: 1px;
}

.sell-how-steps {
  margin-top: 0;
  margin-bottom: 0;
}

.cm-sell-voucher-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 920px;
  margin: 32px auto 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: left;
}
.cm-sell-voucher-banner__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-radius: 6px;
}
.cm-sell-voucher-banner__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #6b7280;
}
.cm-sell-voucher-banner__text strong {
  color: #111827;
  font-weight: 700;
}
@media (max-width: 599px) {
  .cm-sell-voucher-banner {
    gap: 12px;
    padding: 14px 16px;
  }
  .cm-sell-voucher-banner__logo {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }
  .cm-sell-voucher-banner__text {
    font-size: 14px;
  }
}

.sell-how-paid__title {
  margin: 0 0 28px;
  text-align: left;
  color: var(--gray-500);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
}
.sell-how-paid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .sell-how-paid__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
}

.sell-how-paid__steps {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.sell-how-paid__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 108px;
  border-bottom: 1px solid #e5e7eb;
}
.sell-how-paid__step:last-child {
  border-bottom: 0;
}
.sell-how-paid__num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-500);
  border-right: 1px solid #e5e7eb;
  font-family: var(--font-display);
}
.sell-how-paid__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  text-align: left;
}
.sell-how-paid__copy h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--gray-500);
  font-weight: 700;
}
.sell-how-paid__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--gray-400);
}

.sell-how-paid__receipt-wrap {
  background: linear-gradient(160deg, var(--blue-50) 0%, #e8f6fc 55%, var(--blue-100) 100%);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.sell-how-paid__receipt {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(6, 123, 177, 0.12);
  padding: 28px 24px 26px;
  text-align: left;
}
.sell-how-paid__check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(var(--blue-300), var(--blue-400));
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow-btn);
}
.sell-how-paid__receipt-title {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--gray-500);
  font-weight: 700;
}
.sell-how-paid__rule {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 18px;
}
.sell-how-paid__receipt-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: start;
}
.sell-how-paid__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.sell-how-paid__amount {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-500);
  line-height: 1.2;
}
.sell-how-paid__interac {
  justify-self: end;
  align-self: start;
}
.sell-how-paid__interac-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 36px;
  padding: 0 10px;
  background: #ffcd00;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
}
.sell-how-paid__from {
  grid-column: 1 / -1;
}
.sell-how-paid__from strong {
  display: block;
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.sell-how-paid__email {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
}

.sell-why__title {
  margin: 0 0 36px;
  text-align: center;
  color: var(--gray-500);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
}
.sell-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .sell-why__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
.sell-why__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}
.sell-why__card--featured {
  box-shadow: 0 10px 28px rgba(7, 154, 223, 0.14);
  border-color: #d7eaf5;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .sell-why__card--featured {
    transform: scale(1.02);
  }
}
.sell-why__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid #e5e7eb;
  min-height: 72px;
}
.sell-why__head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--gray-400);
}
.sell-why__card--featured .sell-why__head h3 {
  color: var(--gray-500);
}
.sell-why__spin {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  perspective: 160px;
  display: grid;
  place-items: center;
}
.sell-why__spin-inner {
  position: relative;
  width: 36px;
  height: 36px;
  transform-style: preserve-3d;
  animation: sell-dc-spin 3.2s linear infinite;
}
.sell-why__spin-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #ff3b45 0%, var(--brand-red, #e30613) 45%, #b0000a 100%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 10px rgba(227, 6, 19, 0.35);
}
.sell-why__spin-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: screen;
}
.sell-why__spin-face--front {
  transform: rotateY(0deg);
}
.sell-why__spin-face--back {
  transform: rotateY(180deg);
}
@keyframes sell-dc-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sell-why__spin-inner { animation: none; }
  .sell-why__spin-face--back { display: none; }
}
.sell-why__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sell-why__rows li {
  margin: 0;
  padding: 16px 22px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--gray-500);
  border-bottom: 1px solid #f0f1f3;
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sell-why__rows li:nth-child(even) {
  background: #f8f9fa;
}
.sell-why__rows li:last-child {
  border-bottom: 0;
}
.sell-why__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.sell-promo-cards {
  padding-top: 0;
  padding-inline: 0;
  max-width: none;
}

.sell-promo-cards .info-card {
  flex: 1;
}

.sell-promo-cards .btn {
  margin-top: 8px;
}
