/* ==========================================================================
   Discount Deals Auto Sales — site styles
   Brand colors live in :root below. Change them there to restyle the site.
   ========================================================================== */

/* Self-hosted fonts (assets/fonts). Rozha One is the condensed Didone used in the logo; Inter is the body face. */
@font-face {
  font-family: "Rozha One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/rozha-one-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
}

:root {
  --navy-950: #061229;
  --navy-900: #081a3a;
  --navy-800: #0b2149;
  --navy-700: #13306a;
  --blue-600: #1d3f9e;   /* the logo's car blue */
  --blue-500: #2b5be0;
  --blue-50: #eef3ff;
  --red-700: #b50f16;
  --red-600: #e8151c;    /* the logo red */
  --red-500: #ff2b33;
  --red-50: #fff0f2;
  --ink: #0d1526;
  --text: #2a3446;
  --muted: #5d6779;
  --line: #e2e7f0;
  --soft: #f4f6fb;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, .06), 0 2px 8px rgba(13, 21, 38, .05);
  --shadow: 0 14px 34px -14px rgba(13, 21, 38, .28);
  --shadow-lg: 0 30px 60px -20px rgba(6, 18, 41, .45);

  --font-display: "Rozha One", "Bodoni Moda", "Bodoni 72", Didot, Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;   /* Rozha One has one weight: never fake-bold it */
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }   /* the hidden attribute must beat display:flex/grid on cards, panels, chips */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--red { background: var(--red-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(200, 22, 43, .6); }
.btn--red:hover { background: var(--red-700); color: #fff; }
.btn--blue { background: var(--navy-800); color: #fff; }
.btn--blue:hover { background: var(--blue-600); color: #fff; }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--blue-50); color: var(--navy-800); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy-800); }
.link-arrow .icon { transition: transform .18s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #c9d3e8; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; white-space: nowrap; min-width: 0; }
.topbar__item > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.topbar a.topbar__item:hover { color: #fff; }
.topbar__phone { font-weight: 700; color: #fff; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8a94a8; flex: none; }
.is-open .status-dot { background: #2fd27a; box-shadow: 0 0 0 4px rgba(47, 210, 122, .18); }
.is-closed .status-dot { background: var(--red-500); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__logo { display: block; height: 54px; width: auto; }
.site-footer .brand__logo { height: 66px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: -.02em; color: var(--navy-800); }
.brand__sub { margin-top: 5px; font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--red-600); }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  position: relative; padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--red-600); transform: scaleX(0); transition: transform .2s;
}
.nav__menu a:hover { color: var(--red-600); }
.nav__menu a:hover::after, .nav__menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu a[aria-current="page"] { color: var(--red-600); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(43, 98, 232, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 75%);
  padding: 76px 0 150px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red-700);   /* deeper red: small text needs 4.5:1 on the grey sections */
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.hero .eyebrow { color: #ff8a96; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -.005em; margin-bottom: 20px; }
.hero h1 .accent { display: block; color: transparent; -webkit-text-stroke: 0; background: linear-gradient(90deg, #ff5a6b, #ff2e46); -webkit-background-clip: text; background-clip: text; }
.hero__lead { font-size: 18px; color: #c9d3e8; max-width: 540px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: #e4eaf6; }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks .icon { color: #ff6b7a; }
.hero__visual { position: relative; min-height: 400px; }
.hero__visual::before {
  content: ""; position: absolute; top: -140px; bottom: -220px; left: 14%; right: -60vw;
  background: linear-gradient(165deg, var(--red-500), var(--red-700));
  transform: skewX(-12deg);
  box-shadow: -16px 0 0 #fff, -30px 0 0 rgba(255, 255, 255, .18);
}
.hero__car { position: absolute; left: -12%; right: -6%; bottom: 6px; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .38)); }
.hero__car svg { width: 100%; height: auto; }
.hero__badge {
  position: absolute; z-index: 2; top: 30px; right: 4%;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.1; color: var(--navy-800); }
.hero__badge span { font-size: 13px; color: var(--muted); }
.hero__badge .badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); }
.hero__badge .badge-icon .icon { width: 22px; height: 22px; }

/* ---------- Quick search ---------- */
.quick-search { position: relative; z-index: 3; margin-top: -86px; }
.quick-search__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px; align-items: end;
}
.quick-search__title { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.quick-search__title h2 { font-size: 20px; margin: 0; }
.quick-search__title a { font-size: 14px; font-weight: 700; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-size: 15.5px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6779' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(43, 98, 232, .14); }
.field--full { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.form-legend { grid-column: 1 / -1; margin: 10px 0 -4px; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--navy-800); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; }
.form-status.is-success { display: block; background: #e9f9f0; color: #14643a; border: 1px solid #b6e8cb; }
.form-status.is-error { display: block; background: var(--red-50); color: var(--red-700); border: 1px solid #f7c4cb; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.checkbox input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--navy-800); flex: none; }

/* ---------- Section headings ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2, .h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin: 0; }
.section-head p { color: var(--muted); max-width: 560px; margin: 12px 0 0; font-size: 17px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Trust strip ---------- */
.trust { padding: 56px 0 24px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust__item { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--soft); }
.trust__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--red-600); box-shadow: var(--shadow-sm); }
.trust__icon .icon { width: 24px; height: 24px; }
.trust__item h3 { font-size: 17px; margin: 2px 0 4px; }
.trust__item p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Vehicle cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.vcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(180deg, #eef2f9 0%, #dfe5f0 100%); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__media .car-svg { position: absolute; left: 7%; right: 7%; bottom: 14%; width: 86%; height: auto; transition: transform .4s; }
.vcard:hover .vcard__media .car-svg { transform: translateX(6px); }
.media-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, #d3dae7, #c7cfde); }
.media-note { position: absolute; right: 12px; bottom: 10px; font-size: 12px; font-weight: 700; color: var(--text); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em; background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm);
}
.tag--sample { background: #fff7e0; color: #8a5a00; }
.tag--sold { left: auto; right: 12px; background: var(--red-600); color: #fff; }
.vcard__body { display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 22px; flex: 1; }
.vcard__title { font-size: 20px; margin: 0; }
.vcard__title a { color: var(--ink); }
.vcard__title a:hover { color: var(--red-600); }
.vcard__trim { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.specs li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px; background: var(--soft); font-size: 12.5px; white-space: nowrap; font-weight: 600; color: var(--text); }
.specs .icon { color: var(--navy-700); width: 14px; height: 14px; }
.vcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price { font-family: var(--font-display); font-size: 27px; font-weight: 900; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.is-sold .price { text-decoration: line-through; color: var(--muted); }

/* ---------- Body style tiles ---------- */
.bodies { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.body-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.body-tile:hover { border-color: var(--navy-800); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.body-tile svg { width: 100%; max-width: 150px; height: auto; }
.body-tile strong { font-family: var(--font-display); font-size: 17px; }
.body-tile span { font-size: 13px; color: var(--muted); }

/* ---------- Finance block ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red-600); color: #fff; stroke-width: 3; }
.lead { font-size: 18px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.calc { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.calc__head { background: var(--navy-800); color: #fff; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc__head h3 { color: #fff; margin: 0; font-size: 20px; }
.calc__head .icon { width: 26px; height: 26px; color: #ff8a96; }
.calc__body { padding: 26px 28px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__result { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; padding: 18px 20px; border-radius: var(--radius); background: var(--red-50); }
.calc__result span { font-weight: 700; color: var(--ink); }
.calc__result strong { font-family: var(--font-display); font-size: 34px; font-weight: 900; color: var(--red-600); letter-spacing: -.02em; line-height: 1; }
.calc__result small { font-size: 15px; color: var(--muted); font-weight: 600; }
.calc__fine { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); margin: 0; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-prefix input { padding-left: 28px; }
.input-suffix { position: relative; }
.input-suffix > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px;
  font-family: var(--font-display); font-size: 22px; font-weight: 900; color: #fff; background: var(--navy-800);
}
.step:nth-child(2) .step__num { background: var(--red-600); }
.step:nth-child(3) .step__num { background: var(--blue-600); }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px;
  background: linear-gradient(120deg, var(--red-600), var(--red-700));
  color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.cta-banner::before {
  content: ""; position: absolute; top: -40%; bottom: -40%; right: -8%; width: 46%;
  background: var(--navy-800); transform: skewX(-14deg); box-shadow: -14px 0 0 #fff;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; }
.cta-banner p { color: #ffe3e6; font-size: 17px; max-width: 520px; }
.cta-banner__art svg { width: 100%; max-width: 440px; margin-left: auto; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .3)); }

/* ---------- About / why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.why__item { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why__item .icon { width: 30px; height: 30px; color: var(--blue-600); margin-bottom: 14px; }
.why__item h3 { font-size: 19px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }
.review-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--navy-800); color: #fff; }
.review-cta p { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 800; color: #fff; }
.stars { display: inline-flex; gap: 2px; color: #ffc53d; margin-right: 10px; vertical-align: -2px; }
.stars .icon { width: 20px; height: 20px; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.map-frame { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: #dfe5f0; border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-card { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.info-card h3, .info-card h2 { font-size: 22px; }
.info-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .icon { margin-top: 3px; color: var(--red-600); }
.info-list a { color: var(--ink); font-weight: 600; }
.info-list a:hover { color: var(--red-600); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red-600); font-weight: 800; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 60px; color: #fff; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.page-hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -6%; width: 24%;
  background: linear-gradient(165deg, var(--red-500), var(--red-700)); transform: skewX(-14deg); box-shadow: -12px 0 0 #fff;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); font-weight: 900; margin-bottom: 10px; }
.page-hero p { color: #c9d3e8; font-size: 18px; max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: #9fb0d1; }
.crumbs a { color: #c9d3e8; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6c7fa6; }
.crumbs--dark { color: var(--muted); }
.crumbs--dark a { color: var(--muted); }
.crumbs--dark a:hover { color: var(--red-600); }

/* ---------- Inventory page ---------- */
.inv { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: 18px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__head h2 { font-size: 20px; margin: 0; }
.filters__reset { background: none; border: 0; padding: 0; color: var(--blue-600); font-weight: 700; font-size: 14px; cursor: pointer; }
.filters__reset:hover { color: var(--red-600); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); transition: all .15s; }
.chip input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.range-out { float: right; font-weight: 800; color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 13px; }
input[type="range"] { width: 100%; accent-color: var(--red-600); padding: 0; border: 0; }
.inv__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.inv__count { font-weight: 700; color: var(--ink); font-size: 17px; margin: 0; }
.inv__count span { color: var(--muted); font-weight: 500; }
.inv__sort { display: flex; align-items: center; gap: 10px; }
.inv__sort .field select { padding-top: 10px; padding-bottom: 10px; min-width: 210px; }
.filters-toggle { display: none; }
.empty { padding: 60px 24px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.empty h1, .empty h2, .empty h3 { font-size: 22px; }
.empty p { color: var(--muted); }

/* ---------- Vehicle detail ---------- */
.vdp { padding: 36px 0 88px; }
.vdp__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "gallery aside" "main aside"; gap: 0 36px; align-items: start; }
.vdp__gallery { grid-area: gallery; }
.vdp__main { grid-area: main; min-width: 0; }
.vdp__aside { grid-area: aside; position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
.vdp__calc { margin-top: 28px; }
.gallery__main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #eef2f9 0%, #dfe5f0 100%); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main .car-svg { position: absolute; left: 8%; width: 84%; bottom: 13%; height: auto; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--soft); }
.gallery__thumbs button.is-active { border-color: var(--red-600); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.buybox h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; margin: 0 0 4px; }
.buybox__sub { color: var(--muted); margin: 0 0 20px; }
.buybox__price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.buybox__price .price { font-size: 38px; }
.buybox__est { text-align: right; font-size: 14px; color: var(--muted); }
.buybox__est strong { display: block; font-size: 18px; color: var(--ink); font-family: var(--font-display); }
.buybox .btn-stack { display: grid; gap: 10px; }
.buybox__fine { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.panel { margin-top: 28px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.panel h2 { font-size: 23px; margin-bottom: 18px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; }
.spec-grid div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-grid dt { color: var(--muted); font-weight: 500; }
.spec-grid dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.feature-list .icon { color: var(--red-600); stroke-width: 3; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff7e0; color: #6b4600; font-size: 14px; margin-bottom: 18px; }
.notice .icon { margin-top: 2px; }

/* ---------- Financing / FAQ ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.perk .icon { width: 28px; height: 28px; color: var(--red-600); margin-bottom: 12px; }
.perk h3 { font-size: 18px; }
.perk p { margin: 0; color: var(--muted); font-size: 15px; }
.apply { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.side-stack { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.secure-note { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--blue-50); color: var(--navy-800); font-size: 14.5px; }
.secure-note .icon { width: 24px; height: 24px; color: var(--blue-600); }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-weight: 800; font-size: 17.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--red-600); font-size: 20px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }

/* ---------- Thank you ---------- */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; padding: 100px 0; }
.thanks .icon { width: 64px; height: 64px; margin: 0 auto 20px; padding: 14px; border-radius: 50%; background: #e9f9f0; color: #14643a; stroke-width: 3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b7c3dc; font-size: 15px; }
.flag-rule { height: 10px; background: linear-gradient(180deg, var(--red-600) 0 4px, #fff 4px 6px, var(--blue-600) 6px 10px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 64px 0 44px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 16px; letter-spacing: .02em; margin-bottom: 16px; }
.site-footer a { color: #d6deef; }
.site-footer a:hover { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: #ff6b7a; }
.footer__about { margin: 18px 0 0; max-width: 360px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact .icon { margin-top: 4px; color: #ff6b7a; }
.footer__hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.footer__hours dt { color: #fff; font-weight: 600; }
.footer__hours dd { margin: 0; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0 30px; font-size: 12.5px; color: #8796b5; }
.footer__bottom p { margin: 0 0 8px; }
.footer__bottom .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- v2: badges, favorites, compare, gallery, misc ---------- */
.tag--sold { left: auto; right: 12px; background: var(--red-600); color: #fff; }
.tag--pending { background: #fff3cd; color: #7a4b00; }
.tag--new { background: var(--blue-600); color: #fff; }
.tag--drop, .tag--special { background: var(--red-600); color: #fff; }
.tag + .tag:not(.tag--sold) { top: 46px; }
.price-was { display: inline-block; margin-left: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.buybox .price-was { display: block; margin: 4px 0 0; font-size: 15px; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy-800); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .15s, color .15s;
}
.fav-btn:hover { transform: scale(1.08); color: var(--red-600); }
.fav-btn .icon { width: 20px; height: 20px; }
.fav-btn.is-active { color: var(--red-600); }
.fav-btn.is-active .icon { fill: currentColor; }
.vcard { position: relative; }
.vcard.is-sold .fav-btn { display: none; }
.cmp-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.cmp-toggle input { width: 16px; height: 16px; accent-color: var(--navy-800); margin: 0; }
.cmp-toggle span { display: inline-flex; align-items: center; gap: 5px; }
.cmp-toggle .icon { width: 15px; height: 15px; }
.cmp-toggle:hover { color: var(--navy-800); }
.nav__fav { display: inline-flex; align-items: center; gap: 6px; }
.nav__fav .icon { width: 17px; height: 17px; }
.nav__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red-600); color: #fff; font-size: 11.5px; font-weight: 800; }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: var(--navy-900); color: #fff; box-shadow: 0 -8px 24px -12px rgba(6, 18, 41, .5); }
.compare-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; }
.compare-bar .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn.is-disabled { opacity: .5; pointer-events: none; }
body:has(.compare-bar) { padding-bottom: 72px; }
.gallery { position: relative; }
.gallery__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 0; border-radius: 999px; background: rgba(13, 21, 38, .78); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}
.gallery__zoom .icon { width: 16px; height: 16px; }
.gallery__main { outline: none; }
.buybox__tools { display: flex; gap: 8px; margin-top: 14px; }
.tool-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.tool-btn:hover { border-color: var(--navy-800); color: var(--navy-800); }
.tool-btn.is-active { color: var(--red-600); border-color: var(--red-600); }
.tool-btn.is-active .icon { fill: currentColor; }
.tool-btn .icon { width: 17px; height: 17px; }
.notice--sold { background: var(--red-50); color: var(--red-700); }
.panel__sub { color: var(--muted); margin-top: -8px; }
.prose p { color: var(--text); }
.prose p:last-child { margin-bottom: 0; }
/* Links inside running text are distinguishable without relying on colour alone (WCAG 1.4.1, axe link-in-text-block) */
.prose a, .legal__body a, .legal__address a, .legal__meta a, .empty p a, .form-note a, .panel__sub a, .secure-note a, .notice a,
.buybox__est a, .calc__fine a, .hours-note a, .faq details p a, .testimonial p a, .review-cta__sub a { text-decoration: underline; text-underline-offset: 2px; }
.hours-note { font-size: 13.5px; color: var(--muted); margin: -12px 0 20px; }
.filters__close { display: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; place-items: center; }
.filters__close .icon { width: 18px; height: 18px; }
.filters-open .filters__close { display: grid; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.testimonial { margin: 0; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.testimonial > .icon { width: 28px; height: 28px; color: var(--red-600); margin-bottom: 12px; }
.testimonial p { color: var(--text); font-size: 15.5px; }
.testimonial footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink); }
.testimonial .stars { margin: 0; }
.testimonial .stars .icon { width: 16px; height: 16px; }
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .inv .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav__phone { display: none; }
  .bodies { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav__toggle { display: inline-block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .nav__menu { display: flex; }
  .nav__menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__menu a::after { display: none; }
  .hero { padding: 48px 0 130px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 300px; margin: 0 -20px; }
  .hero__visual::before { left: 22%; top: -20px; bottom: -200px; right: -20%; }
  .hero__car { left: 2%; right: 8%; }
  .quick-search__card { grid-template-columns: 1fr 1fr; }
  .quick-search__card .btn { grid-column: 1 / -1; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .visit, .apply, .contact-grid, .vdp__grid { grid-template-columns: 1fr; }
  .vdp__grid { grid-template-areas: "gallery" "aside" "main"; }
  .vdp__aside { position: static; margin-top: 24px; }
  .split { gap: 40px; }
  .steps, .why { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta-banner::before { display: none; }
  .cta-banner__art { display: none; }
  .inv { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(360px, 92vw); border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform .25s; align-content: start; box-shadow: var(--shadow-lg); }
  .filters-open .filters { transform: none; }
  .filters-open::after { content: ""; position: fixed; inset: 0; z-index: 70; background: rgba(6, 18, 41, .5); }
  .filters-toggle { display: inline-flex; }
  .buybox, .side-stack, .filters { position: static; }
  .filters { position: fixed; }
  .map-frame { min-height: 320px; }
  .page-hero::after { width: 18%; right: -10%; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .section { padding: 64px 0; }
  .topbar__address { display: none; }
  .topbar__inner { justify-content: space-between; }
  .nav__actions .btn--red { display: none; }
  .brand__logo { height: 40px; }
  .site-footer .brand__logo { height: 52px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero__badge { top: 0; }
  .hero__checks { gap: 8px 16px; }
  .vgrid { grid-template-columns: 1fr; }
  .checklist, .form-grid, .calc__body, .spec-grid, .feature-list { grid-template-columns: 1fr; }
  .bodies { grid-template-columns: repeat(2, 1fr); }
  .form-card, .info-card, .panel, .buybox { padding: 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .perks { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(6, 18, 41, .3);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 10px; font-size: 12.5px; font-weight: 700; color: var(--navy-800); }
  .mobile-bar a .icon { width: 22px; height: 22px; }
  .mobile-bar a.is-primary { background: var(--red-600); color: #fff; }
  /* the compare bar stacks above the mobile action bar instead of covering Call / Directions / Pre-Qualify */
  .compare-bar { bottom: var(--mobile-bar-h, 64px); }
  body:has(.compare-bar) { padding-bottom: calc(68px + 72px); }
}

@media (max-width: 520px) {
  .page-hero .container { padding-right: 72px; }
  .page-hero::after { width: 22%; right: -14%; }
  .topbar { font-size: 12.5px; }
  .topbar__inner { gap: 10px; }
  .topbar__item .icon { display: none; }
  .quick-search__card { grid-template-columns: 1fr; padding: 20px; }
  .trust__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__badge { display: none; }
  .hero__visual { min-height: 230px; }
  .inv__sort .field select { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   v3: public pages (compare, favorites, specials, about, FAQ, reviews, privacy),
   photo lightbox, inquiry tabs, active-filter chips, home extras, print
   ========================================================================== */
.print-only { display: none; }

/* Header: seven menu items plus "Saved" need room, so labels never wrap, the phone button is icon-only
   (the number is in the top bar) and the menu collapses to the menu button below 1180px */
.brand__name, .nav__menu a { white-space: nowrap; }
.nav__menu a { padding: 10px 11px; font-size: 14.5px; }
.nav__menu a::after { left: 11px; right: 11px; }
.nav__phone { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
.nav__phone .icon { width: 20px; height: 20px; }
.nav__phone-text { display: none; }
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav__toggle { display: inline-block; }
  .nav__menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-open .nav__menu { display: flex; }
  .nav__menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__menu a::after { display: none; }
}

/* Home: browse-by-price links in the quick search card, recently-sold strip */
.quick-search__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; }
.quick-search__links > span { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-weight: 700; color: var(--muted); }
.quick-search__links > span .icon { color: var(--red-600); }
.quick-search__links a { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--navy-800); transition: border-color .15s, background-color .15s; }
.quick-search__links a:hover { border-color: var(--navy-800); background: var(--blue-50); color: var(--navy-800); }
.vgrid--small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vgrid--small .vcard__body { padding: 16px 16px 18px; gap: 10px; }
.vgrid--small .vcard__title { font-size: 17px; }
.vgrid--small .specs, .vgrid--small .vcard__foot .btn { display: none; }
.vgrid--small .price { font-size: 22px; }
.sold-strip .section-head p { font-size: 15.5px; }

/* Inventory: active filter chips */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 22px; }
.active-filters__label { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.afilter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border: 1.5px solid var(--navy-800); border-radius: 999px; background: var(--navy-800); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s; }
.afilter .icon { width: 14px; height: 14px; stroke-width: 2.5; opacity: .8; }
.afilter:hover { background: var(--red-600); border-color: var(--red-600); }
.afilter:hover .icon { opacity: 1; }
.afilter--clear { background: #fff; color: var(--navy-800); border-color: var(--line); }
.afilter--clear:hover { color: #fff; }
.inv__count:focus { outline: none; }

/* Compare page */
.compare-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.compare-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }   /* relative: keeps .sr-only cells clipped inside the scroller */
.compare-wrap:focus-visible { outline-offset: 0; }
.compare { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-size: 15px; }
.compare__label { position: sticky; left: 0; z-index: 2; width: 170px; background: #fff; color: var(--muted); font-weight: 600; box-shadow: 1px 0 0 var(--line); }
.compare thead th { padding: 16px; background: var(--soft); }
.compare thead .compare__label { background: var(--soft); }
.compare__media { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 12px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #eef2f9 0%, #dfe5f0 100%); }
.compare__media img { width: 100%; height: 100%; object-fit: cover; }
.compare__media .car-svg { position: absolute; left: 7%; right: 7%; bottom: 14%; width: 86%; height: auto; }
.compare__title { font-size: 19px; margin: 0; }
.compare__title a { color: var(--ink); }
.compare__title a:hover { color: var(--red-600); }
.compare__vehicle.is-sold .compare__title a { color: var(--muted); }
.compare__trim { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.compare__remove { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; }
.compare__remove:hover { border-color: var(--red-600); color: var(--red-600); }
.compare__remove .icon { width: 14px; height: 14px; }
.compare tbody td { color: var(--ink); font-weight: 600; }
.compare__price { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.compare__price.is-sold { text-decoration: line-through; color: var(--muted); }
.compare__note { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.compare__none { color: var(--muted); }
.compare td.is-best { background: #f0fbf4; }
.compare__best { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #d8f3e2; color: #14643a; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.compare__section th { position: sticky; left: 0; z-index: 2; background: var(--navy-800); color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.compare td.has-feature .icon { width: 22px; height: 22px; color: #14643a; stroke-width: 3; }
.compare tfoot td { border-bottom: 0; }
.compare tfoot .btn-stack { display: grid; gap: 8px; }
.compare tfoot .btn { white-space: normal; }
body[data-page="compare"] .compare-bar { display: none; }
body[data-page="compare"]:has(.compare-bar) { padding-bottom: 0; }

/* Favorites / empty states */
.empty__icon { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--red-600); }
.fav-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 24px; }
.fav-note .icon { flex: none; margin-top: 2px; }

/* Photo lightbox */
html.lightbox-open, html.lightbox-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: auto minmax(0, 1fr) auto; background: rgba(6, 18, 41, .96); color: #fff; }
.lightbox__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.lightbox__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.lightbox__counter { font-size: 14px; font-weight: 600; color: #c9d3e8; font-variant-numeric: tabular-nums; }
.lightbox__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .15s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .26); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__nav { align-self: center; width: 52px; height: 52px; margin: 0 14px; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; padding: 0 4px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 8px; cursor: pointer; user-select: none; -webkit-user-select: none; box-shadow: var(--shadow-lg); }
.lightbox__hint { grid-column: 1 / -1; margin: 0; padding: 10px 16px 14px; text-align: center; font-size: 13px; color: #9fb0d1; }
.lightbox :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gallery__main.has-photos img { cursor: zoom-in; }
.gallery__zoom:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Inquiry tabs (vehicle page) */
.tabs__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 4px; border-radius: 12px; background: var(--soft); }
.tabs__list [role="tab"] { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s; }
.tabs__list [role="tab"] .icon { width: 17px; height: 17px; color: var(--muted); }
.tabs__list [role="tab"]:hover { color: var(--navy-800); }
.tabs__list [role="tab"][aria-selected="true"] { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.tabs__list [role="tab"][aria-selected="true"] .icon { color: var(--red-600); }
.tabs__list [role="tab"]:focus-visible { outline-offset: -3px; }
.tabs__panel:focus-visible { outline-offset: 6px; }
.btn-stack__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-stack__row .btn { padding-left: 10px; padding-right: 10px; }

/* About */
.why--6 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--4 .step { padding: 28px 22px; }
.steps--4 .step h3 { font-size: 19px; }
.prose--lg p { font-size: 17px; }
.about-lang { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.about-lang .icon { color: var(--red-600); }
.testimonial__date { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.faq-nav__title { margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.faq-nav ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 4px; }
.faq-nav li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.faq-nav li a:hover { background: var(--soft); color: var(--red-600); }
.faq-nav li a .icon { color: var(--red-600); }
.faq-nav__card { padding: 22px; }
.faq-nav__card h3 { font-size: 19px; }
.faq-groups { display: grid; gap: 40px; }
.faq-group h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 24px; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group h2 .icon { width: 24px; height: 24px; color: var(--red-600); }
.faq-group .faq { max-width: none; margin: 0; }
.faq details p a { font-weight: 600; }

/* Reviews */
.review-cta--top { margin-top: 0; }
.review-cta__sub { display: block; margin-top: 6px; font-size: 14.5px; color: #c9d3e8; }
.reviews-avg { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--muted); }
.reviews-avg strong { font-size: 18px; color: var(--ink); }

/* Privacy policy */
.legal { max-width: 860px; }
.legal__review { background: #fff7e0; }
.legal__meta { margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.legal__toc { margin-bottom: 32px; padding: 20px 24px; border-radius: var(--radius); background: var(--soft); font-size: 15px; }
.legal__toc strong { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal__toc li { margin: 4px 0; break-inside: avoid; }
.legal__body h2 { margin: 36px 0 12px; font-size: 22px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal__body ul { padding-left: 22px; color: var(--text); }
.legal__body li { margin-bottom: 8px; }
.legal__address { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); font-style: normal; line-height: 1.8; }

@media (max-width: 1100px) {
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .vgrid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .why--6 { grid-template-columns: 1fr 1fr; }
  .steps--4 { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-nav { position: static; }
  .faq-nav ul { display: flex; flex-wrap: wrap; }
  .faq-nav__card { display: none; }
}
@media (max-width: 760px) {
  .why--6 { grid-template-columns: 1fr; }
  .vgrid--small { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vgrid--small .vcard__title { font-size: 15.5px; }
  .vgrid--small .vcard__body { padding: 12px 12px 14px; }
  .compare-tools .btn-row { width: 100%; }
  .compare th, .compare td { padding: 10px 12px; font-size: 14px; }
  .compare__label { width: 118px; font-size: 13px; }
  .compare thead th { padding: 12px; }
  .compare__title { font-size: 16px; }
  .compare__price { font-size: 20px; }
  .compare { min-width: 0; }
  .compare--3 { min-width: 640px; }
  .compare--2 { min-width: 460px; }
  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; margin: 0; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__stage { grid-column: 1; }
  .lightbox__img { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); }
  .lightbox__hint { display: none; }
}
@media (max-width: 600px) { .legal__toc ol { columns: 1; } }
@media (max-width: 420px) { .btn-stack__row { grid-template-columns: 1fr; } }

/* ---------- Print: vehicle page prints as a clean window sticker ---------- */
@media print {
  @page { margin: 12mm; }
  html, body { background: #fff !important; color: #000; }
  body { padding-bottom: 0 !important; font-size: 11.5pt; }
  .topbar, .site-header, .mobile-bar, .site-footer, .hero__visual, .compare-bar, .lightbox, .skip-link,
  .crumbs, .gallery__zoom, .gallery__thumbs, .buybox .btn-stack, .buybox__tools, .buybox__est a, #calc, #inquire,
  .vdp .section, .notice:not(.notice--sold), .fav-btn, .cmp-toggle, .compare__remove, .compare-tools, .review-cta,
  .active-filters, .filters, .inv__sort, .form-note, .quick-search, [data-similar], .print-hide { display: none !important; }
  .print-only { display: block !important; }
  .vdp { padding: 0; }
  .vdp__grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "aside" "gallery" "main"; gap: 14px; }
  .vdp__aside { position: static; margin: 0; }
  .buybox { position: static; padding: 0 0 10px; border: 0; border-bottom: 2px solid #000; border-radius: 0; box-shadow: none; }
  .buybox h1 { font-size: 24pt; }
  .buybox__sub { margin-bottom: 6px; }
  .buybox__price { margin: 0; padding: 6px 0; border: 0; }
  .buybox__price .price { font-size: 28pt; }
  .buybox__fine { font-size: 8.5pt; }
  .gallery__main { aspect-ratio: auto; max-height: 85mm; border-radius: 0; background: none; break-inside: avoid; }
  .gallery__main img { width: auto; max-width: 100%; height: auto; max-height: 85mm; object-fit: contain; }
  .gallery__main .car-svg { position: static; width: 55%; margin: 0 auto; }
  .media-floor, .media-note, .tag { display: none; }
  .panel { margin-top: 12px; padding: 0; border: 0; break-inside: avoid; }
  .panel h2 { padding-bottom: 4px; border-bottom: 1px solid #000; font-size: 14pt; margin-bottom: 8px; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .spec-grid div { padding: 4px 0; }
  .feature-list { grid-template-columns: 1fr 1fr; gap: 3px 20px; }
  .feature-list .icon { color: #000; }
  .print-dealer { margin-top: 14px; padding-top: 10px; border-top: 2px solid #000; font-size: 10.5pt; }
  .print-dealer small { display: block; margin-top: 6px; font-size: 8pt; color: #444; }
  a { color: inherit; text-decoration: none; }
  .compare-wrap { overflow: visible; border: 0; }
  .compare { min-width: 0; }
  .compare__label, .compare__section th { position: static; }
}
