/* ==========================================================================
   ASAP Cash For Cars — Design System
   Green & charcoal identity. Vanilla CSS, shared across every page.
   Palette and type follow the approved visual direction.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Brand palette */
  --charcoal: #15191F;
  --ink: #171B20;
  --muted: #65707B;
  --border: #E4E8E6;
  --offwhite: #F7F8F6;
  --white: #FFFFFF;

  /* Green scale. --green is the brand accent; darker steps keep white
     button labels and small green text at WCAG AA contrast. */
  --green: #18A957;         /* brand accent (large UI, icons, highlights) */
  --green-600: #0E8F4E;     /* buttons, display emphasis */
  --green-700: #0B7A40;     /* hover, text links on white, small green text */
  --green-800: #096632;     /* active */
  --green-050: #EAF7EF;     /* light tint backgrounds */
  --green-100: #D6EFE0;     /* tint borders */

  /* Neutrals for surfaces */
  --surface: var(--white);
  --surface-alt: var(--offwhite);
  --charcoal-80: rgba(21, 25, 31, 0.80);
  --charcoal-60: rgba(21, 25, 31, 0.60);

  /* Typography */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / layout */
  --maxw: 1200px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows (restrained) */
  --shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.05);
  --shadow: 0 6px 20px rgba(16, 24, 32, 0.08);
  --shadow-lg: 0 18px 48px rgba(16, 24, 32, 0.12);

  /* Motion */
  --t-fast: 140ms ease;
  --t: 220ms ease;

  --header-h: 76px;
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Prototype-only vs production-only notices. */
.prod-only { display: none; }
body.prod .proto-only { display: none !important; }
body.prod .prod-only { display: block; }
/* Spam honeypot — hidden from humans, visible to naive bots. */
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--offwhite); }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

/* ------------------------------------------------------- Accessibility */
:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 1200;
  background: var(--charcoal);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top var(--t);
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--alt { background: var(--offwhite); }
.section--charcoal { background: var(--charcoal); color: #fff; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.section--charcoal .eyebrow { color: rgba(255,255,255,0.65); }
.section-head { max-width: 760px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section--charcoal .section-head p { color: rgba(255,255,255,0.72); }
.text-green { color: var(--green-600); }
.section--charcoal .text-green { color: var(--green); }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.mt-0 { margin-top: 0; }

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; }
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--primary:active { background: var(--green-800); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { background: var(--offwhite); color: var(--ink); border-color: #d4dad6; }
.btn--white { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--white:hover { background: var(--offwhite); color: var(--ink); }
.btn--phone { background: transparent; color: inherit; border-color: transparent; padding-inline: 6px; }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--on-dark.btn--ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.btn--on-dark.btn--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Link with arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  color: var(--green-700);
}
.arrow-link:hover { color: var(--green-800); text-decoration: none; }
.arrow-link .ico { width: 15px; height: 15px; transition: transform var(--t-fast); }
.arrow-link:hover .ico { transform: translate(2px, -2px); }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
/* Opt-in to the subtle translucent blur only on larger, non-touch screens
   where it does not cause scroll-repaint jank. */
@media (min-width: 981px) and (hover: hover) {
  .site-header { background: rgba(255,255,255,0.92); backdrop-filter: saturate(140%) blur(6px); }
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 34px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  color: var(--ink); padding: 8px 10px; border-radius: 6px; position: relative; white-space: nowrap;
}
.primary-nav a:hover { color: var(--green-700); text-decoration: none; background: var(--offwhite); }
.primary-nav a[aria-current="page"] { color: var(--green-700); }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--green-600); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.header-phone span { white-space: nowrap; }
.header-phone:hover { color: var(--green-700); text-decoration: none; }
.header-phone .ico { width: 18px; height: 18px; color: var(--green-600); }

.header-actions .nav-toggle, .header-actions .header-call-mobile { display: none; }

/* -------------------------------------------------------- Mobile menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: #fff; z-index: 1100;
  transform: translateX(100%); transition: transform var(--t);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 10px; }
.mobile-menu nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink);
  padding: 14px 6px; border-bottom: 1px solid var(--border);
}
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--green-700); text-decoration: none; }
.mobile-menu__cta { margin-top: 20px; display: grid; gap: 12px; }
.menu-overlay {
  position: fixed; inset: 0; background: rgba(10,14,18,0.45); z-index: 1050;
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--ink);
}
.icon-btn:hover { background: var(--offwhite); }
.icon-btn .ico { width: 22px; height: 22px; }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; background: var(--offwhite); }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px;
  align-items: stretch; padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(40px, 5vw, 72px);
}

/* Left image panel: salvage-yard photo background with overlaid copy */
.hero__panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  display: flex; min-height: 580px; background: var(--charcoal);
  box-shadow: var(--shadow); isolation: isolate;
}
.hero__panel-img {
  position: absolute; inset: 0; z-index: 0; object-position: 50% 50%;
  transform: scale(1.18); transform-origin: 50% 70%;
}
.hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,11,15,0.90) 0%, rgba(8,11,15,0.80) 30%, rgba(8,11,15,0.46) 52%, rgba(8,11,15,0.14) 74%, rgba(8,11,15,0) 90%),
    linear-gradient(to top, rgba(8,11,15,0.74) 0%, rgba(8,11,15,0.30) 30%, rgba(8,11,15,0) 58%);
}
.hero__panel-copy {
  position: relative; z-index: 2; margin-top: auto; color: #fff;
  padding: clamp(26px, 3.2vw, 48px); max-width: 640px;
}
.hero h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); margin-top: 10px; }
.hero__panel h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.55); }
.hero__panel h1 .line2 { display: block; color: #37d07f; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.hero__panel .eyebrow { color: rgba(255,255,255,0.92); margin-bottom: 0; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.hero__sub { font-size: 1.1rem; max-width: 34em; margin-top: 16px; }
.hero__panel .hero__sub { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.5); }
.hero__cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__call { display: inline-flex; flex-direction: column; }
.hero__call a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.hero__panel .hero__call a { color: #fff; }
.hero__panel .hero__call a:hover { color: var(--green); text-decoration: none; }
.hero__panel .hero__call a .ico { width: 20px; height: 20px; color: var(--green); }
.hero__panel .hero__call span { color: rgba(255,255,255,0.72); font-size: 0.85rem; padding-left: 28px; }

.hero__form { display: flex; }
.hero__form > .quote-card { width: 100%; }

/* ------------------------------------------------- Quote card (hero) */
.quote-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 28px;
}
.quote-card__eyebrow { color: var(--green-700); font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.quote-card h2 { font-size: 1.7rem; margin-top: 8px; }
.quote-card__sub { color: var(--muted); margin-top: 8px; font-size: 0.98rem; }
.quote-card__foot { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 14px; }

/* Mini progress on hero card */
.mini-steps { display: flex; align-items: center; gap: 6px; margin: 20px 0 6px; }
.mini-steps .ms { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.mini-steps .ms .num { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--offwhite); border: 1px solid var(--border); font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.mini-steps .ms.is-active .num { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.mini-steps .sep { flex: 1; height: 1px; background: var(--border); }

/* ------------------------------------------------------ Form controls */
.field { margin-bottom: 16px; }
.field > label, .field-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--green-700); }
.field .opt { color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.input, .select, .textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #9aa4ae; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(14,143,78,0.14);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365707B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field--error .input, .field--error .select, .field--error .textarea { border-color: #C23A2B; box-shadow: 0 0 0 3px rgba(194,58,43,0.12); }
.field-error { display: none; color: #B5342A; font-size: 0.85rem; margin-top: 6px; font-weight: 600; }
.field--error .field-error { display: block; }
.field-hint { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }

/* Grid for form fields */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .col-2 { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* Choice chips / radio groups */
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative; display: inline-flex;
}
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 15px; font-weight: 600; font-size: 0.95rem; color: var(--ink);
  background: #fff; transition: all var(--t-fast);
}
.choice input:hover + span { border-color: #cfd6d1; }
.choice input:focus-visible + span { outline: 3px solid var(--green-600); outline-offset: 2px; }
.choice input:checked + span { border-color: var(--green-600); background: var(--green-050); color: var(--green-800); }
.choice--block { flex: 1 1 100%; }
.choice--block span { width: 100%; }

/* --------------------------------------------------- Trust strip */
.trust-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 24px var(--gutter); }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item .ico { width: 30px; height: 30px; color: var(--green-600); flex: none; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: 0.9rem; }

/* ----------------------------------------------------- Steps (3-up) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 16px; align-items: flex-start; transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--green-100); }
.step-card__num {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--green-050); color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
}
.step-card h3 { font-size: 1.15rem; }
.step-card p { color: var(--muted); margin-top: 6px; font-size: 0.96rem; }
.step-card__arrow { margin-left: auto; color: var(--muted); align-self: center; }
.step-card__arrow .ico { width: 20px; height: 20px; }

/* ----------------------------------------------- Vehicle cards grid */
.veh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.veh-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.veh-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--green-100); }
.veh-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--offwhite); }
.veh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.veh-card:hover .veh-card__media img { transform: scale(1.04); }
.veh-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.veh-card h3 { font-size: 1.1rem; }
.veh-card p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; flex: 1; }
.veh-card .arrow-link { margin-top: 14px; }

/* --------------------------------------------------- Why choose grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.feature__ico {
  width: 48px; height: 48px; border-radius: 10px; background: var(--green-050); color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature__ico .ico { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 0.96rem; }
.section--alt .feature, .section--alt .veh-card, .section--alt .step-card { background: #fff; }

/* -------------------------------------------------- Photo showcase */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; grid-auto-rows: 1fr; }
.showcase-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.showcase-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.showcase-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 12px;
  background: linear-gradient(to top, rgba(10,14,18,0.78), rgba(10,14,18,0));
  color: #fff; font-size: 0.9rem; font-weight: 600;
}
.showcase-note { margin-top: 18px; color: var(--muted); font-size: 0.86rem; display: inline-flex; align-items: center; gap: 8px; }
.showcase-note .ico { width: 16px; height: 16px; color: var(--muted); }

/* ------------------------------------------------- Service areas */
.areas-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; margin-top: 36px; }
.areas-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area-pill {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; color: var(--ink); transition: all var(--t);
}
.area-pill:hover { border-color: var(--green-100); box-shadow: var(--shadow-sm); color: var(--green-800); text-decoration: none; transform: translateY(-1px); }
.area-pill.is-primary { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.area-pill.is-primary:hover { color: #fff; }
.area-pill .ico { width: 20px; height: 20px; color: var(--green); flex: none; }
.area-map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  background: var(--charcoal);
}
.area-map img, .area-map svg { width: 100%; display: block; }

/* ------------------------------------------------------ FAQ accordion */
.faq-list { max-width: 820px; margin: 36px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 22px 48px 22px 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  position: relative; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-q:hover { color: var(--green-700); }
.faq-q .faq-ico { flex: none; width: 24px; height: 24px; color: var(--green-600); transition: transform var(--t); }
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(45deg); }
.faq-a { overflow: hidden; height: 0; transition: height var(--t); }
.faq-a__inner { padding: 0 48px 24px 4px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.faq-a__inner p + p { margin-top: 12px; }

/* ----------------------------------------------------- CTA band */
.cta-band { background: var(--green-050); border: 1px solid var(--green-100); border-radius: var(--radius-lg); padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.cta-band h3 { font-size: 1.4rem; }
.cta-band p { color: var(--muted); margin-top: 4px; }

/* ------------------------------------------------- Final CTA (dark) */
.final-cta { position: relative; background: var(--charcoal); color: #fff; overflow: hidden; }
.final-cta__bg { position: absolute; inset: 0; opacity: 0.22; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 30%, rgba(21,25,31,0.75) 100%); }
.final-cta .container { position: relative; z-index: 2; }
.final-cta .eyebrow { color: var(--green); }
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3,
.final-cta h1, .final-cta h2, .final-cta h3 { color: #fff; }
.final-cta h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 16em; }
.final-cta h2 .text-green { color: var(--green); }
.final-cta__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.final-cta__call { display: inline-flex; flex-direction: column; }
.final-cta__call a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff; }
.final-cta__call a:hover { color: var(--green); text-decoration: none; }
.final-cta__call a .ico { width: 22px; height: 22px; color: var(--green); }
.final-cta__call span { color: rgba(255,255,255,0.6); font-size: 0.85rem; padding-left: 32px; }

/* --------------------------------------------------------- Page hero */
.page-hero { background: var(--offwhite); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-block: clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.page-hero h1 .text-green { color: var(--green-600); }
.page-hero__sub { color: var(--muted); font-size: 1.1rem; margin-top: 16px; max-width: 34em; }
.page-hero__cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Breadcrumb */
.breadcrumb { padding-top: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--muted); list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "/"; color: var(--border); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------- Generic content blocks */
.prose { max-width: 760px; }
.prose p { color: var(--ink); margin-top: 16px; font-size: 1.05rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 40px; }
.prose h3 { font-size: 1.3rem; margin-top: 28px; }
.prose ul { margin-top: 16px; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 32px; color: var(--ink); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-radius: 50%;
}
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 20px); }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Info cards (checklist style) */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-card .feature__ico { margin-bottom: 14px; }
.info-card h3 { font-size: 1.08rem; }
.info-card p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }

/* Local link chips */
.link-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.link-chips a {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; color: var(--ink);
}
.link-chips a:hover { border-color: var(--green-100); background: var(--green-050); color: var(--green-800); text-decoration: none; }

/* Placeholder image badge */
.ph-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(21,25,31,0.78); color: #fff; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: 5px;
}
.media-wrap { position: relative; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.72); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-brand__logo { height: 32px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; max-width: 34ch; }
.footer-brand .footer-phone { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.footer-brand .footer-phone:hover { color: var(--green); text-decoration: none; }
.footer-brand .footer-phone .ico { width: 20px; height: 20px; color: var(--green); }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------- Mobile bottom action bar */
.mobile-bar { display: none; }

/* =====================================================================
   QUOTE MODAL / MULTI-STEP FORM
   ===================================================================== */
.quote-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.quote-modal.open { display: block; }
.quote-modal__overlay { position: absolute; inset: 0; background: rgba(10,14,18,0.55); }
.quote-modal__dialog {
  position: relative; z-index: 2; background: #fff; width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  margin: 24px auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  animation: modalIn var(--t);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quote-modal__dialog { animation: none; } }
.quote-modal__head { padding: 22px 24px 18px; border-bottom: 1px solid var(--border); position: relative; }
.quote-modal__head h2 { font-size: 1.35rem; }
.quote-modal__head p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.quote-modal__close { position: absolute; top: 16px; right: 16px; }
.quote-modal__body { padding: 22px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.quote-modal__foot {
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--offwhite);
}

/* Progress bar (full steps) */
.qf-progress { padding: 0 24px; margin-top: 16px; }
.qf-progress__track { display: flex; align-items: center; gap: 0; }
.qf-progress__step { display: flex; align-items: center; flex: 1; }
.qf-progress__step:last-child { flex: 0; }
.qf-dot {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--border); color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  transition: all var(--t);
}
.qf-line { flex: 1; height: 2px; background: var(--border); margin: 0 6px; transition: background var(--t); }
.qf-progress__step.done .qf-dot { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.qf-progress__step.done .qf-line { background: var(--green-600); }
.qf-progress__step.active .qf-dot { border-color: var(--green-600); color: var(--green-700); box-shadow: 0 0 0 4px rgba(14,143,78,0.12); }
.qf-progress__labels { display: flex; justify-content: space-between; margin-top: 8px; }
.qf-progress__labels span { font-size: 0.72rem; color: var(--muted); font-weight: 600; flex: 1; text-align: center; }
.qf-progress__labels span.active { color: var(--green-700); }
.qf-stepcount { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.qf-step { display: none; }
.qf-step.active { display: block; animation: stepIn var(--t); }
@keyframes stepIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qf-step.active { animation: none; } }
.qf-step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.qf-step > p.qf-step-intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.qf-block { margin-bottom: 20px; }
.qf-block > .field-label { margin-bottom: 10px; }

/* Photo uploader */
.dropzone {
  border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center;
  background: var(--offwhite); transition: all var(--t); cursor: pointer;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--green-600); background: var(--green-050); }
.dropzone .ico { width: 36px; height: 36px; color: var(--green-600); margin: 0 auto 10px; }
.dropzone strong { display: block; font-family: var(--font-head); color: var(--ink); }
.dropzone small { display: block; color: var(--muted); margin-top: 6px; }
.dropzone .dz-link { color: var(--green-700); font-weight: 700; text-decoration: underline; }
.photo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.suggested-views { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.suggested-views span { font-size: 0.78rem; color: var(--muted); background: var(--offwhite); border: 1px solid var(--border); padding: 5px 10px; border-radius: var(--radius-pill); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 16px; }
.thumb { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; background: var(--offwhite); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__remove {
  position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(21,25,31,0.78); color: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center;
}
.thumb__remove:hover { background: #C23A2B; }
.thumb__remove .ico { width: 15px; height: 15px; }
.thumb__name { position: absolute; left: 0; right: 0; bottom: 0; font-size: 0.64rem; color: #fff; background: rgba(10,14,18,0.7); padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-count { font-size: 0.85rem; color: var(--muted); margin-top: 10px; font-weight: 600; }
.upload-msg { margin-top: 12px; font-size: 0.88rem; border-radius: var(--radius-sm); padding: 10px 12px; display: none; }
.upload-msg.show { display: block; }
.upload-msg.err { background: #FCEEEC; color: #9A2A1F; border: 1px solid #F3C9C3; }
.upload-msg.ok { background: var(--green-050); color: var(--green-800); border: 1px solid var(--green-100); }

/* Review / confirmation */
.qf-notice {
  background: #FFF7E6; border: 1px solid #F3DFA6; color: #7A5B12; border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 0.92rem; font-weight: 600; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start;
}
.qf-notice .ico { width: 20px; height: 20px; flex: none; color: #B07D15; margin-top: 1px; }
.qf-success { text-align: center; padding: 8px 0 4px; }
.qf-success__badge { width: 64px; height: 64px; border-radius: 50%; background: var(--green-050); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.qf-success__badge .ico { width: 34px; height: 34px; }
.qf-success h3 { font-size: 1.5rem; }
.summary { text-align: left; background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-top: 20px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.summary dt { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.summary dd { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--ink); text-align: right; }
.summary h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 18px 0 10px; }
.summary h4:first-child { margin-top: 0; }
.privacy-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Standalone (non-modal) quote form container on /get-a-quote/ */
.quote-embed { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); max-width: 760px; margin-inline: auto; overflow: hidden; }
.quote-embed .quote-modal__head { border-bottom: 1px solid var(--border); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .veh-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 980px) {
  .primary-nav, .header-phone { display: none; }
  .header-actions .nav-toggle { display: inline-flex; }
  .header-actions .header-call-mobile { display: inline-flex; }
  .header-actions .btn--primary { display: none; }

  .hero__grid { grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
  /* Use vw (stable during scroll) instead of vh so the mobile address-bar
     show/hide does not resize the hero and jolt the page. */
  .hero__panel { order: 1; min-height: clamp(420px, 112vw, 540px); border-radius: var(--radius); }
  .hero__form { order: 2; }

  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .areas-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split__media { position: static; order: -1; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; }

  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }

  /* Mobile bottom bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.98); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(16,24,32,0.08);
  }
  .mobile-bar .btn { width: 100%; padding: 14px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  body.modal-open { padding-bottom: 0; }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .veh-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .quote-card { padding: 22px 18px; }
  .hero__cta .btn, .page-hero__cta .btn { flex: 1 1 auto; }
  .quote-modal__dialog { margin: 0; width: 100%; max-height: 100vh; max-height: 100dvh; height: 100vh; height: 100dvh; border-radius: 0; }
  .qf-progress__labels span { font-size: 0.6rem; }
}

@media (max-width: 400px) {
  .mini-steps .ms span.ms-label { display: none; }
}

/* Utility */
.nowrap { white-space: nowrap; }
.hide-sm { }
@media (max-width: 680px) { .hide-sm { display: none !important; } }
.stack-sm { display: grid; gap: 8px; }
