:root {
  --blue-50: #f1faff;
  --blue-100: #e3f6ff;
  --blue-300: #5fcbfb;
  --blue-400: #07a3ee;
  --blue-450: #079adf;
  --blue-500: #067bb1;
  --gray-100: #f8f9fa;
  --gray-200: #e6e6e6;
  --gray-300: #dedede;
  --gray-400: #929292;
  --gray-500: #4a4a4a;
  --black: #000;
  --white: #fff;
  --shadow-btn: 0 3px 10px #455b6329;
  --shadow-card: 0 2px 10px #00000029;
  --radius-btn: 6px;
  --radius-card: 15px;
  --font-display: "Nunito Sans", "Sofia Pro", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-500);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-500);
  margin: 0 0 0.5em;
  letter-spacing: 0;
}
h1 { font-size: 28px; line-height: 38px; }
h2 { font-size: 24px; line-height: 32px; }
h3 { font-size: 20px; line-height: 30px; }
h5 { font-size: 16px; line-height: 24px; }
h6, p { font-size: 16px; line-height: 26px; margin: 0 0 1rem; color: var(--gray-500); }
@media (min-width: 600px) {
  h1 { font-size: 44px; line-height: 55px; }
  h2 { font-size: 36px; line-height: 44px; }
  h3 { font-size: 24px; line-height: 32px; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 600px) {
  .container { padding-inline: 40px; }
}
@media (min-width: 1200px) {
  .container { padding-inline: 0; }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--blue-450); color: #fff; padding: 0.75rem 1rem;
}
.skip-link:focus { left: 0; }

/* Buttons — Canada Drives style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  border: 0;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gradient {
  background: linear-gradient(var(--blue-300), var(--blue-400));
  color: var(--white);
}
.btn-hero-light {
  background: var(--white);
  color: var(--gray-500);
  width: 255px;
}
.btn-hero-dark {
  background: var(--gray-500);
  color: var(--white);
  width: 255px;
}
.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border: 2px solid var(--blue-500);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--blue-500);
  color: var(--white);
}
.btn-dark {
  background: var(--gray-500);
  color: var(--white);
}
.btn-nav {
  height: 35px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-cta {
  width: 230px;
}
@media (min-width: 600px) {
  .btn-hero-light, .btn-hero-dark { width: 230px; }
  .btn-section { width: 275px; }
}

/* Header */
.site-header { position: relative; z-index: 100; }
.utility-bar {
  display: none;
  height: 40px;
  background: var(--gray-500);
}
.utility-bar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 40px;
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 30px;
}
.utility-bar a {
  color: var(--white);
  font-size: 14px;
  margin-left: 40px;
  font-weight: 400;
}
.utility-bar a:hover { text-decoration: underline; }

.main-nav {
  background: var(--white);
  box-shadow: var(--shadow-btn);
  height: 70px;
}
.main-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 1rem;
}
@media (min-width: 1200px) {
  .main-nav__inner { padding: 0 30px; }
}
.logo img {
  width: 145px;
  height: auto;
  object-fit: contain;
}
@media (min-width: 900px) {
  .logo img { width: 170px; }
}
.logo--footer img {
  width: 160px;
  /* light footer needs dark logo */
  filter: none;
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 0;
}
.nav-text, .nav-dropdown__btn {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-500);
  margin-left: 35px;
  padding: 0;
}
.nav-text:hover, .nav-dropdown__btn:hover,
.nav-text.is-active {
  color: var(--blue-400);
  font-weight: 600;
}
.nav-cta { margin-left: 35px; }

.nav-dropdown { position: relative; }
.nav-dropdown__btn::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 35px;
  z-index: 30;
}
.nav-dropdown__panel a {
  display: block;
  padding: 10px 0;
}
.nav-dropdown__panel strong {
  display: block;
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.nav-dropdown__panel span {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 400;
  line-height: 1.4;
}
.nav-dropdown__panel a:hover strong { color: var(--blue-400); }

.nav-toggle {
  width: 40px; height: 40px; padding: 8px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--gray-500);
}

@media (min-width: 900px) {
  .utility-bar { display: block; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-quick { display: none !important; }
}
.mobile-quick {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  margin-right: 8px;
}
.mobile-quick a {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}
.mobile-quick .btn-nav {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  color: var(--white);
  font-weight: 400;
}

@media (max-width: 899px) {
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 16px 20px 24px;
    gap: 4px;
  }
  .nav-text, .nav-dropdown__btn, .nav-cta {
    margin-left: 0;
    width: 100%;
    text-align: left;
    padding: 12px 0;
  }
  .nav-dropdown__panel {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 8px 0 8px 12px;
    min-width: 0;
  }
  .site-header { position: relative; }
  .main-nav { position: relative; }
}

/* Home hero — Clutch-style offer card */
.clutch-hero {
  background: #fff;
  padding: 36px 0 40px;
  text-align: center;
}
@media (min-width: 900px) {
  .clutch-hero { padding: 44px 0 52px; }
}
.clutch-hero__top {
  max-width: 920px;
  margin: 0 auto 18px;
}
.clutch-hero h1 {
  color: #111;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  max-width: none;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.clutch-hero__sub {
  margin: 0 auto;
  color: #222;
  font-size: 18px;
  line-height: 1.4;
  max-width: 640px;
}
.clutch-hero__actions {
  position: absolute;
  left: var(--hero-bx-m, 50%);
  top: var(--hero-by-m, 32%);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 560px;
  pointer-events: none;
}
.clutch-hero__actions .btn {
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
@media (min-width: 600px) {
  .clutch-hero__actions {
    left: var(--hero-bx-d, 50%);
    top: var(--hero-by-d, 32%);
    flex-direction: row;
    justify-content: center;
    gap: 0;
    width: auto;
  }
}
.clutch-hero__or {
  width: 75px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #222;
}

.clutch-hero__card-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.clutch-hero__card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  text-align: left;
  max-width: none;
  width: 100%;
  margin: 0;
}
.clutch-hero > .container {
  max-width: var(--container);
}
.clutch-hero__media {
  position: relative;
  height: var(--hero-h-m, 300px);
  background: #1a1a1a;
}
@media (min-width: 600px) {
  .clutch-hero__media { height: var(--hero-h-d, 480px); }
}
.clutch-hero__media img,
.clutch-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-img-pos-m, 50% 50%);
  display: block;
}
@media (min-width: 600px) {
  .clutch-hero__media img,
  .clutch-hero__img {
    object-position: var(--hero-img-pos-d, 50% 50%);
  }
}
.clutch-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.clutch-hero__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
@media (min-width: 600px) {
  .clutch-hero__badge {
    top: 20px;
    right: 20px;
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* Legacy hero (kept for other pages / older markup) */
.hero {
  background-color: var(--blue-450);
  background-image: url("/assets/images/cd/hero/hero-xs.webp");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  height: 645px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  color: #fff;
  text-align: center;
}
@media (min-width: 600px) {
  .hero {
    background-image: url("/assets/images/cd/hero/hero-sm.webp");
    background-size: auto;
    height: 510px;
    padding-top: 40px;
  }
}
@media (min-width: 900px) {
  .hero { background-image: url("/assets/images/cd/hero/hero-md.webp"); }
}
@media (min-width: 1200px) {
  .hero {
    background-image: url("/assets/images/cd/hero/hero-lg.webp");
    height: 550px;
  }
}
/* CMS-uploaded hero overrides responsive defaults */
.hero.has-cms-bg,
.hero.has-cms-bg[style] {
  background-image: var(--hero-bg) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.hero h1 {
  color: #fff;
  max-width: 240px;
  margin: 0 auto 16px;
}
@media (min-width: 600px) {
  .hero h1 { max-width: 570px; }
}
.hero .hero__sub {
  color: #fff;
  margin: 0 auto 40px;
  max-width: 400px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}
@media (min-width: 900px) {
  .hero .hero__sub { margin-bottom: 20px; }
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 600px) {
  .hero__actions {
    flex-direction: row;
    gap: 0;
  }
}
.hero__or {
  color: #fff;
  font-size: 17px;
  width: 75px;
  text-align: center;
  font-weight: 400;
}

/* Split sections */
.split-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px auto 60px;
  align-items: center;
}
@media (min-width: 600px) {
  .split-row {
    flex-direction: row;
    margin-top: 60px;
    gap: 40px;
  }
}
@media (min-width: 900px) {
  .split-row { margin-bottom: 100px; }
}
.split-row__text { width: 100%; }
.split-row__media { width: 100%; }
@media (min-width: 600px) {
  .split-row__text, .split-row__media { width: 50%; }
}
@media (min-width: 900px) {
  .split-row__media img { max-width: 530px; margin-inline: auto; }
  .split-row--sell .split-row__media img { max-width: 485px; }
}
.split-row__text h2 {
  max-width: 495px;
  margin-bottom: 24px;
}
.bullet-list { margin: 0 0 8px; }
.bullet-list li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 45px;
  color: var(--gray-500);
  line-height: 26px;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue-450);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath fill='%23079ADF' d='M247.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L179.2 256 41.9 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.split-row__cta { margin-top: 40px; }
.split-row--sell .split-row__media { order: -1; }
@media (max-width: 599px) {
  .split-row--sell .split-row__media { display: none; }
}

/* Vehicle types */
.types-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: 60px;
  text-align: center;
}
@media (min-width: 1200px) {
  .types-section { margin-block: 100px; }
}
.types-section h2 {
  max-width: 335px;
  margin-bottom: 0;
}
@media (min-width: 600px) {
  .types-section h2 { max-width: 570px; }
}
@media (min-width: 900px) {
  .types-section h2 { max-width: none; }
}
.vehicle-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin-top: 40px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--gray-300);
}
@media (min-width: 600px) {
  .vehicle-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .vehicle-types { width: 1100px; }
}
.vehicle-types a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 197px;
  background: #fff;
  outline: 1px solid var(--gray-300);
}
.vehicle-types a::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--blue-450);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.vehicle-types a:hover::after { opacity: 1; }
.vehicle-types img {
  width: min(100%, 300px);
  height: 120px;
  object-fit: contain;
}
.vehicle-types h5 {
  position: absolute;
  bottom: 30px;
  margin: 0;
  color: var(--blue-500);
  font-weight: 600;
  font-size: 16px;
}

/* Reviews */
.reviews-section {
  margin: 60px auto 80px;
  text-align: center;
}
@media (min-width: 900px) {
  .reviews-section { margin: 100px auto 140px; }
}
.reviews-section h2 { margin-bottom: 24px; }
.google-badge {
  height: 36px;
  width: auto;
  margin: 0 auto 12px;
}
@media (min-width: 600px) {
  .google-badge { height: 48px; }
}
.google-reviews-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.google-reviews-meta {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 4px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}
@media (min-width: 600px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (min-width: 900px) {
  .reviews-grid { gap: 40px; }
}
.review-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px;
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
}
.review-avatar--photo {
  object-fit: cover;
  display: block;
  padding: 0;
  background: #e8eaed;
}
.review-card__meta strong {
  display: block;
  font-weight: 600;
  color: var(--gray-500);
  margin: 0;
}
.review-card__meta span {
  color: var(--gray-400);
  font-size: 13px;
}
.review-card img:not(.review-avatar) {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  aspect-ratio: 1;
  object-fit: cover;
}
.review-card .stars {
  display: block;
  margin-bottom: 6px;
  color: #fbbc04;
  letter-spacing: 1px;
}
.review-card__quote {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.45;
}
.review-card strong {
  display: block;
  font-weight: 600;
  color: var(--gray-500);
}
.review-card span {
  color: var(--gray-400);
  font-size: 14px;
}
.reviews-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--blue-500);
  text-decoration: underline;
  font-size: 16px;
  font-weight: 400;
}
.reviews-link:hover { color: var(--blue-400); }

/* Reviews page — Canada Drives /reviews layout */
.reviews-hero {
  position: relative;
  background: #1d9bf0;
  color: #fff;
  padding: 60px 0 120px;
  margin-bottom: 140px;
  text-align: center;
}
@media (min-width: 600px) {
  .reviews-hero {
    height: 591px;
    min-height: 591px;
    padding: 80px 0 0;
    margin-bottom: 200px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}
.reviews-hero__inner {
  position: relative;
  z-index: 1;
}
.reviews-hero h1 {
  color: #fff;
  font-size: 28px;
  line-height: 38px;
  max-width: 420px;
  margin: 0 auto 16px;
}
@media (min-width: 600px) {
  .reviews-hero h1 {
    font-size: 44px;
    line-height: 55px;
    margin: 0 0 16px;
  }
}
.reviews-hero__text {
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  max-width: 380px;
  margin: 0 auto 20px;
}
@media (min-width: 600px) {
  .reviews-hero__text {
    max-width: 375px;
    margin: 0 0 20px;
  }
}
@media (min-width: 900px) {
  .reviews-hero__text { max-width: 500px; }
}

.reviews-hero__video-wrap {
  position: relative;
  z-index: 2;
  margin-top: 24px;
}
@media (min-width: 600px) {
  .reviews-hero__video-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -55px;
    margin-top: 0;
  }
  .reviews-hero__video-wrap .container {
    display: flex;
    justify-content: flex-end;
  }
}

.hero-video {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #4a4a4a;
  width: 100%;
}
@media (min-width: 600px) {
  .hero-video {
    width: 66.666%;
    max-width: 720px;
  }
}
.hero-video__preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
@media (min-width: 600px) {
  .hero-video__preview {
    height: 350px;
    aspect-ratio: auto;
  }
}
.hero-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #4a4a4aa6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.hero-video:hover .hero-video__play {
  background: rgba(7, 154, 223, 0.9);
  transform: translate(-50%, -50%) scale(1.05);
}
.hero-video__play svg {
  margin-left: 3px;
}

.reviews-page {
  padding-top: 20px;
  clear: both;
}
.cd-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 20px;
  margin-bottom: 40px;
}
@media (min-width: 600px) {
  .cd-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
}
@media (min-width: 900px) {
  .cd-reviews-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
  }
}
.cd-review {
  text-align: left;
}
.cd-review__media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--gray-100);
}
.cd-review__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cd-review__media .review-avatar {
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: clamp(48px, 10vw, 80px);
}
.cd-review h2 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--gray-500);
}
.cd-review .stars {
  display: block;
  color: #fbbc04;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-size: 14px;
}
.cd-review__source {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--gray-400);
}
.cd-review__quote {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-500);
}

/* Footer overlapping CTA card */
.cta-overlap {
  position: relative;
  z-index: 2;
  margin-bottom: -130px;
}
.cta-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  padding: 65px 20px 80px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 600px) {
  .cta-card { min-height: 295px; }
}
.cta-card h2 { margin-bottom: 28px; }
.cta-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 600px) {
  .cta-card__actions {
    flex-direction: row;
    gap: 0;
  }
}
.cta-card__or {
  width: 75px;
  text-align: center;
  font-size: 17px;
  color: var(--gray-500);
}

/* Footer */
.site-footer {
  background: var(--gray-100);
  padding: 250px 0 80px;
  color: var(--gray-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 600px) {
  .footer-grid { padding-inline: 70px; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); }
}
.site-footer h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.site-footer a {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: var(--gray-500);
}
.site-footer a:hover { color: var(--blue-400); }
.footer-brand p {
  font-size: 14px;
  color: var(--gray-400);
  max-width: 28ch;
}
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  font-size: 12px;
  color: var(--gray-400);
}
@media (min-width: 600px) {
  .footer-bottom { font-size: 14px; padding-inline: 70px; }
}
.footer-bottom p { color: var(--gray-400); margin-bottom: 8px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 8px;
}
.footer-legal a {
  font-size: 12px;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid var(--gray-300);
}
.footer-legal a:last-child { border: 0; }

/* Interior pages — Canada Drives How It Works pattern */
.app-hero {
  background: #1d9bf0;
  min-height: 340px;
  display: flex;
  align-items: flex-start;
  padding: 60px 0 40px;
  margin-bottom: 55px;
  color: #fff;
  text-align: left;
}
@media (min-width: 600px) {
  .app-hero {
    min-height: 280px;
    align-items: center;
    padding: 0;
    margin-bottom: 70px;
  }
}
@media (min-width: 900px) {
  .app-hero { margin-bottom: 60px; }
}
.app-hero__content { width: 100%; }
.app-hero .eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  max-width: 500px;
}
.app-hero h1 {
  color: #fff;
  font-size: 28px;
  line-height: 38px;
  max-width: 420px;
  margin: 0;
}
@media (min-width: 600px) {
  .app-hero h1 { font-size: 44px; line-height: 55px; }
  .app-hero .eyebrow { max-width: 700px; }
}
.app-hero p {
  color: rgba(255,255,255,0.95);
  max-width: 520px;
  margin: 16px 0 0;
}

.section-intro {
  text-align: center;
  margin: 80px auto 40px;
}
.section-intro h2 {
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  margin-bottom: 10px;
}
@media (min-width: 600px) {
  .section-intro h2 { font-size: 36px; line-height: 44px; }
}
.section-intro p {
  font-size: 14px;
  margin: 0 auto;
  max-width: 560px;
}
@media (min-width: 600px) {
  .section-intro p { font-size: 16px; }
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
@media (min-width: 600px) {
  .info-cards {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 50px;
  }
}
.info-card {
  text-align: center;
  flex: 1;
}
.info-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  object-fit: contain;
}
.info-card h3 {
  font-size: 18px;
  margin: 16px 0 8px;
  font-weight: 700;
}
.info-card p {
  font-size: 16px;
  margin: 0 auto;
  max-width: 340px;
}

.section-cta {
  text-align: center;
  margin-bottom: 60px;
}
@media (min-width: 600px) {
  .section-cta { margin-bottom: 80px; }
}

.howto-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin: 0 auto 60px;
  max-width: 1100px;
}
@media (min-width: 900px) {
  .howto-card {
    flex-direction: row;
    min-height: 550px;
    margin-bottom: 80px;
  }
}
.howto-card__media {
  order: 1;
  background: var(--gray-100);
}
.howto-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}
.howto-card__body {
  order: 2;
  padding: 20px;
}
@media (min-width: 600px) {
  .howto-card__body { padding: 60px 105px; }
}
@media (min-width: 900px) {
  .howto-card__media { order: 2; width: 50%; }
  .howto-card__body {
    order: 1;
    width: 50%;
    max-width: 520px;
    padding: 60px 20px 60px 50px;
  }
}
.howto-card__body h3 {
  font-size: 24px;
  margin-bottom: 20px;
}
@media (min-width: 600px) {
  .howto-card__body h3 { font-size: 28px; margin-bottom: 30px; }
}
.howto-step { margin-bottom: 40px; }
.howto-step:last-child { margin-bottom: 0; }
.howto-step h4 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--gray-500);
}
.howto-step p { margin: 0; }
.howto-step a {
  color: var(--blue-500);
  text-decoration: underline;
  font-weight: 600;
}
.howto-step a:hover { color: var(--blue-400); }

.page-block {
  margin-bottom: 80px;
}
@media (min-width: 900px) {
  .page-block { margin-bottom: 140px; }
}

.page-hero {
  /* legacy alias — use .app-hero */
  background: #1d9bf0;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  margin-bottom: 48px;
  color: #fff;
}
.page-hero h1 { color: #fff; max-width: 640px; }
.page-hero p { color: rgba(255,255,255,0.95); }
.page-hero .breadcrumbs,
.page-hero .breadcrumbs a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumbs a:hover { color: #fff; }

.breadcrumbs { font-size: 14px; color: var(--gray-400); margin-bottom: 12px; }
.breadcrumbs a:hover { color: var(--blue-400); }
.section { padding: 48px 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.35rem; font-size: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--blue-500); text-decoration: underline; }

.content-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
@media (min-width: 600px) {
  .content-card { padding: 40px 50px; }
}

.feature-grid, .steps, .inventory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .feature-grid, .steps { grid-template-columns: repeat(3, 1fr); }
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .inventory-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature, .step, .vehicle-card, .calc-box, .review-card-box {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.step__num {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-450);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.vehicle-card { padding: 0; overflow: hidden; border: 0; }
.vehicle-card__media { background: var(--gray-100); }
.vehicle-card__body { padding: 16px 18px 20px; }
.vehicle-card__price { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.vehicle-card__price span { color: var(--blue-500); font-weight: 600; font-size: 14px; }
.vehicle-card__meta { font-size: 14px; color: var(--gray-400); margin-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.filters input, .filters select, .calc-form input, .calc-form select {
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-btn);
  padding: 0 12px;
  font: inherit;
}
.vehicle-detail { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .vehicle-detail { grid-template-columns: 1.2fr 0.8fr; }
}
.vehicle-detail__aside {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  background: #fff;
}
.vehicle-detail__aside .price { font-size: 32px; font-weight: 700; color: var(--gray-500); }
.vehicle-detail__aside .payment { color: var(--blue-500); font-weight: 600; margin-bottom: 16px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.spec-list dt { font-size: 12px; color: var(--gray-400); text-transform: uppercase; }
.spec-list dd { margin: 0; font-weight: 600; }
.btn-block { width: 100%; }
.calc-form { display: grid; gap: 14px; }
.calc-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.calc-result { margin-top: 12px; padding: 16px; background: var(--gray-100); border-radius: 8px; }
.calc-result strong { display: block; font-size: 32px; color: var(--blue-500); }
.faq details { border-bottom: 1px solid var(--gray-200); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.seo-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.seo-links a {
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
}
.seo-links a:hover { border-color: var(--blue-450); color: var(--blue-450); }
.stars { color: #f4b400; letter-spacing: 1px; }

.home-seo {
  text-align: center;
  margin: 40px auto 80px;
}
.home-seo h2 { margin-bottom: 12px; }
.home-seo p { max-width: 640px; margin: 0 auto 16px; }

/* Inventory page — Canada Drives style */
.inventory-hero {
  margin-bottom: 85px;
}
@media (min-width: 600px) {
  .inventory-hero { margin-bottom: 20px; }
}
@media (min-width: 900px) {
  .inventory-hero { margin-bottom: 100px; }
}
@media (min-width: 1200px) {
  .inventory-hero { margin-bottom: 75px; }
}
.inventory-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 600px) {
  .inventory-hero__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
}
.inventory-hero__text {
  flex-shrink: 0;
}
@media (min-width: 600px) {
  .inventory-hero__text { width: 310px; }
}
@media (min-width: 900px) {
  .inventory-hero__text { width: 530px; }
}
.inventory-hero__text h1 {
  font-size: 24px;
  line-height: 36px;
  margin: 60px 0 25px;
  color: var(--gray-500);
  max-width: none;
}
@media (min-width: 600px) {
  .inventory-hero__text h1 {
    margin-top: 90px;
    font-size: 36px;
    line-height: 44px;
  }
}
@media (min-width: 900px) {
  .inventory-hero__text h1 { margin-top: 70px; }
}
@media (min-width: 1200px) {
  .inventory-hero__text h1 { margin-top: 140px; }
}
.inventory-hero__text p {
  margin: 0 0 40px;
  max-width: 480px;
}
.inventory-hero__media {
  margin: 0 auto;
  width: min(100%, 335px);
}
@media (min-width: 900px) {
  .inventory-hero__media {
    width: auto;
    max-width: 475px;
    padding-top: 30px;
  }
}
@media (min-width: 1200px) {
  .inventory-hero__media { padding-top: 80px; }
}
.inventory-hero__media img {
  width: 100%;
  height: auto;
}

.inventory-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 80px;
}
@media (min-width: 600px) {
  .inventory-steps { margin-bottom: 90px; gap: 50px; }
}
@media (min-width: 900px) {
  .inventory-steps {
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
  }
}
@media (min-width: 1200px) {
  .inventory-steps { gap: 50px; }
}
.inventory-step-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (min-width: 600px) and (max-width: 899px) {
  .inventory-step-card { flex-direction: row; }
}
@media (min-width: 900px) {
  .inventory-step-card {
    flex-direction: column;
    min-height: 360px;
  }
}
@media (min-width: 1200px) {
  .inventory-step-card { min-height: 320px; }
}
.inventory-step-card__header {
  position: relative;
  background: #1d9bf0;
  color: #fff;
  min-height: 140px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
}
@media (min-width: 600px) and (max-width: 899px) {
  .inventory-step-card__header {
    width: 310px;
    min-height: 310px;
    flex-shrink: 0;
  }
}
.inventory-step-card__header h2 {
  color: #fff;
  font-size: 24px;
  line-height: 32px;
  margin: 0;
  max-width: 200px;
  position: relative;
  z-index: 1;
}
.inventory-step-card__watermark {
  position: absolute;
  right: 16px;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  opacity: 0.25;
  pointer-events: none;
}
.inventory-step-card__watermark span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}
.inventory-step-card__watermark strong {
  font-size: 100px;
  line-height: 0.8;
  font-weight: 700;
}
.inventory-step-card__body {
  padding: 30px 25px;
  flex-grow: 1;
}
.inventory-step-card__body p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
.inventory-step-card__body a {
  color: var(--blue-500);
  text-decoration: underline;
  font-weight: 600;
}
.inventory-step-card__body a:hover { color: var(--blue-400); }

.inventory-selection { margin-top: 20px; }
.vehicle-selection {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
@media (min-width: 600px) {
  .vehicle-selection {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 -35px;
  }
}
.vehicle-selection__item {
  width: 100%;
}
@media (min-width: 600px) {
  .vehicle-selection__item {
    width: 50%;
    padding: 0 35px;
    margin-bottom: 120px;
  }
}
.vehicle-selection__image {
  width: min(100%, 260px);
  margin: 0 0 20px -10px;
}
@media (min-width: 600px) {
  .vehicle-selection__image { width: 300px; }
}
@media (min-width: 900px) {
  .vehicle-selection__image { width: 400px; margin-left: -30px; }
}
.vehicle-selection__item h2 {
  margin-bottom: 25px;
  font-size: 28px;
}
.vehicle-selection__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  columns: 2;
  column-gap: 20px;
}
@media (min-width: 900px) {
  .vehicle-selection__list {
    columns: 3;
    min-height: 200px;
  }
  .vehicle-selection__list.col-2 {
    columns: 2;
    max-width: 350px;
  }
}
.vehicle-selection__list li {
  margin-bottom: 10px;
  break-inside: avoid;
}
.vehicle-selection__list small {
  font-size: 14px;
  color: var(--gray-500);
}
.body-link {
  color: var(--blue-500);
  text-decoration: underline;
  font-size: 16px;
  font-weight: 400;
}
.body-link:hover { color: var(--blue-400); }
