:root {
  --color-primary: #005d7d;
  --color-primary-hover: #007aa3;
  --color-accent: #e71324;
  --color-accent-alt: #ff3131;
  --color-heading: #1a1a1a;
  --color-text: #212121;
  --color-text-soft: rgba(33, 33, 33, 0.7);
  --color-border: rgba(0, 0, 0, 0.12);
  --bg-soft: #f6f6f6;
  --bg-soft-2: #f7f8fa;
  --hero-dark: #0a1e2e;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1344px;
  --font: "Montserrat", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

.eyebrow {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.eyebrow.center { text-align: center; }
.eyebrow-light { color: #9fd8ee; }

h1, h2, h3, h4 {
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
h2 { font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.3; }
h4 { font-size: 16px; line-height: 1.3; }
.lead { color: var(--color-text-soft); font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
p { line-height: 1.6; }

.center-heading { text-align: center; }
.center-sub { text-align: center; color: var(--color-text-soft); margin: 0 0 40px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 24px;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-outline { border-color: var(--color-border); color: var(--color-text); background: #fff; }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-dark { background: #1a1a1a; color: #fff; padding: 13px 32px; }
.btn-dark:hover { background: #333; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.logo img { height: 26px; width: auto; }

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1100px) { .main-nav { display: flex; } }

.nav-item { position: relative; }
.nav-link {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  padding: 22px 0;
}
.nav-link:hover { color: var(--color-primary); }
.promo-link { color: var(--color-accent) !important; }
.promo-link:hover { color: #991a20 !important; }
.chev { margin-top: 2px; opacity: .7; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.simple-dropdown { display: flex; flex-direction: column; min-width: 220px; left: 0; transform: translateY(8px); }
.nav-item:hover .simple-dropdown, .nav-item.open .simple-dropdown { transform: translateY(0); }
.simple-dropdown a { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.simple-dropdown a:hover { background: var(--bg-soft); color: var(--color-primary); }

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 130px);
  gap: 10px;
}
.model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
.model-card:hover, .model-card.active { background: var(--bg-soft); }
.model-card img { width: 100%; height: 60px; object-fit: contain; }
.model-card span { font-size: 12px; font-weight: 600; color: var(--color-heading); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }
.phone-link { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--color-text); }
@media (min-width: 1280px) { .phone-link { display: inline-flex; } }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
}
@media (min-width: 1100px) { .hamburger { display: none; } }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--color-heading); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 4px; font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--color-border); }
@media (min-width: 1100px) { .mobile-nav { display: none !important; } }

/* Floating quick actions */
.quick-actions {
  position: fixed;
  right: 18px;
  top: 55%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 90;
}
@media (min-width: 640px) { .quick-actions { display: flex; } }
.quick-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 66px; }
.quick-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform .15s;
}
.quick-btn:hover .quick-circle { transform: scale(1.06); }
.quick-circle-accent { background: var(--color-accent-alt); color: #fff; }
.quick-btn em {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--color-heading);
  line-height: 1.3;
}
.quick-label-accent { color: var(--color-accent-alt); }

/* ================= HERO ================= */
.hero { position: relative; }
.hero-video-wrap {
  height: 160px;
  overflow: hidden;
  background: var(--hero-dark);
}
@media (min-width: 768px) { .hero-video-wrap { height: 220px; } }
@media (min-width: 1024px) { .hero-video-wrap { height: 420px; } }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: .9; }

.hero-content-wrap {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 110px 0 28px;
}
@media (min-width: 768px) { .hero-content-wrap { padding: 130px 0 32px; } }
@media (min-width: 1024px) { .hero-content-wrap { padding: 160px 0 36px; } }

.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-stats { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 20px; }
@media (min-width: 640px) { .hero-stats { gap: 32px; } }
.hero-stat { display: flex; flex-direction: column; align-items: center; min-width: 140px; }
@media (min-width: 640px) { .hero-stat { min-width: 180px; } }

.stat-badge { border-radius: 12px 12px 0 0; padding: 10px 20px; }
.stat-value { font-size: clamp(20px, 4vw, 32px); font-weight: 700; color: var(--color-heading); white-space: nowrap; }
.stat-label {
  width: 100%;
  border-radius: 0 0 12px 12px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
}
.stat-label-red { background: var(--color-accent); }
.stat-label-blue { background: var(--color-primary); }

.hero-catalog-price { text-align: center; color: var(--color-text-soft); font-size: 14px; margin: 14px 0 0; }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.hero-car-float {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  width: 80%;
  max-width: 860px;
  height: 190px;
  z-index: 10;
}
@media (min-width: 768px) { .hero-car-float { height: 260px; top: 36px; } }
@media (min-width: 1024px) { .hero-car-float { height: 380px; top: 46px; } }
.hero-car-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.28));
}

/* ================= SECTIONS ================= */
.section { padding: 56px 0; }
@media (min-width: 1024px) { .section { padding: 88px 0; } }
.section-soft { background: var(--bg-soft-2); }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 56px; }
  .two-col.reverse > *:first-child { order: 2; }
}

.overview-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
}
.mini-icon { width: 34px; height: 34px; object-fit: contain; margin-bottom: 14px; }
.mini-card h3 { font-size: 15px; margin-bottom: 8px; }
.mini-card p { font-size: 13px; color: var(--color-text-soft); line-height: 1.6; margin: 0; }

.promo-banner {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.promo-banner img { width: 100%; height: auto; }
.promo-banner-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}
.link-arrow { color: #fff; font-weight: 600; font-size: 14px; }
.promo-banner-section h2.center-heading { margin-bottom: 24px; }

.drivetrain-image img, .feature-image img { border-radius: var(--radius); width: 100%; }
.drivetrain-card h2 { margin-top: 0; }
.stat-row { display: flex; gap: 40px; margin: 8px 0 28px; }
.stat-row.three { gap: 32px; flex-wrap: wrap; }
.stat-row > div { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--color-border); }
.big-stat { font-size: 28px; font-weight: 700; color: var(--color-heading); }
.stat-caption { font-size: 13px; color: var(--color-text-soft); }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.why-card h3 { font-size: 17px; }
.why-card p { font-size: 14px; color: var(--color-text-soft); }

/* Design picker */
.design-picker { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
@media (min-width: 900px) { .design-picker { grid-template-columns: 280px 1fr; } }
.design-tabs { display: flex; flex-direction: column; gap: 8px; }
.design-tab {
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: background-color .15s, color .15s, border-color .15s;
}
.design-tab:hover { border-color: var(--color-primary); }
.design-tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.design-image-frame {
  position: relative;
  background: #f5f5f5;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.design-image-frame img { max-height: 380px; width: auto; margin: 0 auto; }
.design-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,26,26,0.85);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
}
.color-swatches { display: flex; justify-content: center; gap: 14px; margin-top: 22px; }
.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  padding: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  transition: transform .15s, box-shadow .15s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary); }

/* ADAS intro dark section */
.adas-intro {
  position: relative;
  background: var(--hero-dark);
  padding: 72px 0;
  overflow: hidden;
}
.adas-bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.adas-intro .container { position: relative; z-index: 1; max-width: 720px; }
.light-heading { color: #fff; }
.light-lead { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.7; }

/* Carousel */
.carousel { position: relative; }
.carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
@media (max-width: 900px) { .carousel-track { grid-auto-columns: 80%; grid-auto-flow: column; grid-template-columns: none; } }
.carousel-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  scroll-snap-align: start;
}
.carousel-card img { width: 100%; height: 160px; object-fit: cover; }
.carousel-card h4 { padding: 16px 16px 6px; font-size: 15px; margin: 0; }
.carousel-card p { padding: 0 16px 18px; font-size: 13px; color: var(--color-text-soft); margin: 0; }
.carousel-arrow {
  position: absolute;
  top: 80px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-heading);
  z-index: 5;
}
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }
@media (max-width: 600px) { .carousel-arrow { display: none; } }

/* Safety grid */
.safety-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
@media (min-width: 640px) { .safety-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .safety-grid { grid-template-columns: repeat(3, 1fr); } }
.safety-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.safety-card img { width: 100%; height: 170px; object-fit: cover; background: #e9e9e9; }
.safety-card h4 { padding: 16px 16px 6px; margin: 0; font-size: 15px; }
.safety-card p { padding: 0 16px 18px; margin: 0; font-size: 13px; color: var(--color-text-soft); }

/* Price CTA repeat */
.price-cta { text-align: center; }
.price-cta-inner { display: flex; flex-direction: column; align-items: center; }
.price-cta-image { max-width: 420px; margin-bottom: 12px; }
.stat-badge.large { display: flex; flex-direction: column; align-items: center; border-radius: var(--radius); overflow: hidden; }
.stat-badge.large .stat-value { padding-top: 4px; }

/* Contact form */
.contact-section { background: var(--bg-soft-2); }
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 4px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--color-heading); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.find-nearest { font-size: 12px; font-weight: 600; color: var(--color-primary); white-space: nowrap; }
.form-field input, .form-field select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--color-primary); }

.gdpr-note { font-size: 12px; color: var(--color-text-soft); background: var(--bg-soft); padding: 14px; border-radius: var(--radius-sm); margin: 8px 0 18px; }
.gdpr-note a { color: var(--color-primary); font-weight: 600; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--color-text-soft); margin-bottom: 14px; cursor: pointer; }
.checkbox-row input { margin-top: 2px; accent-color: var(--color-primary); width: 18px; height: 18px; flex-shrink: 0; }
.checkbox-intro { font-size: 13px; color: var(--color-text-soft); margin: 8px 0; }
.checkbox-inline-group { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.checkbox-row.inline { margin-bottom: 0; }

.turnstile-note { font-size: 12px; color: var(--color-text-soft); margin-top: 14px; }
.fine-print { max-width: 800px; margin: 32px auto 0; text-align: center; font-size: 12px; line-height: 1.8; color: var(--color-text-soft); }

/* ================= FOOTER ================= */
.site-footer { background: #14161a; color: rgba(255,255,255,0.75); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 0 40px;
}
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-logo { height: 24px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: #fff; opacity: .7; transition: opacity .15s; }
.footer-socials a:hover { opacity: 1; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; margin: 0 0 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom-inner a { color: rgba(255,255,255,0.5); }
.footer-bottom-inner a:hover { color: #fff; }
