
@layer tokens, base, legado, componentes, paginas, utilidades;
/* Estilos de las páginas internas, en el mismo orden de siempre */
/* CAR RETAIL PY · variables de diseño (colores, tipografía, medidas) comunes a todas las páginas, en un solo lugar.
   Las carga primero la portada y las páginas internas. Están en la capa "tokens", antes que todo lo demás.
   Modo oscuro: lo pide el sistema (prefers-color-scheme) salvo que se haya elegido el claro, o se eligió con el botón (data-theme).
   No se usa light-dark(): en los iPhone con iOS anterior a 17.5 los colores quedarían sin definir.
   Las variables que cambian entre la portada y las páginas internas están al principio de style.css y de interior.css. */
@layer tokens {
  :root {
    --action-primary: #164E9B;
    --brand-blue: #164E9B;
    --brand-gold: #0B1B3A;
    --brand-navy: #0B1B3A;
    --brand-red: #C41E3A;
    --brand-red-hover: #D8324E;
    --brand-steel: #6B7280;
    --c-accent-text: #AD162F;
    --c-bg: #F5F6F8;
    --c-card: #FFFFFF;
    --c-header: rgb(11 12 14 / .96);
    --c-ink: #1B2433;
    --c-ink-2: #5E6470;
    --c-line: rgb(11 27 58 / .10);
    --c-line-2: rgb(11 27 58 / .20);
    --c-shadow: 0 1px 2px rgb(11 27 58 / .06), 0 14px 30px -16px rgb(11 27 58 / .18);
    --c-surface: #FFFFFF;
    --cx-bg: #F5F6F8;
    --cx-blue: #164E9B;
    --cx-blue-hi: #1D5FBC;
    --cx-blue-text: #164E9B;
    --cx-glass: rgb(255 255 255 / .86);
    --cx-glass-solid: #FFFFFF;
    --cx-glow: 0 0 0 1px rgb(22 78 155 / .16), 0 18px 40px -20px rgb(22 78 155 / .35);
    --cx-input: #FFFFFF;
    --cx-line: rgb(11 27 58 / .10);
    --cx-line-2: rgb(11 27 58 / .20);
    --cx-muted: #5E6470;
    --cx-red: #C41E3A;
    --cx-red-hi: #D8324E;
    --cx-red-text: #AD162F;
    --cx-silver: #1B2433;
    --cx-strong: #0B1B3A;
    --cx-surface: rgb(255 255 255 / .96);
    --cx-surface-2: #EEF0F3;
    --cx-surface-solid: #FFFFFF;
    --cx-tint: rgb(11 27 58 / .03);
    --font: "DM Sans", "Segoe UI", Arial, sans-serif;
    --font-accent: "DM Sans", "Segoe UI", Arial, sans-serif;
    --font-display: "DM Sans", "Segoe UI", Arial, sans-serif;
    --font-title: "Anton", "Impact", "Arial Narrow", sans-serif;
    --gold-ink: #0B1B3A;
    --img-bg: #EEF0F3;
    --ink: #1B2433;
    --ink-muted: #5E6470;
    --line: rgb(11 27 58 / .10);
    --navy: #1B2433;
    --on-action-primary: #fff;
    --radius-btn: 10px;
    --radius-card: 16px;
    --red: #C41E3A;
    --red-hi: #D8324E;
    --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
    --serif: "DM Sans", "Segoe UI", Arial, sans-serif;
    --sx-alt: #E9ECF1;
    --sx-alt-2: #EEF1F6;
    --sx-dot: rgb(11 27 58 / .07);
    --sx-edge: rgb(11 27 58 / .08);
    --sx-lift: 0 30px 60px -28px rgb(11 27 58 / .35);
    --sx-neutral: #F1F2F4;
    --sx-tex: rgb(11 27 58 / .035);
    --wa-green: #25D366;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --action-primary: #F8F8F8;
      --brand-blue: #7BA3F0;
      --brand-gold: #fff;
      --c-accent-text: #F2697F;
      --c-bg: #0b0c10;
      --c-card: #15181e;
      --c-header: #0a0b0f;
      --c-ink: #F8F8F8;
      --c-ink-2: #A9B3C6;
      --c-line: #23272f;
      --c-line-2: #313641;
      --c-shadow: 0 1px 2px rgb(0 0 0 / .5), 0 16px 34px -14px rgb(0 0 0 / .7);
      --c-surface: #121419;
      --cx-bg: #0B0C0E;
      --cx-blue-text: #7BA3F0;
      --cx-glass: rgb(18 20 26 / .82);
      --cx-glass-solid: #12141A;
      --cx-glow: 0 0 0 1px rgb(123 163 240 / .18), 0 18px 40px -18px rgb(22 78 155 / .55);
      --cx-input: #0F1116;
      --cx-line: rgb(255 255 255 / .08);
      --cx-line-2: rgb(255 255 255 / .16);
      --cx-muted: #A4ABB6;
      --cx-red-text: #F2697F;
      --cx-silver: #E1E4E8;
      --cx-strong: #fff;
      --cx-surface: rgb(18 20 26 / .95);
      --cx-surface-2: #181B22;
      --cx-surface-solid: #12141A;
      --cx-tint: rgb(255 255 255 / .04);
      --gold-ink: #fff;
      --img-bg: #15181F;
      --ink: #F8F8F8;
      --ink-muted: #A4ABB6;
      --line: #23272f;
      --navy: #F8F8F8;
      --on-action-primary: #0B1B3A;
      --sx-alt: #121722;
      --sx-alt-2: #0F131C;
      --sx-dot: rgb(255 255 255 / .05);
      --sx-edge: rgb(255 255 255 / .06);
      --sx-lift: 0 30px 60px -24px rgb(0 0 0 / .85);
      --sx-neutral: #15181E;
      --sx-tex: rgb(255 255 255 / .025);
    }
  }
  :root[data-theme="dark"] {
    --action-primary: #F8F8F8;
    --brand-blue: #7BA3F0;
    --brand-gold: #fff;
    --c-accent-text: #F2697F;
    --c-bg: #0b0c10;
    --c-card: #15181e;
    --c-header: #0a0b0f;
    --c-ink: #F8F8F8;
    --c-ink-2: #A9B3C6;
    --c-line: #23272f;
    --c-line-2: #313641;
    --c-shadow: 0 1px 2px rgb(0 0 0 / .5), 0 16px 34px -14px rgb(0 0 0 / .7);
    --c-surface: #121419;
    --cx-bg: #0B0C0E;
    --cx-blue-text: #7BA3F0;
    --cx-glass: rgb(18 20 26 / .82);
    --cx-glass-solid: #12141A;
    --cx-glow: 0 0 0 1px rgb(123 163 240 / .18), 0 18px 40px -18px rgb(22 78 155 / .55);
    --cx-input: #0F1116;
    --cx-line: rgb(255 255 255 / .08);
    --cx-line-2: rgb(255 255 255 / .16);
    --cx-muted: #A4ABB6;
    --cx-red-text: #F2697F;
    --cx-silver: #E1E4E8;
    --cx-strong: #fff;
    --cx-surface: rgb(18 20 26 / .95);
    --cx-surface-2: #181B22;
    --cx-surface-solid: #12141A;
    --cx-tint: rgb(255 255 255 / .04);
    --gold-ink: #fff;
    --img-bg: #15181F;
    --ink: #F8F8F8;
    --ink-muted: #A4ABB6;
    --line: #23272f;
    --navy: #F8F8F8;
    --on-action-primary: #0B1B3A;
    --sx-alt: #121722;
    --sx-alt-2: #0F131C;
    --sx-dot: rgb(255 255 255 / .05);
    --sx-edge: rgb(255 255 255 / .06);
    --sx-lift: 0 30px 60px -24px rgb(0 0 0 / .85);
    --sx-neutral: #15181E;
    --sx-tex: rgb(255 255 255 / .025);
  }
}
/* CAR RETAIL PY · estilos comunes a la portada y a las páginas internas (capa "base").
   Salen de las reglas que style.css e interior.css tenían repetidas e idénticas (herramientas/compartir-css.mjs).
   Las dos hojas siguen pudiendo pisarlas: están en la capa "legado", que va después. */
@layer base {
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}
.fab svg {
  width: 30px;
}
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.wa-ic {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
}
.fab::after {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 0 2px var(--brand-navy);
}
.theme-btn .i-sun {
  display: none;
}
:root[data-theme="dark"] .theme-btn .i-sun {
  display: block;
}
:root[data-theme="dark"] .theme-btn .i-moon {
  display: none;
}
.ft-brand img {
  height: 64px;
  width: auto;
}
.ft ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ft ul a {
  display: inline-block;
  padding-block: 4px;
}
.fab svg { width: 29px; height: 29px; position: relative; z-index: 1; }
.fab::after { content: none; }
.fab::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--fab-ring); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .fab::before { animation: fab-pulse 3.2s ease-out 1.5s infinite; } }
@media (hover: hover) { .fab:hover { transform: translateY(-3px) scale(1.04); } }
.fab:active { transform: scale(.94); }
.fab:focus-visible { outline: 3px solid #25d366; outline-offset: 3px; }
@media (max-width: 700px) { .fab svg { width: 27px; } }
.ft-tel { display: inline-flex; }
:root, :root[data-theme="light"] {
     
  
   
    
   
     
     
    
     
   
     
    
   
   
     
    
   
    
    
  
   
  color-scheme: light;
}
.top, .menu, .cine, .ft, .foot {
  --cx-silver: #E1E4E8; --cx-muted: #A4ABB6; --cx-strong: #fff; --cx-blue-text: #7BA3F0; --cx-red-text: #F2697F;
  --cx-line: rgb(255 255 255 / .08); --cx-line-2: rgb(255 255 255 / .16); --cx-tint: rgb(255 255 255 / .04);
  --cx-glass: rgb(18 20 26 / .82); --cx-glass-solid: #12141A; --cx-surface-2: #181B22;
  --c-ink: #E1E4E8; --c-ink-2: #A4ABB6; --c-line: rgb(255 255 255 / .08); --c-link: #7BA3F0; color-scheme: dark;
}
html, body { background: var(--cx-bg); color: var(--cx-silver); }
::selection { background: var(--cx-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cx-blue-text) !important; outline-offset: 3px; }
.theme-btn { min-width: 44px; min-height: 44px; }
.top, .menu { background: rgb(14 16 20 / .97); border-color: var(--cx-line); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .menu { -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); } }
.top { border-bottom: 1px solid var(--cx-line); box-shadow: none; animation: none; transition: box-shadow .3s var(--ease, ease); }
.top .top-in { transition: min-height .3s ease, padding .3s ease; }
.top .brand img { transition: height .3s ease, width .3s ease; }
.top.is-compact { box-shadow: 0 10px 30px -18px rgb(0 0 0 / .9); }
.top.is-compact .top-in { min-height: 58px; padding-block: 6px; }
.top.is-compact .brand img { height: 38px; width: auto; }
.btn, .cine-btn, .chip, .type, .brand-btn, .icon-btn, .menu-btn, .cmp-toggle, .req-tabs [role=tab] { min-height: 44px; }
.cond, .new { border-radius: 999px; font-weight: 700; letter-spacing: .02em; }
.vc-price { color: var(--cx-strong); }
.type svg .car-body { fill: var(--cx-silver); }
.faq details summary { color: var(--cx-strong); }
.faq details[open] { border-color: rgb(123 163 240 / .3); }
.req-tabs { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; margin: 0 0 18px; border: 1px solid var(--cx-line); border-radius: 999px; background: var(--cx-surface-2); max-width: 100%; }
@media (max-width: 560px) { .req-tabs { display: grid; width: 100%; } }
.req-grid.is-tabs { display: block !important; }
.req-grid.is-tabs .req-card[hidden] { display: none !important; }
.cine-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.cine.has-video .cine-still { opacity: 0; transition: opacity .6s ease; }
.cine-video[hidden] { display: none !important; }
.cine-shade { background:
  radial-gradient(120% 90% at 50% 45%, transparent 35%, rgb(11 12 14 / .78) 100%),
  linear-gradient(180deg, rgb(11 12 14 / .55) 0%, rgb(11 12 14 / .05) 32%, rgb(11 12 14 / .15) 60%, rgb(11 12 14 / .96) 100%); }
.cine-title span { color: var(--cx-red); }
.quiz-bar span, .quiz-bar i, .quiz-bar::after { background: var(--cx-blue); }
.ft-cta { border-bottom: 1px solid var(--cx-line); }
.ft-bottom { color: var(--cx-muted); }
.ft-social { margin: 16px 0 4px; display: grid; }
.soc { display: inline-flex !important; align-items: center; gap: 10px; min-height: 40px; padding: 0; background: none; border: 0;
  color: var(--cx-silver) !important; text-decoration: none !important; transition: color .2s ease; }
.soc:hover { color: #fff !important; }
.soc:hover .soc-tx b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.soc-ic { flex: none; width: 18px; height: 18px; display: grid; place-items: center; color: var(--cx-muted); background: none; }
.soc-ic svg { width: 18px; height: 18px; }
.soc:hover .soc-ic { color: #fff; }
.soc-tx { display: block; line-height: 1.2; }
.soc-tx small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.soc-tx b { font-size: 15px; font-weight: 500; color: inherit; font-variant-numeric: tabular-nums; }
.ft-phone .ft-tel svg { width: 16px; height: 16px; }
.fab { bottom: calc(16px + env(safe-area-inset-bottom)); right: calc(16px + env(safe-area-inset-right)); }
html.fx .reveal.in { opacity: 1; transform: none; }
#nosotros, #nosotros p { color: var(--cx-muted); }
#nosotros b, #nosotros strong { color: var(--cx-strong); }
.ft-social li { margin: 0; }
@media (max-width: 760px) { html.at-top .fab { opacity: 0; pointer-events: none; transform: translateY(12px); } }
.req .sec-title { border: 0; background: none; padding: 0; box-shadow: none; }
.req-grid.is-tabs { border: 0; background: none; padding: 0; box-shadow: none; }
.specs > div { background: var(--cx-surface); border: 1px solid var(--cx-line); }
.specs dt { color: var(--cx-muted); }
@media (prefers-reduced-motion: no-preference) { .cine:not(.has-video) .cine-still img { animation: cx-kenburns 22s ease-in-out infinite alternate; transform-origin: 55% 55%; } }
@media (prefers-reduced-motion: no-preference) { .cine.has-video .cine-video { animation: cx-fadein 1.2s ease both; } }
.sec-title { background: none; border: 0; box-shadow: none; }
.sec-title:not(.wrap) { padding-inline: 0; }
body:has(.cine) .top:not(.is-compact) .nav a { text-shadow: 0 1px 14px rgb(0 0 0 / .5); }
.top.is-compact { background: rgb(11 12 14 / .86); }
.progress { height: 2px; background: linear-gradient(90deg, var(--cx-red), var(--cx-blue-text)); }
.btn-wa svg, .btn[href*="wa.me"] svg, .cx-wa svg, .ft-wa svg, #ask-send svg { fill: #16A34A; color: #16A34A; }
html body .fab { --fab-bg: #F8F9FB !important; --fab-ink: #16A34A !important; --fab-ring: rgb(11 27 58 / .16) !important;
  background: #F8F9FB; border: 1px solid rgb(11 27 58 / .14); box-shadow: 0 12px 28px -12px rgb(0 0 0 / .55); }
html body .fab svg { fill: #16A34A; color: #16A34A; }
body:has(.cine) .cine { margin-top: calc(-1 * var(--top-h, 76px)); padding-top: var(--top-h, 76px); min-height: max(640px, 100svh); }
@media (orientation: portrait) { .cine-video, .cine-still img { object-position: 50% 50% !important; } }
.top .nav a { white-space: nowrap; }
@media (max-width: 1180px) { .top .nav, .top .btn-red { display: none !important; } }
@media (max-width: 1180px) { .top .menu-btn { display: flex !important; } }
@media (orientation: landscape) and (max-height: 560px) { body:has(.cine) .cine { min-height: max(400px, 100svh); } }
@media (max-width: 1180px) { html.at-top .fab { opacity: 0; pointer-events: none; transform: translateY(12px); } }
/* Las islas de Svelte de la portada van dentro de <astro-island> (display: contents): estas variantes eligen las mismas secciones, con la misma especificidad */
main > section + section, main > section ~ :where(astro-island) > section:where(:first-child), main > :where(astro-island) > section + section, main > astro-island:where(:has(> section)) + section { box-shadow: inset 0 1px 0 var(--sx-edge); }
#pedido { background: linear-gradient(180deg, var(--sx-alt) 0%, var(--sx-alt-2) 100%), var(--sx-alt); }
#pedido::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 40%, rgb(22 78 155 / .12), transparent 70%); }
#nosotros { background:
  radial-gradient(60% 70% at 100% 0%, rgb(123 163 240 / .14), transparent 70%),
  linear-gradient(180deg, #0B1B3A 0%, #0A1430 55%, #0B0C0E 100%); }
main { counter-reset: cx-sec; }
.row-title:has(.kicker) { flex-wrap: wrap; }
.row-title .kicker { flex-basis: 100%; }
.sec-title h2, .row-title h2 { max-width: 16ch; }
.lead, .sec-title p, .nos-lead { font-size: clamp(16px, 1.25vw, 19px) !important; line-height: 1.6; max-width: 62ch; }
#nosotros h3, #nosotros b { color: inherit; }
.vc2 .card-body { display: flex !important; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.vc2 .vc-meta svg { width: 16px; height: 16px; flex: none; color: var(--cx-red-text); }
.vc2 .vc-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc2 .vc-meta i { font-style: normal; opacity: .5; margin: 0 6px; }
.vc2 .vc-price { margin: 2px 0 0 !important; padding: 0; border: 0; }
.vc2 .vc-cuota { margin: 0 !important; padding: 0; border: 0; }
.vc2 .vc-actions { margin-top: auto; display: grid; grid-template-columns: 1fr auto 44px; gap: 8px; align-items: stretch; }
.vc2 .vc-cmp svg { width: 18px; height: 18px; }
.vc2 .vc-cmp-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .vc2 .vc-meta i { margin: 0 4px; } }
#pedido { background:
  radial-gradient(55% 80% at 88% 30%, rgb(123 163 240 / .22), transparent 70%),
  radial-gradient(40% 60% at 0% 100%, rgb(196 30 58 / .16), transparent 70%),
  linear-gradient(160deg, #0B1B3A 0%, #0A1430 60%, #0B1B3A 100%); }
#pedido::before { display: none !important; }
#pedido form { background: rgb(18 20 26 / .55); border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
@supports (backdrop-filter: blur(1px)) { #pedido form { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
#pedido .seg button, #pedido [role="radio"], #pedido .opt { color: var(--cx-silver); }
#asesor .adv-in::before, #asesor .adv-in::after { display: none !important; }
#asesor h2 em { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: rgb(255 255 255 / .55); }
#asesor .adv-mark { background: #fff; color: #C41E3A; }
#asesor + #nosotros { box-shadow: inset 0 1px 0 rgb(255 255 255 / .08); }
#pedido h2, #pedido h2 em { color: #fff; }
#pedido h2 em { color: var(--cx-blue-text); }
#pedido label, #pedido small { color: #C9D2E3; }
/* Fotos con varios formatos (fase 6, src/lib/fotos.js): el <picture> sin clase no ocupa lugar propio, así la foto se dibuja
   igual que antes, cuando era un <img> suelto. (El <picture> del hero tiene clase y conserva sus estilos.) */
:where(picture:not([class])) { display: contents; }
}
/* Orden de las capas de estilos (fase 2 del plan). Todo el CSS que ya existía está en "legado": dentro de una misma capa
   la cascada funciona igual que antes. Lo que se ordena o se escribe de nuevo va a las capas de después, que le ganan
   a "legado" sin necesidad de !important. */
@layer tokens {
  /* Variables propias de las páginas internas (las comunes están en assets/tokens.css) */
  :root {
    --bg2: #FFFFFF;
    --c-chip: #EEF0F3;
    --c-focus: #164E9B;
    --c-footer: #08090B;
    --c-link: #164E9B;
    --c-price: #0B1B3A;
    --c-surface-2: #EEF0F3;
    --muted: #5E6470;
    --py-blue: #164E9B;
    --py-red: #AD162F;
    --shadow: 0 1px 2px rgb(11 22 51/.06),0 10px 28px -8px rgb(11 22 51/.14);
    --wa: #C41E3A;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg2: #121419;
      --c-chip: #181B22;
      --c-focus: #8fb1ff;
      --c-link: #8fb1ff;
      --c-price: #fff;
      --c-surface-2: #181B22;
      --muted: #A9B3C6;
      --py-blue: #7BA3F0;
      --py-red: #F2697F;
      --shadow: 0 1px 2px rgb(0 0 0/.4),0 12px 30px -10px rgb(0 0 0/.6);
    }
  }
  :root[data-theme="dark"] {
    --bg2: #121419;
    --c-chip: #181B22;
    --c-focus: #8fb1ff;
    --c-link: #8fb1ff;
    --c-price: #fff;
    --c-surface-2: #181B22;
    --muted: #A9B3C6;
    --py-blue: #7BA3F0;
    --py-red: #F2697F;
    --shadow: 0 1px 2px rgb(0 0 0/.4),0 12px 30px -10px rgb(0 0 0/.6);
  }
}
@layer legado {
/* CAR RETAIL PY · estilos de las páginas internas (fichas, marcas, categorías, financiación, consignación y 404).
   Antes este bloque se repetía dentro de cada página; ahora es un solo archivo que el navegador guarda. */

@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark}}

body{margin:0;font:400 17px/1.6 var(--font);font-feature-settings:"cv11","ss01"}
a{color:var(--c-link)}h1,h2,h3{color:var(--c-ink);line-height:1.12;margin:0;}
.wrap{max-width:1180px;margin:0 auto;padding-inline:clamp(16px,4vw,40px)}
.top .wrap{display:flex;align-items:center;min-height:72px;flex-wrap:wrap}
.top img{width:auto;object-fit:contain}.top .wrap>a{flex:none}.top nav{display:flex;margin-left:auto;flex-wrap:wrap}.top nav a{color:#fff;text-decoration:none;font-weight:500}
.crumbs{font-size:14px;color:var(--muted);padding-block:18px}.crumbs a{color:var(--muted)}
main{padding-bottom:64px}
.car{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px;align-items:start}
.gal{position:relative;width:min(100%,560px);margin-inline:auto;border-radius:16px;overflow:hidden;background:#0b0f18;box-shadow:0 18px 40px -18px rgb(12 29 68/.45)}
.g-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.g-track::-webkit-scrollbar{display:none}
.g-slide{position:relative;flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;overflow:hidden;cursor:zoom-in;margin:0}
.g-bg{position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(28px) brightness(.55) saturate(1.1)}
.g-img{position:relative;width:100%;height:100%;object-fit:contain}
.g-slide.is-fill .g-img{object-fit:cover}.g-slide.is-fill .g-bg{display:none}
.g-nav{position:absolute;top:50%;translate:0 -50%;width:48px;height:48px;border-radius:50%;border:0;background:rgb(255 255 255/.92);color:#0b1633;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px rgb(0 0 0/.25);transition:transform .15s}
@media(hover:hover){.g-nav:hover{transform:scale(1.04);background:rgb(255 255 255/.22)}}.g-nav:active{transform:scale(.95)}.g-nav svg{width:22px;height:22px}.g-prev{left:14px}.g-next{right:14px}
.g-count,.g-full{position:absolute;bottom:14px;background:rgb(8 14 30/.72);color:#fff;border-radius:999px;font-weight:500;backdrop-filter:blur(6px)}
.g-count{left:14px;padding:6px 12px}.g-count b{font-weight:700}
.g-full{right:14px;border:0;padding:7px 14px;display:flex;gap:8px;align-items:center;cursor:pointer;font:inherit;font-size:14px}.g-full svg{width:16px;height:16px}
.g-thumbs{display:flex;gap:8px;margin:10px auto 0;max-width:560px;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}
.g-thumbs button{flex:0 0 88px;aspect-ratio:1/1;padding:0;border:0;border-radius:10px;overflow:hidden;cursor:pointer;opacity:.55;outline:2px solid transparent;outline-offset:-2px;transition:opacity .15s}
.g-thumbs button:hover{opacity:.85}.g-thumbs button[aria-current=true]{opacity:1;outline-color:var(--red)}.g-thumbs img{width:100%;height:100%;object-fit:cover}
.tag{display:inline-block;background:var(--red);color:#fff;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:6px}
.tag.used{background:var(--brand-navy)}
.info h1{font-size:clamp(30px,3.4vw,42px);margin:12px 0 6px}.lead{margin:0 0 18px}
.price{font-size:clamp(30px,3vw,38px);font-variant-numeric:tabular-nums;color:var(--c-price);margin:6px 0 4px}.price small{display:block;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:500}
.specs{--gold-ink:color-mix(in srgb,var(--gold,#f2b632) 62%,var(--c-ink));display:grid;grid-auto-flow:dense;margin:18px 0;padding:0}
.specs div{position:relative;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 0 1px 0 rgb(255 255 255/.10);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow:hidden;transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .3s}

.specs div::after{content:"";position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:radial-gradient(color-mix(in srgb,var(--gold,#f2b632) 22%,transparent),transparent 70%);pointer-events:none}
@media(hover:hover){.specs div:hover{transform:translateY(-2px);}}
.specs dt{font-weight:700;text-transform:uppercase}
.specs dd{margin:0;overflow-wrap:break-word;hyphens:auto;font-variant-numeric:tabular-nums;color:var(--gold-ink)}

:root[data-theme="dark"] .specs{--gold-ink:var(--gold,#f2b632)}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .specs{--gold-ink:var(--gold,#f2b632)}}

@media(prefers-reduced-motion:reduce){.specs div{transition:none}.specs div:hover{transform:none}}
.btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 22px;text-decoration:none;}
.info-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.share{display:inline-flex;align-items:center;gap:8px;min-height:40px;border:1px solid var(--line);background:var(--c-card);padding:7px 14px;font:inherit;font-size:14px;font-weight:500;color:var(--c-ink);cursor:pointer}
.share:hover{border-color:var(--c-ink)}.share svg{width:17px;height:17px}
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:20;display:none;align-items:center;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--c-card);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgb(12 29 68/.12);transform:translateY(110%);transition:transform .25s ease}
.sticky-cta.on{transform:none}.sticky-cta div{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.sticky-cta b{font-size:15px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticky-cta span{font-weight:800;color:var(--c-price);font-size:16px}
.sticky-cta .btn{min-height:46px;padding:0 18px;font-size:16px;flex:none}
.toast{position:fixed;left:50%;bottom:90px;translate:-50% 20px;background:var(--brand-navy);color:#fff;padding:10px 18px;border-radius:999px;font-size:15px;opacity:0;pointer-events:none;transition:opacity .2s,translate .2s;z-index:30}
.toast.on{opacity:1;translate:-50% 0}
@media(prefers-reduced-motion:reduce){.sticky-cta,.toast{transition:none}}
.bancos{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.bancos h2{color:var(--muted);margin-bottom:12px}
.bancos ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bk{min-height:62px;border:1px solid var(--line);border-radius:10px;background:var(--c-card);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 6px;text-align:center}
.bk-name{font-weight:900;color:var(--navy);font-size:15px;line-height:1.1;letter-spacing:-.01em}.bk-kind{letter-spacing:.12em;text-transform:uppercase;margin-top:3px}
.bk-more{border-style:dashed;background:var(--bg2)}.bk-more a{display:flex;flex-direction:column;align-items:center;text-decoration:none}.bk-more .bk-name{color:var(--c-link)}
.bk img{max-width:100%;max-height:36px;object-fit:contain}
.bancos p{font-size:14px;color:var(--muted);margin:10px 0 0}
.btn-line{margin-top:10px}
.wa-ic svg{width:16px;height:16px;}
.box{background:var(--bg2);border-radius:12px;padding:16px 18px;margin-top:18px}
.sec h2{margin-bottom:16px}
ul.eq{columns:2;column-gap:32px;padding-left:20px}ul.eq li{break-inside:avoid;margin-bottom:6px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:22px}
.card{overflow:hidden;text-decoration:none;display:flex;flex-direction:column;}
.card img{width:100%}.card div{padding:14px 16px}.card h3{font-size:19px}.card p{margin:4px 0 0;color:var(--muted);font-size:15px}.card b{color:var(--c-price);font-size:19px;}
.prose{max-width:760px}.prose p,.prose li{color:var(--c-ink-2)}.prose h2{margin-top:36px}
table{border-collapse:collapse;width:100%;font-size:16px}th,td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left}th{color:var(--muted);font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.foot{color:#c9d3e8;margin-top:56px;font-size:15px}.ft a{text-decoration:none}.ft a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.ft-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-block:48px 40px;}
.ft .ft-wa{text-decoration:none;padding-inline:26px}.ft .ft-wa:hover{text-decoration:none}
.ft-grid{display:grid;padding-block:44px}.ft-brand p{margin:14px 0 16px;max-width:32ch;color:#b9c5e0}
.ft-phone{font-size:20px;font-weight:700;color:#fff}.ft h3{margin:0 0 14px;font-weight:700;}

.ft-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;padding-block:20px 28px;border-top:1px solid rgb(255 255 255/.1);font-size:14px;}
@media(max-width:900px){.ft .ft-wa{width:100%}.ft-brand{grid-column:1/-1}.ft-bottom{padding-bottom:96px}}
.fab{position:fixed;width:58px;display:grid;}

.theme-btn{width:40px;height:40px;display:grid;place-items:center;cursor:pointer;flex:none}.theme-btn svg{width:19px;height:19px}
@media(prefers-color-scheme:dark){:root:not([data-theme]) .theme-btn .i-sun{display:block}:root:not([data-theme]) .theme-btn .i-moon{display:none}}
td a{font-weight:600}
@media(max-width:900px){.car{grid-template-columns:1fr;gap:24px}ul.eq{columns:1}
.top .wrap{flex-wrap:nowrap;min-height:60px}.car>*{min-width:0}.top nav{min-width:0;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none;margin-left:auto}
.g-nav{width:38px;height:38px;background:rgb(10 11 15/.38);border:1px solid rgb(255 255 255/.24);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 18px -8px rgb(0 0 0/.55);-webkit-tap-highlight-color:transparent}.g-nav svg{width:16px;height:16px}@media(max-width:700px){.g-nav{width:32px;height:32px}.g-nav svg{width:14px;height:14px}}.g-prev{left:10px}.g-next{right:10px}.g-thumbs button{flex-basis:68px}.g-full span{display:none}.sticky-cta{display:flex}body.has-sticky .fab{opacity:0;pointer-events:none}body.has-sticky{padding-bottom:76px}.bancos ul{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cmp-btn{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font:inherit}
.cmp-btn svg{width:17px;height:17px;flex:none}
.cmp-btn[aria-pressed=true]{border-color:var(--brand-red)!important;color:var(--c-accent-text)!important;background:color-mix(in srgb,var(--brand-red) 8%,transparent)!important}

.pitch{max-width:760px}.pitch h2{margin:6px 0 16px}.pitch p{color:var(--c-ink-2);font-size:18px;margin:0 0 14px}
.kicker{margin:0}
.ideal{background:var(--c-surface);border-left:4px solid var(--brand-red);padding:14px 18px;border-radius:0 12px 12px 0;color:var(--c-ink)!important}
.nota{font-size:16px!important}
.hl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.hl li{background:var(--c-card);border:1px solid var(--c-line);border-radius:14px;padding:18px;display:grid;gap:6px}
.hl b{font-size:18px;color:var(--c-ink)}.hl span{color:var(--c-ink-2);font-size:15px}
.tech{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}
.tg{border:1px solid var(--c-line);border-radius:14px;padding:6px 18px 10px;background:var(--c-card)}
.tg h3{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--c-ink-2);margin:12px 0 6px}
.tg dl{margin:0}.tg div{display:grid;grid-template-columns:42% 1fr;gap:12px;padding:9px 0;border-top:1px solid var(--c-line)}
.tg div:first-child{border-top:0}.tg dt{color:var(--c-ink-2);font-size:15px}.tg dd{margin:0;font-weight:600;font-size:15px}
.tg sup a{font-size:11px;margin-left:3px;color:var(--c-link);text-decoration:none}
.cmp-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-radius:16px;padding:24px 26px;margin-top:48px}
.cmp-cta h2{margin:0 0 4px}.cmp-cta p{margin:0;}.cmp-cta .btn{margin:0}
.fuentes details{border-top:1px solid var(--c-line);padding-top:12px}.fuentes summary{cursor:pointer;font-weight:700;color:var(--c-ink)}
.fuentes ol{margin:12px 0;padding-left:22px;font-size:15px}.fuentes p{font-size:14px;color:var(--c-ink-2);max-width:760px}
.info-top{flex-wrap:wrap}.info-top .tag{margin-right:auto}.share.cmp-btn{color:var(--c-ink)}
/* Comparador */

.cmp{--lab:180px;--colmin:180px;margin-top:20px}
.cmp-scroll{overflow-x:auto;padding-bottom:6px}

.cmp-head{position:sticky;top:0;z-index:2;background:var(--c-bg);padding-bottom:10px;border-bottom:2px solid var(--c-line)}

.cmp-t{font-weight:800;font-size:17px;color:var(--c-ink);text-decoration:none;line-height:1.2}.cmp-t span{font-weight:500;color:var(--c-ink-2)}

.cmp-x{position:absolute;top:8px;right:18px;width:32px;height:32px;border-radius:50%;border:0;background:rgb(8 12 24/.72);color:#fff;font-size:18px;cursor:pointer;z-index:1}

.cmp-pick select{width:100%;min-height:48px;border-radius:12px;border:1.5px dashed var(--c-line-2);background:var(--c-surface);color:var(--c-ink);font:inherit;font-weight:600;padding:0 12px;cursor:pointer}
.cmp-pick.big select{max-width:420px;border-style:solid}

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:700px){.cmp{--lab:112px;--colmin:150px}.cmp-t{font-size:15px}.cmp-x{right:12px}
}

h1 em,h2 em{font-family:inherit;font-style:normal}
.foot{border-image:linear-gradient(90deg,#d52b1e 0 33.3%,#fff 33.3% 66.6%,#2450b8 66.6%) 1}

.vers{margin:4px 0 18px;padding:12px;border-radius:16px;border:1px solid var(--c-line);background:var(--c-surface)}
.vers-t{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#6b7280)}
.vers ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.vers li{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:var(--c-card);border:1px solid var(--c-line)}
.vers li span{font-weight:600;font-size:15px}
.vers li b{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.vers li a{min-height:36px;display:inline-flex;align-items:center;padding:0 14px;text-decoration:none}
@media(max-width:520px){.vers li{grid-template-columns:1fr auto}.vers li a{grid-column:1/-1;justify-content:center}}
/* Botón flotante de WhatsApp: verde en modo día, vidrio oscuro con borde verde en modo noche */
.fab { --fab-bg: linear-gradient(145deg, #34e27f 0%, #1fbf5f 55%, #12904c 100%); --fab-ink: #fff; --fab-ring: rgb(37 211 102 / .45);
  --fab-shadow: 0 14px 30px -10px rgb(18 144 76 / .6), 0 2px 6px rgb(0 0 0 / .12), inset 0 1px 0 rgb(255 255 255 / .35);
  position: fixed; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: var(--fab-ink);
  -webkit-tap-highlight-color: transparent; transition: opacity .2s, transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, background .3s, color .3s, border-color .3s; }

@keyframes fab-pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

:root[data-theme="dark"] .fab { --fab-bg: linear-gradient(145deg, rgb(28 32 40 / .92), rgb(12 14 18 / .92)); --fab-ink: #25d366; --fab-ring: rgb(37 211 102 / .55);
  --fab-shadow: 0 14px 32px -10px rgb(0 0 0 / .75), 0 0 22px -6px rgb(37 211 102 / .45), inset 0 1px 0 rgb(255 255 255 / .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fab { --fab-bg: linear-gradient(145deg, rgb(28 32 40 / .92), rgb(12 14 18 / .92)); --fab-ink: #25d366; --fab-ring: rgb(37 211 102 / .55);
  --fab-shadow: 0 14px 32px -10px rgb(0 0 0 / .75), 0 0 22px -6px rgb(37 211 102 / .45), inset 0 1px 0 rgb(255 255 255 / .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } }
@media (max-width: 700px) { .fab { width: 54px; }  }

.hsearch{position:relative;display:flex;align-items:center;flex:0 1 280px;}
.hsearch>svg{position:absolute;left:12px;width:17px;height:17px;color:rgb(255 255 255/.75);pointer-events:none}
.hsearch input{width:100%;min-height:40px;padding:0 14px 0 38px;border-radius:999px;border:1px solid rgb(255 255 255/.22);background:rgb(255 255 255/.10);color:#fff;font:500 15px var(--font,Inter,system-ui,sans-serif);outline:none;-webkit-appearance:none;appearance:none;transition:border-color .2s,background .2s}
.hsearch input::placeholder{color:rgb(255 255 255/.7)}
.hsearch input:focus{border-color:rgb(255 255 255/.55);background:rgb(255 255 255/.16)}
.hsearch input::-webkit-search-cancel-button{filter:invert(1)}
.hsearch ul{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;min-width:280px;margin:0;padding:6px;list-style:none;border-radius:16px;background:var(--c-card);border:1px solid var(--c-line);box-shadow:0 24px 50px -18px rgb(0 0 0/.45)}
.hsearch li a{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;color:var(--c-ink);text-decoration:none}
.hsearch li img{width:42px;height:56px;object-fit:cover;border-radius:8px;flex:none}
.hsearch li span{display:flex;flex-direction:column;min-width:0}
.hsearch li b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsearch li small{font-size:13px;color:var(--muted,#6b7280)}
.hsearch li.on a,.hsearch li a:hover{background:var(--c-surface)}
.hsearch .hq-none{padding:10px 12px;font-size:14px;color:var(--c-ink)}
.hsearch .hq-none a{color:var(--brand-red);font-weight:700}
@media(max-width:800px){.top .wrap{flex-wrap:wrap;padding-bottom:10px}.top nav{flex:1 1 0;min-width:0}.top .theme-btn{flex:none}.hsearch{order:10;flex:1 1 100%}.hsearch ul{min-width:0}}
.rel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.rel-head h2{margin:0}
.rel-nav{display:flex;gap:8px;flex:none}
.rel-btn{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;color:var(--c-ink);background:var(--c-card);border:1px solid var(--c-line);transition:background .2s,opacity .2s,transform .15s}
.rel-btn svg{width:16px;height:16px}
.rel-btn:disabled{opacity:.35;cursor:default}
@media(hover:hover){.rel-btn:not(:disabled):hover{background:var(--c-surface)}}
.rel-btn:active{transform:scale(.95)}
.rel-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;padding:4px 2px 14px}
.rel-track::-webkit-scrollbar{display:none}
.rel-track>.card{scroll-snap-align:start}
.rel-track:focus-visible{outline:2px solid var(--brand-red);outline-offset:4px;border-radius:14px}
@media(max-width:1000px){.rel-track{grid-auto-columns:calc((100% - 36px)/3)}}
@media(max-width:700px){.rel-track{grid-auto-columns:78%;gap:14px}.rel-btn{width:32px;height:32px}.rel-btn svg{width:14px;height:14px}}

h1,h2,h3,.price,.sticky-cta b,.specs dd,.card b{font-family:var(--font-display);font-weight:700;font-stretch:normal;letter-spacing:-.02em}
h1 em,h2 em{color:inherit}
.btn,.vers li a,.share,.cmp-btn,.rel-btn+.x{border-radius:6px}
.btn,.vers li a{font-size:15px;font-weight:700;letter-spacing:-.02em}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px}
.g-slide, .card img, .g-thumbs button {background:var(--img-bg)}
.top img{height:44px;width:auto}@media(min-width:1024px){.top img{height:48px}}

.ft-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:4px}

.btn-line[href*="wa.me"],.sticky-cta .btn[href*="wa.me"]+.x{background:transparent;color:var(--action-primary);border:1.5px solid var(--action-primary)}
.btn-line[href*="wa.me"] .wa-ic{color:#1FA855}.btn-line[href*="wa.me"] svg{fill:#1FA855}
.card img{transition:transform .5s cubic-bezier(.2,.8,.2,1)}@media(hover:hover){.card:hover img{transform:scale(1.04)}}
.bk-kind,.cmp-cta p{color:#5E6470}:root[data-theme="dark"] .bk-kind,:root[data-theme="dark"] .cmp-cta p{color:var(--c-ink-2)}@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .bk-kind,:root:not([data-theme="light"]) .cmp-cta p{color:var(--c-ink-2)}}
/* ====================================================================
   CINE UI · capa visual cinemática (modo oscuro, vidrio, Anton + DM Sans)
   Colores del logo: azul #164E9B · rojo #C41E3A · marino #0B1B3A
   Solo cambia la estética: no toca estructura ni funciones.
   ==================================================================== */
/* Modo día (por defecto si el sistema está en claro) */

/* Modo noche */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
     
    
   
    
    
  
   
  color-scheme: dark;
} }
:root[data-theme="dark"] {
     
    
   
    
    
  
   
  color-scheme: dark;
}
/* Header, menú, hero y footer: siempre oscuros (el logo es claro) */

body { font-family: var(--font); overflow-x: clip; }

/* ---------- Tipografía ---------- */
h1, h2, .sec-title h2, .ft-cta h2, .cine-title {
  font-family: var(--font-title) !important; font-weight: 400 !important; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.02; color: var(--cx-strong); }
h2, .sec-title h2 { font-size: clamp(32px, 4.6vw, 58px) !important; }
h1 em, h2 em, .sec-title h2 em, .ft-cta h2 em { font-style: italic !important; color: var(--cx-blue-text); font-family: var(--font-title) !important; font-weight: 400 !important; }
h3, h4, .req-card h3, .diff-item b, .brand-btn b {
  font-family: var(--font) !important; font-weight: 700; letter-spacing: -.01em; }
.num, .vc-price, .vc-cuota b, [class*="price"], .diff-item b {
  font-family: var(--font); font-variant-numeric: tabular-nums; }
.kicker { font-family: var(--font) !important; color: var(--cx-red-text) !important; }
.lead, .sec-title p { color: var(--cx-muted); }

/* ---------- Vidrio (con fondo sólido si el navegador no soporta backdrop-filter) ---------- */

.cmp-dlg, .quiz { background: var(--cx-glass-solid); border-color: var(--cx-line); color: var(--cx-silver); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top { background: rgb(11 12 14 / .84); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
  
  .cmp-dlg, .quiz { background: var(--cx-glass); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
}

/* ---------- Header compacto ---------- */

.top .nav a { color: var(--cx-silver); }
.top .nav a:hover { color: #fff; }

/* ---------- Botones ---------- */
.btn, .cine-btn { border-radius: var(--radius-btn); font-family: var(--font) !important; font-weight: 700; letter-spacing: -.01em;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .2s ease; }
.cine-btn-main {
  background: var(--cx-blue); color: #fff; border-color: var(--cx-blue); }
.cine-btn-main:hover { background: var(--cx-blue-hi); box-shadow: var(--cx-glow); }
/* Acción primaria en azul; el rojo queda para badges y detalles */
.btn-red { background: var(--cx-blue); border-color: var(--cx-blue); color: #fff; }
.btn-red:hover { background: var(--cx-blue-hi); box-shadow: var(--cx-glow); }
.btn-line, .cine-btn-ghost { background: var(--cx-tint) !important; color: var(--cx-silver) !important; border: 1px solid var(--cx-line-2) !important; }
.btn-line:hover, .cine-btn-ghost:hover { border-color: var(--cx-blue-text) !important; color: var(--cx-strong) !important; background: rgb(22 78 155 / .14) !important; }
@media (hover: hover) { .btn:hover, .cine-btn:hover { transform: translateY(-1px); } }

/* ---------- Tarjetas ---------- */
.vcard, .card, .req-card, .offer, .brand-btn, .type, .diff-item, .faq details {
  background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: var(--radius-card);
  box-shadow: none; color: var(--cx-silver); transition: border-color .25s ease, box-shadow .3s ease, transform .3s ease; }
@media (hover: hover) {
  .vcard:hover, .card:hover, .offer:hover, .brand-btn:hover, .type:hover {
    border-color: rgb(123 163 240 / .32); box-shadow: var(--cx-glow); }
  .vcard:hover, .card:hover { transform: translateY(-3px); }
}
.vcard img, .card-img img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .vcard:hover .card-img img, .card:hover .card-img img { transform: scale(1.04); } }
.card-img { overflow: hidden; background: var(--img-bg); }

.brand-btn[aria-pressed="true"], .type[aria-pressed="true"], .chip[aria-pressed="true"] {
  border-color: var(--cx-blue-text); background: rgb(22 78 155 / .18); color: var(--cx-strong); }

/* Chips de filtro */
.chip { background: var(--cx-surface-2); border: 1px solid var(--cx-line-2); color: var(--cx-silver); border-radius: 999px; }
.type { padding-block: 10px; }

.search .in, .in {
  background: var(--cx-input); color: var(--cx-silver); border: 1px solid var(--cx-line-2); border-radius: 10px; }
.in:focus { border-color: var(--cx-blue-text); box-shadow: 0 0 0 3px rgb(123 163 240 / .2); }

/* ---------- Secciones ---------- */
.sec, #nosotros, .req, .way, .faq { background: transparent; color: var(--cx-silver); }

.diff-item b { font-size: clamp(40px, 6vw, 64px); color: var(--cx-strong); line-height: 1; }
.diff-item span { color: var(--cx-muted); }
#nosotros, .way { border-block: 1px solid var(--cx-line); }

.req-note, .nos-lead { color: var(--cx-muted); }

/* Requisitos: pestañas */

@media (max-width: 560px) {  .req-tabs [role=tab] { padding: 0 4px; font-size: 14px; } }
.req-tabs [role=tab] { border: 0; background: transparent; color: var(--cx-muted); font: 700 15px/1 var(--font); padding: 0 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.req-tabs [role=tab][aria-selected="true"] { background: var(--cx-blue); color: #fff; }

.req-grid.is-tabs .req-card { max-width: 760px; }

/* ---------- Hero cinemático ---------- */
.cine { background: #0B0C0E; isolation: isolate; position: relative; }
.cine-still { display: block !important; position: absolute; inset: 0; z-index: -2; }

.cine-title { color: #fff; text-shadow: 0 10px 40px rgb(0 0 0 / .45); }

.cine-sub { font-family: var(--font); color: #E1E4E8; }
.cine .cine-btn-ghost { background: rgb(255 255 255 / .06); color: #E1E4E8; border-color: rgb(255 255 255 / .24); }
@media (max-width: 760px) {
  .cine-video, .cine-still img { object-position: 50% 62%; }
}

/* ---------- Menú móvil (drawer) ---------- */
html.menu-open, html.menu-open body { overflow: hidden; }

.menu a { color: var(--cx-silver); }
.menu a:hover { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  
  @keyframes cx-drawer { from { transform: translateX(28px); opacity: 0; } }
}

/* ---------- Modales ---------- */
.cmp-dlg, .quiz { border: 1px solid var(--cx-line); color: var(--cx-silver); border-radius: 20px; }
.cmp-dlg::backdrop, .quiz::backdrop { background: rgb(0 0 0 / .62); }
@supports (backdrop-filter: blur(1px)) { .cmp-dlg::backdrop, .quiz::backdrop { backdrop-filter: blur(4px); } }

/* ---------- Comparador flotante ---------- */

/* ---------- Footer ---------- */
.ft, .foot { background: var(--c-footer); border-top: 1px solid var(--cx-line); }

.ft a { color: var(--cx-silver); }
.ft nav h3 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Contacto del footer: minimalista, íconos del color del texto */

.ft-phone { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 2px; }
.ft-phone .ft-tel, .ft-phone #copy { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
  color: var(--cx-muted); font: 500 14px var(--font); cursor: pointer; text-decoration: none; }

.ft-phone .ft-tel:hover, .ft-phone #copy:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Botón flotante de WhatsApp: no tapa el comparador ---------- */

/* ---------- Entradas al hacer scroll ---------- */
html.fx .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  html.fx .reveal { opacity: 1; transform: none; transition: none; }
  .vcard, .card, .btn, .cine-btn, .soc { transition: none; transform: none !important; }
}

#usado .offer { border-radius: 0; border-inline: 0; }

@media (max-width: 760px) {
  .fab { transition: opacity .25s ease, transform .25s ease; }
  
}

/* Fichas: datos clave en plata/blanco, sin dorado */

/* Hero: movimiento lento de cámara sobre la foto mientras carga el video (o si no hay video) */
@media (prefers-reduced-motion: no-preference) {
  
  @keyframes cx-kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
  
  @keyframes cx-fadein { from { opacity: 0; } }
}

.diff-item b { color: var(--cx-strong); }
.diff-item span { color: var(--cx-muted); }

/* ---------- Header sobre el video: transparente, se vuelve vidrio al bajar ---------- */
body:has(.cine) .top:not(.is-compact) {
  background: linear-gradient(180deg, rgb(11 12 14 / .58) 0%, rgb(11 12 14 / .18) 70%, rgb(11 12 14 / 0) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }

.top .icon-btn, .top .theme-btn, .top .menu-btn {
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); color: #E1E4E8; border-radius: 999px; }
.top .icon-btn:hover, .top .theme-btn:hover, .top .menu-btn:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .3); }
.top .nav a { position: relative; }
@media (hover: hover) {
  .top .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--cx-red), var(--cx-blue-text)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s ease; }
  .top .nav a:hover::after { transform: scaleX(1); }
}

/* ---------- WhatsApp: botón claro de la marca (fondo claro, texto marino, ícono verde) ---------- */
.btn-wa, .btn[href*="wa.me"], .cx-wa, .vers li a, .ft-wa, #ask-send {
  background: #F8F9FB !important; color: #0B1B3A !important; border: 1px solid rgb(11 27 58 / .14) !important;
  box-shadow: 0 1px 2px rgb(11 27 58 / .06), 0 10px 24px -14px rgb(11 27 58 / .45); }

.btn-wa .wa-ic, .btn[href*="wa.me"] .wa-ic, .cx-wa .wa-ic, .ft-wa .wa-ic { background: transparent; color: #16A34A; }
@media (hover: hover) {
  .btn-wa:hover, .btn[href*="wa.me"]:hover, .cx-wa:hover, .vers li a:hover, .ft-wa:hover, #ask-send:hover {
    background: #FFFFFF !important; border-color: rgb(22 163 74 / .55) !important; box-shadow: 0 0 0 3px rgb(22 163 74 / .12), 0 12px 26px -14px rgb(11 27 58 / .5); }
}

/* El video arranca detrás del header: la portada sube la altura del header */

/* Fichas: sin dorado; el brillo de los datos clave usa el azul de la marca */
.specs, .specs * { --gold: var(--cx-blue-text); --gold-ink: var(--cx-strong) !important; }
/* Video vertical: ya viene encuadrado, se centra en cualquier pantalla vertical */

/* Header: el menú completo solo entra desde 1180 px; debajo, botón de menú (tablets y celulares acostados) */

@media (max-width: 1180px) {
  
  
  .top-in .icon-btn { margin-left: auto; }
}
/* Celular acostado y pantallas bajas: el hero entra completo */
@media (orientation: landscape) and (max-height: 560px) {
  
  .cine-title { font-size: clamp(40px, 15vh, 96px); }
  .cine-sub { font-size: 16px; }
  .cine-btn { min-height: 44px; padding-block: 0; }
  .cine-ui { padding-block: 12px; }
}
/* Botón flotante: hasta 1180 px aparece después de la portada, para no tapar sus botones */
@media (max-width: 1180px) {
  .fab { transition: opacity .25s ease, transform .25s ease; }
  
}
/* "Ver escena" siempre debajo del header, sin superponerse */
.cine-scene { top: 14px; }

/* ====================================================================
   SECCIONES · cada bloque con su propio fondo, en dos ritmos:
   - "base" y "alterna": siguen el modo día/noche
   - "escena": bandas oscuras cinemáticas (en los dos modos), como el video
   ==================================================================== */

/* Escenas oscuras: marcas, auto de la semana, por qué, nosotros */
main > .brands, #destacado, #nosotros {
  --cx-bg: #0B0C0E; --cx-surface: rgb(18 20 26 / .78); --cx-surface-solid: #12141A; --cx-surface-2: #181B22;
  --cx-glass: rgb(18 20 26 / .82); --cx-glass-solid: #12141A; --cx-input: #0F1116;
  --cx-line: rgb(255 255 255 / .09); --cx-line-2: rgb(255 255 255 / .18);
  --cx-silver: #E1E4E8; --cx-muted: #A9B0BB; --cx-strong: #fff;
  --cx-blue-text: #7BA3F0; --cx-red-text: #F2697F; --cx-tint: rgb(255 255 255 / .05);
  --cx-glow: 0 0 0 1px rgb(123 163 240 / .2), 0 18px 40px -18px rgb(22 78 155 / .6);
  --img-bg: #15181F; --c-bg: #0B0C0E; --c-surface: #12141A; --c-surface-2: #181B22; --c-card: #12141A;
  --c-ink: #E1E4E8; --c-ink-2: #A9B0BB; --muted: #A9B0BB; --ink-muted: #A9B0BB; --c-line: rgb(255 255 255 / .09); --c-line-2: rgb(255 255 255 / .18);
  --c-price: #fff; --c-accent-text: #F2697F; --c-link: #7BA3F0; --c-focus: #7BA3F0; --brand-blue: #7BA3F0; --py-blue: #7BA3F0; --py-red: #F2697F;
  --brand-gold: #fff; --gold-ink: #fff; color-scheme: dark; color: var(--cx-silver);
}

/* Ritmo vertical parejo en todas las secciones */
main > .sec { position: relative; isolation: isolate; padding-block: clamp(64px, 8vw, 112px); border: 0; }

/* 1 · Marcas en stock: continúa la portada */
main > .brands { background: linear-gradient(180deg, #0B0C0E 0%, #0D1220 100%); border: 0; }
main > .brands * { color: inherit; }
main > .brands .brand-btn small { color: var(--cx-muted); }

/* 2 · El auto de la semana: escenario con luz azul y piso reflejado */
#destacado { background:
  radial-gradient(55% 60% at 30% 55%, rgb(22 78 155 / .38), transparent 70%),
  radial-gradient(40% 40% at 85% 15%, rgb(196 30 58 / .14), transparent 70%),
  linear-gradient(180deg, #0D1220 0%, #0B0C0E 62%, #08090B 100%); }
#destacado::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 96px), linear-gradient(180deg, transparent, rgb(123 163 240 / .06)); }
#destacado .offer { background: rgb(18 20 26 / .55); border-color: rgb(255 255 255 / .1); }

/* 3 · Autos disponibles: fondo base limpio, protagonismo de las fotos */
#stock { background: var(--cx-bg); }

/* 4 · Tres formas: banda alterna con trazos de la cinta del logo */
#tu-manera { background:
  radial-gradient(70% 90% at 100% 0%, rgb(22 78 155 / .10), transparent 60%),
  radial-gradient(60% 80% at 0% 100%, rgb(196 30 58 / .07), transparent 60%),
  var(--sx-alt); }

/* 5 · Requisitos: base con grilla de puntos (orden, papeles) */
#requisitos { background: radial-gradient(var(--sx-dot) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--cx-bg); }

/* 6 · Por qué: escena oscura con luces roja y azul */

/* 7 · A pedido: alterna con un velo azul */

/* 8 · Tu usado: base */
#usado { background: var(--cx-bg); }

/* 9 · Te atiende Emanuel: alterna, cálida */
#asesor { background: radial-gradient(60% 90% at 0% 50%, rgb(196 30 58 / .08), transparent 65%), var(--sx-alt); }

/* 10 · Nosotros: escena azul marino */

/* 11 · Preguntas: base */
#preguntas { background: var(--cx-bg); }

/* 12 · Búsquedas populares: alterna, cierre suave hacia el footer */

/* ---------- Tipografía editorial: índice numerado en cada sección ---------- */

main .kicker { display: inline-flex !important; align-items: center; gap: 10px; font-size: 12px !important; font-weight: 700 !important;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
main .kicker::before { counter-increment: cx-sec; content: counter(cx-sec, decimal-leading-zero);
  font: 400 15px/1 var(--font-title); letter-spacing: .04em; color: var(--cx-strong); opacity: .9;
  padding-right: 12px; margin-right: 2px; border-right: 1px solid currentColor; border-image: linear-gradient(180deg, var(--cx-red), var(--cx-blue-text)) 1;
  width: auto !important; height: auto; background: none; }

#destacado .kicker, #nosotros .kicker { color: var(--cx-red-text); }
/* Títulos: escala más marcada en las escenas */
#destacado h2, #nosotros h2 { font-size: clamp(38px, 6vw, 78px) !important; }

/* Textos dentro de las escenas oscuras: siempre claros, también en modo día */

/* ====================================================================
   TARJETA DE AUTO COMPACTA (menos scroll)
   Escritorio: foto 4:3 + datos en una línea + una fila de acciones.
   Celular: tarjeta horizontal (foto a la izquierda, datos a la derecha).
   ==================================================================== */
.vc2 { display: flex !important; flex-direction: column; overflow: hidden; }
.vc2 .card-img { aspect-ratio: 4 / 3; height: auto; position: relative; display: block; }
.vc2 .card-img img, .vc2 .card-img picture, .vc2 .card-img .fit { width: 100% !important; height: 100%; }
.vc2 .card-img img { object-fit: cover; object-position: 50% 58% !important; }

.vc2 h3 { margin: 0 !important; font-size: 18px; line-height: 1.25; }
.vc2 h3 a { color: var(--cx-strong); text-decoration: none; }
.vc2 h3 small { display: block; margin-top: 3px; font: 500 13px/1.35 var(--font); color: var(--cx-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc2 .vc-meta { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--cx-muted); min-width: 0; }

.vc2 .vc-cuota small { font-size: 11px; letter-spacing: .12em; }
.vc2 .vc-cuota b { font-size: clamp(22px, 2vw, 26px); line-height: 1.1; }

.vc2 .vc-wa, .vc2 .vc-ficha { min-height: 44px; padding: 0 12px; font-size: 14px; gap: 6px;
  display: inline-flex !important; align-items: center; justify-content: center; white-space: nowrap; width: auto !important; margin: 0 !important; }
.vc2 .vc-wa svg { width: 18px; height: 18px; flex: none; }
.vc2 .vc-cmp { width: 44px; min-height: 44px; padding: 0; margin: 0 !important; display: inline-grid !important; place-items: center;
  border-radius: var(--radius-btn); border: 1px solid var(--cx-line-2); background: var(--cx-tint); color: var(--cx-silver); cursor: pointer; }

.vc2 .vc-cmp:hover { border-color: var(--cx-blue-text); color: var(--cx-strong); }
.vc2 .vc-cmp[aria-pressed="true"] { background: var(--cx-red); border-color: var(--cx-red); color: #fff; }

.vc2 .cond, .vc2 .pics { font-size: 11px; padding: 4px 9px; }

@media (max-width: 600px) {
  #grid { gap: 12px; }
  .vc2 { display: grid !important; grid-template-columns: 40% 1fr; align-items: stretch; }
  .vc2 .card-img { aspect-ratio: auto; height: 100%; min-height: 200px; }
  .vc2 .card-img img { object-position: 50% 50% !important; }
  .vc2 .card-body { padding: 12px 12px 12px 14px; gap: 6px; min-width: 0; }
  .vc2 h3 { font-size: 16px; }
  .vc2 h3 small { font-size: 12px; }
  .vc2 .vc-meta { font-size: 12px; }
  .vc2 .vc-meta svg { display: none; }
  
  .vc2 .vc-cuota b { font-size: clamp(17px, 5vw, 20px); white-space: nowrap; }
  .vc2 .vc-cuota small { font-size: 10px; }
  .vc2 .vc-actions { grid-template-columns: 1fr 44px; gap: 6px; }
  .vc2 .vc-ficha { display: none !important; }
  .vc2 .vc-wa { padding: 0 8px; font-size: 13px; }
  .vc2 .pics { display: none !important; }
  .vc2 .cond { top: 8px; left: 8px; }
  @media (hover: hover) { .vc2:hover { transform: none; } }
}

/* ====================================================================
   SECCIONES 06 · 07 · 08 — tres superficies distintas (antes se veían iguales)
   06 A pedido ........ escena azul marino #0B1B3A (inmersiva, formulario en vidrio)
   07 Tu usado ........ neutro con textura sutil + tarjeta elevada
   08 Te atiende ...... banda carmesí #C41E3A de alto contraste (llamada a la acción)
   ==================================================================== */
#pedido, #asesor {
  --cx-bg: #0B0C0E; --cx-surface: rgb(18 20 26 / .78); --cx-surface-solid: #12141A; --cx-surface-2: #181B22;
  --cx-glass: rgb(18 20 26 / .82); --cx-glass-solid: #12141A; --cx-input: #0F1116;
  --cx-line: rgb(255 255 255 / .09); --cx-line-2: rgb(255 255 255 / .18);
  --cx-silver: #E1E4E8; --cx-muted: #A9B0BB; --cx-strong: #fff;
  --cx-blue-text: #7BA3F0; --cx-red-text: #F2697F; --cx-tint: rgb(255 255 255 / .05);
  --cx-glow: 0 0 0 1px rgb(123 163 240 / .2), 0 18px 40px -18px rgb(22 78 155 / .6);
  --img-bg: #15181F; --c-bg: #0B0C0E; --c-surface: #12141A; --c-surface-2: #181B22; --c-card: #12141A;
  --c-ink: #E1E4E8; --c-ink-2: #A9B0BB; --muted: #A9B0BB; --ink-muted: #A9B0BB; --c-line: rgb(255 255 255 / .09); --c-line-2: rgb(255 255 255 / .18);
  --c-price: #fff; --c-accent-text: #F2697F; --c-link: #7BA3F0; --c-focus: #7BA3F0; --brand-blue: #7BA3F0; --py-blue: #7BA3F0; --py-red: #F2697F;
  --brand-gold: #fff; --gold-ink: #fff; color-scheme: dark; color: var(--cx-silver);
}

/* 07: neutro con textura (líneas diagonales muy suaves) y la tarjeta elevada */

#usado { background: repeating-linear-gradient(135deg, var(--sx-tex) 0 1px, transparent 1px 14px), var(--sx-neutral); }
#usado .offer { border-radius: var(--radius-card); border-inline: 1px solid var(--cx-line); box-shadow: var(--sx-lift);
  max-width: calc(var(--max, 1200px) - 2 * var(--gutter, 24px)); margin-inline: auto; }
@media (max-width: 760px) { #usado .offer { margin-inline: var(--gutter, 16px); } }

/* 08: banda carmesí con la tarjeta en vidrio y el botón claro de WhatsApp */
#asesor { background:
  radial-gradient(60% 120% at 100% 0%, rgb(255 255 255 / .14), transparent 60%),
  radial-gradient(50% 100% at 0% 100%, rgb(11 27 58 / .45), transparent 70%),
  linear-gradient(120deg, #C41E3A 0%, #A8182F 55%, #7E1124 100%); }
#asesor .adv-in { background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .22); box-shadow: 0 24px 50px -28px rgb(0 0 0 / .6); }

#asesor h2, #asesor h2 em { color: #fff; }

#asesor p { color: rgb(255 255 255 / .88); }
#asesor .kicker { color: #fff; }
#asesor .kicker::before { color: #fff; border-image: none; border-right-color: rgb(255 255 255 / .5); }

/* Transición: el carmesí entra al azul de Nosotros sin corte duro */

/* ====================================================================
   CHIPS DE BÚSQUEDA RÁPIDA (reemplazan "Búsquedas populares")
   ==================================================================== */

/* ====================================================================
   FOTOS: encuadre sin perder ruedas, techo ni parrilla
   Las portadas son 3:4 con el auto entre el 15% y el 85% de la altura.
   - Celular: tarjeta horizontal con la foto en 3:4 exacto (sin recorte).
   - Tablet/escritorio: 1:1 centrado (se ve el 75% central: el auto entero).
   - Comparador: 1:1 centrado sobre fondo neutro.
   ==================================================================== */
.vc2 .card-img { aspect-ratio: 1 / 1; background: var(--img-bg); }
.vc2 .card-img img { object-fit: cover; object-position: 50% 50% !important; }

/* Celular 360–430: todas las tarjetas con la misma altura */
@media (max-width: 600px) {
  .vc2 { grid-template-columns: auto minmax(0, 1fr); height: 212px; }
  .vc2 .card-img { aspect-ratio: 3 / 4; height: 212px; width: auto !important; min-height: 0; }
  .vc2 .card-img img { object-fit: cover; object-position: 50% 50% !important; }
  .vc2 .card-body { overflow: hidden; }
  .vc2 h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .vc2 h3 small { margin-top: 2px; }
}

/* ====================================================================
   BARRA "COMPARAR" EN CELULAR: acoplada abajo, compacta y sin tapar contenido
   ==================================================================== */

/* Textos claros garantizados en las bandas de color (también en modo día) */

/* Celulares de 360–380 px: tarjeta un poco más baja para que entren los dos botones */
@media (max-width: 380px) {
  .vc2 { height: 196px; }
  .vc2 .card-img { height: 196px; }
  .vc2 .card-body { padding: 10px 10px 10px 12px; gap: 4px; }
  .vc2 .vc-wa { font-size: 12.5px; padding: 0 6px; gap: 4px; }
}
} /* fin de @layer legado */ @layer legado {
/* CAR RETAIL PY · estilos comunes de las páginas internas (fichas, marcas, categorías, financiación, consignación y 404).
   Se carga después de interior.css: acá va todo lo nuevo, para no tocar ese archivo heredado. */

/* ---------- Header: mismo menú que la portada, fijo al bajar ---------- */
.top { position: sticky; top: 0; z-index: 40; }
.top .wrap { gap: 18px; }
.top nav { gap: 18px; font-size: 15px; }
.top .hsearch { min-width: 0; }
.top-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 10px; background: var(--cx-blue, #164e9b); color: #fff;
  font: 700 14px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.top-cta:hover { background: var(--cx-blue-hi, #1d5fba); }
.menu-tg { display: none; }
/* Escritorio (desde 1181 px, como la portada): todo en una fila. Los tamaños son compactos porque en portugués e inglés los textos del menú son más largos. */
@media (min-width: 1180.01px) {
  .top .wrap { flex-wrap: nowrap; gap: 12px; }
  .top nav { flex-wrap: nowrap; white-space: nowrap; margin-left: auto; gap: 14px; font-size: 14px; }
  .top .hsearch { flex: 0 1 190px; min-width: 150px; }
  .top-cta { padding: 0 14px; }
}
@media (max-width: 1180px) {
  /* Celular y tablet: logo + idioma + tema + menú en una fila y el buscador debajo. Los enlaces van en el panel lateral (assets/menu.css). */
  .top .wrap { flex-wrap: wrap; row-gap: 10px; padding-block: 8px; position: relative; }
  .top .wrap > a:first-child { margin-right: auto; }
  .menu-tg { order: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none; border-radius: 50%;
    border: 1px solid rgb(255 255 255 / .28); background: transparent; color: #fff; cursor: pointer; }
  .menu-tg svg { width: 22px; height: 22px; }
  .menu-tg:hover, .menu-tg[aria-expanded="true"] { background: rgb(255 255 255 / .12); }
  .top .theme-btn { order: 2; width: 44px; height: 44px; }
  .top-cta { display: none; }
  .top nav { display: none; }
  .top .hsearch { order: 6; width: 100%; flex: 1 1 100%; }
}
@media (max-width: 1180px) and (max-height: 520px) { .top { position: static; } }  /* celular acostado: el header no ocupa media pantalla */

/* ---------- Tarjeta de auto (misma que la portada: foto 4:3, datos, precio y acciones) ---------- */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.lcard { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--cx-surface-solid, var(--c-card)); border: 1px solid var(--cx-line, var(--c-line)); }
.lcard-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #15181f; }
.lcard-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 54%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .lcard:hover .lcard-img img { transform: scale(1.04); } }
.lcard-cond { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: rgb(11 12 14 / .78); color: #fff; font: 700 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.lcard-cond.new { background: var(--cx-red, #c41e3a); }
.lcard-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; min-width: 0; }
.lcard h3 { margin: 0; font: 700 18px/1.25 var(--font); letter-spacing: 0; text-transform: none; }
.lcard h3 a { color: var(--cx-strong, var(--c-ink)); text-decoration: none; }
.lcard h3 small { display: block; margin-top: 3px; font: 500 13px/1.35 var(--font); color: var(--cx-muted, var(--c-ink-2)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard-meta { margin: 0; font-size: 13px; color: var(--cx-muted, var(--c-ink-2)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard-price { margin: 2px 0 0; display: flex; flex-direction: column; gap: 2px; }
.lcard-price small { font: 600 12px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--cx-muted, var(--c-ink-2)); }
.lcard-price b { font: 700 24px/1.1 var(--font); color: var(--c-price, var(--c-ink)); font-variant-numeric: tabular-nums; }
.lcard-actions { margin-top: auto; padding-top: 6px; display: grid; grid-template-columns: 1fr auto 44px; gap: 8px; }
.lcard-actions .btn { min-height: 44px; padding: 0 12px; margin: 0; font-size: 14px; gap: 6px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; width: auto; }
.lcard-actions .wa-ic svg { width: 18px; height: 18px; }
.lcard-cmp { width: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--cx-line-2, var(--c-line-2)); background: var(--cx-tint, transparent); color: var(--cx-silver, var(--c-ink)); cursor: pointer; }
.lcard-cmp svg { width: 18px; height: 18px; }
.lcard-cmp[aria-pressed="true"] { background: var(--cx-red, #c41e3a); border-color: var(--cx-red, #c41e3a); color: #fff; }
/* Tarjeta angosta: ver la capa "componentes" al final del archivo (container query) */

.lsort { margin: 18px 0 0; font-size: 14px; color: var(--cx-muted, var(--c-ink-2)); }
.lsort select { margin-left: 6px; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--cx-line-2, var(--c-line-2)); background: var(--cx-input, var(--c-card)); color: var(--cx-strong, var(--c-ink)); font: 500 14px var(--font); }

/* "Otros modelos" de la ficha: misma ventana 4:3 */
.rel-track .card img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; object-position: 50% 54%; }

/* ---------- Ficha ---------- */
.info { display: flex; flex-direction: column; }
.info > .specs { order: 1; }
.info > .verif { order: 1; }
.info > .bancos, .info > .box { order: 2; }
.info > .btn { margin-top: 10px; }
.verif { margin: 0 0 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--cx-line, var(--c-line)); background: var(--cx-tint, transparent); font-size: 14px; color: var(--cx-silver, var(--c-ink)); }
.specs { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; margin: 18px 0 8px !important; }
.specs div, .specs div:nth-child(1), .specs div:nth-child(2), .specs div:nth-child(3) {
  grid-column: auto; grid-row: auto; min-height: 0; padding: 10px 12px; gap: 4px; border-radius: 14px; }
.specs div::after { display: none; }
.specs dt { font-size: 13px; letter-spacing: .08em; }
.specs dd, .specs div:nth-child(1) dd { font-size: 17px !important; line-height: 1.2 !important; }
@media (max-width: 520px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Escritorio: la galería acompaña mientras se lee la columna de datos (antes quedaba un hueco debajo) */
@media (min-width: 901px) { .car-media { position: sticky; top: 92px; align-self: start; } }

/* ---------- Contenido ---------- */
main table { display: block; max-width: 100%; overflow-x: auto; }
.btn-red-in { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--cx-blue, #164e9b); color: #fff; font: 700 15px var(--font); text-decoration: none; }
.e404 { padding-block: 24px 8px; }
.e404 .btn, .e404 .btn-red-in { margin: 4px 8px 4px 0; }
.g-count, .tag, .bk-kind { font-size: max(12px, 1em); }
/* Marco de la galería: 3:4 para fotos de celular; el generador pone --g-marco: 4 / 3 cuando la mitad o más son apaisadas. */
.g-slide { aspect-ratio: var(--g-marco, 3 / 4); }
.ft-grid.ft-grid-5 { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 1000px) { .ft-grid.ft-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-grid.ft-grid-5 .ft-brand { grid-column: 1 / -1; } }

/* Foto que no cargó: logo de respaldo, entero y centrado */
img.img-fb { object-fit: contain; padding: 12%; background: #15181f; }

/* ---------- Botón flotante de WhatsApp en el celular: más chico y se corre mientras hay otro botón de WhatsApp a la vista ---------- */
@media (max-width: 700px) {
  .fab { width: 50px; height: 50px; right: 12px; }
  .fab svg { width: 26px; height: 26px; }
  .fab.is-away { opacity: 0; pointer-events: none; transform: translateY(12px); }
}
/* ---------- Selector de idioma (español, inglés y portugués) ---------- */
.lang-sw { position: relative; flex: none; }
.lang-sw summary { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; box-sizing: border-box;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .06); color: #E1E4E8;
  font: 700 13px/1 var(--font, system-ui, sans-serif); letter-spacing: .06em; cursor: pointer; list-style: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.lang-sw summary::-webkit-details-marker { display: none; }
.lang-sw summary svg { width: 18px; height: 18px; flex: none; }
.lang-sw summary:hover, .lang-sw[open] summary { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .3); }
.lang-sw summary:focus-visible { outline: 2px solid #7BA3F0; outline-offset: 2px; }
.lang-sw ul { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; min-width: 168px; margin: 0; padding: 6px; list-style: none;
  border-radius: 14px; border: 1px solid rgb(255 255 255 / .14); background: #14161A; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .7); }
.lang-sw li { margin: 0; padding: 0; }
.lang-sw ul a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px; color: #E1E4E8; font: 500 15px/1.2 var(--font, system-ui, sans-serif);
  letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; text-shadow: none; }
.lang-sw ul a::after { content: none; }
.lang-sw ul a:hover { background: rgb(255 255 255 / .08); color: #fff; }
.lang-sw ul a[aria-current] { font-weight: 700; color: #fff; background: rgb(255 255 255 / .1); }
.lang-sw ul a[aria-current]::before { width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #7BA3F0; flex: none; }
@media (max-width: 1180px) { .top .lang-sw { order: 1; } }
@media (max-width: 480px) {  .top .lang-sw summary svg { display: none; } }
@media (max-width: 380px) { .top .wrap { column-gap: 8px; } .top .wrap > a:first-child img { height: 38px; width: auto; } }
.top .wrap > a:first-child { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Enlace para saltar al contenido (teclado y lectores de pantalla) ---------- */
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: #fff; color: #0B1B3A; font: 700 15px/1 var(--font, system-ui, sans-serif); text-decoration: none; }
.skip:focus { top: 8px; }
main:focus { outline: none; }

/* ====================================================================
   Lectura más fácil (2026-11): menos cosas a la vez y un paso siguiente claro
   ==================================================================== */
/* Botón de menú con su nombre (desde 360 px; en pantallas más angostas queda solo el ícono) */
.menu-tg-t { display: none; }
@media (min-width: 360px) and (max-width: 1180px) {
  .menu-tg { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 14px 0 12px; border-radius: 999px; font: 600 14px/1 var(--font); }
  .menu-tg-t { display: inline; }
}

/* ---------- Ficha: nombre y precio antes de la foto ---------- */
.car-head { min-width: 0; }
.car-head h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; margin: 0 0 6px; }
.car-head .lead { margin: 0 0 10px; }
.car-head .price { margin: 0; }
@media (min-width: 901px) {
  .car { grid-template-areas: "media head" "media info"; grid-template-rows: auto 1fr; row-gap: 18px; }
  .car-media { grid-area: media; } .car-head { grid-area: head; } .info { grid-area: info; }
}
@media (max-width: 900px) { .car { gap: 16px; } }
/* El test drive es una acción secundaria: enlace, no un segundo botón */
.info > .link-td { align-self: center; display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0 8px; color: var(--cx-strong, var(--c-ink)); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

/* Índice de la ficha */
.car-idx { margin: 28px 0 0; }
.car-idx b { display: block; margin-bottom: 8px; color: var(--cx-muted, var(--c-ink-2)); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.car-idx div { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.car-idx div::-webkit-scrollbar { display: none; }
.car-idx a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cx-line-2, var(--c-line-2)); color: var(--cx-strong, var(--c-ink)); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .car-idx a:hover { border-color: currentColor; } }
#resumen, #destacado, #ficha-tecnica, #equipamiento, #a-tener-en-cuenta { scroll-margin-top: 130px; }

/* Ficha técnica y equipamiento plegables */
details.tg > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; list-style: none; }
details.tg > summary::-webkit-details-marker, .eq-mas > summary::-webkit-details-marker { display: none; }
details.tg > summary h3 { margin: 0; }
details.tg > summary::after, .eq-mas > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); opacity: .7; }
details.tg[open] > summary::after, .eq-mas[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
details.tg:not([open]) { padding-bottom: 6px; }
.eq-mas { margin-top: 12px; }
.eq-mas > summary { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--cx-line-2, var(--c-line-2)); color: var(--cx-strong, var(--c-ink)); font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.eq-mas[open] > summary { margin-bottom: 12px; }
.rel-all { margin: 14px 0 0; text-align: center; }

/* ---------- Listados: introducción corta en el celular, con "Leer más" ---------- */
.intro-more { display: none; }
@media (max-width: 700px) {
  .js .intro:not(.is-open) > p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .js .intro:not(.is-open) .intro-more { display: inline-flex; align-items: center; min-height: 44px; margin: -6px 0 0; padding: 0; border: 0; background: none; color: var(--cx-strong, var(--c-ink)); font: 600 15px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
}

/* ---------- Acción arriba en financiación y vendé tu auto ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.cta-row .btn, .cta-row .btn-red-in { flex: 1 1 200px; max-width: 340px; min-height: 48px; margin: 0; text-align: center; }
/* Textos chicos: mínimo 13 px */
.kicker, .soc-tx small { font-size: 13px !important; }

/* ---------- Página "A pedido": formulario que arma el mensaje de WhatsApp ---------- */
.ask { max-width: 640px; display: grid; gap: 14px; margin: 8px 0 40px; padding: 20px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-card); }
.ask-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 4px; border: 0; border-radius: 12px; background: var(--c-surface); }
.ask-seg label { position: relative; }
.ask-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ask-seg span { display: grid; place-items: center; min-height: 44px; border-radius: 9px; color: var(--c-ink-2); font-weight: 700; }
.ask-seg input:checked + span { background: var(--cx-blue, #164e9b); color: #fff; }
.ask-seg input:focus-visible + span { outline: 2px solid #7BA3F0; outline-offset: 2px; }
.ask-f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.ask-f input, .ask-f select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 12px; background: var(--c-surface); color: var(--c-ink); font: 400 16px var(--font); }
.ask-f input::placeholder { color: var(--c-ink-2); }
.ask-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ask-ck { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--c-ink); cursor: pointer; }
.ask-ck input { width: 20px; height: 20px; accent-color: var(--cx-blue, #164e9b); }
.ask-hint { margin: -8px 0 0; color: var(--c-ink-2); font-size: 14px; }
.ask-send { justify-content: center; min-height: 52px; font-size: 16px; }
.ask-note { color: var(--c-ink-2); font-size: 13px; text-align: center; }
.ask-h2 { margin: 0 0 16px; }
@media (max-width: 520px) { .ask { padding: 16px; } .ask-2 { grid-template-columns: 1fr; } }

/* ---------- Página "Nosotros": asesor con foto ---------- */

.nos-adv { max-width: 760px; display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: start; margin: 36px 0 8px; padding: 22px; border-radius: 18px; background: var(--brand-red, #C41E3A); color: #fff; }
.nos-adv h2 { margin: 4px 0 8px; color: #fff; }
.nos-adv p { margin: 0 0 14px; color: rgb(255 255 255 / .92); }
.nos-adv .kicker { color: rgb(255 255 255 / .85) !important; }
.nos-adv-foto { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 3px solid #fff; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .55); }
@media (max-width: 520px) { .nos-adv { grid-template-columns: 1fr; padding: 18px; } }
.nos-cta { margin-top: 26px; }

/* "Otros modelos": el primer auto ya queda "encajado" al cargar. Sin esto, el navegador corre la tira 2 px para encajarlo,
   y Chrome toma ese movimiento como un desplazamiento del usuario: deja de medir el LCP (Core Web Vitals) en el celular. */
.rel-track { scroll-padding-inline: 2px; }

/* ---------- Fase 1 del plan: mejoras rápidas ---------- */
/* Títulos repartidos parejo en sus líneas y párrafos sin una palabra sola al final (la portada ya lo tenía) */
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
/* Las secciones de abajo de la ficha se dibujan recién cuando te acercás (la ficha carga más rápido en el celular).
   "Otros modelos" queda afuera: sus flechas miden el ancho de la tira al cargar. */
#ficha-tecnica, #equipamiento, #a-tener-en-cuenta, .cmp-cta { content-visibility: auto; contain-intrinsic-size: auto 700px; }
} /* fin de @layer legado */

/* Fuera de las capas: es una regla de la página, no de un elemento */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Capa "componentes" (fase 2): código nuevo u ordenado, que le gana a "legado" sin !important ---------- */
@layer componentes {
  /* Tarjeta de auto: se adapta a su propio ancho, no al de la pantalla. Si es angosta (como en un celular de 380 px
     o menos), "Ver ficha" se oculta y quedan "Consultar" y "Comparar". */
  .lcard { container: tarjeta / inline-size; }
  .lcard-actions {
    @container tarjeta (max-width: 348px) {
      grid-template-columns: 1fr 44px;
      & .btn-line { display: none; }
    }
  }
}
@layer legado {
/* CAR RETAIL PY · menú del celular y la tablet (panel lateral). Lo usan la portada y todas las páginas internas,
   en los tres idiomas. Se carga después de style.css (portada) o de comun.css (páginas internas) y no depende de ellos.

   Panel en tres zonas:
   · arriba, el logo (a su proporción, nunca estirado), el idioma (ES · EN · PT) y el botón de cerrar;
   · en el medio, los enlaces agrupados (Comprar · Vender y financiar · Conocenos), con ícono y texto en minúsculas;
   · abajo, siempre a mano, "Ver si califico" y WhatsApp.
   Se abre con la Popover API (funciona sin JavaScript); el JavaScript suma el bloqueo del fondo, el foco y deslizar para cerrar. */

.menu {
  position: fixed; inset: 0 0 0 auto; margin: 0; z-index: 90;
  width: min(384px, calc(100vw - 40px)) !important; height: 100dvh; max-height: none;
  padding: 0; gap: 0; overflow: hidden;
  border: 0; border-left: 1px solid rgb(255 255 255 / .1); border-radius: 0;
  background: #101217; color: #E1E4E8; box-shadow: -24px 0 60px -20px rgb(0 0 0 / .6);
  display: none; flex-direction: column;
}
@supports (backdrop-filter: blur(1px)) {
  .menu { background: rgb(16 18 23 / .95); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
}
.menu:popover-open { display: flex; flex-direction: column; transform: none; }
.menu::backdrop { background: rgb(0 0 0 / .55); }
@supports (backdrop-filter: blur(1px)) { .menu::backdrop { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); } }
@media (prefers-reduced-motion: no-preference) {
  .menu:popover-open { animation: mn-entra .3s cubic-bezier(.2, .8, .2, 1); }
  @keyframes mn-entra { from { transform: translateX(32px); opacity: 0; } }
}
/* Celulares angostos: el panel ocupa todo el ancho (con la franja de fondo no entraban el logo, el idioma y el botón de cerrar) */
@media (max-width: 359.98px) { .menu { width: 100vw !important; border-left: 0; } }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Cabecera del panel ---------- */
.mn-head { flex: none; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px 18px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.menu .mn-logo { display: block; flex: none; align-self: center; width: auto; max-width: none; height: 30px; margin: 0 auto 0 0; object-fit: contain; }
.mn-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .06); color: #E1E4E8; transition: background-color .15s; }
.mn-x svg { width: 20px; height: 20px; }
.mn-x:hover { background: rgb(255 255 255 / .12); }

/* Idioma: control segmentado con las banderas de España, Gran Bretaña y Brasil.
   El idioma elegido se marca con el fondo claro; los otros quedan un poco apagados hasta pasarles el dedo o el mouse. */
.menu-langs { flex: none; display: grid; grid-template-columns: repeat(3, 42px); gap: 2px; margin: 0; padding: 2px; border-radius: 999px;
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.menu .menu-langs a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0; border: 0; border-radius: 999px;
  text-decoration: none; transition: background-color .15s; }
.menu .menu-langs a:hover { padding-left: 0; background: rgb(255 255 255 / .1); }
.menu .menu-langs a[aria-current] { background: rgb(255 255 255 / .9); }
.menu .menu-langs a:not([aria-current]) .flag { opacity: .72; filter: saturate(.85); transition: opacity .15s, filter .15s; }
.menu .menu-langs a:hover .flag { opacity: 1; filter: none; }

/* ---------- Banderas (las usan el selector del header y el panel) ---------- */
/* "img.flag" y ".menu img.flag" le ganan a la regla vieja ".menu img" de style.css (alto de 70 px para el logo anterior) */
img.flag, .menu img.flag { display: block; flex: none; width: 24px; height: 16px; max-width: none; margin: 0; border-radius: 3px; object-fit: cover;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .22), 0 1px 3px rgb(0 0 0 / .35); }
.menu-langs a[aria-current] .flag { box-shadow: 0 0 0 1px rgb(11 27 58 / .18); }
/* Selector del header: el botón muestra la bandera del idioma actual; la lista, bandera y nombre */
.lang-sw summary { padding: 0 10px; gap: 0; }
.lang-sw summary img.flag { width: 22px; height: 15px; }
.lang-sw ul a { gap: 12px; }
.lang-sw ul a[aria-current]::before { content: none; }
.lang-sw ul a[aria-current]::after { content: ""; width: 6px; height: 11px; margin-left: auto; padding-left: 0; border: solid #7BA3F0; border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg); flex: none; }

/* ---------- Enlaces ---------- */
.mn-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 2px 12px 12px; }
/* Si quedan enlaces abajo, un degradé avisa que se puede deslizar */
.mn-body.has-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 36px), transparent); mask-image: linear-gradient(#000 calc(100% - 36px), transparent); }
.mn-label { margin: 16px 10px 4px; font: 700 11.5px/1.2 var(--font, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #8E96A3; }
.mn-label:first-child { margin-top: 12px; }
.mn-list { list-style: none; margin: 0; padding: 0; }
.mn-list li { margin: 0; padding: 0; }
.menu .mn-list a { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 10px; border: 0; border-radius: 12px;
  color: #E1E4E8; font: 500 17px/1.25 var(--font, system-ui, sans-serif); letter-spacing: 0; text-transform: none; text-decoration: none; transition: background-color .15s; }
.menu .mn-list a::after { content: none; }
.menu .mn-list a:hover, .menu .mn-list a:focus-visible { padding-left: 10px; background: rgb(255 255 255 / .07); color: #fff; }
.menu .mn-list a:active { background: rgb(255 255 255 / .11); }
.menu .mn-list a[aria-current="page"] { background: rgb(123 163 240 / .12); color: #fff !important; }
.mn-list svg { flex: none; width: 22px; height: 22px; color: #7BA3F0; }
.mn-badge { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: #C41E3A; color: #fff; font: 700 12.5px/24px var(--font, system-ui, sans-serif); text-align: center; }
.mn-badge:empty { display: none; }

/* ---------- Pie del panel: acciones principales ---------- */
.mn-foot { flex: none; display: grid; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgb(255 255 255 / .08); background: rgb(8 9 12 / .55); }
.menu .mn-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px;
  background: #164E9B; color: #fff; font: 700 16px/1.2 var(--font, system-ui, sans-serif); letter-spacing: 0; text-transform: none; text-decoration: none;
  text-align: center; cursor: pointer; transition: background-color .15s; }
.menu .mn-cta:hover { padding-left: 14px; background: #1D5FBC; }
.menu .mn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .04); color: #E1E4E8;
  font: 600 15.5px/1.2 var(--font, system-ui, sans-serif); letter-spacing: 0; text-transform: none; text-decoration: none; text-align: center; transition: border-color .15s, background-color .15s; }
.menu .mn-wa:hover { padding-left: 14px; border-color: rgb(37 211 102 / .6); background: rgb(37 211 102 / .08); color: #fff; }
.mn-wa svg { flex: none; width: 20px; height: 20px; color: #25D366; fill: currentColor; }

.menu :focus-visible { outline: 2px solid #7BA3F0; outline-offset: 2px; }

/* Celular acostado o pantalla baja: todo el panel se desplaza junto, así los enlaces no quedan apretados */
@media (max-height: 560px) {
  .menu:popover-open { overflow-y: auto; overscroll-behavior: contain; }
  .mn-body { flex: none; overflow: visible; }
}
/* En escritorio el menú del header alcanza: el panel no se usa */
@media (min-width: 1180.01px) { .menu:popover-open { display: none; } }
} /* fin de @layer legado */ @layer legado {
/* CAR RETAIL PY · bandeja del comparador y listado para elegir autos (un solo diseño para todo el sitio).
   Lo cargan la portada (después de style.css) y las páginas internas (después de comun.css). El HTML lo arma assets/bandeja.js.
   - Bandeja (.cmp-tray): barra flotante abajo; en el celular, acoplada al borde, con miniaturas, el "+" y el botón principal.
   - Listado (.cp): hoja que sube desde abajo en el celular y ventana centrada desde 700 px. */

/* ---------- Bandeja ---------- */
.cmp-tray {
  position: fixed; z-index: 40; left: 50%; bottom: 18px; translate: -50% 0;
  width: min(880px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px;
  background: var(--cx-glass-solid); color: var(--cx-silver); border: 1px solid var(--cx-line-2); border-radius: 16px;
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / .9); font-family: var(--font);
}
.cmp-tray[hidden] { display: none; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cmp-tray { background: var(--cx-glass); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
}
.cmp-slots { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cmp-slot {
  position: relative; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 30px 6px 6px;
  border-radius: 12px; background: var(--c-surface); font-size: 14px; font-weight: 600; line-height: 1.2;
}
.cmp-slot img { flex: none; width: 48px; height: 40px; object-fit: cover; border-radius: 8px; }
.cmp-slot span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cmp-slot button {
  position: absolute; top: 50%; right: 4px; translate: 0 -50%; width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--c-ink-2); font-size: 18px; line-height: 1; cursor: pointer;
}
@media (hover: hover) { .cmp-slot button:hover { background: var(--c-surface-2); color: var(--c-ink); } }
.cmp-actions { flex: none; display: flex; align-items: center; gap: 6px; }
.cmp-clear { padding: 8px; border: 0; background: none; color: var(--c-ink-2); font: 500 14px var(--font); text-decoration: underline; cursor: pointer; }
.cmp-go {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px;
  border: 1px solid var(--cx-blue); border-radius: 10px; background: var(--cx-blue); color: #fff;
  font: 700 15px/1 var(--font); letter-spacing: -.02em; white-space: nowrap; cursor: pointer;
}
@media (hover: hover) { .cmp-go:hover { background: var(--cx-blue-hi); border-color: var(--cx-blue-hi); } }

/* "Sumar auto": abre el listado ahí mismo */
.cmp-add {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 6px 12px; border: 1.5px dashed var(--c-line-2); border-radius: 12px;
  background: transparent; color: var(--c-ink); font: 600 14px/1.2 var(--font); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.cmp-add > span {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--action-primary); color: var(--on-action-primary, #fff); font-size: 18px; font-weight: 600; line-height: 1;
}
@media (hover: hover) {
  .cmp-add:hover { border-color: var(--action-primary); background: color-mix(in srgb, var(--action-primary) 8%, transparent); }
}
.cmp-tray :focus-visible, .cp :focus-visible { outline: 2px solid #7BA3F0; outline-offset: 2px; }

/* Aviso breve ("Listo. Elegí otro auto…") */
.cmp-toast {
  position: fixed; left: 50%; bottom: 96px; translate: -50% 16px; z-index: 60; max-width: calc(100% - 32px);
  padding: 10px 18px; border-radius: 999px; background: var(--brand-navy); color: #fff; font-size: 15px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s;
}
.cmp-toast.on { opacity: 1; translate: -50% 0; }

/* Con la bandeja a la vista, el botón flotante de WhatsApp y la barra fija de la ficha se ocultan (no se superponen) */
body.has-cmp .fab { opacity: 0; pointer-events: none; }
body.has-cmp .sticky-cta { display: none !important; }

/* Celular: acoplada abajo, con miniaturas, el "+" y el botón principal en una sola fila.
   "Quitar todos" queda dentro del listado. El contenido deja lugar para la barra. */
@media (max-width: 700px) {
  .cmp-tray {
    left: 0; right: 0; bottom: 0; translate: none; width: 100%; z-index: 45;
    border-radius: 16px 16px 0 0; border-inline: 0; border-bottom: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .cmp-slots { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; }
  .cmp-slot { flex: none; display: block; width: 52px; height: 48px; min-height: 0; padding: 0; border-radius: 10px; overflow: hidden; }
  .cmp-slot img { width: 52px; height: 48px; border-radius: 10px; }
  .cmp-slot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cmp-slot button { top: 2px; right: 2px; translate: none; width: 22px; height: 22px; background: rgb(0 0 0 / .55); color: #fff; font-size: 12px; }
  .cmp-add { flex: none; width: 48px; min-height: 48px; height: 48px; padding: 0; border-radius: 10px; }
  .cmp-add b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cmp-clear { display: none; }
  .cmp-go { padding-inline: 16px; }
  body.has-cmp { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-cmp .cmp-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .cmp-toast { transition: none; } }

/* ---------- Listado para elegir autos ---------- */
.cp {
  --cp-gap: 16px;
  position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; height: auto; max-height: 90dvh;
  margin: 0; padding: 0; border: 0; border-radius: 20px 20px 0 0;
  background: var(--c-card); color: var(--c-ink); font-family: var(--font);
  box-shadow: 0 -20px 50px -20px rgb(0 0 0 / .5); overflow: hidden;
}
/* Entra subiendo desde abajo (usa la transición general de los <dialog> de style.css / interior.css) */
.cp { opacity: 0; transform: translateY(48px); transition: opacity .2s, transform .25s ease-out, overlay .25s allow-discrete, display .25s allow-discrete; }
.cp[open] { display: flex; opacity: 1; transform: none; }
@starting-style { .cp[open] { opacity: 0; transform: translateY(48px); } }
.cp::backdrop { background: rgb(5 8 15 / .6); }
.cp-in { display: flex; flex-direction: column; width: 100%; min-height: 0; max-height: 90dvh; }

.cp-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px var(--cp-gap) 10px; }
/* Título en oración y DM Sans: es una herramienta, no un titular (los h2 del sitio usan Anton en mayúsculas) */
.cp .cp-h h2 { margin: 0 !important; font: 700 19px/1.25 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--c-ink); }
.cp-n { margin: 4px 0 0; color: var(--c-ink-2); font-size: 14px; }
.cp-x {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -6px 0 0;
  border: 0; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); font-size: 24px; line-height: 1; cursor: pointer;
}
.cp-s { padding: 0 var(--cp-gap) 10px; }
.cp-s input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 12px;
  background: var(--c-surface); color: var(--c-ink); font: 400 16px var(--font);
}
.cp-s input::placeholder { color: var(--c-ink-2); }
.cp-full { margin: 0 var(--cp-gap) 10px; padding: 10px 12px; border-radius: 12px; background: var(--c-surface); color: var(--c-ink); font-size: 14px; }
.cp-none { margin: 8px var(--cp-gap) 16px; color: var(--c-ink-2); font-size: 15px; }

.cp-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 2px var(--cp-gap) 12px; display: grid; gap: 8px; }
.cp-list li[hidden] { display: none; }
.cp-i {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 8px 12px 8px 8px;
  border: 1.5px solid var(--c-line); border-radius: 14px; background: var(--c-card); color: var(--c-ink);
  font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.cp-i img { flex: none; width: 72px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--img-bg, var(--c-surface)); }
.cp-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cp-tx b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.cp-tx small { color: var(--c-ink-2); font-size: 13px; line-height: 1.3; }
.cp-tag {
  align-self: flex-start; margin-top: 2px; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--action-primary) 12%, transparent); color: var(--c-ink); font-size: 12.5px; font-style: normal; font-weight: 600;
}
/* Indicador: círculo vacío con "+" → círculo lleno con ✓ */
.cp-ck {
  position: relative; flex: none; width: 28px; height: 28px; border: 2px solid var(--c-line-2); border-radius: 50%;
}
.cp-ck::before, .cp-ck::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--c-ink-2); translate: -50% -50%; border-radius: 1px; }
.cp-ck::before { width: 12px; height: 2px; }
.cp-ck::after { width: 2px; height: 12px; }
.cp-i[aria-pressed="true"] { border-color: var(--action-primary); background: color-mix(in srgb, var(--action-primary) 8%, var(--c-card)); }
.cp-i[aria-pressed="true"] .cp-ck { border-color: var(--action-primary); background: var(--action-primary); }
.cp-i[aria-pressed="true"] .cp-ck::before { width: 6px; height: 11px; background: none; border: solid var(--on-action-primary, #fff); border-width: 0 2.5px 2.5px 0; border-radius: 0; rotate: 45deg; translate: -50% -62%; }
.cp-i[aria-pressed="true"] .cp-ck::after { display: none; }
.cp-i[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
@media (hover: hover) { .cp-i:not([aria-disabled="true"]):hover { border-color: var(--action-primary); } }

.cp-f {
  display: flex; align-items: center; gap: 10px; padding: 12px var(--cp-gap) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-line); background: var(--c-card);
}
.cp-clear { flex: none; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--c-ink-2); font: 500 14px var(--font); text-decoration: underline; cursor: pointer; }
.cp-clear[hidden] { display: none; }
.cp-go {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--action-primary); color: var(--on-action-primary, #fff);
  font: 700 16px var(--font); cursor: pointer;
}
.cp-go:disabled { background: var(--c-surface); color: var(--c-ink-2); cursor: default; box-shadow: none; }

/* Desde 700 px: ventana centrada */
@media (min-width: 701px) {
  .cp { inset: 0; width: min(560px, calc(100% - 48px)); max-height: min(760px, calc(100dvh - 64px)); margin: auto; border-radius: 20px; box-shadow: 0 30px 70px -20px rgb(0 0 0 / .6); }
  .cp-in { max-height: min(760px, calc(100dvh - 64px)); }
  .cp { transform: scale(.97); }
  .cp[open] { transform: none; }
  @starting-style { .cp[open] { transform: scale(.97); } }
  .cp-h { padding: 22px 22px 12px; }
  .cp { --cp-gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { .cp, .cp[open] { transition: none; transform: none; } }
html:has(.cp[open]) { overflow: hidden; }
} /* fin de @layer legado */
