/* =========================================================================
   Carlen Motors — website styles
   ========================================================================= */
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-ExtraBoldItalic.ttf") format("truetype"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-BlackItalic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  --ink: #0b0d11; --ink-2: #12151b; --ink-3: #1b1f27; --steel: #2a2f39;
  --red: #e5192b; --red-2: #ff4a3d; --red-dark: #b3121f;
  --silver: #c9ced6; --bg: #ffffff; --soft: #f3f4f6; --line: #e3e6eb;
  --text: #1a1d23; --muted: #5d6571; --ok: #12805c; --amber: #c27803;
  --radius: 14px; --radius-sm: 10px; --shadow: 0 10px 30px rgba(11, 13, 17, .08); --shadow-lg: 0 24px 60px rgba(11, 13, 17, .18);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; }
body.has-intro.intro-on { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; color: inherit; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-2); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 2000; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.icon { width: 20px; height: 20px; flex: none; }
.small { font-size: .9rem; color: var(--muted); }
.fineprint { font-size: .8rem; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-red { background: linear-gradient(135deg, var(--red-2), var(--red) 45%, var(--red-dark)); color: #fff; box-shadow: 0 10px 24px rgba(229, 25, 43, .35); }
.btn-red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.btn-red:hover::after { transform: translateX(120%); }
.btn-red:hover { color: #fff; box-shadow: 0 14px 30px rgba(229, 25, 43, .45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--red-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon, [dir="rtl"] .btn .icon:last-child { transform: scaleX(-1); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.icon-btn:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ---------- intro (animated opening) ---------- */
.intro { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 45%, #1d2129 0%, #0b0d11 60%, #050608 100%);
  animation: introOut .7s cubic-bezier(.7, 0, .3, 1) 3.1s forwards; }
.intro-glow { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle, rgba(229, 25, 43, .22), transparent 60%); animation: glowPulse 3s ease-in-out both; }
.intro-logo { position: relative; width: min(620px, 84vw); }
.intro-logo svg { width: 100%; height: auto; overflow: visible; }
.intro-road { position: absolute; inset-inline: 0; bottom: 18%; height: 2px; overflow: hidden; opacity: .5; }
.intro-road span { position: absolute; inset-block: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--red-2), transparent); animation: roadRun 1.4s linear infinite; }
.intro-skip { position: absolute; bottom: 28px; inset-inline-end: 28px; background: none; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); border-radius: 999px; padding: 8px 18px; cursor: pointer; font-size: .9rem; }
.intro-skip:hover { border-color: #fff; color: #fff; }
.intro .cm-car { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
.intro .cm-carwrap { animation: driveIn 1.8s cubic-bezier(.2, .8, .2, 1) both; }
.intro .cm-wheel { animation: spin 1.8s cubic-bezier(.2, .8, .2, 1) both, fadeIn .4s .3s both; }
.intro .cm-carlen { animation: wordIn .9s cubic-bezier(.2, .9, .2, 1) 1.2s both; }
.intro .cm-shine { animation: shine 1.1s ease-in-out 2s both; }
.intro .cm-speed-l { transform-box: fill-box; transform-origin: right center; animation: lineIn .6s ease-out 1.7s both; }
.intro .cm-speed-r { transform-box: fill-box; transform-origin: left center; animation: lineIn .6s ease-out 1.7s both; }
.intro .cm-motors { animation: riseIn .6s ease-out 1.8s both; }
.intro .cm-llc { animation: riseIn .6s ease-out 2s both; }
.intro.done { display: none; }

/* logo (inline svg) */
.cm-logo { display: block; width: 100%; height: auto; }
.cm-logo .cm-car { fill: none; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.cm-logo-dark .cm-car, .cm-logo-light .cm-car { stroke: var(--red); }
.cm-logo .cm-tyre { fill: none; stroke-width: 5; }
.cm-logo-dark .cm-tyre, .cm-logo-dark .cm-spoke { stroke: #fff; }
.cm-logo-light .cm-tyre, .cm-logo-light .cm-spoke { stroke: var(--ink); }
.cm-logo .cm-rim { fill: none; stroke: var(--red); stroke-width: 2.5; }
.cm-logo .cm-spoke { stroke-width: 3; stroke-linecap: round; }
.cm-logo .cm-hub { fill: var(--red); }
.cm-logo .cm-speed { stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.cm-logo .cm-wheel { transform-box: fill-box; transform-origin: center; }
.cm-logo .cm-shine { transform-box: fill-box; }
.brand .cm-shine, .f-logo .cm-shine { opacity: 0; }
.brand:hover .cm-shine { animation: shine 1s ease-in-out; }
.brand:hover .cm-wheel { animation: spin 1.2s ease-out; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes driveIn { from { transform: translateX(-90px); } to { transform: translateX(0); } }
@keyframes spin { from { transform: rotate(-900deg); } to { transform: rotate(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wordIn { from { opacity: 0; transform: translateX(-40px) skewX(-14deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shine { 0% { opacity: 1; transform: translateX(0) skewX(-20deg); } 100% { opacity: 1; transform: translateX(640px) skewX(-20deg); } }
@keyframes lineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
@keyframes glowPulse { 0% { transform: scale(.4); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: .8; } }
@keyframes roadRun { from { inset-inline-start: -40%; } to { inset-inline-start: 100%; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11, 13, 17, .92); backdrop-filter: saturate(140%) blur(12px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar { font-size: .85rem; color: var(--silver); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; }
.tb-item { display: inline-flex; align-items: center; gap: 6px; color: var(--silver); }
.tb-item .icon { width: 15px; height: 15px; color: var(--red-2); }
a.tb-item:hover { color: #fff; }
.tb-right { display: flex; gap: 18px; }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { width: 150px; flex: none; display: block; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 10px 14px; color: #e8eaee; font-weight: 600; border-radius: 10px; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 10px 18px; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.call-btn, .menu-btn { display: none; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); cursor: pointer; font-weight: 600; font-size: .9rem; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 50; }
.lang-menu li a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); font-weight: 600; }
.lang-menu li a:hover { background: var(--soft); }
.lang-menu li a[aria-current="true"] { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; padding: 70px 0 34px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-light { position: absolute; width: 900px; height: 900px; inset-inline-end: -200px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 25, 43, .35), rgba(229, 25, 43, .06) 45%, transparent 65%); animation: float 12s ease-in-out infinite alternate; }
.hero-grid { position: absolute; inset-inline: -20%; bottom: -10%; height: 55%; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px; transform: perspective(600px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 90%); animation: gridMove 3s linear infinite; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke: url(#none); stroke: rgba(255, 74, 61, .5); stroke-width: 1.5; stroke-dasharray: 160 1400; animation: stream 4.5s linear infinite; }
.hero-lines path:nth-child(2) { animation-delay: -1.5s; stroke: rgba(255,255,255,.25); }
.hero-lines path:nth-child(3) { animation-delay: -3s; }
@keyframes stream { from { stroke-dashoffset: 1560; } to { stroke-dashoffset: 0; } }
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 0 60px; } }
@keyframes float { from { transform: translate(0, 0); } to { transform: translate(-120px, 80px); } }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-weight: 600; font-size: .9rem; color: var(--silver); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(46,204,113,0); } }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; margin: 18px 0 18px; line-height: 1.02; }
.hero-title em, .page-head h1 em { font-style: italic; color: transparent; background: linear-gradient(100deg, var(--red-2), var(--red) 40%, #ff8a7a 50%, var(--red) 60%, var(--red-2)); -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: textShine 4s linear infinite; }
@keyframes textShine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.hero-text { font-size: 1.2rem; color: #c8cdd4; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.quick-search { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 26px; backdrop-filter: blur(14px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.quick-search h2 { grid-column: 1 / -1; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.quick-search h2 .icon { color: var(--red-2); }
.quick-search .fld span { color: var(--silver); }
.quick-search select, .quick-search input { background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.14); color: #fff; }
.quick-search select option { color: var(--text); }
.quick-search .btn { grid-column: 1 / -1; margin-top: 4px; }
.fld-wide { grid-column: 1 / -1; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: var(--silver); font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--red-2); }

/* split text animation */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-inline-end: .02em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .9, .2, 1); transition-delay: calc(var(--i) * 60ms + .1s); }
[data-split].in .w > span { transform: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .9, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.why-card.reveal:nth-child(2), .review.reveal:nth-child(2), .body-tile:nth-child(2) { transition-delay: .08s; }
.why-card.reveal:nth-child(3), .review.reveal:nth-child(3), .body-tile:nth-child(3) { transition-delay: .16s; }
.why-card.reveal:nth-child(4), .review.reveal:nth-child(4), .body-tile:nth-child(4) { transition-delay: .24s; }
.why-card.reveal:nth-child(5), .body-tile:nth-child(5) { transition-delay: .32s; }
.why-card.reveal:nth-child(6), .body-tile:nth-child(6) { transition-delay: .4s; }
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) [data-split] .w > span { transform: none; }

/* cursor glow (desktop) */
.cursor-glow { position: fixed; z-index: 1; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; left: 0; top: 0;
  background: radial-gradient(circle, rgba(255, 74, 61, .12), transparent 65%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; mix-blend-mode: screen; }
.cursor-glow.on { opacity: 1; }

/* ---------- sections ---------- */
.section { padding: 86px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: #c8cdd4; }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: 10px; }

.body-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.body-tile { --bg: #fff; display: grid; justify-items: center; gap: 4px; padding: 22px 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.body-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); color: var(--text); }
.body-ico { width: 110px; height: 44px; color: var(--ink); transition: color .25s, transform .4s; }
.body-tile:hover .body-ico { color: var(--red); transform: translateX(6px); }
.body-tile span { color: var(--muted); font-size: .88rem; }

/* vehicle cards */
.car-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.car-grid-3 { grid-template-columns: repeat(3, 1fr); }
.car-card { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.car-card:hover { box-shadow: var(--shadow-lg); }
.car-link { color: inherit; display: block; height: 100%; }
.car-link:hover { color: inherit; }
.car-img { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); overflow: hidden; }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .9, .2, 1); }
.car-card:hover .car-img img { transform: scale(1.06); }
.car-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%); transform: translateX(-100%); transition: transform .9s; }
.car-card:hover .car-img::after { transform: translateX(100%); }
.badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(11,13,17,.85); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.badge-red { background: var(--red); }
.badge-amber { background: var(--amber); }
.photo-count { position: absolute; bottom: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgba(11,13,17,.7); color: #fff; font-size: .8rem; font-weight: 600; }
.photo-count .icon { width: 15px; height: 15px; }
.car-body { padding: 16px 18px 18px; }
.car-title { font-size: 1.2rem; margin: 0; }
.car-title span { color: var(--muted); font-weight: 600; }
.car-trim { color: var(--muted); font-size: .92rem; margin: 2px 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.car-price strong { font-size: 1.55rem; font-weight: 800; font-style: italic; color: var(--ink); }
.car-price s { color: var(--muted); }
.car-price .est { width: 100%; font-size: .85rem; color: var(--red-dark); font-weight: 600; }
.car-specs { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: .86rem; color: var(--muted); }
.car-specs li { display: flex; align-items: center; gap: 6px; }
.car-specs .icon { width: 16px; height: 16px; color: var(--ink); }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.why-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card:hover::before { transform: scaleX(1); }
.why-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 16px; }
.why-ico .icon { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.2rem; }
.why-card p { color: var(--muted); margin: 0; }

/* split CTA */
.split-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.cta-panel { border-radius: 22px; padding: 40px; position: relative; overflow: hidden; }
.cta-finance { background: var(--ink); color: #fff; }
.cta-finance::before { content: ""; position: absolute; width: 480px; height: 480px; inset-inline-end: -160px; top: -200px; background: radial-gradient(circle, rgba(229,25,43,.35), transparent 65%); }
.cta-finance p { color: #c8cdd4; }
.cta-trade { background: linear-gradient(135deg, var(--red-2), var(--red) 50%, var(--red-dark)); color: #fff; }
.cta-trade .kicker { color: #fff; opacity: .8; }
.cta-panel h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; font-style: italic; text-transform: uppercase; position: relative; }
.mini-calc { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 24px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.mini-calc label span { display: block; font-size: .82rem; color: var(--silver); margin-bottom: 4px; }
.mini-calc input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.3); color: #fff; }
.mini-calc output { grid-column: 1 / -1; font-size: 2.2rem; font-weight: 800; font-style: italic; }
.mini-calc small { grid-column: 1 / -1; color: var(--silver); }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--red); margin-top: 3px; }
.cta-trade .ticks .icon, .ticks-light .icon { color: #fff; }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stars { display: flex; gap: 2px; margin-bottom: 12px; }
.star-on { fill: #f5b301; stroke: #f5b301; width: 18px; height: 18px; }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.review figcaption { color: var(--muted); }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.visit h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
.addr { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.addr .icon { color: var(--red); }
.hours-card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.hours-card h3 { display: flex; gap: 8px; align-items: center; }
.hours-card .icon { color: var(--red-2); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--silver); text-align: end; }

/* ---------- page head ---------- */
.page-head { padding: 64px 0 50px; }
.page-head-dark { background: radial-gradient(ellipse at 80% -20%, rgba(229,25,43,.35), transparent 50%), var(--ink); color: #fff; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; font-style: italic; text-transform: uppercase; margin: 8px 0 10px; }
.page-head p { color: #c8cdd4; font-size: 1.1rem; max-width: 760px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--silver); }
.crumbs a { color: var(--silver); }
.crumbs a:hover { color: #fff; }
.crumbs-light { color: var(--muted); margin-bottom: 18px; }
.crumbs-light a { color: var(--muted); }
.crumbs-light a:hover { color: var(--red); }

/* ---------- forms ---------- */
.fld { display: grid; gap: 6px; }
.fld > span { font-size: .88rem; font-weight: 600; color: var(--muted); }
.fld b { color: var(--red); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,25,43,.12); }
textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fld-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form { display: grid; gap: 16px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.form-note { display: flex; gap: 8px; font-size: .88rem; color: var(--ok); margin: 0; }
.chips-set { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-set legend { font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; background: #fff; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red-2); outline-offset: 2px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.alert { padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.alert-error { background: #fdecee; color: #8a0f19; border: 1px solid #f6c3c8; }
.alert-ok { background: #e8f6ef; color: #0d5c41; border: 1px solid #bfe6d2; }
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.form-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
.section-dark .lead-form { background: #fff; color: var(--text); padding: 28px; border-radius: 18px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.steps { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; }
.steps li > span { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; }
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--soft); border-inline-start: 4px solid var(--red); }
.callout p { margin: 0; }
.callout .icon { color: var(--red); margin-top: 2px; }
.selected-vehicle { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--ink); color: #fff; }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a { font-weight: 700; font-size: 1.1rem; }

/* ---------- inventory ---------- */
.inv-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.filter-toggle { display: none; }
.filters { position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; max-height: calc(100vh - 150px); overflow: auto; }
.filters form { display: grid; gap: 14px; }
.f-head { display: flex; justify-content: space-between; align-items: center; }
.f-head h2 { font-size: 1.2rem; margin: 0; }
.inv-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.inv-bar .count { font-weight: 700; font-size: 1.1rem; margin: 0; }
.sort-form label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.sort-form select { width: auto; min-height: 42px; }
.active-filters { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .88rem; font-weight: 600; }
.active-filters .icon { width: 14px; height: 14px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; justify-content: center; border-radius: 12px; border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.pager a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: 20px; }
.empty > .icon { width: 48px; height: 48px; color: var(--red); margin: 0 auto 12px; }
.empty .btn-row { justify-content: center; }

/* ---------- vehicle detail ---------- */
.vdp { padding: 34px 0 60px; }
.vdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: start; }
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--ink-2); aspect-ratio: 16 / 10; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery-main .badge { position: absolute; top: 14px; inset-inline-start: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 16 / 10; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on, .thumb:hover { opacity: 1; border-color: var(--red); }
.vdp-block { margin-top: 38px; }
.vdp-block h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec-grid > div { background: #fff; padding: 14px 16px; }
.spec-grid dt { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.spec-grid dt .icon { width: 16px; height: 16px; }
.spec-grid dd { margin: 4px 0 0; font-weight: 700; word-break: break-word; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.feature-list li { display: flex; gap: 8px; }
.feature-list .icon { color: var(--ok); width: 18px; height: 18px; margin-top: 3px; }
.prose p { color: #353a42; }
.prose-lg p { font-size: 1.12rem; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.buyers-guide { padding: 24px; border-radius: 16px; border: 2px solid var(--ink); background: #fff; }
.buyers-guide h2 { margin-top: 0; }
.bg-status { padding: 12px 16px; border-radius: 10px; background: var(--soft); }
.bg-status strong { text-transform: uppercase; letter-spacing: .03em; }
.calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 22px; border-radius: 16px; background: var(--soft); }
.calc-out { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-out span { font-weight: 600; color: var(--muted); }
.calc-out output { font-size: 2.4rem; font-weight: 800; font-style: italic; color: var(--ink); }
.calc-out small { color: var(--muted); }
.vdp-side { position: sticky; top: 130px; }
.price-panel { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.pp-stock { font-size: .8rem; color: var(--muted); margin: 0 0 8px; word-break: break-all; }
.pp-title { font-size: 1.9rem; margin: 0; }
.pp-title span { display: block; font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.pp-trim { color: var(--muted); margin: 4px 0 0; }
.pp-chips { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: .88rem; font-weight: 600; }
.pp-chips .icon { width: 16px; height: 16px; }
.pp-chips .ok { background: #e8f6ef; color: var(--ok); }
.pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 0 6px; border-top: 1px solid var(--line); }
.pp-price strong { font-size: 2.7rem; font-weight: 800; font-style: italic; line-height: 1; color: var(--ink); }
.pp-price s { width: 100%; color: var(--muted); }
.pp-price .save { color: var(--ok); font-weight: 700; }
.pp-monthly { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; margin-bottom: 16px; }
.pp-monthly .icon { width: 16px; height: 16px; transform: rotate(-90deg); }
.pp-actions { display: grid; gap: 10px; }
.pp-contact { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pp-contact a, .pp-contact .link-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.pp-contact a:hover { color: var(--red); }
.sold-note { font-weight: 600; }
.tabs { background: rgba(255,255,255,.04); border-radius: 22px; }
.tab-list { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tab-list button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: none; color: #fff; font-weight: 600; cursor: pointer; }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--ink); }
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(5,6,8,.94); display: grid; place-items: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 10px; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; color: var(--silver); margin: 0; }

/* about / misc */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; }
.about-values { display: grid; gap: 16px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal ul { padding-inline-start: 1.2em; }
.legal li { margin-bottom: .4em; }
.thanks { padding: 110px 0; }
.check-anim svg { width: 96px; height: 96px; margin: 0 auto 20px; display: block; }
.check-anim circle { fill: none; stroke: var(--ok); stroke-width: 4; stroke-dasharray: 214; stroke-dashoffset: 214; animation: dash .8s ease-out forwards; }
.check-anim path { fill: none; stroke: var(--ok); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash .5s ease-out .7s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.err-code { font-size: 7rem; font-weight: 900; font-style: italic; line-height: 1; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--red); }

/* ---------- footer ---------- */
.site-footer { background: #07080b; color: #c8cdd4; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 36px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.f-logo { display: block; width: 210px; margin-bottom: 16px; }
.f-list, .f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.f-list li { display: flex; gap: 10px; }
.f-list .icon { color: var(--red-2); }
.site-footer a { color: #e3e6eb; }
.site-footer a:hover { color: var(--red-2); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); }
.site-footer .hours dd { color: #9aa1ab; }
.f-legal { margin-top: 50px; padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.08); }
.disclaimer { font-size: .8rem; color: #8a919c; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.f-bottom nav a { display: inline-flex; align-items: center; gap: 6px; }
.f-bottom .icon { width: 16px; height: 16px; }
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .car-grid { grid-template-columns: repeat(3, 1fr); }
  .car-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul a { padding: 10px 10px; }
}
@media (max-width: 1024px) {
  .hero-in, .split-grid, .visit-grid, .form-wrap, .about-grid { grid-template-columns: 1fr; }
  .vdp-grid { grid-template-columns: 1fr; }
  .vdp-side { position: static; order: -1; }
  .vdp-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .inv-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; justify-self: start; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .nav-row { min-height: 64px; }
  .brand { width: 120px; }
  .call-btn, .menu-btn { display: inline-grid; }
  .main-nav { position: fixed; inset: 64px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.1); transform: translateY(-120%); transition: transform .35s cubic-bezier(.2,.9,.2,1); max-height: calc(100vh - 64px); overflow: auto; }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { font-size: 1.15rem; padding: 14px 10px; }
  .nav-tools { margin-inline-start: auto; }
  .car-grid, .car-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .dock { display: grid; grid-auto-flow: column; position: fixed; inset: auto 0 0 0; z-index: 90; background: rgba(11,13,17,.96); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px; color: #fff; font-size: .75rem; font-weight: 600; }
  .dock .icon { color: var(--red-2); }
  body { padding-bottom: 64px; }
  .cursor-glow { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .car-grid, .car-grid-3, .why-grid, .review-grid, .footer-grid, .grid-2, .grid-3, .calc, .feature-list { grid-template-columns: 1fr; }
  .quick-search { grid-template-columns: 1fr; padding: 20px; }
  .hero { padding-top: 44px; }
  .hero-trust { gap: 12px 20px; margin-top: 36px; font-size: .92rem; }
  .cta-panel { padding: 28px 22px; }
  .mini-calc { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 20px 10px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .form-card { padding: 22px; }
  .section-dark .lead-form { padding: 20px; }
  .f-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .intro { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  [data-split] .w > span { transform: none; }
}

/* dark-surface fields (more specific than the global field style) */
.quick-search input[type="search"], .quick-search select, .cta-panel .mini-calc input[type="number"] { background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.16); color: #fff; }
.quick-search input[type="search"]::placeholder { color: #9aa1ab; }
.cta-panel .mini-calc input[type="number"]:focus, .quick-search input[type="search"]:focus { border-color: var(--red-2); }
.brand { width: 170px; }
.spec-grid { background: #fff; gap: 0; }
.spec-grid > div { box-shadow: inset -1px -1px 0 var(--line); }
