/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: flex-end;
  padding: 80px var(--gutter);
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #2d3151);
}
.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__poster {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%),
    url("/images/hero-drive-what-you-love.webp") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(75deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__pause {
  display: none;
}
.hero__pause svg {
  width: 16px;
  height: 16px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero__title {
  font-size: clamp(50px, 2.6vw, 400px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 8px;
  max-width: 660px;

  position: relative;
  left: 40px;
  top:  -650px;
}
.hero__title-accent {
  color: var(--green-500);
  display: block;
}
.hero__cta {
  margin-top: 28px;
  background: #fff;
  color: var(--green-600);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  transition: background 0.2s;
}
.hero__cta:hover {
  background: var(--bg-soft);
}
.hero__pause {
  z-index: 2;
}

/* Search bar floating at the bottom of the hero */
.hero__searchbar {
  position: absolute;
  left: 50%;
  bottom: 350px;                 /* distance from bottom of hero — leaves room above the tabs */
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;             /* slightly wider than the shop-tabs below */
  padding: 0 var(--gutter);
  z-index: 2;
}

.hero__searchbar .hero-search__form {
  margin: 0;
  background: #fff;
  border-radius: 4px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  
}

.hero-search__form input::placeholder {
  color: #cbcdd0;                        /* ← placeholder color */
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
    flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--text-700);
  background: transparent;
  padding: 6px 0;
  
  text-align: center;          /* ← add this — centers both placeholder and typed text */
}

/* ============================================
   Feature bar (dark navy strip)
   ============================================ */
.feature-bar {
  background: var(--navy-900);
  color: #fff;
  padding: 18px var(--gutter);
}
.feature-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.feature-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}
.feature-bar__item svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
}
.feature-bar__item sup {
  font-size: 0.65em;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .feature-bar__inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  .feature-bar__item {
    flex-shrink: 0;
  }
}

/* ============================================
   Shop-finder (tabs + chips + 3 promo cards)
   ============================================ */
.shop-finder {
  padding: 0 var(--gutter);
  margin-top: -60px;            /* lifts the panel slightly over the hero edge */
  position: relative;
  z-index: 3;
}
.shop-finder__inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.shop-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--green-500);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.shop-tab {
  background: var(--green-500);
  color: #fff;
  padding: 9px 10px;
  font-size: 20px;
  font-weight: 400;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.shop-tab:first-child { border-left: none; }
.shop-tab.is-active + .shop-tab,
.shop-tab.is-active { border-left-color: transparent; }
.shop-tab:hover { background: var(--green-600); }
.shop-tab.is-active {
  background: #fff;
  color: var(--text-900);
}

.shop-panel {
  padding: 28px 24px;
}
.shop-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 42px;

}
.shop-chips[hidden] { display: none; }

/* Icon-tile grid panel (used for Shop Type) */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.shop-grid[hidden] { display: none; }
.shop-grid__tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* Brand-pill grid (used for Shop Make) */
.shop-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* MPG-chip grid (used for Shop MPG) — 4 per row, wider chips */
.shop-mpgs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-mpgs .shop-brand {
  flex: 1 1 calc(25% - 12px);
  min-width: 140px;
  padding: 12px 12px;
}
.shop-brand {
  flex: 1 1 calc(10% - 8px);   /* ~10 per row at full width; last row's chips stretch evenly */
  min-width: 78px;
  background: #f3f4f5;
  border: 1px solid #e3e5e7;
  border-radius: 4px;
  color: var(--text-900);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.shop-brand:hover {
  background: var(--green-100);
  border-color: var(--green-500);
}
.shop-tile {
  background: #f3f4f5;
  border-radius: 4px;
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-900);
  min-height: 84px;
  transition: background 0.2s;
}
.shop-tile:hover { background: var(--green-500); }
.shop-tile span { display: none; }
.shop-tile__icon {
  width: 180px;
  height: 130px;
  object-fit: contain;
  color: var(--text-900);
}
.shop-grid__action {
  background: var(--green-500);
  color: #fff;
  padding: 16px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  align-self: center;
  transition: background 0.2s;
}
.shop-grid__action:hover { background: var(--green-600); }

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-grid__tiles { grid-template-columns: repeat(3, 1fr); }
  .shop-grid__action { width: 100%; text-align: center; }
}
.shop-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f5;
  color: var(--text-900);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 4px;
  transition: background 0.2s;
  min-width: 130px;
}
.shop-chip:hover { background: var(--green-100); }

.offer-cards {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 var(--gutter) 60px;
}
.offer-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 32px 28px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--text-900);
  min-height: 360px;
}
.offer-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.offer-card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-900);
  margin-bottom: 18px;
}
.offer-card__title sup {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
}
.offer-card__image {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 170px;
  object-fit: contain;
  margin: 0 auto 22px;
}
.offer-card__image--badge {
  max-width: 170px;
  height: 170px;
}
.offer-card__cta {
  color: var(--green-500);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.offer-card__cta svg { width: 16px; height: 16px; }

/* ============================================
   Find a Dealership Near You
   ============================================ */
.find-dealer {
  background: var(--bg-soft);
  padding: 60px var(--gutter);
}
.find-dealer__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.find-dealer__content {
  text-align: center;
  flex: 0.5;
  width: 100%;
}
.find-dealer__title {
  font-size: clamp(22px, 2.6vw, 20px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-900);
}
.find-dealer__form {
  display: flex;
  max-width: 1520px;
  margin: 0 auto 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;

}
.find-dealer__form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 14px 18px;
  background: transparent;
  color: var(--text-900);
  font-family: inherit;
}
.find-dealer__form input::placeholder { color: var(--text-500);
font-style: italic; }
.find-dealer__form button {
  width: 52px;
  background: transparent;
  color: var(--green-500);
  cursor: pointer;
}
.find-dealer__form button svg { width: 20px; height: 20px; }
.find-dealer__actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
}
.find-dealer__action {
  color: var(--green-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.find-dealer__action:hover { text-decoration: underline; }
.find-dealer__action svg { width: 14px; height: 14px; }
.find-dealer__illustration {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  pointer-events: none;
}
.find-dealer__illustration img,
.find-dealer__illustration svg {
  width: 480px;
  height: auto;
}

@media (max-width: 900px) {
  .find-dealer__inner { grid-template-columns: 1fr; }
  .find-dealer__illustration { display: none; }
  .find-dealer__actions { flex-direction: column; gap: 12px; }
}

/* ============================================
   Sign Up For Email Offers
   ============================================ */
.email-signup {
  background: var(--bg-soft);
  padding: 0 var(--gutter) 80px;
}
.email-signup__bar {
  max-width: 1100px;
  margin: 0 auto;
  height: 7px;
  background: var(--green-500);
}
.email-signup__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 48px 48px;
}
.email-signup__title {
  text-align: center;
  font-size: clamp(20px, 2.4vw, 22px);
  font-weight: 700;
  margin-top: 23px;
  margin-bottom: 32px;
  color: var(--text-900);
}
.email-signup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.email-signup__field:first-child {
  position: relative;
  left: 110px;              /* ← positive = right, negative = left */
}
.email-signup__field { position: relative; }
.email-signup__field input {
  width: 380px;
  border: 1px solid #d0d4d8;
  border-radius: 2px;
  padding: 26px 12px 8px;
  font-size: 15px;
  background: #fff;
  font-family: inherit;
  color: var(--text-900);
}
.email-signup__field input:focus {
  outline: none;
  border-color: var(--green-500);
}
.email-signup__field label {
  position: absolute;
  left: 12px;
  top: 17px;
  font-size: 13px;
  font-weight: 200;
  color: var(--text-500);
  pointer-events: none;
}
.email-signup__field input.is-invalid { border-color: #d32f2f; }
.email-signup__field input.is-invalid + label { color: #d32f2f; }
.email-signup__field .required { color: #d32f2f; }

.email-signup__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 140px;
  font-size: 13px;
  color: var(--text-700);
  line-height: 1.55;
}
.email-signup__consent input { margin-top: 4px; flex-shrink: 0; }
.email-signup__consent a { color: var(--green-600); text-decoration: underline; }

.email-signup__submit {
  display: block;
  margin: 0 auto;
  background: var(--green-500);
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 90px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.email-signup__submit:hover { background: var(--green-600); }
.email-signup__submit:disabled { background: var(--text-300); cursor: not-allowed; }

.email-signup__success {
  margin: 24px auto 0;
  max-width: 520px;
  text-align: center;
  background: var(--green-100);
  border: 1px solid var(--green-500);
  border-radius: 6px;
  padding: 22px 24px;
  color: var(--green-700);
}
.email-signup__success strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--green-600);
}

.email-signup__disclaimer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-500);
}
.email-signup__disclaimer a { color: #1a73e8; text-decoration: underline; }

/* ============================================================================
   RESPONSIVE OVERRIDES (homepage)
   Override the desktop-only hero positioning with !important so they always
   win over the hard-coded positions above (left: 40px; top: -650px; etc).
   ============================================================================ */

@media (max-width: 1024px) {
  /* Hero: drop absolute positioning, let content flow naturally */
  .hero {
    min-height: auto !important;
    padding: 28px 0 24px !important;
    align-items: stretch !important;
    overflow: hidden;
  }
  .hero__inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 18px;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .hero__title {
    font-size: clamp(28px, 5.5vw, 44px) !important;
    line-height: 1.12 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    top: 0 !important;
    position: relative !important;
  }
  /* On mobile/tablet the floating hero search is hidden — the sticky
     header search bar takes over once the user scrolls past the hero.
     This keeps the hero clean (big title + image) the way Enterprise
     and other car-sales sites handle it. */
  .hero__searchbar { display: none !important; }
  /* Force the sticky-header search to always be visible on mobile,
     not just after scrolling past the hero */
  [data-header] .hero-search {
    max-height: 60px !important;
    padding: 6px 12px !important;
    overflow: visible !important;
  }
  [data-header] .hero-search .hero-search__form {
    padding: 4px 10px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }
  [data-header] .hero-search .hero-search__form input {
    font-size: 13px !important;
    min-width: 0 !important;
    width: 100% !important;
    text-align: left !important;
  }
  [data-header] .hero-search .hero-search__submit {
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0;
  }
  [data-header] .hero-search .hero-search__submit svg { width: 14px !important; height: 14px !important; }
  [data-header] .hero-search .hero-search__icon { width: 18px !important; height: 18px !important; }

  /* Email signup section */
  .email-signup__inner { padding: 32px 20px 40px; }
  .email-signup__field input { width: 100% !important; box-sizing: border-box; }
  .email-signup__field:first-child { left: 0 !important; }
  .email-signup__consent { margin: 22px 0; }
  .email-signup__submit { padding: 14px 40px; width: 100%; max-width: 320px; }

  /* Find dealer section */
  .find-dealer { padding: 40px 16px; }
  .find-dealer__illustration { display: none; }
  .find-dealer__inner { min-height: 0; }
}

@media (max-width: 900px) {
  .hero { padding: 20px 0 20px !important; }
  .hero__title { font-size: clamp(22px, 6.5vw, 36px) !important; }

  /* Shop finder layout */
  .shop-finder { margin-top: 8px; padding: 0 14px; }
  .shop-finder__inner { padding: 0; max-width: 100%; }
  .shop-tabs { grid-template-columns: repeat(2, 1fr); }
  .shop-tab { font-size: 14px; padding: 12px 8px; min-width: 0; }
  .shop-panel { padding: 14px; }
  .shop-chips { padding: 12px 6px; gap: 8px; justify-content: stretch; }
  .shop-chip { min-width: 0; flex: 1 1 calc(50% - 8px); padding: 10px 8px; font-size: 13px; }
  .shop-grid { grid-template-columns: 1fr; gap: 14px; }
  .shop-grid__tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shop-brands, .shop-mpgs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .shop-tile { padding: 12px 6px; }
  .shop-tile__icon { width: 40px; height: 40px; }
  .shop-brand { padding: 10px 6px; font-size: 12px; }
  .shop-grid__action { width: 100%; text-align: center; padding: 14px 18px; }

  /* Offer cards */
  .offer-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 14px; }
  .offer-card { padding: 22px 18px; min-height: 0; }
  .offer-card__title { font-size: 16px; }
  .offer-card__image { height: 130px; }

  /* Section headings */
  .section-heading { font-size: clamp(20px, 5vw, 32px); padding: 0 16px; }
}

@media (max-width: 700px) {
  .email-signup__inner { padding: 24px 14px 36px; }
  .email-signup__row { grid-template-columns: 1fr; gap: 10px; }
  .email-signup__title { font-size: 18px; margin-bottom: 18px; }
  .email-signup__consent { font-size: 12px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(22px, 7vw, 30px) !important; }
  .offer-cards { grid-template-columns: 1fr !important; }
  .shop-grid__tiles { grid-template-columns: repeat(2, 1fr); }
  .shop-brands, .shop-mpgs { grid-template-columns: repeat(2, 1fr); }
  .shop-chip { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .hero__title { font-size: clamp(20px, 7vw, 26px) !important; }
  .shop-tab { font-size: 12px; padding: 10px 4px; }
}

/* ============================================
   Section heading
   ============================================ */
.section-heading {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--text-900);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.section-heading--center {
  text-align: center;
}
.section-heading__accent {
  color: var(--green-500);
}

/* ============================================
   Collection cards (Shop by collection)
   ============================================ */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.collection-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3/4;
}
.collection-card__image {
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  transform-origin: center;
}
.collection-card:hover .collection-card__image {
  transform: scale(1.08);
}
/* Drop your own car photos at /images/collection-{name}.jpg to replace these.
   If a file is missing, the card shows the navy background color. */
.collection-card__image--family {
  background-image: url("/images/collection-family.jpg");
}
.collection-card__image--new {
  background-image: url("/images/collection-new.jpg");
}
.collection-card__image--adventure {
  background-image: url("/images/collection-adventure.jpg");
}
.collection-card__image--deals {
  background-image: url("/images/collection-deals.jpg");
}
.collection-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: var(--navy-900);
  gap: 12px;
}
.collection-card__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 60%;
}
.collection-card__cta {
  background: var(--navy-700);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.collection-card__cta:hover {
  background: var(--green-500);
}

@media (max-width: 1024px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .collection-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Certified band
   ============================================ */
.certified {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter);
  color: #fff;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.certified__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 158, 71, 0.92), rgba(17, 112, 48, 0.95)),
    url("https://images.unsplash.com/photo-1632823469850-2f77dd9c7f93?auto=format&fit=crop&w=1600&q=80") center/cover;
  z-index: 0;
}
.certified__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.certified__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.certified__badge svg {
  width: 22px;
  height: 22px;
}
.certified__title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  line-height: 1.08;
}
.certified__sub {
  font-size: clamp(18px, 1.8vw, 24px);
  margin-bottom: 40px;
  opacity: 0.95;
}

/* ============================================
   Carousel (Shop new arrivals)
   ============================================ */
.carousel {
  position: relative;
}
.carousel__viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 24px;
  scrollbar-width: none;
}
.carousel__viewport::-webkit-scrollbar {
  display: none;
}
.vehicle-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.vehicle-card__head {
  padding: 18px 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.vehicle-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-900);
  line-height: 1.25;
}
.vehicle-card__fav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #d33;
  transition: background 0.2s;
}
.vehicle-card__fav:hover {
  background: #fff;
}
.vehicle-card__fav svg {
  width: 18px;
  height: 18px;
}
.vehicle-card__price {
  padding: 4px 18px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-600);
}
.vehicle-card__image {
  height: 160px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #EFEFEF;
}
.vehicle-card__meta {
  padding: 14px 18px;
  background: #fff;
  font-size: 12px;
  color: var(--text-700);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vehicle-card__meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vehicle-card__meta-row svg {
  width: 14px;
  height: 14px;
  color: var(--text-500);
}

.carousel__arrow {
  position: absolute;
  top: 45%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card-hover);
  z-index: 2;
  transition: background 0.2s;
}
.carousel__arrow:hover {
  background: var(--green-600);
}
.carousel__arrow svg {
  width: 20px;
  height: 20px;
}
.carousel__arrow--prev {
  left: -8px;
}
.carousel__arrow--next {
  right: -8px;
}
.carousel__progress {
  margin: 8px auto 0;
  width: 160px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.carousel__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: var(--green-500);
  transition: width 0.3s, left 0.3s;
}

/* ============================================
   Stats section
   ============================================ */
.stats-section {
  background: var(--bg-soft);
}
.stats-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.stats-section__title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.stats-section__title-accent {
  color: var(--green-500);
}
.stats-section__tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 56px;
}
.stat-tab {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--text-900);
  background: transparent;
  color: var(--text-900);
  transition: background 0.2s, color 0.2s;
}
.stat-tab.is-active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat__value {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  color: var(--green-500);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.02em;
}
.stat__value svg {
  width: 28px;
  height: 28px;
}
.stat__label {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-700);
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================
   Two-up promo cards (trade-in / financing)
   ============================================ */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.promo-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 56px 48px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-card__title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.promo-card__body {
  font-size: 16px;
  margin-bottom: 28px;
  opacity: 0.9;
  max-width: 420px;
}

@media (max-width: 768px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card { padding: 36px 28px; }
}

/* ============================================
   CTA band ("Your next car is closer than you think")
   ============================================ */
.cta-band {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 80px var(--gutter);
  overflow: hidden;
}
.cta-band__video,
.cta-band__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-band__poster {
  background:
    linear-gradient(180deg, rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.7)),
    url("https://images.unsplash.com/photo-1532274402911-5a369e4c4bb5?auto=format&fit=crop&w=1920&q=80") center/cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 40, 0.45), rgba(20, 30, 40, 0.65));
  z-index: 1;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}
.cta-band__title {
  font-size: clamp(44px, 8vw, 110px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.cta-band__title-accent {
  color: var(--green-500);
  display: block;
}
.cta-band__pause {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
}
.cta-band__pause svg { width: 16px; height: 16px; }

/* ============================================
   Generic page hero (used by subpages)
   ============================================ */
.page-hero {
  background: var(--green-500);
  color: #fff;
  padding: 72px var(--gutter);
  text-align: center;
}
.page-hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero__sub {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}

.content-block {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px var(--gutter);
}
.content-block h2 {
  font-size: 28px;
  margin: 32px 0 16px;
}
.content-block p {
  color: var(--text-700);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}
.content-block ul.bulleted {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-700);
}
.content-block ul.bulleted li {
  margin-bottom: 8px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.tile {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
}
.tile h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.tile p {
  color: var(--text-700);
  font-size: 14px;
}
.tile--mock { padding: 0; overflow: hidden; }
.tile--mock h3 { margin: 18px 24px 6px; }
.tile--mock p  { margin: 0 24px 22px; }
.tile__mock {
  height: 140px;
  background: linear-gradient(180deg, #eef1f4 0%, #dde2e7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}
.tile__mock svg { width: 70%; height: auto; }

@media (max-width: 768px) {
  .tile-grid { grid-template-columns: 1fr; }
}
