/**
 * GD Holidays — Driver Referral landing (desktop + mobile)
 */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --navy: #0a2342;
  --navy-deep: #040c1c;
  --navy-mid: #0f3460;
  --gold: #f1b434;
  --gold-dark: #d49a1e;
  --gold-light: #ffd666;
  --cream: #fdf5e6;
  --blue-soft: #ddeaf7;
  --orange-faq: #e07020;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --white: #fff;
  --green-accent: #1a9b5c;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(10, 35, 66, 0.14);
  --shadow-form: 0 8px 32px rgba(10, 35, 66, 0.12);
  --font: "Noto Sans", "Noto Sans Devanagari", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --line-tight: 1.32;
  --line-body: 1.65;
  --line-relaxed: 1.75;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: var(--line-body);
  font-size: 16px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-spacing: normal;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font);
  text-wrap: balance;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ----- Hero: photo right strip; left edge soft-blends into navy (no hard cut) ----- */
.hero {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  color: var(--white);
  padding: 0.75rem 1.25rem 2.5rem;
  min-height: 240px;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* Wider layer under text so blend isn’t a vertical seam at 70% */
  left: 56%;
  right: 0;
  z-index: 0;
  background-image: url("../images/hero-driver-right.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 32% center;
  pointer-events: none;
  /* Feather photo’s left edge into hero bg — reads as one surface */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 12%,
    rgba(0, 0, 0, 0.7) 24%,
    #000 38%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 12%,
    rgba(0, 0, 0, 0.7) 24%,
    #000 38%,
    #000 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      var(--navy-deep) 0%,
      rgba(10, 35, 66, 0.98) 24%,
      rgba(10, 35, 66, 0.92) 40%,
      rgba(10, 35, 66, 0.65) 54%,
      rgba(10, 35, 66, 0.28) 66%,
      rgba(10, 35, 66, 0.06) 74%,
      transparent 80%
    ),
    radial-gradient(ellipse 55% 50% at 88% 32%, rgba(241, 180, 52, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.14) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-layout {
  display: grid;
  gap: 1rem;
  align-items: center;
  max-width: 38rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-logo-row {
  display: none;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.hero-logo-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.hero-logo-text small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 0.2rem;
  line-height: 1.45;
  font-weight: 500;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: var(--line-body);
  margin: 0 0 1rem;
}

.hero-kicker .car {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.12em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3.2vw, 2.05rem);
  font-weight: 800;
  color: var(--gold);
  line-height: var(--line-tight);
  letter-spacing: -0.01em;
  max-width: 36rem;
  padding-bottom: 0.06em;
}

.title-mobile {
  display: none;
}

.mobile-yellow {
  display: none;
  line-height: var(--line-tight);
  font-weight: 700;
}

.hero-lead {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  max-width: 38rem;
  opacity: 0.96;
  line-height: var(--line-relaxed);
  font-weight: 400;
}

.hero-lead strong {
  font-weight: 700;
}

.emoji-tail {
  display: inline-block;
  line-height: 1;
  vertical-align: -0.12em;
  margin-inline-start: 0.2em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.hero-lead .hl {
  color: var(--gold);
  font-weight: 700;
}

.gold-inline {
  color: var(--gold);
  font-weight: 800;
  white-space: normal;
}

.btn-submit__ico--mob {
  display: none;
  margin-right: 0.35rem;
}

.btn-submit__ico--desk {
  display: inline;
  margin-right: 0.35rem;
}

/* ----- Main grid (desktop) ----- */
.shell {
  flex: 1 1 auto;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 3rem;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "benefits"
    "card"
    "form"
    "how"
    "faq";
  gap: 1.75rem;
  margin-top: 0;
  position: relative;
  z-index: 0;
}

.cell-benefits {
  grid-area: benefits;
  position: relative;
  z-index: 1;
  padding-top: 0;
  background: var(--cream);
}

.cell-card {
  grid-area: card;
  position: relative;
  z-index: 1;
  background: var(--cream);
}

/* Form + FAQ: one column on desktop; display:contents on mobile so children keep grid order */
.cell-sidebar {
  display: contents;
}

.cell-sidebar > .form-card {
  grid-area: form;
  position: relative;
  z-index: 3;
}

.cell-sidebar > .faq-block {
  grid-area: faq;
  position: relative;
  z-index: 1;
  background: var(--cream);
}

.cell-how {
  grid-area: how;
  position: relative;
  z-index: 1;
  background: var(--cream);
}

/* ----- Cards / sections ----- */
.section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: var(--line-tight);
}

.section-title span[aria-hidden="true"] {
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.12em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits-list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff6d9, var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10, 35, 66, 0.12);
}

.benefits-list li:nth-child(2) .benefit-icon {
  background: linear-gradient(160deg, #e8f2fc, #5b8ec4);
}

.benefits-list li:nth-child(3) .benefit-icon {
  background: linear-gradient(160deg, #d4f5e9, #3cb878);
}

.benefits-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
  line-height: var(--line-tight);
  font-weight: 700;
}

.benefits-list p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: var(--line-body);
}

/* Referral card preview */
.preview-card-wrap {
  margin: 1.75rem 0;
}

.referral-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 420px;
}

.referral-card-top {
  background: linear-gradient(180deg, #ffe566 0%, var(--gold) 100%);
  padding: 0.85rem 1rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-wordmark {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.rc-name {
  padding: 0.65rem 1rem;
  background: #fffef5;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.referral-card-bottom {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.rc-code-box {
  background: linear-gradient(180deg, #0d2d52 0%, #061830 100%);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(241, 180, 52, 0.25);
}

.rc-code-box .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}

.rc-code-box .code {
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.rc-code-hint {
  font-size: 0.72rem;
  margin-top: 0.45rem;
  opacity: 0.9;
  line-height: 1.35;
}

.qr-block {
  text-align: center;
}

.qr-box {
  width: 88px;
  height: 88px;
  background: var(--white);
  border-radius: 6px;
  margin: 0 auto 0.25rem;
  background-image: linear-gradient(90deg, #000 1px, transparent 1px),
    linear-gradient(#000 1px, transparent 1px);
  background-size: 8px 8px;
  background-position: center;
  border: 3px solid var(--white);
}

.qr-img {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 0.25rem;
  border-radius: 6px;
  border: 3px solid var(--white);
  object-fit: contain;
  background: var(--white);
}

.qr-caption {
  font-size: 0.65rem;
  opacity: 0.85;
}

.rc-footer {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  opacity: 0.88;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.preview-caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.65rem;
  max-width: 420px;
  line-height: 1.5;
}

.preview-caption strong {
  color: var(--navy);
  font-weight: 800;
}

/* ----- Referral card stack (front + back) ----- */
.referral-card-stack {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.preview-card-wrap .referral-card-stack {
  margin-top: 0.5rem;
}

.referral-card-stack > .referral-card--live,
.referral-card-stack > .referral-card--back {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.referral-card-stack > .referral-card--live .referral-card-top,
.referral-card-stack > .referral-card--back .rc-back-ref-header {
  flex-shrink: 0;
}

.referral-card-stack > .referral-card--live .rc-name {
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.referral-card-stack > .referral-card--live .referral-card-bottom,
.referral-card-stack > .referral-card--back .referral-card-bottom {
  flex: 1 1 auto;
  min-height: 0;
}

/* ----- Back card — reference card (white/cream, gold waves, print layout) ----- */
.referral-card--back {
  font-family: Montserrat, "Noto Sans", "Noto Sans Devanagari", ui-sans-serif, system-ui, sans-serif;
  --ref-paper: #fefdfb;
  --ref-paper-warm: #fffef8;
  --ref-gold: #e5b84b;
  --ref-gold-deep: #c9951c;
  --ref-blue: #1a4b8f;
  --ref-ink: #0f0f0f;
}

.referral-card--back .rc-back-ref-header {
  flex-shrink: 0;
  background: var(--ref-paper-warm);
}

.referral-card--back .rc-back-ref-waveband {
  line-height: 0;
  height: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5d76a 0%, var(--ref-gold) 100%);
}

.referral-card--back .rc-back-ref-waveband--bottom {
  height: 11px;
  margin-top: 0;
  background: linear-gradient(180deg, var(--ref-gold) 0%, #d9a73a 100%);
}

.referral-card--back .rc-back-ref-waveband__svg {
  display: block;
  width: 100%;
  height: 13px;
  margin-top: -1px;
}

.referral-card--back .rc-back-ref-waveband--bottom .rc-back-ref-waveband__svg {
  margin-top: 0;
  margin-bottom: -1px;
}

.referral-card--back .rc-back-ref-header__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem 0.6rem;
  border-bottom: 1px solid rgba(229, 184, 75, 0.35);
}

.referral-card--back .rc-wordmark--back-ref {
  height: 38px;
  width: auto;
  max-width: 44%;
  object-fit: contain;
  flex-shrink: 0;
}

.referral-card--back .rc-back-ref-tagline {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ref-ink);
  line-height: 1.28;
  flex: 1;
  min-width: 0;
  letter-spacing: 0.01em;
}

.referral-card--back .referral-card-bottom.rc-back-ref-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background-color: var(--ref-paper);
  background-image:
    radial-gradient(circle at 22% 28%, rgba(0, 0, 0, 0.012) 0%, transparent 48%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.014) 0%, transparent 42%),
    linear-gradient(180deg, #fffefc 0%, var(--ref-paper-warm) 100%);
  color: var(--ref-ink);
  padding: 0.65rem 0.85rem 0.55rem;
  gap: 0;
  align-items: stretch;
}

.referral-card--back .rc-back-ref-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  gap: 0 0.55rem;
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
}

.referral-card--back .rc-back-ref-split__rule {
  width: 2px;
  align-self: stretch;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    rgba(229, 184, 75, 0.15) 0%,
    rgba(229, 184, 75, 0.92) 30%,
    rgba(229, 184, 75, 0.92) 70%,
    rgba(229, 184, 75, 0.15) 100%
  );
}

.referral-card--back .rc-back-ref-split__col {
  min-width: 0;
}

.referral-card--back .rc-back-ref-split__col--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.referral-card--back .rc-back-ref-qr-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0 auto 0.45rem;
  padding: 0.35rem;
  border: 2px solid var(--ref-gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.referral-card--back .rc-back-ref-qr-img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
  border: 1px solid rgba(229, 184, 75, 0.4);
}

.referral-card--back .rc-back-ref-qr-caption {
  margin-top: 0.22rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ref-ink);
  opacity: 0.78;
  letter-spacing: 0.03em;
}

.referral-card--back .rc-back-ref-h {
  margin: 0 0 0.4rem;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ref-ink);
}

.referral-card--back .rc-back-ref-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.referral-card--back .rc-back-ref-ul li {
  position: relative;
  padding-left: 0.78rem;
  margin-bottom: 0.2rem;
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1.48;
  color: var(--ref-ink);
}

.referral-card--back .rc-back-ref-ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--ref-ink);
}

.referral-card--back .rc-back-ref-ul li:last-child {
  margin-bottom: 0;
}

.referral-card--back .rc-back-ref-note {
  margin: 0.48rem 0 0;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ref-blue);
}

.referral-card--back .rc-back-ref-contact {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  width: 100%;
  align-items: flex-start;
}

.referral-card--back .rc-back-ref-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.42rem;
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.35;
  color: var(--ref-ink);
}

.referral-card--back .rc-back-ref-contact-strong {
  font-weight: 800;
  color: var(--ref-ink);
}

.referral-card--back .rc-back-ref-site {
  word-break: break-all;
}

.referral-card--back .rc-back-ref-ico {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.04rem;
}

.referral-card--back .rc-back-ref-ico svg {
  display: block;
}

.referral-card--back .rc-back-ref-wa-block {
  width: 100%;
}

.referral-card--back .rc-back-ref-wa-available {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--ref-ink);
}

.referral-card--back .rc-back-ref-wa-num {
  margin: 0.12rem 0 0 1.78rem;
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--ref-ink);
}

.referral-card--back .rc-back-ref-foot {
  flex-shrink: 0;
  background: linear-gradient(180deg, #fff9e8 0%, #fff4dc 55%, #ffefc8 100%);
  text-align: center;
  padding: 0.42rem 0.75rem 0;
}

.referral-card--back .rc-back-ref-foot__text {
  margin: 0 0 0.35rem;
  font-size: 0.61rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ref-ink);
  opacity: 0.92;
}

@media (max-width: 360px) {
  .referral-card--back .rc-back-ref-split {
    grid-template-columns: 1fr;
    gap: 0.55rem 0;
  }

  .referral-card--back .rc-back-ref-split__rule {
    display: none;
  }

  .referral-card--back .rc-back-ref-header__row {
    flex-wrap: wrap;
  }

  .referral-card--back .rc-wordmark--back-ref {
    max-width: 100%;
  }

  .referral-card--back .rc-back-ref-wa-num {
    margin-left: 0;
  }
}

/* How it works */
.how-box {
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  margin-top: 0;
}

.how-desktop {
  display: block;
}

.how-mobile {
  display: none;
}

.how-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  min-height: 2.5rem;
}

.how-steps li:last-child {
  margin-bottom: 0;
}

.how-steps .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: var(--line-tight);
  font-weight: 700;
}

.how-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: var(--line-body);
}

.how-steps .earn {
  color: var(--green-accent);
  font-weight: 700;
}

/* ----- Form card ----- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-form);
  border: 1px solid rgba(10, 35, 66, 0.06);
  padding: 1.35rem 1.25rem 1.5rem;
}

.form-card-brand {
  text-align: center;
  margin: 0 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(10, 35, 66, 0.08);
}

.form-card-brand__img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.form-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: var(--line-tight);
  font-weight: 800;
}

.form-card h2 span[aria-hidden="true"] {
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.form-card .sub {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: var(--line-body);
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: var(--line-tight);
}

.field label .req {
  color: #c0392b;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-row input {
  flex: 1;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c5cdd6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafafa;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 39, 68, 0.12);
}

.cb-inline {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.cb-inline input {
  width: auto;
}

.whatsapp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.whatsapp-row label {
  margin-bottom: 0;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1rem 0 1.15rem;
}

.agree input {
  margin-top: 0.2rem;
}

.btn-submit {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.35);
}

.btn-submit:hover {
  filter: brightness(1.06);
}

.alert {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.alert-success {
  background: #e8f8ef;
  color: #146a3e;
  border: 1px solid #b8e6cc;
}

.alert-error {
  background: #fdecea;
  color: #922b21;
  border: 1px solid #f5c6cb;
}

/* Error modal (registration validation) */
.error-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.error-modal[hidden] {
  display: none;
}

.error-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 68, 0.55);
  cursor: pointer;
}

.error-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  max-height: min(70vh, 24rem);
  overflow: auto;
  padding: 1.15rem 1.2rem 1rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(15, 39, 68, 0.28);
  border: 1px solid rgba(15, 39, 68, 0.12);
}

.error-modal__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: var(--line-tight);
}

.error-modal__list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: #5c2a28;
  line-height: 1.45;
}

.error-modal__list li {
  margin-bottom: 0.35rem;
}

.error-modal__ok {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--navy);
  color: var(--white);
}

.error-modal__ok:hover {
  filter: brightness(1.06);
}

#registration-initial-errors {
  display: none;
}

/* FAQs */
.faq-block {
  margin-top: 1.75rem;
}

.faq-block h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--orange-faq);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: var(--line-tight);
  font-weight: 800;
}

.faq-block h3 span[aria-hidden="true"] {
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.08em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.faq-item {
  margin-bottom: 0.85rem;
}

.faq-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: var(--line-tight);
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: var(--line-body);
}

/* ----- Desktop layout ----- */
@media (min-width: 992px) {
  .hero {
    padding: 0.85rem 2rem 3rem;
    min-height: 300px;
  }

  .hero-layout {
    max-width: min(36rem, 52vw);
  }

  .hero::after {
    left: 56%;
    background-size: cover;
    background-position: 30% center;
  }

  .hero-logo-row {
    display: none;
  }

  .shell {
    padding: 0.35rem 2rem 4rem;
  }

  .main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    grid-template-areas:
      "benefits sidebar"
      "card sidebar"
      "how sidebar";
    gap: 2rem 2.25rem;
    align-items: start;
    margin-top: 0;
  }

  .cell-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    grid-area: sidebar;
    align-self: start;
    margin-top: -5.5rem;
    width: 100%;
    min-width: 0;
  }

  .cell-sidebar > .form-card,
  .cell-sidebar > .faq-block {
    grid-area: unset;
  }

  .cell-sidebar .faq-block {
    margin-top: 0;
  }

  .cell-benefits {
    padding-top: 0.5rem;
  }

  .form-card {
    padding: 1.5rem 1.5rem 1.65rem;
  }
}

/* ----- Mobile-specific (matches mobile.jpeg) ----- */
@media (max-width: 991px) {
  .hero {
    padding-top: 0.65rem;
    padding-bottom: 2.5rem;
    min-height: 260px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero-logo-row {
    display: flex;
  }

  .hero-logo-text strong {
    color: var(--gold);
    letter-spacing: 0.07em;
    font-size: 1.08rem;
  }

  .hero-logo-text small {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
  }

  .hero::after {
    left: 52%;
    background-size: cover;
    background-position: 26% 40%;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 14%,
      rgba(0, 0, 0, 0.75) 30%,
      #000 45%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 14%,
      rgba(0, 0, 0, 0.75) 30%,
      #000 45%,
      #000 100%
    );
  }

  .hero-copy {
    order: 1;
  }

  .btn-submit__ico--mob {
    display: inline;
  }

  .btn-submit__ico--desk {
    display: none;
  }

  .benefits-list li {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(10, 35, 66, 0.08);
  }

  .benefits-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .hero-kicker {
    display: none;
  }

  .hero h1.title-mobile {
    color: var(--white);
    font-size: 1.5rem;
    max-width: none;
    margin-bottom: 0.35rem;
    line-height: var(--line-tight);
    letter-spacing: -0.02em;
  }

  .hero .mobile-yellow {
    display: block;
    color: var(--gold);
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0 0 0.85rem;
    line-height: var(--line-tight);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: var(--line-relaxed);
    margin-top: 0;
  }

  .shell {
    padding-top: 1rem;
  }

  /* Hero ke neeche benefits overlap na karein — pehle poori grid -3.25rem up thi */
  .main-grid {
    margin-top: 0;
    gap: 1.75rem;
  }

  .cell-benefits {
    margin-top: 0.35rem;
    padding-top: 0.25rem;
  }

  .how-desktop {
    display: none;
  }

  .how-mobile {
    display: block;
  }

  .btn-submit {
    background: linear-gradient(180deg, #ffd54a 0%, var(--gold) 35%, var(--gold-dark) 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 28px rgba(212, 154, 30, 0.45);
  }

  .title-desktop,
  .desktop-kicker {
    display: none !important;
  }

  .title-mobile {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .hero .mobile-yellow {
    display: none;
  }

  .how-desktop {
    display: block;
  }

  .how-mobile {
    display: none;
  }

  .hero-kicker {
    display: inline-flex;
  }

  .title-desktop {
    display: block !important;
  }

  .title-mobile {
    display: none !important;
  }
}

/* ----- Site footer ----- */
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.65rem 1.25rem 1.85rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 1.15rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 1.1rem 0.6rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(10, 35, 66, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.site-footer__wordmark {
  height: 44px;
  width: auto;
  max-width: min(220px, calc(90vw - 2.5rem));
  object-fit: contain;
  display: block;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.35rem;
  margin-bottom: 1rem;
}

.site-footer__nav a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.78;
}
