:root {
  --bg: #ffffff;
  --bg-soft: #faf9f5;
  --card: #ffffff;
  --line: #e6e6ea;
  --text: #18181b;
  --muted: #5c5c64;
  --accent: #ffd400;
  --accent-2: #ffe24d;
  --accent-ink: #8a6b00;   /* legible "gold" for small text on white */
  --dark: #0f0f12;         /* header / footer band */
  --dark-soft: #1a1a1e;
  --radius: 14px;
  --max: 1180px;
  font-synthesis: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header (dark band) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark);
  border-bottom: 3px solid var(--accent);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .5px; color: #fff; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #14181f; font-weight: 800; font-size: 18px;
}
.brand .logo-img { height: 40px; width: auto; object-fit: contain; display: block; }
.brand b { font-size: 19px; color: #fff; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #c8c8cf; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1a1a; border: none; cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,212,0,.45); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; padding: 4px; }
.nav-actions { display: flex; align-items: center; gap: 14px; position: relative; }

/* ---------- Hero (photo + dark overlay) ---------- */
/* To add your own photo: drop a file at images/hero.jpg — it shows through the overlay automatically. */
/* ---- Clean full-image hero slideshow (Everyday Cars style) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero {
  position: relative; width: 100%; height: clamp(440px, 46vw, 620px); overflow: hidden;
  background: var(--dark); border-bottom: 3px solid var(--accent);
}
/* prev / next arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(15,15,18,.42); color: #fff; font-size: 26px; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.hero-arrow:hover { background: var(--accent); color: #1a1a1a; }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
@media (max-width: 640px) { .hero-arrow { display: none; } }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05); transition: opacity 1.1s ease, transform 6s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
/* subtle bottom fade so the dots read on any photo */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(8,8,10,.5), transparent);
}
/* dots */
.hero-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; gap: 9px; justify-content: center; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(0,0,0,.4); transition: background .25s, width .25s; }
.hero-dot.is-active { background: var(--accent); width: 28px; }

/* ---- Homepage search bar ---- */
.searchbar { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.06); padding: 18px 0; }
.search-form {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 1.4fr) auto; gap: 10px; align-items: center;
  background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; max-width: none; margin: 0;
}
.search-form select, .search-form input {
  width: 100%; box-sizing: border-box; height: 54px; padding: 0 14px; border-radius: 10px;
  border: 1px solid #d3d3d8; background: #fff; color: #1a1a1a; font-size: 14.5px; font-family: inherit;
  appearance: auto; box-shadow: 0 2px 6px rgba(0,0,0,.14);
}
.search-form select:focus, .search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,212,0,.35); }
.search-form input::placeholder { color: #8b8b92; }
.sf-btn {
  height: 54px; width: 58px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--accent); color: #1a1a1a; display: grid; place-items: center; transition: filter .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.sf-btn:hover { filter: brightness(1.06); }
@media (max-width: 900px) {
  .search-form { grid-template-columns: repeat(2, 1fr); }
  .sf-btn { grid-column: span 2; width: 100%; }
}

/* ---------- Trust badges band ---------- */
.badges { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.badges .container { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center; padding-top: 28px; padding-bottom: 28px; }
.badge-item { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 16px; color: var(--text); }
.badge-item::before { content: "✓"; color: #1a1a1a; background: var(--accent); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 800; flex: none; }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #1a1a1a; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin: 0 auto 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Reviews placeholder ---------- */
.reviews-box { background: var(--card); border: 1px dashed #d4d4da; border-radius: var(--radius); padding: 46px 28px; text-align: center; margin-top: 36px; }
.reviews-box .stars { color: var(--accent); font-size: 28px; letter-spacing: 4px; }
.reviews-box p { color: var(--muted); margin-top: 10px; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- Map ---------- */
.map { width: 100%; border: 0; border-radius: var(--radius); min-height: 320px; display: block; filter: grayscale(.1); }
.map-consent {
  min-height: 220px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); display: grid; place-content: center; gap: 8px;
  padding: 28px; text-align: center; color: var(--muted);
}
.map-consent strong { color: var(--text); }
.map-consent a { color: var(--accent-ink); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 106px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent-ink); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.section h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 10px 0 16px; }
.section .lead { color: var(--muted); max-width: 62ch; font-size: 18px; }
.section-note { color: var(--accent-ink); font-weight: 600; margin-top: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
/* ---------- Sections ---------- */
.section { padding: 106px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent-ink); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.section h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 10px 0 16px; }
.section .lead { color: var(--muted); max-width: 62ch; font-size: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.feature .ico {
  font-size: 24px; margin-bottom: 14px; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,212,0,.18);
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* About split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .media {
  border-radius: 18px; min-height: 380px; border: 1px solid rgba(255,212,0,.22);
  background:
    radial-gradient(520px 300px at 50% 10%, rgba(255,212,0,.22), transparent 62%),
    linear-gradient(160deg, #1c1c22 0%, #101014 45%, #060608 100%);
  display: grid; place-items: center; align-content: center;
  color: rgba(255,255,255,.72); position: relative; overflow: hidden;
  gap: 8px; padding: 44px 30px; text-align: center;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
}
/* thin inner gold frame */
.split .media::before {
  content: ""; position: absolute; inset: 14px; border-radius: 12px;
  border: 1px solid rgba(255,212,0,.28); box-shadow: inset 0 0 44px rgba(255,212,0,.06);
  pointer-events: none;
}
/* slow diagonal sheen */
.split .media::after {
  content: ""; position: absolute; top: -60%; left: -40%; width: 55%; height: 220%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.10), transparent);
  transform: rotate(8deg); pointer-events: none; animation: aa-sheen 7s ease-in-out infinite;
}
@keyframes aa-sheen { 0%,62%{ left: -45%; opacity: 0; } 76%{ opacity: 1; } 100%{ left: 135%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .split .media::after { animation: none; display: none; } }
/* To use a showroom/dealership photo instead, set: background-image: url("images/showroom.jpg"); background-size: cover; */
.split .media .logo-lg { width: 172px; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 0 24px rgba(255,212,0,.35)); }
.split .media .media-divider { position: relative; z-index: 1; width: 46px; height: 3px; border-radius: 3px; background: var(--accent); margin: 8px auto 4px; }
.split .media .media-name { position: relative; z-index: 1; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: .4px; }
.split .media .media-cap { position: relative; z-index: 1; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }

/* ---- About photo showcase (crossfade + Ken Burns zoom) ---- */
.media-showcase {
  position: relative; border-radius: 18px; overflow: hidden;
  min-height: 420px; height: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.55);
  background: #101014;
}
.media-showcase .ms-slides { position: absolute; inset: 0; }
.media-showcase .ms-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; will-change: opacity, transform;
  animation: ms-fade 21s infinite;
}
.media-showcase .ms-slide:nth-child(1) { animation-delay: 0s; }
.media-showcase .ms-slide:nth-child(2) { animation-delay: 7s; }
.media-showcase .ms-slide:nth-child(3) { animation-delay: 14s; }
@keyframes ms-fade {
  0%   { opacity: 0; transform: scale(1.0); }
  5%   { opacity: 1; }
  28%  { opacity: 1; }
  33%  { opacity: 0; transform: scale(1.1); }
  34%  { transform: scale(1.0); }
  100% { opacity: 0; transform: scale(1.0); }
}
.media-showcase .ms-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 46px 24px 20px; text-align: left;
  background: linear-gradient(to top, rgba(8,8,10,.85), rgba(8,8,10,0));
  color: #fff;
}
.media-showcase .ms-cap b { display: block; font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.media-showcase .ms-cap span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.media-showcase::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,212,0,.18);
}
@media (prefers-reduced-motion: reduce) {
  .media-showcase .ms-slide { animation: none; transform: none; }
  .media-showcase .ms-slide:nth-child(1) { opacity: 1; }
}
.about-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; color: var(--muted); }
.about-list li::before { content: "✓"; color: #1a1a1a; font-weight: 800; background: var(--accent); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; flex: none; font-size: 13px; }

/* ---------- Inventory ---------- */
.page-head {
  padding: 64px 0 36px;
  background:
    radial-gradient(900px 380px at 72% -20%, rgba(255,212,0,.22), transparent 60%),
    linear-gradient(180deg, #ffffff, #faf9f5);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(30px, 4vw, 46px); }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 60ch; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 32px 0 8px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer; font-size: 14px; transition: all .15s;
}
.chip.active, .chip:hover { color: #1a1a1a; background: var(--accent); border-color: var(--accent); font-weight: 600; }

.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }

/* ---- section header with a top-right "View all" link ---- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.viewall { color: var(--accent-ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.viewall:hover { color: var(--text); }

/* ---- Everyday Cars-style dark slider ---- */
.ec-cars { background: var(--dark); color: #fff; overflow: hidden; }
.ec-cars .eyebrow { color: var(--accent); }
.ec-cars h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.ec-cars .ec-sub { color: #b6b6bf; font-size: 17px; margin: 10px 0 0; max-width: 60ch; }
.ec-cars .viewall { color: #cfcfd6; }
.ec-cars .viewall:hover { color: #fff; }

.ec-slider { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.ec-arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #9a9aa2; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: color .15s, background .15s; }
.ec-arrow:hover { color: #fff; background: rgba(255,255,255,.08); }
.ec-arrow:disabled { opacity: .3; cursor: default; }

.ec-viewport { flex: 1 1 auto; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory; }
.ec-viewport::-webkit-scrollbar { display: none; }
.ec-track { display: flex; gap: 22px; width: 100%; align-items: stretch; }
.ec-track.is-centered { width: 100%; justify-content: center; }

.ec-card {
  flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; text-decoration: none; color: var(--text);
  background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,.16); transition: transform .28s ease, box-shadow .28s ease;
}
.ec-card:hover { transform: translateY(-10px); box-shadow: 0 26px 50px rgba(0,0,0,.30); }
.ec-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0c0e; }
.ec-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ec-card:hover .ec-photo img { transform: scale(1.05); }
.ec-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 40px; }
.ec-badge { position: absolute; top: 11px; left: 11px; background: var(--accent); color: #1a1a1a; font-weight: 800; font-size: 11px; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.22); }
.ec-fav { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.9); color: #6a6a72; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: color .18s, background .18s, transform .18s; }
.ec-fav:hover { transform: scale(1.08); color: #e23b52; }
.ec-fav.is-fav { color: #e23b52; }
.ec-fav.is-fav svg { fill: #e23b52; }
.ec-body { padding: 15px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; }
.ec-title { margin: 0; font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.25; }
.ec-pricewrap { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ec-price { margin: 0; font-size: 22px; font-weight: 800; color: var(--text); }
.ec-finance { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.ec-specs { list-style: none; padding: 0; margin: 2px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.ec-specs li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.ec-specs li::before { content: "✓"; color: var(--accent-ink); font-weight: 800; }
.ec-btn { margin-top: auto; text-align: center; background: var(--accent); color: #1a1a1a; font-weight: 800; font-size: 14.5px; padding: 11px; border-radius: 9px; transition: background .2s, color .2s; }
.ec-card:hover .ec-btn { background: var(--dark); color: var(--accent); }

.ec-viewall-wrap { display: flex; justify-content: center; margin-top: 36px; }
.ec-viewall-btn { display: inline-block; padding: 13px 30px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.ec-viewall-btn:hover { background: var(--accent); color: #1a1a1a; }

/* Tablet: 2 cards across, arrows slide to the rest. */
@media (max-width: 1040px) and (min-width: 701px) {
  .ec-card { flex: 0 0 calc((100% - 22px) / 2); }
}

@media (max-width: 700px) { .ec-card { flex-basis: 268px; } .ec-arrow { width: 34px; font-size: 26px; } }
.car {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.car:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.car .thumb {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f3f3f5, #e7e7ea);
  display: grid; place-items: center; font-size: 52px; color: rgba(0,0,0,.18);
}
.car .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car .tag {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #1a1a1a;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
}
.car .body { padding: 18px 20px 22px; }
.car h3 { font-size: 18px; }
.car .meta { color: var(--muted); font-size: 13px; margin: 6px 0 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.car .price { font-size: 22px; font-weight: 800; color: var(--text); }
.car .row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.car .row .btn { padding: 9px 16px; font-size: 14px; }
.car .thumb .pcount { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; background: rgba(15,15,18,.78); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.car .thumb .pcount svg { display: block; }
.car .meta { gap: 8px; }
.car .meta span { background: #f3f3f5; color: #2a2a30; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.car .cardhi { color: var(--accent-ink); font-weight: 700; font-size: 13.5px; margin: 4px 0 8px; }
.car .loc { color: var(--muted); font-size: 13px; margin: 2px 0 4px; }
.filter-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 11px 18px; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.filter-btn .fi { font-size: 16px; line-height: 1; }
.filter-btn:hover, .filter-btn.open { border-color: var(--accent); }
.filter-btn.has-active { border-color: var(--accent); background: rgba(255,212,0,.12); }
.filter-count { color: var(--accent-ink); font-weight: 800; }
.filter-bar[hidden] { display: none; }
.filter-bar { margin-bottom: 4px; }
.results-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.results-bar .results-count { margin: 0; }
.sort-field { display: flex; flex-direction: column; gap: 6px; min-width: 190px; }
.sort-field label { font-size: 12px; font-weight: 700; color: var(--muted); }
.sort-field select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-color: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 30px 8px 12px; font-size: 14px; font-family: inherit; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.sort-field select:focus { outline: none; border-color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 16px; }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.info-card .ico {
  font-size: 22px; width: 46px; height: 46px; border-radius: 11px; flex: none;
  display: grid; place-items: center; background: rgba(255,212,0,.2);
}
.info-card h3 { font-size: 16px; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); font-size: 15px; }
.info-card a:hover { color: var(--accent-ink); }

form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; margin-bottom: 7px; color: var(--text); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,212,0,.25); }
.field textarea { resize: vertical; min-height: 120px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ---------- Make / Model filter bar ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-end;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.filter-field { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 170px; }
.filter-field label { font-size: 13px; font-weight: 700; color: var(--text); }
.filter-field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-color: #fff; color: var(--text); border: 0; border-bottom: 2px solid var(--text);
  padding: 9px 30px 9px 2px; font-size: 16px; font-family: inherit; cursor: pointer; border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.filter-field select:focus { outline: none; border-bottom-color: var(--accent); }
.filter-reset {
  background: none; border: 0; color: var(--accent-ink); font-weight: 700; font-size: 14px;
  cursor: pointer; padding: 10px 4px; white-space: nowrap;
}
.filter-reset:hover { text-decoration: underline; }
.results-count { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.no-results { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- Car card link wrapper ---------- */
.car-media { display: block; }
.car h3 a { color: inherit; }
.car h3 a:hover { color: var(--accent-ink); }

/* ---------- Vehicle detail page ---------- */
.detail { padding: 28px 0 80px; }
.crumb { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.crumb a { color: var(--accent-ink); }
.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }

/* Gallery */
.gmain {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: #e9e9ec; display: grid; place-items: center; border: 1px solid var(--line);
}
.gmain .gblur { display: none; }
.gmain #mainImg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; }
.gmain .ph { text-align: center; color: rgba(0,0,0,.32); padding: 16px; }
.gmain .ph .ico { font-size: 66px; line-height: 1; }
.gmain .ph small { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.gnav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15,15,18,.72); color: #fff; border: none; cursor: pointer; font-size: 20px; display: grid; place-items: center;
}
.gnav:hover { background: var(--accent); color: #1a1a1a; }
.gnav.prev { left: 12px; } .gnav.next { right: 12px; }
.gcount { position: absolute; bottom: 12px; right: 12px; z-index: 2; background: rgba(15,15,18,.72); color: #fff; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.gbadge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(15,15,18,.72); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.thumb-btn {
  position: relative; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; cursor: pointer; padding: 0;
  background: linear-gradient(135deg, #f3f3f5, #e7e7ea); border: 2px solid transparent;
  display: grid; place-items: center; color: rgba(0,0,0,.3); font-size: 20px;
}
.thumb-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb-btn.active { border-color: var(--accent); }

/* Title block */
.veh-title { margin-top: 26px; }
.veh-title h1 { font-size: clamp(24px, 3.4vw, 34px); }
.veh-title .sub { color: var(--muted); margin-top: 4px; }
.veh-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 16px 0 4px; }
.veh-price .big { font-size: 32px; font-weight: 800; }
.veh-price .note { color: var(--muted); font-size: 14px; }
.veh-finance { color: var(--text); font-size: 15px; margin-top: 6px; }
.veh-finance b { color: var(--accent-ink); }

/* Spec grid */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 26px; }
.spec-grid .cell { background: #fff; padding: 16px 18px; }
.spec-grid .cell span { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.spec-grid .cell b { font-size: 16px; }

.detail h2 { font-size: 22px; margin: 38px 0 12px; }
.veh-desc { color: var(--text); }
.veh-desc p { margin-bottom: 12px; }

/* Features accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:last-child { border-bottom: none; }
.acc summary { cursor: pointer; padding: 15px 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--accent-ink); font-size: 20px; font-weight: 700; }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 18px 16px; }
.acc .acc-body ul { list-style: none; columns: 2; gap: 24px; }
.acc .acc-body li { padding: 4px 0 4px 22px; position: relative; color: var(--muted); font-size: 14.5px; break-inside: avoid; }
.acc .acc-body li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 800; }

/* History checks */
.checks { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.checks .passed { color: #1a7f37; font-weight: 700; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(26,127,55,.06); }
.checks .row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.checks .row:last-child { border-bottom: none; }
.checks .row .tick { color: #1a7f37; font-weight: 800; flex: none; }

/* Seller card (sticky) */
.seller { position: sticky; top: 92px; }
.seller-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.seller-card h3 { font-size: 18px; margin-bottom: 14px; }
.seller-card .btn { width: 100%; text-align: center; margin-bottom: 10px; }
.seller-card .btn.ghost { color: var(--text); border-color: var(--line); }
.seller-card .btn.ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.seller-card .addr { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.5; }
.tag-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tag-strip span { background: rgba(255,212,0,.18); color: var(--accent-ink); font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 6px; }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .seller { position: static; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
  .acc .acc-body ul { columns: 1; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 84px; }
.legal .narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 26px; font-size: 14px; }
.legal h2 { font-size: 21px; margin: 30px 0 10px; }
.legal p { color: var(--text); margin-bottom: 12px; }
.legal ul { margin: 8px 0 14px 22px; }
.legal li { color: var(--text); margin-bottom: 6px; }
.legal a { color: var(--accent-ink); text-decoration: underline; }
.legal .notice { background: rgba(255,212,0,.14); border: 1px solid var(--accent); border-radius: 10px; padding: 14px 16px; margin-bottom: 28px; font-size: 14px; color: var(--text); }

/* ---------- CTA band ---------- */
.cta {
  margin: 0 auto; text-align: center; padding: 70px 0;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(255,212,0,.3), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(26px, 3.5vw, 36px); }
.cta p { color: var(--muted); margin: 12px 0 26px; }

/* ---------- Footer (dark band) ---------- */
.site-footer { background: var(--dark); color: #c8c8cf; border-top: 3px solid var(--accent); padding: 48px 0 28px; }
.site-footer .brand b, .site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1fr; gap: 36px; }
.footer-grid p { color: #9a9aa2; font-size: 14px; margin-top: 12px; max-width: 38ch; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #87878f; margin-bottom: 14px; }
.footer-col a { display: block; color: #e6e6ea; font-size: 15px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #26262b; margin-top: 36px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #87878f; font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; z-index: 49;
    background: var(--dark); border-bottom: 3px solid var(--accent);
    padding: 10px 24px 20px;
  }
  .nav-links.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .grid-3, .cars, .process { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .grid-3, .cars, .two, .process, .calc-grid { grid-template-columns: 1fr; }
  .hero { padding: 84px 0 70px; }
}

/* ---------- FAQ accordion (reuses .acc pattern, single column) ---------- */
.faq-acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.faq-acc details { border-bottom: 1px solid var(--line); }
.faq-acc details:last-child { border-bottom: none; }
.faq-acc summary { cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 16px; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after { content: "+"; color: var(--accent-ink); font-size: 22px; font-weight: 700; flex: none; }
.faq-acc details[open] summary::after { content: "–"; }
.faq-acc .acc-body { padding: 0 20px 20px; color: var(--muted); }
.faq-acc .acc-body p { margin-bottom: 10px; }
.faq-group { margin-top: 40px; }
.faq-group:first-child { margin-top: 0; }
.faq-group h2 { font-size: 20px; margin-bottom: 14px; }

/* ---------- Finance calculator ---------- */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-result { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: rgba(255,212,0,.14); border: 1px solid var(--accent); text-align: center; }
.calc-result .amount { font-size: 34px; font-weight: 800; }
.calc-result .amount span { font-size: 16px; font-weight: 500; color: var(--muted); }
.calc-note { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* ---------- Simple content pages (finance / sourcing / warranty) ---------- */
.info-list { list-style: none; margin-top: 18px; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; color: var(--muted); }
.info-list li::before { content: "✓"; color: #1a1a1a; font-weight: 800; background: var(--accent); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; flex: none; font-size: 13px; }

/* ---------- Form status message ---------- */
.form-status { font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28); font-size: 13px; line-height: 1.3; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.34); }
.whatsapp-fab .wa-ico { font-size: 22px; flex: none; }
.whatsapp-fab .wa-text { display: none; }
@media (min-width: 640px) {
  .whatsapp-fab .wa-text { display: block; }
}

/* ---------- Sticky mobile call bar ---------- */
.sticky-call-bar { display: none; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--dark); color: #c8c8cf; padding: 18px 24px;
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  border-top: 3px solid var(--accent);
}
.cookie-banner p { max-width: 640px; font-size: 14px; margin: 0; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 10px 20px; font-size: 14px; }

body.cookie-banner-open .whatsapp-fab,
body.cookie-banner-open .sticky-call-bar { display: none !important; }

@media (max-width: 560px) {
  .whatsapp-fab { bottom: 78px; right: 14px; padding: 12px; }
  .sticky-call-bar {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 59;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1a1a; font-weight: 800; padding: 14px 16px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.18);
  }
  body { padding-bottom: 58px; }
}
