/* ==========================================================================
   YADEA BRASIL — SAAV MOTORS · DESIGN SYSTEM
   Showroom noturno · tokens, primitivas e componentes

   Base herdada do sistema de design da JETOUR Bolivia (GROUPSAA), com os
   tokens de marca trocados para o laranja Yadea. Trocar um token aqui
   atualiza o site inteiro.
   ========================================================================== */

/* --------------------------------------------------------------------------
   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 — laranja Yadea */
    --accent:        #ff6a13;
    --accent-soft:   #ffa163;
    --accent-wash:   rgba(255, 106, 19, 0.12);
    --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.92) 0%, rgba(8,9,10,0.6) 34%, rgba(8,9,10,0.12) 62%, rgba(8,9,10,0) 78%);
    --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;

    /* cards en oscuro: el trazo sí define el volumen */
    --card-line:     var(--line);
    --card-shadow:   0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 14px 40px -10px rgba(0, 0, 0, 0.4);

    /* formas */
    --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --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;
}

/* Tema claro "galería": porcelana cálida de fondo y superficies blancas que
   flotan por sombra, no por borde. Las cards usan --card-line/--card-shadow
   (el trazo casi desaparece en claro; en oscuro sí hace falta). */
:root[data-theme="light"] {
    --bg:            #f6f6f4;
    --bg-elev:       #ffffff;
    --surface:       #ffffff;
    --surface-2:     #efefec;
    --surface-3:     #e5e5e1;

    --text:          #101215;
    --text-2:        #565c63;
    --text-3:        #878d94;

    --line:          rgba(12, 14, 16, 0.08);
    --line-2:        rgba(12, 14, 16, 0.16);
    --line-3:        rgba(12, 14, 16, 0.28);

    --accent:        #e05500;
    --accent-soft:   #e05500;
    --accent-wash:   rgba(224, 85, 0, 0.08);
    --wa:            #128c47;

    --wash:          rgba(12, 14, 16, 0.03);
    --wash-2:        rgba(12, 14, 16, 0.055);
    --glass:         rgba(255, 255, 255, 0.86);
    --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.75) 0%, rgba(8,9,10,0.3) 38%, rgba(8,9,10,0) 70%);
    --shadow-1:      0 1px 2px rgba(15,16,18,0.05), 0 12px 32px -8px rgba(15,16,18,0.10);
    --shadow-2:      0 24px 48px -12px rgba(15,16,18,0.16), 0 48px 96px -32px rgba(15,16,18,0.18);
    --card-line:     rgba(12, 14, 16, 0.045);
    --card-shadow:   0 1px 2px rgba(15,16,18,0.04), 0 14px 36px -10px rgba(15,16,18,0.09), 0 36px 72px -28px rgba(15,16,18,0.11);
    --logo-invert:   1;
    --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);
}
/* El logotipo de SAAV Motors tiene versión propia por tema (--ink / --white),
   así que acá NO se aplica el invert heredado de JETOUR: invertir un logo a
   color arruina sus colores (el rojo se vuelve cian). */
.nav-partner img { height: 22px; width: auto; opacity: 0.9; }
.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(3, 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; }

/* A seção da loja usa fundo claro, portanto o CTA secundário precisa do
   contraste padrão do tema claro em vez do tratamento dos heroes escuros. */
#loja .hero-cta .btn--ghost {
    color: var(--text);
    border-color: var(--line-2);
}
#loja .hero-cta .btn--ghost:hover {
    background: var(--wash-2);
    border-color: var(--text);
}

/* 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; }
/* 6 modelos → dos filas parejas de 3 (el centrado de JETOUR era para 5) */

.model-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--card-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    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 { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.model-card.is-hidden { display: none; }

/* La imagen va en ABSOLUTO para que la caja 16:10 siempre la contenga: como
   grid-item con fila automática, una foto vertical desbordaba y el
   overflow:hidden la decapitaba (bug real visto con los recortes de moto). */
.model-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(120% 80% at 50% 15%, var(--surface-2) 0%, var(--surface) 62%);
    overflow: hidden;
}
.model-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    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.04)); }
/* encuadres que llegan con más aire alrededor del vehículo */
.model-card--wide { --zoom: 1.42; }

/* Chip de vidrio: legible sobre cualquier foto, en los dos temas. */
.model-card-badge {
    position: absolute;
    top: var(--sp-4);
    left: var(--sp-4);
    z-index: 2;
    padding: 6px 13px;
    border-radius: var(--r-pill);
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    color: var(--text);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.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: stretch;
}
.split-media { grid-column: span 7; position: relative; border-radius: var(--r-xl); overflow: hidden; }
/* la foto llena la altura de la columna de texto — acompaña el contenido
   en vez de quedar flotando centrada */
.split-media img { width: 100%; height: 100%; min-height: 340px; 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, 44px);
    background: var(--surface);
    border: 1px solid var(--card-line);
    border-radius: var(--r-xl);
    box-shadow: var(--card-shadow);
}
.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(--surface-2);
    border: 1px solid transparent;
    border-radius: var(--r-md);
    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);
    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(--card-line);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: var(--card-shadow);
}
/* El mapa se oscurece invirtiendo SOLO en tema oscuro (en JETOUR estaba al
   revés y el tema claro mostraba el mapa en negativo). */
.place-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) invert(calc(1 - 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; }

    /* 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 > * { 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;
}


/* ==========================================================================
   12. CAPA YADEA v2 — marca, escenarios de estudio y refinamientos
   Todo lo propio de esta landing sobre el sistema heredado de JETOUR.
   ========================================================================== */

/* ------------------------------------------------------------- marca Yadea
   Lockup tipográfico (isotipo + wordmark) hasta tener el archivo oficial.
   Cuando llegue: <img class="brand-logo" src="images/logos/yadea-logo.png">
   dentro de .brand-lockup — estas reglas ya lo dimensionan. */
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.brand-mark { width: 26px; height: 26px; flex: none; color: var(--accent); }
.brand-word {
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 112%;
    font-size: 1.32rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
    transition: color var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.nav-brand:hover .brand-word { opacity: 0.72; }
.brand-lockup--sm .brand-mark { width: 21px; height: 21px; }
.brand-lockup--sm .brand-word { font-size: 1.06rem; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-lockup--sm .brand-logo { height: 26px; }

/* --------------------------------------------- logotipo del distribuidor
   Dos archivos, uno por fondo: --ink (fondo claro) y --white (fondo oscuro).
   Regla simple: fondo claro → ink; fondo oscuro → white. La barra flotando
   sobre un hero oscuro cuenta como fondo oscuro aunque el tema sea claro. */
.partner-logo--ink { display: none; }
:root[data-theme="light"] .partner-logo--white { display: none; }
:root[data-theme="light"] .partner-logo--ink { display: block; }

:root[data-theme="dark"] .nav--over .partner-logo--white { display: block; }
:root[data-theme="light"] .nav--over .partner-logo--ink { display: none; }
:root[data-theme="light"] .nav--over .partner-logo--white { display: block; }

.nav--over .brand-word { color: #fff; }

.flag-br { width: 22px; height: 15px; border-radius: 2px; flex: none; }

/* ------------------------------------------ barra sobre hero de ESTUDIO
   Los slides de estudio en tema claro son claros: ahí la barra flotante
   vuelve a contenido oscuro (home.js marca .nav--on-studio según el slide
   activo; las páginas de modelo de estudio la traen fija en el HTML). */
:root[data-theme="light"] .nav--over.nav--on-studio .nav-link { color: var(--text-2); }
:root[data-theme="light"] .nav--over.nav--on-studio .nav-link:hover,
:root[data-theme="light"] .nav--over.nav--on-studio .nav-link[aria-expanded="true"] { color: var(--text); background: var(--wash-2); }
:root[data-theme="light"] .nav--over.nav--on-studio .brand-word { color: var(--text); }
:root[data-theme="light"] .nav--over.nav--on-studio .partner-logo--white { display: none; }
:root[data-theme="light"] .nav--over.nav--on-studio .partner-logo--ink { display: block; }
:root[data-theme="light"] .nav--over.nav--on-studio .nav-partner { border-left-color: var(--line-2); }
:root[data-theme="light"] .nav--over.nav--on-studio .icon-btn,
:root[data-theme="light"] .nav--over.nav--on-studio .nav-burger { color: var(--text); border-color: var(--line-2); }
:root[data-theme="light"] .nav--over.nav--on-studio .icon-btn:hover,
:root[data-theme="light"] .nav--over.nav--on-studio .nav-burger:hover { background: var(--wash-2); border-color: var(--line-3); }
:root[data-theme="light"] .nav--over.nav--on-studio .btn--primary { background: var(--text); color: var(--bg-elev); border-color: var(--text); }
:root[data-theme="light"] .nav--over.nav--on-studio .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* la veladura protectora del nav es para fotos oscuras; sobre un palco claro
   se ve como una mancha gris */
:root[data-theme="light"] .nav--on-studio::before { opacity: 0; }

/* --------------------------------------------------- hero de ESTUDIO
   GB60 y DT3 traen foto ambiental (el hero heredado las cubre a sangre).
   El resto son recortes con fondo transparente: necesitan un escenario con
   profundidad, la moto contenida y una sombra que la apoye en el piso. */
.hero-media--studio {
    background:
        radial-gradient(120% 96% at 72% 40%, var(--accent-wash) 0%, transparent 56%),
        radial-gradient(90% 70% at 50% 112%, var(--surface-3) 0%, transparent 66%),
        linear-gradient(168deg, var(--bg-elev) 0%, var(--bg) 62%);
}
.hero-media--studio img {
    object-fit: contain;
    object-position: 72% 58%;
    padding: calc(var(--nav-h) + 4vh) 4vw 24vh;
    transform: scale(1.02);
    filter: drop-shadow(0 34px 34px rgba(10, 11, 13, 0.30));
}
:root[data-theme="light"] .hero-media--studio img { filter: drop-shadow(0 34px 34px rgba(15, 16, 18, 0.18)); }
.hero-slide.is-active .hero-media--studio img { transform: scale(0.99); }

/* scrims mínimos: solo lo necesario para que el texto lea */
.hero-slide--studio .hero-scrim {
    background: linear-gradient(180deg, rgba(8,9,10,0.24) 0%, rgba(8,9,10,0) 26%, rgba(8,9,10,0.4) 100%);
}
.hero-slide--studio .hero-scrim::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(8,9,10,0.5) 34%, rgba(8,9,10,0) 62%);
}
:root[data-theme="light"] .hero-slide--studio .hero-scrim {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 55%, rgba(246,246,244,0.55) 100%);
}
:root[data-theme="light"] .hero-slide--studio .hero-scrim::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(246,246,244,0.6) 36%, rgba(246,246,244,0) 64%);
}

/* en claro, el texto de los slides de estudio es oscuro */
:root[data-theme="light"] .hero-slide--studio .hero-name,
:root[data-theme="light"] .hero-slide--studio .hero-tagline { color: var(--text); }
:root[data-theme="light"] .hero-slide--studio .hero-copy .eyebrow { color: var(--text-2); }
:root[data-theme="light"] .hero-slide--studio .chip { color: var(--text); border-color: var(--line-2); background: var(--glass); }
:root[data-theme="light"] .hero-slide--studio .hero-cta .btn--ghost { color: var(--text); border-color: var(--line-3); }
:root[data-theme="light"] .hero-slide--studio .hero-cta .btn--ghost:hover { background: var(--wash-2); border-color: var(--text); }
:root[data-theme="light"] .hero-slide--studio .crumbs { color: var(--text-3); }
:root[data-theme="light"] .hero-slide--studio .crumbs a:hover { color: var(--text); }

@media (max-width: 720px) {
    /* la moto vive en el tercio superior y el texto abajo, con un degradado
       del color del fondo respaldando las letras — sin superposición */
    .hero-media--studio img { object-position: 50% 4%; padding: calc(var(--nav-h) + 1vh) 12vw 58vh; }
    .hero-slide--studio .hero-scrim::after { background: linear-gradient(180deg, rgba(8,9,10,0) 20%, rgba(8,9,10,0.82) 40%, rgba(8,9,10,0.96) 60%); }
    :root[data-theme="light"] .hero-slide--studio .hero-scrim::after { background: linear-gradient(180deg, rgba(246,246,244,0) 20%, rgba(246,246,244,0.9) 40%, rgba(246,246,244,0.98) 60%); }
}

/* --------------------------------------------------------------- precios
   Jerarquía: etiqueta pequeña arriba, cifra grande en la display, nota al
   costado. La cifra es lo que se recuerda; lo demás acompaña. */
.hero-price { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.hero-price .price-from {
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}
.hero-price b {
    font-family: var(--font-display);
    font-weight: 700;
    font-stretch: 104%;
    font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero-price .price-note { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.66); font-weight: 400; margin-left: 2px; }
.hero-price b .price-note { font-family: var(--font-sans); }
:root[data-theme="light"] .hero-slide--studio .hero-price { color: var(--text); }
:root[data-theme="light"] .hero-slide--studio .hero-price .price-from,
:root[data-theme="light"] .hero-slide--studio .hero-price .price-note { color: var(--text-2); }

.model-card-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: auto;
    padding-top: var(--sp-4);
}
.model-card-price .price-from {
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--text-3);
}
.model-card-price b {
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 700;
    font-stretch: 104%;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.15;
}
.model-card-price .price-note { font-family: var(--font-sans); font-size: var(--fs-micro); color: var(--text-3); font-weight: 400; margin-left: 2px; }

/* ------------------------------------------------- escenario en tarjetas
   Los recortes de estudio flotan sobre un piso con sombra propia; sin esto
   quedan "pegados" al blanco. El drop-shadow sigue la silueta de la moto. */
.model-card-media--studio {
    background:
        radial-gradient(85% 62% at 50% 100%, var(--accent-wash) 0%, transparent 64%),
        linear-gradient(164deg, var(--surface-2) 0%, var(--surface) 78%);
}
.model-card-media--studio img {
    object-fit: contain;
    padding: 7% 9% 4%;
    filter: drop-shadow(0 16px 14px rgba(10, 11, 13, 0.28));
}
:root[data-theme="light"] .model-card-media--studio img { filter: drop-shadow(0 16px 14px rgba(15, 16, 18, 0.14)); }

/* etiqueta de habilitación (Keeness exige CNH; el resto no) */
.licence-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    background: var(--wash-2);
    font-size: var(--fs-micro);
    font-weight: 500;
    color: var(--text-2);
}
.licence-note svg { width: 14px; height: 14px; flex: none; color: var(--accent); }

/* vitrinas chicas (mega menú, drawer, rail, relacionados): recortes contenidos */
.mega-card img.is-contain,
.drawer-model img.is-contain { object-fit: contain; padding: 7%; }
.hero-rail-item img.is-contain { object-fit: contain; padding: 3px; }
.related-card img.is-contain { object-fit: contain; }

/* ------------------------------------------------------------- footer v2
   Marca propia y distribuidor en una fila propia (no se reusa .footer-lockup
   de JETOUR: su regla `span { width:1px }` aplasta cualquier lockup anidado). */
.f-brands { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.f-sep { width: 1px; height: 26px; background: var(--line-2); flex: none; }
.f-dist { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.f-dist small {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
}
.f-dist .partner-logo { height: 22px; width: auto; }

/* Preço sob consulta.
   As regras de preço acima dimensionam CIFRAS (Archivo grande, tabular). Um
   texto como "Sob consulta" nesse tamanho fica desproporcional e rouba a
   atenção do nome do modelo, então cai um degrau e fica em peso médio. */
.hero-price--ask b {
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.model-card-price--ask b {
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text-2);
}

/* Logotipo oficial da Yadea — mesmo contrato do logo da SAAV Motors:
   --ink (letras pretas) em fundo claro, --white em fundo escuro; a barra
   flutuando sobre hero escuro força a branca, e sobre palco de estúdio claro
   (nav--on-studio + tema claro) volta a ink. */
.brand-logo--ink { display: none; }
:root[data-theme="light"] .brand-logo--white { display: none; }
:root[data-theme="light"] .brand-logo--ink { display: block; }

:root[data-theme="light"] .nav--over .brand-logo--ink { display: none; }
:root[data-theme="light"] .nav--over .brand-logo--white { display: block; }
:root[data-theme="light"] .nav--over.nav--on-studio .brand-logo--white { display: none; }
:root[data-theme="light"] .nav--over.nav--on-studio .brand-logo--ink { display: block; }

/* Acesso direto ao Google Maps sobre o mapa embutido — util sempre, e
   salva-vidas quando algum navegador/extensao bloqueia iframes. */
.map-open {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: var(--r-pill);
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    color: var(--text);
    font-size: var(--fs-micro);
    font-weight: 600;
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.map-open:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); }
.map-open svg { width: 14px; height: 14px; }

/* -------------------------------------------------- consentimento Meta Pixel */
.meta-consent {
    position: fixed;
    left: 50%;
    bottom: clamp(14px, 2vw, 24px);
    z-index: 1200;
    width: min(760px, calc(100% - 28px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    padding: 18px 20px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: var(--bg-elev);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
    color: var(--text);
}
.meta-consent__copy { max-width: 54ch; }
.meta-consent__copy strong { display: block; margin-bottom: 5px; font-size: var(--fs-sm); }
.meta-consent__copy p { margin: 0; color: var(--text-2); font-size: var(--fs-micro); line-height: 1.55; }
.meta-consent__actions { display: flex; gap: 9px; flex: none; }
.meta-consent__button,
.meta-settings {
    border: 0;
    font: inherit;
    cursor: pointer;
}
.meta-consent__button {
    min-height: 42px;
    padding: 0 17px;
    border-radius: var(--r-pill);
    font-size: var(--fs-micro);
    font-weight: 650;
}
.meta-consent__button--primary { background: var(--accent); color: #fff; }
.meta-consent__button--secondary { background: var(--wash-2); color: var(--text); border: 1px solid var(--line); }
.meta-consent__button:focus-visible,
.meta-settings:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.meta-settings { padding: 0; background: transparent; color: var(--text-3); font-size: inherit; }
.meta-settings:hover { color: var(--text-2); }

@media (max-width: 680px) {
    .meta-consent { align-items: stretch; flex-direction: column; gap: 14px; padding: 17px; }
    .meta-consent__actions { width: 100%; }
    .meta-consent__button { flex: 1; }
}

/* Condições do catálogo: preço à vista com parcelamento sem valores de parcela. */
.price-installments { display: block; font-family: var(--font-sans); font-size: var(--fs-micro); font-weight: 400; line-height: 1.5; margin-top: 6px; }
