/* ==========================================================================
   CK Motor — Redesign prototype
   Shared design system: tokens, base, components, page layouts
   ========================================================================== */

:root {
  /* Brand — taken from the CK Motor logo (red swoosh + charcoal wordmark) */
  --ck-red: #d7262d;
  --ck-red-600: #b81d23;
  --ck-red-50: #fdeeee;
  --ink: #15171c;          /* near-black charcoal */
  --ink-2: #2a2e36;
  --ink-soft: #4a505c;
  --muted: #6c7380;
  --line: #e4e6ea;
  --line-2: #eef0f3;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --paper-3: #eceef1;
  --gold: #b88a3b;         /* accent from the original nav colour */
  --ok: #1f8a4c;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Mulish", "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(21,23,28,.06), 0 1px 1px rgba(21,23,28,.04);
  --shadow: 0 6px 24px -8px rgba(21,23,28,.18), 0 2px 6px rgba(21,23,28,.05);
  --shadow-lg: 0 24px 60px -20px rgba(21,23,28,.35);

  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ck-red); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ck-red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-top: 12px; }
.section-head p { color: var(--muted); max-width: 520px; margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ck-red); color: #fff; box-shadow: 0 8px 20px -10px rgba(215,38,45,.8); }
.btn-primary:hover { background: var(--ck-red-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--ck-red); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #c9ccd3; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ffb3b5; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line-2); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(21,23,28,.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.brand__fallback { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.brand__fallback span { color: var(--ck-red); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-soft); border-radius: var(--radius-sm); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--ck-red); border-radius: 2px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.ext-badge { font-size: 10px; opacity: .6; margin-left: 2px; }

/* Mobile nav drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(15,17,21,.55); opacity: 0; transition: opacity .25s; }
.mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 20px 22px 28px; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-nav__head img { height: 38px; }
.mobile-nav a.m-link { padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; }
.mobile-nav a.m-link[aria-current="page"] { color: var(--ck-red); }
.mobile-nav__contact { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(13,14,18,.94) 0%, rgba(13,14,18,.82) 38%, rgba(13,14,18,.35) 70%, rgba(13,14,18,.15) 100%),
  linear-gradient(0deg, rgba(13,14,18,.75) 0%, rgba(13,14,18,0) 40%); }
.hero__inner { padding: 112px 0 168px; max-width: 640px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 13px; color: #e7e8ec; background: rgba(255,255,255,.04); }
.hero__kicker b { background: var(--ck-red); color: #fff; font-family: var(--font-display); font-size: 11px; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--ck-red); }
.hero__lead { font-size: 18px; color: #c9ccd3; max-width: 540px; }
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero__meta div { border-left: 2px solid var(--ck-red); padding-left: 14px; }
.hero__meta strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; }
.hero__meta span { font-size: 13px; color: #a9adb6; }

/* Search panel */
.search-panel { position: relative; z-index: 5; margin-top: -88px; }
.search-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid var(--line-2); }
.search-card__tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.search-card__tabs button { border: 0; background: var(--paper-2); padding: 8px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.search-card__tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.search-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr) auto; gap: 12px; align-items: end; }

/* Form controls */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.control, .select {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315171c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.control:hover, .select:hover { border-color: #c9cdd4; }
.control:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,23,28,.08); }
.control-icon { position: relative; }
.control-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.control-icon .control { padding-left: 42px; }
textarea.control { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }

/* ---------- Car card ---------- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.car-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.car-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-3); overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.05); }
.car-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; font-family: var(--font-display); background: rgba(255,255,255,.95); color: var(--ink); }
.badge--ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.badge--red { background: var(--ck-red); color: #fff; }
.badge--dark { background: rgba(15,17,21,.75); color: #fff; }
.car-card__count { position: absolute; right: 12px; bottom: 12px; }
.car-card__body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.car-card__make { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.car-card__title { font-size: 18px; font-weight: 700; margin: 6px 0 14px; line-height: 1.3; }
.car-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car-card__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.car-card__specs li { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink-soft); min-width: 0; }
.car-card__specs li span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.car-card__specs li b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.car-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.price small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.price strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price strong em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.car-card__go { position: relative; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.car-card:hover .car-card__go { background: var(--ck-red); color: #fff; }

/* list view */
.car-grid.is-list { grid-template-columns: 1fr; }
.car-grid.is-list .car-card { flex-direction: row; }
.car-grid.is-list .car-card__media { width: 320px; flex: none; aspect-ratio: auto; min-height: 220px; }
.car-grid.is-list .car-card__specs { grid-template-columns: repeat(5, 1fr); }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--paper-3) 0%, #f6f7f9 50%, var(--paper-3) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Brand tiles ---------- */
.make-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.make-tile { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.make-tile:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.make-tile__mono { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink); }
.make-tile:hover .make-tile__mono { background: var(--ck-red); color: #fff; }
.make-tile strong { font-family: var(--font-display); font-size: 17px; }
.make-tile span { font-size: 13px; color: var(--muted); }

/* Body type chips */
.type-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip b { font-weight: 600; color: var(--muted); font-size: 13px; }

/* ---------- Feature / value blocks ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.value { padding: 32px 28px; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--ck-red-50); color: var(--ck-red); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; }

/* Split / about */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media .main { border-radius: var(--radius-lg); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split__media .float { position: absolute; right: -24px; bottom: -28px; width: 46%; border-radius: var(--radius); border: 6px solid #fff; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 14px 0 18px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 30px; }
.vm div { padding: 18px; border-radius: var(--radius); background: var(--paper-2); border-left: 3px solid var(--ck-red); }
.vm h4 { font-size: 15px; margin-bottom: 6px; }
.vm p { font-size: 14px; color: var(--muted); margin: 0; }

/* Showrooms */
.showroom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.showroom { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.showroom:hover { border-color: #c9cdd4; }
.showroom__tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ck-red); background: var(--ck-red-50); padding: 4px 8px; border-radius: 4px; }
.showroom h3 { font-size: 18px; }
.showroom address { font-style: normal; color: var(--muted); font-size: 14px; flex: 1; }
.showroom a.tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; }
.showroom a.tel:hover { color: var(--ck-red); }
.hours { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper-2); }
.hours span { display: inline-flex; align-items: center; gap: 8px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(215,38,45,.18); z-index: -1; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta-band p { color: #b9bdc6; margin-top: 12px; }
.cta-band__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1115; color: #a9adb6; padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-links a:hover, .site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.footer-contact .icon { color: var(--ck-red); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2a2e36; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--ck-red); border-color: var(--ck-red); }
.footer-bottom { border-top: 1px solid #22252c; padding: 22px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.demo-note { display: inline-flex; align-items: center; gap: 8px; color: #8a8f99; }

/* Floating contact */
.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.float-contact a:hover { transform: translateY(-2px); }
.float-contact .fc-wa { background: #1fa855; }
.float-contact .fc-call { background: var(--ink); }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--ink); color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(215,38,45,.16); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #a9adb6; align-items: center; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #555b66; }
.breadcrumb [aria-current] { color: #fff; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-top: 16px; }
.page-head p { color: #b9bdc6; margin-top: 10px; max-width: 640px; }
.breadcrumb--light { color: var(--muted); }
.breadcrumb--light a:hover { color: var(--ink); }
.breadcrumb--light li + li::before { color: #c3c7ce; }
.breadcrumb--light [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Listing page ---------- */
.listing { display: grid; grid-template-columns: 290px 1fr; gap: 32px; padding-top: 40px; padding-bottom: 96px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-height: calc(100vh - var(--header-h) - 40px); display: flex; flex-direction: column; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.filters__head h2 { font-size: 17px; }
.filters__body { padding: 6px 20px 20px; overflow-y: auto; }
.filters__foot { display: none; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.fgroup:last-child { border-bottom: 0; }
.fgroup > .label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.checks { display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ck-red); margin: 0; }
.check .n { margin-left: auto; color: var(--muted); font-size: 13px; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.range-row .control, .range-row .select { height: 42px; font-size: 14px; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .15s; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--ck-red); outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ck-red); font-weight: 700; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.results-bar h2 { font-size: 20px; font-weight: 700; }
.results-bar h2 span { color: var(--muted); font-weight: 500; font-family: var(--font-body); font-size: 15px; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.results-tools .select { height: 42px; width: auto; min-width: 200px; font-size: 14px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { width: 42px; height: 40px; border: 0; background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-open { display: none; }
.keyword { margin-bottom: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; min-height: 0; }
.active-filters:empty { display: none; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; border: 0; }
.af-chip .icon { width: 14px; height: 14px; opacity: .8; }
.af-chip:hover { background: var(--ck-red); }
.af-clear { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; }

.empty { text-align: center; padding: 64px 24px; border: 1px dashed #cfd3da; border-radius: var(--radius-lg); background: var(--paper-2); }
.empty__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ck-red); box-shadow: var(--shadow-sm); }
.empty h3 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 22px; }

.pager { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
.pager__progress { width: 220px; height: 4px; border-radius: 4px; background: var(--paper-3); overflow: hidden; }
.pager__progress i { display: block; height: 100%; background: var(--ck-red); transition: width .3s; }
.pager p { font-size: 14px; color: var(--muted); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: #fff8eb; border: 1px solid #f1dfb8; color: #6b5017; font-size: 14px; margin-bottom: 20px; }
.notice .icon { margin-top: 2px; color: var(--gold); }

/* ---------- Detail page ---------- */
.detail-top { padding-top: 24px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; padding-top: 24px; padding-bottom: 72px; align-items: start; }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0f1115; aspect-ratio: 4 / 3; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.gallery__main img.is-fading { opacity: 0; }
.gallery__main .bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(24px) brightness(.55); opacity: .9; }
.gallery__main img.main-img { position: relative; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: background .2s; z-index: 2; }
.gallery__nav:hover { background: #fff; }
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }
.gallery__bar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.gallery__expand { height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(15,17,21,.75); color: #fff; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.gallery__expand:hover { background: rgba(15,17,21,.92); }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.thumbs button { scroll-snap-align: start; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--paper-3); opacity: .7; transition: opacity .2s, border-color .2s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { border-color: var(--ck-red); opacity: 1; }

.dsection { margin-top: 44px; }
.dsection h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.spec-table div:nth-child(odd) { border-right: 1px solid var(--line-2); }
.spec-table div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 700; text-align: right; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.feature-list .icon { color: var(--ok); margin-top: 3px; }
.key-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.key-spec { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.key-spec .icon { color: var(--ck-red); width: 22px; height: 22px; }
.key-spec span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 10px; }
.key-spec b { font-family: var(--font-display); font-size: 16px; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.summary-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 26px; box-shadow: var(--shadow-sm); }
.summary-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }
.tag--ok { background: #e7f5ed; color: var(--ok); }
.summary-card h1 { font-size: 26px; font-weight: 800; line-height: 1.2; }
.summary-card .sub { color: var(--muted); margin-top: 8px; font-size: 15px; }
.big-price { margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.big-price small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.big-price strong { display: block; font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--ck-red); letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.big-price strong em { font-style: normal; font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.big-price p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.summary-card .actions { display: grid; gap: 10px; }
.summary-card .actions-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer-id { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; color: var(--muted); }
.dealer-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--paper-2); }
.dealer-card h3 { font-size: 16px; margin-bottom: 12px; }
.dealer-card select { margin-bottom: 12px; }
.dealer-card address { font-style: normal; font-size: 14px; color: var(--ink-soft); }
.dealer-card .tel { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-weight: 700; font-family: var(--font-display); }

.calc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__out { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.calc__out small { color: #a9adb6; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.calc__out strong { font-family: var(--font-display); font-size: 34px; font-weight: 800; }
.calc__out dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 6px 0 0; font-size: 14px; color: #c9ccd3; }
.calc__out dd { margin: 0; color: #fff; font-weight: 700; text-align: right; }
.calc-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,9,12,.96); display: none; flex-direction: column; }
.lightbox.is-open { display: flex; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: #fff; font-size: 14px; }
.lightbox__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox__stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 72px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox .gallery__nav { background: rgba(255,255,255,.12); color: #fff; }
.lightbox .gallery__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__strip { display: flex; gap: 8px; padding: 14px 20px 20px; overflow-x: auto; justify-content: center; }
.lightbox__strip button { flex: none; width: 76px; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; opacity: .55; background: #222; }
.lightbox__strip button[aria-current="true"] { border-color: var(--ck-red); opacity: 1; }
.lightbox__strip img { width: 100%; height: 100%; object-fit: cover; }

/* Modal (demo enquiry) */
.modal { position: fixed; inset: 0; z-index: 310; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,17,21,.6); }
.modal__dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.modal__dialog h2 { font-size: 22px; margin-bottom: 4px; }
.modal__dialog .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.demo-banner { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; background: #fff8eb; border: 1px solid #f1dfb8; color: #6b5017; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.success { text-align: center; padding: 20px 0 6px; }
.success .empty__icon { color: var(--ok); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s var(--ease); z-index: 400; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .search-grid { grid-template-columns: 1.2fr repeat(3, 1fr) auto; }
  .search-grid .hide-lg { display: none; }
  .make-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; font-size: 14px; }
  .header-cta .btn-outline { display: none; }
  .detail { grid-template-columns: minmax(0,1fr) 360px; gap: 28px; }
  .key-specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  :root { --header-h: 68px; }
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .topbar__left .hide-md { display: none; }
  .section { padding: 72px 0; }
  .hero__inner { padding: 80px 0 150px; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .field--kw { grid-column: 1 / -1; }
  .search-grid .hide-lg { display: flex; }
  .search-grid .btn { grid-column: 1 / -1; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split__media .float { right: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta-band__actions { justify-content: flex-start; }

  .listing { grid-template-columns: 1fr; padding-top: 24px; }
  .filter-open { display: inline-flex; }
  .filters { position: fixed; inset: 0; top: 0; z-index: 250; max-height: none; border-radius: 0; border: 0; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .filters.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .filters__foot { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
  .filters__foot .btn { flex: 1; }
  .car-grid.is-list .car-card__media { width: 260px; }
  .car-grid.is-list .car-card__specs { grid-template-columns: repeat(3, 1fr); }

  .detail { display: flex; flex-direction: column; gap: 24px; }
  .detail-main { display: contents; }
  .detail-main > .gallery { order: 0; }
  .detail .summary { order: 1; }
  .detail-main > :not(.gallery) { order: 2; }
  .detail-main > .key-specs { margin-top: 0; }
  .detail-main > .dsection { margin-top: 16px; }
  .summary { position: static; }
  .calc { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  .sticky-cta .price { flex: 1; min-width: 0; }
  .sticky-cta .price strong { font-size: 19px; }
  .has-sticky-cta .float-contact { display: none; }
  .has-sticky-cta .site-footer { padding-bottom: 72px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .topbar { display: none; }
  .brand img { height: 38px; }
  .section { padding: 56px 0; }
  .hero__inner { padding: 56px 0 130px; }
  .hero__lead { font-size: 16px; }
  .hero__meta { gap: 18px; }
  .hero__meta strong { font-size: 22px; }
  .hero__actions .btn { flex: 1; }
  .search-card { padding: 16px; }
  .search-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .make-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .make-tile { padding: 16px; }
  .value-grid { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  .value:last-child { border-bottom: 0; }
  .vm { grid-template-columns: 1fr; }
  .split__media .float { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 32px 22px; }
  .cta-band__actions .btn { flex: 1; }
  .car-grid { grid-template-columns: 1fr; gap: 16px; }
  .car-grid.is-list .car-card { flex-direction: column; }
  .car-grid.is-list .car-card__media { width: 100%; aspect-ratio: 4/3; min-height: 0; }
  .results-tools .select { min-width: 0; flex: 1; }
  .results-tools { width: 100%; }
  .view-toggle { display: none; }
  .page-head { padding: 28px 0 32px; }
  .thumbs { grid-auto-columns: 72px; gap: 6px; }
  .gallery__nav { width: 38px; height: 38px; }
  .gallery__nav--prev { left: 10px; } .gallery__nav--next { right: 10px; }
  .spec-table { grid-template-columns: 1fr; }
  .spec-table div:nth-child(odd) { border-right: 0; }
  .spec-table div:nth-last-child(2) { border-bottom: 1px solid var(--line-2); }
  .feature-list { grid-template-columns: 1fr; }
  .key-specs { grid-template-columns: 1fr 1fr; }
  .summary-card { padding: 20px; }
  .summary-card h1 { font-size: 22px; }
  .big-price strong { font-size: 32px; }
  .calc { padding: 18px; }
  .calc__form { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .lightbox__stage { padding: 0 8px; }
  .lightbox .gallery__nav--prev { left: 8px; } .lightbox .gallery__nav--next { right: 8px; }
  .float-contact { right: 14px; bottom: 14px; }
  .float-contact a { width: 48px; height: 48px; }
}

/* grid view shows 3 spec cells; list view shows all 5 */
.car-card__specs .lv { display: none; }
.car-grid.is-list .car-card__specs .lv { display: flex; }
img.is-placeholder { object-fit: cover !important; object-position: center !important; }
.filter-badge { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ck-red); color: #fff; font-size: 12px; align-items: center; justify-content: center; }
.filter-badge[hidden] { display: none; }

/* Hero featured vehicle card */
.hero-feature { position: relative; width: 300px; border-radius: var(--radius-lg); overflow: hidden; background: #0f1115; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); margin-bottom: 60px; transition: transform .35s var(--ease); }
.hero-feature:hover { transform: translateY(-4px); }
.hero-feature img { width: 100%; aspect-ratio: 3/3.6; object-fit: cover; object-position: center 60%; }
.hero-feature__label { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ck-red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.hero-feature__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(0deg, rgba(10,11,14,.95) 30%, rgba(10,11,14,0)); display: flex; flex-direction: column; gap: 4px; }
.hero-feature__body strong { font-family: var(--font-display); font-size: 17px; line-height: 1.25; }
.hero-feature__body span { font-size: 13px; color: #b9bdc6; }
.hero-feature__body b { font-family: var(--font-display); font-size: 22px; color: #fff; margin-top: 6px; }
.hero-feature__body b em { font-style: normal; font-size: 13px; color: #b9bdc6; font-weight: 600; }
.filter-close { display: none; }
@media (max-width: 1100px) { .hero-feature { width: 250px; } }
@media (max-width: 991px) {
  .hero-feature { display: none; }
  .hero .container { grid-template-columns: 1fr !important; }
  .filter-close { display: inline-flex; }
}

@media (min-width: 1200px) { .showroom-grid { grid-template-columns: repeat(5, 1fr); } }
.gallery, .detail-main, .summary { min-width: 0; }
@media (max-width: 991px) { .detail .gallery, .detail .summary, .detail-main > * { width: 100%; max-width: 100%; } }

/* Laravel additions */
.car-card__go { color: inherit; text-decoration: none; }
.car-card__branch { display: flex; align-items: center; gap: 6px; margin: -6px 0 12px; font-size: 13px; color: var(--muted); }
.car-card__branch .icon { width: 15px; height: 15px; flex: none; color: var(--ck-red); }
.car-card__branch b { color: var(--ink); font-weight: 700; }
.sr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 4px; }
.sr-table th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 6px 8px; border-bottom: 1px solid var(--line); }
.sr-table td { padding: 10px 6px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.sr-table tr:last-child td { border-bottom: 0; }
.sr-table td b { display: block; font-family: var(--font-display); color: var(--ink); }
.sr-table td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.4; }
.sr-table td .tel { margin-top: 0; white-space: nowrap; font-size: 13px; gap: 6px; }
.sr-table td .tel .icon { width: 14px; height: 14px; }
.sr-table tr.is-here td { background: #fff; }
.sr-table tr.is-here td:first-child { box-shadow: inset 3px 0 0 var(--ck-red); }
.sr-here { display: inline-block; margin: 4px 0 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ck-red); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 420px) { .sr-table td .tel { white-space: normal; } }

/* ==== CARD GRADIENT (2026 look) — START ====
   Soft theme-red (--ck-red #d7262d) glow from the bottom-right corner on website cards.
   To remove: delete everything from START to END. */
.car-card,
.showroom,
.make-tile,
.summary-card,
.dealer-card,
.srl-card {
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(215, 38, 45, .16) 0%, rgba(215, 38, 45, .07) 35%, rgba(255, 255, 255, 0) 70%),
    #fff;
}
.car-card__body { background: transparent; }
.car-card:hover,
.srl-card:hover {
  background:
    radial-gradient(130% 100% at 100% 100%, rgba(215, 38, 45, .22) 0%, rgba(215, 38, 45, .09) 40%, rgba(255, 255, 255, 0) 75%),
    #fff;
}
.sr-table tr.is-here td { background: rgba(255, 255, 255, .7); }
/* ==== CARD GRADIENT — END ==== */

/* Brand + body-type icons (home page) */
.make-tile .make-tile__mono .icon { width: 24px; height: 24px; color: var(--ck-red); }
.make-tile:hover .make-tile__mono .icon { color: #fff; }
.chip-icon { width: 34px; height: 17px; flex: none; color: var(--ck-red); }
.chip:hover .chip-icon { color: var(--ink); }

/* ==== BRAND TILES v2 (logos) ==== */
.make-grid { gap: 16px; }
.make-tile.make-tile--logo { position: relative; flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; border-radius: 18px; overflow: hidden; }
.make-tile--logo:hover { border-color: color-mix(in srgb, var(--brand) 35%, transparent); box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--brand) 55%, transparent); }
.make-tile .make-tile__badge { width: 60px; height: 60px; flex: none; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px -10px rgba(15,17,21,.35); transition: transform .3s var(--ease), border-color .3s; }
.make-tile--logo:hover .make-tile__badge { transform: scale(1.06) rotate(-2deg); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.brand-logo--svg { display: flex; width: 36px; height: 36px; color: #2a2d34; transition: color .3s; }
.brand-logo--svg svg { width: 100%; height: 100%; fill: currentColor; }
.make-tile--logo:hover .brand-logo--svg { color: var(--brand); }
.make-tile .brand-logo--word { font-family: var(--font-display); font-weight: 900; font-size: 9px; letter-spacing: .04em; color: var(--ck-red); text-align: center; line-height: 1; padding: 0 3px; white-space: nowrap; }
.make-tile__text { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0; }
.make-tile__text strong { font-size: 17px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.make-tile.make-tile--logo .make-tile__count { flex: none; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.make-tile--logo:hover .make-tile__count { background: var(--ck-red); border-color: var(--ck-red); color: #fff; }
.make-tile .make-tile__go { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--paper-2); color: var(--ink); opacity: .7; transition: background .25s, color .25s, transform .25s var(--ease), opacity .25s; }
.make-tile__go .icon { width: 15px; height: 15px; }
.make-tile--logo:hover .make-tile__go { background: var(--ink); color: #fff; opacity: 1; transform: translateX(2px) rotate(-45deg); }
@media (max-width: 575px) { .make-tile .make-tile__badge { width: 50px; height: 50px; border-radius: 14px; } .brand-logo--svg { width: 28px; height: 28px; } .make-tile .make-tile__go { width: 28px; height: 28px; top: 12px; right: 12px; } }
/* ==== BRAND TILES v2 — END ==== */

/* ==== AVAILABLE CARS SHOWROOM (details page) ==== */
.avail-card { padding: 20px; border-radius: 20px; }
.avail-card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.avail-card__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--ck-red); color: #fff; box-shadow: 0 8px 18px -8px rgba(215,38,45,.7); }
.avail-card__icon .icon { width: 20px; height: 20px; }
.avail-card h3 { font-size: 17px; margin: 0; }
.avail-card__head p { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }
.avail-list { display: grid; gap: 10px; }
.avail-sr { position: relative; background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 16px; transition: border-color .2s, box-shadow .2s; }
.avail-sr.is-here { border-color: rgba(215,38,45,.35); box-shadow: 0 10px 24px -16px rgba(215,38,45,.6); }
.avail-sr.is-here::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ck-red); }
.avail-sr__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.avail-sr__name b { display: block; font-family: var(--font-display); font-size: 15.5px; color: var(--ink); line-height: 1.25; }
.avail-sr__type { display: inline-block; margin-top: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.avail-sr__badge { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: #17803f; background: #e5f5ec; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.avail-sr__badge i { width: 7px; height: 7px; border-radius: 50%; background: #17a34a; box-shadow: 0 0 0 3px rgba(23,163,74,.2); animation: availPulse 1.8s ease-in-out infinite; }
.avail-sr__badge.is-alt { color: var(--ink-soft); background: var(--paper-2); }
@keyframes availPulse { 50% { box-shadow: 0 0 0 6px rgba(23,163,74,0); } }
.avail-sr__addr { font-style: normal; font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 8px 0 12px; }
.avail-sr__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.avail-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--ink); color: #fff; transition: background .2s, transform .2s; }
.avail-btn .icon { width: 14px; height: 14px; }
.avail-btn:hover { background: var(--ck-red); transform: translateY(-1px); }
.avail-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.avail-btn--ghost:hover { background: #fff; color: var(--ck-red); border-color: var(--ck-red); }
.avail-card__hours { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.avail-card__hours .icon { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .avail-sr__badge i { animation: none; } }
/* ==== AVAILABLE CARS SHOWROOM — END ==== */

/* ==== SHOWROOM PAGES ==== */
.srl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.srl-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.srl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.srl-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--paper-3); overflow: hidden; display: block; }
.srl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.srl-card:hover .srl-card__media img { transform: scale(1.05); }
.srl-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,17,21,.75)); }
.srl-card__type { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--ck-red); color: #fff; border-radius: 999px; padding: 4px 10px; }
.srl-card__count { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 13px; }
.srl-card__count b { font-family: var(--font-display); font-size: 22px; margin-right: 2px; }
.srl-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.srl-card__body h2 { font-size: 20px; }
.srl-card__body h2 a:hover { color: var(--ck-red); }
.srl-card__body address { font-style: normal; display: flex; gap: 8px; font-size: 14px; color: var(--ink-soft); flex: 1; }
.srl-card__body address .icon, .srl-card__hours .icon { width: 15px; height: 15px; flex: none; color: var(--ck-red); margin-top: 2px; }
.srl-card__hours { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin: 0; }
.srl-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.srd-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.srd-info { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: radial-gradient(120% 90% at 100% 100%, rgba(215,38,45,.12), rgba(255,255,255,0) 70%), #fff; display: flex; flex-direction: column; gap: 14px; }
.srd-addr { font-style: normal; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.srd-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.srd-meta li { display: flex; gap: 10px; align-items: flex-start; }
.srd-meta .icon { width: 16px; height: 16px; flex: none; color: var(--ck-red); margin-top: 2px; }
.srd-meta a { font-weight: 700; }
.srd-map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--paper-2); }
.srd-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.srd-map__empty { height: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.srd-cars-title { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 18px; }
@media (max-width: 900px) { .srd-top { grid-template-columns: 1fr; } }
/* ==== SHOWROOM PAGES — END ==== */
/* Showroom image / logo on /showrooms cards */
.srl-card__media { background: transparent; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.srl-card__media img { object-fit: contain; padding: 18px 22px 44px; }
.srl-card__media::after { background: linear-gradient(180deg, transparent 55%, rgba(15,17,21,.55)); }
.srl-card__media.is-empty { background: linear-gradient(135deg, #15171c, #2a2d34); }
.srl-card__ph { width: 54px; height: 54px; color: rgba(255,255,255,.35); }
.srl-card__count { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.sr-upload { display: flex; gap: 12px; align-items: center; }
.srl-card__media { aspect-ratio: 16 / 10; }
.srl-card__media img { padding: 0; }
