/* ============ TOKENS ============ */
:root {
  --bg: #060608;
  --bg-alt: #0b0b10;
  --card: #14141b;
  --card-alt: #1a1a22;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --gold: #cda876;
  --gold-light: #e8d4ae;
  --gold-dim: rgba(205,168,118,0.35);
  --text: #f4f2ee;
  --text-muted: #9b9aa3;
  --text-faint: #6c6b74;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
select, input {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
}
select option { background: #16161d; color: var(--text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

h1, h2, h3 {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

/* ============ ACCESSIBILITY FLOOR ============ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--gold-light);
  color: #1a1408;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (pointer: coarse) {
  .btn, .icon-btn, .pill-filter, .search-tab, .car-meta-icon {
    min-height: 44px;
  }
  .btn { display: inline-flex; align-items: center; justify-content: center; }
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.step-card[data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.step-card[data-reveal]:nth-child(2) { --reveal-delay: 90ms; }
.step-card[data-reveal]:nth-child(3) { --reveal-delay: 180ms; }
.feature-card[data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.feature-card[data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.feature-card[data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.feature-card[data-reveal]:nth-child(4) { --reveal-delay: 240ms; }

/* ============ AMBIENT GLOW LAYER ============ */
/* One quiet environment behind the whole page, so scrolling feels like */
/* moving through a place instead of past stacked sections. */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 500px at 15% 10%, rgba(205,168,118,0.10), transparent 65%),
    radial-gradient(700px 600px at 85% 60%, rgba(205,168,118,0.07), transparent 65%),
    radial-gradient(500px 500px at 50% 95%, rgba(232,212,174,0.06), transparent 70%);
  animation: ambient-drift 75s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ambient-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-1.5%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-glow { animation: none; }
}

/* ============ SIGNATURE: THE ROUTE LINE ============ */
/* A quiet scroll-progress line, styled as the road from the tagline: */
/* "from your door to your city." Runs the full page, on every size. */
/* scroll-progress bar: a slim strip fixed to the very top edge of the
   viewport, above the header, filling left-to-right as the page scrolls */
.route-line {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.route-line-fill {
  position: absolute;
  top: 0; left: 0; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 10px rgba(205,168,118,0.5);
  transition: width 0.15s linear;
}
.route-line-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px 3px rgba(232,212,174,0.8);
  transform: translate(-50%, -50%);
  transition: left 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
  .route-line-fill, .route-line-dot { transition: none; }
}

/* ============ SHARED PIECES ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill-outline {
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  background: rgba(205,168,118,0.06);
}
.pill-sm { padding: 4px 12px; font-size: 0.65rem; }

.pill-filter {
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s ease;
}
.pill-filter:hover { border-color: var(--gold-dim); color: var(--text); }
.pill-filter.active {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-sm { padding: 11px 20px; font-size: 0.72rem; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #1a1408;
  box-shadow: 0 8px 24px rgba(205,168,118,0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(205,168,118,0.35); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-block { width: 100%; }
.btn-link {
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover { color: var(--gold-light); }

.icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.section { padding: 110px 0; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 22px 0 16px; text-shadow: 0 0 40px rgba(205,168,118,0.12); }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin-bottom: 40px; }
.gold-divider { color: var(--gold); font-weight: 400; margin: 0 6px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,6,8,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-badge {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 32px; font-weight: 600; font-size: 0.92rem; }
.main-nav a { color: var(--text-muted); transition: color 0.15s; }
.main-nav a:hover { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.phone-pill:hover { border-color: var(--gold-dim); color: var(--gold-light); }

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px clamp(20px, 5vw, 64px) 24px;
  border-top: 1px solid var(--border);
}
.mobile-drawer a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-drawer.open { display: flex; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  padding: 60px clamp(20px, 5vw, 64px) 140px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #0a0705; }
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* pushes flat daylight footage toward a warm, saturated dusk grade */
  filter: saturate(1.35) contrast(1.12) brightness(0.68) sepia(0.22) hue-rotate(-8deg);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,5,4,0.5) 0%, rgba(10,6,4,0.4) 35%, rgba(6,4,4,0.88) 85%, #060608 100%),
    linear-gradient(90deg, rgba(6,4,4,0.9) 0%, rgba(8,5,4,0.3) 55%, rgba(10,6,4,0.15) 100%),
    radial-gradient(ellipse at 30% 70%, rgba(255,150,70,0.16), transparent 60%);
  /* the car plays alone for a beat, then the overlay and copy fade in, see script.js */
  transition: opacity 0.9s ease;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 0 0;
  padding-left: clamp(0px, 4vw, 40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin: 26px 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5), 0 0 60px rgba(205,168,118,0.18);
}
.hero-sub {
  color: #d6d5da;
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; }
.stat-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: rgba(10,10,14,0.55);
  backdrop-filter: blur(6px);
  min-width: 150px;
  flex: 1 1 150px;
}
.stat-chip strong { font-family: 'Archivo', sans-serif; font-size: 1.3rem; color: var(--gold-light); font-weight: 800; }
.stat-chip span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* floating search card */
.search-card {
  position: relative;
  z-index: 2;
  margin: 50px auto 0;
  max-width: 640px;
  background: rgba(15,15,20,0.78);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 10px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
@media (min-width: 1100px) {
  .hero .search-card {
    position: absolute;
    right: clamp(20px, 5vw, 64px);
    top: 50%;
    transform: translateY(-46%);
    margin: 0;
    width: 460px;
  }
}
/* iPad landscape (~1100-1270px): the floated search card and the fixed
   680px hero copy width collide here, so narrow the copy to keep a gap */
@media (min-width: 1100px) and (max-width: 1300px) {
  .hero-content { max-width: 500px; }
}
.search-tabs { display: flex; gap: 6px; padding: 6px; }
.search-tab {
  flex: 1;
  padding: 14px 12px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.search-tab.active { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #1a1408; }
.search-panel { display: none; flex-direction: column; gap: 12px; padding: 8px 10px 16px; }
.search-panel.active { display: flex; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.field span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.field input::placeholder { color: var(--text-faint); }

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-left 28s linear infinite;
}
.marquee-track span {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ FLEET / CARDS ============ */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-row .pill { border: none; }
.filter-row button.pill { cursor: pointer; }

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .car-grid { grid-template-columns: 1fr; } }

.car-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.car-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.car-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.car-card:hover .car-media img { transform: scale(1.06); }
.car-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 7px 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
  background: rgba(6,6,8,0.55);
  backdrop-filter: blur(4px);
}
.car-body { padding: 22px 24px 26px; }
.car-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: none;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 16px;
  min-height: 68px;
}
.car-price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.car-price { font-family: 'Archivo', sans-serif; font-size: 1.5rem; font-weight: 800; }
.car-financing { font-size: 0.78rem; color: var(--gold-light); font-weight: 600; }
.car-meta {
  display: flex; gap: 22px;
  padding-top: 16px;
  margin-bottom: 18px;
  border-top: 1px solid var(--border);
}
.car-meta-item { display: flex; align-items: center; gap: 10px; }
.car-meta-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}
.car-meta-text { display: flex; flex-direction: column; }
.car-meta-text .label { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.car-meta-text .value { font-size: 0.85rem; font-weight: 600; }
.car-actions { display: flex; align-items: center; gap: 18px; }

.view-full-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* ============ WE BUY CARS ============ */
.buy-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 60px);
  background: linear-gradient(160deg, var(--bg-alt), var(--bg));
}
.buy-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; margin-top: 16px; }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } }

.steps { display: flex; flex-direction: column; gap: 18px; }
.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  background: rgba(255,255,255,0.015);
}
.step-num { font-family: 'Archivo', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.step-card h3 { font-size: 1rem; margin: 10px 0 8px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

.offer-form {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--card-alt);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: fit-content;
}
.offer-form-title { font-size: 0.95rem; letter-spacing: 0.06em; margin-bottom: 4px; }
.offer-form .field { background: var(--bg-alt); border: 1px solid var(--border); }
.fine-print { font-size: 0.78rem; color: var(--text-faint); text-align: center; }

/* ============ SERVICES / TRANSPORT ============ */
.banner-pill {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-pill);
  padding: 40px;
  text-align: center;
  margin-bottom: 50px;
  background: radial-gradient(ellipse at center, rgba(205,168,118,0.06), transparent 70%);
}
.banner-title { font-size: clamp(1.6rem, 3.6vw, 2.6rem); text-shadow: 0 0 50px rgba(205,168,118,0.15); }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.services-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 320px; }
.services-image img { width: 100%; height: 100%; object-fit: cover; }
.services-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .services-cards { grid-template-columns: 1fr; } }
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  background: var(--card);
}
.feature-card h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.3; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); position: relative; }
.about-image img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3;
  /* match the warm dusk grade used on the hero video so a studio shot fits the page */
  filter: saturate(1.3) contrast(1.1) brightness(0.72) sepia(0.2) hue-rotate(-8deg);
}
.about-image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,4,4,0.05) 0%, rgba(6,4,4,0.35) 100%);
}
.about-content p { color: var(--text-muted); margin-bottom: 18px; font-size: 1rem; line-height: 1.7; }
.about-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.about-stats .stat-chip { background: var(--card); }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--border); padding: 80px 0 30px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand .logo-text { line-height: 1.1; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; }
.footer-bottom p { color: var(--text-faint); font-size: 0.82rem; text-align: center; }
.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}
.footer-legal-links a { color: var(--text-faint); }
.footer-legal-links a:hover { color: var(--gold-light); }
.powered-by {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.66rem;
  color: var(--text-faint);
  opacity: 0.75;
  text-align: center;
}
.powered-by a { color: var(--text-faint); text-decoration: underline; }
.powered-by a:hover { color: var(--gold-light); opacity: 1; }

/* ============ LEGAL PAGES ============ */
.legal-content { max-width: 780px; }
.legal-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }
.legal-content h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.3rem;
  margin: 44px 0 14px;
  color: var(--text);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { margin: 0 0 18px 20px; color: var(--text-muted); line-height: 1.75; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--gold-light); text-decoration: underline; }
.legal-updated { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 36px; }

/* ============ RESPONSIVE ============ */
#menuToggle { display: none; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .phone-pill span { display: none; }
  #menuToggle { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero { padding: 32px clamp(16px, 5vw, 64px) 40px; min-height: unset; }
  .header-actions .btn-sm span { display: none; }

  /* tighter hero type so the car reads through, not just the text block */
  .hero-content .pill { font-size: 0.62rem; padding: 7px 14px; }
  .hero-title { font-size: 1.55rem; line-height: 1.16; margin: 12px 0 10px; }
  .hero-sub { font-size: 0.84rem; margin-bottom: 18px; }

  /* stat chips sit in one row instead of stacking, and go semi-transparent
     so the car reads through behind them instead of a solid card */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .stat-chip {
    min-width: 0;
    flex: none;
    padding: 9px 6px;
    align-items: center;
    text-align: center;
    gap: 2px;
    background: rgba(10,10,14,0.28);
    backdrop-filter: blur(4px);
  }
  .stat-chip strong { font-size: 0.92rem; line-height: 1.2; }
  .stat-chip span { font-size: 0.52rem; letter-spacing: 0.02em; line-height: 1.25; }

  .search-card { margin-top: 28px; }

  /* hero quick-action buttons: smaller and semi-transparent for the same reason */
  .hero-quick-actions .btn {
    padding: 12px 20px;
    font-size: 0.72rem;
  }
  .hero-quick-actions .btn-gold {
    background: linear-gradient(180deg, rgba(232,212,174,0.55), rgba(205,168,118,0.55));
    box-shadow: none;
  }
  .hero-quick-actions .btn-outline {
    background: rgba(10,10,14,0.28);
    border-color: rgba(255,255,255,0.22);
    backdrop-filter: blur(4px);
  }

  /* keep the "from your door to your city" banner on one line */
  .banner-pill { padding: 16px 18px; margin-bottom: 32px; }
  .banner-title { font-size: 0.98rem; letter-spacing: 0.01em; }

  /* room for the sticky call / view-fleet bar so it never covers content */
  body { padding-bottom: 78px; }

  /* vehicle detail page */
  .vehicle-top { padding-top: 24px; }
  .vehicle-sidebar { padding: 22px; }
  .vehicle-price-row { flex-wrap: wrap; gap: 4px 12px; }
  .vehicle-price { font-size: 1.6rem; }
  .gallery-thumb { width: 64px; height: 48px; }
}

/* ============ MOBILE STICKY CTA BAR ============ */
.mobile-cta-bar { display: none; }
@media (max-width: 640px) {
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6,6,8,0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-strong);
  }
  .mobile-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 4px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
    border: 1px solid var(--border-strong);
    color: var(--text);
    background: rgba(255,255,255,0.03);
    min-width: 0;
    overflow-wrap: break-word;
  }
  .mobile-cta svg { width: 17px; height: 17px; }
  .mobile-cta.primary {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    color: #1a1408;
    border-color: transparent;
  }
}

/* ============ DESKTOP FLOATING CTA DOCK ============ */
.desktop-cta-dock { display: none; }
@media (min-width: 901px) {
  .desktop-cta-dock {
    display: flex;
    gap: 8px;
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 90;
    padding: 12px;
    background: rgba(10,10,14,0.9);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }
  .dock-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 72px;
    padding: 10px 4px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.5rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-muted);
    background: transparent;
    border: none;
    transition: background 0.2s, color 0.2s;
  }
  .dock-cta svg { width: 19px; height: 19px; color: var(--gold-light); }
  .dock-cta:hover { background: rgba(255,255,255,0.06); color: var(--text); }
  .dock-cta.primary {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    color: #1a1408;
  }
  .dock-cta.primary svg { color: #1a1408; }
  .dock-cta.primary:hover { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #1a1408; }
}

/* ============ LEAD CAPTURE MODALS ============ */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6,4,4,0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lead-modal-overlay.open { opacity: 1; visibility: visible; }
.lead-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 34px 26px 26px;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-modal .field { background: var(--bg-alt); border: 1px solid var(--border); }
.lead-modal-overlay.open .lead-modal { transform: translateY(0); }
.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: transparent;
}
.lead-modal-close:hover { color: var(--text); border-color: var(--gold); }
.lead-modal p.section-sub { margin-bottom: 20px; }

/* ============ SMS CONSENT / COMPLIANCE ============ */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 9px 0;
  cursor: pointer;
}
.consent-check input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  accent-color: var(--gold);
}
.consent-check span {
  font-size: 0.64rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.form-legal-line {
  font-size: 0.64rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.4;
}
.form-legal-line a { color: var(--text-muted); text-decoration: underline; }
.form-legal-line a:hover { color: var(--gold-light); }
.form-status {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  color: var(--gold-light);
}
.form-status-error { color: #e57373; }
.form-submitted > *:not(.lead-modal-close):not(.form-success) { display: none; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 8px 8px;
}
.form-success-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(205,168,118,0.12);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
}
.form-success-title { font-family: 'Archivo', sans-serif; font-size: 1.25rem; }
.form-success-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
}
.form-success-text a { color: var(--gold-light); font-weight: 600; }

/* ============ HERO MOBILE QUICK ACTIONS ============ */
.hero-quick-actions { display: none; }
@media (max-width: 640px) {
  .hero .search-card { display: none; }
  .hero-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 34px;
    position: relative;
    z-index: 1;
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
}

/* ============ VEHICLE DETAIL PAGE ============ */
.vehicle-top { padding-top: 48px; padding-bottom: 70px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 32px;
}
.back-link:hover { color: var(--gold-light); }

.vehicle-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) { .vehicle-grid { grid-template-columns: 1fr; } }

/* gallery */
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--card);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumb {
  width: 84px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--card);
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.active { opacity: 1; border-color: var(--gold); }

/* sidebar */
.vehicle-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
@media (min-width: 981px) {
  .vehicle-sidebar { position: sticky; top: 100px; }
}
.vehicle-title {
  font-size: 1.3rem;
  line-height: 1.3;
  text-transform: none;
  margin-bottom: 18px;
}
.vehicle-price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.vehicle-price { font-family: 'Archivo', sans-serif; font-size: 2rem; font-weight: 800; color: var(--gold-light); }
.vehicle-meta { padding: 18px 0; margin-bottom: 22px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vehicle-cta-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.carfax-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.carfax-link:hover { border-color: var(--gold); background: rgba(205,168,118,0.06); }

.availability-form {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.availability-form .field { background: var(--bg-alt); border: 1px solid var(--border); }
.vehicle-call-line { text-align: center; margin-top: 18px; font-size: 0.85rem; color: var(--text-muted); }
.vehicle-call-line a { color: var(--gold-light); font-weight: 600; }

.vehicle-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 800px;
}

/* spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  max-width: 900px;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.spec-label { color: var(--text-faint); font-size: 0.85rem; }
.spec-value { font-weight: 600; text-align: right; }

/* ============ SUB-PAGE HEADER (fleet / how it works / about) ============ */
.page-header { padding: 110px 0 40px; }
.page-header .section-sub { margin-bottom: 0; }

/* ============ HOW IT WORKS STEPPER ============ */
.hiw-list { position: relative; max-width: 720px; }
.hiw-track {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--border-strong);
}
.hiw-track-fill {
  position: absolute;
  top: 0; left: 0; width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 10px rgba(205,168,118,0.5);
  transition: height 0.2s linear;
}
.hiw-step {
  display: flex;
  gap: 24px;
  padding-bottom: 48px;
  position: relative;
}
.hiw-step:last-child { padding-bottom: 0; }
.hiw-marker {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-faint);
  z-index: 1;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.hiw-step.is-active .hiw-marker {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 16px rgba(205,168,118,0.4);
}
.hiw-step-body { padding-top: 6px; }
.hiw-step-body h3 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: 0.01em; }
.hiw-step-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; max-width: 500px; }

@media (prefers-reduced-motion: reduce) {
  .hiw-track-fill { transition: none; }
}
@media (max-width: 640px) {
  .page-header { padding: 88px 0 32px; }
}
