/* requestfreequote.ai — design system derived from the voxglobo family.
   Tokens intentionally match voxglobo.com css/app.css so the two sites read as siblings. */

:root {
  --navy: #0b2a50;
  --navy-light: #0f3460;
  --accent: #30db00;
  --accent-hover: #00e5f7;
  --accent-glow: rgba(0, 201, 219, 0.25);
  --cyan: #00c9db;
  --white: #ffffff;
  --off-white: #f4f7fa;
  --text-dark: #1a1a2e;
  --text-muted: #5a6577;
  --text-light: #c0cbdc;
  --border-light: #e2e8f0;
  --gradient-hero: linear-gradient(135deg, #0b2a50 0%, #0f3460 50%, #162d50 100%);
  --gradient-stat-card: linear-gradient(135deg, #0c1f6b 0%, #112879 50%, #0f2260 100%);
  --gradient-card: linear-gradient(135deg, #071e3d 0%, #0b2a50 50%, #091f3a 100%);
  --gradient-bg-light: linear-gradient(135deg, #b8d4ee 0%, #cce0f4 50%, #bdd9f0 100%);
  --gradient-process-step: linear-gradient(135deg, #cdf2c6 0%, #dcf5d7 50%, #c8f0d0 100%);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 24px;
  --radius-sm: 12px;
  --danger: #d64545;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; } /* clear the fixed header (64px) on #anchor jumps */
body {
  margin: 0;
  font-family: 'Inter', 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; font-size: 1.2rem;}
a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background-color: rgba(11, 42, 80, 1);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); background-color: rgba(11, 42, 80, 0.97); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 64px; }
.wordmark { font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; color: var(--white); white-space: nowrap; }
.wordmark .brand-accent { color: var(--accent); }
.wordmark:hover { color: var(--white); }
.wordmark-logo { display: inline-block; height: 1.2em; width: auto; margin-right: 0.3em; vertical-align: -0.25em; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-toggle {
  display: inline-block; padding: 0.35rem 0.8rem; border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px; color: var(--white); font-weight: 600; font-size: 0.85rem;
  background: transparent; transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; padding: 0.75rem 2rem; border: none;
  border-radius: var(--radius-sm); transition: all 0.25s; text-align: center; line-height: 1.5;
}
.btn-accent { background-color: var(--accent); color: var(--navy); }
.btn-accent:hover { background-color: var(--accent-hover); color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-outline-light { border: 2px solid rgba(255, 255, 255, 0.4); color: var(--white); background: transparent; padding: calc(0.75rem - 2px) 2rem; }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }
/* Hero secondary CTA — matches ericnumeric's hero "Book an AI Strategy Call" (green fill, light hover) */
.hero .btn-outline-light { background: rgb(80 197 1 / 67%); border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-outline-light:hover { background: #f8f9fa; border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.9rem 2.4rem; font-size: 1.3rem; }
.site-header .btn { padding: 0.5rem 1.1rem; font-size: 0.9rem; white-space: nowrap; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }
.section-label {
  text-transform: uppercase; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.15em;
  color: #21639c; margin-bottom: 0.75rem;
}
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.01em; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 720px; margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-accent { color: var(--accent); }
section.bg-soft { background: var(--off-white); }
section.bg-navy { background-color: var(--navy); color: var(--white); }
section.bg-navy .section-title { color: var(--white); }
section.bg-navy .section-subtitle { color: var(--text-light); }
section.bg-navy .section-label { color: #aef5f1; }

/* ---------- Hero ---------- */
/* Parallax photo hero, styled after ericnumeric.com (parallax.js, speed 0.2).
   Like parallax.js's mirror, .hero-bg is pinned to the viewport and main.js
   only nudges it by 20% of the scroll, so any main-thread lag is small.
   clip-path (unlike overflow) clips fixed descendants to the hero, and
   also gives the hero its own stacking context. The gradient shows until
   the image loads. */
.hero {
  background: var(--gradient-hero);
  padding: calc(64px + 5rem) 0 8rem;
  min-height: 80vh; display: flex; align-items: center;
  position: relative; overflow: hidden; clip-path: inset(0);
}
.hero-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
  background: url('/img/free-quote_hero.png') center / cover no-repeat;
  will-change: transform; pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgb(0 0 0 / 15%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; position: relative; }
.hero .section-label { color: #aef5f1; text-shadow: 6px 2.5px 5px #000000; }
.hero h1 { font-size: 2.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 1.25rem; text-shadow: 6px 2.5px 5px #000000; }
.hero .lead { font-size: 1.5rem; color: #ffffff; max-width: 560px; margin-bottom: 2rem; text-shadow: 2px 1.5px 1px #000000; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1rem; }
.hero-micro { color: var(--white); font-size: 0.9rem; text-shadow: 2px 1.5px 1px #000000; }
.video-transcript { margin-top: 1rem; }
.video-transcript summary { cursor: pointer; color: var(--white); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; text-shadow: 2px 1.5px 1px #000000; }
.video-transcript-body { margin-top: 0.75rem; max-height: 22rem; overflow-y: auto; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.95); border-radius: var(--radius-sm); color: var(--text-dark); }
.video-transcript-body p { font-size: 0.95rem; margin: 0 0 0.5rem; }
.video-transcript-body p.sound { font-style: italic; color: var(--text-muted); }

/* ---------- The Widget ---------- */
.widget-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 1.5rem; position: relative;
}
.widget-head { margin-bottom: 1rem; }
.widget-head h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.widget-head p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.mode-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--off-white); border-radius: 999px; padding: 4px; margin-bottom: 1.25rem;
}
.mode-toggle button {
  border: none; background: transparent; border-radius: 999px; padding: 0.6rem 0.5rem;
  font-weight: 600; font-size: 0.95rem; color: var(--text-muted); transition: all 0.2s;
}
.mode-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: 0 2px 8px rgba(11, 42, 80, 0.35); }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.field input, .field select {
  width: 100%; padding: 0.7rem 0.9rem; font: inherit; border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm); background: var(--white); color: var(--text-dark);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px var(--accent-glow); }
.field .hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: 0.83rem; margin-top: 0.3rem; }
.field.invalid .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }

.link-btn { background: none; border: none; padding: 0; color: var(--cyan); font-weight: 600; font-size: 0.85rem; }
.link-btn:hover { color: var(--accent-hover); text-decoration: underline; }

.vehicle-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  background: var(--gradient-process-step); border-radius: var(--radius-sm);
  padding: 0.7rem 1rem; margin-bottom: 1rem; font-weight: 600; font-size: 0.95rem;
}
.vehicle-chip .vc-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #3c6e47; display: block; font-weight: 700; }

.job-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.job-option { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.8rem; border: 1.5px solid var(--border-light); border-radius: var(--radius-sm); cursor: pointer; font-size: 0.95rem; transition: border-color 0.15s, background 0.15s; }
.job-option:hover { border-color: var(--cyan); }
.job-option input { accent-color: var(--navy); width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.job-option.selected { border-color: var(--navy); background: var(--off-white); }

/* loading state */
.widget-loading { padding: 1.5rem 0.5rem; text-align: center; }
.loading-bar { height: 6px; border-radius: 999px; background: var(--off-white); overflow: hidden; margin: 1rem auto 0.75rem; max-width: 320px; }
.loading-bar span { display: block; height: 100%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--accent)); animation: loadSweep 1.1s ease-in-out infinite; }
@keyframes loadSweep { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.loading-msg { color: var(--text-muted); font-size: 0.95rem; min-height: 1.5em; }

/* quote reveal */
.quote-sheet { border: 1.5px solid var(--border-light); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-bottom: 1rem; background: var(--white); }
.quote-sheet.gated .q-gatable { filter: blur(7px); user-select: none; pointer-events: none; }
.q-vehicle { font-weight: 700; font-size: 1.02rem; padding-bottom: 0.6rem; border-bottom: 1.5px solid var(--border-light); margin-bottom: 0.6rem; }
.q-vehicle .q-flag { font-weight: 500; font-size: 0.8rem; color: var(--text-muted); display: block; }
.q-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.93rem; padding: 0.28rem 0; opacity: 0; transform: translateY(8px); animation: lineIn 0.45s ease forwards; }
.q-line .q-desc { color: var(--text-dark); }
.q-line .q-sub { color: var(--text-muted); font-size: 0.83rem; display: block; }
.q-line .q-amt { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.q-line.q-jobhead { font-weight: 700; margin-top: 0.45rem; }
.q-line.q-total { border-top: 2px solid var(--navy); margin-top: 0.6rem; padding-top: 0.6rem; font-weight: 800; font-size: 1.1rem; }
.q-line.q-total .q-amt { color: var(--navy); font-size: 1.25rem; }
.q-line.q-tax { color: var(--text-muted); }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }
.q-range { text-align: center; padding: 1rem 0 0.5rem; }
.q-range .q-range-num { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.q-range p { margin: 0.4rem 0; }
.q-note { font-size: 0.85rem; color: var(--text-muted); }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.wbadge {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem;
  border-radius: 999px; font-size: 0.78rem; font-weight: 600;
}
.wbadge-advisor { background: rgba(48, 219, 0, 0.12); color: #1d7a06; border: 1px solid rgba(48, 219, 0, 0.35); }
.wbadge-sample { background: var(--off-white); color: var(--text-muted); border: 1px solid var(--border-light); }

/* teaser + gate */
.gate-panel { background: var(--off-white); border-radius: var(--radius-sm); padding: 1.1rem; }
.gate-panel h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.gate-panel .gate-hint { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.9rem; }
.consent-line { font-size: 0.78rem; color: var(--text-muted); margin: 0.6rem 0 0; }
/* honeypot — visually removed, still in the form for bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

.confirm-panel { text-align: center; padding: 1rem 0.5rem; }
.confirm-panel .confirm-check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--navy);
  font-size: 1.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.9rem;
}
.confirm-panel h3 { font-size: 1.25rem; }
.widget-micro { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: center; margin-top: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.widget-micro span::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ---------- Stat cards (problem section) ---------- */
.stat-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
.stat-card { text-align: center; padding: 2rem 1.5rem; background: var(--gradient-stat-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); }
.stat-card .stat-number { font-size: 2.75rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.75rem; }
.stat-card .stat-text { color: var(--text-light); font-size: 1.3rem; margin: 0; }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
.process-step { text-align: center; padding: 1.5rem 1.25rem; background: var(--gradient-process-step); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); }
.process-step .step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.process-step h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 1.1rem; color: #33413a; margin: 0; }
.cta-banner .process-step { background: var(--gradient-stat-card); }
.cta-banner .process-step h3 { color: var(--white); }
.cta-banner .process-step p { color: var(--text-light); font-size: 1.1rem; margin: 0; }

/* ---------- Feature split (rates / control / quebec) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: 0.7rem; font-size: 1.1rem;}
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: rgba(48, 219, 0, 0.15); color: #1d7a06; font-weight: 800;
  font-size: 0.8rem; display: flex; align-items: center; justify-content: center; margin-top: 0.25rem;
}
section.bg-navy .checklist li::before { background: rgba(48, 219, 0, 0.25); color: var(--accent); }
.visual-card { background: var(--gradient-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 1.75rem; color: var(--white); box-shadow: var(--shadow-card); }
.visual-card .vc-title { color: #71f8f9; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 1rem; }

/* mock quote preview used as imagery */
.mock-quote { background: var(--white); color: var(--text-dark); border-radius: var(--radius-sm); padding: 1.1rem; font-size: 1rem; box-shadow: var(--shadow-card); }
.mock-quote .mq-head { display: flex; justify-content: space-between; font-weight: 700; border-bottom: 1.5px solid var(--border-light); padding-bottom: 0.5rem; margin-bottom: 0.5rem; }
.mock-quote .mq-row { display: flex; justify-content: space-between; padding: 0.2rem 0; color: var(--text-muted); }
.mock-quote .mq-row strong { color: var(--text-dark); }
.mock-quote .mq-total { border-top: 2px solid var(--navy); margin-top: 0.5rem; padding-top: 0.5rem; font-weight: 800; color: var(--navy); display: flex; justify-content: space-between; }

/* ---------- Trades chips ---------- */
.trades-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.trade-chip {
  background: var(--gradient-card); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center; color: #e8f0fe;
  font-weight: 600; font-size: 1.5rem;
}
.trade-chip:hover { border-color: var(--cyan); }
.cta-banner .trade-chip { background: var(--gradient-stat-card); }
.trade-chip .trade-icon { font-size: 3rem; display: block; margin-bottom: 0.5rem; }

/* ---------- Demo / video ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; align-items: stretch; }
.video-slot {
  background: var(--gradient-card); border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--text-light); min-height: 260px; padding: 2rem; font-size: 0.95rem;
}
.video-slot .play-circle { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.4rem; color: var(--white); }
.video-slot.has-thumb { position: relative; padding: 0; min-height: 0; overflow: hidden; border-style: solid; aspect-ratio: 16 / 9; align-self: start; }
.video-slot.has-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Thumbnail slideshow: images stacked, main.js moves .is-active every 4s */
.video-slot.thumb-cycle img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.video-slot.thumb-cycle img.is-active { opacity: 1; }
.video-slot.has-thumb .play-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; width: 48px; height: 48px; font-size: 1.1rem; background: rgba(0, 0, 0, 0.55); border-color: rgba(255, 255, 255, 0.85); }
.video-slot.has-thumb .video-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.25rem 0.75rem 0.5rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); color: var(--white); font-size: 0.72rem; line-height: 1.3; }
/* Click-to-play: the slot is a link until clicked, then main.js swaps in the Stream iframe */
a.video-slot { color: inherit; text-decoration: none; cursor: pointer; }
a.video-slot:focus-visible { border-radius: var(--radius); outline-offset: 3px; }
a.video-slot .play-circle { transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
a.video-slot:hover .play-circle, a.video-slot:focus-visible .play-circle { transform: translate(-50%, -50%) scale(1.12); background: var(--accent); border-color: var(--accent); color: var(--navy); }
.video-slot.is-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-caption { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 0.6rem; }

/* ---------- v2: video hero, try-it section, FAQ ---------- */
.hero.hero-video::before { background: rgb(0 0 0 / 45%); }
.hero-video .video-slot { border-color: rgba(255, 255, 255, 0.35); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); align-self: center; }
/* Single column: unwrap the copy so the video sits right under the headline */
.hero-video .hero-grid { gap: 0; }
.hero-video .hero-copy { display: contents; }
.hero-video .hero-copy > * { order: 2; }
.hero-video .hero-copy > .section-label, .hero-video .hero-copy > h1 { order: 0; }
.hero-video .video-slot { order: 1; margin-bottom: 1.75rem; }
.try-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.try-it .widget-card { box-shadow: var(--shadow-card-hover); border: 1px solid var(--border-light); }
.try-sample .section-title { margin-bottom: 1.25rem; }
.try-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.try-steps li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.05rem; font-weight: 600; }
.try-steps .step-dot { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mock-quote .mq-job { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin: 0 0 0.4rem; }
.faq-group { max-width: 820px; margin: 2.5rem auto 0; }
.faq-group-title { font-size: 1.3rem; color: var(--navy); margin-bottom: 0.9rem; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--navy); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 1.25rem 1.2rem; margin: 0; color: var(--text-muted); }
.faq-item ul { padding: 0 1.25rem 1.2rem 2.75rem; margin: -0.6rem 0 0; color: var(--text-muted); font-size: 1.2rem; }
.faq-item li + li { margin-top: 0.3rem; }

/* ---------- ROI calculator ---------- */
.roi-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 1.75rem; max-width: 640px; margin: 2rem auto 0; }
.roi-field { margin-bottom: 1.4rem; }
.roi-field label { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; gap: 1rem; }
.roi-field output { color: var(--navy); font-weight: 800; white-space: nowrap; }
input[type="range"] { width: 100%; accent-color: var(--navy); height: 2rem; }
.roi-result { text-align: center; background: var(--gradient-hero); border-radius: var(--radius-sm); padding: 1.4rem 1rem; color: var(--white); }
.roi-result .roi-number { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1.15; font-variant-numeric: tabular-nums; }
.roi-result .roi-label { font-size: 0.9rem; color: var(--text-light); }
.roi-note { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin: 0.9rem 0 0; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--gradient-hero); padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 200%; background: radial-gradient(ellipse, rgba(0, 201, 219, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 0.5rem; }
.cta-banner p { color: var(--accent-hover); margin-bottom: 2rem; font-size: 1.4rem; }
.cta-banner .hero-ctas { justify-content: center; }

/* ---------- Upsell ---------- */
.upsell-card { background: var(--gradient-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 2.25rem 1.75rem; color: var(--text-light); font-size: 1.2rem;}
.upsell-card h2 { color: var(--white); }
.upsell-card .section-label { color: #71f8f9; }

/* stat pair inside the missed-call offer card */
.stat-inline-row { display: grid; gap: 0.9rem; margin: 1.4rem 0 1.6rem; }
.stat-inline { display: flex; gap: 0.75rem; align-items: baseline; }
.stat-inline .n { font-size: 1.7rem; font-weight: 800; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Staff quote-builder panel (mock imagery) ---------- */
.staff-panel .mq-sub { display: block; font-size: 0.72rem; color: var(--text-muted); font-weight: 400; margin-top: 0.1rem; }
.staff-panel .mq-profit {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  margin-top: 0.7rem; padding: 0.45rem 0.6rem; font-size: 0.74rem;
  background: #fff8e1; border: 1.5px dashed #d69e00; color: #7a5b00; border-radius: 8px;
}
.staff-panel .mq-profit-tag { text-transform: uppercase; font-weight: 800; letter-spacing: 0.06em; font-size: 0.66rem; white-space: nowrap; }
.staff-panel .mq-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.staff-panel .mq-btn { background: var(--navy); color: var(--white); border-radius: 8px; padding: 0.4rem 0.85rem; font-weight: 600; font-size: 0.74rem; }
.staff-panel .mq-btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

/* "You decide how quotes go out" choice cards (reuse .process-step) */
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.5rem; }
/* cyan links wash out on the green card, so this one is navy */
.process-step .choice-link { margin-top: 0.75rem; font-size: 1rem; }
.choice-link a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.choice-link a:hover { color: var(--navy-light); }

/* secondary (hours-saved) result under the ROI number */
.roi-result-alt { margin-top: 0.9rem; padding: 1rem; }
.roi-result-alt .roi-number { font-size: 1.8rem; }

/* missed-call calculator sits inside a split, not centered like the ROI card */
.calls-card { max-width: none; margin: 0; }

/* ---------- Lightbox (real staff-tool screenshot) ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 560px); max-height: 90vh; overflow: auto; border-radius: var(--radius-sm); }
dialog.lightbox::backdrop { background: rgba(7, 20, 40, 0.82); }
dialog.lightbox img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.lightbox-close { position: sticky; top: 0.5rem; float: right; margin: 0.5rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 2; }
dialog.lightbox-panel { max-width: min(94vw, 660px); }

/* ---------- Quote-demo panel (HTML rendition of the real staff tool) ---------- */
.qd { color: #111827; font-size: 12px; line-height: 1.35; }
.qd-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); padding: 20px; }
.qd-card > * + * { margin-top: 1rem; }
.qd-head { display: flex; align-items: center; justify-content: space-between; }
.qd-h { font-size: 11px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }
.qd-sec { padding-top: 0.6rem; border-top: 1px solid #f3f4f6; }
.qd-sec-title { font-size: 11px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.qd label { display: block; font-size: 11px; color: #6b7280; margin-bottom: 2px; }
.qd input, .qd textarea { width: 100%; box-sizing: border-box; border: 1px solid #d1d5db; border-radius: 4px; padding: 4px 8px; font-size: 12px; font-family: inherit; background: #fff; }
.qd input:disabled, .qd textarea:disabled { opacity: 1; color: #111827; -webkit-text-fill-color: #111827; background: #fff; cursor: default; }
.qd textarea { resize: none; }
.qd-mt { margin-top: 8px; }
.qd-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qd-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.qd-btn-sm { display: inline-block; font-size: 12px; padding: 4px 8px; border: 1px solid #d1d5db; border-radius: 4px; color: #4b5563; }
.qd-tablewrap { overflow-x: auto; }
.qd-table { width: 100%; min-width: 380px; border-collapse: collapse; font-size: 12px; }
.qd-table th { color: #9ca3af; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; font-size: 11px; padding: 4px 0; text-align: left; }
.qd-table th.r, .qd-table td.r { text-align: right; }
.qd-table td { padding: 6px 0 6px 4px; vertical-align: top; border-top: 1px solid #f3f4f6; }
.qd-table tbody tr:first-child td { border-top: 0; }
.qd-item { border-color: transparent !important; padding-left: 2px; }
.qd-num { width: 64px; text-align: right; }
.qd-tag { display: block; font-size: 10px; color: #9ca3af; margin-top: 1px; }
.qd-total-cell { font-weight: 500; color: #1f2937; padding-top: 8px; white-space: nowrap; padding-left: 8px; }
.qd-x { color: #f87171; }
.qd-link { display: inline-block; margin-top: 6px; color: #2563eb; font-size: 12px; }
.qd-totals > div { display: flex; justify-content: space-between; color: #4b5563; font-size: 14px; padding: 2px 0; }
.qd-grand { margin-top: 6px; padding-top: 8px !important; border-top: 1px solid #e5e7eb; font-weight: 700; color: #111827; font-size: 16px; }
.qd-stat { border: 1px solid #e5e7eb; background: #f9fafb; border-radius: 6px; padding: 6px 8px; }
.qd-stat.green { border-color: #bbf7d0; background: #f0fdf4; }
.qd-stat-l { font-size: 10px; color: #6b7280; }
.qd-stat-v { font-weight: 600; color: #374151; }
.qd-stat.green .qd-stat-v { color: #15803d; }
.qd-note { font-size: 10px; color: #9ca3af; margin-top: 4px; }
.qd-pdfs { display: flex; gap: 8px; }
.qd-btn-pdf { flex: 1; text-align: center; font-size: 12px; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 4px; color: #374151; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-light); padding: 3rem 0 1.5rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h3 { color: #8793fb; font-weight: 300; font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer a { color: var(--text-light); }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.25rem; font-size: 0.82rem; color: rgba(192, 203, 220, 0.7); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* ---------- Contact form ("Book a Quote Speed Test") ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.contact-reasons { list-style: none; padding: 0; margin: 0; font-size: 1.2rem; line-height: 1.5rem;}
.contact-reasons li { padding-left: 1.9rem; position: relative; margin-bottom: 1rem; }
.contact-reasons li::before {
  content: '✓'; position: absolute; left: 0; top: 0.25rem; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: rgba(48, 219, 0, 0.15); color: #1d7a06; font-weight: 800;
  font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
}
.contact-reasons strong { display: block; }
.contact-reasons span { color: var(--text-muted); font-size: 0.95rem; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 1.5rem; }
.contact-card .required { color: var(--danger); }
.field textarea {
  width: 100%; padding: 0.7rem 0.9rem; font: inherit; border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm); background: var(--white); color: var(--text-dark);
  resize: vertical; transition: border-color 0.2s;
}
.field textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px var(--accent-glow); }
.pain-wrap { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.pain-wrap legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; padding: 0; }
.pain-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.pain-pill { position: relative; }
/* visually hidden but still keyboard-focusable */
.pain-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pain-pill label {
  display: flex; align-items: center; justify-content: center; height: 100%;
  padding: 0.6rem 0.8rem; border: 1.5px solid var(--border-light); border-radius: 20px;
  background: var(--off-white); font-size: 0.88rem; font-weight: 500; line-height: 1.35;
  text-align: center; cursor: pointer; user-select: none; transition: all 0.2s;
}
.pain-pill label:hover { border-color: var(--cyan); }
.pain-pill input:focus-visible + label { outline: 3px solid var(--accent-hover); outline-offset: 2px; }
.pain-pill input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--navy); font-weight: 600; }
.pain-pill input:checked + label::before { content: '✓\00a0'; }
.recaptcha-wrap { margin: 0.5rem 0 1rem; min-height: 78px; }
.form-error {
  display: none; color: var(--danger); font-size: 0.9rem; margin-bottom: 1rem; padding: 0.8rem 1rem;
  background: rgba(214, 69, 69, 0.08); border-left: 3px solid var(--danger); border-radius: 4px;
}
.form-error.show { display: block; }
.btn-submit { position: relative; width: 100%; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-submit.loading::after {
  content: ''; position: absolute; width: 16px; height: 16px; top: 50%; right: 1.25rem; margin-top: -8px;
  border: 2px solid rgba(11, 42, 80, 0.3); border-top-color: var(--navy); border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-success { text-align: center; padding: 2rem 0.5rem; }
.contact-success:focus { outline: none; }
.contact-success h3 { font-size: 1.4rem; }
.contact-success p { color: var(--text-muted); margin: 0; }

/* ---------- Card motion (ported from ericnumeric.com .card-service) ----------
   Hover: lift + deep shadow. Scroll-reveal: hidden until main.js's
   IntersectionObserver adds .is-revealed (staggered 90ms per sibling), then a
   slide-up with a slight overshoot. Gated on html.js so no-JS visitors see
   everything. Form cards (ROI, contact) reveal but don't lift. */
.stat-card, .process-step, .trade-chip, .visual-card, .upsell-card { transition: all 0.3s; }
.stat-card:hover, .process-step:hover, .trade-chip:hover, .visual-card:hover, .upsell-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}
html.js .stat-card, html.js .process-step, html.js .trade-chip, html.js .visual-card,
html.js .upsell-card, html.js .roi-card, html.js .contact-card {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.7s ease-out,
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}
html.js .is-revealed { opacity: 1; transform: translateY(0); }
html.js .is-revealed:is(.stat-card, .process-step, .trade-chip, .visual-card, .upsell-card):hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  html.js .stat-card, html.js .process-step, html.js .trade-chip, html.js .visual-card,
  html.js .upsell-card, html.js .roi-card, html.js .contact-card { opacity: 1; transform: none; }
  html.js .is-revealed:hover { transform: none; }
}

/* ---------- Utilities ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .hero h1 { font-size: 2.7rem; }
  .section-title { font-size: 2.25rem; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .process-step { padding: 1.25rem 0.9rem; }
  .trades-grid { grid-template-columns: repeat(4, 1fr); }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .split.split-flip > .split-visual { order: -1; }
  .demo-grid { grid-template-columns: 1.2fr 0.8fr; }
  .video-slot.has-thumb .play-circle { width: 64px; height: 64px; font-size: 1.4rem; }
  .video-slot.has-thumb .video-note { padding: 1.5rem 1rem 0.7rem; font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .widget-card { padding: 2rem; }
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; }
  .contact-card { padding: 2rem; }
}
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 480px; gap: 3.5rem; align-items: center; }
  .hero-video .hero-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  .hero-video .hero-copy { display: block; }
  .hero-video .video-slot { margin-bottom: 0; }
  .try-grid { grid-template-columns: 480px 1fr; gap: 3.5rem; }
  .hero h1 { font-size: 3rem; }
  section { padding: 4.5rem 0; }
}
@media (max-width: 480px) {
  .site-header .container { padding: 0 0.75rem; gap: 0.5rem; min-height: 56px; }
  .header-actions { gap: 0.5rem; }
  .site-header .btn { padding: 0.45rem 0.6rem; font-size: 0.75rem; }
  .lang-toggle { padding: 0.28rem 0.6rem; font-size: 0.78rem; }
  .wordmark { font-size: 0.95rem; }
  .hero { padding-top: calc(56px + 2.5rem); }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .pain-group { grid-template-columns: 1fr; }
}

/* Large screens: let the v2 hero outgrow the 1200px container so the video gets the extra width */
@media (min-width: 1400px) {
  .hero-video > .container, .header-wide > .container { max-width: 1680px; padding: 0 2.5rem; }
  .hero-video .hero-grid { grid-template-columns: minmax(480px, 580px) 1fr; gap: 3.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .q-line { opacity: 1; transform: none; }
}

/* ---------- Intake + booking page (intake.html) ---------- */
.intake-body { background: var(--off-white); }
.intake-page { padding: 96px 0 3rem; }
.intake-wrap { max-width: 760px; }
.intake-status { color: var(--text-muted); }
.intake-hello { font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; }
.intake-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.intake-card h2 { font-size: 1.3rem; }
.intake-card .hint { font-size: 0.85rem; }
.optional-tag {
  display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.6rem; border-radius: 999px;
  background: var(--off-white); color: var(--text-muted); font-size: 0.75rem; font-weight: 600;
  vertical-align: middle;
}
.hint-lg { color: var(--text-muted); font-size: 1rem; }
.pill-row-4 { grid-template-columns: repeat(4, 1fr); }
.slot-days { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.25rem 0.1rem 0.75rem; scrollbar-width: thin; }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; margin-bottom: 0.75rem; }
.day-btn, .slot-btn {
  border: 1.5px solid var(--border-light); background: var(--off-white); color: var(--text-dark);
  border-radius: var(--radius-sm); padding: 0.55rem 0.8rem; font-size: 0.9rem; font-weight: 600;
  white-space: nowrap; transition: border-color 0.2s, background 0.2s;
}
.day-btn:hover, .slot-btn:hover { border-color: var(--cyan); }
.day-btn[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.slot-btn[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.slot-selected { font-weight: 600; margin-bottom: 1rem; }
.link-btn { border: 0; background: none; color: var(--cyan); padding: 0; font-weight: 600; text-decoration: underline; }
.booked-banner {
  padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: rgba(48, 219, 0, 0.12);
  border-left: 3px solid var(--accent); font-weight: 600;
}
.intake-done { text-align: center; padding: 2.5rem 1.5rem; }
.intake-done:focus { outline: none; }
.intake-page .site-footer { margin-top: 0; }
@media (max-width: 640px) {
  .pill-row-4 { grid-template-columns: 1fr 1fr; }
  .intake-card { padding: 1.1rem; }
}

/* intake: time zone picker */
.tz-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: .95rem; }
.tz-row label { font-weight: 600; }
.tz-row select { padding: .4rem .6rem; border-radius: var(--radius-sm); border: 1px solid var(--border-light); font: inherit; background: var(--white); color: inherit; max-width: 100%; }
