/* ============================================
   Yard Car NC v4 — "The Crusher"
   Design language: Tesla DESIGN.md (radical subtraction, photography-first)
   Interaction: Single-screen command console (no scroll, state-driven)
   ============================================ */

:root {
  /* Tesla DESIGN.md tokens */
  --tesla-blue: #3E6AE1;
  --white: #FFFFFF;
  --light-ash: #F4F4F4;
  --carbon: #171A20;
  --graphite: #393C41;
  --pewter: #5C5E62;
  --silver-fog: #8E8E8E;
  --cloud-gray: #EEEEEE;
  --pale-silver: #D0D1D2;
  --frost: rgba(255,255,255,0.75);

  /* Yard Car NC accent (cash green, the ONE deviation from Tesla's monochrome) */
  --cash-green: #15803d;
  --cash-green-dark: #166534;

  --font: 'Inter', -apple-system, sans-serif;

  --radius-btn: 4px;
  --radius-card: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body {
  height: 100%;
  overflow: hidden; /* No scroll — single screen */
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  background: var(--carbon);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(0.95rem, 1.5vw, 1.1rem); font-weight: 500; }

.accent { color: var(--cash-green); }
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cash-green);
  display: block;
  margin-bottom: 12px;
}

/* ============================================
   Background Layer (full-viewport cinematic image)
   ============================================ */
#bg-layer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--carbon);
}
#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg,
    rgba(23,26,32,0.4) 0%,
    rgba(23,26,32,0.2) 25%,
    rgba(23,26,32,0.65) 65%,
    rgba(23,26,32,0.9) 100%
  );
}

/* ============================================
   Navigation (Tesla-style, minimal)
   ============================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--frost);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--carbon);
}
.nav-brand span { display: flex; align-items: center; gap: 2px; }
.nav-brand em { font-style: normal; color: var(--cash-green); }
.brand-logo { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  border-radius: var(--radius-btn);
  transition: all 0.2s ease;
  opacity: 0.7;
}
.nav-link:hover { opacity: 1; color: var(--carbon); }
.nav-link.active {
  opacity: 1;
  color: var(--white);
  background: var(--carbon);
}
.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--cash-green);
  padding: 8px 20px;
  border: 1px solid var(--cash-green);
  border-radius: var(--radius-btn);
  transition: all 0.2s ease;
}
.nav-phone:hover { background: var(--cash-green); color: var(--white); }

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--frost);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#mobile-toggle svg { width: 24px; height: 24px; color: var(--carbon); }
.nav-phone-mobile {
  font-size: 14px;
  font-weight: 600;
  color: var(--cash-green);
}
#mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 99;
  background: var(--frost);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-link {
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--carbon);
  text-align: left;
  border-radius: var(--radius-btn);
  transition: background 0.2s;
}
.mobile-link:hover { background: rgba(0,0,0,0.05); }
.mobile-link.active { color: var(--cash-green); }

/* Service Areas grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.area-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}
.area-link:hover {
  background: var(--cash-green);
  border-color: var(--cash-green);
  color: var(--white);
  text-decoration: none;
}
@media(max-width:768px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Text Now button */
.btn-text {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-btn);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}
.btn-text:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.nav-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--cash-green);
  border: 1px solid var(--cash-green);
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-text:hover { background: var(--cash-green); color: var(--white); text-decoration: none; }
.nav-text-mobile {
  font-size: 13px;
  font-weight: 600;
  color: var(--cash-green);
  border: 1px solid var(--cash-green);
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  text-decoration: none;
}
.contact-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--cash-green);
  border: 1px solid var(--cash-green);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all 0.2s;
}
.contact-text:hover { background: var(--cash-green); color: var(--white); text-decoration: none; }

/* Email capture bar */
#email-capture {
  position: fixed;
  bottom: 38px;
  left: 0; right: 0;
  z-index: 50;
  background: rgba(23,26,32,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 5px 24px;
}

/* Mobile state-tab bar — hidden on desktop, shown only <=768px */
#mobile-tabs { display: none; }
.email-capture-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.email-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.email-form {
  display: flex;
  gap: 6px;
  flex: 1;
}
.email-form input[type="email"] {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 13px;
  font-family: inherit;
}
.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--cash-green);
}
.btn-email {
  padding: 8px 16px;
  background: var(--cash-green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-email:hover { background: #166534; }
@media(max-width:768px) {
  .email-capture-inner { flex-direction: column; gap: 6px; }
  .email-label { font-size: 12px; }
  #email-capture { padding: 6px 12px; }
}

/* Service count ticker */
.hero-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.ticker-item {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cash-green);
}
@media(max-width:768px) {
  .hero-ticker { gap: 8px; }
  .ticker-item { font-size: 10px; }
}

/* Answer block — visually hidden, crawler/screen-reader visible (AEO/GEO) */
.answer-block {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================
   Stage (single-screen content area)
   ============================================ */
#stage {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  padding: 0 40px 100px 40px;
}

.state {
  position: absolute;
  bottom: 100px;
  left: 40px;
  right: 40px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.state.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.state::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px; right: -20px; bottom: -20px;
  background: rgba(23,26,32,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-card);
  z-index: -1;
}

/* ============================================
   HOME State
   ============================================ */
.hero-content {
  padding: 0;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 420px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   Buttons (Tesla-style: 4px radius, no shadow)
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--cash-green);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
  text-align: center;
}
.btn-primary:hover { background: var(--cash-green-dark); }
.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s ease;
  text-align: center;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.btn-full { width: 100%; padding: 14px; font-size: 15px; white-space: nowrap; }
.btn-large { padding: 16px 48px; font-size: 15px; }

/* ============================================
   Panel Content (shared for non-home states)
   ============================================ */
.panel-content {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: 4px;
}
.panel-content h2 {
  color: var(--white);
  margin-bottom: 24px;
}

/* Steps (vertical) */
.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.step-v {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-v-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--cash-green);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-v-body h3 {
  color: var(--white);
  margin-bottom: 4px;
}
.step-v-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.benefit h3 {
  color: var(--white);
  margin-bottom: 4px;
}
.benefit p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* Vehicle list */
.vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vehicle-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vehicle-row:last-child { border-bottom: none; }
.vehicle-row h3 {
  color: var(--white);
  margin-bottom: 4px;
}
.vehicle-row p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Contact panel */
.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  overflow-x: hidden;
}
.contact-info-bar {
  flex-shrink: 0;
  padding-bottom: 4px;
}
.contact-info-bar h2 { margin-bottom: 8px; font-size: 1.6rem; }
.contact-quick {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-phone {
  font-size: 18px;
  font-weight: 600;
  color: var(--cash-green);
}
.contact-hours {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* FAQ inline */
.faq-inline {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-heading {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.faq-toggle {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-icon { font-size: 18px; color: var(--cash-green); flex-shrink: 0; }
.faq-toggle[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-toggle:hover { color: var(--white); }
.faq-answer {
  padding: 0 0 12px 0;
}
.faq-answer p { font-size: 13px; color: rgba(255,255,255,0.6); }

/* Quote form */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 13px;
  transition: border-color 0.2s;
  width: 100%;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--cash-green);
}
.quote-form select option { background: var(--carbon); color: var(--white); }
.quote-form textarea { resize: none; }
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.form-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 4px;
}

/* ============================================
   Bottom Bar
   ============================================ */
#bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  padding: 12px 40px;
  background: rgba(23,26,32,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   Scrollbar (panel content)
   ============================================ */
.panel-content::-webkit-scrollbar { width: 4px; }
.panel-content::-webkit-scrollbar-track { background: transparent; }
.panel-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

/* ============================================
   Responsive
   ============================================ */
/* ============================================================
   MOBILE RESTRUCTURE (<=768px) — real layout, not a shrunk console
   The desktop single-screen console does not translate to mobile.
   On mobile we use a flowing layout: hero video band on top,
   scrollable state cards below, and a persistent state-tab bar so
   users always know where they are and can navigate without hunting.
   ============================================================ */
@media (max-width: 768px) {
  html, body { font-size: 14px; }

  /* Hide the desktop fixed console machinery */
  #nav { display: none; }
  #mobile-nav { display: flex; }
  #mobile-menu { display: none !important; } /* nav is via tab bar now */

  /* Stage becomes a normal scrolling flow, not a fixed full-screen layer */
  #stage {
    position: static;
    display: block;
    padding: 0;
  }

  /* Hero video becomes a visible top band, not a covered background.
     Only shown on the home state (body.mobile-home toggled by JS). */
  #bg-video, #bg-layer {
    position: relative;
    width: 100%;
    height: 36vh;
    min-height: 220px;
    display: none;
  }
  body.mobile-home #bg-video,
  body.mobile-home #bg-layer {
    display: block;
  }
  #bg-layer {
    background: #0E1014;
  }

  /* Each state = a full-width scrollable card stacked below the hero.
     Non-active states are removed from flow (display:none) so they
     never cover the hero or each other. */
  .state {
    position: static;
    left: auto; right: auto; bottom: auto;
    max-width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
    padding: 24px 20px 140px 20px; /* bottom space for tab bar + email bar */
  }
  .state.active { display: block; }
  .state::before { display: none; } /* drop the desktop frosted backdrop */

  /* Home: video band on top, hero content flows BELOW it (not overlaid).
     This uses the freed space and keeps all wording fully visible. */
  #state-home {
    position: relative;
    margin-top: 0;
    padding: 0 16px 130px 16px;
    background: #0E1014;
    min-height: auto;
    display: none;
  }
  #state-home.active { display: block; }

  .hero-content {
    padding-top: 20px;
  }
  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--white);
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.5;
    max-width: 34ch;
    color: rgba(255,255,255,0.82);
  }
  /* CTA buttons become a compact pill row (small tabs), not full-width stack */
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary,
  .hero-cta .btn-text {
    text-align: center;
    width: auto;
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-btn);
  }
  .hero-stats {
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
  }
  .stat-num { font-size: 14px; }
  .hero-ticker { margin-top: 12px; font-size: 11px; }

  /* Generic state panels become normal cards */
  .panel-content {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .panel-content h2 { font-size: 1.5rem; }
  .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-panel { max-width: 100%; gap: 14px; }
  .form-row-3 { grid-template-columns: 1fr; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Persistent state-tab bar (always visible on mobile) */
  #mobile-tabs {
    position: fixed;
    left: 0; right: 0;
    bottom: 38px; /* sit just above the email-capture bar */
    z-index: 60;
    display: flex;
    justify-content: space-between;
    gap: 2px;
    padding: 6px 8px;
    background: rgba(14,16,20,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  /* Persistent state-tab bar (always visible on mobile) — compact */
  #mobile-tabs {
    position: fixed;
    left: 0; right: 0;
    bottom: 34px; /* sit just above the email-capture bar */
    z-index: 60;
    display: flex;
    justify-content: space-between;
    gap: 2px;
    padding: 4px 6px;
    background: rgba(14,16,20,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  #mobile-tabs .tab {
    flex: 1;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 4px 1px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    font-family: inherit;
  }
  #mobile-tabs .tab .tab-ico {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }
  #mobile-tabs .tab.active { color: var(--cash-green); background: rgba(21,128,61,0.12); }

  /* Consolidate the bottom area into TWO clean layers (not three stacked):
     (1) the nav tab bar just above, (2) ONE slim single-line email bar at the very bottom.
     The separate #bottom-bar text is hidden on mobile (redundant with footer NAP). */
  #bottom-bar { display: none; }
  #email-capture {
    bottom: 0;
    padding: 5px 12px;
    display: flex;
    align-items: center;
  }
  .email-capture-inner {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    max-width: 100%;
  }
  .email-label { font-size: 10px; white-space: nowrap; flex-shrink: 0; }
  .email-form { flex: 1; display: flex; gap: 6px; }
  .email-form input[type="email"] { flex: 1; padding: 6px 10px; font-size: 12px; }
  .btn-email { padding: 6px 12px; font-size: 11px; }
  #mobile-tabs { bottom: 42px; } /* sit just above the single bottom line */
  .state { padding: 24px 20px 110px 20px; }
  .panel-content { max-height: none; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.35rem; }
  #state-home { min-height: 56vh; }
}

/* Tablet (768px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  #stage { padding: 0 24px 100px 24px; }
  .state { bottom: 100px; left: 24px; right: 24px; }
  .nav-links { gap: 12px; }
  .nav-links .nav-link { font-size: 13px; padding: 6px 10px; }
  #email-capture { padding: 5px 20px; }
  .email-capture-inner { gap: 10px; }
}

/* Reduced motion — pause video, show poster */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #bg-video { display: none; }
  #bg-layer { background-image: url('../images/hero-poster.jpg'); background-size: cover; background-position: center 40%; }
}

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cash-green);
  outline-offset: 2px;
  border-radius: var(--radius-btn);
}

/* ============================================
   SEO Layer (AEO answer block + NAP footer)
   Visually hidden from the single-screen console,
   but fully visible to crawlers and screen readers.
   ============================================ */
.answer-block,
.nap-footer {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.answer-block-inner {
  max-width: 800px;
}
.answer-block-title {
  font-size: var(--text-lg, 1.125rem);
  font-weight: 600;
  margin-bottom: 8px;
}
.answer-block-text {
  font-size: 1rem;
  color: var(--graphite, #393C41);
  line-height: 1.6;
}
.answer-block-text strong {
  font-weight: 600;
}
.answer-block-text a {
  color: var(--cash-green, #15803d);
  font-weight: 600;
}
.nap-block {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

/* Form label + urgency dropdown */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quote-form .form-group select {
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.2s;
}
.quote-form .form-group select:focus {
  outline: none;
  border-color: var(--cash-green);
}
.quote-form .form-group select option {
  background: var(--carbon);
  color: var(--white);
}


/* Blog/service area nav link */
.nav-blog {
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  opacity: 0.7;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.nav-blog:hover { opacity: 1; color: var(--carbon); }
.mobile-blog-link {
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--carbon);
  text-align: left;
  border-radius: var(--radius-btn);
  text-decoration: none;
  display: block;
}
.mobile-blog-link:hover { background: rgba(0,0,0,0.05); }
