/* =========================================================
   KINGPIN AUTO SALES — site styles
   Brand: deep black showroom, crown gold, Kingpin red
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #f8f5f1;
  --panel: #ffffff;
  --panel-2: #f4efea;
  --line: rgba(45, 25, 20, 0.10);
  --line-2: rgba(45, 25, 20, 0.18);
  --text: #1b1415;
  --muted: #5f5651;
  --dim: #8a807a;
  --red: #d4132b;
  --red-hi: #ee2240;
  --red-deep: #7c0a17;
  --gold: #a8771a;
  --gold-hi: #8f6312;
  --gold-deep: #9c7426;
  --green: #1f9d5a;
  --amber: #f0a531;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 22px 50px -26px rgba(70, 25, 20, 0.35);
  --wrap: 1680px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Cinzel", Georgia, serif;
  --header-h: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-stretch: 112%; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 3.5vw, 56px); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.ic { flex: none; }

/* ---------- eyebrow / links ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-family: var(--font-brand); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow .ic { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; }
.link-arrow .ic { width: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }
.linklike { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-red { background: linear-gradient(180deg, var(--red-hi), var(--red)); color: #fff; box-shadow: 0 10px 30px -10px rgba(212, 19, 43, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-red:hover { background: linear-gradient(180deg, #ff3653, var(--red-hi)); }
.btn-gold { background: linear-gradient(180deg, #f3d48a, #e2b04a); color: #1a1106; box-shadow: 0 10px 30px -12px rgba(226, 176, 74, .6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:hover { background: linear-gradient(180deg, #fde4a6, #f3d48a); }
.btn-outline { border-color: var(--line-2); background: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-ghost { background: var(--panel-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--muted); }

/* ---------- top bar & header ---------- */
.topbar { background: #1b1415; font-size: .82rem; color: #ddd3ca; }
.topbar-in { display: flex; gap: 28px; align-items: center; min-height: 38px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .ic { width: 15px; height: 15px; color: #e2b04a; }
.topbar a:hover { color: #fff; }
.topbar-phone { margin-left: auto; font-weight: 700; color: #fff; }
.is-open-now { color: #5be39a; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -14px rgba(60,20,20,.25); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 112px; width: auto; transition: height .25s; }
.site-header.scrolled .brand img { height: 76px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .94rem; color: #2a2223; position: relative; }
.nav a:not(.btn):hover { color: #000; background: rgba(0,0,0,.04); }
.nav a[aria-current="page"]:not(.btn) { color: var(--gold-hi); }
.nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-cta { margin-left: 10px; min-height: 42px; }
.header-call { display: none; align-items: center; gap: 8px; font-weight: 700; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; background: radial-gradient(90% 90% at 85% 20%, #fdecec 0%, #ffffff 60%); border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.streak { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s cubic-bezier(.2,.7,.2,1) forwards; }
.s2 { animation-delay: .25s; } .s3 { animation-delay: .5s; } .s4 { animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-in { position: relative; max-width: var(--wrap); }
.hero h1 { max-width: 13ch; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.015em; }
.hero h1 span { display: block; font-size: .42em; margin-top: .45em; font-stretch: 100%; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--red); }
.hero-sub { font-size: 1.12rem; color: #4a4240; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hero .hero-ctas { margin-bottom: 44px; }

.searchbar {
  position: relative; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr) auto; gap: 1px; padding: 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.sb-field { display: flex; flex-direction: column; padding: 8px 14px; border-right: 1px solid var(--line); min-width: 0; }
.sb-field span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sb-field input, .sb-field select { background: transparent; border: 0; padding: 4px 0; font-size: 1rem; font-weight: 600; outline: none; width: 100%; min-width: 0; }
.sb-field select option { background: #fff; }
.sb-btn { border-radius: 12px; min-height: 100%; padding: 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; font-weight: 600; color: #2a2223; background: #fff; transition: .2s; }
.chip:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- perks ---------- */
.perks { background: linear-gradient(90deg, var(--red-deep), #4a060e 60%, var(--red-deep)); border-bottom: 1px solid rgba(226,176,74,.25); }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.perks-in > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 20px 18px; border-right: 1px solid rgba(255,255,255,.1); }
.perks-in > div:last-child { border-right: 0; }
.perks .ic { grid-row: span 2; width: 30px; height: 30px; color: var(--gold-hi); }
.perks strong { font-stretch: 112%; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
.perks span { font-size: .86rem; color: #f0cfcf; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 32px 0 80px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.page-hero { padding: 56px 0 50px; background: radial-gradient(90% 120% at 100% 0%, rgba(212,19,43,.08), transparent 60%), var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero-sm { padding: 30px 0 30px; }
.page-hero h1 { max-width: 20ch; }
.page-hero-sm h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.lead { font-size: 1.15rem; color: #4a4240; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--dim); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold); }

/* ---------- vehicle cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.vcard:hover { transform: translateY(-4px); border-color: rgba(226,176,74,.45); box-shadow: var(--shadow); }
.vcard-media { position: relative; aspect-ratio: 4 / 3; background: #f1ece6; overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vcard:hover .vcard-media img { transform: scale(1.04); }
.vcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; border: 1px solid transparent; }
.badge-amber { background: var(--amber); color: #1d1200; border-color: transparent; }
.badge-red { background: var(--red); color: #fff; border-color: transparent; }
.badge-demo { background: #2b2f3a; color: #b8c4e0; }
.vcard-count { position: absolute; right: 10px; top: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; }
.vcard-count .ic { width: 14px; height: 14px; }
.vcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.vcard-title { font-size: 1.2rem; margin: 0; }
.vcard-title a:hover { color: var(--gold-hi); }
.vcard-trim { color: var(--muted); font-size: .9rem; margin: 2px 0 12px; min-height: 1.4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.vcard-price strong { font-size: 1.55rem; font-stretch: 112%; color: var(--red); letter-spacing: -.01em; }
.vcard-price small { color: var(--dim); font-size: .8rem; }
.vcard-specs { list-style: none; padding: 12px 0 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); font-size: .86rem; color: #3d3534; }
.vcard-specs li { display: inline-flex; align-items: center; gap: 6px; }
.vcard-specs .ic { width: 16px; height: 16px; color: var(--gold); }
.vcard .btn { margin-top: auto; }

/* placeholder art */
.ph { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(70% 60% at 50% 75%, rgba(212,19,43,.08), transparent 70%), linear-gradient(180deg, #faf7f3, #ede7e0); }
.ph svg { width: 78%; height: auto; }
.ph span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.ph span .ic { width: 14px; height: 14px; }
.ph-big { aspect-ratio: 16 / 10; border-radius: var(--radius); }

/* body tiles */
.body-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.body-tile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 18px; overflow: hidden; transition: .25s; }
.body-tile .ph { aspect-ratio: 16 / 9; height: auto; }
.body-tile strong { padding: 14px 18px 2px; font-size: 1.1rem; font-stretch: 112%; }
.body-tile > span { padding: 0 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.body-tile > span .ic { width: 16px; color: var(--gold); transition: transform .2s; }
.body-tile:hover { border-color: rgba(226,176,74,.45); transform: translateY(-3px); }
.body-tile:hover > span .ic { transform: translateX(4px); }

/* duo cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card { padding: 40px; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(100% 100% at 100% 0%, rgba(226,176,74,.12), transparent 60%), var(--panel); }
.duo-red { background: radial-gradient(100% 120% at 0% 0%, rgba(255,80,100,.35), transparent 60%), linear-gradient(160deg, #b50f25, #6e0815); border-color: transparent; color: #fff; }
.duo-red .eyebrow { color: #f3d48a; }
.duo-red p:not(.eyebrow) { color: #fbe3e3 !important; }
.duo-card p:not(.eyebrow) { color: #4a4240; max-width: 46ch; }
.duo-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* about strip */
.about-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-in > img { width: 100%; max-width: 520px; filter: drop-shadow(0 24px 30px rgba(176,16,31,.12)); }

/* visit */
.visit-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }
.contact-list .ic { color: var(--gold); }
.contact-list a:hover { color: var(--gold-hi); }
.hours { margin: 0 0 24px; display: grid; gap: 4px; max-width: 360px; }
.hours div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.hours dt { color: var(--muted); } .hours dd { margin: 0; font-weight: 600; }
.hours .today dt, .hours .today dd { color: var(--gold-hi); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; background: var(--panel); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* panel + forms */
.panel { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; }
.panel h3 { font-size: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
.field > span, .field legend { font-size: .82rem; font-weight: 600; color: #3a3233; }
.field input, .field select, .field textarea, .sort select {
  width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field select, .sort select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23e2b04a' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226,176,74,.18); }
.field textarea { resize: vertical; min-height: 100px; }
.field input[type="date"] { color-scheme: light; }
.field .invalid, .field input.invalid, .field select.invalid { border-color: var(--red-hi); }
.pref { border: 0; padding: 0; display: flex; flex-wrap: wrap; flex-direction: row; gap: 8px 18px; }
.pref legend { margin-bottom: 8px; padding: 0; }
.pref label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: .95rem; }
.pref input { accent-color: var(--red); width: 18px; height: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.grid-2.tight { gap: 10px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--dim); margin: 6px 0 14px; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green); } .form-status.err { color: #c8102e; }
.form-h { font-size: 1.15rem; margin: 6px 0 16px; color: var(--gold-hi); }
.kp-form.sent { text-align: center; padding: 20px 0; }
.sent-msg { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sent-msg .ic { width: 48px; height: 48px; color: var(--green); }
.notice { background: rgba(226,176,74,.08); border: 1px solid rgba(226,176,74,.3); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 18px; font-size: .95rem; }
.notice-red { background: rgba(212,19,43,.12); border-color: rgba(238,34,64,.45); }
.notice a { color: var(--red); text-decoration: underline; }
.empty { padding: 40px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty a { color: var(--gold); }

/* ---------- inventory ---------- */
.inv { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 18px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-height: calc(100vh - var(--header-h) - 36px); overflow: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: 1.2rem; margin: 0; }
.filters-head .icon-btn, .filters-apply { display: none; }
.filters .field { margin-bottom: 12px; }
.filters .field input, .filters .field select { padding: 10px 12px; font-size: .95rem; }
.inv-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.inv-count { margin: 0; color: var(--muted); }
.inv-count strong { color: var(--text); }
.sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.sort select { width: auto; padding: 9px 36px 9px 14px; font-size: .92rem; }
.filters-open { display: none; }
.vgrid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- vehicle detail ---------- */
.vdp-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.gallery { position: relative; min-width: 0; }
.vdp-media, .vdp-main, .vdp-aside { min-width: 0; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #f1ece6; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.gallery-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { margin: 0; flex: 0 0 100%; scroll-snap-align: start; height: 100%; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.92); color: #1b1415; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.g-nav:hover { border-color: var(--gold); color: var(--gold-hi); }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-expand { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.92); color: #1b1415; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.g-count { position: absolute; right: 64px; top: 20px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; font-size: .82rem; font-weight: 700; z-index: 3; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 96px; aspect-ratio: 4 / 3; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .6; transition: .2s; background: #eee; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.vdp-side { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 26px; position: sticky; top: calc(var(--header-h) + 18px); }
.vdp-head h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 10px; }
.vdp-head h1 small { display: block; font-size: .5em; font-weight: 600; color: var(--muted); margin-top: 6px; font-stretch: 100%; }
.vdp-price { display: flex; align-items: baseline; gap: 10px; }
.vdp-price strong { font-size: 2.4rem; font-stretch: 115%; color: var(--red); line-height: 1; }
.vdp-price span { color: var(--dim); }
.vdp-km { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 10px 0 0; }
.vdp-km .ic { color: var(--gold); }
.vdp-ctas { display: grid; gap: 10px; margin: 22px 0 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.perk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.perk-list li { display: flex; align-items: center; gap: 10px; }
.perk-list .ic { color: var(--green); width: 18px; }
.keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 28px 0; }
.keyspecs > div { background: var(--panel); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.keyspecs .ic { color: var(--gold); width: 22px; height: 22px; margin-bottom: 4px; }
.keyspecs span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700; }
.keyspecs strong { font-size: 1rem; }
.vdp-cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.block { margin-bottom: 40px; }
.block h2 { font-size: 1.5rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.prose p { color: #3d3534; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.features li { display: flex; align-items: center; gap: 10px; }
.features .ic { color: var(--gold); width: 18px; }
.spec-table { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); } .spec-table dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.sticky-panel { position: sticky; top: calc(var(--header-h) + 18px); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #f1ece6; margin-bottom: 18px; }
.tabs button { border: 0; background: none; padding: 10px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--line-2); }
.similar { margin-top: 30px; }
.vdp-bar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,3,3,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.6); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* calculator */
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; margin: 6px 0 4px; }
.calc-out > div { background: linear-gradient(180deg, #fff5f5, #fbe9ea); padding: 18px; display: flex; flex-direction: column; }
.calc-out span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.calc-out strong { font-size: 1.6rem; font-stretch: 112%; color: var(--red); }

/* financing steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps > div { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step-n { font-family: var(--font-brand); font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.ccard { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: .2s; min-width: 0; }
.ccard:hover { border-color: rgba(226,176,74,.5); }
.ccard .ic { color: var(--gold); width: 24px; height: 24px; margin-bottom: 6px; }
.ccard span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700; }
.ccard strong { font-size: .98rem; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: #1b1415; color: #efe7df; border-top: 3px solid var(--red); padding: 60px 0 0; margin-top: 0; }
.site-footer .muted { color: #b9aea6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h3 { font-family: var(--font-brand); font-size: .85rem; letter-spacing: .16em; color: #e2b04a; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid > div > a { display: block; color: #b9aea6; padding: 4px 0; font-size: .95rem; overflow-wrap: anywhere; }
.footer-grid > div > a:hover { color: #fff; }
.footer-brand img { width: 200px; margin-bottom: 12px; }
.footer-brand p { color: #b9aea6; font-size: .9rem; }
.footer-hours { font-size: .9rem; margin-top: 10px; }
.footer-hours a { color: #e2b04a; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: .2s; }
.socials a:hover { border-color: #e2b04a; color: #f3d48a; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 20px; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #8f857e; }

.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 8px 8px; font-size: .9rem; }
  .vgrid, .vgrid-3 { grid-template-columns: repeat(2, 1fr); }

  .searchbar { grid-template-columns: 1fr 1fr 1fr; }
  .sb-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .sb-q { grid-column: span 3; }
  .sb-btn { grid-column: span 3; min-height: 50px; margin-top: 6px; }
}
@media (max-width: 960px) {
  :root { --header-h: 96px; }
  .topbar .topbar-hours { display: none; }
  .brand img { height: 80px; }
  .site-header.scrolled .brand img { height: 60px; }
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  .header-call { display: inline-flex; margin-left: auto; color: var(--gold-hi); font-size: .95rem; }
  .nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 120px; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; overflow: auto; margin: 0; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav-cta { margin: 20px 0 0; min-height: 54px; }
  .perks-in { grid-template-columns: 1fr 1fr; }
  .perks-in > div:nth-child(2) { border-right: 0; }
  .perks-in > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .body-tiles { grid-template-columns: 1fr 1fr; }
  .duo, .about-in, .visit-in { grid-template-columns: 1fr; }
  .about-in { gap: 30px; } .about-in > img { max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }

  .inv { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 120; border-radius: 0; max-height: none; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .25s, transform .25s, visibility .25s; padding: 20px 20px 40px; }
  .filters.open { opacity: 1; visibility: visible; transform: none; }
  .filters-head .icon-btn, .filters-apply { display: inline-flex; }
  .filters-apply { margin-top: 10px; }
  .filters-open { display: inline-flex; }
  .filters-open [data-filter-count]:not(:empty) { background: var(--red); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .75rem; }

  .vdp-grid, .vdp-cols { grid-template-columns: minmax(0, 1fr); }
  .vdp-side, .sticky-panel { position: static; }
  .vdp-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  .vdp-bar > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .vdp-bar strong { color: var(--red); font-size: 1.2rem; font-stretch: 112%; }
  .vdp-bar span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vdp-bar .btn { min-height: 44px; padding: 0 16px; }
  .page-vdp .mobile-bar { display: none !important; }
  .page-vdp .site-footer { padding-bottom: 80px; }
}
@media (max-width: 720px) {
  .topbar-in { gap: 16px; justify-content: space-between; }
  .topbar-in > a:first-child span { max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
  .header-call span { display: none; }
  .header-call { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); justify-content: center; }
  .section { padding: 56px 0; }
  .hero { padding: 44px 0 30px; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .sb-q, .sb-btn { grid-column: span 2; }
  .vgrid, .vgrid-3 { grid-template-columns: 1fr; }
  .keyspecs { grid-template-columns: 1fr 1fr; }
  .features, .spec-table { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .calc-inputs { grid-template-columns: 1fr; }
  .grid-2.tight { grid-template-columns: 1fr 1fr; }
  .calc-inputs { grid-template-columns: 1fr 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-out > div:last-child { grid-column: span 2; }
  .calc-out strong { font-size: 1.3rem; }
  .panel { padding: 20px; }
  .duo-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .inv-bar { flex-wrap: wrap; }
  .sort span { display: none; }
  .gallery-main { aspect-ratio: 4 / 3; border-radius: 12px; }
  .g-nav { width: 38px; height: 38px; }
  .gallery-thumbs button { flex-basis: 72px; }
  .vdp-side { padding: 20px; }

  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: .72rem; font-weight: 600; color: var(--muted); }
  .mobile-bar .ic { color: var(--red); }
  .mobile-bar .mb-accent { color: #fff; background: var(--red); }
  .mobile-bar .mb-accent .ic { color: #fff; }
  .site-footer { padding-bottom: 70px; }
}
@media (max-width: 420px) {
  .body-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .body-tile strong { font-size: .95rem; padding: 10px 12px 0; } .body-tile > span { padding: 0 12px; font-size: .8rem; }
  .perks-in > div { padding: 14px 10px; } .perks .ic { width: 24px; height: 24px; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .streak { stroke-dashoffset: 0; }
}

/* light-theme fixes for elements on red backgrounds */
.perks, .perks strong { color: #fff; }
.duo-red h2 { color: #fff; }
.duo-red .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.duo-red .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* sold cars: stay visible, faded, with a big SOLD stamp */
.vcard.is-sold .vcard-media img, .vcard.is-sold .vcard-media .ph { filter: grayscale(.85); opacity: .7; }
.vcard.is-sold .vcard-media::after { content: "SOLD"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 22px; border: 3px solid #fff; border-radius: 10px; background: rgba(200, 16, 46, .92); color: #fff; font-weight: 900; font-size: 1.6rem; letter-spacing: .14em; font-stretch: 115%; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); z-index: 2; }
.vcard.is-sold .vcard-price strong { color: var(--dim); text-decoration: line-through; text-decoration-thickness: 2px; }
.vcard.is-sold .vcard-badges .badge-red { display: none; }

/* appointment booking */
.topbar-book { font-weight: 600; color: #f3d48a !important; }
.topbar-book + .topbar-phone { margin-left: 0; }
.topbar-in > .topbar-book { margin-left: auto; }
.book { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.book-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 18px); }
.call-card { text-align: center; display: grid; gap: 10px; }
.call-card .eyebrow { justify-content: center; margin-bottom: 0; }
.call-big { font-size: 2rem; font-weight: 800; font-stretch: 112%; color: var(--red); letter-spacing: -.01em; }
.phone-link { color: var(--red); font-weight: 700; white-space: nowrap; }
@media (max-width: 960px) { .book { grid-template-columns: minmax(0, 1fr); } .book-side { position: static; } }
@media (max-width: 720px) { .topbar .topbar-book { display: none; } .topbar-book + .topbar-phone { margin-left: auto; } }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 2px 0 12px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 2px; flex: none; }

.appt-done { text-align: left; align-items: stretch; }
.appt-done > .ic, .appt-done > h3, .appt-done > .appt-when { align-self: center; text-align: center; }
.appt-when { font-weight: 700; color: var(--red); margin: 0 0 6px; }
.appt-steps { display: grid; gap: 14px; }
.appt-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); }
.appt-step p { margin: 2px 0 10px; }
.appt-n { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; }
.cal-alt { display: inline-block; margin-top: 8px; color: var(--muted); text-decoration: underline; }


/* sold vehicle page: everything greyed out, nothing clickable */
.vdp-ctas.is-disabled { opacity: .45; filter: grayscale(1); pointer-events: none; user-select: none; }
.vdp-ctas.is-disabled .btn { box-shadow: none; }
.sold-note { text-align: center; font-weight: 700; color: var(--red); margin: 4px 0 10px; }
.sold-panel { text-align: center; }
.sold-panel h3 { margin-top: 10px; }
.sold-chip { display: inline-block; background: var(--red); color: #fff; font-weight: 900; letter-spacing: .14em; padding: 6px 16px; border-radius: 8px; }
.sold-price { color: var(--red) !important; letter-spacing: .1em; }
.btn-sold { color: var(--dim); background: #eee; border-color: transparent; pointer-events: auto; }
.btn-sold:hover { color: var(--dim); border-color: transparent; }
.vdp-sold .gallery-track img, .vdp-sold .gallery-thumbs img { filter: grayscale(1) !important; opacity: .85; }
.vdp-sold .vdp-price strong { color: var(--dim); text-decoration: line-through; text-decoration-thickness: 3px; }
.vdp-sold .perk-list { display: none; }

/* phones get the text button, computers get a QR code */
.qr-box { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.qr { width: 150px; height: 150px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 6px; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-box.no-qr { grid-template-columns: 1fr; } .qr-box.no-qr .qr { display: none; }
.qr-box p { margin: 4px 0 8px; }
.phone-only { display: none; }
html.is-phone .phone-only { display: flex; }
html.is-phone .desk-only { display: none; }
@media (max-width: 480px) { .qr-box { grid-template-columns: 1fr; } }

/* hero: copy left, featured car right */
.hero-in.has-car { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-in.has-car .hero-ctas { margin-bottom: 44px; }
.hero-car { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(80, 10, 20, .45), 0 0 0 1px var(--line); aspect-ratio: 4 / 3; background: #f1ece6; margin-bottom: 44px; transition: transform .35s, box-shadow .35s; }
.hero-car:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -36px rgba(80, 10, 20, .55), 0 0 0 1px rgba(212,19,43,.3); }
.hero-car img { width: 100%; height: 100%; object-fit: cover; }
.hero-car-tag { position: absolute; left: 18px; top: 18px; display: grid; gap: 2px; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); padding: 12px 16px; border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.3); }
.hero-car-tag small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-brand); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero-car-tag small .ic { width: 14px; height: 14px; }
.hero-car-tag strong { font-size: 1.05rem; font-stretch: 110%; color: var(--text); }
.hero-car-tag em { font-style: normal; font-weight: 800; font-size: 1.25rem; font-stretch: 112%; color: var(--red); }
.hero-car-tag em i { font-style: normal; font-weight: 500; font-size: .75rem; color: var(--dim); }
.hero-car-go { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(212,19,43,.7); }
@media (max-width: 960px) {
  .hero-in.has-car { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-in.has-car .hero-ctas { margin-bottom: 28px; }
  .hero-car { transform: none; margin-bottom: 28px; border-radius: 16px; }
}

/* credit application */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.credit .cstep { border: 0; padding: 0; margin: 0; display: none; }
.credit .cstep.on { display: block; }
.csteps { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 6px; flex-wrap: wrap; counter-reset: s; }
.csteps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--dim); }
.csteps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); font-size: .78rem; }
.csteps li.on { color: var(--text); border-color: var(--red); background: #fff; }
.csteps li.on span { background: var(--red); color: #fff; border-color: var(--red); }
.csteps li.done { color: var(--green); cursor: pointer; }
.csteps li.done span { background: var(--green); color: #fff; border-color: var(--green); }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.cgrid .span-full { grid-column: 1 / -1; }
.cgrid > [data-show-if] { grid-column: auto; }
.sub-h { font-size: 1rem; margin: 10px 0 12px; color: var(--muted); }
.sub-h small { font-weight: 500; color: var(--dim); }
.seg { display: inline-flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.seg label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 9px; cursor: pointer; font-weight: 600; }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); color: var(--red); }
.seg input { accent-color: var(--red); }
.consent { padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); margin-top: 8px; }
.consent span { font-size: .9rem; line-height: 1.5; }
.muted-field { opacity: .55; }
.cnav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.cnav [data-submit], .cnav [data-next] { margin-left: auto; }
@media (max-width: 720px) {
  .cgrid { grid-template-columns: minmax(0, 1fr); }
  .csteps li { font-size: 0; padding: 4px; } .csteps li span { font-size: .78rem; }
  .csteps li.on { font-size: .82rem; padding-right: 12px; }
}

/* Financing: credit app + calculator side by side */
.fin-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:32px;align-items:start}
.fin-calc{position:sticky;top:calc(var(--header-h,128px) - 20px)}
.fin-grid .section-head{min-height:120px}
@media (max-width:1000px){.fin-grid{grid-template-columns:minmax(0,1fr)}.fin-calc{position:static}.fin-grid .section-head{min-height:0}}

/* Desktop "Text us" popup (QR code) */
.sms-dlg { border: 0; border-radius: 18px; padding: 28px; width: min(460px, calc(100vw - 32px)); background: #fff; color: var(--ink, #1a1a1a); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.sms-dlg::backdrop { background: rgba(20,14,10,.45); }
.sms-dlg h3 { margin: 0 0 16px; padding-right: 30px; }
.sms-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2, #e5e0d8); background: #fff; cursor: pointer; font-size: 15px; }

/* Top bar: brand red instead of black + second number */
.topbar { background: linear-gradient(90deg, var(--red-deep), #4a060e 60%, var(--red-deep)); color: #fff; border-bottom: 1px solid rgba(226,176,74,.25); }
.topbar .ic { color: #f6d27c; }
.topbar a:hover { color: #fff; opacity: .85; }
.topbar-book { color: #fff !important; font-weight: 700; }
.topbar-phone2 { font-weight: 700; color: #fff; }
.topbar-phone2 small { font-weight: 500; opacity: .75; font-size: .72rem; margin-left: 2px; }
@media (max-width: 560px) { .topbar-in > a:first-child { display: none; } .topbar-in { justify-content: flex-end; } .topbar-phone { margin-left: 0; } }

/* Form sent: clean confirmation */
.done { text-align: center; padding: 18px 4px 6px; }
.done-badge { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #e8f6ee; color: #1f9a55; }
.done-badge .ic { width: 26px; height: 26px; }
.done h3 { margin: 0 0 6px; font-size: 1.35rem; }
.done > p { margin: 0 0 20px; }
.done-fast { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; border-top: 1px solid var(--line, #eee6dc); padding-top: 18px; margin-top: 4px; }
.done-fast strong { display: block; font-size: .95rem; }
.done-fast span { color: var(--muted, #6b625a); font-size: .88rem; }
.qr.qr-sm { width: 104px; height: 104px; flex: none; padding: 5px; }
.done-fast.no-qr { display: none; }
html.is-phone .done .phone-only { display: inline-flex; }
.done-cal { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; border-top: 1px solid var(--line, #eee6dc); padding-top: 18px; margin-top: 18px; flex-wrap: wrap; }
.done-cal strong { display: block; font-size: .95rem; }
.done-cal span { color: var(--muted, #6b625a); font-size: .88rem; }
.done-cal-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.done .phone-only { margin-top: 4px; }
.done-note { margin: 0; font-size: .9rem; color: var(--muted, #6b625a); }
.done-note a { color: var(--ink, #1a1a1a); font-weight: 600; }
/* desktop text popup */
.sms-in { text-align: center; padding: 6px 4px 2px; }
.sms-in .qr { width: 184px; height: 184px; margin: 0 auto 18px; }
.sms-in h3 { margin: 0 0 6px; padding: 0; }
.sms-in p { margin: 0 auto; max-width: 320px; }
.sms-num { margin-top: 14px !important; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.sms-in.no-qr .qr { display: none; }
.sms-x { display: grid; place-items: center; color: var(--ink, #1a1a1a); }
@media (max-width: 520px) { .done-fast, .done-cal { flex-direction: column; align-items: flex-start; } }
@media (max-width: 520px) { .done-cal-btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; } .done-cal-btns .btn { justify-content: center; } }
.done-fast > div:first-child { max-width: 380px; } .done-fast span { display: block; margin-top: 2px; line-height: 1.45; }

/* Phone: smaller hero headline, even 2x2 price chips */
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(1.8rem, 8.2vw, 2.3rem); max-width: none; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .chip { text-align: center; padding: 11px 10px; }
}
