/* ==========================================================================
   Auto Express Columbia — "Ignition" redesign concept
   Bold, energetic, dynamic. Deep blue base, red-orange + yellow accents.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

/* ---------- Design tokens ---------- */
:root {
  --deep-blue: #0B1E4D;
  --deep-blue-700: #10265e;
  --deep-blue-600: #163175;
  --red-orange: #FF4B3E; /* vivid accent — large display text, icons, borders, decorative fills only */
  --red-orange-700: #C63321; /* AA-safe fill — 4.7:1 with white text at any size; use for text-bearing buttons/chips/badges */
  --red-orange-800: #A8291B; /* hover/active darken of red-orange-700 */
  --yellow: #FFD23F;
  --white: #FFFFFF;
  --off-white: #F5F6FA;
  --pale-blue: #EEF1F8;
  --ink: #10162B;
  --gray-600: #5A6478;
  --gray-300: #838CA6; /* 3.4:1 vs white — input/chip borders are the only boundary cue, so need real contrast */
  --gray-200: #E7E9F2;
  --shadow-sm: 0 4px 14px rgba(11, 30, 77, 0.10);
  --shadow-md: 0 12px 32px rgba(11, 30, 77, 0.16);
  --shadow-lg: 0 20px 48px rgba(11, 30, 77, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --container-w: 1240px;
  --header-h: 78px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  color: var(--deep-blue);
}
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Focus visibility ----------
   Dual-color ring: the deep-blue outline carries contrast (16:1) on white/
   off-white/pale-blue sections; the yellow box-shadow layer carries contrast
   (11:1) on deep-blue sections (where the blue outline itself would blend
   into the background). Together at least one ring clears the 3:1 focus-
   indicator minimum on every background the page uses — yellow alone would
   only be ~1.3:1 against the light sections. Self-adapting, no per-section
   overrides needed. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--deep-blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--yellow);
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--yellow);
  color: var(--deep-blue);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Noscript ---------- */
.noscript-banner {
  background: var(--yellow);
  color: var(--deep-blue);
  text-align: center;
  font-weight: 600;
  padding: 12px 16px;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px; width: 0%;
  background: linear-gradient(90deg, var(--red-orange), var(--yellow));
  z-index: 1100;
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11,30,77,0.08);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--deep-blue);
  letter-spacing: 0.5px;
}
.wordmark-sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--red-orange-700);
  letter-spacing: 3px;
  margin-top: 2px;
}
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--deep-blue);
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 3px;
  background: var(--red-orange);
  border-radius: 2px;
  transition: right 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--red-orange-700); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-orange-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.call-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--red-orange-800); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.hamburger-bar {
  width: 24px;
  height: 3px;
  background: var(--deep-blue);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--deep-blue);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 40px 24px;
  position: relative;
  transform: translateY(14px);
  transition: transform 0.35s ease;
}
.mobile-menu.is-open .mobile-menu-inner { transform: translateY(0); }
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 22px;
  color: var(--white);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.12); }
#mobileNavList { display: flex; flex-direction: column; align-items: center; gap: 22px; }
#mobileNavList a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--white);
}
#mobileNavList a:hover, #mobileNavList a.active { color: var(--yellow); }
.mobile-call-btn {
  display: inline-block;
  background: var(--red-orange-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.btn-primary {
  color: var(--white);
  /* Shifts between the safe deep fill and deep-blue (not the vivid accent or yellow) so
     white label text stays AA-compliant at every point in the animation, not just at rest. */
  background: linear-gradient(100deg, var(--red-orange-700), var(--deep-blue-600), var(--red-orange-700));
  background-size: 220% 220%;
  animation: gradientShift 5s ease infinite;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.btn-outline {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.section--light .btn-outline, .section--pale .btn-outline {
  color: var(--deep-blue);
  border-color: var(--deep-blue);
}
.section--light .btn-outline:hover, .section--pale .btn-outline:hover {
  background: rgba(11,30,77,0.06);
}
.btn-cta {
  color: var(--white);
  background: var(--red-orange-700);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 22px;
  box-shadow: var(--shadow-sm);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--red-orange-800); }

/* ---------- Sections / diagonal seams ---------- */
.section { position: relative; overflow: hidden; padding: 96px 0; }
.section--light { background: var(--off-white); }
.section--blue { background: var(--deep-blue); }
.section--pale { background: var(--pale-blue); }
.section-inner { position: relative; z-index: 2; }

.diagonal-seam {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 90px;
  z-index: 1;
  pointer-events: none;
}
.diagonal-seam--blue { background: var(--deep-blue); clip-path: polygon(0 0, 100% 0, 100% 38%, 0 100%); }
.diagonal-seam--light { background: var(--off-white); clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%); }
.diagonal-seam--white { background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 38%, 0 100%); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-orange-700);
  margin-bottom: 12px;
}
.section-eyebrow--on-blue { color: var(--yellow); }
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
}
.section-title--on-blue { color: var(--white); }
.section-lead {
  max-width: 640px;
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.section--blue .section-lead { color: rgba(255,255,255,0.82); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--deep-blue);
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 140px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.speedlines { width: 130%; height: 100%; position: absolute; top: 0; left: -8%; }
.speedline-drift { animation: speedDrift 9s ease-in-out infinite alternate; }
@keyframes speedDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-26px); }
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--yellow);
  margin-bottom: 16px;
}
.hero-heading {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 22px;
}
.skew-highlight {
  display: inline-block;
  background: var(--red-orange);
  transform: skewX(-8deg);
  padding: 0.02em 0.28em;
  margin-left: 0.05em;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.18);
}
.skew-inner { display: inline-block; transform: skewX(8deg); color: var(--white); }
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Page header (compact banner on interior pages) ---------- */
.page-header {
  position: relative;
  background: var(--deep-blue);
  overflow: hidden;
  padding: 70px 0;
}
.page-header-content { position: relative; z-index: 2; }
.page-header-title {
  color: var(--white);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  margin: 0;
}

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--deep-blue); padding: 30px 0 110px; position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: var(--yellow);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- Inventory ---------- */
.inventory-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.control-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--deep-blue);
  margin-bottom: 10px;
}
.make-filter {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.make-chip {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--deep-blue);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.make-chip:hover { border-color: var(--red-orange); transform: translateY(-1px); }
.make-chip.is-active {
  background: var(--red-orange-700);
  border-color: var(--red-orange-700);
  color: var(--white);
}
.search-field { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.search-field label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--deep-blue);
}
.search-field input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 2px solid var(--gray-300);
  font-size: 1rem;
}
.search-field input:focus { border-color: var(--red-orange); outline: none; }
.result-count {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-600);
  font-size: 1.05rem;
}
.no-results a { color: var(--red-orange-700); font-weight: 700; text-decoration: underline; }

.inventory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 601px) {
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 993px) {
  .inventory-grid { grid-template-columns: repeat(3, 1fr); }
}

.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease;
}
.vehicle-card:hover { box-shadow: var(--shadow-lg); }
.vehicle-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--deep-blue), var(--red-orange));
  clip-path: polygon(0% 7%, 7% 0%, 100% 0%, 100% 93%, 93% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vehicle-photo img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-svg { width: 100%; height: 100%; }
.photo-caption {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  text-align: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.sold-badge {
  position: absolute;
  top: 16px; right: -34px;
  background: var(--red-orange-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 6px 40px;
  transform: rotate(35deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.vehicle-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vehicle-title { font-size: 1.2rem; color: var(--deep-blue); }
.vehicle-trim { color: var(--red-orange-700); font-weight: 600; font-size: 0.92rem; }
.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 500;
}
.vehicle-specs li::before { content: "•"; margin-right: 6px; color: var(--gray-300); }
.vehicle-specs li:first-child::before { content: none; margin-right: 0; }
.color-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--pale-blue);
  color: var(--deep-blue);
}
.vehicle-cta { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.inquire-link { font-weight: 700; font-size: 0.88rem; color: var(--red-orange-700); text-decoration: underline; text-underline-offset: 2px; }
.sold-text { color: var(--gray-600); font-size: 0.92rem; font-style: italic; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.about-body { color: rgba(255,255,255,0.88); font-size: 1.05rem; }
.about-details {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--white);
}
.detail-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.detail-row:last-child { border-bottom: none; }
.detail-row .icon { color: var(--yellow); flex-shrink: 0; }
.detail-row a { font-weight: 700; color: var(--white); }
.detail-row a:hover { color: var(--yellow); }
.detail-hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.detail-hours-table th, .detail-hours-table td { text-align: left; padding: 4px 0; font-size: 0.92rem; font-weight: 400; color: rgba(255,255,255,0.85); }
.detail-hours-table th { font-weight: 600; color: var(--white); }
.about-details-title { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.about-details-cta { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); }
.about-details-cta a { font-weight: 700; color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.about-details-cta a:hover { color: var(--white); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--pale-blue);
  color: var(--red-orange);
  margin-bottom: 18px;
}
.why-icon svg { width: 28px; height: 28px; }
.why-card:nth-child(even) .why-icon { color: var(--deep-blue); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--deep-blue); }
.why-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ---------- Forms (shared) ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field--sm { grid-column: span 1; }
.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--deep-blue);
}
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid var(--gray-300);
  font-size: 0.98rem;
  background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--red-orange);
  outline: none;
}
.contact-form .form-field { margin-bottom: 18px; }

.toggle-field { border: none; padding: 0; grid-column: span 1; }
.toggle-field legend {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--deep-blue);
  padding: 0;
  margin-bottom: 8px;
}
.toggle-group { display: inline-flex; gap: 8px; }
.toggle-group input {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.toggle-group label {
  padding: 9px 22px;
  border-radius: 999px;
  border: 2px solid var(--gray-300);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-blue);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.toggle-group input:checked + label {
  background: var(--red-orange-700);
  border-color: var(--red-orange-700);
  color: var(--white);
}
.toggle-group input:focus-visible + label {
  outline: 3px solid var(--deep-blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--yellow);
}

.consent-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0 28px;
  font-size: 0.88rem;
  color: var(--gray-600);
}
.consent-field input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--red-orange); }

.form-confirm {
  text-align: center;
  padding: 30px 10px 6px;
  color: var(--deep-blue);
}
.form-confirm svg { color: var(--red-orange); margin-bottom: 14px; }
.form-confirm h3 { font-size: 1.3rem; margin-bottom: 10px; }
.form-confirm p { color: var(--gray-600); margin-bottom: 22px; }

/* ---------- Contact section ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.contact-list .icon { color: var(--red-orange); flex-shrink: 0; margin-top: 2px; }
.contact-list a { font-weight: 700; color: var(--deep-blue); }
.contact-list a:hover { color: var(--red-orange-700); }
.hours-heading { font-size: 1.05rem; margin-bottom: 12px; color: var(--deep-blue); }
.hours-table { width: 100%; margin-bottom: 30px; }
.hours-table th, .hours-table td { text-align: left; padding: 6px 0; font-size: 0.95rem; border-bottom: 1px solid var(--gray-200); }
.hours-table th { font-weight: 600; color: var(--deep-blue); width: 45%; }
.hours-table td { color: var(--gray-600); }
.map-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.directions-link { display: inline-block; font-weight: 700; color: var(--red-orange-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--deep-blue); color: rgba(255,255,255,0.85); padding-top: 70px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand .wordmark-main { color: var(--white); display: block; }
.footer-brand .wordmark-sub { color: var(--yellow); display: block; margin-bottom: 14px; }
.concept-note { font-size: 0.85rem; color: rgba(255,255,255,0.55); font-style: italic; max-width: 240px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-weight: 600; color: rgba(255,255,255,0.85); }
.footer-nav a:hover, .footer-nav a.active { color: var(--yellow); }
.footer-meta { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.footer-meta a { font-weight: 600; color: rgba(255,255,255,0.85); }
.footer-meta a:hover { color: var(--yellow); }
.footer-meta .footer-hours-line { color: rgba(255,255,255,0.7); }
.footer-bottom { padding: 20px 24px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 950;
  box-shadow: 0 -4px 16px rgba(11,30,77,0.2);
}
.mobile-cta-call, .mobile-cta-inventory {
  flex: 1;
  text-align: center;
  padding: 16px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
}
.mobile-cta-call { background: var(--red-orange-700); color: var(--white); }
.mobile-cta-inventory { background: var(--deep-blue); color: var(--white); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateX(-36px) rotate(-2.5deg);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.reveal-right { transform: translateX(36px) rotate(2.5deg); }
.reveal.is-visible { opacity: 1; transform: translateX(0) rotate(0); }

/* ---------- Reduced motion ---------- */
@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;
  }
  .speedline-drift { animation: none !important; }
  .btn-primary { animation: none !important; background-position: 0% 50%; }
  .vehicle-card { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .main-nav, .call-pill { display: none; }
  .hamburger { display: flex; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 60px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 110px; min-height: auto; }
  .page-header { padding: 48px 0; }
  .section { padding: 70px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--sm { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-card { padding: 26px 20px; }
  .inventory-controls { padding: 18px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.8rem; }
}
