/* Auto Deal SA - public site
   Palette: asphalt (dark surfaces), porcelain (page), signal red (brand), steel (muted)
   Type: Red Hat Display (headings, prices) + Red Hat Text (body) */

@font-face { font-family: "RHD"; src: url(../fonts/rhd.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "RHT"; src: url(../fonts/rht.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "RHT"; src: url(../fonts/rht-i.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --asphalt: #17191d;
  --asphalt-2: #22262c;
  --asphalt-3: #2f343b;
  --porcelain: #eef0f2;
  --paper: #ffffff;
  --ink: #1b1e22;
  --steel: #5f6770;
  --steel-light: #a7aeb6;
  --line: #dde1e5;
  --red: #e10600;
  --red-dark: #b80500;
  --wa: #1c9e50;
  --wa-dark: #157a3d;
  --amber: #b86e00;
  --r-sm: 6px; --r: 10px; --r-lg: 16px;
  --shadow: 0 1px 2px rgba(23,25,29,.06), 0 8px 24px -12px rgba(23,25,29,.18);
  --wrap: 1240px;
  --display: "RHD", "Segoe UI", system-ui, sans-serif;
  --text: "RHT", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 16px/1.6 var(--text); color: var(--ink); background: var(--porcelain); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.i { width: 20px; height: 20px; flex: none; }
.i-lg { width: 44px; height: 44px; }
.i-xl { width: 72px; height: 72px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--steel); }
.h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.h3 { font-size: 22px; font-weight: 750; }
.h4 { font-size: 18px; font-weight: 700; }
.h5 { font-size: 15px; font-weight: 700; color: var(--steel); margin-bottom: .6em; }
.lead { font-size: 18px; color: var(--steel); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent; font: 650 15.5px/1 var(--display); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-dark { background: var(--asphalt); color: #fff; }
.btn-dark:hover { background: var(--asphalt-3); }
.btn-outline { background: var(--paper); border-color: #c9ced4; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-plain { background: none; color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-row.center { justify-content: center; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.link-more { font: 650 15px/1.3 var(--display); color: var(--red-dark); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-more:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-head { background: var(--asphalt); color: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.06); }
.head-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 62px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-right: auto; }
.main-nav a { text-decoration: none; font: 600 15.5px/1 var(--display); padding: 10px 14px; border-radius: var(--r-sm); color: #d9dde1; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.head-actions { display: flex; align-items: center; gap: 14px; }
.head-phone { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 650 15.5px/1 var(--display); color: #fff; }
.head-phone .i { color: var(--red); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; place-items: center; cursor: pointer; }
.menu-btn .i { width: 26px; height: 26px; }

.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(10,12,14,.55); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--asphalt); color: #fff; padding: 72px 24px 24px; display: flex; flex-direction: column; gap: 28px; animation: slideIn .22s ease-out; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.drawer-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font: 700 22px/1 var(--display); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; }
.drawer-contact { display: grid; gap: 12px; margin-top: auto; }
.drawer-contact p { color: var(--steel-light); font-size: 14px; margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--asphalt); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23,25,29,.94) 0%, rgba(23,25,29,.72) 42%, rgba(23,25,29,.15) 75%), linear-gradient(0deg, rgba(23,25,29,.9) 0%, rgba(23,25,29,0) 38%); }
.hero-inner { padding-top: clamp(56px, 9vw, 120px); padding-bottom: 40px; }
.hero-h { font-size: clamp(36px, 6vw, 68px); font-weight: 850; letter-spacing: -.035em; line-height: 1.02; max-width: 13.5em; margin-bottom: 22px; }
.hero-h span { display: block; color: #c9ced4; font-weight: 700; }
.hero-p { font-size: 18.5px; color: #cfd4d9; max-width: 46ch; margin-bottom: 36px; }
.quick-search { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr auto; gap: 0; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 6px; max-width: 980px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.qs-field { display: flex; flex-direction: column; padding: 8px 16px 6px; border-right: 1px solid var(--line); min-width: 0; }
.qs-field span { font: 600 12.5px/1 var(--display); color: var(--steel); margin-bottom: 2px; }
.qs-field select { border: 0; background: transparent; padding: 4px 0; font-weight: 600; font-size: 16px; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235f6770' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 16px; padding-right: 22px; min-width: 0; }
.qs-field select:disabled { color: var(--steel-light); cursor: default; }
.qs-field:nth-child(3) { border-right: 0; }
.qs-go { min-height: 58px; padding: 0 26px; font-size: 16px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 34px 0 0; color: #cfd4d9; font-size: 15px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; }
.hero-trust .i { color: var(--red); }

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 7vw, 92px) 0; }
.sec-tight { padding: 0 0 clamp(48px, 6vw, 72px); }
.sec-alt { background: var(--paper); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head .h2 { margin: 0; }
.empty { color: var(--steel); background: var(--paper); padding: 28px; border-radius: var(--r); }

/* ---------- Vehicle cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { position: relative; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(23,25,29,.06), 0 18px 36px -16px rgba(23,25,29,.32); }
.card-link { position: absolute; inset: 0; z-index: 3; }
.card-link:focus-visible { outline-offset: -3px; border-radius: var(--r); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #d7dbe0; overflow: hidden; }
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media img { transition: transform .4s ease; }
.tag { position: absolute; left: 12px; top: 12px; background: var(--asphalt); color: #fff; font: 650 12.5px/1 var(--display); padding: 7px 10px; border-radius: 4px; }
.tag-reduced { background: var(--red); }
.tag-reserved { background: var(--amber); }
.photo-count { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 5px; background: rgba(23,25,29,.72); color: #fff; font: 600 12.5px/1 var(--display); padding: 6px 8px; border-radius: 4px; }
.photo-count .i { width: 15px; height: 15px; }
.card.is-reserved .card-media img { filter: saturate(.75); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 17.5px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.specs { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 7px 14px; font-size: 13.5px; color: var(--steel); }
.specs li { display: flex; align-items: center; gap: 5px; }
.specs .i { width: 16px; height: 16px; }
.card-price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 13px; }
.card-price strong { font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.card-price span { font-size: 13px; color: var(--steel); }
.noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #8d959e; font-size: 13px; background: repeating-linear-gradient(135deg, #e3e6ea 0 10px, #dde1e5 10px 20px); }
.noimg svg { width: 90px; }

/* Image protection */
.protect, .protect img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protect img { -webkit-user-drag: none; }
.shield { position: absolute; inset: 0; z-index: 1; background: transparent; }

/* ---------- Body types ---------- */
.body-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.body-type { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s; }
.body-type:hover { border-color: var(--ink); }
.body-type svg { width: 72px; height: 40px; color: var(--ink); margin-bottom: 10px; }
.body-type span { font: 700 16px/1.2 var(--display); }
.body-type small { color: var(--steel); font-size: 13px; }

/* ---------- How it works ---------- */
.how { background: var(--paper); }
.how-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.how-intro p { color: var(--steel); font-size: 17px; margin-bottom: 26px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); }
.steps li:nth-child(odd) { border-right: 1px solid var(--line); }
.steps li:nth-child(even) { padding-left: 26px; padding-right: 0; }
.steps li::before { content: counter(s); display: block; font: 800 44px/1 var(--display); color: var(--red); margin-bottom: 14px; letter-spacing: -.04em; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--steel); margin: 0; }

/* ---------- Finance band + calculator ---------- */
.finance-band { background: var(--asphalt); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.fb-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.fb-grid > div > p { color: #c3c9cf; font-size: 17px; max-width: 48ch; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.calc { background: var(--asphalt-2); border: 1px solid var(--asphalt-3); border-radius: var(--r-lg); padding: 26px; }
.calc-h { font-size: 18px; margin-bottom: 18px; }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin-bottom: 18px; font-size: 14.5px; color: #c3c9cf; }
.calc-row output { font: 700 15px/1.4 var(--display); color: #fff; text-align: right; }
.calc-row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--red); height: 24px; }
.calc .calc-result { font: 850 40px/1 var(--display); letter-spacing: -.03em; margin: 8px 0 10px; color: #fff; }
.calc-result small { font: 500 15px var(--text); color: #c3c9cf; letter-spacing: 0; }
.calc .calc-note { font-size: 13px; color: #98a0a8 !important; margin: 0; }
.calc-light { background: var(--porcelain); border-color: var(--line); padding: 18px; margin-top: 12px; }
.calc-light .calc-row { color: var(--steel); }
.calc-light .calc-row output { color: var(--ink); }
.calc-light .calc .calc-note { color: var(--steel) !important; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.visit-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.visit-list li { display: flex; gap: 12px; align-items: flex-start; }
.visit-list .i { color: var(--red); margin-top: 3px; }
.visit-list a { text-decoration: none; font-weight: 600; }
.open-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #9aa1a8; margin-right: 8px; vertical-align: 1px; }
.open-dot.is-open { background: var(--wa); box-shadow: 0 0 0 4px rgba(28,158,80,.18); }
.map-box { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #dfe2e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath d='M0 52h160M0 128h160M44 0v160M118 0v160' stroke='%23eef0f2' stroke-width='9'/%3E%3Cpath d='M0 90h160M80 0v160' stroke='%23e8ebee' stroke-width='3'/%3E%3C/svg%3E"); display: grid; place-items: center; }
.map-wide { aspect-ratio: 21 / 8; margin-bottom: 72px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 0; border-radius: 30px; padding: 12px 20px; font: 650 15px var(--display); cursor: pointer; box-shadow: var(--shadow); }
.map-load .i { color: var(--red); }

/* ---------- Page head / crumbs ---------- */
.page-head { background: var(--asphalt); color: #fff; padding: 30px 0 34px; }
.page-head .h1 { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #a7aeb6; margin-bottom: 12px; }
.crumbs a { color: #d5dadf; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-dark { color: var(--steel); margin: 22px 0 16px; }
.crumbs-dark a { color: var(--ink); }

/* ---------- Showroom ---------- */
.showroom { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.filters { position: sticky; top: 96px; background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); max-height: calc(100vh - 116px); overflow: auto; }
.filters-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-top .h4 { margin: 0; }
.filters-close { display: none; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; border: 0; padding: 0; }
.fld > span, .fld legend { font: 600 13.5px/1.2 var(--display); color: var(--ink); padding: 0; }
.fld small { color: var(--steel); font-weight: 400; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 46px; border: 1.5px solid #cfd4da; border-radius: var(--r-sm); background: var(--paper); padding: 10px 12px; font-size: 16px; }
.fld textarea { min-height: 0; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,25,29,.1); }
.fld.has-error input, .fld.has-error select, .fld.has-error textarea { border-color: var(--red); }
.fld .err { color: var(--red-dark); font-size: 13.5px; }
.fld-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.search-wrap { position: relative; display: block; }
.search-wrap .i { position: absolute; left: 12px; top: 13px; color: var(--steel); width: 19px; height: 19px; }
.search-wrap input { padding-left: 40px; }
.seg { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.seg legend { width: 100%; margin-bottom: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 8px 13px; border: 1.5px solid #cfd4da; border-radius: 30px; font-size: 14px; font-weight: 600; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.filters-actions { display: grid; gap: 6px; margin-top: 8px; }
.results-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.results-count { margin: 0 auto 0 0; font-size: 16px; color: var(--steel); }
.results-count strong { font: 800 22px var(--display); color: var(--ink); }
.filters-open { display: none; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--steel); }
.sort select { border: 1.5px solid #cfd4da; border-radius: var(--r-sm); padding: 8px 10px; background: var(--paper); font-weight: 600; color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: 6px 10px 6px 14px; font-size: 14px; text-decoration: none; font-weight: 600; }
.chips a:hover { border-color: var(--ink); }
.chips .i { width: 15px; height: 15px; color: var(--steel); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--paper); text-decoration: none; font: 650 15px var(--display); border: 1px solid var(--line); }
.pager span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.no-results { background: var(--paper); border-radius: var(--r); padding: 48px 32px; text-align: center; }
.no-results .i-lg { margin: 0 auto 14px; color: var(--steel-light); }
.no-results p { color: var(--steel); max-width: 52ch; margin: 0 auto; }
.no-results .btn-row { justify-content: center; }
.scrim { position: fixed; inset: 0; background: rgba(10,12,14,.5); z-index: 49; }

/* ---------- Vehicle detail ---------- */
.vd { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; padding-bottom: 80px; align-items: start; }
.gallery { background: var(--asphalt); border-radius: var(--r-lg); overflow: hidden; }
.stage { position: relative; aspect-ratio: 4 / 3; background: var(--asphalt); outline: none; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .3s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide picture, .slide img { width: 100%; height: 100%; object-fit: contain; }
.stage .shield { z-index: 2; cursor: zoom-in; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-nav:hover { background: #fff; }
.g-count { position: absolute; left: 14px; bottom: 14px; z-index: 3; background: rgba(23,25,29,.75); color: #fff; font: 650 13.5px/1 var(--display); padding: 8px 11px; border-radius: 4px; }
.g-full { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 42px; height: 42px; border: 0; border-radius: 6px; background: rgba(23,25,29,.75); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sold-ribbon { position: absolute; top: 18px; left: 18px; z-index: 3; background: var(--red); color: #fff; font: 800 15px/1 var(--display); padding: 10px 16px; border-radius: 4px; }
.sold-ribbon.is-reserved { background: var(--amber); }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #555 transparent; }
.thumb { flex: none; width: 96px; aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 6px; overflow: hidden; padding: 0; background: #000; cursor: pointer; opacity: .6; transition: opacity .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; }
.thumb.is-active { border-color: var(--red); opacity: 1; }
.vd-sec { background: var(--paper); border-radius: var(--r-lg); padding: 28px; margin-top: 22px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.spec-grid div { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; padding-right: 16px; }
.spec-grid dt { font-size: 13px; color: var(--steel); }
.spec-grid dd { margin: 0; font: 650 16px/1.3 var(--display); }
.feat-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 28px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 15px; }
.feat-list li { display: flex; gap: 8px; align-items: flex-start; }
.feat-list .i { width: 17px; height: 17px; color: var(--wa); margin-top: 3px; }
.prose p { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.vd-side { position: sticky; top: 96px; }
.deal { background: var(--paper); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.deal-title { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.deal-meta { color: var(--steel); font-size: 15px; margin-bottom: 18px; }
.deal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.deal-price strong { font: 850 38px/1 var(--display); letter-spacing: -.03em; }
.deal-price s { color: var(--steel); font-size: 15px; }
.deal-est { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 18px; }
.deal-est summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 14px; cursor: pointer; font-size: 15px; }
.deal-est summary::-webkit-details-marker { display: none; }
.deal-est summary strong { font-family: var(--display); }
.est-adjust { font: 650 14px var(--display); color: var(--red-dark); }
.deal-est[open] .calc-light { margin: 0 12px 12px; }
.deal-actions { display: grid; gap: 10px; }
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deal-sold { background: #fff4f3; border-left: 3px solid var(--red); padding: 12px 14px; border-radius: 4px; font-size: 15px; }
.deal-form { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.deal-form summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); }
.deal-form .enq-form { margin-top: 14px; }
.deal-trust { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14.5px; color: var(--steel); }
.deal-trust li { display: flex; gap: 9px; align-items: center; }
.deal-trust .i { color: var(--ink); width: 18px; height: 18px; }
.share-btn { margin-top: 16px; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 0; font: 600 14.5px var(--display); color: var(--steel); cursor: pointer; }
.share-btn:hover { color: var(--ink); }
.form-msg { margin: 10px 0 0; font-size: 14.5px; min-height: 1em; }
.form-msg.ok { color: var(--wa-dark); font-weight: 600; }
.form-msg.bad { color: var(--red-dark); }

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,9,11,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-stage { position: relative; max-width: 94vw; max-height: 86vh; }
.lb-stage img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cfd4d9; font: 600 14px var(--display); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 34px; }
.c-card { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: var(--r); padding: 16px; text-decoration: none; border: 1px solid var(--line); min-width: 0; }
.c-card:hover { border-color: var(--ink); }
.c-card .i { color: var(--red); margin-top: 2px; }
.c-card small { display: block; color: var(--steel); font-size: 13px; }
.c-card b { font: 650 15.5px/1.35 var(--display); overflow-wrap: anywhere; }
.hours-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.hours-table th, .hours-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours-table td { text-align: right; font-weight: 600; }
.hours-table tr.today { background: #fff4f3; }
.hours-table tr.today th { font-weight: 700; }
.hours-table small { color: var(--red-dark); font-weight: 600; margin-left: 6px; }
.contact-form-box { background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); align-self: start; }

/* ---------- Thank-you ---------- */
.done .i-xl { margin: 0 auto 18px; color: #fff; background: var(--wa); border-radius: 50%; padding: 16px; }
.ref { font-family: var(--display); color: var(--ink); background: var(--paper); padding: 2px 10px; border-radius: 4px; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-foot { background: var(--asphalt); color: #c3c9cf; padding: 64px 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.foot-brand img { height: 84px; width: auto; margin-bottom: 14px; }
.foot-brand p { max-width: 30ch; }
.foot-h { font-size: 15px; color: #fff; margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a, .site-foot address a { text-decoration: none; }
.foot-links a:hover, .site-foot address a:hover { color: #fff; text-decoration: underline; }
.foot-hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; font-size: 14px; }
.foot-hours li { display: flex; justify-content: space-between; gap: 12px; }
.foot-hours li.today { color: #fff; font-weight: 600; }
.site-foot address { font-style: normal; line-height: 1.9; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.socials a { color: #fff; font-weight: 600; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #8f979f; }
.foot-base a { margin-left: 16px; text-decoration: none; }
.foot-base a:hover { color: #fff; }
.mobile-bar { display: none; }

/* ---------- Finance application ---------- */
.fin-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.fin-steps { position: sticky; top: 96px; background: var(--paper); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.fin-steps ol { list-style: none; padding: 0; margin: 0; counter-reset: fs; }
.fin-steps li { counter-increment: fs; }
.fin-steps button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 8px; border: 0; background: none; text-align: left; border-radius: var(--r-sm); font-size: 15px; color: var(--steel); cursor: pointer; }
.fin-steps button::before { content: counter(fs); width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid #c9ced4; display: grid; place-items: center; font: 700 13px var(--display); }
.fin-steps button:disabled { cursor: default; }
.fin-steps li.is-done button { color: var(--ink); }
.fin-steps li.is-done button::before { content: "\2713"; background: var(--wa); border-color: var(--wa); color: #fff; }
.fin-steps li.is-current button { color: var(--ink); font-weight: 700; background: var(--porcelain); }
.fin-steps li.is-current button::before { background: var(--ink); color: #fff; border-color: var(--ink); }
.fin-secure { display: flex; gap: 10px; font-size: 13.5px; color: var(--steel); margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.fin-secure .i { color: var(--wa); width: 18px; height: 18px; margin-top: 2px; }
.fin-progress { display: none; height: 6px; background: #dfe3e7; border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
.fin-progress span { display: block; height: 100%; background: var(--red); width: 0; transition: width .3s; }
.fin-form { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.fin-step { display: none; }
.fin-step.is-current { display: block; }
.fin-step > .h3 { margin-bottom: 4px; }
.fin-step > .step-intro { color: var(--steel); margin-bottom: 24px; }
.fin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.fin-grid .full { grid-column: 1 / -1; }
.fin-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fin-sub { font: 700 16px var(--display); margin: 14px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); grid-column: 1 / -1; }
.fin-vehicle { display: flex; gap: 16px; align-items: center; background: var(--porcelain); border-radius: var(--r); padding: 12px; margin-bottom: 22px; }
.fin-vehicle img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.fin-vehicle b { display: block; font-family: var(--display); font-size: 17px; }
.fin-vehicle span { color: var(--steel); font-size: 14.5px; }
.fin-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.fin-nav .btn-next { margin-left: auto; }
.money-in { position: relative; display: block; }
.money-in::before { content: "R"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--steel); font-weight: 600; }
.money-in input { padding-left: 30px; }
.afford { background: var(--porcelain); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; grid-column: 1 / -1; }
.afford div { display: flex; flex-direction: column; }
.afford small { color: var(--steel); font-size: 13px; }
.afford b { font: 800 20px var(--display); }
.afford .neg { color: var(--red-dark); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 12px; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.check.has-error { border-color: var(--red); }
.doc-list { display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1.5px dashed #c9ced4; border-radius: var(--r); padding: 14px 16px; }
.doc .i { color: var(--steel); }
.doc b { display: block; font-size: 15px; }
.doc small { color: var(--steel); }
.doc input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.doc .file-name { color: var(--wa-dark); font-weight: 600; font-size: 14px; }
.doc.has-file { border-style: solid; border-color: var(--wa); }
.review { display: grid; gap: 4px; margin-bottom: 22px; }
.inline-note { background: #fff8e6; border-left: 3px solid var(--amber); padding: 12px 14px; border-radius: 4px; font-size: 14.5px; margin-bottom: 18px; }
.err-summary { background: #fff4f3; border-left: 3px solid var(--red); padding: 12px 14px; border-radius: 4px; margin-bottom: 18px; color: var(--red-dark); font-weight: 600; }
.hint { font-size: 13px; color: var(--steel); }
.id-meta { font-size: 13.5px; color: var(--wa-dark); font-weight: 600; min-height: 1.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .vd { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .main-nav, .head-phone { display: none; }
  .head-actions .btn-wa { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
  .head-actions { margin-left: auto; }
  .head-row { height: 64px; }
  .brand img { height: 46px; }
  .quick-search { grid-template-columns: 1fr 1fr; padding: 8px; }
  .qs-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .qs-field:nth-child(3) { grid-column: 1 / -1; }
  .qs-go { grid-column: 1 / -1; margin-top: 8px; }
  .how-grid, .fb-grid, .visit-grid, .contact { grid-template-columns: 1fr; gap: 36px; }
  .showroom { grid-template-columns: 1fr; padding-top: 20px; }
  .filters { position: fixed; left: 0; top: 0; bottom: 0; width: min(380px, 90vw); z-index: 50; border-radius: 0; max-height: none; transform: translateX(-105%); transition: transform .25s ease; }
  .filters.is-open { transform: none; }
  .filters-close { display: inline-grid; }
  .filters-open { display: inline-flex; }
  .results-bar { flex-wrap: wrap; }
  .vd { grid-template-columns: 1fr; }
  .vd-side { position: static; order: -1; }
  .vd-main { display: contents; }
  .gallery { order: -2; margin: 0 -20px; border-radius: 0; }
  .vd-sec { order: 0; }
  .fin-wrap { grid-template-columns: 1fr; padding-top: 16px; }
  .fin-steps { display: none; }
  .fin-progress { display: block; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--asphalt); border-top: 1px solid rgba(255,255,255,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; color: #fff; text-decoration: none; font: 600 12.5px var(--display); }
  .mobile-bar a.wa { background: var(--wa); }
  body { padding-bottom: 64px; }
  .site-foot { padding-bottom: 10px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .gallery { margin: 0 -16px; }
  .hero-p { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(even) { padding: 22px 0; border-right: 0; }
  .grid-cards { grid-template-columns: 1fr; gap: 16px; }
  .fld-pair, .fin-grid, .fin-grid-3 { grid-template-columns: 1fr; }
  .c-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .deal { padding: 20px; box-shadow: none; }
  .deal-price strong { font-size: 32px; }
  .g-nav { width: 40px; height: 40px; }
  .thumb { width: 76px; }
  .vd-sec { padding: 20px; border-radius: var(--r); }
  .afford { grid-template-columns: 1fr; }
  .map-wide { aspect-ratio: 4 / 3; }
  .sort span { display: none; }
  .fin-vehicle img { width: 88px; }
}
@media print {
  .site-head, .site-foot, .mobile-bar, .deal-actions, .deal-form, .share-btn { display: none !important; }
}
