/* ==========================================================================
   BERACA AUTOS · Estilos
   Tema oscuro por defecto (carbono + rojo), tema claro opcional.
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg: #0B0B0D;
  --bg-alt: #101114;
  --surface: #15161A;
  --surface-2: #1C1D22;
  --surface-3: #24262C;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --ink: #F4F4F5;
  --ink-2: #BCBEC5;
  --ink-3: #8E919A;
  --red: #D7192D;
  --red-hover: #EC2238;
  --red-ink: #FF4D5E;
  --red-soft: rgba(215, 25, 45, .14);
  --navy: #0D2A5E;
  --navy-2: #133A80;
  --ok: #16A34A;
  --ok-ink: #4ADE80;
  --ok-soft: rgba(34, 197, 94, .14);
  --warn-ink: #FBBF24;
  --wa: #15803D;
  --wa-hover: #166534;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
  --header-bg: rgba(11, 11, 13, .72);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F4F4F2;
  --bg-alt: #ECECE9;
  --surface: #FFFFFF;
  --surface-2: #F6F6F4;
  --surface-3: #EDEDEA;
  --line: rgba(11, 11, 13, .09);
  --line-2: rgba(11, 11, 13, .16);
  --ink: #0B0B0D;
  --ink-2: #44474F;
  --ink-3: #5F626B;
  --red: #D7192D;
  --red-hover: #B8121F;
  --red-ink: #B3121F;
  --red-soft: rgba(215, 25, 45, .08);
  --ok: #15803D;
  --ok-ink: #15803D;
  --ok-soft: rgba(21, 128, 61, .1);
  --warn-ink: #92400E;
  --shadow-sm: 0 1px 2px rgba(16, 17, 20, .06);
  --shadow: 0 1px 2px rgba(16, 17, 20, .05), 0 10px 30px rgba(16, 17, 20, .08);
  --shadow-lg: 0 30px 80px rgba(16, 17, 20, .18);
  --header-bg: rgba(244, 244, 242, .78);
  color-scheme: light;
}

/* zonas que siempre son oscuras (hero, footer) */
.zone-dark {
  --bg: #0B0B0D; --surface: #15161A; --surface-2: #1C1D22; --surface-3: #24262C;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .15);
  --ink: #F4F4F5; --ink-2: #BCBEC5; --ink-3: #8E919A; --red-ink: #FF4D5E;
  color: var(--ink);
}
.zone-navy {
  --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .09); --surface-3: rgba(255, 255, 255, .13);
  --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .2);
  --ink: #F5F7FB; --ink-2: #C9D3E6; --ink-3: #A3B1CB; --red-ink: #FF6B79;
  color: var(--ink);
}

:root {
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-d: "Sora", "Archivo", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
  --gutter: 16px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-family: var(--font-d); letter-spacing: -.025em; line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 800; }
h3 { font-size: 18px; letter-spacing: -.015em; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
.ico { width: 20px; height: 20px; flex: none; }
.ico.flip { transform: scaleX(-1); }
.muted { color: var(--ink-3); }
.red { color: var(--red-ink); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

:focus-visible { outline: 2.5px solid var(--red-ink); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- botones ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; position: relative; isolation: isolate;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.965); }
.btn .ico { width: 19px; height: 19px; }
.btn-sm { --h: 44px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(215, 25, 45, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--red-hover); box-shadow: 0 12px 30px -8px rgba(215, 25, 45, .85), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary .ico { transition: transform .25s var(--ease); }
.btn-primary:hover .ico[class] { transform: translateX(2px); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-soft { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.btn-soft:hover { background: var(--surface-3); border-color: var(--line-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-wa:hover { background: var(--wa-hover); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  transition: background-color .2s, transform .18s var(--ease), border-color .2s;
}
.icon-btn:hover { background: var(--surface-3); border-color: var(--line-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn .ico { width: 19px; height: 19px; }

.link { color: var(--red-ink); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; min-height: 44px; display: inline-flex; align-items: center; }
.link:hover { text-decoration-thickness: 2px; }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.pill .ico { width: 15px; height: 15px; }
.pill-red { background: var(--red-soft); color: var(--red-ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 14px; }
.eyebrow-line { width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- barra de vista previa ---------- */
.preview-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #050506; color: #C8CAD0; font-size: 12.5px; line-height: 1.3; text-align: center;
  padding: 7px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.preview-bar b { color: #fff; font-weight: 600; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 0 rgba(215, 25, 45, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(215, 25, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 25, 45, 0); } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; position: relative; overflow: hidden; flex: none;
  background: #0B0B0D linear-gradient(45deg, rgba(255,255,255,.07) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.07) 75%) 0 0 / 5px 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.logo-mark i { position: absolute; left: 12px; top: -4px; width: 7px; height: 40px; background: var(--red); transform: skewX(-22deg); box-shadow: 0 0 14px rgba(215, 25, 45, .8); }
.logo-word { font-family: var(--font-d); font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--ink); }
.logo-word b { font-weight: 400; color: var(--ink-2); margin-left: 1px; }
.nav { display: none; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
#themeBtn .ico-moon { display: none; }
[data-theme="light"] #themeBtn .ico-sun { display: none; }
[data-theme="light"] #themeBtn .ico-moon { display: block; }
.hide-xs { display: none; }
@media (min-width: 560px) { .hide-xs { display: inline-flex; } }
@media (min-width: 980px) { .nav { display: flex; } .menu-btn { display: none; } }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55; background: var(--bg);
  padding: 20px var(--gutter) 32px; display: flex; flex-direction: column; gap: 20px;
  animation: menuIn .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-d); font-size: 28px; font-weight: 700; letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mm-foot { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #0B0B0D; padding: 44px 0 56px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.carbon {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.028) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.028) 75%),
    linear-gradient(45deg, rgba(255,255,255,.028) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.028) 75%);
  background-size: 8px 8px; background-position: 0 0, 4px 4px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%);
}
.hero-light { position: absolute; width: 900px; height: 600px; right: -260px; bottom: -180px; background: radial-gradient(closest-side, rgba(215, 25, 45, .36), rgba(215, 25, 45, .08) 55%, transparent); filter: blur(10px); }
.hero-streak { position: absolute; left: -10%; right: -10%; bottom: 31%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 77, 94, .55) 40%, rgba(255, 255, 255, .5) 55%, transparent 80%); opacity: .5; }
.hero-in { display: grid; gap: 28px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(38px, 10.5vw, 76px); font-weight: 800; line-height: 1.0; letter-spacing: -.045em; max-width: 13ch; color: #fff; }
.hero-title em { font-style: normal; color: transparent; background: linear-gradient(100deg, #FF5566, #D7192D 60%); -webkit-background-clip: text; background-clip: text; position: relative; white-space: nowrap; }
.hero-title em::after { content: ""; position: absolute; left: 2%; right: 0; bottom: .02em; height: .08em; background: linear-gradient(90deg, #D7192D, transparent); border-radius: 4px; transform-origin: left; animation: underline 1s .9s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-2); max-width: 36em; margin: 20px 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas .btn { flex: 1 1 180px; }
@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; } }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-stats > div { padding-right: 10px; }
.hero-stats > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.hero-stats dt { font-family: var(--font-d); font-weight: 800; font-size: clamp(24px, 6.4vw, 38px); letter-spacing: -.04em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats dd { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.35; }
.hero-visual { position: relative; z-index: 1; margin: 0 -6%; }
.hero-car { position: relative; aspect-ratio: 480 / 200; will-change: transform; }
.hero-car svg, .hero-car img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.hero-car img { border-radius: var(--r-lg); object-fit: cover; }
.hero-floor { height: 50px; margin-top: -26px; background: radial-gradient(50% 50% at 50% 30%, rgba(215, 25, 45, .45), transparent 70%); filter: blur(6px); }
.hero-tag {
  position: absolute; left: 7%; bottom: -10px; display: flex; align-items: center; gap: 12px; text-align: left;
  background: rgba(21, 22, 26, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: 18px; padding: 10px 14px 10px 10px; color: #fff;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .2s; max-width: 86%;
}
.hero-tag:hover { transform: translateY(-3px); border-color: rgba(255, 77, 94, .5); }
.hero-tag .ht-badge { background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 10px; line-height: 1.15; text-align: center; }
.hero-tag b { display: block; font-family: var(--font-d); font-size: 14.5px; letter-spacing: -.02em; }
.hero-tag small { display: block; color: var(--ink-2); font-size: 12.5px; }
.hero-tag .ico { width: 18px; color: var(--red-ink); }
.scroll-cue { display: none; }
@media (min-width: 980px) {
  .hero { padding: 70px 0 88px; min-height: min(820px, calc(100vh - var(--header-h) - 30px)); display: flex; align-items: center; }
  .hero-in { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 24px; }
  .hero-visual { margin: 0 -14% 0 -4%; }
  .hero-tag { left: 12%; bottom: 0; }
  .scroll-cue { display: block; position: absolute; left: 50%; bottom: 22px; width: 26px; height: 40px; border: 1.5px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); }
  .scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: cue 1.8s infinite; }
  @keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
}

/* ---------- secciones ---------- */
.section { padding: 72px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 980px) { .section { padding: 112px 0; } }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { max-width: 20ch; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center h2 { margin: 0 auto; }
.sec-count { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.lead { font-size: clamp(16px, 2vw, 18px); color: var(--ink-2); margin: 16px 0 0; max-width: 40em; }

/* ---------- ¿Qué auto me entra? ---------- */
.fit-section { position: relative; z-index: 3; margin-top: -26px; }
.fit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 20px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.fit-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), transparent 70%); }
.fit-head h2 { font-size: clamp(26px, 4vw, 36px); margin: 12px 0 6px; }
.fit-head p { color: var(--ink-2); }
.fit-form { display: grid; gap: 14px; margin-top: 20px; }
.fit-go { width: 100%; }
.fit-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; margin-top: 14px; }
.fit-live { color: var(--ink-2); font-size: 14.5px; }
.fit-live b { color: var(--ink); font-family: var(--font-d); font-size: 1.15em; letter-spacing: -.02em; }
@media (min-width: 900px) {
  .fit-card { padding: 34px 36px; display: grid; grid-template-columns: 300px 1fr; gap: 10px 40px; align-items: start; }
  .fit-form { grid-template-columns: repeat(3, 1fr) auto; align-items: end; margin-top: 8px; }
  .fit-go { width: auto; }
  .fit-foot { grid-column: 2; margin-top: 4px; }
}

/* campos */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field-label small { font-weight: 500; color: var(--ink-3); }
.money, .input, .search, .select select {
  min-height: 50px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.money { display: flex; align-items: center; padding: 0 14px; }
.money > span { color: var(--ink-3); font-weight: 600; }
.money input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 0 0 0 6px; height: 48px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.money:focus-within, .input:focus, .search:focus-within, .select select:focus { border-color: var(--red-ink); box-shadow: 0 0 0 4px var(--red-soft); outline: none; }
.input { padding: 0 14px; width: 100%; font-size: 16px; outline: none; }
.input::placeholder, .money input::placeholder, .search input::placeholder { color: var(--ink-3); opacity: .8; }
.field.invalid .input { border-color: #EF4444; }
.err { color: #F87171; font-size: 12.5px; font-weight: 500; min-height: 0; }
[data-theme="light"] .err { color: #B91C1C; }
.err:empty { display: none; }

/* ---------- catálogo ---------- */
.toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; font-size: 14px; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; scroll-snap-align: start;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-spring);
}
.chip:hover { color: var(--ink); border-color: var(--line-2); }
.chip:active { transform: scale(.94); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
.toolbar-row { display: flex; gap: 10px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.search .ico { color: var(--ink-3); width: 18px; }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; outline: none; font-size: 16px; }
.filters-toggle { min-height: 50px; border-radius: 14px; }
.badge-count { background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 6px; }
.filters { display: none; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters.open { display: grid; animation: menuIn .25s var(--ease); }
.select { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.select select {
  appearance: none; -webkit-appearance: none; padding: 0 36px 0 14px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238E919A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select select option { background: var(--surface); color: var(--ink); }
.filters-reset { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) {
  .toolbar { display: grid; grid-template-columns: 1fr 340px; gap: 14px; }
  .chips { margin: 0; padding: 2px 0; }
  .filters-toggle { display: none; }
  .filters { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
  .filters-reset { grid-column: auto; }
}

.fit-banner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 18px; padding: 12px 16px;
  border-radius: var(--r); background: var(--ok-soft); color: var(--ok-ink); border: 1px solid color-mix(in srgb, var(--ok-ink) 30%, transparent);
}
.fit-banner[hidden] { display: none; }
.fit-banner > .ico { width: 22px; height: 22px; }
.fit-banner p { flex: 1 1 220px; font-weight: 600; font-size: 14.5px; }
.fit-banner-actions { display: flex; align-items: center; gap: 14px; }
.fit-banner .link { color: inherit; }
.switch { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 40px; height: 24px; border-radius: 99px; background: var(--line-2); position: relative; transition: background-color .2s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-spring); box-shadow: var(--shadow-sm); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2.5px solid var(--red-ink); outline-offset: 2px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; cursor: pointer; }
.card-media .car-svg { width: 88%; transition: transform .6s var(--ease); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media .car-svg, .card:hover .card-media img { transform: scale(1.04); }
.media-bg { background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--car) 26%, var(--surface-2)), var(--surface-2) 70%); }
[data-theme="light"] .media-bg { background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--car) 20%, #e9e9e6), #f3f3f1 72%); }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; pointer-events: none; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: rgba(11, 11, 13, .78); color: #fff; backdrop-filter: blur(8px); line-height: 1.1; }
.badge-red { background: var(--red); }
.badge-fit { background: var(--ok); color: #fff; display: inline-flex; align-items: center; gap: 5px; animation: pop .45s var(--ease-spring); }
.badge-fit .ico { width: 13px; height: 13px; }
.badge-res { background: #B45309; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.seal-ej { position: absolute; right: 12px; bottom: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border: 1px dashed var(--line-2); padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.card-body { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
.card-title span { display: block; font-family: var(--font); font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: 3px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.specs li { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 9px; border-radius: 8px; }
.price-row { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.price { font-family: var(--font-d); font-size: 25px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.desde { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.desde b { color: var(--ink); font-weight: 700; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.card-actions .btn { --h: 46px; padding: 0 12px; font-size: 14px; }
.card.is-fit { border-color: color-mix(in srgb, var(--ok-ink) 45%, transparent); }
.card.not-fit { opacity: .55; }
.card.not-fit:hover { opacity: 1; }

.skeleton { min-height: 380px; padding: 0; }
.sk-img { aspect-ratio: 16/10; background: var(--surface-2); }
.sk-line { display: block; height: 14px; border-radius: 7px; background: var(--surface-2); margin: 16px 18px 0; }
.sk-line.short { width: 45%; }
.skeleton .sk-img, .skeleton .sk-line { background: linear-gradient(90deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -100% 0; } }

.empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.empty .ico { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--ink-3); }
.empty h3 { font-size: 20px; margin-bottom: 6px; }
.empty p { color: var(--ink-2); margin-bottom: 18px; }
.empty .btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- financiación ---------- */
.fin-layout { display: grid; gap: 36px; }
@media (min-width: 1000px) { .fin-layout { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; } .fin-copy { position: sticky; top: calc(var(--header-h) + 30px); } }
.lines { display: grid; gap: 10px; margin: 28px 0 22px; }
.line { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.line-ico { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-ink); font-family: var(--font-d); font-weight: 800; font-size: 13px; }
.line h3 { font-size: 16px; }
.line p { grid-column: 2 / -1; font-size: 13.5px; color: var(--ink-2); }
.line .tna { font-family: var(--font-d); font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink-2); }
.ticks .ico { width: 20px; height: 20px; color: var(--ok-ink); background: var(--ok-soft); border-radius: 50%; padding: 3px; }

/* simulador */
.sim-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 18px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .sim-card { padding: 30px; } }
.sim { display: flex; flex-direction: column; gap: 20px; }
.sim-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sim-title h3 { font-size: 20px; }
.sim-group { display: flex; flex-direction: column; gap: 10px; }
.sim-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.sim-label output, .sim-label b { font-family: var(--font-d); font-size: 18px; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { min-height: 44px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 6px 8px; line-height: 1.15; transition: background-color .2s, color .2s, transform .2s var(--ease-spring); }
.seg button small { display: block; font-size: 11px; font-weight: 500; opacity: .75; margin-top: 2px; }
.seg button:hover { color: var(--ink); }
.seg button:active { transform: scale(.95); }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-2); }
[data-theme="dark"] .seg button[aria-checked="true"], .zone-dark .seg button[aria-checked="true"] { background: var(--surface-3); }
.plazos { display: flex; flex-wrap: wrap; gap: 8px; }
.plazos button { min-width: 56px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 700; font-family: var(--font-d); font-size: 15px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); transition: all .2s var(--ease); }
.plazos button:hover { color: var(--ink); border-color: var(--line-2); }
.plazos button:active { transform: scale(.93); }
.plazos button[aria-checked="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(215, 25, 45, .8); }
.plazos button:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --p: 0%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--red) var(--p), var(--surface-3) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--surface-3); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--red); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(215, 25, 45, .25), 0 4px 10px rgba(0, 0, 0, .35); transition: transform .2s var(--ease-spring), box-shadow .2s; }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(215, 25, 45, .25), 0 4px 10px rgba(0, 0, 0, .35); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(215, 25, 45, .22), 0 4px 10px rgba(0, 0, 0, .35); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--red-ink), 0 4px 10px rgba(0, 0, 0, .35); }
.range-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-top: -6px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--red); flex: none; cursor: pointer; }
.used-box { display: grid; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); animation: menuIn .25s var(--ease); }
.used-box[hidden] { display: none; }
.used-box .money, .used-box .input { background: var(--surface); }
.sim-result { border-radius: var(--r-lg); padding: 20px; background: linear-gradient(150deg, #17181D, #0E0F12); color: #fff; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.sim-result::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -120px; background: radial-gradient(closest-side, rgba(215, 25, 45, .45), transparent); pointer-events: none; }
.sim-result .r-label { font-size: 13px; color: #BCBEC5; font-weight: 500; }
.sim-result .r-cuota { font-family: var(--font-d); font-weight: 800; font-size: clamp(34px, 9vw, 46px); letter-spacing: -.045em; line-height: 1.05; margin: 4px 0 2px; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.sim-result .r-cuota small { font-size: 15px; font-weight: 600; color: #BCBEC5; letter-spacing: -.01em; }
.r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); position: relative; z-index: 1; }
.r-grid div span { display: block; font-size: 12px; color: #9EA1AA; }
.r-grid div b { font-size: 15px; font-variant-numeric: tabular-nums; }
.r-warn { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(251, 191, 36, .12); color: #FCD34D; font-size: 13px; font-weight: 500; position: relative; z-index: 1; }
.r-warn[hidden] { display: none; }
.r-uva { margin-top: 10px; font-size: 12.5px; color: #BCBEC5; position: relative; z-index: 1; }
.sim-note { font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.sim-free[hidden] { display: none; }
.sim-pick { display: grid; gap: 10px; }
.sim-pick .select select { min-height: 50px; }
.sim-car { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.sim-car .thumb { width: 84px; flex: none; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.sim-car .thumb svg { width: 100%; }
.sim-car .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sim-car b { display: block; font-family: var(--font-d); letter-spacing: -.02em; font-size: 15px; }
.sim-car span { font-size: 13px; color: var(--ink-3); }

/* ---------- vendé tu auto (zona azul del cartel) ---------- */
.zone-navy { background: #08193A; overflow: hidden; isolation: isolate; }
.navy-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 10%, rgba(19, 58, 128, .9), transparent 70%),
  radial-gradient(50% 60% at 0% 100%, rgba(215, 25, 45, .16), transparent 70%),
  linear-gradient(180deg, #0B214A, #071533); }
.navy-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.zone-navy .eyebrow { color: #FF8A95; }
.sell-layout { display: grid; gap: 36px; }
@media (min-width: 1000px) { .sell-layout { grid-template-columns: 1fr 470px; gap: 64px; align-items: center; } }
.steps { display: grid; gap: 14px; margin: 30px 0 24px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-d); font-weight: 800; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.steps h3 { font-size: 17px; margin: 2px 0 4px; }
.steps p { color: var(--ink-2); font-size: 14.5px; }
.sell-note { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.sell-note b { color: #fff; }
.sell-note .ico { color: #FF8A95; }
.sell-form { background: rgba(8, 18, 40, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 24px 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
@media (min-width: 720px) { .sell-form { padding: 30px; } }
.sell-form h3 { font-size: 22px; }
.form-sub { color: var(--ink-2); font-size: 14.5px; margin: 4px 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.span-2 { grid-column: span 2; }
.sell-form .input { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #fff; }
.sell-form .input:focus { border-color: #FF8A95; box-shadow: 0 0 0 4px rgba(255, 138, 149, .18); }
.sell-form .err { color: #FCA5A5; }
.drop { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, .25); color: var(--ink-2); font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; position: relative; }
.drop:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); }
.drop:focus-within { border-color: #FF8A95; }
.drop b { color: #fff; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs:empty { display: none; }
.thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.hint { font-size: 12.5px; color: #FCD34D; }
.form-legal { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: 26px; margin: 10px 0 44px; padding-left: 4px; }
.timeline li { position: relative; padding-left: 64px; min-height: 48px; }
.tl-dot { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); color: var(--red-ink); z-index: 1; box-shadow: var(--shadow-sm); transition: background-color .4s, color .4s, border-color .4s; }
.timeline li.lit .tl-dot { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 8px 22px -8px rgba(215, 25, 45, .8); }
.timeline h3 { font-size: 18px; margin: 2px 0 4px; }
.timeline p { color: var(--ink-2); font-size: 14.5px; }
.tl-line { position: absolute; left: 27px; top: 24px; bottom: 24px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--red), #FF5566); transform-origin: top; transform: scaleY(var(--tl, 1)); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 0; margin: 20px 0 64px; }
  .timeline li { padding: 70px 8px 0 0; }
  .tl-dot { width: 52px; height: 52px; }
  .tl-line { left: 26px; right: calc(20% - 26px); top: 25px; bottom: auto; width: auto; height: 2px; }
  .tl-fill { background: linear-gradient(90deg, var(--red), #FF5566); transform-origin: left; transform: scaleX(var(--tl, 1)); }
}
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.perk { padding: 20px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.perk:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--red-ink) 40%, transparent); }
.perk .ico { width: 28px; height: 28px; color: var(--red-ink); margin-bottom: 14px; }
.perk h3 { font-size: 16.5px; margin-bottom: 6px; }
.perk p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- entregas (carrusel) ---------- */
.carousel-nav { display: none; gap: 8px; }
@media (min-width: 720px) { .carousel-nav { display: flex; } }
.carousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))) 10px; scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  cursor: grab; overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.dragging * { pointer-events: none; }
.del { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; user-select: none; }
.del-media { aspect-ratio: 4 / 5; position: relative; display: grid; place-items: center; overflow: hidden; }
.del-media .car-svg { width: 92%; }
.del-media img { width: 100%; height: 100%; object-fit: cover; }
.del-sold { position: absolute; top: 18px; left: -36px; transform: rotate(-35deg); background: var(--red); color: #fff; font-family: var(--font-d); font-weight: 800; font-size: 12px; letter-spacing: .12em; padding: 6px 44px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.del-body { padding: 16px 18px 18px; }
.del-body b { display: block; font-family: var(--font-d); letter-spacing: -.02em; font-size: 17px; }
.del-body span { font-size: 13.5px; color: var(--ink-3); }
.del-ph .del-media { background: repeating-linear-gradient(-45deg, var(--surface-2) 0 12px, var(--surface) 12px 24px); flex-direction: column; gap: 10px; color: var(--ink-3); text-align: center; padding: 20px; display: flex; justify-content: center; align-items: center; }
.del-ph .del-media .ico { width: 36px; height: 36px; }
.del-ph .del-media b { color: var(--ink-2); font-family: var(--font-d); }

/* ---------- reseñas ---------- */
.reviews { display: grid; gap: 14px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.review-slot { border-style: dashed; border-color: var(--line-2); }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.review-top .g { width: 24px; height: 24px; }
.stars { display: flex; gap: 2px; color: var(--surface-3); }
.stars .ico { width: 17px; height: 17px; }
.slot-text { font-weight: 600; color: var(--ink-2); margin-top: 6px; }
.review .sk-line { margin: 0; background: var(--surface-2); }
.review .sk-line.short { width: 60%; }
.slot-who { margin-top: auto; font-size: 13px; color: var(--ink-3); }

/* ---------- nosotros ---------- */
.about { display: grid; gap: 40px; }
@media (min-width: 1000px) { .about { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; } }
.about-photo { position: relative; }
.photo-ph { aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--ink-3);
  background: linear-gradient(160deg, rgba(13, 42, 94, .35), transparent 60%), repeating-linear-gradient(-45deg, var(--surface-2) 0 14px, var(--surface) 14px 28px); border: 1px solid var(--line); }
.photo-ph .ico { width: 40px; height: 40px; }
.photo-ph b { color: var(--ink); font-family: var(--font-d); font-size: 20px; }
.about-badge { position: absolute; right: -6px; bottom: -18px; background: var(--red); color: #fff; border-radius: 22px; padding: 16px 20px; box-shadow: 0 20px 40px -12px rgba(215, 25, 45, .7); text-align: left; }
.about-badge b { display: block; font-family: var(--font-d); font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.about-badge span { font-size: 13px; font-weight: 600; opacity: .9; }
@media (min-width: 1000px) { .about-badge { right: -28px; bottom: 36px; } }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--ink-2); margin-top: 14px; max-width: 40em; }
.about-copy h2 { max-width: 18ch; }
.values { display: grid; gap: 12px; margin-top: 28px; }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.value .ico { width: 26px; height: 26px; color: var(--red-ink); flex: none; margin-top: 2px; }
.value h3 { font-size: 16px; margin-bottom: 3px; }
.value p { font-size: 14px; color: var(--ink-2); }

/* ---------- contacto ---------- */
.contact { display: grid; gap: 18px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1.35fr 1fr; gap: 24px; } }
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
[data-theme="dark"] .map iframe { filter: grayscale(.35) invert(.9) hue-rotate(180deg) contrast(.9); }
.contact-card { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.status { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); margin-bottom: 8px; }
.status b { font-weight: 700; }
.status span:last-child { color: var(--ink-2); font-size: 14px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status.open .status-dot, .status-dot.open { background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulseG 2s infinite; }
.status.open b { color: var(--ok-ink); }
.status-dot.closed { background: #EF4444; }
@keyframes pulseG { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.contact-row > .ico { color: var(--red-ink); margin-top: 2px; }
.contact-row b { display: block; }
.contact-row > div > span { font-size: 14px; color: var(--ink-2); }
a.contact-row:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hours { margin-top: 6px; display: grid; gap: 4px; font-size: 14px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); padding: 3px 8px; margin: 0 -8px; border-radius: 8px; }
.hours li span:last-child { text-align: right; }
.hours li.today { background: var(--red-soft); color: var(--ink); font-weight: 600; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.contact-actions .btn { padding: 0 12px; font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: #070708; border-top: 1px solid rgba(255, 255, 255, .06); padding: 56px 0 0; }
.footer-in { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; padding-bottom: 40px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--ink-2); margin: 14px 0 18px; max-width: 30ch; }
.socials { display: flex; gap: 8px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.footer-col:last-child { grid-column: 1 / -1; }
.footer-col h3 { font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 4px; }
.footer-col a:hover { color: #fff; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .footer-brand, .footer-col:last-child { grid-column: auto; } }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding: 20px var(--gutter) 100px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 12.5px; color: var(--ink-3); }
.footer-bottom a b { color: #fff; }
.footer-bottom a:hover b { color: var(--red-ink); }
.muted-link { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .footer-bottom { flex-direction: row; justify-content: space-between; padding-bottom: 28px; } }

/* ---------- WhatsApp flotante ---------- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6), 0 4px 12px rgba(0, 0, 0, .3); transition: transform .25s var(--ease-spring); position: relative; }
.fab-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.fab-btn:hover { transform: scale(1.07); }
.fab-btn:active { transform: scale(.94); }
.fab-btn .ico { width: 30px; height: 30px; }
.fab-tip { position: relative; max-width: 230px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 18px 18px 6px 18px; padding: 12px 38px 12px 14px; box-shadow: var(--shadow-lg); font-size: 13.5px; animation: tipIn .5s var(--ease-spring); }
.fab-tip[hidden] { display: none; }
.fab-tip b { display: block; font-family: var(--font-d); letter-spacing: -.02em; }
.fab-tip span { color: var(--ink-2); }
.fab-tip-x { position: absolute; top: 2px; right: 2px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-3); border-radius: 50%; }
.fab-tip-x .ico { width: 16px; height: 16px; }
@keyframes tipIn { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.fab.hide { transform: translateY(120px); opacity: 0; pointer-events: none; }
.fab { transition: transform .3s var(--ease), opacity .3s; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 7, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
.modal-panel {
  position: relative; width: 100%; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg); animation: sheetIn .42s var(--ease);
  border: 1px solid var(--line);
}
.modal.closing .modal-panel { animation: sheetOut .25s var(--ease) forwards; }
.modal.closing .modal-backdrop { animation: fade .25s var(--ease) reverse forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes sheetIn { from { transform: translateY(40px) scale(.96); opacity: 0; } }
@keyframes sheetOut { to { transform: translateY(30px) scale(.96); opacity: 0; } }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 5; background: rgba(11, 11, 13, .6); color: #fff; border-color: rgba(255, 255, 255, .15); backdrop-filter: blur(8px); }
.modal-media { position: relative; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 10.5; }
.gallery::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; position: relative; overflow: hidden; }
.slide .car-svg { width: 86%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-info { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; background: radial-gradient(80% 80% at 50% 120%, rgba(215, 25, 45, .25), transparent), var(--surface); color: var(--ink); padding: 20px; }
.slide-info big { font-family: var(--font-d); font-size: clamp(40px, 9vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.slide-info span { color: var(--ink-2); }
.slide-note { position: absolute; left: 12px; bottom: 12px; font-size: 11.5px; color: var(--ink-3); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line); }
.gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .4); transition: width .3s var(--ease), background-color .3s; }
.gallery-dots i.on { width: 22px; background: #fff; }
.gal-prev, .gal-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(11, 11, 13, .55); color: #fff; border-color: rgba(255, 255, 255, .15); display: none; }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.modal-body { padding: 20px 18px 28px; }
.modal-kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.modal-kicker .badge { backdrop-filter: none; }
.modal-head h2 { font-size: clamp(26px, 5vw, 34px); padding-right: 10px; }
.modal-sub { color: var(--ink-2); margin-top: 6px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); margin: 18px 0 20px; position: sticky; top: 0; z-index: 3; }
.tabs button { min-height: 46px; border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background-color .2s, color .2s; }
.tabs button .ico { width: 18px; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-2); }
[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--surface-3); }
.pane[hidden] { display: none; }
.pane { animation: menuIn .3s var(--ease); }
.m-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.m-price .price { font-size: 30px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 16px 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.spec-grid div { background: var(--surface); padding: 12px 14px; }
.spec-grid span { display: block; font-size: 12px; color: var(--ink-3); }
.spec-grid b { font-size: 15px; }
.equip h3 { font-size: 15px; margin-bottom: 10px; }
.equip ul { display: grid; gap: 8px; }
.equip li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.equip li .ico { width: 18px; height: 18px; color: var(--ok-ink); margin-top: 2px; }
.m-desc { color: var(--ink-2); margin: 16px 0; }
.m-actions { display: grid; gap: 8px; margin-top: 20px; grid-template-columns: 1fr 1fr; }
.m-actions .btn-primary { grid-column: 1 / -1; }
.m-ej { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
@media (min-width: 900px) {
  .modal { align-items: center; padding: 24px; }
  .modal-panel { max-width: 1120px; border-radius: 28px; display: grid; grid-template-columns: 1.1fr 1fr; max-height: min(860px, 92vh); overflow: hidden; }
  .modal-media { background: var(--surface-2); display: flex; flex-direction: column; justify-content: center; }
  .gallery { aspect-ratio: auto; height: 100%; }
  .gal-prev, .gal-next { display: grid; }
  .modal-body { overflow-y: auto; padding: 32px 32px 32px; }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 150; background: #F4F4F5; color: #0B0B0D; padding: 12px 18px; border-radius: 99px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease-spring); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-anim { opacity: 0; transform: translateY(22px); animation: heroIn .9s var(--ease) forwards; }
.js .hero-anim:nth-child(2) { animation-delay: .08s; } .js .hero-anim:nth-child(3) { animation-delay: .18s; }
.js .hero-anim:nth-child(4) { animation-delay: .28s; } .js .hero-anim:nth-child(5) { animation-delay: .38s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.js .hero-car { animation: carIn 1.3s .2s var(--ease) both; }
@keyframes carIn { from { opacity: 0; transform: translateX(60px); } }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .hero-anim { opacity: 1; transform: none; }
}

/* ---------- ajustes de layout (QA) ---------- */
.fin-layout > *, .sell-layout > *, .about > *, .contact > *, .hero-in > *, .fit-card > * { min-width: 0; }
.select select { width: 100%; text-overflow: ellipsis; }
.search { min-width: 0; }
.sec-head h2 .muted { display: block; }
.sec-sub { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.hero-streak { left: 42%; }
@media (max-width: 979px) {
  .hero-visual { margin: 0 -4%; }
  .hero-tag { position: relative; left: auto; bottom: auto; margin: -6px auto 0; max-width: 100%; width: fit-content; }
  .hero-floor { margin-top: -30px; }
}
@media (min-width: 900px) {
  .fit-card { align-items: center; }
  .fit-head { grid-row: span 2; }
  .fit-form { align-self: end; }
  .fit-foot { align-self: start; }
}
.preview-bar > span:last-child { min-width: 0; }
.badge-count[hidden] { display: none; }
.pill { white-space: nowrap; }
.btn-block { white-space: normal; text-align: center; line-height: 1.2; }
.plazos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.plazos button { min-width: 0; padding: 0 4px; }
.sim-result .r-cuota small { display: inline-block; white-space: nowrap; }
@media (max-width: 979px) { .hero-tag { margin-left: 4%; margin-right: 4%; width: auto; } }
.hours li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.hours li span:first-child { white-space: nowrap; }

/* ==========================================================================
   v2 · marca real (logo ichthys + cartel de madera y dorado), hero con el local
   ========================================================================== */
:root { --gold: #D4AF6A; --weave:
  linear-gradient(135deg, rgba(255,255,255,.055) 25%, transparent 25%) -7px 0 / 14px 14px,
  linear-gradient(225deg, rgba(255,255,255,.055) 25%, transparent 25%) -7px 0 / 14px 14px,
  linear-gradient(315deg, rgba(255,255,255,.025) 25%, transparent 25%) 0 0 / 14px 14px,
  linear-gradient(45deg, rgba(255,255,255,.025) 25%, transparent 25%) 0 0 / 14px 14px; }

/* logo */
.logo { gap: 9px; color: var(--ink); }
.logo-fish { width: 40px; height: 14px; flex: none; color: currentColor; overflow: visible; }
.logo-word { font-family: "Archivo", "Arial Black", system-ui, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.015em; color: currentColor; line-height: 1; }
.footer .logo { color: #fff; }

/* hero */
.carbon { background: var(--weave); background-color: transparent; }
.hero-light { right: -280px; bottom: -220px; background: radial-gradient(closest-side, rgba(232, 60, 30, .40), rgba(215, 25, 45, .10) 55%, transparent); }
.hero-light-b { right: auto; bottom: auto; left: -360px; top: -320px; width: 760px; height: 520px; transform: rotate(-28deg); background: radial-gradient(closest-side, rgba(255, 92, 40, .30), transparent 70%); }
.hero-streak { display: none; }
.hero-visual { margin: 6px 0 0; position: relative; }
.hero-photo { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .03); }
.hero-photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; display: block; will-change: transform; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 7, .55)); pointer-events: none; }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(11, 11, 13, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); padding: 7px 12px; border-radius: 99px; }
.hero-photo figcaption .ico { width: 15px; height: 15px; color: var(--red-ink); }
.hero-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #fff; padding: 9px 14px; border-radius: 99px; background: rgba(21, 22, 26, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.hero-chip .ico { width: 16px; height: 16px; color: var(--ok-ink); }
.chip-a { top: -14px; left: 14px; }
.chip-b { top: 34%; right: -10px; animation-delay: -3s; }
.chip-b .ico { color: var(--red-ink); }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.hero-tag { position: relative; left: auto; bottom: auto; margin: -34px 14px 0; z-index: 2; }
@media (max-width: 979px) {
  .hero-tag { margin: -30px 10px 0; width: auto; max-width: none; }
  .chip-b { right: 8px; top: auto; bottom: 64px; }
}
@media (min-width: 980px) {
  .hero-visual { margin: 0 0 0 12px; }
  .hero-photo { aspect-ratio: 4 / 3.6; transform: perspective(1400px) rotateY(-5deg); transform-origin: left center; }
  .hero-tag { position: absolute; left: -36px; bottom: 34px; margin: 0; }
  .chip-a { left: auto; right: 28px; top: -16px; }
  .chip-b { right: auto; left: -26px; top: 26%; }
}

/* placa de marca (autos sin fotos) */
.plate { position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; text-align: left; color: #fff;
  background: var(--weave), radial-gradient(120% 120% at 100% 100%, #1d1e23, #0d0d10 70%); background-color: #0d0d10; isolation: isolate; }
.plate-glow { position: absolute; z-index: -1; width: 70%; height: 140%; right: -30%; top: -20%; transform: rotate(28deg); background: linear-gradient(90deg, transparent, rgba(232, 60, 30, .32), transparent); filter: blur(18px); transition: transform .8s var(--ease); }
.card:hover .plate-glow { transform: rotate(28deg) translateX(-30px); }
.plate-brand { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #BCBEC5; }
.plate-model { font-family: var(--font-d); font-weight: 800; font-size: clamp(30px, 8vw, 40px); letter-spacing: -.045em; line-height: .98; margin: 6px 0 10px; max-width: 90%; }
.plate-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #D7D8DD; }
.plate-meta i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.plate-note { position: absolute; left: 24px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #8E919A; }
.plate-note .logo-fish { width: 26px; height: 9px; }
.plate-lg { padding: 36px; }
.plate-lg .plate-model { font-size: clamp(38px, 7vw, 60px); }
.card-media:has(.plate) { background: #0d0d10; }
.slide { position: relative; min-height: 100%; }
.del-media .plate .plate-model { font-size: 32px; }
.s-thumb .plate { padding: 8px 10px; }
.s-thumb .plate-model { font-size: 15px; margin: 2px 0 0; }
.s-thumb .plate-brand { font-size: 8.5px; letter-spacing: .12em; }
.s-thumb .plate-meta, .s-thumb .plate-note { display: none; }
.seal-ej { z-index: 2; background: rgba(11, 11, 13, .7); color: #BCBEC5; border-color: rgba(255, 255, 255, .22); }
.card-media .badges { z-index: 2; }

/* nosotros: foto real del local */
.photo-real { margin: 0; aspect-ratio: 4 / 3.4; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo-real img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* consignación: madera oscura + dorado, como el cartel del local */
.zone-navy { background: #120D09; --ink-2: #D8CEC3; --ink-3: #B3A698; }
.navy-bg { background:
  radial-gradient(60% 70% at 88% 8%, rgba(120, 78, 42, .55), transparent 70%),
  radial-gradient(50% 60% at 0% 100%, rgba(215, 25, 45, .14), transparent 70%),
  linear-gradient(180deg, #1A120C, #0E0A07); }
.navy-bg::after { background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 34px); background-size: auto; }
.zone-navy .eyebrow, .sell-note .ico { color: var(--gold); }
.step-n { background: rgba(212, 175, 106, .12); border-color: rgba(212, 175, 106, .35); color: var(--gold); }
.sell-form { background: rgba(20, 14, 10, .6); }
.sell-form .input:focus, .drop:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 106, .18); }

/* reseñas reales */
.rev-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -12px 0 22px; color: var(--ink-2); font-size: 15px; }
.rev-meta b { font-family: var(--font-d); font-size: 22px; color: var(--ink); }
.stars .ico.on { color: #FBBC05; }
.review-photo { margin: -22px -22px 6px; aspect-ratio: 4 / 3; overflow: hidden; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review { overflow: hidden; }
.review-text { color: var(--ink); font-size: 15px; line-height: 1.55; }
.review-who { margin-top: auto; font-size: 13.5px; color: var(--ink-3); }
.review-who b { color: var(--ink); font-weight: 600; }
.hero-photo figcaption { top: 14px; bottom: auto; }
@media (min-width: 980px) { .hero-photo { transform: none; } .hero-tag { bottom: -22px; } .chip-a { top: auto; bottom: 74px; right: -18px; } }
@media (max-width: 979px) { .chip-a { left: auto; right: 12px; } .chip-b { display: none; } }

/* ==========================================================================
   v3 · fotos reales de entregas (reseñas de Google) + cartel real azul
   ========================================================================== */

/* hero: collage de entregas reales */
.hero-collage { position: relative; aspect-ratio: 1 / .92; max-width: 620px; margin: 0 auto; }
.hc { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px -18px rgba(0, 0, 0, .85); background: #15161a; transition: transform .6s var(--ease); }
.hc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(11, 11, 13, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); }
.hc-0 { width: 40%; aspect-ratio: 3 / 4; left: 0; top: 13%; transform: rotate(-6deg); z-index: 1; }
.hc-1 { width: 48%; aspect-ratio: 3 / 4; left: 26%; top: 0; z-index: 2; }
.hc-2 { width: 40%; aspect-ratio: 3 / 4; right: 0; top: 15%; transform: rotate(6deg); z-index: 1; }
.hero-collage:hover .hc-0 { transform: rotate(-8deg) translateX(-8px); }
.hero-collage:hover .hc-2 { transform: rotate(8deg) translateX(8px); }
.hc-rating { position: absolute; z-index: 3; left: 50%; bottom: 2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(21, 22, 26, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; padding: 9px 16px; color: #fff; font-size: 13.5px; box-shadow: var(--shadow); transition: border-color .2s; }
.hc-rating:hover { border-color: rgba(251, 188, 5, .6); }
.hc-rating b { font-family: var(--font-d); font-size: 16px; }
.hc-rating > span:last-child { color: #BCBEC5; }
.hc-rating .stars .ico { width: 15px; height: 15px; }
.hc-rating .stars { color: #4a4d55; }
.hero-visual .hero-tag { z-index: 4; }
@media (max-width: 979px) {
  .hero-collage { aspect-ratio: 1 / 1; }
  .hc-rating { bottom: 4%; }
  .hero-visual:has(.hero-collage) .hero-tag { margin-top: 6px; }
}
@media (min-width: 980px) {
  .hero-visual:has(.hero-collage) .hero-tag { left: -40px; bottom: 15%; }
  .hc-rating { left: auto; right: 4%; transform: none; bottom: 4%; }
}

/* entregas: sello de reseña real */
.del-media { background: #0d0d10; }
.del-g { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #1f1f1f; background: rgba(255, 255, 255, .92); padding: 5px 10px 5px 7px; border-radius: 99px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.del-g .ico { width: 15px; height: 15px; }
.del-body span { display: block; margin-top: 4px; line-height: 1.45; }

/* reseñas: en celular, carrusel horizontal */
@media (max-width: 899px) {
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews .review { flex: 0 0 min(84vw, 340px); scroll-snap-align: start; }
}
@media (min-width: 900px) { .reviews { align-items: start; } }

/* consignación: testimonio real */
.sell-quote { margin: 4px 0 22px; padding: 18px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); position: relative; }
.sell-quote blockquote { font-size: 16px; line-height: 1.55; color: #fff; font-weight: 500; }
.sell-quote figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.sell-quote figcaption .ico { width: 16px; height: 16px; }
.sell-quote figcaption b { color: #fff; font-weight: 600; text-transform: capitalize; }

/* cartel real: listones azul oscuro con letras blancas */
.zone-navy { background: #0B1424; --ink-2: #C9D3E6; --ink-3: #A3B1CB; }
.navy-bg { background:
  radial-gradient(60% 70% at 88% 8%, rgba(36, 62, 110, .75), transparent 70%),
  radial-gradient(50% 60% at 0% 100%, rgba(215, 25, 45, .14), transparent 70%),
  linear-gradient(180deg, #14213A, #0A1220); }
.navy-bg::after { background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 30px); }
.zone-navy .eyebrow, .sell-note .ico { color: #FF8A95; }
.step-n { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.sell-form { background: rgba(8, 16, 32, .55); }
.sell-form .input:focus, .drop:focus-within { border-color: #FF8A95; box-shadow: 0 0 0 4px rgba(255, 138, 149, .18); }
@media (min-width: 900px) { .reviews { display: block; columns: 3; column-gap: 20px; } .reviews .review { break-inside: avoid; margin-bottom: 20px; width: 100%; } }
@media (max-width: 979px) { .hero-collage { aspect-ratio: 1 / .84; } .hc-0 figcaption, .hc-2 figcaption { display: none; } .hc-rating { bottom: 0; } }

/* ==========================================================================
   v4 · carrusel continuo de entregas + dejar reseña
   ========================================================================== */
.carousel.is-marquee { display: block; overflow: hidden; padding: 6px 0 12px; cursor: default; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { display: flex; gap: 16px; width: max-content; animation: marquee calc(var(--n) * 6.5s) linear infinite; padding-left: 16px; }
.marquee .del { flex: 0 0 300px; }
@media (min-width: 720px) { .marquee .del { flex-basis: 330px; } }
.carousel.is-marquee:hover .marquee, .carousel.is-marquee:focus-within .marquee, .carousel.is-marquee.paused .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.carousel.no-motion { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.carousel.no-motion .marquee { animation: none; }
.carousel.no-motion .del[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } .carousel.is-marquee { overflow-x: auto; } .del[aria-hidden="true"] { display: none; } }

/* dejar reseña */
.rev-write { margin-top: 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: 20px; position: relative; overflow: hidden; }
.rev-write::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #FBBC05, #EA4335 40%, transparent 80%); }
.rev-write-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.rev-write-head h3 { font-size: 20px; }
.rev-write-head p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.rev-write-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rev-write-btns .btn { flex: 1 1 auto; }
.rev-write-btns .btn-primary .ico { background: #fff; border-radius: 50%; padding: 2px; width: 20px; height: 20px; }
.rev-box { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); animation: menuIn .3s var(--ease); }
.rev-stars { display: flex; gap: 4px; }
.rev-stars button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--surface-3); transition: transform .2s var(--ease-spring), color .15s; }
.rev-stars button .ico { width: 30px; height: 30px; }
.rev-stars button.on { color: #FBBC05; }
.rev-stars button:hover { transform: scale(1.12); }
.rev-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 720px) { .rev-grid { grid-template-columns: 1fr 1fr; } }
.rev-grid .span-2 { grid-column: 1 / -1; }
.rev-grid textarea.input { min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.rev-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.rev-foot .form-legal { margin: 0; text-align: left; }
.rev-ok { display: flex; gap: 14px; align-items: flex-start; padding: 6px 2px; }
.rev-ok > .ico { width: 34px; height: 34px; color: var(--ok-ink); background: var(--ok-soft); border-radius: 50%; padding: 6px; flex: none; }
.rev-ok b { font-family: var(--font-d); font-size: 17px; }
.rev-ok p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.rev-src { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.rev-src .logo-fish { width: 26px; height: 9px; color: var(--red-ink); }

/* lo oculto se oculta siempre, aunque el componente tenga display propio */
[hidden] { display: none !important; }

/* carrusel: una vuelta = una tanda de fotos exacta */
.marquee { padding-left: 0; animation-name: marquee2; }
@keyframes marquee2 { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--shift, 50%))); } }

/* carrusel quieto (animaciones del sistema apagadas): centrado, sin hueco */
.carousel.no-motion { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
.carousel.no-motion .marquee { width: auto; justify-content: safe center; padding: 0 var(--gutter); }
.carousel.no-motion .del[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: reduce) { .carousel.is-marquee { -webkit-mask-image: none; mask-image: none; } .marquee { width: auto; justify-content: safe center; padding: 0 var(--gutter); transform: none !important; } }
.del-g .logo-fish { width: 22px; height: 8px; color: var(--red); }
.fit-toma, .used-toma { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; margin-top: 4px; }
.used-toma:empty { display: none; }

/* ficha del auto: el panel derecho scrollea solo (antes se cortaba la cuota) */
@media (min-width: 900px) {
  .modal-panel { height: min(860px, 92vh); grid-template-rows: minmax(0, 1fr); }
  .modal-media, .modal-body { min-height: 0; }
  .modal-body { overflow-y: auto; overscroll-behavior: contain; }
  .gallery { height: 100%; }
}
@media (max-width: 899px) { .modal-panel { -webkit-overflow-scrolling: touch; touch-action: pan-y; } }

/* pestañas fijas de la ficha con fondo propio */
.tabs { background: var(--surface-2); box-shadow: 0 -16px 0 var(--bg), 0 10px 18px -8px rgba(0,0,0,.5); }
