
@layer tokens, base, legado, componentes, paginas, utilidades;
/* Estilos de la portada, en el mismo orden de siempre (un solo archivo de entrada: así el orden no cambia al empaquetar) */
/* 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 la portada (las comunes están en assets/tokens.css) */
  :root {
    --bg: #F5F6F8;
    --bg-2: #FFFFFF;
    --blue: #164E9B;
    --blue-hi: #164E9B;
    --c-chip: #EEF0F3;
    --c-focus: #164E9B;
    --c-footer: #08090B;
    --c-link: #164E9B;
    --c-price: #0B1B3A;
    --c-surface-2: #EEF0F3;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --ed: "DM Sans", "Segoe UI", Arial, sans-serif;
    --fs-body: 17px;
    --fs-h1: clamp(40px, 5.6vw, 80px);
    --fs-h2: clamp(30px, 3.4vw, 46px);
    --fs-h3: clamp(19px, 1.5vw, 22px);
    --fs-label: 13px;
    --fs-lead: 19px;
    --fs-price: clamp(24px, 2.2vw, 30px);
    --fs-sm: 15px;
    --gold: #1B2433;
    --gutter: clamp(16px, 4vw, 40px);
    --line-2: rgb(11 27 58 / .20);
    --max: 1200px;
    --muted: #5E6470;
    --panel: #FFFFFF;
    --panel-2: #EEF0F3;
    --py-blue: #164E9B;
    --py-navy: #0B1B3A;
    --py-red: #AD162F;
    --radius: 14px;
    --radius-pill: 999px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(11 27 58 / .06), 0 14px 30px -16px rgb(11 27 58 / .18);
    --wa: #25D366;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0b0c10;
      --bg-2: #121419;
      --blue: #7BA3F0;
      --blue-hi: #7BA3F0;
      --c-chip: #1b1f27;
      --c-focus: #7BA3F0;
      --c-footer: #08090c;
      --c-link: #7BA3F0;
      --c-price: #F8F8F8;
      --c-surface-2: #1a1d24;
      --gold: #F8F8F8;
      --line-2: #313641;
      --muted: #A4ABB6;
      --panel: #15181e;
      --panel-2: #1a1d24;
      --py-blue: #6e93ff;
      --py-red: #ff5a4c;
      --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 16px 34px -14px rgb(0 0 0 / .7);
    }
  }
  :root[data-theme="dark"] {
    --bg: #0b0c10;
    --bg-2: #121419;
    --blue: #7BA3F0;
    --blue-hi: #7BA3F0;
    --c-chip: #1b1f27;
    --c-focus: #7BA3F0;
    --c-footer: #08090c;
    --c-link: #7BA3F0;
    --c-price: #F8F8F8;
    --c-surface-2: #1a1d24;
    --gold: #F8F8F8;
    --line-2: #313641;
    --muted: #A4ABB6;
    --panel: #15181e;
    --panel-2: #1a1d24;
    --py-blue: #6e93ff;
    --py-red: #ff5a4c;
    --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 16px 34px -14px rgb(0 0 0 / .7);
  }
}
@layer legado {
/* CAR RETAIL PY · hoja de estilos de la portada.
   Depurada automáticamente: solo quedan las reglas y declaraciones que se aplican en algún estado del sitio
   (claro/oscuro, celular a escritorio, comparador, pre-evaluación, menú y filtros). Verificado contra la versión anterior.
   Los tokens de diseño (colores, tipografía, radios) están en las variables --c-*, --brand-*, --font y --fs-*. */
:root {
  
  
  
  interpolate-size: allow-keywords;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font: 400 18px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a {
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  font: 700 15px/1 var(--serif);
  cursor: pointer;
  white-space: nowrap;
}
.btn:active {
  translate: 0 1px;
}



.btn-sm {
  padding: 0 20px;
}
.btn-block {
  width: 100%;
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
}
.top-in {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img {
  width: auto;
}
@supports (animation-timeline: scroll()) {
  .top-in {
    animation: shrink linear both;
    animation-timeline: scroll(root);
    animation-range: 0 200px;
  }
  .brand img {
    animation-timeline: scroll(root);
    animation-range: 0 200px;
  }
  @keyframes shrink {to { min-height: 76px; }}
  @keyframes shrinklogo {to { height: 54px; }}
}
.nav {
  display: flex;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  scale: 0 1;
  transition: scale .3s var(--ease);
}
.nav a:hover::after {
  scale: 1 1;
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.icon-btn svg {
  width: 28px;
  height: 28px;
}
.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex: none;
}
.menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  transform-origin: 0 50%;
  transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: grow linear both;
    animation-timeline: scroll(root);
  }
  @keyframes grow {to { transform: scaleX(1); }}
}
.sec-title {
  display: grid;
}

.sec-title::after {
  content: "";
  width: 150px;
  height: 1px;
  background: var(--line-2);
  margin-top: 8px;
}
.sec-title .lead {
  max-width: 56ch;
  margin-top: 4px;
}
.brands-in {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.brands-label {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 18px 28px 18px 0;
  border-right: 1px solid var(--line);
}
.brands-label b {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
}
.brands-label span {
  font-size: 14px;
}
.brands-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.brands-scroll::-webkit-scrollbar {
  display: none;
}
.brands-row {
  display: flex;
  min-width: 100%;
}
.brand-btn {
  flex: 1 0 auto;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 22px;
  cursor: pointer;
  position: relative;
}

.brand-btn::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: var(--red);
  scale: 0 1;
  transition: scale .3s var(--ease);
}

.brand-btn:hover::after {
  scale: .5 1;
}
.brand-btn[aria-pressed="true"]::after {
  scale: 1 1;
}
.brand-btn b {
  font-size: clamp(20px, 1.9vw, 26px);
  text-transform: uppercase;
  transition: color .2s, letter-spacing .3s var(--ease);
}
.brand-btn:hover b {
  letter-spacing: .24em;
}
.brand-btn small {
  text-transform: uppercase;
  letter-spacing: .14em;
}
.brands-row:has(.brand-btn[aria-pressed="true"]) .brand-btn:not([aria-pressed="true"]) b {
  color: var(--muted);
}
@media (max-width: 760px) {
  .brands-in {
    flex-direction: column;
  }
  .brands-label {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand-btn {
    min-width: 128px;
    padding: 16px 14px;
  }
}
.types {
  margin-bottom: 26px;
}
.types-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.types-reset {
  border: 0;
  background: none;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.types-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.types-scroll::-webkit-scrollbar {
  display: none;
}
.types-row {
  display: grid;
}
.type {
  flex-direction: column;
  align-items: center;
}
.type:hover {
  translate: 0 -3px;
}
.type svg {
  height: auto;
  transition: transform .35s var(--ease);
}

.types-row:has(.type[aria-pressed="true"]) .type:not([aria-pressed="true"]):hover {
  opacity: 1;
}
.car-body {
  stroke-linejoin: round;
}
.car-tire {
  stroke-width: .8;
}
.car-line {
  fill: none;
  stroke-width: 1.2;
}
.car-badge {
  stroke-width: 1.2;
}
.car-leaf {
  stroke-width: 1.2;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  align-items: center;
}
.chip {
  padding: 0 20px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}

.search {
  position: relative;
  flex: 1 1 240px;
  max-width: 340px;
  margin-left: auto;
}
.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 19px;
  height: 19px;
  color: var(--red-hi);
}
.in {
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
  font-size: 17px;
  transition: border-color .2s;
}
.in:focus {
  outline: none;
}
.search .in {
  padding-left: 44px;
}
select.in option {
  background: var(--panel);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 32px;
}
.card {
  container: card / inline-size;
  display: flex;
  min-width: 0;
}
.card:hover {
  translate: 0 -5px;
}

.card-img {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.card:hover .card-img .fi {
  filter: brightness(1.08);
}
.cond {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  background: rgb(10 9 9 / .75);
  border: 1px solid var(--line-2);
  text-transform: uppercase;
}
.cond.new {
  border-color: var(--red);
}
.pics {
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 14px;
}
.card-body {
  display: flex;
}

.card h3 small {
  display: block;
  text-transform: none;
  letter-spacing: 0;
}
.empty {
  border: 1px dashed var(--line-2);
  padding: 48px 24px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  margin-top: 24px;
}
.empty img {
  height: 90px;
  width: auto;
}
.empty h3 {
  font-size: 30px;
}
.empty p {
  color: var(--muted);
  max-width: 48ch;
}





.ask {
  border-top: 3px solid var(--red);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-2);
}
.seg label {
  position: relative;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.seg span {
  display: grid;
  place-items: center;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.seg input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}



.check {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}


.ask small {
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.adv-in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-image: linear-gradient(90deg, var(--red) 33%, #fff 33% 66%, var(--blue) 66%) 1;
}
.adv-mark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 800;
}
.adv-in p {
  margin-top: 8px;
  max-width: 58ch;
}

.foot a {
  text-underline-offset: 4px;
}


.fab {
  position: fixed;
  width: 60px;
  display: grid;
}
.fab:hover {
  scale: 1.08;
}

dialog {
  border: 0;
  padding: 0;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 60px 120px -40px rgb(0 0 0);
  opacity: 0;
  transform: translateY(30px) scale(.98);
  transition: opacity .3s, transform .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete;
}
dialog[open] {
  opacity: 1;
  transform: none;
}
@starting-style  {dialog[open] { opacity: 0; transform: translateY(30px) scale(.98); }}
dialog::backdrop {
  background: rgb(0 0 0 / 0);
  transition: background .35s, backdrop-filter .35s, overlay .35s allow-discrete, display .35s allow-discrete;
}
dialog[open]::backdrop {
  background: rgb(0 0 0 / .8);
  backdrop-filter: blur(6px);
}
@starting-style  {dialog[open]::backdrop { background: rgb(0 0 0 / 0); }}
body:has(dialog[open]), body:has(.menu:popover-open) {
  overflow: hidden;
}
.fit {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}
.fit > .fb {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  max-width: none;
  object-fit: cover;
  filter: blur(22px) brightness(.4) saturate(.85);
}
.fit > .fi, .fit > :where(picture) > .fi {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.dlg-x {
  position: absolute;
  width: 44px;
  z-index: 3;
}

.menu {
  margin: 0;
  width: min(340px, 88vw);
  display: none;
  transform: translateX(100%);
  transition: transform .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete;
}
.menu:popover-open {
  display: flex;
}
@starting-style  {.menu:popover-open { transform: translateX(100%); }}

.menu img {
  width: auto;
  margin-bottom: 18px;
}
.menu a {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.menu-close {
  margin-top: auto;
  min-height: 50px;
  border: 1px solid var(--line-2);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  translate: -50% 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  font-size: 16px;
  z-index: 60;
}
@media (prefers-reduced-motion: no-preference) {
  @starting-style  {.slide.is-on > * { opacity: 0; translate: 0 18px; }}
}
@media (max-width: 1080px) {
  
  dialog {
    overflow-y: auto;
  }
  .adv-in {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .adv-in .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 820px) {
  .nav, .top .btn-red {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .top-in {
    gap: 10px;
  }
  .top-in .icon-btn {
    margin-left: auto;
  }
  
}
@media (max-width: 640px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .search {
    max-width: none;
    margin-left: 0;
    flex-basis: 100%;
  }
  .adv-in {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
  .adv-mark {
    width: 84px;
    height: 84px;
    font-size: 32px;
  }
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding-block: 12px;
  }
  
}
@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after, ::backdrop {
    animation: none !important;
    transition: none !important;
  }
}
.link-cta {
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: text-decoration-color .2s;
}

.link-cta span {
  transition: translate .25s var(--ease);
}
.link-cta:hover span {
  translate: 4px 0;
}

.quiz {
  width: min(560px, calc(100% - 24px));
}
.quiz-in {
  position: relative;
  display: grid;
  gap: 22px;
}
.quiz-head {
  display: grid;
}

.quiz-bar {
  overflow: hidden;
}
.quiz-bar i {
  display: block;
  width: 33%;
}

.q {
  margin: 0;
  display: grid;
  gap: 14px;
}
.q legend {
  margin-bottom: 14px;
}
.opts {
  display: grid;
}
.opt {
  position: relative;
}
.opt input {
  position: absolute;
  inset: 0;
}
.opt span {
  display: grid;
  gap: 4px;
  min-height: 110px;
  align-content: center;
}


.opt:hover span {
  translate: 0 -2px;
}

.opt input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.done-msg {
  line-height: 1.3;
}

.done-list {
  margin: 0;
  display: grid;
  border: 1px solid var(--line);
}
.done-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.done-list li:last-child {
  border-bottom: 0;
}
.done-list span {
  color: var(--muted);
}
.quiz-nav {
  display: flex;
}








.vc-price {
  display: grid;
  gap: 6px 20px;
  align-items: end;
}
.vc-price small {
  display: block;
  text-transform: uppercase;
}
.vcard .vc-cuota b, .vc-price .vc-cuota b, #grid .vc-cuota b {
  font-size: clamp(26px, 2.4vw, 32px) !important;
  font-weight: 800 !important;
  line-height: 1.05;
}
.vcard .btn-block {
  margin-top: auto;
}
@container card (max-width: 320px) {
  
  
}
@media (max-width: 640px) {
  
  .opt span {
    min-height: 0;
  }
}
.accent-line {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--blue-hi) 66.6%);
  position: relative;
  z-index: 51;
}
.top {
  --hh: 92px;
  backdrop-filter: none;
}
.top-in {
  min-height: var(--hh);
}
@supports (animation-timeline: scroll()) {
  .top {
    animation-timeline: scroll(root);
    animation-range: 0 160px;
  }
  @keyframes solidify {70%, to { background: rgb(10 9 9 / .94); border-bottom-color: var(--line); }}
}
.nav {
  gap: 26px;
}














@media (max-width: 820px) {
  .top {
    --hh: 76px;
  }
}





.top, .menu, .foot, .accent-line {
  --bg: #07090f;
  --bg-2: #0d1220;
  --panel: #141a2a;
  --line: rgb(255 255 255 / .1);
  --line-2: rgb(255 255 255 / .22);
  --ink: #f5f6f8;
  --muted: #b7bfcf;
  --gold: #f2b632;
  color: var(--ink);
}
@supports (animation-timeline: scroll()) {
  
  @keyframes solidnavy {70%, to { background: rgb(11 29 74 / .97); border-bottom-color: rgb(255 255 255 / .08); }}
}
.nav {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.nav a::after {
  background: #fff;
}
.btn {
  text-transform: none;
}


.link-cta {
  text-transform: none;
  letter-spacing: 0;
  text-decoration-color: transparent;
}
.link-cta:hover {
  text-decoration-color: currentColor;
}

.sec-title {
  justify-items: start;
  text-align: left;
  margin-bottom: 28px;
  gap: 6px;
}
.sec-title::after {
  display: none;
}
.sec-title h2, .h2, .row-title h2 {
  text-transform: none;
  letter-spacing: 0;
}
.sec-title .lead {
  color: var(--muted);
}
.row-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}



.brand-btn[aria-pressed="true"] b {
  color: var(--red);
}
.types-head h3 {
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.type {
  isolation: isolate;
}
.type::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8px;
  left: 50%;
  translate: -50% 0;
  width: min(132px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e7eefb;
  transition: background .25s, scale .25s var(--ease);
}
.type:hover {
  translate: 0 -2px;
}
.type:hover::before {
  background: #d8e3f8;
  scale: 1.04;
}
.type b {
  text-transform: none;
}
.type[aria-pressed="true"]::before {
  background: #fde3e0;
  box-shadow: inset 0 0 0 2px var(--red);
}
.chip {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}


.card, .vcard {
  overflow: hidden;
}


.vcard h3 {
  text-transform: none;
  letter-spacing: 0;
}

.cond, .pics {
  color: #fff;
}

.ask {
  border-radius: 14px;
  box-shadow: var(--shadow);
  border-top-width: 4px;
}
.seg span {
  text-transform: none;
  letter-spacing: 0;
}
.adv-in {
  border-radius: 14px;
}


.empty {
  border-radius: 14px;
}
.empty h3 {
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
}
.empty img {
  filter: invert(1) hue-rotate(180deg);
}










.opt b {
  text-transform: none;
  letter-spacing: 0;
}

.done-list b {
  color: var(--red);
}


.card, .vcard, .type, .steps li, .reveal {
  animation: none !important;
  opacity: 1;
}

.vc-price {
  grid-template-columns: 1fr;
}
.vc-cuota {
  text-align: left;
}

.vcard h3 a:hover {
  text-decoration: underline;
}
.faq details {
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
}
.faq p {
  margin-top: 10px;
  max-width: 70ch;
}
.active-f {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
}
.af-l {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.af-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--navy, #0b1d4a);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.af-tag span {
  font-size: 18px;
  line-height: 1;
  opacity: .7;
}
.af-tag:hover span {
  opacity: 1;
}
.af-clear {
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px;
}
#empty-reset {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}































body {
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
}
.num, .vc-price b, .price {
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, .h2 {
  font-family: var(--font);
  color: var(--c-ink);
  letter-spacing: -.02em;
}
.sec h2, .row-title h2, .sec-title h2, .h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.04;
  color: var(--c-ink);
}
h1 em, h2 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.brand-btn .new, .brand-btn small .new, .new:not(.cond) {
  color: var(--c-accent-text);
}

.link-cta span {
  color: var(--c-accent-text);
}

p, li {
  color: inherit;
}
a {
  color: inherit;
}

.top.solid, .top {
  --ink: #fff;
}
@supports (animation-timeline: scroll()) {
  @keyframes solidnavy {70%, to { background: color-mix(in srgb, var(--c-header) 97%, transparent); border-bottom-color: rgb(255 255 255 / .08); }}
}
.btn {
  padding-inline: 24px;
  gap: 10px;
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled], .btn[aria-disabled="true"] {
  pointer-events: none;
}




.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}


.wa-ic svg {
  width: 16px;
  height: 16px;
}







.vcard h3, .vcard h3 a {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--c-ink);
}

.vc-cuota small, .price small {
  font-size: var(--fs-label);
  letter-spacing: .1em;
  color: var(--c-ink-2);
}
.vcard .vc-cuota b, .vc-price .vc-cuota b, #grid .vc-cuota b {
  color: var(--c-price);
  letter-spacing: -.02em;
}


.cond.new {
  background: var(--brand-red);
  color: #fff;
}
.pics {
  background: rgb(8 12 24 / .72);
  color: #fff;
  border-radius: 6px;
}
.brands, .brands-row, .brand-btn {
  background: var(--c-bg);
  border-color: var(--c-line);
}

.brand-btn small {
  font-size: var(--fs-label);
}
.brand-btn[aria-pressed="true"] {
  background: var(--c-surface);
}



.adv-in, .ask, .faq details, .empty {
  background: var(--c-card);
  border-color: var(--c-line);
  color: var(--c-ink);
}
.adv-in p, .faq p, .lead {
  color: var(--c-ink-2);
}
.in, .ask .in, select.in, .search input {
  background: var(--c-bg);
  color: var(--c-ink);
  border-color: var(--c-line-2);
}
.in::placeholder, .search input::placeholder {
  color: var(--c-ink-2);
  opacity: .85;
}

.seg {
  border-color: var(--c-line-2);
}
.seg span {
  color: var(--c-ink-2);
}
.seg input:checked + span {
  background: var(--c-ink);
  color: var(--c-bg);
}
.chip {
  font-size: var(--fs-sm);
}

.af-tag {
  background: var(--c-chip);
  color: var(--c-ink);
  border-color: var(--c-line-2);
}
.af-clear {
  color: var(--c-link);
}







dialog, .quiz, .dlg {
  background: var(--c-card);
  color: var(--c-ink);
}
.theme-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  transition: background .2s, border-color .2s;
}

.theme-btn svg {
  width: 20px;
  height: 20px;
}



@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;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
.vcard .vc-cuota.is-ask b, #grid .vc-cuota.is-ask b {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ink-2);
}
.foot .copy, .foot button {
  padding-inline: 14px;
}


.types-row {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
  padding: 4px 2px 6px;
}
.type {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  gap: 2px;
  padding: 18px 12px 16px;
  cursor: pointer;
}
.type::before {
  display: none;
}
.type:hover {
  box-shadow: var(--c-shadow);
  translate: 0 -2px;
}
.type svg {
  width: 100%;
  max-width: 132px;
  margin: 0 0 10px;
}
.type:hover svg {
  transform: translateX(4px);
}
.type b {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-ink);
}
.type small {
  font-size: var(--fs-label);
  color: var(--c-ink-2);
  font-variant-numeric: tabular-nums;
}
.type[aria-pressed="true"] {
  border: 1.5px solid var(--brand-red);
  background: var(--c-chip);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-red) 18%, transparent);
}
.type[aria-pressed="true"] b {
  color: var(--c-accent-text);
}
.type .car-ground {
  fill: var(--c-surface-2);
}
.type .car-body {
  stroke: var(--c-ink);
  stroke-width: 1.6;
}
.type .car-glass {
  fill: color-mix(in srgb, var(--c-link) 35%, var(--c-surface));
}
.type .car-trim {
  fill: var(--brand-red);
}
.type .car-line {
  stroke: var(--c-ink);
}
.type .car-tire {
  fill: var(--c-ink);
  stroke: none;
}
.type .car-rim {
  fill: var(--c-surface-2);
  stroke: var(--c-ink);
  stroke-width: 1;
}
.type .car-hub {
  fill: var(--c-ink);
}
.type .car-badge, .type .car-leaf {
  fill: var(--brand-red);
  stroke: none;
}
.type .car-badge-ink {
  fill: #fff;
}
.types-head h3 {
  font-size: var(--fs-h3);
  color: var(--c-ink);
}
.types-reset {
  color: var(--c-link);
}
@media (max-width: 900px) {
  .types-row {
    grid-template-columns: repeat(5, 132px);
  }
  .type svg {
    max-width: 104px;
  }
}









.brands {
  margin-top: 28px;
}

.foot.ft {
  padding: 0;
  color: #c9d3e8;
  border: 0;
  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-cta h2 {
  margin: 0;
}

.ft .ft-wa {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 16px;
  text-decoration: none;
}
.ft .ft-wa:hover {
  text-decoration: none;
}
.ft-grid {
  display: grid;
  padding-block: 44px;
}

.ft-brand p {
  margin: 14px 0 18px;
  max-width: 32ch;
  color: #b9c5e0;
}
.ft-phone {
  display: flex;
}
.ft-phone a {
  letter-spacing: .01em;
}
.ft-phone button {
  border-radius: 999px;
}

.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-cta {
    padding-block: 40px 32px;
  }
  .ft .ft-wa {
    width: 100%;
  }
  .ft-grid {
    padding-block: 36px;
  }
  .ft-brand {
    grid-column: 1 / -1;
  }
  .ft-bottom {
    padding-bottom: 96px;
  }
}


.cmp-toggle {
  display: inline-flex;
  gap: 8px;
  font: 600 14px/1 var(--font);
}


















.cmp-dlg {
  width: min(1180px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  display: none;
}
.cmp-dlg[open] {
  display: flex;
  flex-direction: column;
}
.cmp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--c-line);
}
.cmp-head h2 {
  margin: 0;
}
.cmp-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cmp-share {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line-2);
  background: transparent;
  color: var(--c-ink);
  font: 600 14px var(--font);
  cursor: pointer;
}
.cmp-x {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--c-surface);
  color: var(--c-ink);
  font-size: 24px;
  cursor: pointer;
}
.cmp-scroll {
  overflow: auto;
}








.cmp-cta td {
  border-bottom: 0;
}
.cmp-cta .btn {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
  padding-inline: 12px;
}
.cmp-cta .link-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
}




@media (max-width: 700px) {
  
  
  
  
  
  
  
  
  .cmp-dlg {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
    max-width: none;
  }
  
  .cmp-share {
    display: none;
  }
}

















.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}



/* ====================================================================
   Tarjetas de vehículos · glassmorphism (claro y oscuro)
   ==================================================================== */

.card, .vcard {
  position: relative;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  overflow: hidden;
  isolation: isolate;
}
.card::before, .vcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 70%, transparent), transparent 40%, transparent 60%, color-mix(in srgb, var(--red) 60%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 2;
}
.card:hover, .vcard:hover, .card:focus-within, .vcard:focus-within {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c-ink) 24%, transparent);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .18),
    inset 0 -24px 48px -24px color-mix(in srgb, var(--c-ink) 14%, transparent),
    0 22px 50px -18px rgb(0 0 0 / .45),
    0 0 0 1px color-mix(in srgb, var(--blue) 25%, transparent);
}
.card:hover::before, .vcard:hover::before, .card:focus-within::before, .vcard:focus-within::before { opacity: 1; }
.vcard .card-img { overflow: hidden; }
.vcard .card-img img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.vcard:hover .card-img img { transform: scale(1.04); }




@media (prefers-reduced-motion: reduce) {
  
  .card:hover, .vcard:hover, .vcard:hover .card-img img { transform: none; }
}

/* ====================================================================
   Panel de búsqueda · cristal flotante
   ==================================================================== */


/* Pestañas */







/* Selectores */



/* Botón Buscar */





/* ====================================================================
   Portada v4: el auto entero, nítido y sin zoom (foto vertical 3:4)
   ==================================================================== */
















 




/* Tarjetas y oferta: foto vertical entera, sin marco ni recorte */



/* ====================================================================
   Refinamiento premium: grafito / obsidiana, rojo más profundo
   ==================================================================== */




/* Botones con gradiente discreto */


/* Flechas de carrusel: cristal oscuro */




/* Tarjetas: elevación moderada */
.card:hover, .vcard:hover, .card:focus-within, .vcard:focus-within { transform: translateY(-4px); }

/* Flechas del carrusel: discretas, de vidrio claro, más chicas */


 





/* ====================================================================
   Comparador v2: rápido, claro y con WhatsApp a un toque
   ==================================================================== */
.cmp-dlg { --cx-lab: 170px; --cx-cols: var(--cx-lab) repeat(var(--n, 2), minmax(0, 1fr)); }
.cmp-head { padding: 14px 18px; }
.cmp-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 18px 8px; }
.cx-wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.cx-wa .wa-ic { width: 20px; height: 20px; }
.cx-wa .wa-ic svg { width: 12px; height: 12px; }
.cx-pick { margin: 22px 0 8px; }
.cx-pick-t { margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.cx-pick-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cx-pick-b { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.cx-pick-b img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex: none; }
.cx-pick-b span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cx-pick-b b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-pick-b small { font-size: 13px; color: var(--c-muted, var(--muted)); }
.cx-pick-b i { font-style: normal; width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-red); color: #fff; font-size: 20px; font-weight: 700; }
@media (hover: hover) { .cx-pick-b:hover { border-color: var(--brand-red); }  }
.cx-pick-b:active { transform: scale(.98); }
.cx-empty { padding: 18px 0; }
.cx-empty-t { font-size: 17px; margin: 0 0 6px; }
.cx-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); background: var(--c-card); }
.cx-foot:empty { display: none; }
.cx-copy { min-height: 46px; padding: 0 16px; font: 600 14px var(--font); cursor: pointer; }

@media (max-width: 700px) {
  .cmp-dlg[open] { height: 100dvh; max-height: 100dvh; width: 100%; max-width: none; margin: 0; border-radius: 0; }
  .cmp-head { padding: 10px 14px; }
  .cmp-scroll { padding: 0 12px 8px; }
  
  .cx-wa .wa-ic { display: none; }
  .cx-pick-row { grid-template-columns: minmax(0, 1fr); }
  .cx-foot { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .cx-foot-wa { flex: 1; min-width: 0; padding-inline: 12px; }
  .cx-copy { padding: 0 12px; }
  .cx-foot-alt { flex: 1; }
  /* Bandeja compacta en el celular: miniaturas + botón */
  
  
  
  
  
  
  
  
  
  
  
  
}


/* Íconos de la tarjeta: 2 en autos 0 km (sin kilometraje), 3 en usados */

/* 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; }




@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; }  }

/* ====================================================================
   Identidad CAR RETAIL (logo): azul marino, rojo y blanco de la bandera.
   Títulos en Archivo; se reemplaza la serif cursiva por énfasis de color.
   ==================================================================== */




h1 em, h2 em, .ft-cta h2 em { font-family: var(--font-display); font-style: normal; font-weight: inherit; color: var(--py-red); }



/* Kicker con la franja de la bandera */
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; flex: none; width: 28px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--py-red) 0 33%, #fff 33% 66%, var(--py-blue) 66%); box-shadow: 0 0 0 1px var(--c-line); }

@media (min-width: 1024px) {
  /* Header */
  
  .nav a { font-weight: 600; opacity: .88; transition: opacity .2s; }
  .nav a:hover, .nav a[aria-current] { opacity: 1; }
  /* Portada: fondo marino con luces roja y azul del logo */
  
  
  
  /* Títulos de sección más ordenados */
  
  /* Oferta destacada: tarjeta contenida y alineada al resto */
  /* "La diferencia": números con la franja de la bandera */
  /* "A pedido": texto alineado arriba, sin hueco */
  
  /* Pie: franja tricolor arriba */
  .foot { border-image: linear-gradient(90deg, var(--py-red) 0 33.3%, #fff 33.3% 66.6%, var(--py-blue) 66.6%) 1; }
}
/* Etiqueta del hero en tamaño fijo y legible */

/* Nosotros, misión y visión */


.nos-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--c-ink-2, var(--muted)); max-width: 65ch; }










/* ====================================================================
   SISTEMA DE DISEÑO OFICIAL CAR RETAIL PY (kit de marca, 27/10/2026)
   Fuente de verdad: tokens.json del sistema de diseño. Esta capa va al final y manda.
   ==================================================================== */




/* Tipografía: Montserrat 700 en títulos, precios y números; Inter en texto */
h1, h2, h3, .sec-title h2, .brand-btn b, .vc-cuota b { font-stretch: normal; }
.kicker { font-weight: 700; text-transform: uppercase; }


/* Rojo solo en el hero y en 1–2 títulos clave */
h1 em, h2 em { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; }



/* Botones: 6px, 15px 700, -0.02em. Pastilla solo para el botón flotante de WhatsApp */
.btn, .cx-copy, .cx-wa, .vers li a, .cmp-btn, .share, .chip, .cmp-toggle, .af-tag, .af-clear, .types-reset, .menu-close {
  border-radius: var(--radius-btn); }
.btn, .cx-copy, .cx-wa, .vers li a {
  font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
/* Primario: azul marino */


/* Sobre el azul marino del hero el primario va en blanco para no perderse */


/* Acento rojo: solo "Ver si califico" */
.btn-red { border: 1px solid var(--brand-red); box-shadow: none; }

/* Secundario: contorno azul marino */
.btn-line, .cx-copy { background: transparent; color: var(--action-primary); border: 1.5px solid var(--action-primary); }

/* Neutro: gris acero */

/* WhatsApp: siempre verde con texto azul marino */
.btn-wa, .btn[href*="wa.me"], .cx-wa, .vers li a, .ft-wa {
  background: var(--wa-green); color: #0B1B3A; border: 1px solid var(--wa-green); box-shadow: none; }
@media (hover: hover) { .btn-wa:hover, .btn[href*="wa.me"]:hover, .cx-wa:hover, .vers li a:hover { background: #1FBE5B; border-color: #1FBE5B; } }



/* Foco visible en todo lo interactivo */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* 1. Fondo claro mientras carga la foto (nada de cuadros negros) */
.fit, .card-img { background: var(--img-bg); }
.fit > .fb { opacity: .35; }

/* 3. Logo del header: versión simplificada, legible */
.brand img { height: 44px; width: auto; animation: none; }
@media (min-width: 1024px) { .brand img { height: 48px; } }

/* 5. Precio principal grande y la otra moneda como referencia */


/* 6. Menos espacio vacío entre "Te atiende Emanuel" y "Nosotros" */

#nosotros { padding-top: 24px; }

/* 10. Pie: derechos y aviso en dos líneas */
.ft-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

/* Tarjetas de autos: radio y sombra del sistema */

:root[data-theme="dark"] .vcard { box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vcard { box-shadow: 0 2px 8px rgba(0, 0, 0, .4); } }
.nos-lead a, .prose a, .link-cta { color: var(--c-link); }

/* Texto secundario sobre fondos grises: un tono más oscuro para mantener 4.5:1 */



/* Hero azul marino también en celular y tablet */



/* ====================================================================
   Más ritmo visual (27/10): bandas de color, acentos diagonales de marca,
   micro-movimiento y WhatsApp verde solo donde importa.
   ==================================================================== */
/* WhatsApp: verde lleno solo en el flotante, la ficha y los cierres. En tarjetas y comparador, botón sereno con el ícono verde */





/* "Por qué comprar": banda azul marino con números grandes */

/* Hero: dos trazos diagonales (rojo y dorado) como en las piezas de la marca */



/* Nosotros sobre fondo levemente gris para cortar la monotonía */
#nosotros { background: var(--c-surface); padding-bottom: 56px; }


/* Marcas: tarjetas que reaccionan */

@media (hover: hover) { .brand-btn:hover { transform: translateY(-2px); } }

/* Fotos que respiran al pasar el mouse */



/* Entrada suave de tarjetas al hacer scroll (navegadores que lo soportan; respeta "reducir movimiento") */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .vcard { animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes cr-rise { from { opacity: .35; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Pie: teléfono para llamar e Instagram con su ícono */

.ft-tel svg { flex: none; }


@media (hover: hover) { .ft-tel:hover { opacity: .85; } }
/* Con "reducir movimiento" no corre la animación del header: fondo sólido siempre */
@media (prefers-reduced-motion: reduce) { .top { background: var(--c-header) !important; border-bottom-color: rgb(255 255 255 / .08) !important; } }
/* En celular los trazos diagonales no cruzan las tarjetas */

#nosotros .kicker, #nosotros .nos-lead { color: #5E6470; }
:root[data-theme="dark"] #nosotros .kicker, :root[data-theme="dark"] #nosotros .nos-lead { color: var(--c-ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #nosotros .kicker, :root:not([data-theme="light"]) #nosotros .nos-lead { color: var(--c-ink-2); } }

/* ====================================================================
   "Ver si califico": modal rediseñado (legible en claro y oscuro)
   ==================================================================== */
.quiz { --q-bg: #FFFFFF; --q-opt: #F4F5F7; --q-line: #E2E5EA; --q-ink: #0E203F; --q-muted: #5E6470; --q-sel: #164E9B; --q-sel-bg: rgb(22 78 155 / .08);
  width: min(560px, calc(100% - 24px));
  box-shadow: 0 30px 80px -20px rgb(11 27 58 / .45); }
:root[data-theme="dark"] .quiz { --q-bg: #0F1D3B; --q-opt: #15264A; --q-line: #24345A; --q-ink: #F8F8F8; --q-muted: #A9B3C6; --q-sel: #7BA3F0; --q-sel-bg: rgb(123 163 240 / .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quiz { --q-bg: #0F1D3B; --q-opt: #15264A; --q-line: #24345A; --q-ink: #F8F8F8; --q-muted: #A9B3C6; --q-sel: #7BA3F0; --q-sel-bg: rgb(123 163 240 / .14); } }
.quiz::backdrop { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.quiz .quiz-in { padding: 32px 32px 24px; background: transparent; color: var(--q-ink); }
.quiz .quiz-head { display: grid; gap: 10px; margin-bottom: 22px; padding-right: 48px; }

.quiz .quiz-head h2 { margin: 0; color: var(--q-ink); }

.quiz .quiz-bar { height: 6px; border-radius: 99px; background: var(--q-line); overflow: hidden; margin-top: 4px; }
.quiz .quiz-bar i { display: block; height: 100%; border-radius: 99px; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.quiz .quiz-step { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--q-muted); }
.quiz .q { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz .q legend { padding: 0; margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--q-ink); }
.quiz .opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quiz .opt { position: relative; display: block; cursor: pointer; }
.quiz .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz .opt span { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; row-gap: 2px; align-items: start; height: 100%; padding: 16px; border-radius: 14px;
  background: var(--q-opt); border: 1.5px solid var(--q-line); color: var(--q-ink); transition: border-color .2s, background .2s, transform .15s; }
.quiz .opt span::before { content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--q-muted); background: transparent; transition: border-color .2s, box-shadow .2s; }
.quiz .opt b { grid-column: 2; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--q-ink); }
.quiz .opt small { grid-column: 2; font-size: 14px; line-height: 1.4; color: var(--q-muted); }
@media (hover: hover) { .quiz .opt:hover span { border-color: var(--q-sel); transform: translateY(-1px); } }
.quiz .opt input:checked + span { border-color: var(--q-sel); background: var(--q-sel-bg); }
.quiz .opt input:checked + span::before { border-color: var(--q-sel); box-shadow: inset 0 0 0 4px var(--q-bg), inset 0 0 0 10px var(--q-sel); }
.quiz .opt input:focus-visible + span { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.quiz .quiz-nav { margin-top: 18px; min-height: 24px; }
.quiz #quiz-back { background: none; border: 0; padding: 6px 0; font: 600 15px var(--font); color: var(--q-sel); cursor: pointer; }
.quiz .dlg-x { top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--q-line); background: var(--q-opt); color: var(--q-ink); font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.quiz .done-msg { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--q-ink); }
.quiz .done-k { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--q-muted); }
.quiz .done-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.quiz .done-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--q-opt); border: 1px solid var(--q-line); color: var(--q-ink); }
.quiz .done-list li span { color: var(--q-muted); }
.quiz .calc-note { margin: 12px 0 0; font-size: 13.5px; color: var(--q-muted); text-align: center; }
@media (max-width: 520px) { .quiz .quiz-in { padding: 24px 18px 18px; } .quiz .opts { grid-template-columns: minmax(0, 1fr); } }
/* Requisitos para financiar */
.req-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.req-card { padding: 24px; }
.req-card h3 { margin: 0 0 12px; font-size: 20px; color: var(--c-ink); }
.req-card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--c-ink-2); line-height: 1.5; }
.req-card p { margin: 0 0 16px; color: var(--c-ink-2); }
.req-note { margin: 16px 0 0; }
@media (max-width: 900px) { .req-grid { grid-template-columns: minmax(0, 1fr); } }

/* ====================================================================
   Portada cinematográfica (adaptada al kit CAR RETAIL PY)
   ==================================================================== */
.cine { position: relative; overflow: hidden; display: flex; color: #F8F8F8; }
.cine-video, .cine-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.cine-still { display: none; }
.cine.is-still .cine-video { display: none; }
.cine.is-still .cine-still { display: block; }
.cine-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity .6s ease; }
.cine-ui { position: relative; flex: 1; display: grid; grid-template-rows: auto 1fr auto; padding-block: clamp(28px, 5vw, 56px) clamp(28px, 4vw, 48px); transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1); }
.cine-title { grid-row: 1; margin: 0; text-align: center; text-wrap: balance; }

.cine-foot { grid-row: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cine-sub { margin: 0; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.35; font-weight: 400; text-shadow: 0 2px 16px rgb(8 20 47 / .6); }
.cine-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.cine-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 30px; font-size: 16px; text-decoration: none; cursor: pointer; }
.cine-btn-main { border: 1px solid #F8F8F8; }
.cine-btn-ghost { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.cine-btn:active { transform: scale(.98); }
.cine-scene { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); padding: 8px 2px; background: none; border: 0; border-bottom: 1.5px solid rgb(248 248 248 / .5); color: #F8F8F8; font: 500 14px var(--font); letter-spacing: .02em; cursor: pointer; }
.cine-back { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); min-height: 48px; padding: 0 24px; border-radius: 6px; border: 1px solid rgb(248 248 248 / .3); background: rgb(11 27 58 / .55); color: #F8F8F8; font: 600 15px var(--font); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
.cine.scene-on .cine-ui { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.cine.scene-on .cine-shade { opacity: .25; }
.cine :focus-visible { outline: 2px solid #7BA3F0; outline-offset: 3px; }
@media (max-width: 760px) {
  
  .cine-video, .cine-still { object-position: 50% 62%; }
  .cine-title { margin-top: 24px; }
  .cine-foot { flex-direction: column; align-items: center; text-align: center; }
  .cine-sub { font-size: 20px; }
  .cine-ctas { width: 100%; flex-direction: column; }
  .cine-btn { width: 100%; }
  
}


/* Con la portada cinematográfica: encabezado sólido y buscador debajo del video, sin taparlo */



/* @@CINE-UI@@ */
/* ====================================================================
   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 !important;
  letter-spacing: .01em !important; 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) !important; font-family: var(--font-title) !important; font-weight: 400 !important; }
h3, h4, .req-card h3, .brand-btn b {
  font-family: var(--font) !important; font-weight: 700; letter-spacing: -.01em; }
.num, .vc-price, .vc-cuota b, [class*="price"] {
  font-family: var(--font); font-variant-numeric: tabular-nums; }
.kicker { font-family: var(--font); color: var(--cx-red-text); letter-spacing: .14em; }


/* ---------- Vidrio (con fondo sólido si el navegador no soporta backdrop-filter) ---------- */

.cmp-dlg, .quiz { background: var(--cx-glass-solid); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top { background: rgb(11 12 14 / .84) !important; -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, .brand-btn, .type, .faq details {
  background: var(--cx-surface); border: 1px solid var(--cx-line) !important; 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, .brand-btn:hover, .type:hover {
    border-color: rgb(123 163 240 / .32) !important; box-shadow: var(--cx-glow); }
  .vcard:hover, .card:hover { transform: translateY(-3px); }
}

@media (hover: hover) { .vcard:hover .card-img img, .card:hover .card-img img { transform: scale(1.04); } }
.card-img { overflow: hidden; }



.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) !important; color: var(--cx-silver) !important; border: 1px solid var(--cx-line-2) !important; border-radius: 10px; }
.in:focus { border-color: var(--cx-blue-text) !important; box-shadow: 0 0 0 3px rgb(123 163 240 / .2); }


/* ---------- Secciones ---------- */
.sec, #nosotros, .req, .faq { background: transparent; color: var(--cx-silver); }
#nosotros { 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] { font-size: 14px !important; } }
.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; }




/* ---------- 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) !important; color: #E1E4E8 !important; border-color: rgb(255 255 255 / .24) !important; }
@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); }

.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 { 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 { transform: none; }
  .vcard, .card, .btn, .cine-btn, .soc { transition: none !important; transform: none !important; }
}










/* 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; } }
}



/* ---------- 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%) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent !important; 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) !important; }

.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) !important; }
}


/* 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); }
/* 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) !important; }
  .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 */

/* "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, main > :where(astro-island) > .brands, #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, main > :where(astro-island) > .sec { position: relative; isolation: isolate; padding-block: clamp(64px, 8vw, 112px); border: 0; }


/* 1 · Marcas en stock: continúa la portada */
main > .brands, main > :where(astro-island) > .brands { background: linear-gradient(180deg, #0B0C0E 0%, #0D1220 100%); border: 0; }
main > .brands *, main > :where(astro-island) > .brands * { color: inherit; }
main > .brands .brand-btn small, main > :where(astro-island) > .brands .brand-btn small { color: var(--cx-muted); }

/* 2 · El auto de la semana: escenario con luz azul y piso reflejado */

/* 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 */


/* 5 · Requisitos: base con grilla de puntos (orden, papeles) */


/* 6 · Por qué: escena oscura con luces roja y azul */

/* 7 · A pedido: alterna con un velo azul */



/* 8 · Tu usado: base */

/* 9 · Te atiende Emanuel: alterna, cálida */


/* 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; font-weight: 700;
  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; }


#nosotros .kicker { color: var(--cx-red-text); }
/* Títulos: escala más marcada en las escenas */
#nosotros h2 { font-size: clamp(38px, 6vw, 78px); }


/* 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; }
/* Foto de la tarjeta: 4:3 en todos los tamaños (única regla; antes había cinco que se pisaban).
   Las portadas son verticales (3:4) con el auto entre el 33% y el 73% de la altura: la ventana 4:3 muestra
   el 56% central, así que el auto entra entero, de lado a lado como en la foto original, y llena la tarjeta.
   El punto de foco se ajusta por auto con el campo "foco" de data.js (variable --foco). */
.vc2 .card-img { aspect-ratio: 4 / 3; height: auto; width: auto !important; min-height: 0; position: relative; display: block; }
.vc2 .card-img .fit { width: 100% !important; height: 100%; }
.vc2 .card-img .fi { object-fit: cover; object-position: var(--foco, 50% 54%) !important; }
.vc2 .card-img .fb { display: none; }

.vc2 h3 { margin: 0 !important; font-size: 18px !important; 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-wa, .vc2 .vc-ficha { min-height: 44px; padding: 0 12px; font-size: 14px !important; 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 { padding: 4px 9px; }

/* Celular: tarjeta vertical con la foto 4:3 a todo el ancho (el auto se ve grande, que es lo que decide el clic) */
@media (max-width: 600px) {
  #grid { gap: 14px; }
  .vc2 .card-body { padding: 14px 14px 16px; gap: 8px; min-width: 0; }
  .vc2 h3 { font-size: 17px !important; }
  .vc2 h3 small { font-size: 13px; }
  .vc2 .vc-meta { font-size: 13px; }
  
  .vc2 .vc-cuota b { white-space: nowrap; }
  .vc2 .vc-cuota small { font-size: 12px; }
  .vc2 .vc-actions { grid-template-columns: 1fr auto 44px; gap: 8px; }
  .vc2 .vc-wa { padding: 0 10px; font-size: 14px !important; }
  .vc2 .cond { top: 10px; left: 10px; }
  @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 */




/* 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 !important; }

#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 { background: var(--img-bg); }
/* Comparador: misma ventana 4:3 que las tarjetas (más baja que el 1:1 de antes, así la tabla aparece antes) */



/* ====================================================================
   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 .vc-actions { grid-template-columns: 1fr 44px; }
  .vc2 .vc-ficha { display: none !important; }
}

/* ====================================================================
   REDISEÑO DE LA PORTADA (2026-10-30)
   Portada en 8 bloques: hero · buscador · stock · cómo comprar · a pedido · consignación · asesor · nosotros · preguntas.
   Fondos alternados para que no se repitan dos seguidos: base · neutro · azul · base elevado · carmesí · azul.
   ==================================================================== */

/* Hero: el hook es más largo que el anterior, así que el título baja de tamaño para entrar en 2 líneas (celular primero) */
.cine-title-long { font-size: clamp(46px, 8.4vw, 132px); line-height: .9; }
@media (max-width: 760px) { .cine-title-long { font-size: clamp(42px, 12.6vw, 72px); } }
.cine-title-long + .cine-foot .cine-sub, .cine-sub { max-width: 34ch; }

/* Auto de la semana: primera tarjeta del stock, con distintivo */
.feat-badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 6px 10px; border-radius: 999px;
  background: rgb(11 12 14 / .78); color: #fff; font: 700 12px/1 var(--font); letter-spacing: .04em;
  border: 1px solid rgb(255 255 255 / .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vc2.is-featured { border-color: color-mix(in srgb, var(--cx-red) 55%, transparent) !important; }

/* Cómo comprar: fondo neutro con textura suave, tres pasos y requisitos a todo el ancho */
#tu-manera.buy { background: repeating-linear-gradient(135deg, var(--sx-tex) 0 1px, transparent 1px 14px), var(--sx-neutral); }
.buy-stats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.buy-stats li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--cx-line); background: var(--cx-surface); }
.buy-stats b { font: 700 clamp(28px, 3vw, 40px)/1 var(--font-display); color: var(--cx-strong); letter-spacing: -.01em; }
.buy-stats span { font-size: 14px; line-height: 1.4; color: var(--cx-muted); }
.buy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.buy-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-card, 20px); border: 1px solid var(--cx-line); background: var(--cx-surface); }
.buy-card h3 { margin: 0; font-size: 22px; color: var(--cx-strong); }
.buy-card p { margin: 0 0 6px; color: var(--cx-muted); line-height: 1.55; flex: 1; }
.buy-card .btn { align-self: flex-start; min-height: 46px; }
.buy-n { font: 700 13px/1 var(--font); letter-spacing: .14em; color: var(--cx-red-text); }
.buy-req { margin-top: 36px; }
#tu-manera #requisitos { background: none; padding: 0; }
.buy-req-t { margin: 0 0 14px; font-size: 20px; color: var(--cx-strong); }
.buy-req .req-tabs { margin-bottom: 12px; }
.buy-req .req-grid.is-tabs .req-card { max-width: none; width: 100%; }
.buy-req .req-card ul { columns: 2; column-gap: 32px; }
.buy-req .req-note { margin-top: 12px; font-size: 14px; color: var(--cx-muted); }
@media (max-width: 860px) {
  .buy-grid { grid-template-columns: 1fr; }
  
  
  .buy-stats b { flex: none; }
  .buy-req .req-card ul { columns: 1; }
}

/* Consignación: base oscura con la tarjeta de pasos elevada */
#consignacion { background: var(--cx-bg); }
.consig-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.consig-copy p { color: var(--cx-muted); line-height: 1.6; }
.consig-copy .btn { margin-top: 6px; min-height: 52px; }
.consig-req { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--cx-line); background: var(--cx-tint); color: var(--cx-silver) !important; }
.consig-req b { color: var(--cx-strong); }
.consig-alt { font-size: 15px; }
.consig-alt a { color: var(--cx-blue-text); font-weight: 600; }
.consig-steps { counter-reset: paso; list-style: none; margin: 0; padding: clamp(18px, 3vw, 28px); display: grid; gap: 4px;
  border-radius: var(--radius-card, 20px); border: 1px solid var(--cx-line); background: var(--cx-surface); box-shadow: var(--sx-lift); }
.consig-steps li { counter-increment: paso; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 0 14px 56px; border-bottom: 1px solid var(--cx-line); }
.consig-steps li:last-child { border-bottom: 0; }
.consig-steps li::before { content: counter(paso); position: absolute; left: 0; top: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 700 17px/1 var(--font); color: #fff; background: var(--cx-red); }
.consig-steps b { font-size: 17px; color: var(--cx-strong); }
.consig-steps span { color: var(--cx-muted); line-height: 1.5; }
@media (max-width: 860px) { .consig-in { grid-template-columns: 1fr; } }

/* Pie: una columna más ("Buscar por"), con los enlaces a las páginas de tipo y precio */
.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; } }

/* Quiz: la pregunta de presupuesto tiene 4 opciones en 2 columnas */
.quiz fieldset[data-q="2"] .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Texto mínimo legible y áreas táctiles de 44 px */

.faq summary { min-height: 48px; display: flex; align-items: center; }

/* Hero: línea descriptiva dentro del H1 (dice qué se vende, para el visitante y para Google) */
.cine-eyebrow { display: block; margin: 0 0 14px; font: 600 clamp(13px, 1.2vw, 16px)/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: rgb(248 248 248 / .85); text-shadow: 0 2px 12px rgb(8 20 47 / .6); }
@media (max-width: 760px) { .cine-eyebrow { margin-bottom: 10px; letter-spacing: .12em; } }

/* ====================================================================
   SEGUNDA AUDITORÍA (2026-11-10)
   ==================================================================== */
/* Stock en el celular: 4 autos y un botón para ver el resto */
.grid-more { display: none; }
@media (max-width: 600px) {
  .grid.is-collapsed > .card:nth-child(n+5) { display: none !important; }
  .grid-more:not([hidden]) { display: flex; width: 100%; min-height: 52px; margin-top: 14px; justify-content: center; align-items: center; font-size: 16px; }
}
/* Hero en escritorio: el título queda arriba del vehículo del video en vez de taparlo */
@media (min-width: 761px) { .cine-title-long { font-size: clamp(46px, 6.2vw, 104px); } }
/* Botón flotante de WhatsApp: más chico en el celular y se corre mientras hay otro botón de WhatsApp a la vista */
.fab { transition: opacity .2s, transform .2s; }
.fab.is-away { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 700px) { .fab { width: 50px !important; height: 50px; right: 12px; } .fab svg { width: 26px; height: 26px; } }
/* Foto que no cargó: imagen de respaldo entera y centrada */
img.img-fb { object-fit: contain; }
/* ---------- 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; }
/* En el celular el header de la portada muestra solo la sigla; el menú repite los tres idiomas */
@media (max-width: 480px) {  .top .lang-sw summary svg { display: none; } }
@media (max-width: 380px) { .top-in { gap: 6px; } .top .brand img { height: 38px; width: auto !important; } }
@media (max-width: 340px) { .top .brand img { height: 32px; } }
.top .brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
/* Escritorio: el menú se compacta para que entren el logo completo y el selector (los textos en portugués e inglés son más largos) */
@media (min-width: 1180.01px) { .top-in { gap: 14px; } .top .nav { gap: 16px; } .top .nav a { font-size: 15px; } .top .btn-red { padding-inline: 14px; } }
@media (min-width: 1180.01px) and (max-width: 1279.98px) {  .top .lang-sw summary svg { display: none; } }

/* ====================================================================
   Lectura más fácil (2026-11): menos cosas a la vez y un paso siguiente claro
   ==================================================================== */
/* Textos chicos: mínimo 13 px */
.cine-eyebrow, .kicker, .card-img .cond, .feat-badge, .card-img .pics, .vc-cuota small, .soc-tx small { font-size: 13px; }
/* Botón de menú con su nombre, cuando entra (desde 400 px) */
.menu-btn-t { display: none; }
@media (min-width: 400px) and (max-width: 1180px) {
  .top .menu-btn { flex-direction: row; gap: 4px 0; width: auto; padding: 0 14px 0 12px; border-radius: 999px; display: grid; grid-template-columns: 20px auto; grid-template-rows: repeat(3, 2px); row-gap: 5px; column-gap: 9px; align-content: center; align-items: center; }
  .top .menu-btn span { grid-column: 1; }
  .top .menu-btn .menu-btn-t { display: block; grid-column: 2; grid-row: 1 / -1; font: 600 14px/1 var(--font); color: inherit; }
}
/* Catálogo: en el celular, tipo de vehículo y búsqueda por texto quedan detrás de "Más filtros" */
.more-f { display: none; }
#stock .types { margin: 18px 0 8px; }
@media (max-width: 700px) {
  #stock .filters { gap: 6px; }
  #stock .filters .chip { padding-inline: 12px; }
  .more-f { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
  .more-f::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
  .more-f[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  #stock:not(.f-open) .filters .search, #stock:not(.f-open) .types { display: none !important; }
}
/* Cómo comprar: cifras en una fila y tarjetas más compactas en el celular */
@media (max-width: 860px) {
  .buy-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
  .buy-stats li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
  .buy-stats b { min-width: 0; font-size: 24px; }
  .buy-stats span { font-size: 13px; line-height: 1.35; }
  .buy-grid { gap: 10px; }
  .buy-card { gap: 8px; padding: 16px; }
  .buy-card .buy-n { display: none; }
  .buy-card h3 { font-size: 20px; }
  .buy-card p { margin: 0 0 4px; }
}
/* Paso siguiente al final de una sección */



/* ---------- Portada más corta en el celular: bloques plegables (los arma initFolds() de js/app.js; sin JavaScript se ven abiertos) ---------- */

.consig-how { min-width: 0; }
.consig-how-t { margin: 0 0 12px; font-size: 20px; color: var(--cx-strong, var(--c-ink)); }
@media (max-width: 700px) {
  .fold > .fold-h { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin: 0 !important; }
  .fold:not(.is-closed) > .fold-h { margin-bottom: 8px !important; }
  .fold-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0; border: 0; background: none; color: inherit;
    font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; }
  .fold-b::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: .75; }
  .fold-b[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .fold-b:focus-visible { outline: 2px solid #7BA3F0; outline-offset: 4px; border-radius: 8px; }
  .fold.is-closed > :not(.fold-h) { display: none !important; }
  .buy-card.fold { padding-block: 10px; }
  .buy-card.fold:not(.is-closed) { padding-bottom: 18px; }
  
  .consig-how.fold { padding: 4px 16px; border: 1px solid var(--cx-line, var(--c-line)); border-radius: 16px; }
  .consig-how.fold .consig-how-t { font-size: 18px; }
  
  
}
/* Foto del asesor (reemplaza al monograma "E"): mismo círculo de .adv-mark, con borde blanco sobre el carmesí */
.adv-photo { display: block; object-fit: cover; object-position: 50% 30%; padding: 0; border: 3px solid #fff; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .55); }
@media (max-width: 700px) { .adv-photo { width: 104px !important; height: 104px; } }

/* Presupuesto en el listado de la portada: franjas en USD con la cantidad de autos de cada una (js/app.js, renderBudget) */
.budget { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: -16px 0 26px; }
.budget[hidden] { display: none; }
.budget-l { flex: none; color: var(--cx-muted, var(--c-ink-2)); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.budget-row { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.pchip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pchip .num { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: rgb(127 127 127 / .18); font-size: 12.5px; font-weight: 700; text-align: center; }
.pchip[aria-pressed="true"] .num { background: rgb(255 255 255 / .22); }
/* Celular: una sola fila que se desliza de costado (como la tira de marcas); la tercera franja asoma para invitar a deslizar */
@media (max-width: 700px) {
  .budget { margin: -10px 0 18px; }
  .budget-l { flex-basis: 100%; }
  .budget-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; scroll-padding-inline: 16px; }
  .budget-row::-webkit-scrollbar { display: none; }
  .pchip { flex: none; }
  #stock .budget .chip { padding-inline: 12px; }
}

/* Debajo del listado: pedido de un auto que no está en el stock (página a-pedido/) */
.stock-alt { margin: 18px 0 0; color: var(--cx-muted, var(--c-ink-2)); font-size: 15px; text-align: center; }
.stock-alt a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Fase 1 del plan: mejoras rápidas ---------- */
/* Las secciones de abajo de la portada se dibujan recién cuando te acercás (carga más rápido en el celular) */
#tu-manera, #consignacion, #asesor, #preguntas { content-visibility: auto; contain-intrinsic-size: auto 800px; }
} /* 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; } }
@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 · comparador de autos (contenido de la ventana). Se carga en la portada, después de style.css.
   Investigación y plan: docs/comparador-research.md y docs/comparador-plan.md (fuera del sitio publicado).

   Mobile first. En todos los tamaños hay una columna por auto, con la misma grilla en el encabezado y en cada fila,
   así cada valor queda debajo de su auto:
   · arriba, las fotos (se van al bajar) y una fila fija con marca, modelo y precio (al quedar fija suma la miniatura);
   · un resumen de en qué se destaca cada auto y el interruptor "Solo diferencias";
   · secciones plegables: etiqueta arriba y valores debajo; el mejor dato con fondo verde, ✓ y un chip en su propia línea;
     lo que es igual en todos va en una sola línea atenuada; lo que falta, como "—".
   Desde 960 px, tabla clásica con la etiqueta a la izquierda.
   El marco de la ventana (.cmp-dlg, .cmp-head, .cmp-scroll, .cx-foot) y la lista para sumar autos (.cx-pick) siguen en style.css. */

.cq {
  --cq-gap: 8px; --cq-lab: 0px; --cq-pad: 12px;
  --cq-muted: var(--c-muted, var(--muted, #8E96A3));
  --cq-line: var(--c-line, rgb(127 127 127 / .2));
  --cq-win: #15803D; --cq-win-bg: rgb(21 128 61 / .09);
  --cq-cols: repeat(var(--n), minmax(0, 1fr));
  --cq-v: 15px;
  padding: 12px 0 12px;
  font-variant-numeric: tabular-nums;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cq { --cq-win: #4ADE80; --cq-win-bg: rgb(74 222 128 / .1); } }
:root[data-theme="dark"] .cq { --cq-win: #4ADE80; --cq-win-bg: rgb(74 222 128 / .1); }
.cq-n2 { --cq-v: 16px; --cq-gap: 12px; }
.cq-n4 { --cq-v: 14px; --cq-gap: 6px; }
.cq .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fondo sólido para leer mejor: el vidrio translúcido de style.css dejaba el modo claro grisáceo */
.cmp-dlg:has(.cq) { background: var(--c-card); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Fotos ---------- */
.cq-cars { display: grid; grid-template-columns: var(--cq-cols); column-gap: var(--cq-gap); }
.cq-car { position: relative; min-width: 0; }
.cq-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--img-bg, var(--c-surface)); }
.cq-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--foco, 50% 54%); }
.cq-rm { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 32px; height: 32px; min-height: 0; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .3); background: rgb(10 11 15 / .66); color: #fff; font-size: 18px; line-height: 1; }
/* Área táctil de 44 px alrededor del botón de 32 px */
.cq-rm::after { content: ""; position: absolute; inset: -6px; }

/* ---------- Encabezado fijo: marca, modelo y precio ---------- */
.cq-head { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: var(--cq-cols); column-gap: var(--cq-gap); align-items: start;
  margin: 0 calc(var(--cq-pad) * -1); padding: 8px var(--cq-pad) 10px; border-bottom: 1px solid var(--cq-line);
  background: color-mix(in srgb, var(--c-card, #14161C) 96%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cq-hc { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
/* La miniatura solo aparece con el encabezado fijo; el margen negativo compensa su alto para que el contenido no salte */
.cq-hc > img { display: none; width: 40px; height: 30px; margin-bottom: 4px; border-radius: 6px; object-fit: cover; }
.cq-head.is-stuck { padding-top: 6px; padding-bottom: 8px; box-shadow: 0 10px 20px -16px rgb(0 0 0 / .6); }
/* Fijo: miniatura, modelo y precio; la marca (y la moneda, si es la misma para todos) se ocultan para que ocupe menos */
.cq-head.is-stuck .cq-name small, .cq-1cur .cq-head.is-stuck .cq-price small { display: none; }
.cq-head.is-stuck .cq-price { margin-top: 1px; }
.cq-head.is-stuck .cq-hc > img { display: block; }
.cq-name { display: flex; flex-direction: column; color: var(--c-ink); text-decoration: none; line-height: 1.15; }
.cq-name small { color: var(--cq-muted); font-size: 12px; font-weight: 600; }
.cq-name b { font-size: 14.5px; font-weight: 800; overflow-wrap: break-word; hyphens: auto; }
.cq-price { margin: 3px 0 0; display: flex; flex-direction: column; line-height: 1.1; color: var(--c-ink); }
.cq-price small, .cq-v small { color: var(--cq-muted); font-size: 11.5px; font-weight: 600; }
.cq-price b { font-size: 16px; font-weight: 800; }
.cq-p-na { font-size: 13px; color: var(--cq-muted); font-weight: 600; }
.cq-n4 .cq-name b { font-size: 13px; } .cq-n4 .cq-price b { font-size: 14px; }
.cq-n4 .cq-name small { font-size: 11.5px; }

/* ---------- Resumen ---------- */
.cq-sum { margin: 16px 0 4px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--cq-line); background: color-mix(in srgb, var(--c-ink) 3%, transparent); }
.cq-sum h3 { margin: 0 0 8px; color: var(--c-ink); font: 800 15px/1.2 var(--font, system-ui, sans-serif); letter-spacing: 0; text-transform: none; }
.cq-sum ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.cq-sum li { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.cq-sum li img { flex: none; width: 32px; height: 24px; margin-top: 1px; border-radius: 6px; object-fit: cover; }
/* Nombre y chips en la misma línea (se acomodan solos): el resumen ocupa la mitad que en una lista vertical */
.cq-sum li > div { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; }
.cq-sum li > div > b { margin-right: 2px; color: var(--c-ink); font-size: 14px; line-height: 1.2; }
.cq-sum li > div > ul { display: contents !important; }
.cq-sum li > div > ul { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; }
.cq-sum li > div > ul li { padding: 3px 8px; border-radius: 6px; background: var(--cq-win-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cq-win) 40%, transparent);
  color: var(--c-ink); font-size: 12.5px; font-weight: 700; line-height: 1.25; }

/* ---------- Interruptor "Solo diferencias" ---------- */
.cq-bar { display: flex; margin: 10px 0 2px; }
.cq-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px 0 10px; border-radius: 999px; cursor: pointer; user-select: none;
  border: 1px solid var(--c-line-2, var(--cq-line)); color: var(--c-ink); font-size: 15px; font-weight: 700; }
.cq-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cq-switch b { display: inline-grid; place-items: center; min-width: 26px; height: 24px; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: color-mix(in srgb, var(--c-ink) 10%, transparent); font-size: 13px; }
.cq-sw { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--c-line-2, #8E96A3); transition: background-color .2s; }
.cq-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: transform .2s; }
.cq-switch input:checked + .cq-sw { background: var(--cq-win); }
.cq-switch input:checked + .cq-sw::after { transform: translateX(18px); }
.cq-switch:has(input:checked) { border-color: var(--cq-win); }
.cq-switch input:focus-visible + .cq-sw { outline: 2px solid #7BA3F0; outline-offset: 3px; }

/* ---------- Secciones ---------- */
.cq-sec { margin-top: 18px; }
.cq-sec > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 2px; border-bottom: 2px solid var(--c-ink); cursor: pointer; list-style: none; }
.cq-sec > summary::-webkit-details-marker { display: none; }
.cq-sec > summary h3 { flex: 1; margin: 0; color: var(--c-ink); font: 800 17px/1.2 var(--font, system-ui, sans-serif); letter-spacing: 0; text-transform: none; }
.cq-nd { flex: none; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c-ink) 9%, transparent); color: var(--c-ink); font-size: 12.5px; font-weight: 700; }
.cq-sec.is-same .cq-nd { background: none; color: var(--cq-muted); font-weight: 600; }
.cq-sec > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 4px 0 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); color: var(--cq-muted); }
.cq-sec[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.cq-sec > summary:focus-visible { outline: 2px solid #7BA3F0; outline-offset: 2px; border-radius: 6px; }

/* Fila con diferencias: etiqueta arriba, valores en columnas */
.cq-row { padding: 12px 0; border-bottom: 1px solid var(--cq-line); }
.cq-k { margin: 0 0 6px; color: var(--cq-muted); font-size: 12.5px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.cq-vals { display: grid; grid-template-columns: var(--cq-cols); column-gap: var(--cq-gap); align-items: stretch; }
.cq-v { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 6px 6px 6px 0; border-radius: 10px; }
.cq-val { display: flex; align-items: flex-start; gap: 4px; min-width: 0; color: var(--c-ink); font-size: var(--cq-v); font-weight: 600; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.cq-val > span { min-width: 0; display: flex; flex-direction: column; }
.cq-v.is-win { padding-left: 6px; background: var(--cq-win-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cq-win) 35%, transparent); }
.cq-v.is-win .cq-val { font-weight: 800; }
.cq-ok { flex: none; width: 15px; height: 15px; margin-top: .15em; color: var(--cq-win); }
.cq-chip { max-width: 100%; padding: 3px 7px; border-radius: 6px; background: var(--cq-win); color: var(--c-card, #fff); font-size: 11.5px; font-weight: 800; line-height: 1.2; }
.cq-na { color: var(--cq-muted); font-weight: 400; opacity: .7; }

/* Fila igual en todos: una línea atenuada */
.cq-eq { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 9px 0; border-bottom: 1px dashed var(--cq-line); }
.cq-eq .cq-k { flex: 0 0 auto; margin: 0; font-size: 11.5px; }
.cq-eq-v { flex: 1 1 140px; min-width: 0; color: var(--c-ink); font-size: 14px; font-weight: 500; opacity: .82; overflow-wrap: anywhere; }
.cq-eq-v span { color: var(--cq-muted); font-weight: 600; }

/* Solo diferencias */
.cq.only-diff .cq-eq, .cq.only-diff .cq-sec.is-same { display: none; }

.cq-legend { margin: 16px 2px 0; color: var(--cq-muted); font-size: 13px; line-height: 1.5; }

/* ---------- Siguiente paso: elegir un favorito ---------- */
.cv-fav { margin-top: 22px; padding: 16px 14px; border: 1px solid rgb(37 211 102 / .28); border-radius: 18px; background: rgb(37 211 102 / .06); }
.cv-fav h3 { margin: 0; color: var(--c-ink); font: 800 18px/1.2 var(--font, system-ui, sans-serif); letter-spacing: 0; text-transform: none; }
.cv-fav > p { margin: 4px 0 14px; color: var(--cq-muted, var(--c-muted)); font-size: 14px; line-height: 1.45; }
.cv-fav ul { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.cv-fav li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; padding: 0; }
.cv-fav li + li { padding-top: 14px; border-top: 1px solid var(--cq-line); }
.cv-fav li img { flex: none; width: 64px; height: 48px; border-radius: 10px; object-fit: cover; }
.cv-fav-i { flex: 1 1 calc(100% - 74px); min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cv-fav-i b { font-size: 15px; line-height: 1.2; }
.cv-fav-i small { color: var(--cq-muted, var(--c-muted)); font-size: 13.5px; font-weight: 700; }
.cv-fav-f, .cv-fav .cx-wa { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 12px; font-size: 14.5px !important; }
.cv-fav .cx-wa .wa-ic { display: inline-grid; place-items: center; }
.cv-fav-f { display: flex; align-items: center; justify-content: center; border: 1px solid var(--c-line-2, var(--cq-line)); border-radius: 999px; color: var(--c-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .cv-fav-f:hover { border-color: var(--c-ink); } }

/* ---------- Sumar otro auto (plegado) ---------- */
/* "Sumá otro auto": abre el listado para elegir (assets/bandeja.css) */
.cv-add-b { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin-top: 14px; padding: 0 14px; border: 1.5px dashed var(--c-line-2); border-radius: 16px; background: transparent; color: var(--c-ink); font: 700 15px var(--font); text-align: left; cursor: pointer; }
.cv-add-b::before { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--action-primary); color: var(--on-action-primary, #fff); font-size: 19px; font-weight: 600; line-height: 1; }
.cq-rm:focus-visible, .cv-add-b:focus-visible, .cv-fav-f:focus-visible, .cq-name:focus-visible, .cq-img:focus-visible { outline: 2px solid #7BA3F0; outline-offset: 2px; }

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .cq { --cq-pad: 18px; --cq-gap: 14px; --cq-v: 16px; padding-top: 16px; }
  .cq-n4 { --cq-gap: 10px; --cq-v: 15px; }
  .cq-name b { font-size: 16px; } .cq-price b { font-size: 18px; }
  .cq-n4 .cq-name b { font-size: 15px; } .cq-n4 .cq-price b { font-size: 16px; }
  .cq-img { border-radius: 14px; }
  .cq-sum ul { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .cq-chip { font-size: 12px; }
  .cv-fav { padding: 20px; }
  .cv-fav ul { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 28px; }
  .cv-fav li + li { padding-top: 0; border-top: 0; }
}

/* ---------- Escritorio: tabla clásica con la etiqueta a la izquierda ---------- */
@media (min-width: 960px) {
  .cq { --cq-lab: 170px; --cq-gap: 16px; }
  /* La columna de etiquetas también existe arriba, vacía, para que fotos y nombres queden sobre sus valores */
  .cq-cars, .cq-head { grid-template-columns: var(--cq-lab) var(--cq-cols); }
  .cq-cars::before, .cq-head::before { content: ""; }
  .cq-row { display: grid; grid-template-columns: var(--cq-lab) minmax(0, 1fr); column-gap: var(--cq-gap); align-items: center; padding: 8px 0; }
  .cq-k { margin: 0; }
  .cq-eq { display: grid; grid-template-columns: var(--cq-lab) minmax(0, 1fr); column-gap: var(--cq-gap); }
  .cq-v { padding-block: 8px; }
}
} /* 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 */
