:root {
  --navy: #0f2140;
  --navy-2: #172d55;
  --red: #c8322f;
  --red-dark: #a92623;
  --accent-light: #ff7a6b; /* the accent for words on the dark banner */
  --accent-tint: #fdecec;  /* a soft background in the accent */
  --ink: #17202e;
  --muted: #5d6779;
  --line: #e2e6ec;
  --bg: #f5f6f8;
  --card: #fff;
  --green: #1f7a4d;
  --amber: #a46510;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 33, 64, .06), 0 6px 20px rgba(15, 33, 64, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-light:hover { border-color: #c5ccd8; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-block { width: 100%; }

/* Top bar and header */
.topbar { background: var(--navy); color: #c9d3e6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--navy); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--red); text-transform: uppercase; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); font-size: 15px; }
.nav a:hover, .nav a.on { color: var(--navy); }
.nav .btn { color: #fff; padding: 10px 16px; }
@media (max-width: 760px) {
  .topbar .hours { display: none; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .nav a.keep { display: inline; }
  .nav .btn { padding: 9px 12px; }
  .logo { font-size: 16px; white-space: nowrap; gap: 8px; }
  .logo small { font-size: 9.5px; }
}
/* The Spanish subtitle under the logo is longer; on phones it crowds out the Call button. */
@media (max-width: 430px) {
  html[lang="es"] .logo small { display: none; }
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(200, 50, 47, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  background:
    radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--red) 35%, transparent), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 72px 0 96px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 14ch; }
.hero p { font-size: 1.15rem; color: #c9d3e6; max-width: 46ch; margin: 18px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.search {
  margin-top: -52px; position: relative; z-index: 2;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end;
}
.search label, .filters label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
select, input, textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
select:focus, input:focus, textarea:focus { outline: 2px solid rgba(15, 33, 64, .25); border-color: var(--navy); }
@media (max-width: 760px) {
  .hero { padding: 48px 0 88px; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; }
}

/* Sections */
section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head a { font-weight: 600; color: var(--red); text-decoration: none; white-space: nowrap; }

/* Car cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15, 33, 64, .08), 0 14px 30px rgba(15, 33, 64, .1); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #e7eaef; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--navy); }
.badge.pending { background: #fff4df; color: var(--amber); }
.badge.sold { background: var(--red); color: #fff; }
/* A column, so the price line lines up across a row of cards. */
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 17px; letter-spacing: -.01em; }
.card-body .trim { color: var(--muted); font-size: 14px; }
/* Only on cars with a history report link (the dealer adds it per car). */
.card-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 4px 0 0; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--green); }
.card-perks li::before, .history-link::before { content: "✓"; font-weight: 800; margin-right: 4px; }
.history-link { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #e9f5ee; color: var(--green); font-weight: 700; text-decoration: none; }
.history-link span:last-child { margin-left: auto; }
.history-link:hover { background: #dcefe4; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 10px; }
.price { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.miles { color: var(--muted); font-size: 14px; }
/* No photos yet: a soft card in the site's color, not a grey gap. */
.no-photo {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .9), transparent 60%), var(--accent-tint);
  color: var(--muted); font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
}
.no-photo svg { width: 72px; color: var(--red); opacity: .55; margin: 0 auto 6px; }
.empty { background: #fff; border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }

/* Why us */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why div { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.why b { display: block; font-size: 17px; margin: 12px 0 6px; }
.why p { margin: 0; color: var(--muted); }
.why .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-tint); color: var(--red); }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* Visit / contact */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.6rem; margin-bottom: 14px; }
.info { display: grid; gap: 14px; margin: 18px 0 22px; }
.info div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.info svg { width: 20px; color: var(--red); margin-top: 2px; }
.map { border: 0; width: 100%; height: 220px; border-radius: 10px; background: #e7eaef; }
form.lead { display: grid; gap: 12px; }
form.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-msg { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { background: #e6f4ec; color: var(--green); }
.form-msg.err { background: #fdecec; color: var(--red-dark); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } form.lead .row { grid-template-columns: 1fr; } }

/* Inventory page */
.page-head { background: var(--navy); color: #fff; padding: 40px 0; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: #c9d3e6; margin: 8px 0 0; }
.inventory { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 32px 0 64px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; position: sticky; top: 88px; }
.filters h2 { font-size: 16px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.results-bar select { width: auto; }
@media (max-width: 860px) {
  .inventory { grid-template-columns: 1fr; }
  .filters { position: static; grid-template-columns: 1fr 1fr; }
  .filters h2, .filters .search-text { grid-column: 1 / -1; }
}

/* Car page */
.crumbs { padding: 20px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.car { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; padding: 18px 0 64px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: #e7eaef; border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { position: relative; display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 92px; aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; background: #e7eaef; }
.thumbs button.on { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car-side { display: grid; gap: 16px; position: sticky; top: 88px; }
.car-side h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.car-side .trim { color: var(--muted); margin-top: 4px; }
.car-price { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.car-price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick div { background: var(--bg); border-radius: 10px; padding: 10px; text-align: center; }
.quick small { display: block; color: var(--muted); font-size: 12px; }
.quick b { font-size: 15px; }
.call-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.features { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.features li { background: var(--bg); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; }
.car-details { display: grid; gap: 24px; margin-top: 28px; }
.car-details h2 { font-size: 1.3rem; margin-bottom: 12px; }
.description { white-space: pre-line; margin: 0; }
.sold-note { background: #fdecec; color: var(--red-dark); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
@media (max-width: 900px) {
  /* minmax(0, …) lets the thumbnail strip scroll instead of widening the page. */
  .car { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* On phones: photos, then price and Call/Text, then the details. */
  .car-main, .car-side { display: contents; }
  .gallery { order: 1; }
  .car-buy { order: 2; }
  .car-details { order: 3; margin-top: 0; }
  .car-ask { order: 4; scroll-margin-top: 16px; }
  .specs { grid-template-columns: 1fr; }
  .specs dd { overflow-wrap: anywhere; }
}

/* Footer */
.site-footer { background: var(--navy); color: #aab6cc; padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 18px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer .logo { color: #fff; }
.site-footer a { color: #fff; }
.fine { font-size: 12.5px; color: #8593ab; margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; }

/* Trade-in page */
.trade { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding: 32px 0 64px; }
.trade-form h2 { font-size: 1.25rem; margin: 6px 0 0; }
.trade-form label { display: grid; align-content: start; gap: 6px; font-size: 14px; font-weight: 600; }
.trade-form .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.trade-form .vin { text-transform: uppercase; letter-spacing: .04em; }
.trade-form .vin::placeholder { text-transform: none; letter-spacing: normal; }
.trade-for { margin: 0; padding: 12px 14px; border-radius: 10px; background: #eef2f8; font-weight: 600; }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.choices label { position: relative; display: block; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; background: #fff; }
.choices input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choices input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.trade-side { display: grid; gap: 20px; }
.trade-side h2 { font-size: 1.25rem; }
.trade-side p { margin: 0 0 14px; }
.steps { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.steps b { color: var(--ink); }
.small { font-size: 13px; }
.trade-link { display: block; text-align: center; font-size: 14px; color: var(--muted); text-decoration: none; }
.trade-link b { color: var(--red); }
.similar { padding: 8px 0 64px; }
@media (max-width: 900px) {
  .trade { grid-template-columns: 1fr; }
}
.vin-box { display: grid; gap: 8px; padding: 16px; border-radius: 12px; background: #f4f6fa; border: 1px solid var(--line); }
.vin-box label { font-size: 14px; font-weight: 600; }
.vin-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.vin-row .btn { white-space: nowrap; }
.vin-msg { font-size: 13px; color: var(--muted); }
.vin-msg.ok { color: var(--green); font-weight: 600; }
.vin-msg.err { color: var(--red-dark); font-weight: 600; }
@media (max-width: 560px) {
  .vin-row { grid-template-columns: 1fr; }
  .vin-box .vin { letter-spacing: .02em; }
}

/* English | Español */
.topbar .wrap { align-items: center; }
.topbar-call { margin-left: auto; }
.lang-toggle { font: inherit; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 2px 12px; cursor: pointer; }
.lang-toggle:hover { background: rgba(255, 255, 255, .2); }

/* "Price drop" and "New arrival" */
.badge.drop, .badge-inline.drop { background: var(--red); color: #fff; }
.badge.new, .badge-inline.new { background: var(--navy); color: #fff; }
.badge-inline { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: -8px; }
.price s, .car-price s { font-size: .55em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }

/* Swipeable photos (cards and the car page) */
.slider { position: relative; height: 100%; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides > * { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slides img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.slide-more { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; }
.slide-more span { border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 10px 18px; }
.snav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; padding: 0 0 2px; }
.snav.prev { left: 10px; }
.snav.next { right: 10px; }
.scount { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: rgba(15, 33, 64, .75); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.gallery-main .snav { width: 42px; height: 42px; font-size: 24px; }
.gallery-main .scount { font-size: 13px; right: 12px; bottom: 12px; }
.card-photo .badge { z-index: 2; }
/* On cards the arrows show on hover; touch screens swipe instead. */
.card .snav { opacity: 0; transition: opacity .15s; }
.card:hover .snav, .card .snav:focus-visible { opacity: 1; }
@media (hover: none) {
  .card .snav { display: none; }
}

/* Phones: Call / Text / Ask stay in reach while reading a car's details. */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta:not([hidden]) {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -4px 18px rgba(15, 33, 64, .12);
  }
  .mobile-cta .btn { padding: 12px 8px; }
  body:has(.mobile-cta) .site-footer { padding-bottom: 96px; }
}

/* Banner spotlight: one of the dealer's cars, part of the banner itself. Its
   photo fills the right side and fades into the navy toward the text; the
   details sit on the photo in white. Wide screens only. */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; pointer-events: none; }
.hero > .wrap a, .hero > .wrap button { pointer-events: auto; }
.hero-text { max-width: 600px; }
/* Ends above the search box (which overlaps the banner by 52px) so no part
   of the car hides behind it; the bottom fade blends it into the navy. */
.hero-spot { position: absolute; inset: 0 0 52px auto; width: 60%; }
.hero-spot[hidden] { display: none; }
.spot-card { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.spot-media {
  position: absolute; inset: 0; display: block; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%);
}
.spot-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease, transform 6s ease-out; transform: scale(1.04);
}
.spot-media img.on { opacity: 1; transform: scale(1); }
/* A navy tint and a darker bottom so the white text reads on any photo. */
.spot-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 70% at 100% 72%, rgba(15, 33, 64, .78), rgba(15, 33, 64, 0) 100%),
    linear-gradient(to top, rgba(15, 33, 64, .92) 0%, rgba(15, 33, 64, .55) 30%, rgba(15, 33, 64, 0) 58%),
    linear-gradient(rgba(15, 33, 64, .12), rgba(15, 33, 64, .12));
}
.spot-caption {
  position: absolute; right: max(16px, calc((100vw - 1180px) / 2)); bottom: 62px;
  display: grid; justify-items: end; gap: 2px; text-align: right; max-width: 420px;
}
.spot-caption.fade { animation: spot-fade .6s ease; }
@keyframes spot-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.spot-caption .badge { position: static; margin-bottom: 6px; }
.spot-caption b { font-size: 24px; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.spot-caption small { font-size: 15px; color: #d7deeb; }
.spot-price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.spot-price s { font-size: 15px; font-weight: 600; color: #c9d3e6; margin-left: 6px; }
.spot-go { margin-top: 6px; font-weight: 700; color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.spot-card:hover .spot-go, .spot-card:focus-visible .spot-go { color: var(--accent-light); }
.spot-card:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.spot-dots {
  position: absolute; right: max(16px, calc((100vw - 1180px) / 2)); bottom: 32px; z-index: 2;
  display: flex; gap: 8px;
}
.spot-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer; }
.spot-dots button[aria-pressed="true"] { background: #fff; width: 22px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) {
  .spot-media img { transition: none; transform: none; }
  .spot-caption.fade { animation: none; }
}
/* Phones and tablets: the banner is full already, and the cars are just below. */
@media (max-width: 999px) {
  .hero-spot { display: none; }
}

/* Banner text: live stock line, headline, tagline, buttons, trust line. */
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 13ch; line-height: 1.05; letter-spacing: -.025em; }
.hero .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; color: #e6ebf4; }
.hero-eyebrow[hidden] { display: none; }
.hero-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3ccf7a; box-shadow: 0 0 0 4px rgba(60, 207, 122, .2); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; font-size: 14px; color: #c9d3e6; }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust li::before { content: "✓"; color: #3ccf7a; font-weight: 800; }

/* The headline's last words in a lighter accent: readable on the navy. */
.hero h1 .accent { font-style: normal; color: var(--accent-light); }

/* The dealer's own logo: square ones replace the mark; wide ones replace the
   mark and the name (it's in the image). */
.logo img.logo-mark { object-fit: contain; border-radius: 8px; }
.logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.logo-wide > span { display: none; }
/* A see-through logo in white ink would vanish on the white header. */
.logo-tone-light img { background: var(--navy); padding: 4px 8px; border-radius: 8px; box-sizing: content-box; }
@media (max-width: 760px) { .logo-img { height: 36px; max-width: 160px; } }

/* Shown while the owner previews a theme from Admin › Settings (?look=…). */
.look-preview {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50;
  width: max-content; max-width: calc(100% - 32px); text-align: center;
  background: #17202e; color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}
.look-preview a { color: #fff; font-weight: 700; margin-left: 8px; white-space: nowrap; }
@media (max-width: 900px) { .look-preview { font-size: 13px; padding: 8px 14px; } body:has(.mobile-cta:not([hidden])) .look-preview { bottom: 84px; } }

/* Phones: everything tappable is about 44px tall, the size of a fingertip. */
@media (max-width: 760px) {
  .lang-toggle { min-height: 34px; padding: 4px 14px; }
  .topbar .wrap { padding: 5px 0; }
  .nav a.keep { padding: 11px 2px; }
  select, input:not([type=radio]):not([type=checkbox]):not([type=file]) { min-height: 44px; }
  .btn { min-height: 44px; }
}

/* demo.lotswift.com: try every theme and color (DEMO=true only). */
.demo-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; justify-content: center;
  width: max-content; max-width: calc(100% - 24px);
  background: #17202e; color: #fff; font: 600 13.5px/1.2 Inter, system-ui, sans-serif; padding: 8px 10px 8px 14px; border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .35); letter-spacing: 0; text-transform: none;
}
.demo-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #9fb0c8; }
.demo-themes { display: flex; gap: 4px; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 3px; }
.demo-themes a { color: #cfd8e6; text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.demo-themes a[aria-current] { background: #fff; color: #17202e; }
.demo-colors { display: flex; gap: 6px; }
.demo-colors .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.demo-colors .dot[aria-current] { box-shadow: 0 0 0 2px #17202e, 0 0 0 4px #fff; }
.demo-admin { color: #fff; text-decoration: none; padding: 6px 4px; }
.demo-admin:hover { text-decoration: underline; }
body:has(.demo-bar) .site-footer { padding-bottom: 120px; }
@media (max-width: 900px) {
  .demo-bar { bottom: 8px; gap: 6px 10px; padding: 8px; }
  .demo-tag, .demo-admin { display: none; }
  body:has(.mobile-cta:not([hidden])) .demo-bar { bottom: 80px; }
}
