/* ===========================================
   HOMEPAGE — 1:1 match to live vantiscorp.com
   ============================================= */

/* ---------- Color tokens (homepage specifics) ---------- */
:root {
  --mint: #44cf9e;
  --mint-soft: #a2ebd8;
  --mint-bg: #d6f5ea;
  --green-deep: #006b5b;
  --blue: #4f8df0;
  --gold: #c79849;
  --amber-warm: #f59e0b;
  --red-soft: #ef6f6f;
}

/* ---------- Container ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Section eyebrow with V mark ---------- */
.eyebrow-v {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
}
.eyebrow-v img { width: 18px; height: auto; }
.eyebrow-v.center {
  display: flex;
  justify-content: center;
  text-align: center;
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  background: #fff;
  padding: 64px 0 56px;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 22px;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 36px;
  max-width: 540px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 56px;
  margin-bottom: 44px;
}
.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-stat span {
  display: block;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin-right: -20px;
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(11, 20, 24, 0.10), 0 2px 4px rgba(11, 20, 24, 0.04);
  padding: 14px 18px;
  z-index: 2;
}
.hero-card-metrics {
  top: 0;
  left: 4%;
  right: 4%;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 18px 28px;
}
.metric .m-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.metric .m-val em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--mint);
  margin-left: 6px;
}
.metric .m-lbl {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.hero-card.noti {
  width: 320px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card.noti:nth-of-type(2) { top: 32%; left: -4%; }
.hero-card.noti:nth-of-type(3) { top: 50%; left: 1%; }
.hero-card.noti:nth-of-type(4) { top: 68%; left: -6%; }
.noti-ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.noti-ico.book { background: rgba(0, 107, 91, 0.08); color: var(--green-deep); }
.noti-ico.comp { background: rgba(20, 207, 147, 0.10); color: #0d9b6f; }
.noti-ico.fin { background: rgba(95, 123, 160, 0.10); color: #4a6b8c; }
.noti-body { flex: 1; min-width: 0; }
.noti-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.noti-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.noti-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  white-space: nowrap;
}
.noti-badge.green { background: rgba(20, 207, 147, 0.14); color: #0d9b6f; }
.noti-badge.mint { background: var(--mint-bg); color: var(--green-deep); }
.noti-badge.soft { background: var(--surface-3); color: var(--text-2); }

/* Hero buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .15s ease; border: none; }
.btn-primary {
  background: var(--mint);
  color: var(--ink);
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}
.btn-primary:hover { background: var(--mint-soft); }
.btn-text {
  background: transparent;
  color: var(--ink);
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
}
.btn-text:hover { color: var(--green-deep); }

/* ====================================================
   AGENTS INTRO
   ==================================================== */
.agents-intro {
  background: #fff;
  padding: 100px 0 56px;
  text-align: center;
}
.section-h {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin: 0 auto 14px;
  max-width: 900px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}

/* ====================================================
   AGENT ROWS (Booking / Compliance / Finance / Servicing)
   ==================================================== */
.agent-row {
  background: #fff;
  padding: 56px 0;
}

/* ====================================================
   AGENTS 2x2 GRID (matches live vantiscorp.com layout)
   Each pair: row1=text|text, row2=card|card
   So text blocks share top baseline, cards share top baseline.
   ==================================================== */
.agents-grid-section {
  background: #fff;
  padding: 40px 0 90px;
}
.agent-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  row-gap: 32px;
  margin-bottom: 80px;
}
.agent-pair:last-child { margin-bottom: 0; }
.agent-text-col {
  grid-row: 1;
  align-self: end;
  padding-bottom: 8px;
}
.agent-card-col {
  grid-row: 2;
  align-self: stretch;
  display: flex;
}
/* All 4 mock cards across both pairs share the SAME height so the grid reads as uniform */
.agent-card-col .mock-card {
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agent-card-col .mock-card > .mock-head { flex-shrink: 0; }
.agent-card-col .mock-card > .mock-foot { margin-top: auto; }
.agent-cell-eyebrow {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.agent-cell-h {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 14px;
}
.agent-cell-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
  max-width: 520px;
}
@media (max-width: 980px) {
  /* Stack to single column AND interleave text → card → text → card */
  .agent-pair {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 20px;
    margin-bottom: 56px;
  }
  .agent-text-col, .agent-card-col { grid-row: auto; grid-column: 1; }
  /* DOM order: text1, text2, card1, card2 — reorder to text1, card1, text2, card2 */
  .agent-pair > div:nth-child(1) { order: 1; }   /* text1 */
  .agent-pair > div:nth-child(3) { order: 2; }   /* card1 */
  .agent-pair > div:nth-child(2) { order: 3; }   /* text2 */
  .agent-pair > div:nth-child(4) { order: 4; }   /* card2 */
  .agent-pair { display: flex; flex-direction: column; }
  /* Drop the forced 500px height — cards should be content-sized on mobile */
  .agent-card-col .mock-card { min-height: 0; gap: 8px; padding: 20px 18px 22px; }
  .agent-card-col { margin-bottom: 24px; }
  .agent-text-col { padding-bottom: 0; }
  .agent-cell-eyebrow { font-size: 16px; margin-bottom: 6px; }
  .agent-cell-h { font-size: 26px; line-height: 1.2; }
  .agent-cell-desc { font-size: 15.5px; }
}

/* ====================================================
   HERO SEQUENTIAL REVEAL
   Metrics fade in first, then notifications appear one
   after another like a live agent activity feed.
   Once revealed, cards stay still (no perpetual float).
   ==================================================== */
@keyframes vc-card-in {
  0%   { opacity: 0; transform: translateY(14px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes vc-badge-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Initial hidden state so nothing flashes before animating */
.hero-metrics,
.hero-noti-1,
.hero-noti-2,
.hero-noti-3 { opacity: 0; }

.hero-metrics {
  animation: vc-card-in 0.7s cubic-bezier(.2,.7,.2,1) 0.1s both;
}
.hero-noti-1 {
  animation: vc-card-in 0.6s cubic-bezier(.2,.7,.2,1) 0.9s both;
}
.hero-noti-2 {
  animation: vc-card-in 0.6s cubic-bezier(.2,.7,.2,1) 1.9s both;
}
.hero-noti-3 {
  animation: vc-card-in 0.6s cubic-bezier(.2,.7,.2,1) 2.9s both;
}

/* Badge pulse — fires just after each card lands */
.hero-noti-1 .noti-badge { animation: vc-badge-pulse 0.6s ease-out 1.45s both; }
.hero-noti-2 .noti-badge { animation: vc-badge-pulse 0.6s ease-out 2.45s both; }
.hero-noti-3 .noti-badge { animation: vc-badge-pulse 0.6s ease-out 3.45s both; }

/* Counters are animated by JS (counters in animations.js) */
.hero-stat strong {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 3.5ch; /* reserve width so counter ticking doesn't shift layout */
}

@media (prefers-reduced-motion: reduce) {
  .hero-metrics, .hero-noti-1, .hero-noti-2, .hero-noti-3 {
    animation: none;
    opacity: 1;
  }
  .hero-noti-1 .noti-badge,
  .hero-noti-2 .noti-badge,
  .hero-noti-3 .noti-badge { animation: none; }
}
.agent-row:nth-of-type(odd) { background: #fff; }
.agent-row .two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.agent-eyebrow {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.agent-h {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 14px;
}
.agent-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
  max-width: 480px;
}

/* Mock cards (the dashboard UI mockups) */
.mock-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(11, 20, 24, 0.05);
  padding: 24px 24px 28px;
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline-2);
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--ink);
}
.mock-head strong { font-weight: 700; }
.mock-head .muted { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 13px; }
.mock-head .tick { color: var(--mint); font-size: 18px; }

.mock-fare {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: var(--surface-2);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.mock-fare.highlight { background: var(--mint-bg); }
.mock-fare span:nth-child(2) { font-weight: 700; }
.mock-fare .pill { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 14px; }
.mock-fare .pill.green { background: rgba(20, 207, 147, 0.14); color: #0d9b6f; }
.mock-fare .pill.mint { background: var(--mint-bg); color: var(--green-deep); }
.mock-fare .pill.red { background: rgba(239, 111, 111, 0.12); color: #c54040; }

.mock-foot {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}
.green-text { color: #0d9b6f; }
.blue-text { color: #5e7eb6; }
.amber-text { color: var(--amber-warm); }
.gold-text { color: var(--gold); }
.green-soft-text { color: var(--mint); }

.mock-3stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.mock-3stats > div {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.mock-3stats .big {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.mock-3stats span {
  font-size: 12.5px;
  color: var(--muted);
}

.mock-row {
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--text);
}
.mock-row.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.mock-row.split .pill { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 12px; white-space: nowrap; }
.mock-row.split .pill.green { background: rgba(20, 207, 147, 0.14); color: #0d9b6f; }
.mock-row.split .pill.amber { background: rgba(245, 158, 11, 0.14); color: var(--amber-warm); }
.mock-row.split .pill.blue { background: rgba(79, 141, 240, 0.12); color: var(--blue); }

/* ====================================================
   PEOPLE BAND (editorial portraits)
   ==================================================== */
.people-band {
  background: #fafaf7;
  padding: 100px 0;
}
.people-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.people-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.people-card {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 24px 56px -32px rgba(11,20,24,0.25), 0 0 0 1px rgba(11,20,24,0.04);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}
.people-card--lg {
  aspect-ratio: auto;
}
.people-card img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.people-card figcaption {
  padding: 22px 26px 24px;
  color: #fff;
  background: var(--green-deep, #0e3d2f);
  flex-shrink: 0;
}
.people-role {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 8px;
}
.people-quote {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 22ch;
  color: #fff;
}
.people-quote-sm {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  color: rgba(255,255,255,0.95);
}
.people-card--lg figcaption {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 900px) {
  .people-band { padding: 56px 0; }
  .people-grid { grid-template-columns: 1fr; gap: 14px; }
  .people-stack { display: none; }
  .people-card { aspect-ratio: auto; }
  .people-card--lg { aspect-ratio: auto; }
  .people-card img { aspect-ratio: 4 / 3; flex: none; height: auto; }
  .people-card--lg img { aspect-ratio: 4 / 5; object-position: center 25%; }
  .people-quote { font-size: 18px; max-width: none; }
  .people-card--lg figcaption { padding: 22px 22px 24px; gap: 6px; }
  .people-role { font-size: 10.5px; margin-bottom: 6px; }
}
@media (max-width: 540px) {
  .people-card--lg img { aspect-ratio: 4 / 5; }
  .people-card--lg figcaption { padding: 20px 20px 22px; }
}

/* ====================================================
   RESULTS
   ==================================================== */
.results {
  background: #fff;
  padding: 100px 0 100px;
  text-align: center;
}
.results-h {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 12px auto 64px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}
.result-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px;
  border-right: 1px solid var(--hairline-2);
}
.result-item:last-child { border-right: 0; }
.result-val {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.result-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* ====================================================
   GET STARTED
   ==================================================== */
.get-started {
  background: #fafbfc;
  padding: 90px 0 100px;
  text-align: center;
}
.get-started-h {
  font-size: 68px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 64px;
}
.steps-row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  align-items: start;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.step-ico { width: 130px; margin-bottom: 12px; }
.step-ico img { width: 100%; height: auto; display: block; }
.step-h {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.step-h.step-1 { color: var(--mint); }
.step-h.step-2 { color: var(--green-deep); }
.step-h.step-3 { color: var(--muted); }
.step p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 auto;
  max-width: 300px;
}

/* ====================================================
   TESTIMONIAL
   ==================================================== */
.testimonial {
  background: #fff;
  padding: 100px 0;
  text-align: center;
}
.quote-wrap {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}
.quote-mark {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 88px;
  line-height: 0.7;
  color: var(--hairline);
  position: absolute;
  font-weight: 700;
}
.quote-mark.open { top: -10px; left: 40px; }
.quote-mark.close { bottom: -50px; right: 40px; }
.quote-wrap p {
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}
.quote-attrib {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.q-name {
  font-size: 17px;
  font-weight: 700;
}
.q-title {
  font-size: 15px;
  color: var(--text-2);
}
.q-stars {
  margin-top: 8px;
  color: #f5b54a;
  font-size: 14px;
  letter-spacing: 2px;
}

/* ====================================================
   INTEGRATIONS STRIP
   ==================================================== */
.int-strip {
  background: #fff;
  padding: 80px 0 40px;
  text-align: center;
}
.int-strip-h {
  font-size: 30px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.int-strip-imgwrap {
  width: 100%;
  padding: 30px 0;
}
.int-strip-imgwrap img {
  display: block;
  width: 100%;
  max-width: 1240px;
  height: auto;
  margin: 0 auto;
}

/* ====================================================
   CTA BANNER (mint green, full-bleed)
   ==================================================== */
.cta-banner-section {
  background: #fff;
  padding: 60px 0 100px;
}
.cta-banner-live {
  background: linear-gradient(135deg, #1b8060 0%, #2a9e7a 50%, #3aaf88 100%);
  border-radius: 18px;
  padding: 80px 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 130, 96, 0.20);
}
.cta-banner-live::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/live/hero-bg.png');
  background-size: 50% auto;
  background-repeat: no-repeat;
  background-position: right -100px center;
  opacity: 0.10;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 560px; }
.cta-content h2 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}
.cta-content p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 36px;
  max-width: 480px;
}
.cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ====================================================
   CTA DEMO FORM (homepage)
   ==================================================== */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 540px;
}
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-input {
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cta-input::placeholder { color: rgba(255,255,255,0.65); }
.cta-input:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.40); }
.cta-input:focus { background: rgba(255,255,255,0.18); border-color: var(--mint, #14CF93); }
.cta-input.is-error { border-color: #ff8a8a; background: rgba(255,138,138,0.10); }
.cta-textarea { resize: vertical; min-height: 92px; font-family: inherit; }
.cta-submit {
  align-self: flex-start;
  margin-top: 4px;
  cursor: pointer;
  border: none;
}
.cta-form-status {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  min-height: 20px;
  margin-top: 4px;
}
.cta-form-status.is-success {
  color: #fff;
  background: rgba(20,207,147,0.18);
  border: 1px solid rgba(20,207,147,0.45);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}
.cta-form-status.is-error { color: #ffd2d2; }

.btn-primary-on-green {
  background: var(--mint);
  color: var(--ink);
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
}
.btn-primary-on-green:hover { background: var(--mint-soft); }
.btn-text-white {
  background: transparent;
  color: #fff;
  padding: 12px 4px;
  font-size: 17px;
  font-weight: 600;
}
.btn-text-white:hover { color: var(--mint); }
.cta-fine {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 22px;
}

/* ====================================================
   LIGHT FOOTER (matches live, polished)
   ==================================================== */
.site-footer-light {
  background: #fff;
  color: var(--text-2);
  padding: 88px 0 0;
  border-top: 1px solid var(--hairline);
}
.site-footer-light .foot-grid-3 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  align-items: start;
}
.site-footer-light .foot-grid-3.cols-3 {
  grid-template-columns: 1.5fr 1fr 1fr;
}
.site-footer-light .foot-brand img { height: 38px; width: auto; display: block; }
.foot-tagline-light {
  margin: 22px 0 0;
  max-width: 300px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  opacity: 0.78;
}
.site-footer-light h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 22px;
  opacity: 0.7;
}
.site-footer-light ul { list-style: none; padding: 0; margin: 0; }
.site-footer-light li { margin-bottom: 12px; }
.site-footer-light a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}
.site-footer-light a:hover { color: var(--mint, #14CF93); transform: translateX(2px); }
.foot-socials-light {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.foot-socials-light a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background: #f5f7f8;
  border-radius: 999px;
  font-size: 15px;
  border: 1px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.foot-socials-light a:hover {
  color: var(--mint, #14CF93);
  background: #fff;
  border-color: rgba(20,207,147,0.35);
  transform: translateY(-1px);
}
.foot-bar {
  background: #f0f4f6;
  padding: 20px 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 480px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .result-item { border-right: 0; padding: 0; }
  .steps-row { grid-template-columns: 1fr; gap: 40px; padding: 0 22px; text-align: center; }
  .step { align-items: center; text-align: center; }
  .step-ico { width: 96px; margin-bottom: 16px; }
  .step-h { font-size: 24px; margin: 0 0 10px; }
  .step p { max-width: 100%; margin: 0 auto; }
  .agent-row .two-up { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 40px; line-height: 1.08; }
  .hero-lead { font-size: 16.5px; }
  .hero-stats {
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 32px;
  }
  .hero-stat strong { font-size: 26px; }
  .hero-stat span { font-size: 13px; line-height: 1.4; }

  /* MOBILE HERO VISUAL — hero image as backdrop, metric + agent cards float over it */
  .hero-visual {
    position: relative;
    min-height: 0;
    display: block;
    margin-top: 12px;
    padding: 0;
    overflow: visible;
  }
  .hero-bg-img {
    display: block;
    width: 100%;
    height: 440px;        /* fixed tall canvas so cards have backdrop the whole way down */
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 18px;
  }
  /* Metrics row floats over TOP of hero image */
  .hero-card.hero-card-metrics {
    position: absolute;
    top: 14px;
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 12px;
    box-shadow: 0 12px 28px rgba(11,20,24,0.16), 0 2px 4px rgba(11,20,24,0.08);
    z-index: 3;
  }
  .hero-card-metrics .metric .m-val { font-size: 14px; line-height: 1.15; }
  .hero-card-metrics .metric .m-val em { font-size: 10.5px; margin-left: 3px; display: inline-block; }
  .hero-card-metrics .metric .m-lbl { font-size: 10.5px; line-height: 1.25; margin-top: 3px; }

  /* Agent notification cards — stagger over middle/bottom of hero image */
  .hero-card.noti {
    position: absolute;
    width: auto;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
    gap: 10px;
    margin: 0;
    box-shadow: 0 12px 28px rgba(11,20,24,0.16), 0 2px 4px rgba(11,20,24,0.08);
    z-index: 4;
  }
  .hero-card.noti:nth-of-type(2) { top: 110px; left: 12px; right: 12px; }
  .hero-card.noti:nth-of-type(3) { top: 210px; left: 12px; right: 12px; }
  .hero-card.noti:nth-of-type(4) { top: 310px; left: 12px; right: 12px; }
  .noti-ico { width: 32px; height: 32px; font-size: 13px; border-radius: 8px; }
  .noti-title { font-size: 13px; line-height: 1.2; }
  .noti-sub { font-size: 11.5px; line-height: 1.25; margin-top: 1px; }
  .noti-badge { font-size: 11px; padding: 3px 9px; }
  .section-h, .agent-h, .step-h, .int-strip-h { font-size: 24px; }
  .results-h { font-size: 36px; }
  .get-started-h { font-size: 44px; }
  .cta-content h2 { font-size: 36px; }
  .cta-banner-live { padding: 48px 24px; }
  .cta-form-row { grid-template-columns: 1fr; gap: 10px; }
  .cta-form { gap: 10px; }
  .cta-input { font-size: 16px; padding: 12px 14px; } /* 16px prevents iOS zoom-on-focus */
  .cta-submit { width: 100%; align-self: stretch; }
  .site-footer-light .foot-grid-3 { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
  .site-footer-light { padding-top: 64px; }
  .foot-tagline-light { max-width: 100%; }
  .result-val { font-size: 56px; }

  /* Mock card mobile fixes — stop horizontal overflow */
  .mock-card { padding: 18px 16px 20px; }
  .mock-3stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mock-3stats > div { padding: 14px 8px; }
  .mock-3stats .big { font-size: 22px; }
  .mock-3stats span { font-size: 11px; }
  .mock-fare { grid-template-columns: 1fr auto; gap: 10px; padding: 12px 14px; font-size: 14px; }
  .mock-fare span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 13px; opacity: 0.85; }
  .mock-fare .pill { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 11px; }
  .mock-row { font-size: 13px; padding: 10px 12px; }
  .mock-row.split { flex-wrap: wrap; gap: 6px 10px; }
  .mock-row.split > span:first-child { flex: 0 0 auto; font-weight: 700; }
  .mock-row.split > span:nth-child(2) { flex: 1 1 100%; order: 3; font-size: 12.5px; color: var(--text-2); }
  .mock-row.split .pill { font-size: 10.5px; padding: 3px 8px; order: 2; }
  .mock-head { font-size: 13px; padding-bottom: 12px; margin-bottom: 12px; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .hero-stat strong { font-size: 22px; }
  .hero-stat span { font-size: 12px; }
  .mock-3stats .big { font-size: 18px; }
  .mock-3stats > div { padding: 12px 6px; }
  .hero-card-metrics { gap: 8px; padding: 14px 12px; }
  .hero-card-metrics .metric .m-val { font-size: 14px; }
  .hero-card-metrics .metric .m-lbl { font-size: 10.5px; }
}
