:root {
  --bg: #f3f3f1;
  --surface: #ffffff;
  --text: #111111;
  --muted: #676767;
  --muted-2: #929292;
  --border: #e8e8e5;
  --dark: #111111;
  --accent: #c7282d;
  --accent-soft: #f8eded;
  --container: 1180px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(17,17,17,.035);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: #fff;
  padding: 12px 16px;
}

.skip-link:focus { left: 0; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.page-shell { padding: 14px 0; }

.surface {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.03);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243,243,241,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: .9;
  min-width: fit-content;
}

.brand-mark {
  font-size: 1.36rem;
  font-weight: 800;
  letter-spacing: -.06em;
}

.brand-mark::after {
  content: ".";
  color: var(--accent);
}

.brand-sub {
  margin-top: 7px;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .88rem;
  font-weight: 600;
}

.site-nav > a:not(.btn) { color: #333; }
.site-nav > a:not(.btn):hover { color: var(--accent); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #111;
  border-radius: 999px;
}

/* BUTTONS */
.btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 700;
  transition: .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-dark:hover { background: #292929; }

.btn-light {
  background: #fff;
  color: #111;
  border-color: #dededb;
}

.btn-light:hover { background: #f8f8f6; }

.btn-small {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 9px;
}

.full-width { width: 100%; }

/* SHARED TYPOGRAPHY */
.eyebrow {
  margin: 0 0 18px;
  color: #777;
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.hero h1,
.section-heading h2,
.journey-heading h2,
.final-cta h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}

.section-heading h2,
.journey-heading h2,
.final-cta h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

/* HERO */
.hero-shell { padding-top: 24px; }

.hero {
  min-height: 520px;
  padding: 86px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-lead {
  max-width: 700px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted-2);
  font-size: .78rem;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  overflow: hidden;
}

.stat {
  min-height: 136px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: 0; }

.stat strong {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  letter-spacing: -.045em;
}

.stat span {
  margin-top: 7px;
  color: var(--muted);
  font-size: .84rem;
}

/* SECTION */
.section-card { padding: 76px 66px; }

.section-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child,
.final-cta-copy > p,
.journey-heading > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.8;
}

/* WHY PATTAYA */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.info-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.card-no {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.info-card h3 {
  margin: 20px 0 10px;
  font-size: 1.08rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

/* VISUAL 1 — MICRO INVESTMENT */
.equation-panel {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fbfbfa;
}

/* Desktop / tablet */
.desktop-micro-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px 205px;
  align-items: center;
  gap: 20px;
}

.desktop-investment-units {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 9px;
}

.investment-chip {
  min-height: 62px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.02em;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.investment-chip:hover {
  transform: translateY(-2px);
  border-color: #cececa;
  box-shadow: 0 8px 20px rgba(0,0,0,.045);
}

.desktop-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.desktop-flow-arrow svg {
  width: 74px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-investment-result {
  min-height: 104px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #111;
  color: #fff;
  text-align: center;
}

.desktop-investment-result small,
.desktop-investment-result span {
  display: block;
}

.desktop-investment-result small {
  margin-bottom: 4px;
  color: #aaa;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.desktop-investment-result strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.desktop-investment-result span {
  margin-top: 5px;
  color: #ccc;
  font-size: .7rem;
}

/* Mobile visual is intentionally different, not a shrunken desktop row */
.mobile-micro-flow {
  display: none;
}

/* Existing explanatory copy below the visual */
.model-copy {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
}

.model-copy > div,
.model-note {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.model-copy h3 {
  margin: 0 0 9px;
  font-size: 1rem;
}

.model-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.model-note {
  background: #f7f7f5;
}

/* Phone / narrow tablet */
@media (max-width: 840px) {
  .equation-panel {
    padding: 24px 18px;
  }

  .desktop-micro-flow {
    display: none;
  }

  .mobile-micro-flow {
    display: block;
    max-width: 420px;
    margin: 0 auto;
  }

  .mobile-investment-grid {
    max-width: 290px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-investment-chip {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -.02em;
  }

  .mobile-investment-chip-last {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }

  .mobile-pool-label {
    margin: 23px 0 0;
    color: #555;
    text-align: center;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .02em;
  }

  .mobile-pool-bar {
    width: min(100%, 320px);
    height: 12px;
    margin: 10px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }

  .mobile-pool-segment {
    display: block;
    border-radius: 4px;
    background: #111;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: .18;
    transition: transform .32s ease, opacity .32s ease;
  }

  .mobile-micro-flow.is-visible .mobile-pool-segment {
    transform: scaleX(1);
    opacity: 1;
  }

  .mobile-micro-flow.is-visible .mobile-pool-segment:nth-child(1) { transition-delay: .05s; }
  .mobile-micro-flow.is-visible .mobile-pool-segment:nth-child(2) { transition-delay: .14s; }
  .mobile-micro-flow.is-visible .mobile-pool-segment:nth-child(3) { transition-delay: .23s; }
  .mobile-micro-flow.is-visible .mobile-pool-segment:nth-child(4) { transition-delay: .32s; }
  .mobile-micro-flow.is-visible .mobile-pool-segment:nth-child(5) { transition-delay: .41s; }

  .mobile-flow-arrow {
    width: 28px;
    height: 46px;
    margin: 10px auto;
    color: var(--accent);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .28s ease .52s, transform .28s ease .52s;
  }

  .mobile-flow-arrow svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-micro-flow.is-visible .mobile-flow-arrow {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-investment-result {
    width: min(100%, 290px);
    min-height: 118px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #111;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease .64s, transform .4s ease .64s;
  }

  .mobile-micro-flow.is-visible .mobile-investment-result {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-investment-result small,
  .mobile-investment-result span {
    display: block;
  }

  .mobile-investment-result small {
    margin-bottom: 5px;
    color: #aaa;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .12em;
  }

  .mobile-investment-result strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -.055em;
  }

  .mobile-investment-result span {
    margin-top: 6px;
    color: #ccc;
    font-size: .72rem;
  }
}

@media (max-width: 390px) {
  .mobile-investment-grid,
  .mobile-investment-result {
    max-width: 250px;
  }

  .mobile-investment-chip {
    min-height: 54px;
    font-size: .88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-pool-segment {
    transform: scaleX(1);
    opacity: 1;
    transition: none;
  }

  .mobile-flow-arrow,
  .mobile-investment-result {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* WAYS TO INVEST */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.option-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.featured-option {
  background: #111;
  color: #fff;
  border-color: #111;
}

.option-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #777;
}

.featured-option .option-label { color: #aaa; }

.option-card h3 {
  margin: 16px 0 12px;
  font-size: 1.08rem;
}

.option-card > p {
  color: var(--muted);
  font-size: .86rem;
}

.featured-option > p { color: #c9c9c9; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 11px 0;
  color: #cfcfcf;
  font-size: .86rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
}

.option-footnote {
  margin-top: 22px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .74rem !important;
}

.pending-box {
  margin-top: 24px;
  padding: 17px;
  border-radius: 13px;
  background: #f7f7f5;
}

.pending-box strong,
.pending-box span {
  display: block;
}

.pending-box strong { font-size: .8rem; }

.pending-box span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .73rem;
}

/* VISUAL 2 — NUMBERS */
.numbers-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 44px;
  align-items: start;
}

.headline-figure {
  min-height: 230px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.headline-figure span,
.headline-figure small {
  display: block;
}

.headline-figure span {
  color: var(--muted);
  font-size: .8rem;
}

.headline-figure strong {
  display: block;
  margin: 7px 0 4px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -.06em;
}

.headline-figure small {
  color: #999;
  font-size: .73rem;
}

.numbers-visuals {
  padding-top: 4px;
}

.visual-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.visual-row:first-child { padding-top: 0; }

.visual-row-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .84rem;
}

.visual-row-head strong { font-size: .82rem; }

.segmented-bar {
  height: 14px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 4px;
}

.segmented-bar span {
  background: #111;
  border-radius: 4px;
}

.segmented-bar span:last-child { background: var(--accent); }

.segment-labels {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 4px;
  margin-top: 7px;
  color: #888;
  font-size: .64rem;
  text-align: center;
}

.expectation-track {
  position: relative;
  height: 66px;
  margin-top: 9px;
}

.track-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg,#e5e5e2,#111);
}

.track-dot {
  position: absolute;
  left: 54%;
  top: 23px;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px #bbb;
}

.track-flag {
  position: absolute;
  left: 54%;
  top: 0;
  transform: translateX(-12%);
  color: #777;
  font-size: .65rem;
  white-space: nowrap;
}

.bar-note {
  margin: 0;
  color: #888;
  font-size: .73rem;
}

.risk-note {
  margin-top: 18px;
  padding: 17px 18px;
  border-radius: 14px;
  background: #f7f7f5;
  color: #666;
  font-size: .79rem;
}

.risk-note strong { color: #111; }

/* ELIGIBILITY */
.eligibility-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.eligibility-list > div {
  min-height: 114px;
  padding: 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  column-gap: 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eligibility-list > div > span {
  grid-row: 1 / 3;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.eligibility-list strong,
.eligibility-list small {
  display: block;
}

.eligibility-list strong { font-size: .84rem; }

.eligibility-list small {
  margin-top: 3px;
  color: #888;
  font-size: .7rem;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-size: .82rem;
  font-weight: 700;
}

.text-link:hover { color: var(--accent); }

/* VISUAL 3 — JOURNEY */
.journey-panel {
  padding: 68px 66px;
  border-radius: var(--radius-lg);
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
}

.journey-heading {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.journey-heading h2 { color: #fff; }

.journey-heading > p { color: #aaa; }

.eyebrow-on-dark { color: #aaa; }

.timeline {
  position: relative;
  margin-left: 4px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: #3c3c3c;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  padding-bottom: 30px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-node {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #4c4c4c;
  border-radius: 50%;
  background: #111;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 2px 0 4px;
  font-size: 1rem;
}

.timeline-item p {
  margin: 0;
  color: #aaa;
  font-size: .84rem;
}

/* RISK */
.consideration-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.consideration-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.consideration-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.consideration-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  border: 0;
  text-align: left;
  color: #111;
  font-weight: 700;
}

.faq-plus {
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform .2s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .22s ease;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
  padding: 0 42px 20px 4px;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
}

/* FINAL CTA */
.final-cta {
  padding: 66px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 62px;
  align-items: center;
}

.final-cta-copy {
  max-width: 650px;
}

.lead-form {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fbfbfa;
}

.form-heading { margin-bottom: 18px; }

.form-heading strong,
.form-heading span {
  display: block;
}

.form-heading strong { font-size: 1.05rem; }

.form-heading span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
}

.lead-form label {
  display: block;
  margin-top: 12px;
  color: #444;
  font-size: .75rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  height: 46px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid #dededb;
  border-radius: 10px;
  background: #fff;
  color: #111;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,.06);
}

.lead-form .btn { margin-top: 18px; }

.form-note {
  margin: 10px 0 0;
  color: #999;
  font-size: .68rem;
  line-height: 1.5;
}

/* FOOTER */
.site-footer { padding-bottom: 28px; }

.footer-card { padding: 48px 54px 28px; }

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr .7fr .9fr;
  gap: 44px;
}

.footer-main > div:first-child p {
  max-width: 420px;
  color: var(--muted);
  font-size: .84rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .82rem;
}

.footer-column strong {
  margin-bottom: 6px;
  font-size: .75rem;
  letter-spacing: .08em;
}

.footer-column a { color: var(--muted); }
.footer-column a:hover { color: #111; }

.legal-copy {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-copy strong {
  font-size: .75rem;
  letter-spacing: .04em;
}

.legal-copy p {
  margin: 7px 0 0;
  color: #888;
  font-size: .7rem;
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #999;
  font-size: .7rem;
}

/* FLOATING WHATSAPP — matches the main site's utility pattern */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: .18s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  background: #252525;
}

.floating-whatsapp svg {
  width: 28px;
  fill: currentColor;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
  }

  .site-nav.open { display: flex; }

  .site-nav > a { padding: 10px 6px; }

  .site-nav .btn { margin-top: 8px; }

  .menu-toggle { display: block; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }

  .stat:nth-child(2) { border-right: 0; }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .feature-grid,
  .option-grid,
  .numbers-layout,
  .model-copy,
  .final-cta,
  .journey-heading {
    grid-template-columns: 1fr;
  }

  .section-card,
  .final-cta,
  .journey-panel {
    padding: 54px 42px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .page-shell { padding: 8px 0; }

  .header-inner { min-height: 66px; }

  .hero,
  .section-card,
  .final-cta,
  .journey-panel,
  .footer-card {
    padding: 34px 22px;
    border-radius: 20px;
  }

  .hero {
    min-height: 470px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: .95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid,
  .feature-grid,
  .option-grid,
  .eligibility-list,
  .consideration-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .journey-heading h2,
  .final-cta h2 {
    font-size: 2.35rem;
  }

  .track-flag {
    max-width: 180px;
    white-space: normal;
  }

  .eligibility-list {
    border-left: 1px solid var(--border);
  }

  .timeline-item {
    gap: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}


/* ==========================
   V4 client-exact additions
   ========================== */

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: normal;
  min-width: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 180px;
  object-fit: contain;
}

.footer-brand img {
  height: 64px;
  max-width: 240px;
}

.stat-icon {
  width: 23px;
  height: 23px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-gap { margin-top: 18px !important; }

.managed-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #111;
  color: #fff;
}

.managed-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.managed-head h3 {
  margin: 10px 0 0;
  font-size: 1.12rem;
}

.managed-head .option-label { color: #aaa; }

.annual-charge {
  flex: 0 0 auto;
  font-size: .82rem;
  color: #fff;
}

.managed-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px 28px;
}

.managed-list li {
  position: relative;
  padding-left: 25px;
  color: #d2d2d2;
  font-size: .86rem;
}

.managed-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 700;
}

.metric-bar + .metric-bar { margin-top: 26px; }

.metric-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 9px;
  font-size: .82rem;
}

.metric-head strong {
  text-align: right;
  font-size: .79rem;
}

.metric-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececea;
}

.metric-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.metric-fill-dark { background: #111; }
.metric-fill-red { background: var(--accent); }
.metric-fill-grey { background: #8f8f8f; }

.eligibility-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f7f7f5;
  color: #666;
  font-size: .8rem;
}

.final-cta-simple {
  display: block;
  text-align: center;
}

.final-cta-simple .final-cta-copy { margin-inline: auto; }
.final-cta-simple .hero-actions { justify-content: center; }

.footer-main-exact {
  grid-template-columns: 1.2fr .8fr;
  align-items: start;
}

.footer-main-exact .footer-column span { color: var(--muted); }

@media (max-width: 720px) {
  .brand-logo img {
    height: 38px;
    max-width: 145px;
  }

  .footer-brand img {
    height: 52px;
    max-width: 190px;
  }

  .managed-head { flex-direction: column; }
  .managed-list { grid-template-columns: 1fr; }

  .metric-head {
    flex-direction: column;
    gap: 4px;
  }

  .metric-head strong { text-align: left; }
  .footer-main-exact { grid-template-columns: 1fr; }
}


/* =====================================================
   JOURNEY — INTERACTIVE SCROLL PROGRESS
   ===================================================== */

.timeline {
  --journey-progress: 0%;
}

/* Existing grey route remains the base track. */
.timeline-progress {
  position: absolute;
  z-index: 1;
  left: 19px;
  top: 20px;
  width: 2px;
  height: var(--journey-progress);
  max-height: calc(100% - 40px);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(199, 40, 45, .22);
  transition: height .28s ease;
  pointer-events: none;
}

.journey-step {
  opacity: .46;
  transform: translateY(8px);
  transition:
    opacity .3s ease,
    transform .3s ease;
}

.journey-step > div:last-child {
  padding: 12px 14px;
  margin-top: -10px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    background .28s ease,
    border-color .28s ease,
    transform .28s ease,
    box-shadow .28s ease;
}

.journey-step.is-complete {
  opacity: .76;
  transform: translateY(0);
}

.journey-step.is-current {
  opacity: 1;
  transform: translateY(0);
}

.journey-step.is-complete .timeline-node {
  border-color: var(--accent);
  background: rgba(199, 40, 45, .12);
  color: var(--accent);
}

.journey-step.is-current .timeline-node {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 0 0 5px rgba(199, 40, 45, .12),
    0 8px 26px rgba(199, 40, 45, .18);
  transform: scale(1.05);
}

.journey-step.is-current > div:last-child {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  transform: translateX(4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

.journey-step.is-current h3 {
  color: #fff;
}

.journey-step.is-current p {
  color: #cfcfcf;
}

/* Mobile: turn each step into a clearer touch-friendly card while keeping the timeline visible. */
@media (max-width: 720px) {
  .journey-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .timeline {
    margin-left: 0;
  }

  .timeline::before,
  .timeline-progress {
    left: 19px;
  }

  .timeline-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 18px;
  }

  .journey-step > div:last-child {
    margin-top: -2px;
    padding: 15px 16px;
    border-color: #2d2d2d;
    background: #171717;
  }

  .journey-step.is-complete > div:last-child {
    border-color: #363636;
  }

  .journey-step.is-current > div:last-child {
    border-color: rgba(199, 40, 45, .56);
    background: #1d1516;
    transform: translateX(0);
    box-shadow: 0 10px 28px rgba(0,0,0,.16);
  }

  .timeline-item h3 {
    margin-top: 0;
    font-size: 1rem;
  }

  .timeline-item p {
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-progress,
  .journey-step,
  .journey-step > div:last-child,
  .journey-step .timeline-node {
    transition: none !important;
  }
}


/* =====================================================
   BROCHURE LEAD MODAL
   Matches the existing TRE visual language.
   ===================================================== */

.brochure-trigger {
  font-family: inherit;
}

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

.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.brochure-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, .62);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .22s ease;
}

.brochure-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .22s ease, transform .22s ease;
}

.brochure-modal.is-open .brochure-modal__backdrop {
  opacity: 1;
}

.brochure-modal.is-open .brochure-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brochure-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 1.45rem;
  line-height: 1;
  transition: background .18s ease, transform .18s ease;
}

.brochure-modal__close:hover {
  background: #f5f5f3;
  transform: rotate(3deg);
}

.brochure-modal__intro {
  padding-right: 44px;
}

.brochure-modal__intro .eyebrow {
  margin-bottom: 12px;
}

.brochure-modal__intro h2 {
  margin: 0;
  max-width: 390px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.brochure-modal__intro > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.brochure-form {
  margin-top: 28px;
}

.brochure-field + .brochure-field {
  margin-top: 16px;
}

.brochure-field label {
  display: block;
  margin-bottom: 7px;
  color: #333;
  font-size: .76rem;
  font-weight: 700;
}

.brochure-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #dededb;
  border-radius: 11px;
  background: #fff;
  color: #111;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.brochure-field input::placeholder {
  color: #aaa;
}

.brochure-field input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, .06);
}

.brochure-field.has-error input {
  border-color: var(--accent);
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(199, 40, 45, .06);
}

.brochure-field__hint,
.brochure-field__error {
  display: block;
  margin-top: 6px;
  font-size: .68rem;
  line-height: 1.45;
}

.brochure-field__hint {
  color: #929292;
}

.brochure-field__error {
  min-height: 1em;
  color: var(--accent);
  font-weight: 600;
}

.brochure-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brochure-submit {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}

.brochure-submit:disabled {
  cursor: wait;
  opacity: .78;
  transform: none;
}

.brochure-submit__spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 9px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: brochureSpin .7s linear infinite;
}

.brochure-submit.is-loading .brochure-submit__spinner {
  display: inline-block;
}

.brochure-form__status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  text-align: center;
}

.brochure-form__status.is-success {
  color: #27633a;
}

.brochure-form__status.is-error {
  color: var(--accent);
}

.brochure-form__privacy {
  margin: 8px 0 0;
  color: #999;
  font-size: .66rem;
  line-height: 1.5;
  text-align: center;
}

body.brochure-modal-open {
  overflow: hidden;
}

@keyframes brochureSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
  .brochure-modal {
    align-items: end;
    padding: 10px;
  }

  .brochure-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 30px 20px 22px;
    border-radius: 22px 22px 18px 18px;
    transform: translateY(28px);
  }

  .brochure-modal__intro {
    padding-right: 40px;
  }

  .brochure-modal__intro h2 {
    font-size: 2.25rem;
  }

  .brochure-field input {
    min-height: 52px;
    font-size: 16px;
  }

  .brochure-submit {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brochure-modal__backdrop,
  .brochure-modal__dialog,
  .brochure-modal__close,
  .brochure-field input {
    transition: none !important;
  }

  .brochure-submit__spinner {
    animation-duration: 1.4s;
  }
}


/* Country code + mobile number: +91 defaults for Indian visitors;
   non-Indian visitors can manually replace the code. */
.brochure-phone-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}

.brochure-phone-row .brochure-country-code {
  text-align: center;
  font-weight: 700;
  letter-spacing: .01em;
}

@media (max-width: 420px) {
  .brochure-phone-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
  }
}
