/* Carz 4 Sale Inc – site styles */
:root {
  --red: #e1141f;
  --red-dark: #b30e17;
  --red-glow: rgba(225, 20, 31, .45);
  --ink: #0c0d10;
  --ink-2: #1a1c22;
  --ink-3: #2a2d35;
  --muted: #6b7280;
  --line: #e6e7eb;
  --bg: #f3f4f6;
  --card: #ffffff;
  --green: #138a4b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(15,17,22,.07);
  --shadow-lg: 0 20px 50px rgba(15,17,22,.18);
  --max: 1260px;
  --display: "Barlow Condensed", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; } /* keep jump-to sections clear of the sticky header */
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--red); color: #fff; }

/* Scroll reveal (only hidden once JS marks them, so content never disappears without JS) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 20px -6px var(--red-glow); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 10px 28px -6px var(--red-glow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: rgba(127,127,127,.1); }
.btn-ghost { background: #f1f2f4; color: var(--ink); }
.btn-ghost:hover { background: #e4e6ea; }
.btn-white { background: #fff; color: var(--ink); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: 14px; border-radius: 8px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* Top bar + header (dark) */
.topbar { background: #000; color: #a9aeb8; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { text-decoration: none; color: #e5e7eb; }
.topbar .open-now { color: #4ade80; }
.topbar .closed-now { color: #f87171; }

.site-header { background: rgba(12,13,16,.96); color: #fff; position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .3s, background .3s; }
.site-header.scrolled { background: rgba(12,13,16,.92); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, #ff3b45, var(--red) 55%, #9c0b13);
  display: grid; place-items: center; font-family: var(--display); font-size: 24px; font-weight: 800; font-style: italic;
  box-shadow: 0 6px 18px -4px var(--red-glow);
}
.logo-text { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: .9; letter-spacing: .5px; white-space: nowrap; font-style: italic; }
.logo-text small { display: block; font-family: "Inter", sans-serif; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 2.4px; color: #8b919c; margin-top: 5px; }
.logo-text span { color: var(--red); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 11px; color: #d4d7dd; white-space: nowrap; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover, .nav a.active { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 8px 16px 18px; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.4);
  }
  .nav.open { display: flex; animation: drop .25s ease; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; }
  .topbar .hide-sm { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 70% at 78% 62%, rgba(225,20,31,.38), transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 0%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(180deg, #0c0d10 0%, #121419 100%);
}
.hero::after { /* subtle grid floor */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px; transform: perspective(500px) rotateX(60deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding: 70px 16px 130px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(225,20,31,.15); border: 1px solid rgba(225,20,31,.5); color: #ff8a90; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 22px; }
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,20,31,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(225,20,31,0); } }
.hero h1 { font-family: var(--display); font-size: clamp(52px, 8.5vw, 104px); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .88; letter-spacing: -.5px; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: transparent; -webkit-text-stroke: 2px #fff; display: block; }
.hero h1 strong { color: var(--red); display: block; font-weight: 800; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: #b9bec8; max-width: 520px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats div { border-left: 2px solid var(--red); padding-left: 14px; }
.hero-stats b { display: block; font-family: var(--display); font-size: 36px; font-weight: 800; line-height: 1; }
.hero-stats span { font-size: 13px; color: #9aa0ab; text-transform: uppercase; letter-spacing: 1px; }

.hero-art { position: relative; }
.hero-art svg { width: 104%; max-width: none; margin-left: 0; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.speed { position: absolute; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: speed 2.4s linear infinite; opacity: 0; }
.speed.s1 { top: 30%; width: 40%; animation-delay: 0s; }
.speed.s2 { top: 48%; width: 55%; animation-delay: .8s; background: linear-gradient(90deg, transparent, rgba(225,20,31,.9), transparent); }
.speed.s3 { top: 66%; width: 35%; animation-delay: 1.5s; }
@keyframes speed { 0% { left: 100%; opacity: 0; } 15% { opacity: 1; } 100% { left: -50%; opacity: 0; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 110px; }
  .hero-art { order: -1; margin: 0 -16px -10px; }
  .hero-art svg { width: 100%; margin: 0; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 30px; }
}

/* Quick search card */
.quick-search { margin-top: -70px; position: relative; z-index: 3; }
.quick-search form {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end;
  border-top: 4px solid var(--red);
}
@media (max-width: 900px) { .quick-search form { grid-template-columns: 1fr 1fr; } .quick-search .btn { grid-column: 1 / -1; } }

label.field { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .6px; }
label.field > span { display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 13px; border: 1.5px solid #dfe2e7; border-radius: 10px;
  background: #fff; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 500; transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover, textarea:hover { border-color: #c4c8cf; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(225,20,31,.12); }
textarea { min-height: 110px; resize: vertical; }

/* Sections */
section.block { padding: 84px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2, .display { font-family: var(--display); font-size: clamp(38px, 5vw, 58px); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .95; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 800; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.dark { background: var(--ink); color: #fff; }
.dark .section-head p, .dark .muted { color: #9aa0ab; }

/* Tabs (featured filter) */
.tabs { display: flex; gap: 6px; background: #fff; padding: 5px; border-radius: 12px; box-shadow: var(--shadow); flex-wrap: wrap; }
.tabs button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 8px; cursor: pointer; color: var(--muted); transition: .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button.active { background: var(--ink); color: #fff; }

/* Vehicle cards */
.grid-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.car-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  animation: cardIn .5s ease both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.car-photo { position: relative; aspect-ratio: 4 / 3; background: #e9ebef; overflow: hidden; display: block; }
.car-photo img, .car-photo svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.car-card:hover .car-photo img, .car-card:hover .car-photo svg { transform: scale(1.06); }
.car-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.35), transparent); pointer-events: none; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 6px; letter-spacing: 1px; }
.tag.sold { background: var(--ink); }
.body-chip { position: absolute; bottom: 12px; left: 12px; z-index: 1; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.photo-count { position: absolute; bottom: 12px; right: 12px; z-index: 1; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 6px; }
.car-body { padding: 18px 18px 14px; display: flex; flex-direction: column; flex: 1; }
.car-eyebrow { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.car-title-link { text-decoration: none; }
.car-title { font-family: var(--display); font-size: 28px; font-weight: 800; font-style: italic; text-transform: uppercase; margin: 2px 0 12px; line-height: 1; transition: color .2s; }
.car-title-link:hover .car-title { color: var(--red); }
.car-pricing { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.car-price { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--red); line-height: 1; }
.car-price.call { font-size: 24px; color: var(--ink); }
.car-down { font-size: 13px; font-weight: 700; background: #fde8ea; color: var(--red-dark); padding: 5px 10px; border-radius: 999px; }
.car-down.call { background: #f1f2f4; color: var(--muted); }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 14px 0; border-top: 1px dashed var(--line); margin-top: auto; }
.car-specs span { display: flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.car-specs svg { width: 15px; height: 15px; color: var(--red); flex: none; }
.car-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.car-stock { font-size: 11.5px; color: #9ca3af; margin-top: 10px; text-align: center; letter-spacing: .5px; }

/* Body-type tiles */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.type-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 20px; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid rgba(255,255,255,.07); transition: transform .3s, border-color .3s;
}
.type-tile:hover { transform: translateY(-4px); border-color: var(--red); }
.type-tile svg { width: 100%; height: 70px; margin: 4px 0 14px; color: #fff; transition: transform .4s, color .3s; }
.type-tile:hover svg { transform: translateX(6px); color: var(--red); }
.type-tile b { display: block; font-family: var(--display); font-size: 26px; font-style: italic; text-transform: uppercase; line-height: 1; }
.type-tile span { font-size: 13px; color: #9aa0ab; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-item { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-item::after { content: attr(data-n); position: absolute; right: 14px; top: 0; font-family: var(--display); font-size: 96px; font-weight: 800; font-style: italic; color: #f1f2f4; line-height: 1; z-index: 0; }
.why-item > * { position: relative; z-index: 1; }
.why-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 24px -8px var(--red-glow); }
.why-icon svg { width: 26px; height: 26px; }
.why-item h3 { font-family: var(--display); font-size: 26px; font-style: italic; text-transform: uppercase; }
.why-item p { color: var(--muted); margin: 0; font-size: 15px; }

/* Makes marquee */
.marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: #08090b; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { font-family: var(--display); font-size: 30px; font-weight: 800; font-style: italic; text-transform: uppercase; color: #3d414b; text-decoration: none; transition: color .2s; white-space: nowrap; }
.marquee a:hover { color: #fff; }
.marquee a sup { font-size: 14px; color: var(--red); margin-left: 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Visit section */
.visit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }
.visit .map { height: 100%; min-height: 340px; }
.visit-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; }
.visit-card .hours td { border-color: rgba(255,255,255,.1); color: #c8ccd3; }
.visit-card .hours tr.today td { color: #fff; }

/* Page header */
.page-head { position: relative; background: var(--ink); color: #fff; padding: 52px 0 48px; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 90% at 90% 50%, rgba(225,20,31,.35), transparent 70%); }
.page-head::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 260px; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 18px); }
.page-head h1 { font-family: var(--display); font-size: clamp(42px, 6vw, 68px); font-weight: 800; font-style: italic; text-transform: uppercase; margin: 0; line-height: .95; }
.page-head p { color: #a9aeb8; margin: 10px 0 0; font-size: 17px; }
.crumbs { font-size: 13px; color: #8b919c; margin-bottom: 10px; }
.crumbs a { color: #c8ccd3; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Inventory layout */
.inv-layout { display: grid; grid-template-columns: 290px 1fr; gap: 26px; padding: 32px 0 72px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; position: sticky; top: 94px; }
.filters h3 { font-family: var(--display); font-size: 24px; font-style: italic; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.filters h3 button { background: none; border: 0; color: var(--red); font: inherit; font-family: "Inter", sans-serif; font-style: normal; text-transform: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.filters .field { margin-bottom: 15px; }
.filters .field > span:first-child { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inv-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.inv-toolbar .count { font-family: var(--display); font-size: 26px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.inv-toolbar select { width: auto; }
.filter-toggle { display: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; }
.chip:hover { background: var(--red); }
.chip b { margin-left: 6px; opacity: .7; }
.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius); }

@media (max-width: 900px) {
  .inv-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 100; border-radius: 0; overflow-y: auto; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .filters .close-filters { display: block !important; }
}

/* Vehicle detail */
.vdp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "gallery buy" "details extras"; column-gap: 28px; padding: 18px 0 72px; align-items: start; }
.vdp-gallery { grid-area: gallery; margin-bottom: 22px; } .vdp-buy { grid-area: buy; position: sticky; top: 94px; }
.vdp-details { grid-area: details; } .vdp-extras { grid-area: extras; }
@media (max-width: 960px) { .vdp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "buy" "details" "extras"; } .vdp-buy { position: static; } }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: #e9ebef; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-main img, .gallery-main svg { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 24px; cursor: pointer; box-shadow: var(--shadow); transition: background .2s; }
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 14px; } .gallery-nav.next { right: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: #e9ebef; opacity: .7; transition: opacity .2s; }
.thumbs button.active, .thumbs button:hover { border-color: var(--red); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 20px; }
.panel h2 { font-family: var(--display); font-size: 28px; font-style: italic; text-transform: uppercase; }
.vdp-buy .panel { border-top: 4px solid var(--red); }
.vdp-title { font-family: var(--display); font-size: clamp(36px, 4vw, 48px); font-weight: 800; font-style: italic; text-transform: uppercase; margin: 0; line-height: .95; }
.vdp-sub { color: var(--muted); margin: 8px 0 18px; font-size: 14px; }
.vdp-price { font-family: var(--display); font-size: 58px; font-weight: 800; color: var(--red); line-height: 1; }
.vdp-price.call { font-size: 40px; color: var(--ink); }
.vdp-down { display: inline-block; font-size: 16px; font-weight: 800; background: #fde8ea; color: var(--red-dark); padding: 7px 14px; border-radius: 999px; margin: 12px 0 22px; }
.vdp-down.call { background: #f1f2f4; color: var(--muted); }
.vdp-buttons { display: grid; gap: 10px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { color: var(--muted); font-weight: 500; width: 45%; }
.spec-table td { font-weight: 700; }
.feature-list { columns: 2; padding-left: 18px; margin: 0; }
.feature-list li { margin-bottom: 6px; break-inside: avoid; }
.feature-list li::marker { color: var(--red); }
@media (max-width: 560px) { .feature-list { columns: 1; } }
.fine { font-size: 12px; color: var(--muted); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-family: var(--display); font-size: 26px; font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: 14px; padding: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: auto; margin-top: 3px; accent-color: var(--red); }
.form-ok { display: none; background: #e7f6ee; color: var(--green); border-radius: 10px; padding: 16px; font-weight: 600; margin-top: 14px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; padding: 32px 0 72px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.checklist li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }

/* Test drive booking */
.book-car { margin: -4px 0 14px; font-weight: 700; color: var(--muted); font-size: 14px; }
.book-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-2); margin: 16px 0 8px; }
.book-label:first-of-type { margin-top: 0; }
.book-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.book-days button { flex: none; min-width: 74px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; font: inherit; text-align: center; transition: .15s; }
.book-days button b { display: block; font-size: 14px; } .book-days button span { font-size: 12px; color: var(--muted); }
.book-days button:hover:not(:disabled) { border-color: var(--red); }
.book-days button.on { background: var(--ink); border-color: var(--ink); color: #fff; } .book-days button.on span { color: #c8ccd3; }
.book-days button:disabled { opacity: .4; cursor: not-allowed; }
.book-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; max-height: 236px; overflow-y: auto; padding: 2px; }
.book-times button { border: 1.5px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 4px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: .15s; }
.book-times button:hover { border-color: var(--red); color: var(--red); }
.book-times button.on { background: var(--red); border-color: var(--red); color: #fff; }
.book-form .form-grid { margin-top: 4px; }
.book-err { color: var(--red-dark); font-weight: 600; font-size: 14px; margin-top: 10px; }
.book-err:empty { display: none; }
.book-done { text-align: center; padding: 8px 0; }
.book-done h3 { font-family: var(--display); font-size: 34px; font-style: italic; text-transform: uppercase; margin: 10px 0 6px; }
.book-done p { color: var(--ink-2); }
.book-check { width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; font-weight: 800; display: grid; place-items: center; margin: 0 auto; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid rgba(127,127,127,.18); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 800; color: var(--red); }

.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); display: block; }

/* Footer */
.site-footer { position: relative; background: #08090b; color: #9aa0ab; padding: 64px 0 0; font-size: 15px; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 22px; font-style: italic; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #9aa0ab; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .logo-text { color: #fff; }
.site-footer .hours td { border-color: rgba(255,255,255,.08); }
.site-footer .hours tr.today td { color: #fff; }
.footer-bottom { border-top: 1px solid #1d1f25; margin-top: 44px; padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--ink); box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
  .mobile-bar a { color: #fff; text-align: center; padding: 10px 4px; font-size: 12px; font-weight: 700; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .mobile-bar a.primary { background: var(--red); }
  .mobile-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: 60px; }
  .nav-call { display: none; }
}
