/* ============================================================
   DriveX Motors — public site styles
   Luxury · premium · automotive (gold on black)
   ============================================================ */

:root {
  --gold: #d4af37;
  --gold-2: #b8860b;
  --gold-soft: rgba(212, 175, 55, 0.14);
  --black: #0a0a0a;
  --gray: #1a1a1a;
  --gray-2: #202020;
  --gray-3: #2a2a2a;
  --white: #ffffff;
  --text: #e9e9ea;
  --muted: #a2a2a6;
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(212, 175, 55, 0.35);
  --whatsapp: #25d366;
  --danger: #e2574c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
  --container: 1200px;
  --header-h: 76px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.gold { color: var(--gold); }
.muted { color: var(--muted); }
.ta-center { text-align: center; }
.ta-right { text-align: right; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200; background: var(--gold);
  color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 100px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap; background: var(--bg);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1400; }
.btn-gold:hover { box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #1a1400; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: #04310f; }
.btn-whatsapp:hover { box-shadow: 0 10px 30px rgba(37,211,102,.32); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.link-btn { background: none; border: 0; color: var(--gold); font-weight: 600; padding: 0; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: #111213; }
.section-dark { background: radial-gradient(120% 120% at 50% 0%, #14110a 0%, var(--black) 60%); }
.eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-lead { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10, 10, 10, 0.55); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, height .3s;
}
.site-header.scrolled { background: rgba(10,10,10,.92); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-left: 20px; }
.brand-logo { height: 46px; width: auto; }
.brand-word { font-weight: 600; font-size: 1.16rem; letter-spacing: .02em; color: var(--white); }
.brand-word strong { font-weight: 800; }
.brand-word em { color: var(--gold); font-style: normal; font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 10px 14px; border-radius: 8px; color: var(--text); font-weight: 500; transition: color .2s, background .2s; position: relative; }
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--gold); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("/images/hero.svg") center/cover no-repeat, #000;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(90% 80% at 50% 30%, rgba(10,10,10,.35), rgba(10,10,10,.92) 78%), linear-gradient(180deg, rgba(10,10,10,.6), rgba(10,10,10,.96));
}
.hero-inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 30px) 0 40px; }
.hero-logo { width: 108px; height: 108px; margin: 0 auto 22px; filter: drop-shadow(0 8px 30px rgba(0,0,0,.6)); }
.hero-eyebrow { color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.hero-title { font-size: clamp(2.4rem, 6.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { max-width: 640px; margin: 18px auto 32px; color: var(--text); font-size: clamp(1rem, 2.2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span { display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 16px; position: relative; }
.hero-scroll span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--gold); border-radius: 4px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Vehicle grid + cards ---------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vehicle-card {
  background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.vehicle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.vc-media { position: relative; aspect-ratio: 16 / 11; background: #0d0d0d; overflow: hidden; }
.vc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vehicle-card:hover .vc-img { transform: scale(1.06); }
.vc-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.vc-badge { font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 100px; letter-spacing: .03em; text-transform: uppercase; }
.vc-badge.gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1400; }
.vc-badge.sold { background: var(--danger); color: #fff; }
.vc-fav {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.55); border: 1px solid var(--line);
  color: #fff; backdrop-filter: blur(6px); transition: background .2s, color .2s, transform .2s;
}
.vc-fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.vc-fav:hover { transform: scale(1.08); border-color: var(--line-gold); }
.vc-fav.active { color: var(--gold); }
.vc-fav.active svg { fill: var(--gold); stroke: var(--gold); }
.vc-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vc-title { font-size: 1.12rem; line-height: 1.25; }
.vc-title a:hover { color: var(--gold); }
.vc-price { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.vc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; color: var(--muted); font-size: .88rem; }
.vc-meta li { display: flex; align-items: center; gap: 7px; }
.vc-meta svg { width: 16px; height: 16px; fill: var(--gold); flex: none; }
.vc-link { margin-top: auto; }

/* loading skeleton cards */
.skeleton-card { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.skeleton-card .sk-media { aspect-ratio: 16/11; }
.skeleton-card .sk-body { padding: 18px; display: grid; gap: 12px; }
.shimmer { position: relative; background: #1d1d1d; overflow: hidden; }
.shimmer::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.sk-line { height: 14px; border-radius: 6px; background: #1d1d1d; }
.sk-line.lg { height: 22px; width: 70%; }
.sk-line.sm { width: 45%; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media { position: relative; }
.rounded-media { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-badge { position: absolute; right: -10px; bottom: -10px; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1400; padding: 16px 20px; border-radius: var(--radius-sm); text-align: center; box-shadow: var(--shadow); }
.split-badge strong { display: block; font-size: 1.7rem; line-height: 1; }
.split-badge span { font-size: .8rem; }
.split-body p { color: var(--muted); margin-top: 14px; }
.intro-points { margin: 22px 0; display: grid; gap: 10px; }
.intro-points div { display: flex; align-items: center; gap: 10px; color: var(--text); }
.check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: .8rem; font-weight: 700; }

/* ---------- Feature / benefit / mvv / team / testimonial ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s, border-color .3s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--line-gold); }
.feature-icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); margin-bottom: 16px; }
.feature-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .95rem; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.benefit-num { font-size: 1.5rem; font-weight: 800; color: var(--gold); display: block; margin-bottom: 10px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .92rem; }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.mvv-card .feature-icon { margin: 0 auto 18px; }
.mvv-card p { color: var(--muted); margin-top: 8px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-avatar { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; color: var(--gold); background: var(--gray); border: 1px solid var(--line-gold); }
.team-card strong { display: block; }
.team-card span { color: var(--muted); font-size: .9rem; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { color: var(--text); font-style: italic; }
.testimonial figcaption { margin-top: 16px; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: .88rem; }

/* ---------- Stats ---------- */
.stats-section { background: linear-gradient(120deg, #14110a, var(--black)); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--gold); display: block; }
.stat-label { color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }

/* ---------- Contact list / map ---------- */
.contact-list { display: grid; gap: 14px; margin: 22px 0; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-list .ci { color: var(--gold); font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.map-wrap { aspect-ratio: 4/3; }
.map-frame { width: 100%; height: 100%; border: 0; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); }
.map-section { line-height: 0; }
.map-frame-full { width: 100%; height: 440px; border: 0; filter: grayscale(.3); }

/* ---------- Page hero ---------- */
.page-hero { padding: calc(var(--header-h) + 56px) 0 48px; background: radial-gradient(80% 100% at 50% 0, #14110a, var(--black)); border-bottom: 1px solid var(--line); text-align: center; }
.page-hero-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero-sub { color: var(--muted); margin-top: 12px; max-width: 620px; margin-inline: auto; }

/* ---------- Inventory ---------- */
.inventory-section { padding-top: 44px; }
.inventory-toolbar { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 240px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: var(--muted); }
.search-box input { width: 100%; padding: 14px 16px 14px 44px; background: var(--gray); border: 1px solid var(--line); border-radius: 100px; color: var(--white); font-size: .95rem; }
.search-box input:focus { outline: none; border-color: var(--line-gold); }
.toolbar-right { display: flex; gap: 12px; align-items: center; }
.sort-field select, .status-filter { padding: 12px 16px; background: var(--gray); border: 1px solid var(--line); border-radius: 100px; color: var(--white); font-size: .9rem; }
.filters-toggle { display: none; }

.inventory-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.filters { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filters-head h2 { font-size: 1.1rem; }
.filter-group { margin-bottom: 16px; }
.filter-group > label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; letter-spacing: .03em; }
.filter-group select, .filter-group input { width: 100%; padding: 11px 12px; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--white); font-size: .9rem; }
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: var(--line-gold); }
.range-row { display: flex; align-items: center; gap: 8px; }
.range-row span { color: var(--muted); }
.check-line { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: .9rem; margin: 14px 0; cursor: pointer; }
.check-line input { width: 16px; height: 16px; accent-color: var(--gold); }
.apply-btn { margin-top: 6px; }

.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.results-count { color: var(--muted); }
.results-count strong { color: var(--white); }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); color: var(--gold); border: 1px solid var(--line-gold); padding: 5px 10px; border-radius: 100px; font-size: .8rem; }
.chip button { background: none; border: 0; color: inherit; font-size: 1rem; line-height: 1; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--gray); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state svg { width: 54px; height: 54px; fill: none; stroke: var(--muted); stroke-width: 1.5; margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 18px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--gray); color: var(--text); font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.pagination button:hover:not(:disabled) { border-color: var(--line-gold); color: var(--gold); }
.pagination button.active { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1400; border-color: transparent; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Vehicle detail ---------- */
.vehicle-detail { padding-top: calc(var(--header-h) + 30px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold); }
.vd-skeleton { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.vd-skel-gallery { aspect-ratio: 4/3; border-radius: var(--radius); }
.vd-skel-info { display: grid; gap: 16px; align-content: start; }
.vd-skel-info .line { height: 16px; border-radius: 6px; }
.vd-skel-info .line.lg { height: 30px; width: 80%; }
.vd-skel-info .line.sm { width: 50%; }
.vd-skel-info .block { height: 160px; border-radius: var(--radius); }

.vd-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; }
.vd-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.vd-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0d0d0d; aspect-ratio: 4/3; }
.vd-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.vd-main .vc-badge { position: absolute; top: 14px; left: 14px; }
.vd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.vd-thumb { aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .65; transition: opacity .2s, border-color .2s; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vd-thumb.active, .vd-thumb:hover { opacity: 1; border-color: var(--gold); }

.vd-info h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.vd-sub { color: var(--muted); margin: 6px 0 16px; }
.vd-price { font-size: 2rem; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.vd-badges { display: flex; gap: 8px; margin: 12px 0 18px; flex-wrap: wrap; }
.vd-key { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.vd-key li { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.vd-key .k { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; display: block; }
.vd-key .v { color: var(--white); font-weight: 600; }
.vd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.vd-actions .full { grid-column: 1 / -1; }
.vd-section { margin-top: 38px; }
.vd-section h2 { font-size: 1.3rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.vd-desc { color: var(--text); white-space: pre-line; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 12px 0; width: 42%; }
.specs-table td { padding: 12px 0; color: var(--white); font-weight: 600; }
.features-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.features-list li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.features-list li::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; }
.lightbox-nav.prev { left: 20px; } .lightbox-nav.next { right: 20px; }
.lightbox-nav:hover { background: var(--gold); color: #000; }

/* ---------- Footer ---------- */
.site-footer { background: #0c0c0c; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-desc { color: var(--muted); font-size: .92rem; max-width: 320px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gray); border: 1px solid var(--line); transition: background .2s, transform .2s; }
.social-row a:hover { background: var(--gold); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; fill: var(--white); }
.social-row a:hover svg { fill: #000; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--white); }
.footer-links li, .footer-contact li { margin-bottom: 11px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; color: var(--muted); font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--gold); flex: none; margin-top: 2px; }
.footer-contact a:hover { color: var(--gold); }
.footer-col .btn { margin-top: 10px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .85rem; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.fab-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .25s; }
.fab-whatsapp svg { width: 32px; height: 32px; fill: #fff; }
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.back-to-top { position: fixed; right: 22px; bottom: 88px; z-index: 94; width: 46px; height: 46px; border-radius: 50%; background: var(--gray-2); border: 1px solid var(--line-gold); color: var(--gold); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s, background .2s; }
.back-to-top svg { width: 22px; height: 22px; fill: currentColor; }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--gold); color: #000; }

/* ---------- Toasts ---------- */
.toast-container { position: fixed; top: 84px; right: 18px; z-index: 400; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--gray-2); border: 1px solid var(--line); color: var(--white); box-shadow: var(--shadow); transform: translateX(120%); animation: toastIn .4s var(--ease) forwards; font-size: .92rem; }
.toast.hide { animation: toastOut .3s forwards; }
.toast::before { content: ""; width: 4px; align-self: stretch; border-radius: 4px; background: var(--gold); }
.toast.success::before { background: #36c275; }
.toast.error::before { background: var(--danger); }
@keyframes toastIn { to { transform: none; } }
@keyframes toastOut { to { transform: translateX(120%); opacity: 0; } }

/* ---------- Forms (contact) ---------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-form-wrap { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 38px); }
.contact-form { margin-top: 22px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: .88rem; color: var(--text); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select { padding: 13px 14px; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--white); font-size: .95rem; font-family: inherit; transition: border-color .2s; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--line-gold); }
.form-field textarea { resize: vertical; }
.form-field.invalid input, .form-field.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8rem; min-height: 0; }
.contact-cards { display: grid; gap: 14px; margin-top: 22px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.cc-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.cc-label { display: block; color: var(--muted); font-size: .8rem; }
.contact-card a:hover { color: var(--gold); }

/* ---------- 404 ---------- */
.error-section { padding-top: calc(var(--header-h) + 80px); text-align: center; min-height: 70vh; display: grid; place-items: center; }
.error-code { font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: 1; }
.error-inner .section-lead { margin: 12px 0 28px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .benefit-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vd-layout { grid-template-columns: 1fr; }
  .vd-gallery { position: static; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(10,10,10,.98); border-bottom: 1px solid var(--line); padding: 16px 20px 24px; gap: 4px;
    transform: translateY(-130%); transition: transform .35s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .nav-link { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; }
  .inventory-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 120; border-radius: 0; overflow-y: auto; transform: translateX(-105%); transition: transform .35s var(--ease); }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .vehicle-grid { grid-template-columns: 1fr; }
  .feature-grid, .benefit-grid, .team-grid, .mvv-grid, .testimonial-grid, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vd-actions { grid-template-columns: 1fr; }
  .vd-key { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .toast-container { left: 12px; right: 12px; max-width: none; }
  .brand-word { display: none; }
}
