/* =========================================================
   Listings AI — Global Styles
   Dark navy + copper/gold accent. Space Grotesk + Inter.
   ========================================================= */

:root {
  --bg: #07090f;
  --bg-2: #0b0f1a;
  --bg-3: #101624;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e9edf5;
  --text-muted: #a3acbf;
  --text-dim: #6b7488;
  --accent: #e4b36a;
  --accent-2: #c98f3a;
  --accent-3: #f4d18a;
  --accent-glow: rgba(228, 179, 106, 0.35);
  --success: #4ad29a;
  --danger: #ef6a6a;
  --gradient: linear-gradient(135deg, #f4d18a 0%, #e4b36a 40%, #c98f3a 100%);
  --gradient-soft: linear-gradient(135deg, rgba(244, 209, 138, 0.14), rgba(201, 143, 58, 0.04));
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(228, 179, 106, 0.2), 0 20px 60px -15px rgba(228, 179, 106, 0.25);
  --maxw: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Grain + ambient glow overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(228, 179, 106, 0.12), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(80, 110, 200, 0.08), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(228, 179, 106, 0.08), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main, header, footer, section { position: relative; z-index: 3; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 14px; color: var(--text-muted); }
a  { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-3);
  padding: 8px 14px;
  border: 1px solid rgba(228, 179, 106, 0.28);
  background: rgba(228, 179, 106, 0.06);
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-primary {
  background: var(--gradient);
  color: #1a1205;
  box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-primary .arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: var(--surface-2); border-color: rgba(228, 179, 106, 0.35); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  padding: 10px 16px;
  font-size: 0.9rem;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-3); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex; align-items: center;
  background: rgba(7, 9, 15, 0.55);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.6);
}
.nav-cta.btn-primary {
  box-shadow: 0 8px 24px -8px rgba(228, 179, 106, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(244, 209, 138, 0.25);
  font-size: 0.92rem;
  padding: 11px 18px;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center;
  color: #1a1205;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px -8px var(--accent-glow);
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: 12px; }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; background: rgba(7, 9, 15, 0.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0 0; width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
}
.hero h1 span.line { display: block; }
.hero .sub { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 18px 28px; color: var(--text-dim); font-size: 0.9rem; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Hero visual — calendar + appointment cards */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 5.4;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  padding: 22px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: -2px;
  background: conic-gradient(from 130deg, transparent, rgba(228, 179, 106, 0.35), transparent 50%);
  filter: blur(20px); opacity: 0.55;
  z-index: -1;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; }
.cal-sub { color: var(--text-dim); font-size: 0.78rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav span { width: 26px; height: 26px; border-radius: 6px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.75rem; border: 1px solid var(--border); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.cal-day-label { text-align: center; font-size: 0.7rem; color: var(--text-dim); padding: 4px 0; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.06em; }
.cal-cell {
  aspect-ratio: 1 / 0.78;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  display: flex; align-items: flex-start; justify-content: flex-start; padding: 6px;
  color: var(--text-dim);
  position: relative;
  transition: all .4s var(--ease);
}
.cal-cell.booked {
  background: linear-gradient(135deg, rgba(228, 179, 106, 0.16), rgba(201, 143, 58, 0.06));
  border-color: rgba(228, 179, 106, 0.35);
  color: var(--accent-3);
}
.cal-cell.booked::after {
  content: "";
  position: absolute; bottom: 4px; right: 4px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.cal-cell.today { border-color: rgba(228, 179, 106, 0.55); }

.cal-cards { display: flex; flex-direction: column; gap: 10px; }
.appt-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(14px);
  animation: slideIn .8s var(--ease) forwards;
}
.appt-card:nth-child(1) { animation-delay: 1.1s; }
.appt-card:nth-child(2) { animation-delay: 1.6s; }
.appt-card:nth-child(3) { animation-delay: 2.1s; }
@keyframes slideIn { to { opacity: 1; transform: translateY(0); } }
.appt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex-shrink: 0; }
.appt-main { flex: 1; min-width: 0; }
.appt-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.appt-meta { font-size: 0.74rem; color: var(--text-dim); margin-top: 2px; }
.appt-time { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; color: var(--accent-3); font-weight: 600; }

.hero-badge {
  position: absolute;
  top: -14px; right: -14px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(74, 210, 154, 0.7); animation: pulse 2s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 210, 154, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 210, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 210, 154, 0); }
}

/* =========================================================
   VSL / Video section
   ========================================================= */
.vsl-wrap { max-width: 900px; margin: 0 auto; }
.vsl-line { text-align: center; font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; margin-bottom: 24px; color: var(--text); }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1a2238, #0a0f1c);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  isolation: isolate;
}
.video-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(228, 179, 106, 0.15), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 14px);
  z-index: 1;
}
.video-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45));
  z-index: 2;
}
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: 0 20px 60px -10px var(--accent-glow);
  transition: transform .3s var(--ease);
}
.play-btn::before {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(228, 179, 106, 0.4);
  animation: ringPulse 2.2s infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.play-btn svg { width: 32px; height: 32px; color: #1a1205; margin-left: 5px; }
.video-frame:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
.video-caption { position: absolute; left: 20px; bottom: 20px; z-index: 3; font-size: 0.85rem; color: rgba(255,255,255,0.8); font-family: 'Space Grotesk', sans-serif; }

.vsl-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 4;
  border: 0;
  border-radius: var(--radius-lg);
}
.video-frame.playing::before,
.video-frame.playing::after,
.video-frame.playing .play-btn,
.video-frame.playing .video-caption { display: none; }
.video-frame.playing { cursor: default; }

/* =========================================================
   How it Works timeline
   ========================================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 34px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(228, 179, 106, 0.4), rgba(228, 179, 106, 0.4), transparent);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid rgba(228, 179, 106, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent-3);
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(7, 9, 15, 0.8), 0 10px 30px -10px var(--accent-glow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover .step-num { transform: translateY(-4px); box-shadow: 0 0 0 6px rgba(7, 9, 15, 0.8), 0 18px 40px -10px var(--accent-glow); }
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { font-size: 0.94rem; }

@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
  .step {
    text-align: left;
    display: grid;
    grid-template-columns: 68px 1fr;
    column-gap: 18px;
    row-gap: 6px;
    align-items: start;
  }
  .step-num { margin: 0; grid-row: 1 / span 2; align-self: start; }
  .step h3 { grid-column: 2; margin-bottom: 0; }
  .step p { grid-column: 2; }
}

/* =========================================================
   Qualification criteria + Replacement guarantee (cards)
   ========================================================= */
.qualify-card, .replace-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.qualify-card::before, .replace-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(228, 179, 106, 0.08), transparent 60%);
  pointer-events: none;
}
.qualify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.qualify-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.qualify-item:hover { transform: translateY(-3px); border-color: rgba(228, 179, 106, 0.35); background: rgba(228, 179, 106, 0.05); }
.check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #1a1205;
  box-shadow: 0 6px 16px -6px var(--accent-glow);
}
.check svg { width: 16px; height: 16px; }
.qualify-text { font-size: 0.95rem; color: var(--text); font-weight: 500; line-height: 1.4; }

/* Replacement guarantee */
.replace-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.replace-icon {
  width: 96px; height: 96px;
  border-radius: 24px;
  background: var(--gradient-soft);
  border: 1px solid rgba(228, 179, 106, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.replace-icon svg { width: 44px; height: 44px; color: var(--accent-3); }
.replace-card h2 { margin-bottom: 10px; }
.replace-card p { font-size: 1.05rem; color: var(--text); }
.replace-conditions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.replace-conditions span {
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(228, 179, 106, 0.08);
  border: 1px solid rgba(228, 179, 106, 0.25);
  color: var(--accent-3);
}
@media (max-width: 680px) { .replace-card { grid-template-columns: 1fr; gap: 20px; } }

/* =========================================================
   Coverage map (real US SVG, injected via JS)
   ========================================================= */
.coverage-section { position: relative; }

.coverage-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.coverage-card::before {
  content: "";
  position: absolute;
  top: -120px; left: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.28), transparent 60%);
  pointer-events: none;
  filter: blur(10px);
  z-index: 0;
}
.coverage-card::after {
  content: "";
  position: absolute;
  bottom: -140px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 179, 106, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.coverage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .coverage-grid { grid-template-columns: 1fr; gap: 28px; }
  .coverage-card { padding: 24px; }
}

.coverage-map-wrap {
  position: relative;
  padding: 0;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.us-map-container { width: 100%; position: relative; line-height: 0; }

/* Injected SVG */
.us-map-svg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
}
.us-map-svg.ready {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: mapReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes mapReveal {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.us-map-svg path {
  fill: rgba(255, 122, 24, 0.05);
  stroke: rgba(255, 179, 71, 0.4);
  stroke-width: 0.9;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.us-map-svg path:hover {
  fill: rgba(255, 122, 24, 0.18);
  stroke: rgba(255, 200, 120, 0.85);
}
.us-map-svg #ak, .us-map-svg #hi { display: none !important; }

/* Pins — outer <g> handles translate (positioning), inner .pin-inner handles animation */
.pin-inner {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: pinDrop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0ms) + 600ms);
}
.pin-core {
  filter: drop-shadow(0 0 6px rgba(255, 160, 60, 0.9));
}
.pin-glow {
  opacity: 0.55;
  filter: blur(1.2px);
}
.pin-ring {
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  animation: pinRing 2.6s ease-out infinite;
  animation-delay: calc(var(--d, 0ms) + 1400ms);
}

@keyframes pinDrop {
  0%   { opacity: 0; transform: translateY(-14px) scale(0.2); }
  65%  { opacity: 1; transform: translateY(0) scale(1.15); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pinRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  80%  { opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .us-map-svg { opacity: 1 !important; transform: none !important; animation: none !important; }
  .pin-inner { opacity: 1 !important; animation: none !important; }
  .pin-ring { animation: none !important; opacity: 0 !important; }
}

/* Coverage stat cards */
.coverage-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cov-stat {
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.cov-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 179, 106, 0.35);
  background: linear-gradient(180deg, rgba(228, 179, 106, 0.05), rgba(255,255,255,0.01));
}
.cov-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 6px;
}
.cov-label { font-size: 0.88rem; color: var(--text-muted); }

/* =========================================================
   MOBILE POLISH — overrides at common phone breakpoints
   ========================================================= */
.hide-mobile { display: inline; }
.show-mobile { display: none; }

@media (max-width: 900px) {
  /* Keep primary CTA visible in nav bar (not hidden behind hamburger) */
  .nav .container { gap: 10px; }
  .nav-cta.btn-primary { display: inline-flex; margin-left: auto; margin-right: 8px; order: 2; font-size: 0.82rem; padding: 9px 14px; }
  .nav-links .nav-cta.btn-primary { display: none; } /* hide the one inside the dropdown since we show in bar */
  .nav-toggle { order: 3; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  section { padding: 64px 0; }
  .container { padding: 0 18px; }

  /* Type scale */
  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 6.5vw, 2.1rem); }
  .section-head { margin-bottom: 36px; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 40px; }
  .hero-grid { gap: 36px; }
  .hero .sub { font-size: 1rem; margin-bottom: 24px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .trust-strip { gap: 10px 18px; font-size: 0.82rem; }
  .eyebrow { font-size: 0.7rem; padding: 7px 12px; letter-spacing: 0.14em; margin-bottom: 16px; }

  /* Hero visual — compact calendar */
  .hero-visual { aspect-ratio: auto; padding: 16px; }
  .hero-badge { top: -10px; right: -6px; font-size: 0.7rem; padding: 7px 10px; }
  .cal-grid { gap: 4px; margin-bottom: 14px; }
  .cal-cell { font-size: 0.66rem; padding: 4px; }
  .cal-day-label { font-size: 0.62rem; }
  .appt-card { padding: 10px 12px; gap: 10px; }
  .appt-name { font-size: 0.82rem; }
  .appt-meta { font-size: 0.7rem; }
  .appt-time { font-size: 0.74rem; }

  /* VSL */
  .vsl-line { font-size: 1rem; margin-bottom: 16px; }
  .play-btn { width: 68px; height: 68px; }
  .play-btn svg { width: 24px; height: 24px; }
  .video-caption { left: 12px; bottom: 12px; font-size: 0.75rem; }

  /* Timeline */
  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-num { width: 56px; height: 56px; font-size: 1.25rem; }
  .step h3 { font-size: 1rem; }

  /* Qualification */
  .qualify-card { padding: 22px; }
  .qualify-grid { gap: 10px; grid-template-columns: 1fr; }
  .qualify-item { padding: 14px; }
  .qualify-text { font-size: 0.9rem; }

  /* Replacement */
  .replace-card { padding: 24px; gap: 18px; }
  .replace-icon { width: 72px; height: 72px; border-radius: 18px; }
  .replace-icon svg { width: 34px; height: 34px; }
  .replace-conditions span { font-size: 0.78rem; padding: 6px 11px; }
  .replace-card p { font-size: 0.96rem; }

  /* Coverage */
  .coverage-card { padding: 18px; }
  .coverage-grid { gap: 20px; }
  .coverage-map-wrap { min-height: 180px; }
  .coverage-stats { gap: 10px; }
  .cov-stat { padding: 14px 16px; }
  .cov-num { font-size: 1.6rem; }
  .cov-label { font-size: 0.82rem; }

  /* Stats strip */
  .stats { padding: 24px 16px; gap: 16px; }
  .stat-label { font-size: 0.8rem; }

  /* Why grid */
  .why-card { padding: 22px; }
  .why-icon { width: 42px; height: 42px; border-radius: 10px; margin-bottom: 14px; }
  .why-card h3 { font-size: 1rem; }
  .why-card p { font-size: 0.9rem; }

  /* Comparison — allow horizontal scroll with hint */
  .compare-wrap { -webkit-overflow-scrolling: touch; position: relative; }
  .compare-wrap::after {
    content: "Scroll →"; position: absolute; top: 10px; right: 12px;
    font-size: 0.7rem; color: var(--text-dim); padding: 4px 8px;
    background: rgba(0,0,0,0.4); border-radius: 999px; pointer-events: none;
    border: 1px solid var(--border);
  }
  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 0.85rem; }

  /* Testimonials */
  .testi { padding: 22px; gap: 16px; }
  .testi-quote { font-size: 0.94rem; }
  .testi-result { font-size: 0.8rem; }

  /* FAQ */
  .faq-item summary { padding: 16px 18px; font-size: 0.94rem; gap: 12px; }
  .faq-body { padding: 0 18px 18px; font-size: 0.9rem; }
  .faq-item .caret { width: 26px; height: 26px; }

  /* Final CTA */
  .final-cta { padding: 48px 20px; border-radius: 18px; }
  .final-cta .btn { width: 100%; font-size: 1rem; padding: 14px 20px; }
  .final-cta p { font-size: 0.96rem; }

  /* hide-mobile utility */
  .hide-mobile { display: none !important; }
  .show-mobile { display: inline !important; }

  /* Footer */
  .footer { padding: 48px 0 24px; margin-top: 40px; }
  .footer-bottom { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.8rem; }

  /* Legal pages */
  .legal { padding: calc(var(--nav-h) + 32px) 0 64px; }
  .legal h2 { font-size: 1.2rem; margin-top: 32px; }
  .legal p, .legal li { font-size: 0.92rem; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.85rem; }
  .btn { font-size: 0.9rem; padding: 12px 18px; }
  .logo { font-size: 0.95rem; }
  .logo-mark { width: 26px; height: 26px; font-size: 0.82rem; }
  .nav-cta.btn-primary { font-size: 0.76rem; padding: 8px 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Stats strip
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
}
.stat { text-align: center; }
.stat-num, .stat-num-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); letter-spacing: 0.02em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); padding: 32px 20px; } }

/* =========================================================
   Why Us — 6 card grid
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.why-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(228, 179, 106, 0.3); }
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(228, 179, 106, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-3);
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.08rem; }
.why-card p { font-size: 0.94rem; margin: 0; }

/* =========================================================
   Comparison table
   ========================================================= */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  vertical-align: top;
}
.compare-table thead th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-strong);
  font-size: 0.92rem;
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}
.compare-col-us {
  color: var(--accent-3) !important;
  background: linear-gradient(180deg, rgba(228, 179, 106, 0.07), rgba(228, 179, 106, 0.02)) !important;
  position: relative;
}
.compare-col-us::before { content: "BEST"; position: absolute; top: -1px; right: 12px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; color: #1a1205; background: var(--gradient); padding: 3px 8px; border-radius: 0 0 6px 6px; }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }
.compare-check { color: var(--success); }
.compare-x { color: var(--danger); }

/* =========================================================
   Testimonials
   ========================================================= */

/* Featured video testimonial */
.testi-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  padding: 36px;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  align-items: center;
}
.testi-featured::before {
  content: "";
  position: absolute;
  top: -150px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 179, 106, 0.16), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.testi-featured > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .testi-featured { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
}

.testi-featured-video .video-frame { aspect-ratio: 16 / 9; }

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-3);
  padding: 6px 12px;
  border: 1px solid rgba(228, 179, 106, 0.3);
  background: rgba(228, 179, 106, 0.08);
  border-radius: 999px;
  margin-bottom: 18px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(228, 179, 106, 0.7);
  animation: pulse 2s infinite;
}

.testi-featured-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.testi-featured-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.testi-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 560px) { .testi-results-grid { grid-template-columns: repeat(2, 1fr); } }

.testi-result-card {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.testi-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(228, 179, 106, 0.35);
  background: rgba(228, 179, 106, 0.05);
}
.testi-result-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 4px;
}
.testi-result-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.testi-featured-author { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--border); }

/* Existing 3-up grid */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.testi::before {
  content: "“";
  position: absolute;
  top: 8px; right: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}
.testi-quote { font-size: 1rem; color: var(--text); line-height: 1.6; font-style: italic; }
.testi-result { padding: 10px 14px; border-radius: 10px; background: rgba(228, 179, 106, 0.08); border: 1px solid rgba(228, 179, 106, 0.22); font-size: 0.88rem; color: var(--accent-3); font-weight: 500; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #1a1205; font-size: 1rem; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.author-meta { font-size: 0.8rem; color: var(--text-dim); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item[open] { border-color: rgba(228, 179, 106, 0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .caret {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.faq-item[open] .caret { transform: rotate(45deg); background: var(--gradient); border-color: transparent; color: #1a1205; }
.faq-body { padding: 0 22px 22px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta {
  text-align: center;
  padding: clamp(56px, 8vw, 100px) 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 400px at 50% 0%, rgba(228, 179, 106, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 20px, rgba(228, 179, 106, 0.02) 20px 21px);
  pointer-events: none;
}
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 16px; }
.final-cta p { font-size: 1.05rem; max-width: 560px; margin: 0 auto 30px; }
.final-cta .btn { font-size: 1.05rem; padding: 16px 28px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--text-muted); font-size: 0.92rem; transition: color .2s; }
.footer ul a:hover { color: var(--accent-3); }
.footer-about p { font-size: 0.92rem; max-width: 360px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-dim);
  flex-wrap: wrap; gap: 12px;
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .appt-card { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-visual::before, .play-btn::before, .hero-badge .pulse { animation: none !important; }
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal {
  padding: calc(var(--nav-h) + 60px) 0 100px;
  max-width: 860px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.legal .last-updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin-top: 44px; margin-bottom: 14px; color: var(--text); }
.legal h3 { font-size: 1.08rem; margin-top: 28px; margin-bottom: 10px; color: var(--accent-3); font-family: 'Space Grotesk', sans-serif; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.96rem; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-3); border-bottom: 1px solid rgba(228, 179, 106, 0.3); }
.legal a:hover { border-color: var(--accent-3); }
.clause { counter-reset: sub; margin-bottom: 8px; }
.clause-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--text); margin-top: 36px; font-size: 1.15rem; }
