:root {
  --bg: #0a0a0a; --bg-2: #141414; --bg-3: #1c1c1c; --line: #2a2a2a;
  --text: #f2f2f2; --muted: #a3a3a3; --red: #e01020; --red-2: #ff2a3a; --ok: #37c978;
  --radius: 10px; --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.muted, .meta { color: var(--muted); }
.eyebrow { color: var(--red-2); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; margin-bottom: .6em; }
.lead { font-size: 1.1rem; color: #d6d6d6; max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 2px; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 8px; padding: 12px 22px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--red-2); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; border-color: #555; }
.btn-ghost:hover { background: #ffffff14; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.link { background: none; border: 0; padding: 0; color: var(--red-2); font: inherit; cursor: pointer; text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }

/* top bar + header */
.topbar { background: #050505; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.clocks { display: flex; gap: 18px; overflow: hidden; white-space: nowrap; }
.clock b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.currency { display: flex; align-items: center; gap: 6px; flex: none; }
.currency select { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; font: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; background: #0a0a0aee; backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn) { color: #d0d0d0; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; }
.nav a[aria-current] { box-shadow: 0 2px 0 var(--red); }
.menu-btn { display: none; background: none; border: 1px solid #555; color: #fff; border-radius: 8px; padding: 8px 14px; font: inherit; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a0a0a55 0%, #0a0a0a 96%); }
.hero-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 56px; width: 100%; }
.hero h1 { text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 5rem); }
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 8px 24px; padding-block: 14px; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #cfcfcf; }

/* sections */
.section { padding-block: 56px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.page-head { padding: 56px 0 28px; background: linear-gradient(180deg, #161616, var(--bg)); border-bottom: 1px solid var(--line); }
.page-head p { color: #cfcfcf; max-width: 760px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a:not(.btn) { color: var(--red-2); text-decoration: none; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cols-2.wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.cols-4 p { color: var(--muted); font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 40px; text-align: center; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.stats b { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; letter-spacing: -.02em; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .panel { background: var(--bg-3); }
.cta { text-align: center; }
.cta .actions { justify-content: center; }
.team img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 14px; }
.team .role { color: var(--red-2); font-size: .85rem; margin-bottom: .5em; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: #cfcfcf; margin: 10px 0 0; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0 0 32px; color: var(--muted); font-size: .92rem; }
.steps li { counter-increment: s; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.steps li::before { content: counter(s); display: block; color: var(--red-2); font-weight: 800; font-size: 1.4rem; }
.steps b { display: block; color: #fff; }

/* vehicle cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
[hidden] { display: none !important; }
.card:hover { transform: translateY(-3px); border-color: #555; }
.card-img { position: relative; aspect-ratio: 3 / 2; background: var(--bg-3); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { margin-bottom: .2em; }
.card-body .meta { font-size: .85rem; margin-bottom: .6em; }
.tag { display: inline-block; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 5px; margin-right: 6px; }
.card-img .tag { position: absolute; left: 10px; top: 10px; }
.tag-sold { background: #444; }
.tag-reserved { background: #b7791f; }
.price { font-weight: 700; font-size: 1.1rem; }
.price.por { color: var(--muted); font-weight: 600; font-size: .95rem; }
.big-price .price { font-size: 1.9rem; }
.big-price .price.por { font-size: 1.3rem; color: #ddd; }

.buy-box { background: var(--bg-2); border: 1px solid #2f7d55; border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.buy-box p { margin: 10px 0 0; }
.btn-buy { background: #1f9d5c; border-color: #1f9d5c; width: 100%; font-size: 1.05rem; }
.btn-buy:hover { background: #25b96c; }
.buy-tag { display: inline-block; margin-left: 8px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ok); border: 1px solid #2f7d55; border-radius: 5px; padding: 2px 7px; vertical-align: middle; }
.small { font-size: .85rem; }

/* inventory filters */
.inventory { padding-block: 28px 64px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters label { flex: 1 1 130px; margin: 0; }
.filters .grow { flex: 2 1 240px; }
.count { color: var(--muted); margin: 16px 0; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.empty a { color: var(--red-2); }

/* forms */
label { display: block; font-size: .85rem; color: #cfcfcf; margin-bottom: 14px; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; background: var(--bg); color: var(--text); border: 1px solid #3a3a3a; border-radius: 8px; padding: 10px 12px; font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--red-2); outline: none; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; min-height: 1.4em; font-size: .92rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #ff6b6b; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 16px; }
.previews img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; }
.auth { padding-top: 48px; max-width: 460px; }
.tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; padding: 10px 14px; cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { color: #fff; border-color: var(--red); }

/* vehicle page */
.vehicle { padding-block: 24px 64px; }
.crumbs { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.vehicle-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.vehicle-grid.lower { margin-top: 40px; }
.vehicle h2 { margin-top: 1.4em; font-size: 1.3rem; }
.vehicle h2:first-child { margin-top: 0; }
.gallery-main { position: relative; background: var(--bg-3); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery-main.no-photo { display: grid; place-items: center; color: var(--muted); }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #000a; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.gal-btn.prev { left: 10px; } .gal-btn.next { right: 10px; }
.gal-count { position: absolute; right: 12px; bottom: 10px; background: #000a; padding: 2px 10px; border-radius: 20px; font-size: .8rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 3 / 2; }
.thumbs button[aria-current] { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-video { width: 100%; margin-top: 14px; border-radius: var(--radius); }
.summary h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: .4em; }
.share { color: var(--muted); font-size: .9rem; }
.share a, .share .link { color: #ddd; margin-left: 8px; }
.note { background: var(--bg-2); border-left: 3px solid var(--red); padding: 10px 14px; border-radius: 4px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.specs div { padding: 12px 14px; box-shadow: 1px 1px 0 var(--line); }
.specs dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.specs dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.features { columns: 2; padding-left: 1.2em; color: #d6d6d6; }
.features.one { columns: 1; }
.description { white-space: pre-line; color: #d6d6d6; }
.panel[id="inquire"] { position: sticky; top: 90px; }

/* account lists */
.list { margin-bottom: 28px; }
.row { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.row small { color: var(--muted); display: block; }
.pill { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #050505; padding-top: 44px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 28px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 12px; }
.site-footer a { display: block; text-decoration: none; margin-bottom: 6px; }
.site-footer a:hover { color: #fff; }
.site-footer img { height: 50px; width: auto; margin-bottom: 12px; }
.legal { border-top: 1px solid var(--line); margin-top: 28px; padding-block: 18px; font-size: .8rem; }
.legal a { display: inline; }

@media (max-width: 900px) {
  .cols-2, .cols-2.wide-left, .vehicle-grid { grid-template-columns: minmax(0, 1fr); }
  .cols-4, .stats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel[id="inquire"] { position: static; }
  .clock:nth-child(n+3) { display: none; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0a0a0a; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 18px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; }
  .nav a[aria-current] { box-shadow: none; color: var(--red-2); }
  .nav .btn { text-align: center; margin-top: 8px; }
}
@media (max-width: 520px) {
  .form-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .features { columns: 1; }
  .section { padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .hero video { display: none; }
}
