/* ==========================================================================
   BALDA GARAGE · Design system
   ========================================================================== */
:root {
  --bg: #0b0c0e;
  --bg-2: #101215;
  --surface: #15171b;
  --surface-2: #1c1f24;
  --surface-3: #252930;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f2ee;
  --text-2: #c4c6ca;
  --muted: #8b9098;
  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --accent-ink: #160700;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --ok: #3ddc97;
  --warn: #ffc247;
  --danger: #ff4d5e;

  --ff-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 48px -24px rgba(0,0,0,.6);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--ff-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
  cursor: pointer; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 90, 31, .7); }
.btn-accent:hover { background: var(--accent-2); box-shadow: 0 14px 36px -10px rgba(255, 90, 31, .85); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--text);
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 12, 14, .78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.logo-mark { width: 34px; height: 34px; }
.logo-text { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--ff-display); }
.logo-text b { font-weight: 850; font-stretch: 125%; font-size: 19px; letter-spacing: .02em; }
.logo-text small { font-weight: 600; font-size: 9.5px; letter-spacing: .58em; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255,255,255,.06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.fav-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.menu-btn { display: none; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: rgba(11,12,14,.97); backdrop-filter: blur(20px);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  animation: fadeIn .25s var(--ease);
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  font-family: var(--ff-display); font-stretch: 112%; font-weight: 700; font-size: 30px;
  padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: -.01em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(680px, 100svh);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px;
  isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards;
  filter: saturate(.9) contrast(1.05);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(11,12,14,.78) 0%, rgba(11,12,14,.55) 55%, rgba(11,12,14,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,12,14,0) 40%),
    linear-gradient(180deg, rgba(11,12,14,.7) 0%, rgba(11,12,14,0) 25%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; color: var(--text-2); margin: 0 0 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2s infinite; }
.hero-title {
  font-family: var(--ff-display); font-weight: 800; font-stretch: 118%;
  font-size: clamp(44px, 8.2vw, 112px); line-height: .92; letter-spacing: -.035em;
  margin: 0 0 28px; max-width: 14ch; text-shadow: 0 4px 40px rgba(0,0,0,.45);
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { max-width: 58ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); margin: 0 auto 40px; text-shadow: 0 2px 20px rgba(0,0,0,.6); }

.quick-search {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px;
  width: 100%; max-width: 820px; padding: 6px; text-align: left;
  background: rgba(21, 23, 27, .72); border: 1px solid var(--line-2); border-radius: 22px;
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.qs-field { display: flex; flex-direction: column; padding: 10px 16px 9px; border-radius: 16px; transition: background .2s; position: relative; }
.qs-field:hover { background: rgba(255,255,255,.05); }
.qs-field + .qs-field::before { content: ""; position: absolute; left: -3px; top: 22%; bottom: 22%; width: 1px; background: var(--line-2); }
.qs-field span { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qs-field select { appearance: none; background: transparent; border: 0; padding: 2px 0 0; font-size: 16px; font-weight: 600; cursor: pointer; outline: none; }
.qs-field select option { background: var(--surface); }
.qs-submit { height: auto; border-radius: 16px; padding: 0 28px; }

.hero-stats { display: flex; justify-content: center; gap: clamp(24px, 5vw, 72px); margin: 48px 0 0; padding: 0; }
.hero-stats div { display: flex; flex-direction: column; align-items: center; }
.hero-stats dt { order: 2; text-align: center; font-size: 13.5px; color: var(--muted); max-width: 18ch; line-height: 1.35; margin-top: 4px; }
.hero-stats dd { order: 1; margin: 0; font-family: var(--ff-display); font-stretch: 115%; font-weight: 750; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }

.hero-stats .stat-text dd { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.hero-stats .stat-text dd svg { width: .8em; height: .8em; }
.hero-stats .stat-text dt { max-width: 22ch; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--text); translate: -50% 0; animation: scrollCue 1.8s infinite; }

/* ---------- Brands marquee ---------- */
.brands { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brands-track button {
  background: none; border: 0; padding: 0;
  font-family: var(--ff-display); font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.28); transition: color .25s; white-space: nowrap;
}
.brands-track button:hover { color: var(--text); }
.brands-track button sup { font-size: 11px; color: var(--accent); margin-left: 4px; font-stretch: 100%; letter-spacing: 0; vertical-align: super; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section-title { margin: 0; font-family: var(--ff-display); font-weight: 800; font-stretch: 115%; font-size: clamp(34px, 5.2vw, 64px); line-height: .98; letter-spacing: -.03em; }
.section-lead { margin: 0; color: var(--text-2); font-size: 17px; }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.search-box {
  flex: 1 1 280px; max-width: 380px; display: flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-box svg { color: var(--muted); }
.search-box input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 15px; }
.search-box input::placeholder { color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  background: transparent; border: 1px solid var(--line-2); color: var(--text-2);
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.28); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.toolbar-right { display: flex; gap: 8px; margin-left: auto; }
.sort select, .f-group select, .field select {
  appearance: none; height: 40px; padding: 0 38px 0 16px; border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238b9098' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 15px center;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; cursor: pointer; outline: none;
}
.sort select:focus, .f-group select:focus { border-color: var(--accent); }
select option { background: var(--surface); color: var(--text); }
.badge-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; }
.filters-open { display: none; }

.stock-layout { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; }
.filters {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 22px;
}
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.filters-close, .filters-foot .filters-apply { display: none; }
.filters-foot { display: flex; gap: 8px; }
.filters-foot .btn { flex: 1; --h: 42px; }
.f-group { display: flex; flex-direction: column; gap: 10px; }
.f-group > label:first-child:not(.switch) { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.f-group output { color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.f-group select { width: 100%; border-radius: 12px; height: 44px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-row input, .field input, .field textarea, .field select {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line-2); outline: none; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 88px; }
.f-row input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.f-row input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #5f646c; }
.f-row input::-webkit-outer-spin-button, .f-row input::-webkit-inner-spin-button { -webkit-appearance: none; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --p: 100%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), var(--surface-3) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), var(--surface-3) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.4); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button, .seg label span {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2); transition: all .18s; cursor: pointer;
}
.seg button:hover, .seg label span:hover { color: var(--text); }
.seg button[aria-pressed="true"], .seg input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.seg label input { position: absolute; opacity: 0; pointer-events: none; }
.seg-lg { display: grid; grid-template-columns: 1fr 1fr; }
.seg-lg label span { width: 100%; height: 44px; font-size: 14.5px; }

.switch { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--surface-3); transition: background .2s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Results grid ---------- */
.results-meta { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.results-meta b { color: var(--text); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }

.car {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
  animation: cardIn .5s var(--ease) both;
}
.car:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.car-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: 0; }
.car-media img.loaded { opacity: 1; }
.car:hover .car-media img { transform: scale(1.05); }
.car-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); pointer-events: none; }
.car-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; max-width: calc(100% - 64px); }
.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; flex: none;
  background: rgba(11,12,14,.72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); color: var(--text);
}
.tag-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tag-warn { background: var(--warn); color: #1d1400; border-color: transparent; }
.tag-fin { background: rgba(61,220,151,.16); color: var(--ok); border-color: rgba(61,220,151,.35); }
.tag-sold { background: var(--text); color: var(--bg); border-color: transparent; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11,12,14,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); color: var(--text);
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn[aria-pressed="true"] { color: var(--accent); background: rgba(255,255,255,.92); }
.fav-btn[aria-pressed="true"] svg path { fill: currentColor; }
.fav-btn.pop { animation: pop .4s var(--ease); }
.photo-count { position: absolute; right: 12px; bottom: 12px; z-index: 1; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(11,12,14,.7); }

.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-title { margin: 0; font-family: var(--ff-display); font-stretch: 108%; font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -.015em; }
.car-title small { display: block; font-family: var(--ff-body); font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 4px; letter-spacing: 0; font-stretch: 100%; }
.car-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--text-2); }
.car-specs li { display: inline-flex; align-items: center; gap: 6px; }
.car-specs svg { width: 15px; height: 15px; color: var(--muted); }
.car-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { font-family: var(--ff-display); font-stretch: 110%; font-weight: 750; font-size: 24px; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: .55em; font-weight: 600; color: var(--muted); margin-right: 4px; letter-spacing: 0; }
.cuota { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.cuota b { color: var(--text-2); font-weight: 600; }
.car-cta { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text); transition: background .25s, color .25s, transform .3s var(--ease); flex: none; }
.car:hover .car-cta { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.car.is-sold .car-media img { filter: grayscale(.85) brightness(.6); }
.car.is-sold .price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }

.car.featured-wide { grid-column: span 2; }
.car.featured-wide .car-media { aspect-ratio: 16 / 9; }

.skeleton { border-radius: var(--r-lg); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite; aspect-ratio: 3 / 4; }

.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty-ico { width: 44px; height: 44px; color: var(--muted); margin-bottom: 12px; }
.empty h3 { margin: 0 0 8px; font-size: 20px; }
.empty p { margin: 0 auto 24px; color: var(--muted); max-width: 46ch; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Why ---------- */
.why { background: var(--bg-2); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  position: relative; padding: 28px 24px 30px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.why-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,90,31,.12), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.why-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.why-card:hover::before { opacity: 1; }
.why-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.why-ico svg { width: 24px; height: 24px; }
.why-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.why-card p { margin: 0; color: var(--text-2); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-2) 60%); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 16px; padding-right: 24px; }
.step-n { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--ff-display); font-weight: 800; font-stretch: 120%; }
.steps li:first-child .step-n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.steps h4 { margin: 0 0 4px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Sell ---------- */
.sell-inner { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sell-copy .section-lead { margin: 24px 0 32px; max-width: 46ch; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.form { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.form h3 { margin: 0 0 4px; font-family: var(--ff-display); font-stretch: 110%; font-size: 24px; letter-spacing: -.015em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field select { border-radius: 12px; background-color: var(--bg-2); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,77,94,.12); }
.form-note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Finance ---------- */
.finance { background: radial-gradient(1000px 500px at 85% 0%, rgba(255,90,31,.10), transparent 60%), var(--bg); }
.sim { display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; }
.sim-controls { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 32px; }
.sim-controls .f-group output { font-family: var(--ff-display); font-stretch: 110%; font-size: 18px; font-weight: 700; }
.sim-controls .seg button { height: 44px; padding: 0 20px; font-size: 15px; flex: 1; }
.sim-result { padding: clamp(24px, 4vw, 48px); background: var(--surface-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.sim-label { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.sim-value { margin: 0; font-family: var(--ff-display); font-stretch: 118%; font-weight: 800; font-size: clamp(40px, 5vw, 60px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sim-value small { font-size: .38em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.sim-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 6px; padding: 16px 0; border-block: 1px solid var(--line); }
.sim-breakdown dt { font-size: 12px; color: var(--muted); }
.sim-breakdown dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: clamp(13px, 3.6vw, 16px); }

/* ---------- About ---------- */
.about { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about-card { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.about-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,12,14,.85), transparent 55%); }
.about-badge {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1;
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: rgba(21,23,27,.75); backdrop-filter: blur(16px); border: 1px solid var(--line-2);
}
.about-badge > svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.about-badge b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.about-badge span { font-weight: 600; font-size: 15px; line-height: 1.3; }
.about-copy p { color: var(--text-2); font-size: 17px; margin: 0 0 18px; max-width: 58ch; }
.about-copy .section-title { margin-bottom: 28px; }
.about-copy p.kicker { color: var(--accent); font-size: 13px; margin: 0 0 16px; }
.about-copy strong { color: var(--text); font-weight: 600; }
.about-lead { font-size: 20px !important; color: var(--text) !important; line-height: 1.5; }
.quote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--ff-display); font-stretch: 108%; font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.about-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' stroke='%23f3f2ee' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E") center no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); border-color: var(--accent); }
.faq-list summary:hover { color: var(--accent-2); }
.faq-list details p { margin: -6px 0 24px; color: var(--text-2); max-width: 62ch; animation: fadeUp .35s var(--ease); }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(32px, 5vw, 80px);
  padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl);
  background:
    radial-gradient(600px 400px at 0% 100%, rgba(255,90,31,.22), transparent 60%),
    linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); position: relative; overflow: hidden;
}
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; }
.contact-list svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--accent); }
.contact-list a:hover { color: var(--accent-2); }
.contact-form { padding: 0; justify-content: center; }
.contact-form .field input, .contact-form .field textarea { background: rgba(11,12,14,.5); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center; }
.footer-brand p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14.5px; color: var(--text-2); }
.footer-nav a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); max-width: 100ch; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s var(--ease), opacity .3s; opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }

/* ---------- Vehicle dialog ---------- */
.vdialog {
  width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto;
  padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: var(--surface); color: var(--text); overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9);
}
.vdialog[open] { animation: dialogIn .4s var(--ease); }
.vdialog::backdrop { background: rgba(5,6,8,.78); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.vd { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); height: min(780px, calc(100dvh - 34px)); }
.vd-gallery { position: relative; background: #000; display: flex; flex-direction: column; min-height: 0; }
.vd-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y; }
.vd-slides { display: flex; height: 100%; transition: transform .5s var(--ease); }
.vd-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.vd-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,12,14,.6); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); color: var(--text); transition: background .2s; }
.vd-nav:hover { background: rgba(11,12,14,.9); }
.vd-prev { left: 14px; } .vd-next { right: 14px; }
.vd-counter { position: absolute; left: 14px; bottom: 14px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(11,12,14,.7); }
.vd-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: var(--bg); scrollbar-width: thin; }
.vd-thumbs button { flex: 0 0 84px; height: 60px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; background: var(--surface-2); }
.vd-thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.vd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vd-info { overflow-y: auto; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 22px; overscroll-behavior: contain; }
.vd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vd-actions { display: flex; gap: 8px; }
.vd-title { margin: 6px 0 0; font-family: var(--ff-display); font-stretch: 112%; font-weight: 800; font-size: clamp(26px, 3vw, 34px); line-height: 1.02; letter-spacing: -.025em; }
.vd-version { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.vd-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.vd-price-row .price { font-size: 34px; }
.vd-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.vd-specs div { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.vd-specs dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.vd-specs dd { margin: 3px 0 0; font-weight: 600; font-size: 14.5px; }
.vd h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.vd-desc { margin: 0; color: var(--text-2); }
.vd-equip { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.vd-equip li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; }
.vd-equip svg { width: 14px; height: 14px; color: var(--accent); }
.vd-mini-sim { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.vd-mini-sim .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vd-mini-sim .big { font-family: var(--ff-display); font-stretch: 112%; font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.vd-cta { position: sticky; bottom: -24px; margin: 0 -28px -24px; padding: 16px 28px calc(20px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(21,23,27,0), var(--surface) 30%); display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.vd-close-m { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 100;
  translate: -50% 20px; opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--bg);
  font-weight: 600; font-size: 14.5px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
  transition: opacity .3s, translate .3s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn 1s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; }
.hero .reveal:nth-child(3) { animation-delay: .18s; }
.hero .reveal:nth-child(4) { animation-delay: .28s; }
.hero .reveal:nth-child(5) { animation-delay: .38s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Animations ---------- */
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6); } 70% { box-shadow: 0 0 0 10px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes shimmer { to { background-position: -100% 0; } }
@keyframes pop { 50% { transform: scale(1.3); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .car.featured-wide { grid-column: auto; }
  .car.featured-wide .car-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 960px) {
  .main-nav, .hide-sm { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .stock-layout { grid-template-columns: 1fr; }
  .filters-open { display: inline-flex; }
  .filters {
    position: fixed; inset: auto 0 0; top: auto; z-index: 60; max-height: 88dvh; overflow-y: auto;
    border-radius: var(--r-xl) var(--r-xl) 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom));
    transform: translateY(105%); transition: transform .45s var(--ease); box-shadow: 0 -30px 80px rgba(0,0,0,.7);
  }
  .filters.open { transform: none; }
  .filters-close, .filters-foot .filters-apply { display: inline-flex; }
  .filters-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(0,0,0,.6); animation: fadeIn .3s; }
  .filters-foot { position: sticky; bottom: calc(-22px - env(safe-area-inset-bottom)); background: var(--surface); padding: 12px 0 0; margin-top: -8px; }
  .sell-inner, .about-inner, .faq-inner, .contact-card { grid-template-columns: 1fr; }
  .about-card { aspect-ratio: 4 / 5; max-width: 480px; margin: 0 auto; }
  .sim { grid-template-columns: 1fr; }
  .sim-result { border-left: 0; border-top: 1px solid var(--line); }
  .vd { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .vd-info { overflow: visible; }
  .vd { height: auto; max-height: calc(100dvh - 34px); }
  .vd-stage { flex: none; aspect-ratio: 4 / 3; }
  .vd-close-m { display: grid; position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(11,12,14,.7); backdrop-filter: blur(8px); }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .hero { min-height: 100svh; padding-bottom: 56px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 8%, rgba(11,12,14,.8) 45%, rgba(11,12,14,.45) 100%); }
  .hero-media img { object-position: 50% 50%; }
  .quick-search { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .qs-field:nth-child(3) { grid-column: 1 / -1; }
  .qs-field:nth-child(3)::before { display: none; }
  .qs-submit { grid-column: 1 / -1; height: 50px; }
  .hero-stats { gap: 22px 36px; flex-wrap: wrap; }
  .hero-stats .stat-text { flex-basis: 100%; }
  .hero-stats .stat-text dt { max-width: none; }
  .hero-stats dt { font-size: 12px; }
  .scroll-cue { display: none; }
  .toolbar { gap: 10px; }
  .search-box { max-width: none; flex-basis: 100%; }
  .chips { order: 3; flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .toolbar-right { margin-left: 0; width: 100%; }
  .toolbar-right .sort { flex: 1; }
  .toolbar-right .sort select { width: 100%; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-2) 60%); }
  .steps li { flex-direction: row; align-items: flex-start; padding: 0; }
  .form-row { grid-template-columns: 1fr; }
  .vdialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .vd { max-height: 100dvh; height: 100dvh; }
  .vd-info { padding: 22px 18px 24px; }
  .vd-cta { margin: 0 -18px -24px; padding-inline: 18px; }
  .vd-specs { grid-template-columns: repeat(2, 1fr); }
  .vd-price-row .price { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .sim-breakdown { grid-template-columns: repeat(3, 1fr); }
  .sim-controls .seg button { padding: 0 8px; }
  .contact-list li { font-size: 15px; }
}

/* ---------- Vista previa del borrador ---------- */
.preview-bar {
  position: fixed; left: 50%; top: calc(var(--header-h) + 10px); translate: -50% 0; z-index: 45;
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: var(--warn); color: #1d1400; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  max-width: calc(100vw - 24px);
}
.preview-bar button { border: 0; border-radius: 999px; padding: 6px 12px; background: #1d1400; color: var(--warn); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 720px) {
  .preview-bar { left: 12px; right: 12px; translate: none; border-radius: 14px; padding: 10px 10px 10px 14px; }
  .preview-bar span { flex: 1; font-size: 12px; line-height: 1.35; }
  .hide-xs { display: none; }
}
