/* Quality Cars — design system (base layers below; the Quality Cars layer at the end of this file sets the brand). */
:root {
  --ink: #17191d; --ink-2: #34383f; --muted: #6a6f77; --faint: #9a9ea5;
  --line: #e7e3dd; --line-2: #d9d4cc; --paper: #f8f6f2; --paper-2: #f1eee8; --surface: #fff;
  --red: #c4122f; --red-hover: #a60e27; --red-tint: #fbeef0; --red-ink: #8f0c22;
  --graphite: #1d2025; --green: #1f7a4d; --amber: #9a6100;
  --radius: 10px; --radius-sm: 7px; --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(23, 25, 29, .06);
  --shadow: 0 1px 2px rgba(23, 25, 29, .05), 0 8px 24px -12px rgba(23, 25, 29, .16);
  --shadow-lg: 0 24px 60px -24px rgba(23, 25, 29, .35);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  --wrap: 1240px; --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.i { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .18s var(--ease), border-color .18s, color .18s, transform .08s; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-quiet { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-quiet:hover { background: var(--paper-2); border-color: var(--ink-2); }
.btn-light { background: rgba(255,255,255,.94); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { border-color: var(--red); }
.link-arrow:hover .i { transform: translateX(3px); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid transparent; background: none; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn .count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font: 600 11px/17px var(--font); text-align: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; color: var(--ink); }
.logo { width: 168px; height: auto; }
.logo-invert { color: #fff; }
.primary-nav { flex: 1; }
.primary-nav > ul { display: flex; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); font-weight: 500; font-size: 15px; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: none; }
.chev { width: 16px; height: 16px; transition: transform .2s var(--ease); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; animation: menuIn .16s var(--ease); }
.menu-wide { min-width: 300px; }
.menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 500; font-size: 15px; }
.menu a span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.menu a:hover, .menu a:focus-visible { background: var(--paper); outline-offset: -2px; }
.menu-wide a { border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.menu-wide a:hover { border-left-color: var(--red); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 0 10px; height: 40px; border-radius: var(--radius-sm); }
.header-phone .i { width: 17px; height: 17px; color: var(--red); }
.header-phone:hover { background: var(--paper-2); }
.header-cta { margin-left: 6px; }
.mobile-only, .menu-toggle { display: none; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); padding: 16px 20px 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 14px; height: 48px; margin-bottom: 8px; }
.mobile-search input { border: 0; outline: 0; flex: 1; background: none; font-size: 16px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .i { transform: rotate(180deg); }
.mobile-nav details ul { padding-bottom: 10px; }
.mobile-nav details a { display: block; padding: 9px 0 9px 12px; border-left: 2px solid var(--line); }
.mobile-nav details a span { display: block; font-size: 13px; color: var(--muted); }
.mobile-links a { display: block; padding: 14px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.mobile-actions .btn-primary { grid-column: 1 / -1; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(86vh, 820px); display: flex; align-items: flex-end; background: #2b2e33; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,18,.58) 0%, rgba(14,15,18,.18) 34%, rgba(14,15,18,.10) 55%, rgba(14,15,18,.72) 100%); }
.hero-inner { width: 100%; padding-top: 88px; padding-bottom: 40px; }
@media (min-width: 1025px) {
  .hero-copy { margin-left: auto; max-width: 590px; }
  .hero h1 { font-size: clamp(44px, 4.6vw, 70px); }
  .hero-media::after { background: linear-gradient(90deg, rgba(14,15,18,0) 25%, rgba(14,15,18,.55) 72%), linear-gradient(180deg, rgba(14,15,18,.35) 0%, rgba(14,15,18,0) 30%, rgba(14,15,18,0) 60%, rgba(14,15,18,.55) 100%); }
  .hero-media img { object-position: 30% 70%; }
}
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 800; letter-spacing: -.035em; max-width: 13ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lede { color: rgba(255,255,255,.92); margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); }
.hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-credit { position: absolute; right: 16px; top: calc(var(--header-h) - 56px); font-size: 11px; color: rgba(255,255,255,.6); }
.hero-credit a { text-decoration: underline; }

.search-panel { margin-top: 44px; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.search-grid { display: grid; grid-template-columns: 2.2fr repeat(5, 1fr) auto; gap: 10px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field-label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.input, .select, .textarea { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); padding: 0 12px; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 104px; padding: 12px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 34px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334383f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; cursor: pointer; text-overflow: ellipsis; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,25,29,.08); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.search-panel .btn { height: 46px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; }
.popular > span { color: var(--muted); margin-right: 4px; }
.popular a { padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.popular a:hover { border-color: var(--ink-2); color: var(--ink); }
.suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; }
.suggest a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: var(--radius-sm); font-size: 15px; }
.suggest a span { color: var(--muted); font-size: 12.5px; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--paper); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 22ch; }
.section-head p.sub { color: var(--muted); margin-top: 10px; max-width: 56ch; }

.bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.band { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; background: var(--graphite); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,13,0) 30%, rgba(10,11,13,.82) 100%); }
.band:hover img { transform: scale(1.035); }
.band-body { padding: 28px; }
.band-tier { font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.band h3 { font-size: 30px; margin: 10px 0 6px; }
.band p { color: rgba(255,255,255,.85); font-size: 15px; max-width: 34ch; }
.band .link-arrow { color: #fff; border-color: rgba(255,255,255,.4); margin-top: 18px; }
.band .count-chip { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,.92); color: var(--ink); font: 600 12.5px/1 var(--font); padding: 7px 10px; border-radius: 999px; }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 112px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); transition: background .2s; text-align: center; padding: 10px; }
.brand-tile img { max-height: 34px; max-width: 90px; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.brand-tile .bn { font: 700 16px/1.15 var(--display); letter-spacing: -.01em; }
.brand-tile .bc { font-size: 12.5px; color: var(--muted); }
.brand-tile:hover { background: var(--paper); }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile:hover .bn { color: var(--red); }

/* ---------- Car cards ---------- */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.car-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.car-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s; }
.car-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.car-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car-card:hover .car-media img { transform: scale(1.03); }
.img-missing { display: grid; place-content: center; justify-items: center; gap: 6px; height: 100%; color: var(--faint); font-size: 13px; }
.car-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 5px; font: 600 12px/1 var(--font); background: var(--surface); color: var(--ink); }
.badge .i { width: 14px; height: 14px; }
.badge-light { background: rgba(255,255,255,.94); }
.badge-demo { background: rgba(23,25,29,.78); color: #fff; letter-spacing: .04em; }
.badge-reserved { background: #fff4e0; color: var(--amber); }
.badge-sold { background: var(--ink); color: #fff; }
.badge-ok { background: #e8f4ed; color: var(--green); }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s; }
.fav-btn .i { width: 18px; height: 18px; }
.fav-btn:hover { transform: scale(1.06); }
.fav-btn[aria-pressed="true"] { color: var(--red); }
.fav-btn[aria-pressed="true"] .i { fill: var(--red); }
.car-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 14px; }
.car-kicker { font-size: 13px; color: var(--muted); }
.car-title { font-size: 19px; margin-top: 3px; }
.car-title span { font: 500 15px/1.3 var(--font); color: var(--ink-2); letter-spacing: 0; }
.car-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car-specs { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.car-specs li:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--faint); }
.car-specs li.muted { color: var(--muted); }
.car-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: auto; padding-top: 16px; }
.car-price strong { display: block; font: 700 21px/1.1 var(--display); letter-spacing: -.02em; }
.car-price { min-width: 0; }
.car-price span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.listing .car-grid { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.listing .car-grid.view-list { grid-template-columns: 1fr; }
.listing .car-body { padding: 16px 16px 12px; }
.listing .car-foot .btn { padding: 0 12px; }
.fn { color: var(--muted); position: relative; z-index: 2; padding: 0 2px; }
.car-foot .btn { position: relative; z-index: 2; }
.compare-toggle { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); cursor: pointer; width: 100%; }
.compare-toggle input { accent-color: var(--red); width: 16px; height: 16px; }

.car-grid.view-list { grid-template-columns: 1fr; }
.view-list .car-card { flex-direction: row; }
.view-list .car-media { width: 340px; flex: none; aspect-ratio: auto; min-height: 220px; }
.view-list .car-body { padding: 22px 24px; }

/* ---------- Strips ---------- */
.chips-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; transition: border-color .2s; }
.pill-link small { font-weight: 400; color: var(--muted); }
.pill-link:hover { border-color: var(--ink); }
.body-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.body-tile { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s var(--ease); }
.body-tile svg { width: 100%; height: 54px; color: var(--ink-2); }
.body-tile strong { font: 700 17px/1.2 var(--display); }
.body-tile span { font-size: 13px; color: var(--muted); }
.body-tile:hover { border-color: var(--ink); }
.body-tile:hover svg { color: var(--red); }
.emi-bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.emi-band { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.emi-band strong { display: block; font: 700 24px/1.1 var(--display); letter-spacing: -.02em; }
.emi-band span { font-size: 13px; color: var(--muted); }
.emi-band:hover { border-color: var(--red); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 30px 30px 0 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 700 14px/1 var(--display); color: var(--red); margin-bottom: 18px; letter-spacing: .05em; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.feature-list .ficon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.feature-list h3 { font-size: 18px; margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: 15px; }

.contact-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.contact-card .cbody { padding: 44px; }
.contact-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.35); }
.contact-list { display: grid; gap: 18px; margin: 24px 0 28px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .i { color: var(--red); margin-top: 3px; }
.contact-list a { font-weight: 600; }
.contact-list small { display: block; color: var(--muted); }

/* ---------- Page heads / crumbs ---------- */
.page-head { padding: 40px 0 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.page-head .lede { margin-top: 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 272px 1fr; gap: 28px; padding: 36px 0 96px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.filters-head h2 { font-size: 17px; }
.text-btn { background: none; border: 0; padding: 4px; color: var(--red); font-weight: 600; font-size: 14px; cursor: pointer; }
.text-btn:hover { text-decoration: underline; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .i { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.fgroup[open] summary .i { transform: rotate(180deg); }
.fgroup .fbody { padding: 0 18px 16px; display: grid; gap: 10px; }
.fgroup .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fgroup .input, .fgroup .select { height: 40px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--red); flex: none; }
.check .n { margin-left: auto; color: var(--faint); font-size: 12.5px; }
.check.is-empty { color: var(--faint); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.filters-foot { display: none; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.results-count { font-size: 15px; color: var(--ink-2); }
.results-count strong { font: 700 20px/1 var(--display); color: var(--ink); margin-right: 4px; }
.results-tools { display: flex; gap: 8px; align-items: center; }
.results-tools .select { height: 40px; width: auto; font-size: 14px; }
.view-toggle { display: flex; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { width: 40px; height: 38px; display: grid; place-items: center; background: var(--surface); border: 0; cursor: pointer; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-open { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; cursor: pointer; }
.chip .i { width: 14px; height: 14px; color: var(--muted); }
.chip:hover { border-color: var(--red); }
.chip:hover .i { color: var(--red); }
.listing-search { display: flex; gap: 10px; margin-bottom: 20px; }
.listing-search .input-icon { flex: 1; position: relative; }
.empty { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty h2 { font-size: 24px; margin: 12px 0 8px; }
.empty p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.empty .i { width: 36px; height: 36px; color: var(--faint); margin: 0 auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 40px; }
.pager .progress { font-size: 13.5px; color: var(--muted); }

/* ---------- Detail ---------- */
.detail-top { padding: 28px 0 0; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: #f3f1ec; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.demo-note .i { color: var(--muted); margin-top: 2px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 96px; }
.detail-title h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.detail-title .variant { display: block; font: 500 18px/1.4 var(--font); color: var(--ink-2); letter-spacing: 0; margin-top: 6px; }
.detail-title .ref { font-size: 13px; color: var(--muted); margin-top: 8px; }
.gallery { margin-top: 22px; }
.gallery-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.gallery-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 500; }
.gallery-tabs button .i { width: 16px; height: 16px; }
.gallery-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.stage { position: relative; aspect-ratio: 3 / 2; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; }
.stage > img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.stage-actions { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 3; }
.stage-actions button { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.stage-actions button:hover { background: #fff; }
.stage-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; z-index: 3; }
.stage-nav.prev { left: 12px; } .stage-nav.next { right: 12px; }
.photo-credit { font-size: 12px; color: var(--muted); margin-top: 8px; }
.photo-credit a { text-decoration: underline; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.thumbs button { flex: none; width: 96px; aspect-ratio: 3/2; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--paper-2); }
.thumbs button[aria-current="true"] { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* 360 viewer */
.spin { position: relative; aspect-ratio: 3 / 2; background: #efede9; border-radius: var(--radius); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: 3px; }
.spin.dragging { cursor: grabbing; }
.spin.zoomed { touch-action: none; cursor: move; }
.spin-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.spin-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: #efede9; font-size: 14px; color: var(--muted); z-index: 4; }
.spin-bar { width: 200px; height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.spin-bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .15s; }
.spin-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; background: rgba(23,25,29,.8); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; pointer-events: none; transition: opacity .4s; z-index: 3; }
.spin-hint.gone { opacity: 0; }
.spin-dial { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 6px 12px 6px 6px; font: 600 12.5px/1 var(--font); box-shadow: var(--shadow-sm); }
.spin-dial svg { width: 26px; height: 26px; }
.spin-label { position: absolute; left: 14px; top: 14px; z-index: 3; }
.spin:fullscreen, .pano:fullscreen { border-radius: 0; background: #efede9; }
.spin.fs { position: fixed; inset: 0; z-index: 95; aspect-ratio: auto; border-radius: 0; }
.spin:focus-visible { outline: 2px solid var(--red); }
.pano { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #111; cursor: grab; touch-action: pan-y; }
.pano img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; pointer-events: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,13,15,.96); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 14px; }
.lb-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lb-tags button { background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 5px 12px; border-radius: 999px; cursor: pointer; font-size: 13px; text-transform: capitalize; }
.lb-tags button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-stage { position: relative; overflow: hidden; touch-action: none; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; transition: transform .2s var(--ease); cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lb-stage.zoomed img { cursor: grab; transition: none; }
.lb-stage .stage-nav { background: rgba(255,255,255,.12); color: #fff; }
.lb-foot { text-align: center; padding: 12px; font-size: 13px; color: rgba(255,255,255,.7); }

.info-section { margin-top: 44px; }
.info-section > h2 { font-size: 24px; margin-bottom: 18px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { display: flex; gap: 12px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec:nth-child(3n) { border-right: 0; }
.spec .i { color: var(--muted); margin-top: 2px; }
.spec dt { font-size: 12.5px; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-weight: 600; }
.spec dd.unknown { font-weight: 500; color: var(--muted); font-style: italic; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.facts > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14.5px; }
.facts dd { margin: 0; }
.facts .unknown { color: var(--muted); font-style: italic; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.feat-list li { display: flex; gap: 10px; align-items: center; }
.feat-list .i { color: var(--green); width: 18px; height: 18px; }

.buy-box { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.buy-box .price { font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.buy-box .price-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.buy-box .emi-line { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); font-size: 14px; }
.buy-box .emi-line strong { font: 700 18px/1 var(--display); }
.buy-box .emi-line a { color: var(--red); font-weight: 600; font-size: 13.5px; }
.buy-actions { display: grid; gap: 10px; margin-top: 18px; }
.buy-actions .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-actions { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.mini-actions button, .mini-actions a { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-size: 13.5px; color: var(--ink-2); cursor: pointer; padding: 4px; }
.mini-actions button:hover, .mini-actions a:hover { color: var(--red); }
.mini-actions .i { width: 17px; height: 17px; }
.mini-actions [aria-pressed="true"] { color: var(--red); }
.mini-actions [aria-pressed="true"] .i { fill: var(--red); }
.mobile-buy-bar { display: none; }
.reco-reason { display: block; font-size: 12.5px; color: var(--green); margin-top: 8px; }

/* ---------- EMI calculator ---------- */
.emi { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.emi-inputs { padding: 32px; display: grid; gap: 26px; }
.emi-row { display: grid; gap: 10px; }
.emi-row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.emi-row-head label { font-weight: 600; font-size: 14.5px; }
.emi-row-head .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.money { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-sm); height: 42px; padding: 0 10px; width: 170px; background: var(--surface); }
.money:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,25,29,.08); }
.money span { color: var(--muted); font-size: 14px; }
.money input { border: 0; outline: 0; width: 100%; text-align: right; font-weight: 600; font-size: 15px; background: none; font-variant-numeric: tabular-nums; }
.money.small { width: 110px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--red) var(--p), var(--line-2) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--red) var(--p), var(--line-2) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--red); box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--red); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: -4px; }
.tenure { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.tenure label { position: relative; }
.tenure input { position: absolute; opacity: 0; }
.tenure span { display: grid; place-items: center; height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; cursor: pointer; }
.tenure input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.tenure input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.emi-out { background: var(--graphite); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.emi-out .big { font: 800 44px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.emi-out .big small { font: 500 16px/1 var(--font); color: rgba(255,255,255,.7); letter-spacing: 0; }
.emi-out .lbl { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.emi-donut { display: flex; align-items: center; gap: 20px; }
.emi-donut svg { width: 110px; height: 110px; flex: none; transform: rotate(-90deg); }
.legend { display: grid; gap: 8px; font-size: 13.5px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }
.emi-table { display: grid; gap: 0; font-size: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.emi-table div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-variant-numeric: tabular-nums; }
.emi-table dt { color: rgba(255,255,255,.72); }
.emi-table dd { margin: 0; font-weight: 600; }
.emi-note { font-size: 12.5px; color: rgba(255,255,255,.62); line-height: 1.5; }
.emi-out .btn-primary { margin-top: auto; }
.amort { margin-top: 18px; }
.amort summary { cursor: pointer; font-weight: 600; font-size: 14.5px; }
.amort table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.amort th, .amort td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.amort th:first-child, .amort td:first-child { text-align: left; }
.amort th { font-weight: 600; color: var(--muted); font-size: 12.5px; }

/* ---------- Forms, dialog, stepper ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.req { color: var(--red); }
.field-error { font-size: 13px; color: var(--red-ink); }
.field-help { font-size: 12.5px; color: var(--muted); }
.consent-box { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; padding: 12px 14px; background: var(--paper); border-radius: var(--radius-sm); }
.consent-box input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status.error { background: var(--red-tint); color: var(--red-ink); }
.dialog { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); box-shadow: var(--shadow-lg); color: var(--ink); }
.dialog::backdrop { background: rgba(14,15,18,.55); backdrop-filter: blur(2px); }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 24px 24px 0; }
.dialog-head h2 { font-size: 22px; }
.dialog-head p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.dialog-body { padding: 20px 24px 24px; display: grid; gap: 16px; }
.dialog-car { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--paper); border-radius: var(--radius-sm); font-size: 14px; }
.dialog-car img { width: 72px; height: 48px; object-fit: cover; border-radius: 5px; }
.success { text-align: center; padding: 32px 24px; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: #e8f4ed; color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.success h3 { font-size: 22px; margin-bottom: 8px; }
.success p { color: var(--muted); }
.success .ref { display: inline-block; margin-top: 14px; font: 600 14px/1 ui-monospace, monospace; padding: 8px 12px; background: var(--paper); border-radius: var(--radius-sm); }

.sell-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 48px 0 96px; align-items: start; }
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 28px; }
.stepper li { font-size: 12.5px; color: var(--muted); }
.stepper li::before { content: ""; display: block; height: 3px; border-radius: 2px; background: var(--line-2); margin-bottom: 10px; transition: background .3s; }
.stepper li.done::before, .stepper li.current::before { background: var(--red); }
.stepper li.current { color: var(--ink); font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.panel h2 { font-size: 24px; margin-bottom: 6px; }
.panel > p.sub { color: var(--muted); margin-bottom: 24px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; cursor: pointer; }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.dropzone { display: grid; place-items: center; gap: 8px; text-align: center; padding: 36px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone.over, .dropzone:hover { border-color: var(--ink); background: var(--surface); }
.dropzone .i { width: 30px; height: 30px; color: var(--muted); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 14px; }
.previews figure { position: relative; margin: 0; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; }
.previews button .i { width: 15px; height: 15px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card h2 { font-size: 20px; margin-bottom: 16px; }
.aside-card ul { display: grid; gap: 14px; font-size: 14.5px; color: var(--ink-2); }
.aside-card li { display: flex; gap: 10px; }
.aside-card li .i { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }

/* ---------- Compare ---------- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.compare-table thead th { vertical-align: bottom; }
.compare-table tbody th { color: var(--muted); font-weight: 500; width: 200px; font-size: 14px; }
.compare-table .cmp-head img { aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 12px; width: 100%; }
.compare-table .best { color: var(--green); font-weight: 600; }
.compare-scroll { overflow-x: auto; }

/* ---------- Footer & floating ---------- */
.site-footer { background: var(--graphite); color: rgba(255,255,255,.78); padding: 72px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin: 18px 0; max-width: 40ch; }
.footer-brand address { font-style: normal; display: flex; gap: 10px; }
.footer-brand .i { width: 18px; height: 18px; color: #ff6b81; margin-top: 3px; }
.footer-phones { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-phones a { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: rgba(255,255,255,.55); display: grid; gap: 10px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: #1f8f4e; color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); transition: transform .2s var(--ease), background .2s; }
.wa-float .i { width: 24px; height: 24px; }
.wa-float:hover { background: #187a42; transform: translateY(-2px); }
body.has-tray .wa-float { bottom: 88px; }
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.25); }
.compare-tray-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; font-size: 14.5px; }
.compare-tray-actions { display: flex; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14.5px; box-shadow: var(--shadow-lg); }
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-lg); font-size: 14px; display: grid; gap: 12px; }
.consent div { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Prose / admin ---------- */
.prose { max-width: 760px; padding: 48px 0 96px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--red); text-decoration: underline; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: #fff8e8; border: 1px solid #f0dcaa; color: #5d4200; font-size: 14px; }

.admin { padding: 32px 0 96px; }
.admin-nav { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-nav a { padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface); font-weight: 500; font-size: 14px; }
.admin-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--paper); }
.table img { width: 64px; height: 43px; object-fit: cover; border-radius: 4px; }
.table .select { height: 34px; font-size: 13px; width: auto; }
.admin-form { display: grid; gap: 24px; }
.admin-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; margin: 0; }
.admin-form legend { font: 700 16px/1 var(--display); padding: 0 6px; }
.admin-form .form-grid { grid-template-columns: repeat(3, 1fr); }
.media-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.media-item { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); font-size: 12.5px; }
.media-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.media-item .mi-bar { display: flex; gap: 4px; padding: 6px; align-items: center; }
.media-item .select { height: 30px; font-size: 12px; padding: 0 22px 0 6px; flex: 1; background-position: right 4px center; }
.media-item button { width: 30px; height: 30px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 5px; cursor: pointer; display: grid; place-items: center; flex: none; }
.media-item button .i { width: 14px; height: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat strong { display: block; font: 700 26px/1.1 var(--display); }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Refinement layer (v2): quieter weights, finer lines, editorial spacing ---------- */
:root { --line: #ebe7e1; --line-2: #dcd7cf; }
h1, h2, h3 { font-weight: 700; }
.page-head h1, .detail-title h1, .hero h1 { font-weight: 700; letter-spacing: -.035em; }
.section { padding: 104px 0; }
.section-head { margin-bottom: 40px; align-items: flex-end; }
.section-head h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -.025em; }
.eyebrow { font-size: 11.5px; letter-spacing: .18em; color: var(--muted); }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.btn { font-weight: 600; letter-spacing: .005em; }
.btn-whatsapp { background: #1f8f4e; color: #fff; }
.btn-whatsapp:hover { background: #187a42; }

/* Car cards */
.car-card { border-color: var(--line); border-radius: 12px; }
.car-card:hover { box-shadow: 0 18px 40px -26px rgba(23,25,29,.35); }
.car-body { padding: 18px 18px 16px; }
.car-kicker { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.car-title { font-size: 20px; font-weight: 650; margin-top: 4px; }
.car-specs { font-size: 13px; color: var(--muted); }
.car-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.car-highlights li { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.car-foot { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; align-items: center; }
.car-price strong { font-size: 19px; font-weight: 700; }
.car-go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; flex: none; }
.car-go .i { width: 16px; height: 16px; }
.car-card:hover .car-go { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-tools { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; align-items: center; }
.card-tools .fav-btn { position: static; }
.tool-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.94); font-size: 12px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s; }
.tool-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tool-chip:has(input:checked) { opacity: 1; background: var(--ink); color: #fff; }
.tool-chip:has(input:focus-visible) { outline: 2px solid var(--red); opacity: 1; }
.car-card:hover .tool-chip, .car-card:focus-within .tool-chip { opacity: 1; }
@media (hover: none) { .tool-chip { opacity: 1; } }
.badge-demo { background: rgba(255,255,255,.92); color: var(--muted); border: 1px solid var(--line-2); font-weight: 500; letter-spacing: .02em; }

/* Placeholder for cars without photos: silhouette + name, no stock image */
.car-art { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; width: 100%; height: 100%; padding: 18px;
  background: radial-gradient(120% 90% at 50% 100%, #e9e5de 0%, #f4f2ee 55%, #faf9f6 100%); color: #b9b2a7; text-align: center; }
.car-art svg { width: 64%; max-width: 280px; height: auto; color: #b3ab9f; }
.car-art-name { font: 600 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.car-art-note { font-size: 11.5px; color: var(--muted); }
.stage-art { display: grid; }
.stage-art .car-art svg { max-width: 420px; }
.stage-ask { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); box-shadow: var(--shadow-sm); }

/* Services strip */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services li + li { border-left: 1px solid var(--line); }
.services a { display: flex; flex-direction: column; gap: 8px; padding: 30px 26px; height: 100%; transition: background .2s; }
.services a:hover { background: var(--paper); }
.services strong { font: 600 18px/1.2 var(--display); }
.services span:not(.svc-icon) { font-size: 14px; color: var(--muted); flex: 1; }
.services em { font-style: normal; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--red); }
.services em .i { width: 15px; height: 15px; transition: transform .2s; }
.services a:hover em .i { transform: translateX(3px); }
.svc-icon { color: var(--ink); margin-bottom: 6px; }

.band .count-chip { display: none; }
.brand-strip, .emi-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.brand-strip a, .emi-strip a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.brand-strip a span { color: var(--muted); font-size: 12px; }
.brand-strip a:hover, .emi-strip a:hover { border-color: var(--ink); }
.brand-strip a.all { border: 0; background: none; color: var(--red); font-weight: 600; }
.brand-strip a.all .i { width: 15px; height: 15px; }
.emi-strip > span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.body-tile div { display: grid; gap: 2px; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s var(--ease); }
.guide-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.guide-card h3 { font-size: 20px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.guide-card p { color: var(--muted); font-size: 15px; flex: 1; }
.guide-meta { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.article { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.article h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.03em; margin: 10px 0 14px; text-wrap: balance; }
.article .lede { font-size: 19px; }
.article-body { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 12px; }
.article-body h2 { font-size: 22px; font-weight: 600; margin: 34px 0 10px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.article-body p + p { margin-top: 14px; }
.article-body ul { display: grid; gap: 10px; padding-left: 0; margin-top: 12px; }
.article-body li { position: relative; padding-left: 22px; }
.article-body li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 1.5px; background: var(--red); }
.tip { margin-top: 28px !important; padding: 18px 20px; border-left: 2px solid var(--red); background: var(--surface); border-radius: 0 8px 8px 0; font-size: 16px !important; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 44px 0 16px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.article-cta div { display: grid; gap: 4px; }
.article-cta span { color: var(--muted); font-size: 14.5px; }

/* Rent */
.rent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rent-tile { display: grid; gap: 8px; justify-items: start; text-align: left; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s; }
.rent-tile svg { width: 120px; height: 58px; color: var(--ink-2); }
.rent-tile strong { font: 600 18px var(--display); }
.rent-tile span { color: var(--muted); font-size: 14px; }
.rent-tile:hover { border-color: var(--ink); }
.rent-tile:hover svg { color: var(--red); }
.rent-steps { counter-reset: r; display: grid; gap: 20px; }
.rent-steps li { display: grid; gap: 4px; padding-left: 44px; position: relative; }
.rent-steps li::before { counter-increment: r; content: counter(r); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 13px var(--display); }
.rent-steps span { color: var(--muted); }

/* Vehicle detail: glance + report */
.detail-title h1 { font-size: clamp(32px, 3.6vw, 46px); }
.detail-title h1 .yr { color: var(--muted); font-weight: 500; }
.detail-title .variant { font-size: 17px; }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.highlights li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; }
.highlights .i { width: 15px; height: 15px; color: var(--green); }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.glance > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.glance .i { grid-row: span 2; color: var(--faint); width: 20px; height: 20px; margin-top: 2px; }
.glance dt { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.glance dd { margin: 2px 0 0; font-weight: 600; font-size: 15.5px; }
.glance dd.unknown, .report dd.unknown { font-weight: 400; color: var(--faint); font-style: normal; }
.report-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.report-head h2 { margin: 0 !important; }
.report-progress { width: 120px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.report-progress i { display: block; height: 100%; background: var(--green); }
.report-intro { font-size: 14.5px; margin-bottom: 18px; }
.report { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.report-group { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 8px; }
.report-group h3 { font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.report-group dl { margin: 0; }
.report-group dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.report-group dl > div:first-child { border-top: 0; }
.report-group dt { font-size: 12.5px; color: var(--muted); }
.report-group dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 500; }
.buy-box { border-radius: 16px; }
.detail-grid > aside { align-self: stretch; } /* gives the sticky buy box room to stay in view */
.buy-actions .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.buy-actions .two .btn { padding: 0 10px; gap: 6px; font-size: 14px; min-width: 0; }
.buy-box .price { font-weight: 700; }
.buy-note { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.buy-note .i { width: 15px; height: 15px; }

/* ---------- v3: midnight navy, ivory and charcoal; red reserved for primary actions ---------- */
:root {
  --ink: #1e2329; --ink-2: #3a414b; --muted: #6b717a; --faint: #a0a5ad;
  --paper: #f8f6f1; --paper-2: #f0ede6; --surface: #fff; --line: #e9e5de; --line-2: #dad5cc;
  --navy: #0f1b2d; --navy-2: #182840; --metal: #c5cad1; --graphite: #0f1b2d;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 64px; --space-6: 104px;
}
.site-header { background: rgba(248, 246, 241, .94); }
.header-cta .i { width: 16px; height: 16px; }
.section-alt { background: var(--surface); }
.section-sub { color: var(--muted); max-width: 60ch; margin: -24px 0 32px; }
.section-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-row h2 { margin: 0 !important; }

/* Hero */
.hero h1 { font-size: clamp(42px, 5.4vw, 74px); max-width: 12ch; line-height: 1.02; }
.hero-sub { font: 500 clamp(18px, 1.7vw, 22px)/1.3 var(--display); color: #fff; margin-top: 16px; letter-spacing: -.01em; }
.hero .lede { font-size: 16px; color: rgba(255,255,255,.82); max-width: 46ch; margin-top: 10px; }
.search-panel { padding: 22px 24px; }
.search-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.search-head h2 { font-size: 18px; font-weight: 600; }
.search-head p { color: var(--muted); font-size: 14px; }
.search-grid { grid-template-columns: repeat(5, 1fr) auto; }
.search-help { margin-top: 12px; font-size: 13.5px; }
.search-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; }
.search-help .i { width: 14px; height: 14px; }

/* Categories */
.bands-4 { grid-template-columns: repeat(4, 1fr); }
.bands-4 .band { min-height: 380px; }
.bands-4 .band h3 { font-size: 24px; }
.cat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.cat-row a { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s; }
.cat-row a:hover { border-color: var(--ink); }
.cat-row strong { font: 600 16px var(--display); }
.cat-row span { font-size: 13.5px; color: var(--muted); }
.cat-row em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.cat-row em .i { width: 14px; height: 14px; }
.listing-note { margin-top: 28px; }

/* Cards: availability + actions */
.car-foot { padding-bottom: 12px; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f9e62; }
.avail-reserved::before { background: #d39b2a; }
.avail-sold::before { background: var(--faint); }
.car-actions { position: relative; z-index: 2; display: flex; gap: 6px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.car-actions a { font-size: 13px; font-weight: 600; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.car-actions a:hover { background: var(--paper); color: var(--ink); }
.car-actions .ca-main { background: var(--ink); color: #fff; }
.car-actions .ca-main:hover { background: #000; color: #fff; }
.car-actions .ca-wa { margin-left: auto; color: #1f8f4e; padding: 6px; }
.car-actions .ca-wa .i { width: 22px; height: 22px; }
.car-go { display: none; }

/* Navy feature section + footer */
.section-navy { background: var(--navy); color: #e8ebf0; }
.why { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.why-intro h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; color: #fff; letter-spacing: -.025em; margin-bottom: 18px; }
.why-intro p:last-child { color: #b8c0cc; max-width: 46ch; }
.section-navy .eyebrow { color: var(--metal); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; }
.why-list li { display: grid; gap: 8px; padding: 28px; background: var(--navy); }
.why-list .i { color: var(--metal); }
.why-list strong { font: 600 18px var(--display); color: #fff; }
.why-list span { color: #aeb7c4; font-size: 14.5px; }
.site-footer { background: var(--navy); padding: 64px 0 28px; }
.footer-tag { margin-top: 16px; font: 500 17px/1.5 var(--display); color: #fff; }
.footer-tag span { color: #9aa5b5; font-weight: 400; }
.site-footer address { font-style: normal; color: #b8c0cc; max-width: 30ch; }
.footer-phones { flex-direction: column; gap: 6px; margin-top: 12px; }
.footer-legal { margin-top: 40px; }
.footer-legal a { color: #cfd5de; }

/* Sell / Rent / Test drive trio + final CTA */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.trio article { display: flex; flex-direction: column; gap: 12px; padding: 36px 32px 8px 0; }
.trio article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.trio h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.trio p:not(.eyebrow) { color: var(--muted); flex: 1; }
.trio .btn { align-self: flex-start; margin-top: 8px; }
.final-cta { padding: 96px 0; text-align: center; background: var(--paper-2); border-top: 1px solid var(--line); }
.final-cta h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; max-width: 20ch; margin: 0 auto 14px; text-wrap: balance; }
.final-cta p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.final-cta .final-tag { margin-top: 14px; font-weight: 600; color: var(--ink); }
.final-cta .hero-ctas { justify-content: center; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.form-title { font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 20px; }
.form-card .btn-lg { justify-self: start; }
.form-note { margin-top: -8px; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.form-aside h2 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.form-aside p { color: var(--muted); margin-bottom: 18px; }
.steps-list { counter-reset: s; display: grid; gap: 20px; }
.steps-list li { position: relative; padding-left: 44px; display: grid; gap: 3px; }
.steps-list li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 13px var(--display); background: var(--surface); }
.steps-list span { color: var(--muted); font-size: 14.5px; }
.form-success { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 40px 28px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.form-success .tick { width: 52px; height: 52px; border-radius: 50%; background: #e8f4ed; color: var(--green); display: grid; place-items: center; }
.form-success h3 { font-size: 22px; font-weight: 600; }
.form-success p { color: var(--muted); max-width: 48ch; }
.form-status:not(.error) { background: var(--paper); color: var(--ink-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rent-tile { text-decoration: none; }

/* Contact / About / FAQ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-cards li { display: grid; gap: 8px; justify-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.contact-cards li > span { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-cards strong { font-weight: 500; }
.phone-big { font: 600 22px var(--display); letter-spacing: .01em; }
.map-band iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(.4); }
.map-band > a { min-height: 220px !important; }
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about-copy { display: grid; gap: 16px; max-width: 60ch; }
.about-copy p:not(.lede) { color: var(--ink-2); font-size: 17px; }
.values { display: grid; gap: 0; margin: 0; }
.values div { padding: 18px 0; border-top: 1px solid var(--line); }
.values dt { font: 600 17px var(--display); }
.values dd { margin: 4px 0 0; color: var(--muted); }
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px var(--display); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; flex: none; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 62ch; }
.faq-more { margin-top: 28px; color: var(--muted); }
.faq-more a { color: var(--ink); font-weight: 600; text-decoration: underline; }

/* Vehicle page 360 section */
.spin-jump { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.spin-jump .i { width: 16px; height: 16px; color: var(--red); }
.spin { background: radial-gradient(120% 90% at 50% 100%, #e7e3dc 0%, #f3f1ec 55%, #faf9f6 100%); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .primary-nav .nav-link { padding: 0 9px; font-size: 14.5px; }
  .header-phone span { display: none; }
  .search-grid { grid-template-columns: repeat(3, 1fr); }
  .search-grid .field-q { grid-column: 1 / -1; }
  .search-grid .btn { grid-column: 1 / -1; }
  .car-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .primary-nav, .header-phone, .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-only, .menu-toggle { display: inline-grid; }
  .listing { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .filters { position: fixed; inset: 0; z-index: 80; max-height: none; border-radius: 0; border: 0; display: none; padding-bottom: 80px; }
  .filters.open { display: block; animation: sheetIn .25s var(--ease); }
  .filters-foot { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line); z-index: 2; }
  .filters-foot .btn { flex: 1; }
  .filter-open { display: inline-flex; }
  .car-grid, .car-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .bands { grid-template-columns: 1fr 1fr; }
  .bands .band:last-child { grid-column: 1 / -1; min-height: 340px; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .body-grid { grid-template-columns: repeat(3, 1fr); }
  .emi-bands { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .buy-box { position: static; }
  .mobile-buy-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: var(--surface); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .mobile-buy-bar .btn { height: 44px; padding: 0 8px; font-size: 14px; }
  body.has-buybar .wa-float { display: none; }
  body.has-buybar { padding-bottom: 70px; }
  .emi { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { grid-template-columns: 1fr; }
  .sell-layout { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .admin-form .form-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@keyframes sheetIn { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .logo { width: 138px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .hero { min-height: auto; background: var(--paper); }
  .hero-media { bottom: auto; height: 640px; }
  .hero-media img { object-position: 24% 78%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(14,15,18,.62) 0%, rgba(14,15,18,.35) 45%, rgba(14,15,18,0) 62%, rgba(14,15,18,.25) 100%); }
  .hero-inner { padding-top: 44px; padding-bottom: 8px; }
  .hero h1 { font-size: 38px; }
  .hero-copy { padding-bottom: 190px; }
  .search-panel .field-opt { display: none; }
  .hero-ctas .btn { flex: 1; }
  .search-panel { padding: 16px; margin-top: 32px; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .car-grid, .car-grid.cols-4, .bands { grid-template-columns: 1fr; }
  .bands .band:last-child { grid-column: auto; }
  .band { min-height: 320px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-tile { height: 92px; }
  .body-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .view-list .car-card { flex-direction: column; }
  .view-list .car-media { width: auto; aspect-ratio: 3/2; min-height: 0; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(3n) { border-right: 1px solid var(--line); }
  .spec:nth-child(2n) { border-right: 0; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .feat-list { grid-template-columns: 1fr; }
  .emi-inputs, .emi-out { padding: 22px; }
  .money { width: 140px; }
  .tenure { grid-template-columns: repeat(4, 1fr); }
  .form-grid, .admin-form .form-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 22px; }
  .stepper li span { display: none; }
  .contact-card .cbody { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float .i { width: 28px; height: 28px; }
  .results-tools .select { max-width: 160px; }
  .view-toggle { display: none; }
  .dialog-head, .dialog-body { padding-left: 18px; padding-right: 18px; }
}
.nav-link, .header-phone { white-space: nowrap; }
.nav-link { padding: 0 10px; }
.header-inner { gap: 20px; }
@media (max-width: 1360px) { .header-phone span { display: none; } }
@media (max-width: 1180px) { .primary-nav .nav-link { padding: 0 7px; font-size: 14px; } .header-inner { gap: 12px; } .logo { width: 150px; } }
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .services li:nth-child(4) { border-left: 0; }
  .services li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .report { grid-template-columns: 1fr 1fr; }
  .guide-grid, .rent-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) { .search-grid { grid-template-columns: repeat(3, 1fr); } .search-grid .btn { grid-column: auto; } }
@media (max-width: 1024px) {
  .bands-4, .cat-row { grid-template-columns: 1fr 1fr; }
  .bands-4 .band:last-child { grid-column: auto; min-height: 380px; }
  .why, .form-layout, .contact-grid, .about { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .form-aside { position: static; }
  .trio { grid-template-columns: 1fr; }
  .trio article, .trio article + article { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .btn { grid-column: 1 / -1; }
  .bands-4 { grid-template-columns: 1fr; }
  .bands-4 .band, .bands-4 .band:last-child { min-height: 260px; }
  .cat-row { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .form-card .btn-lg { justify-self: stretch; }
  .hero h1 { font-size: 40px; }
  .final-cta { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .services li + li { border-left: 0; border-top: 1px solid var(--line); }
  .services a { padding: 22px 4px; }
  .glance { grid-template-columns: 1fr 1fr; }
  .report, .guide-grid, .rent-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---------- Hero v4: scenic road, copy in the sky, car left clear, search below ---------- */
.hero { min-height: min(86vh, 860px); align-items: flex-start; background: #2a3138; }
.hero-media img { object-position: 50% 46%; }
/* light touch: a soft left-side veil for the copy, the peaks and the SUV stay crisp */
.hero-media::after { background: linear-gradient(90deg, rgba(10,16,24,.62) 0%, rgba(10,16,24,.38) 30%, rgba(10,16,24,0) 52%), linear-gradient(180deg, rgba(10,16,24,.28) 0%, rgba(10,16,24,0) 22%, rgba(10,16,24,0) 80%, rgba(10,16,24,.22) 100%); }
.hero-inner { padding-top: clamp(48px, 8vh, 88px); padding-bottom: 150px; }
.hero-copy { margin-left: 0; max-width: 640px; }
.hero .lede { max-width: 48ch; }
.hero-kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 4.6vw, 68px); max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-sub { margin-top: 18px; }
.hero .lede { margin-top: 10px; max-width: 44ch; color: rgba(255,255,255,.86); }
.hero-ctas { margin-top: 28px; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.search-wrap { position: relative; z-index: 5; margin-top: -84px; }
.search-wrap .search-panel { margin-top: 0; }
@media (min-width: 1025px) { .hero-copy { margin-left: 0; max-width: 640px; } .hero-media img { object-position: 50% 46%; } }
@media (max-width: 1024px) { .hero { min-height: 620px; } .hero-inner { padding-bottom: 180px; } }
@media (max-width: 640px) {
  .hero { min-height: 0; background: #1a1612; }
  .hero-media { bottom: 0; height: auto; }
  /* scale from the top so the SUV sits in the clear band below the buttons */
  .hero-media img { object-position: 40% 0; transform: scale(1.3); transform-origin: 45% 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(10,16,24,.66) 0%, rgba(10,16,24,.45) 50%, rgba(10,16,24,.05) 72%, rgba(10,16,24,.15) 100%); }
  .hero-inner { padding-top: 36px; padding-bottom: 230px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: 38px; }
  .hero-kicker { font-size: 11px; letter-spacing: .14em; }
  .search-wrap { margin-top: -56px; }
}
@media print { .site-header, .site-footer, .wa-float, .compare-tray, .buy-actions, .mobile-buy-bar { display: none !important; } }
