/* ==========================================================================
   SAAV MOTORS — SHINERAY · DESIGN SYSTEM
   Showroom noturno · tokens, primitivas e componentes
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root,
:root[data-theme="dark"] {
    /* superficies */
    --bg:            #08090a;
    --bg-elev:       #0d0f11;
    --surface:       #121417;
    --surface-2:     #191c20;
    --surface-3:     #22262b;

    /* texto */
    --text:          #f4f6f8;
    --text-2:        #a3aab2;
    --text-3:        #6c737b;

    /* trazos */
    --line:          rgba(255, 255, 255, 0.09);
    --line-2:        rgba(255, 255, 255, 0.18);
    --line-3:        rgba(255, 255, 255, 0.32);

    /* marca */
    --accent:        #d8111c;
    --accent-soft:   #ff6a72;
    --accent-wash:   rgba(216, 17, 28, 0.14);
    --on-accent:     #ffffff;
    --wa:            #25d366;

    /* efectos */
    --wash:          rgba(255, 255, 255, 0.03);
    --wash-2:        rgba(255, 255, 255, 0.06);
    --glass:         rgba(12, 14, 16, 0.72);
    --scrim:         linear-gradient(180deg, rgba(8,9,10,0.72) 0%, rgba(8,9,10,0.15) 26%, rgba(8,9,10,0.35) 62%, rgba(8,9,10,0.94) 100%);
    --scrim-side:    linear-gradient(90deg, rgba(8,9,10,0.94) 0%, rgba(8,9,10,0.74) 38%, rgba(8,9,10,0.3) 64%, rgba(8,9,10,0) 84%);
    --shadow-1:      0 1px 2px rgba(0,0,0,0.4), 0 10px 30px rgba(0,0,0,0.35);
    --shadow-2:      0 30px 80px rgba(0,0,0,0.55);
    --logo-invert:   0;
    --img-tint:      1;

    /* tipografía */
    --font-sans:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display:  'Archivo', 'Inter', system-ui, sans-serif;

    --fs-eyebrow:    clamp(0.625rem, 0.6rem + 0.1vw, 0.6875rem);
    --fs-micro:      0.75rem;
    --fs-sm:         0.875rem;
    --fs-body:       1rem;
    --fs-lede:       clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    --fs-h3:         clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
    --fs-h2:         clamp(2rem, 1.5rem + 2.2vw, 3.5rem);
    --fs-h1:         clamp(2.75rem, 1.8rem + 4vw, 5.5rem);
    --fs-display:    clamp(3.5rem, 2rem + 7vw, 9rem);

    /* espaciado */
    --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
    --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
    --sp-9: 96px; --sp-10: 128px;

    --gutter:        clamp(20px, 4vw, 64px);
    --section-y:     clamp(72px, 9vw, 140px);
    --wrap:          1360px;
    --wrap-narrow:   860px;
    --nav-h:         76px;

    /* formas */
    --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

    /* movimiento */
    --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-crisp:    cubic-bezier(0.4, 0, 0.2, 1);
    --dur-1: 160ms; --dur-2: 280ms; --dur-3: 480ms; --dur-4: 900ms;
}

:root[data-theme="light"] {
    --bg:            #ffffff;
    --bg-elev:       #f6f7f8;
    --surface:       #ffffff;
    --surface-2:     #f1f3f5;
    --surface-3:     #e6e9ec;

    --text:          #0a0c0f;
    --text-2:        #545b63;
    --text-3:        #838a92;

    --line:          rgba(10, 12, 15, 0.10);
    --line-2:        rgba(10, 12, 15, 0.18);
    --line-3:        rgba(10, 12, 15, 0.30);

    --accent:        #b00d16;
    --accent-soft:   #b00d16;
    --accent-wash:   rgba(176, 13, 22, 0.10);
    --wa:            #128c47;

    --wash:          rgba(10, 12, 15, 0.025);
    --wash-2:        rgba(10, 12, 15, 0.05);
    --glass:         rgba(255, 255, 255, 0.82);
    --scrim:         linear-gradient(180deg, rgba(8,9,10,0.5) 0%, rgba(8,9,10,0.05) 26%, rgba(8,9,10,0.28) 62%, rgba(8,9,10,0.88) 100%);
    --scrim-side:    linear-gradient(90deg, rgba(8,9,10,0.82) 0%, rgba(8,9,10,0.5) 40%, rgba(8,9,10,0.14) 66%, rgba(8,9,10,0) 84%);
    --shadow-1:      0 1px 2px rgba(10,12,15,0.06), 0 10px 30px rgba(10,12,15,0.08);
    --shadow-2:      0 30px 80px rgba(10,12,15,0.14);
    --logo-invert:   0;
    --img-tint:      1;
}

:root { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

/* alias heredados — mantienen model.css / testdrive.css / posventa.css vivos */
:root {
    --black-primary: var(--bg);
    --black-secondary: var(--bg-elev);
    --black-tertiary: var(--surface);
    --white-primary: var(--text);
    --white-secondary: var(--text);
    --white-tertiary: var(--text-2);
    --gray-medium: var(--text-3);
    --gray-soft: var(--text-2);
    --accent-line: var(--line);
    --accent-line-strong: var(--line-2);
    --hover-wash: var(--wash);
    --arrow-bg: var(--glass);
    --lightbox-bg: rgba(8, 9, 10, 0.96);
    --gallery-mask: linear-gradient(180deg, transparent 45%, rgba(8,9,10,0.75) 100%);
    --whatsapp-green: var(--wa);
    --transition-smooth: var(--ease);
    --transition-crisp: var(--ease-crisp);
    --container-max: var(--wrap);
    --shadow-elev-1: var(--shadow-1);
    --shadow-elev-2: var(--shadow-2);
    --font-primary: var(--font-sans);
}
:root[data-theme="light"] { --lightbox-bg: rgba(255, 255, 255, 0.97); }

/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
    transition: background-color var(--dur-3) var(--ease), color var(--dur-3) var(--ease);
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { stroke-linecap: round; stroke-linejoin: round; }
ul { list-style: none; }

::selection { background: var(--text); color: var(--bg); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-elev); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: var(--r-pill); border: 3px solid var(--bg-elev); }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 5000;
    padding: 10px 18px;
    background: var(--text);
    color: var(--bg);
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   3. PRIMITIVAS TIPOGRÁFICAS Y DE LAYOUT
   -------------------------------------------------------------------------- */

h1, h2, h3, h4,
.display, .h1, .h2, .h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.display {
    font-size: var(--fs-display);
    font-weight: 700;
    font-stretch: 118%;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.h1 { font-size: var(--fs-h1); font-stretch: 108%; }
.h2 { font-size: var(--fs-h2); font-stretch: 104%; }
.h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.012em; }

.lede {
    font-size: var(--fs-lede);
    line-height: 1.55;
    color: var(--text-2);
    font-weight: 400;
    text-wrap: pretty;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-3);
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--accent);
    flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--plain::before { display: none; }

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 88px); }
.section--elev { background: var(--bg-elev); }
.section--surface { background: var(--surface); }
.section--hairline { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; display: flex; flex-direction: column; gap: var(--sp-4); }
.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; align-items: center; }
.section-head + * { margin-top: clamp(40px, 5vw, 72px); }

/* cabecera con acción al costado */
.head-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-6);
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 5vw, 72px);
}
.head-split-copy { display: flex; flex-direction: column; gap: var(--sp-4); max-width: 640px; }

.hairline { height: 1px; background: var(--line); border: 0; }

.muted { color: var(--text-2); }
.tnum { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   4. BOTONES
   -------------------------------------------------------------------------- */

.btn,
.btn-primary,
.btn-secondary {
    --btn-py: 15px;
    --btn-px: 26px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--btn-py) var(--btn-px);
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    transition:
        background-color var(--dur-2) var(--ease),
        border-color var(--dur-2) var(--ease),
        color var(--dur-2) var(--ease),
        transform var(--dur-2) var(--ease-out),
        box-shadow var(--dur-2) var(--ease);
}

.btn:active, .btn-primary:active, .btn-secondary:active { transform: translateY(1px); }

.btn--primary, .btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}
.btn--primary:hover, .btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--accent-wash);
}

.btn--ghost, .btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--line-2);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover, .btn-secondary:hover {
    border-color: var(--text);
    background: var(--wash-2);
    transform: translateY(-2px);
}

.btn--accent {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--accent);
}
.btn--accent:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-wash); }

.btn--wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn--wa:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28); }

.btn--sm { --btn-py: 11px; --btn-px: 18px; font-size: var(--fs-micro); }
.btn--lg { --btn-py: 18px; --btn-px: 34px; font-size: var(--fs-body); }
.btn--block { width: 100%; }

.btn-icon,
.btn svg, .btn-primary svg, .btn-secondary svg { width: 17px; height: 17px; flex: none; }

/* enlace con flecha */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* botón icono */
.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--text);
    cursor: pointer;
    transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease), transform var(--dur-2) var(--ease-out);
}
.icon-btn:hover { border-color: var(--line-2); background: var(--wash-2); }
.icon-btn svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   5. NAVEGACIÓN
   -------------------------------------------------------------------------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease),
                transform var(--dur-3) var(--ease), backdrop-filter var(--dur-3) var(--ease);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,9,10,0.75) 0%, rgba(8,9,10,0) 100%);
    opacity: 1;
    transition: opacity var(--dur-3) var(--ease);
    pointer-events: none;
}

.nav.is-stuck {
    background: var(--glass);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border-bottom-color: var(--line);
}
.nav.is-stuck::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-open { transform: none; background: var(--bg); backdrop-filter: none; }

/* páginas sin hero a sangre: barra sólida desde el inicio */
.nav.nav--solid { background: var(--glass); backdrop-filter: blur(22px); border-bottom-color: var(--line); }
.nav.nav--solid::before { opacity: 0; }

/* Mientras la barra flota sobre el hero el fondo es una foto oscura,
   así que va en blanco aunque el tema activo sea el claro. */
.nav--over .nav-link { color: rgba(255, 255, 255, 0.78); }
.nav--over .nav-link:hover,
.nav--over .nav-link.is-active,
.nav--over .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav--over .nav-logo,
.nav--over .nav-partner img { filter: none; }
.nav--over .nav-partner { border-left-color: rgba(255, 255, 255, 0.22); }
.nav--over .icon-btn,
.nav--over .nav-burger { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.nav--over .icon-btn:hover,
.nav--over .nav-burger:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.nav--over .btn--primary { background: #fff; color: #08090a; border-color: #fff; }
.nav--over .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.nav-inner {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    position: relative;
}

.nav-brand { display: flex; align-items: center; flex: none; }
.nav-logo { height: 30px; width: auto; filter: invert(var(--logo-invert)); transition: opacity var(--dur-2) var(--ease); }
.nav-brand:hover .nav-logo { opacity: 0.72; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-inline: auto;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-2);
    cursor: pointer;
    transition: color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text); background: var(--wash-2); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--accent);
}
.nav-link .chev { width: 13px; height: 13px; opacity: 0.7; transition: transform var(--dur-2) var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* estático a propósito: así el mega menú se centra contra .nav-inner
   (la columna de contenido) y no contra el botón "Modelos" */
.nav-item { position: static; display: flex; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }

/* alternador de tema */
.icon-btn .icon-sun { display: none; }
.icon-btn .icon-moon { display: block; }
[data-theme="light"] .icon-btn .icon-sun { display: block; }
[data-theme="light"] .icon-btn .icon-moon { display: none; }

.nav-partner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: var(--sp-4);
    border-left: 1px solid var(--line);
}
.nav-partner img { height: 22px; width: auto; filter: invert(var(--logo-invert)); opacity: 0.85; }
.flag-bo {
    width: 20px; height: 14px;
    border-radius: 2px;
    overflow: hidden;
    flex: none;
    box-shadow: 0 0 0 1px var(--line);
}

/* mega menú de modelos */
.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, -8px);
    width: min(1120px, calc(100% - 2 * var(--gutter)));
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }

/* puente invisible sobre el hueco, para que el puntero llegue al panel
   sin salirse del área con hover */
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }

.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); }

.mega-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--sp-3);
    border: 1px solid transparent;
    border-radius: var(--r-md);
    background: var(--surface-2);
    transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease), transform var(--dur-2) var(--ease-out);
}
.mega-card:hover { border-color: var(--line-2); background: var(--surface-3); transform: translateY(-3px); }
.mega-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    margin-bottom: var(--sp-2);
    transform: scale(var(--zoom, 1));
    transition: transform var(--dur-3) var(--ease-out);
}
.mega-card:hover img { transform: scale(calc(var(--zoom, 1) * 1.05)); }
.mega-card--wide, .drawer-model--wide { --zoom: 1.42; }
.mega-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.mega-tag { font-size: var(--fs-micro); color: var(--text-3); }

.mega-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--line);
    font-size: var(--fs-sm);
    color: var(--text-2);
    flex-wrap: wrap;
}

/* hamburguesa + drawer móvil */
.nav-burger {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--text);
    cursor: pointer;
}
.nav-burger span {
    display: block;
    width: 16px; height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) var(--ease);
}
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 890;
    background: var(--bg);
    padding: var(--sp-6) var(--gutter) var(--sp-8);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-3) var(--ease-out), visibility var(--dur-2);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer-label {
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-3);
    font-weight: 600;
    margin-bottom: var(--sp-4);
    display: block;
}

.drawer-models { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-7); }
.drawer-model {
    display: flex;
    flex-direction: column;
    padding: var(--sp-3);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.drawer-model img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; margin-bottom: 6px; }
.drawer-model .mega-name { font-size: 1rem; }

.drawer-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-bottom: var(--sp-7); }
.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.drawer-link svg { width: 18px; height: 18px; color: var(--text-3); }
.drawer-actions { display: grid; gap: var(--sp-3); }
.drawer-meta { margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--text-3); display: grid; gap: 6px; }

/* --------------------------------------------------------------------------
   6. HERO — SLIDER CINEMATOGRÁFICO
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    height: 100svh;
    min-height: 620px;
    overflow: hidden;
    background: var(--bg);
}

.hero-track { position: absolute; inset: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s var(--ease), visibility 0.85s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide.is-leaving { opacity: 0; visibility: visible; }

/* El contenedor es más ancho que el hero para que el desplazamiento
   lateral del cambio de slide nunca descubra un borde. */
.hero-media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -7%;
    width: 114%;
    transform: translateX(calc(var(--dir, 1) * 6%));
    transition: transform 1.15s var(--ease-out);
    will-change: transform;
}
.hero-slide.is-active .hero-media { transform: none; }
.hero-slide.is-leaving .hero-media { transform: translateX(calc(var(--dir, 1) * -6%)); }

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    transition: transform 8.5s linear;
}
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-media .m-only { display: none; }

.hero-scrim { position: absolute; inset: 0; background: var(--scrim); pointer-events: none; }
.hero-scrim::after { content: ''; position: absolute; inset: 0; background: var(--scrim-side); }

.hero-body {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(140px, 18vh, 220px);
}

.hero-copy {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
    color: #fff;
}
.hero-copy .eyebrow { color: rgba(255, 255, 255, 0.72); }
.hero-copy .eyebrow::before { background: var(--accent-soft); }

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 1.6rem + 6vw, 7rem);
    font-weight: 700;
    font-stretch: 118%;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
    color: #fff;
}

.hero-tagline {
    font-size: var(--fs-lede);
    color: rgba(255, 255, 255, 0.82);
    max-width: 30ch;
    text-wrap: pretty;
}

.hero-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
}
.chip svg { width: 14px; height: 14px; opacity: 0.75; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero-cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* animación de entrada por slide */
.hero-copy > * { opacity: 0; transform: translateY(28px); }
.hero-slide.is-active .hero-copy > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.9s var(--ease-out) var(--d, 0s);
}
.hero-copy > *:nth-child(1) { --d: 0.15s; }
.hero-copy > *:nth-child(2) { --d: 0.24s; }
.hero-copy > *:nth-child(3) { --d: 0.32s; }
.hero-copy > *:nth-child(4) { --d: 0.4s; }
.hero-copy > *:nth-child(5) { --d: 0.48s; }

/* riel de modelos */
.hero-rail {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(8,9,10,0) 0%, rgba(8,9,10,0.55) 45%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.hero-rail-inner {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.hero-rail-inner::-webkit-scrollbar { display: none; }

.hero-rail-item {
    position: relative;
    flex: 1 1 0;
    min-width: 128px;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 14px 16px;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    text-align: left;
    transition: color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.hero-rail-item:last-child { border-right: 0; }
.hero-rail-item:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.hero-rail-item.is-active { color: #fff; background: rgba(255, 255, 255, 0.09); }

.hero-rail-item img {
    width: 62px;
    height: 40px;
    object-fit: contain;
    flex: none;
    opacity: 0.65;
    transform: scale(var(--zoom, 1));
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-3) var(--ease-out);
}
.hero-rail-item:hover img, .hero-rail-item.is-active img { opacity: 1; transform: scale(calc(var(--zoom, 1) * 1.06)); }
.hero-rail-item--wide { --zoom: 1.42; }

.hero-rail-text { display: flex; flex-direction: column; min-width: 0; }
.hero-rail-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; }
.hero-rail-tag { font-size: 0.6875rem; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-rail-item::after {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    height: 2px; width: 0;
    background: var(--accent-soft);
    transition: width var(--dur-2) var(--ease);
}
.hero-rail-item.is-active::after { width: 100%; }
.hero-rail-item.is-active.is-timing::after { animation: railFill var(--hero-dur, 7s) linear forwards; }

@keyframes railFill { from { width: 0; } to { width: 100%; } }

/* flechas + indicador de scroll */
.hero-nav {
    position: absolute;
    z-index: 4;
    right: var(--gutter);
    bottom: clamp(108px, 15vh, 168px);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}
.hero-arrows { display: flex; gap: var(--sp-2); }
.hero-arrow {
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(8, 9, 10, 0.35);
    backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease-out);
}
.hero-arrow:hover { background: #fff; color: #08090a; border-color: #fff; transform: scale(1.06); }
.hero-arrow svg { width: 19px; height: 19px; }

.hero-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: var(--fs-micro);
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
}
.hero-count b { color: #fff; font-weight: 700; }
.hero-count i { width: 34px; height: 1px; background: rgba(255, 255, 255, 0.3); display: block; }

/* --------------------------------------------------------------------------
   7. FRANJA DE CIFRAS
   -------------------------------------------------------------------------- */

.stats { border-block: 1px solid var(--line); background: var(--bg); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.stat {
    padding: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px) clamp(32px, 4vw, 56px) 0;
    border-right: 1px solid var(--line);
    position: relative;
}
.stat:last-child { border-right: 0; }
.stat:not(:first-child) { padding-left: clamp(20px, 2.5vw, 40px); }

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
    font-weight: 700;
    font-stretch: 106%;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.stat-value sup, .stat-unit {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-2);
    font-family: var(--font-sans);
    align-self: flex-end;
    padding-bottom: 4px;
}
.stat-label { margin-top: var(--sp-3); font-size: var(--fs-sm); font-weight: 500; }
.stat-note { margin-top: 4px; font-size: var(--fs-micro); color: var(--text-3); line-height: 1.5; }

/* --------------------------------------------------------------------------
   8. LINE-UP
   -------------------------------------------------------------------------- */

.lineup-filters { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.filter-btn {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--text-2);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--dur-2) var(--ease);
}
.filter-btn:hover { border-color: var(--line-2); color: var(--text); }
.filter-btn.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }

.lineup-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(16px, 1.6vw, 24px);
}
.lineup-grid > * { grid-column: span 2; }
/* fila final centrada cuando quedan 2 tarjetas */
.lineup-grid > :nth-child(4) { grid-column: 2 / span 2; }
.lineup-grid > :nth-child(5) { grid-column: 4 / span 2; }

.model-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--dur-3) var(--ease), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease);
}
.model-card:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: var(--shadow-2); }
.model-card.is-hidden { display: none; }

.model-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    padding: var(--sp-5) var(--sp-4) 0;
    background:
        radial-gradient(120% 80% at 50% 15%, var(--surface-2) 0%, var(--surface) 62%);
    overflow: hidden;
}
.model-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(var(--zoom, 1));
    transition: transform var(--dur-4) var(--ease-out);
}
.model-card:hover .model-card-media img { transform: scale(calc(var(--zoom, 1) * 1.06)) translateY(-4px); }
/* encuadres que llegan con más aire alrededor del vehículo */
.model-card--wide { --zoom: 1.42; }

.model-card-badge {
    position: absolute;
    top: var(--sp-4);
    left: var(--sp-4);
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--accent-wash);
    border: 1px solid rgba(216, 17, 28, 0.28);
    color: var(--accent-soft);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }

.model-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.model-card-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    font-stretch: 110%;
    letter-spacing: -0.025em;
    line-height: 1;
    text-transform: uppercase;
}
.model-card-tag { font-size: var(--fs-micro); color: var(--text-3); font-weight: 500; text-align: right; }
.model-card-desc { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.6; flex: 1; }

.spec-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--line);
}
.spec-strip div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.spec-strip dt, .spec-strip .k { font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.spec-strip dd, .spec-strip .v {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.model-card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-2); }
.model-card-foot .btn { flex: none; }

/* --------------------------------------------------------------------------
   9. EDITORIAL / SPLIT
   -------------------------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(28px, 4vw, 72px);
    align-items: center;
}
.split-media { grid-column: span 7; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-copy { grid-column: span 5; display: flex; flex-direction: column; gap: var(--sp-5); }
.split--reverse .split-media { order: 2; }

.feature-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.feature-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: var(--sp-4);
    padding: var(--sp-5) 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left var(--dur-3) var(--ease);
}
.feature-item:hover { padding-left: 8px; }
.feature-num {
    font-family: var(--font-display);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding-top: 4px;
    font-variant-numeric: tabular-nums;
}
.feature-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.feature-text { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.65; }

/* mosaico de imágenes */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1vw, 16px); }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--surface-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic-a { grid-column: span 7; aspect-ratio: 3 / 2; }
.mosaic-b { grid-column: span 5; aspect-ratio: 5 / 4; }
.mosaic-c { grid-column: span 5; aspect-ratio: 5 / 4; }
.mosaic-d { grid-column: span 7; aspect-ratio: 3 / 2; }
.mosaic figcaption {
    position: absolute;
    left: var(--sp-4);
    bottom: var(--sp-4);
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(8, 9, 10, 0.55);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: var(--fs-micro);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. CTA A SANGRE
   -------------------------------------------------------------------------- */

.banner {
    position: relative;
    min-height: clamp(420px, 52vh, 620px);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.banner-media { position: absolute; inset: 0; z-index: -2; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8,9,10,0.9) 0%, rgba(8,9,10,0.6) 45%, rgba(8,9,10,0.15) 100%);
}
.banner-copy { max-width: 560px; display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; color: #fff; }
.banner-copy .lede { color: rgba(255, 255, 255, 0.8); }
.banner-copy .eyebrow { color: rgba(255, 255, 255, 0.7); }
.banner-copy .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.banner-copy .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* --------------------------------------------------------------------------
   10b. CABECERA DE PÁGINA INTERIOR
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: clamp(360px, 50vh, 540px);
    padding-top: calc(var(--nav-h) + clamp(32px, 5vh, 64px));
    padding-bottom: clamp(40px, 6vh, 72px);
    overflow: hidden;
    isolation: isolate;
    background: var(--bg);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8,9,10,0.72) 0%, rgba(8,9,10,0.38) 42%, rgba(8,9,10,0.94) 100%);
}
.page-hero-copy { max-width: 680px; display: flex; flex-direction: column; gap: var(--sp-4); color: #fff; }
.page-hero-copy .lede { color: rgba(255, 255, 255, 0.82); }
.page-hero-copy .eyebrow { color: rgba(255, 255, 255, 0.72); }
.page-hero-copy .eyebrow::before { background: var(--accent-soft); }
.page-hero-title { font-size: var(--fs-h1); font-stretch: 112%; text-transform: uppercase; color: #fff; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: var(--fs-micro); color: rgba(255, 255, 255, 0.6); margin-bottom: var(--sp-2); }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: 0.5; }

/* --------------------------------------------------------------------------
   10c. TARJETAS Y REJILLAS GENÉRICAS
   -------------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }

.card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: clamp(24px, 3vw, 36px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color var(--dur-3) var(--ease), transform var(--dur-3) var(--ease-out);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card-num { font-family: var(--font-display); font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.12em; color: var(--accent); font-variant-numeric: tabular-nums; }
.card-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.012em; }
.card-text { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.65; flex: 1; }
.card-list { display: flex; flex-direction: column; gap: 9px; margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.card-list li { display: flex; gap: 9px; font-size: var(--fs-sm); color: var(--text-2); }
.card-list svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 5px; }

/* selector rápido de modelos */
.pick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.pick {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--sp-4);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color var(--dur-2) var(--ease), transform var(--dur-3) var(--ease-out);
}
.pick:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pick img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    margin-bottom: var(--sp-2);
    transform: scale(var(--zoom, 1));
    transition: transform var(--dur-3) var(--ease-out);
}
.pick:hover img { transform: scale(calc(var(--zoom, 1) * 1.05)); }
.pick--wide { --zoom: 1.42; }
.pick-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.pick-tag { font-size: var(--fs-micro); color: var(--text-3); }

@media (max-width: 900px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .pick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   11. FORMULARIO DE COTIZACIÓN
   -------------------------------------------------------------------------- */

.quote { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.quote-aside { grid-column: span 5; display: flex; flex-direction: column; gap: var(--sp-5); position: sticky; top: calc(var(--nav-h) + 40px); }
.quote-form-wrap { grid-column: span 7; }

.quote-points { display: flex; flex-direction: column; gap: var(--sp-4); }
.quote-point { display: grid; grid-template-columns: 22px 1fr; gap: var(--sp-3); align-items: start; font-size: var(--fs-sm); color: var(--text-2); }
.quote-point svg { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }
.quote-point b { color: var(--text); font-weight: 600; display: block; }

.form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    padding: clamp(24px, 3vw, 40px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.02em; color: var(--text-2); }
.field label .req { color: var(--accent); }

.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 14px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--text);
    font-size: var(--fs-sm);
    transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
    appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px var(--accent-wash);
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23838a92' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}
.field select option { background: var(--surface); color: var(--text); }
.field.has-error input, .field.has-error select { border-color: #e5484d; }
.field-error { font-size: 0.6875rem; color: #e5484d; display: none; }
.field.has-error .field-error { display: block; }

.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-2); }
.form-note { font-size: 0.6875rem; color: var(--text-3); max-width: 42ch; line-height: 1.5; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* --------------------------------------------------------------------------
   12. UBICACIÓN
   -------------------------------------------------------------------------- */

.place { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.place-map {
    grid-column: span 7;
    position: relative;
    min-height: 380px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface-2);
}
.place-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) invert(var(--logo-invert)); }
:root[data-theme="dark"] .place-map iframe { filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.9) brightness(0.95); }

.place-info { grid-column: span 5; display: flex; flex-direction: column; gap: var(--sp-5); }
.info-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 22px 1fr; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.info-row svg { width: 19px; height: 19px; color: var(--text-3); margin-top: 2px; }
.info-row dt, .info-row .k { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.info-row .v, .info-row dd { font-size: var(--fs-sm); line-height: 1.6; }
.info-row a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-5) 0;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    transition: color var(--dur-2) var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 14px; height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: var(--sp-5); max-width: 72ch; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.7; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */

.footer { background: var(--bg-elev); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); }
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer-lockup { display: flex; align-items: center; gap: var(--sp-4); }
.footer-lockup img { height: 26px; width: auto; filter: invert(var(--logo-invert)); opacity: 0.9; }
.footer-lockup span { width: 1px; height: 22px; background: var(--line-2); }
.footer-brand p { font-size: var(--fs-sm); color: var(--text-2); max-width: 34ch; line-height: 1.7; }

.footer-col h4, .footer-col-title {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-3);
    font-weight: 600;
    margin-bottom: var(--sp-4);
    font-family: var(--font-sans);
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: var(--fs-sm); color: var(--text-2); transition: color var(--dur-2) var(--ease); }
.footer-col a:hover { color: var(--text); }

.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.footer-social a {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--text-2);
    transition: all var(--dur-2) var(--ease);
}
.footer-social a:hover { color: var(--text); border-color: var(--line-2); background: var(--wash-2); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    font-size: var(--fs-micro);
    color: var(--text-3);
}
.footer-bottom a:hover { color: var(--text-2); }

/* --------------------------------------------------------------------------
   15. WHATSAPP FLOTANTE
   -------------------------------------------------------------------------- */

.wa-float {
    position: fixed;
    right: clamp(16px, 2.5vw, 28px);
    bottom: clamp(16px, 2.5vw, 28px);
    z-index: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: var(--r-pill);
    background: var(--wa);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    transform: translateY(0);
    transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(37, 211, 102, 0.32); }
.wa-float svg { width: 20px; height: 20px; flex: none; }
/* en la portada aparece recién al pasar el hero, para no tapar el riel de modelos */
.wa-float[data-wa-defer] { opacity: 0; visibility: hidden; transform: translateY(14px); }
.wa-float[data-wa-defer].is-visible { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------------------
   16. REVELADO AL SCROLL
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in, .reveal.active {
    opacity: 1;
    transform: none;
    transition: opacity 0.75s var(--ease) var(--rd, 0s), transform 0.95s var(--ease-out) var(--rd, 0s);
}
.reveal-group > .reveal:nth-child(1) { --rd: 0s; }
.reveal-group > .reveal:nth-child(2) { --rd: 0.08s; }
.reveal-group > .reveal:nth-child(3) { --rd: 0.16s; }
.reveal-group > .reveal:nth-child(4) { --rd: 0.24s; }
.reveal-group > .reveal:nth-child(5) { --rd: 0.32s; }

/* --------------------------------------------------------------------------
   17. RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .nav-menu { gap: 0; }
    .nav-link { padding-inline: 11px; }
    .nav-partner { display: none; }
    .lineup-grid > * { grid-column: span 3; }
    .lineup-grid > :nth-child(4) { grid-column: span 3; }
    .lineup-grid > :nth-child(5) { grid-column: span 3; }

    /* Estas rejillas pasan a una sola columna: con 12 columnas los once
       huecos por sí solos superan el ancho disponible en un móvil y
       fuerzan scroll horizontal. */
    .split, .quote, .place { grid-template-columns: 1fr; }
    .split-media, .split-copy { grid-column: 1 / -1; }
    .split--reverse .split-media { order: 0; }
    .quote-aside, .quote-form-wrap { grid-column: 1 / -1; position: static; }
    .place-map, .place-info { grid-column: 1 / -1; }
    .split { gap: clamp(28px, 4vw, 48px); }
    .quote { gap: clamp(28px, 4vw, 48px); }
}

@media (max-width: 900px) {
    :root { --nav-h: 64px; }
    .nav-menu { display: none; }
    .nav-burger { display: inline-flex; }
    .nav-actions { gap: var(--sp-2); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 28px 20px 28px 0; }
    .stat:nth-child(2n) { border-right: 0; padding-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .stat:nth-child(2n+1) { padding-left: 0; }
    .mosaic-a, .mosaic-b, .mosaic-c, .mosaic-d { grid-column: span 6; aspect-ratio: 4 / 3; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .hero { min-height: 560px; }
    .hero-media .d-only { display: none; }
    .hero-media .m-only { display: block; }
    .hero-body { padding-bottom: clamp(150px, 24vh, 210px); align-items: flex-end; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1 1 auto; }
    .hero-arrows { display: none; }
    .hero-count { display: none; }
    .hero-rail-inner { padding-inline: 0; }
    .hero-rail-item { min-width: 116px; flex: 0 0 auto; padding: 11px 14px; }
    .hero-rail-item img { width: 46px; height: 32px; }
    .hero-rail-tag { display: none; }

    .lineup-grid { grid-template-columns: 1fr; }
    .lineup-grid > *, .lineup-grid > :nth-child(4), .lineup-grid > :nth-child(5) { grid-column: 1 / -1; }
    .spec-strip { grid-template-columns: repeat(3, 1fr); }

    .form { grid-template-columns: 1fr; }
    .form-foot { flex-direction: column-reverse; align-items: stretch; }
    .form-foot .btn { width: 100%; }

    .mosaic-a, .mosaic-b, .mosaic-c, .mosaic-d { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .wa-float span { display: none; }
    .wa-float { padding: 14px; }
    .drawer-models { grid-template-columns: repeat(2, 1fr); }
    .banner::after { background: linear-gradient(180deg, rgba(8,9,10,0.5) 0%, rgba(8,9,10,0.92) 100%); }

    /* Un CTA largo con nowrap fija un ancho mínimo mayor que la pantalla y
       arrastra a toda la página a un scroll horizontal. */
    .btn, .btn-primary, .btn-secondary { white-space: normal; text-wrap: balance; }
    .btn { --btn-px: 22px; }
}

@media (max-width: 420px) {
    .drawer-models { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 2rem; }
    .nav-actions [data-theme-toggle] { display: none; }
    /* el logo a tamaño completo no deja sitio para el CTA y la hamburguesa */
    .nav-logo { height: 22px; }
    .nav-inner { gap: var(--sp-3); }
    .nav-actions .btn { --btn-px: 14px; }
    .hero-copy { gap: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   17b. PANTALLAS TÁCTILES — área mínima de toque
   -------------------------------------------------------------------------- */

@media (pointer: coarse) {
    .icon-btn, .nav-burger { width: 44px; height: 44px; }

    .nav-brand { padding-block: 8px; }

    .footer-col ul { gap: 2px; }
    .footer-col a { display: flex; align-items: center; min-height: 40px; }
    .footer-col li:not(:has(a)) { padding-block: 6px; }

    .footer-social a { width: 44px; height: 44px; }

    .link-arrow { padding-block: 11px; }
    .model-card-foot .link-arrow { margin-block: -11px; }

    .crumbs { gap: 10px; }
    .crumbs a { display: inline-flex; align-items: center; min-height: 40px; }

    .info-row a { display: inline-flex; align-items: center; min-height: 36px; }

    .filter-btn { padding-block: 12px; }

    .faq-q { padding-block: var(--sp-5); }
}

/* --------------------------------------------------------------------------
   18. MOVIMIENTO REDUCIDO
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   19. COMPATIBILIDAD — clases heredadas de páginas internas
   -------------------------------------------------------------------------- */

/* cabeceras de sección de páginas internas */
.gallery-label, .viewer-label, .colors-label, .specs-label, .cta-label,
.posventa-label, .services-label, .locations-label, .model-hero-label,
.testdrive-hero-label, .posventa-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: var(--sp-4);
}
.gallery-label::before, .viewer-label::before, .colors-label::before, .specs-label::before,
.cta-label::before, .posventa-label::before, .services-label::before, .locations-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--accent);
}

.gallery-title, .viewer-title, .colors-title, .specs-title, .cta-title,
.posventa-title, .services-title, .locations-title, .contact-title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 700;
    font-stretch: 104%;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.viewer-subtitle, .posventa-subtitle, .services-subtitle, .locations-subtitle, .contact-subtitle, .cta-subtitle {
    font-size: var(--fs-lede);
    color: var(--text-2);
    line-height: 1.55;
}

.model-hero-title, .testdrive-hero-title, .posventa-hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 118%;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    line-height: 0.94;
}


/* ==========================================================================
   REFINAMIENTO VISUAL 2026 — profundidad, jerarquía y microinteracciones
   ========================================================================== */
@media (min-width: 901px) {
    .hero-copy { max-width: 510px; }
    .hero-name { letter-spacing: -.065em; text-shadow: 0 18px 55px rgba(0,0,0,.34); }
    .hero-rail { left: 50%; right: auto; bottom: 18px; width: min(calc(100% - 48px), 1248px); transform: translateX(-50%); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; overflow: hidden; background: rgba(8,10,12,.72); backdrop-filter: blur(18px); box-shadow: 0 22px 50px rgba(0,0,0,.28); }
    .hero-rail-item { min-height: 78px; }
}
.btn { position: relative; isolation: isolate; overflow: hidden; transition: transform 220ms var(--ease-out), color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 220ms ease; }
.btn::after { content: ''; position: absolute; z-index: -1; top: -50%; left: -35%; width: 24%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); transform: skewX(-18deg) translateX(-220%); transition: transform 650ms var(--ease-out); }
.btn:hover::after { transform: skewX(-18deg) translateX(650%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.nav-link::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 8px; height: 1px; background: currentColor; opacity: .65; transition: left 220ms var(--ease-out), right 220ms var(--ease-out); }
.nav-link:hover::after, .nav-link:focus-visible::after { left: 12px; right: 12px; }
.model-card { --card-x: 50%; --card-y: 50%; position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, var(--surface), var(--bg-elev)); transition: transform 420ms var(--ease-out), border-color 260ms ease, box-shadow 420ms var(--ease-out); }
.model-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--card-x) var(--card-y), rgba(255,120,128,.14), transparent 42%); opacity: 0; transition: opacity 260ms ease; }
.model-card:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.model-card:hover::after { opacity: 1; }
.model-card-media img { transition: transform 700ms var(--ease-out), filter 420ms ease; }
.model-card:hover .model-card-media img { transform: scale(1.045) translateY(-4px); filter: saturate(1.08); }
.gallery-item img { transition: transform 850ms var(--ease-out), filter 500ms ease; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.06) contrast(1.02); }
.feature-item { transition: transform 240ms var(--ease-out); }
.feature-item:hover { transform: translateX(6px); }
@media (max-width: 720px) {
    .hero { min-height: 760px; }
    .hero-copy { max-width: none; padding-bottom: 108px; }
    .hero-name { font-size: clamp(4rem, 23vw, 6.2rem); }
    .hero-tagline { max-width: 31ch; }
    .hero-chips { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 2px; }
    .hero-chips::-webkit-scrollbar { display: none; }
    .hero-rail { display: none; }
    .hero-nav { bottom: 26px; }
    .model-card:hover, .btn:hover, .feature-item:hover { transform: none; }
    .model-card { border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .btn, .model-card, .model-card-media img, .gallery-item img, .feature-item { transition: none; }
    .btn::after { display: none; }
}


/* Ajuste editorial: menos densidad en controles y titulares móviles */
.hero-pause .hero-play-icon { display: none; }
.hero-pause.is-paused .hero-pause-icon { display: none; }
.hero-pause.is-paused .hero-play-icon { display: block; }
@media (max-width: 720px) {
    .hero-name { font-size: clamp(3.6rem, 20vw, 5.5rem); }
    .hero-tagline { font-size: .98rem; line-height: 1.52; }
    .hero-arrow { width: 44px; height: 44px; }
}


/* Microinteracciones globales: progreso, presión y lectura de tarjetas */
.site-progress {
    position: fixed; z-index: 6000; top: 0; left: 0; width: 100%; height: 2px;
    transform: scaleX(0); transform-origin: left center; pointer-events: none;
    background: linear-gradient(90deg, var(--accent), #ffb199);
    box-shadow: 0 0 12px rgba(216,17,28,.45);
    will-change: transform;
}
.is-pressed { animation: controlPress 320ms var(--ease-out); }
@keyframes controlPress {
    0% { box-shadow: 0 0 0 0 rgba(216,17,28,.28); }
    55% { box-shadow: 0 0 0 8px rgba(216,17,28,0); }
    100% { box-shadow: 0 0 0 0 rgba(216,17,28,0); }
}
.spec-item { transition: padding-inline 220ms var(--ease-out), background 220ms ease, border-color 220ms ease; }
.spec-item:hover { padding-inline: 10px; background: var(--wash); border-color: var(--line-2); }
.spec-item:hover .spec-name { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
    .site-progress { transition: none; }
    .is-pressed { animation: none; }
}


/* --------------------------------------------------------------------------
   20. SAAV MOTORS — ajustes de marca
   -------------------------------------------------------------------------- */

/* O logo é um selo circular colorido: não deve ser invertido em nenhum tema. */
.nav-logo,
.footer-lockup img,
.nav-partner img { filter: none; }
.nav-logo { height: 42px; }
.footer-lockup img { height: 46px; }

/* Selo "SHINERAY" ao lado da bandeira do Brasil */
.nav-partner-text {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-2);
}
.nav--over .nav-partner-text { color: rgba(255, 255, 255, 0.82); }
.flag-br { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--line); }

/* Faixa de preço nas tarjetas e no line-up */
.model-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.model-card-price .price-from { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-family: var(--font-sans); font-weight: 600; }
.model-card-price .price-value { font-size: 1.375rem; font-stretch: 106%; }
.model-card-price .price-note { font-size: 0.6875rem; color: var(--text-3); font-family: var(--font-sans); font-weight: 500; }

/* Ficha técnica em grade */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.spec-cell { display: flex; flex-direction: column; gap: 5px; padding: var(--sp-5) var(--sp-4); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.spec-cell:nth-child(3n) { border-right: 0; }
.spec-cell .k { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.spec-cell .v { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

/* Preço destacado na página do modelo */
.price-tag {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 22px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    background: var(--wash-2);
}
.price-tag .price-label { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.price-tag .price-main { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; font-stretch: 106%; letter-spacing: -0.03em; line-height: 1; }
.price-tag .price-note { font-size: var(--fs-micro); color: var(--text-3); }

@media (max-width: 720px) {
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .spec-cell:nth-child(2n) { border-right: 0; }
    .nav-logo { height: 34px; }
}

/* Cabecera de página interior: alterna foto de escritorio e móvil */
.page-hero-media .m-only { display: none; }
@media (max-width: 720px) {
    .page-hero-media .d-only { display: none; }
    .page-hero-media .m-only { display: block; }
}

/* Rejilla de selección de modelos a dos columnas */
.pick-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pick { align-items: flex-start; }
.pick .model-card-price { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); width: 100%; }
@media (max-width: 560px) {
    .pick-grid--2 { grid-template-columns: 1fr; }
}

/* Split con el vehículo recortado sobre un palco (funciona en claro y oscuro) */
.split-media--stage {
    background:
        radial-gradient(90% 72% at 50% 90%, var(--accent-wash) 0%, transparent 70%),
        linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 82%);
    display: grid;
    place-items: center;
    padding: clamp(22px, 4vw, 60px);
}
.split-media--stage img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.34));
}
:root[data-theme="light"] .split-media--stage img { filter: drop-shadow(0 26px 30px rgba(15, 16, 18, 0.16)); }
