/* =============================================
   HUSQVARNA KIOSK — PREMIUM UI SYSTEM
   ============================================= */

:root {
    --hqv-blue: #1B3D8F;
    --hqv-blue-light: #2451B8;
    --hqv-blue-dark: #0D1F4A;
    --hqv-accent: #0066FF;
    --hqv-orange: #F4821F;
    --black: #000000;
    --dark: #0D0F14;
    --dark-2: #141820;
    --dark-3: #1C2130;
    --mid: #2A3040;
    --white: #FFFFFF;
    --white-80: rgba(255,255,255,0.8);
    --white-60: rgba(255,255,255,0.6);
    --white-30: rgba(255,255,255,0.3);
    --white-10: rgba(255,255,255,0.08);
    --white-5: rgba(255,255,255,0.04);
    --blue-glow: rgba(27, 61, 143, 0.6);
    /* Stack de fuentes del sistema — sin CDN externo */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Arial Black', 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-primary);
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* SCREENS */
.screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
    z-index: 1;
}
.screen.active {
    display: flex;
    flex-direction: column;
}

.screen-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =============================================
   ATTRACT SCREEN
   ============================================= */

/* --- ANIMATED IMAGE BACKGROUND (Ken Burns) --- */
@keyframes kenburns-1 {
    0%   { transform: scale(1.0) translate(0%, 0%); }
    50%  { transform: scale(1.08) translate(-1.5%, -1%); }
    100% { transform: scale(1.0) translate(0%, 0%); }
}
@keyframes kenburns-2 {
    0%   { transform: scale(1.05) translate(1%, 0.5%); }
    50%  { transform: scale(1.0) translate(0%, 0%); }
    100% { transform: scale(1.05) translate(1%, 0.5%); }
}
.attract-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000000;
    overflow: hidden;
}
/* Logo integrado en el fondo negro, centrado y visible */
.attract-logo-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.attract-logo-bg-img {
    width: 420px;
    max-width: 50vw;
    height: auto;
    display: block;
    /* El PNG tiene fondo negro que se funde con el fondo negro de pantalla.
       El emblema y texto blancos quedan perfectamente visibles. */
    mix-blend-mode: normal;
}
.attract-kenburns-img {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    animation: kenburns-1 20s ease-in-out infinite;
    will-change: transform;
}
.bg-kenburns {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns-2 22s ease-in-out infinite;
    will-change: transform;
}
/* Overlay premium — oscurece suficiente para leer texto sobre imagen de jardín luminosa */
.attract-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55) 100%),
        linear-gradient(to right, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.30) 100%);
}

/* --- CANVAS --- */
#attract-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

/* --- CONTENT LAYER --- */
.attract-content {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* --- LOGO TOP-LEFT: PNG transparente, negro invertido a blanco --- */
.attract-logo-wrap {
    position: absolute;
    top: 24px;
    left: 36px;
    z-index: 20;
}
.attract-logo-img {
    height: 48px;
    width: auto;
    display: block;
    /* PNG fondo transparente + logo negro → invert(1) lo convierte a blanco */
    filter: invert(1);
}

/* --- LANG SELECTOR: alineado con logo, top-right --- */
.attract-lang-wrap {
    position: absolute;
    top: 40px;
    right: 60px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
}
.attract-lang-wrap .lang-opt {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}
.attract-lang-wrap .lang-opt small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.attract-lang-wrap .lang-opt.active {
    color: #ffffff;
}
.attract-lang-wrap .lang-opt.active small {
    color: rgba(255,255,255,0.7);
}
.attract-lang-wrap .lang-sep {
    color: rgba(255,255,255,0.2);
    font-size: 20px;
}

/* --- MAIN ROW: headline + CTA --- */
.attract-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px 0 60px;
    gap: 40px;
}

/* --- HEADLINE --- */
.attract-headline {
    flex: 1;
    max-width: 620px;
}
.attract-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--hqv-accent);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}
.attract-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 0.88;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.attract-title .line-1,
.attract-title .line-2 {
    display: block;
    font-size: clamp(72px, 10vw, 140px);
    color: var(--white);
    letter-spacing: -2px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.attract-title .line-3 {
    display: block;
    font-size: clamp(72px, 10vw, 140px);
    color: var(--hqv-accent);
    letter-spacing: -2px;
    text-shadow: 0 0 60px rgba(0,102,255,0.5);
}
.attract-sub {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    max-width: 420px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* =============================================
   CTA ZONE — THE HERO ELEMENT
   ============================================= */
.attract-cta-zone {
    position: relative;
    width: 520px;
    height: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translateZ(0);
    isolation: isolate;
    perspective: 800px;
}

/* --- ANILLOS ELÍPTICOS GIRATORIOS (simulan 3D, funcionan en todos los navegadores) --- */
.cta-ring-3d-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.cta-ring-3d {
    position: absolute;
    border-radius: 50%;
}
/* Anillo 1 — NARANJA corporativo #F4821F, elipse inclinada */
.cta-ring-3d-1 {
    width: 420px; height: 140px;
    border: 4px solid #F4821F;
    box-shadow: 0 0 20px 6px rgba(244,130,31,0.8), 0 0 40px 10px rgba(244,130,31,0.3);
    animation: elipse-spin-1 6s linear infinite;
}
/* Anillo 2 — AZUL neón */
.cta-ring-3d-2 {
    width: 460px; height: 180px;
    border: 3px solid #0066FF;
    box-shadow: 0 0 16px 5px rgba(0,102,255,0.8), 0 0 32px 8px rgba(0,102,255,0.3);
    animation: elipse-spin-2 9s linear infinite reverse;
}
/* Anillo 3 — CIAN suave */
.cta-ring-3d-3 {
    width: 500px; height: 240px;
    border: 2px solid rgba(0,200,255,0.6);
    box-shadow: 0 0 12px 3px rgba(0,200,255,0.5);
    animation: elipse-spin-3 14s linear infinite;
}
@keyframes elipse-spin-1 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes elipse-spin-2 {
    from { transform: rotate(45deg); }
    to   { transform: rotate(405deg); }
}
@keyframes elipse-spin-3 {
    from { transform: rotate(-30deg); }
    to   { transform: rotate(330deg); }
}

/* --- TEXTO CIRCULAR GIRATORIO --- */
.cta-circular-text {
    position: absolute;
    width: 340px;
    height: 340px;
    pointer-events: none;
    animation: circular-text-spin 20s linear infinite;
}
@keyframes circular-text-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Radar expansion rings */
.cta-radar {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 102, 255, 0.6);
    animation: radar-expand 3.2s ease-out infinite;
    pointer-events: none;
}
.cta-radar-1 { width: 280px; height: 280px; animation-delay: 0s;   border-color: rgba(0,102,255,0.9); }
.cta-radar-2 { width: 370px; height: 370px; animation-delay: 0.7s; border-color: rgba(0,102,255,0.6); }
.cta-radar-3 { width: 460px; height: 460px; animation-delay: 1.4s; border-color: rgba(0,102,255,0.35); }
.cta-radar-4 { width: 520px; height: 520px; animation-delay: 2.1s; border-color: rgba(0,102,255,0.15); }

@keyframes radar-expand {
    0%   { transform: scale(0.5); opacity: 0; }
    15%  { opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Orbiting element — outer */
.cta-orbit {
    position: absolute;
    border-radius: 50%;
    animation: orbit-spin linear infinite;
    pointer-events: none;
}
.cta-orbit-outer {
    width: 340px;
    height: 340px;
    border: 1px dashed rgba(0,102,255,0.25);
    animation-duration: 10s;
}
.cta-orbit-inner {
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(255,255,255,0.1);
    animation-duration: 7s;
    animation-direction: reverse;
}
@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hqv-accent);
    box-shadow: 0 0 12px 4px rgba(0,102,255,0.8);
}
.orbit-dot-small {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 0 8px 3px rgba(255,255,255,0.4);
}

/* THE BUTTON */
.attract-cta-btn {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
}

/* Pulsing glow behind button */
.cta-btn-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,255,0.6) 0%, rgba(0,102,255,0.2) 50%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: 0;
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.15); }
}

/* Spinning conic border */
.cta-btn-border {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(0,102,255,1)   0deg,
        rgba(0,180,255,0.9) 60deg,
        rgba(255,255,255,0.6) 120deg,
        rgba(0,102,255,0.3) 180deg,
        transparent         240deg,
        rgba(0,102,255,0.5) 300deg,
        rgba(0,102,255,1)   360deg
    );
    animation: border-spin 3s linear infinite;
    z-index: 1;
}
@keyframes border-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Button face — sits on top of spinning border */
.cta-btn-face {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0a1535, #0d2060);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 2;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.attract-cta-btn:active .cta-btn-face {
    transform: scale(0.96);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}
.attract-cta-btn:active .cta-btn-glow {
    opacity: 1;
    transform: scale(1.3);
}

.cta-touch-icon {
    opacity: 0.9;
    animation: icon-bounce 2.5s ease-in-out infinite;
}
.cta-logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    object-fit: contain;
}
@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}

.cta-text-main {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
}
.cta-text-sub {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    text-align: center;
}

/* --- BOTTOM CATEGORY PILLS --- */
.attract-bottom {
    padding: 0 60px 40px;
    flex-shrink: 0;
}
.attract-categories {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.cat-pill {
    padding: 16px 32px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.08);
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.cat-pill:hover, .cat-pill:active {
    background: rgba(0,102,255,0.35);
    border-color: rgba(0,102,255,0.7);
    color: var(--white);
}

/* =============================================
   DISCREET X HOME BUTTON
   ============================================= */
/* On home screen — bottom right corner */
.home-x-btn {
    position: absolute;
    bottom: 18px;
    right: 22px;
    z-index: 30;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}
.home-x-btn:hover,
.home-x-btn:active {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
}

/* On all other screens — top right corner, very discreet */
.screen-x-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.25);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}
.screen-x-btn:hover,
.screen-x-btn:active {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.2);
}

/* LANG TOGGLE */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang-opt {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white-60);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    padding: 8px 4px;
    min-width: 44px;
    text-align: center;
}
.lang-opt.active { color: var(--white); }
.lang-sep { color: var(--white-30); font-size: 15px; }

/* =============================================
   HEADER
   ============================================= */
.app-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;   /* reducido para logo apilado */
    min-height: 80px;
    background: rgba(8,10,15,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.app-header-transparent {
    background: rgba(8,10,15,0.6);
}
/* Logo centrado — position absolute para todas las pantallas */
.header-logo-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
}
.app-header > img.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.header-logo {
    height: 52px;
    max-width: 180px;
    width: auto;
    display: block;
    filter: invert(1);
    object-fit: contain;
}
.header-right {
    margin-left: auto;
    padding-right: 48px; /* espacio para la X que está en right:16px — evita solapamiento */
}
.back-btn {
    width: 56px;
    height: 56px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}
.back-btn:active { background: rgba(0,102,255,0.3); }
.back-btn svg { width: 26px; height: 26px; }
.back-btn.hide { visibility: hidden; }

/* =============================================
   HOME SCREEN
   ============================================= */
/* Home animated image background */
.home-kenburns-img {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns-1 24s ease-in-out infinite;
    will-change: transform;
    z-index: 1;
}
/* Legacy fallback — kept for safety */
.home-fallback-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.85;
}
.home-bg .home-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Gradient suave — deja ver el video/imagen sin ahogar */
    background: linear-gradient(
        160deg,
        rgba(5,8,18,0.55) 0%,
        rgba(5,8,18,0.18) 40%,
        rgba(5,8,18,0.50) 100%
    );
}
.home-content {
    flex: 1;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 20px 36px 28px;
    overflow: hidden;
}
.home-hero-text {
    margin-bottom: 20px;
}
.home-tagline {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-60);
}

.home-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    overflow: hidden;
}
.home-grid .tile-large  { grid-row: 1 / 3; }
.home-grid .tile-small-pro { grid-column: span 1; }

/* PHOTO TILES — background image + dark gradient overlay */
.home-tile {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background-color: #0d1428;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
}
.home-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark gradient so text is always readable over the photo */
    background: linear-gradient(
        to top,
        rgba(5, 10, 25, 0.92) 0%,
        rgba(5, 10, 25, 0.55) 45%,
        rgba(5, 10, 25, 0.20) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.home-tile:hover {
    border-color: rgba(0,102,255,0.55);
    box-shadow: 0 0 32px rgba(0,102,255,0.2), 0 8px 32px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}
.home-tile:hover .tile-bg-img {
    transform: scale(1.06);
}
.home-tile:active {
    transform: translateY(0);
}
.tile-large {
    align-items: flex-end;
    border-color: rgba(0,102,255,0.25);
}
.tile-small-pro {
    border-color: rgba(0,102,255,0.4);
}
.tile-content {
    position: relative;
    z-index: 2; /* above the ::before overlay */
    padding: 22px 24px;
    width: 100%;
}
.tile-category {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    margin-bottom: 10px;
    opacity: 0.9;
}
.tile-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.tile-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}
.tile-arrow {
    font-size: 28px;
    color: var(--hqv-accent);
    margin-top: 14px;
    display: block;
    transition: transform 0.2s ease;
    text-shadow: 0 0 10px rgba(0,102,255,0.8);
}
.home-tile:hover .tile-arrow { transform: translateX(6px); }
/* Decorative top accent line on hover */
.home-tile::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--hqv-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.home-tile:hover::after { opacity: 1; }

/* Image scale transition helper */
.home-tile {
    transform: translateY(0);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.attract-partner-strip {
    position: absolute;
    left: 28px;
    bottom: 18px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}
.attract-partner-label {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    white-space: nowrap;
    font-weight: 700;
}
.attract-partner-copy {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 1.1px;
    color: rgba(255,255,255,0.72);
    white-space: nowrap;
}
.attract-partner-logo {
    display: block;
    height: 18px;
    width: auto;
    object-fit: contain;
}
.attract-partner-logo-hmy {
    opacity: 0.92;
}
.attract-partner-eel {
    appearance: none;
    border: 0;
    background: rgba(255,255,255,0.96);
    border-radius: 999px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.attract-partner-eel:hover,
.attract-partner-eel:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
    background: #ffffff;
}
.attract-partner-logo-eel {
    height: 22px;
}
.eel-disclaimer-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3,6,14,0.72);
    backdrop-filter: blur(10px);
}
.eel-disclaimer-modal.active {
    display: flex;
}
.eel-disclaimer-box {
    position: relative;
    width: min(560px, 92vw);
    padding: 28px 28px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(14,18,28,0.98) 0%, rgba(9,12,20,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 60px rgba(0,0,0,0.42);
    color: #fff;
}
.eel-disclaimer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.eel-disclaimer-brand img {
    width: 120px;
    height: auto;
    display: block;
    border-radius: 999px;
    background: #fff;
    padding: 8px;
}
.eel-disclaimer-box h3 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.eel-disclaimer-box p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,0.86);
}
.eel-disclaimer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.idle-timer-bar {
    height: 3px;
    background: var(--hqv-accent);
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    position: relative;
    z-index: 20;
    flex-shrink: 0;
    transition: none;
}

/* =============================================
   CATALOG SCREEN — Fondo dinámico con orbes CSS
   ============================================= */
.catalog-bg {
    background: #03040a;   /* negro casi puro — máximo contraste con los orbes */
    overflow: hidden;
}

/* Canvas de glow — por encima de tarjetas, debajo de topbar/chips */
#catalog-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;           /* DETRÁS de tarjetas(10), chips(14) y topbar(15) */
    pointer-events: none;
    display: block;
}

/* ── TOP BAR ── */
.cat-topbar {
    position: relative;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    height: 64px;
    background: rgba(7, 9, 15, 0.94); /* opaco, sin backdrop-filter que crea stacking context */
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.cat-back-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
}
.cat-back-btn:hover { background: rgba(255,255,255,0.12); }
.cat-topbar-title {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
}
.cat-topbar-count {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0;
}
.cat-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cat-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.cat-close-btn:hover { background: rgba(244,130,31,0.3); color: #fff; border-color: rgba(244,130,31,0.5); }

/* ── CATEGORY CHIPS ── */
.cat-chips-bar {
    position: relative;
    z-index: 14;
    background: rgba(7, 9, 15, 0.88);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0;
    flex-shrink: 0;
}
.cat-chips-scroll {
    display: flex;
    gap: 10px;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.cat-chips-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    font-family: var(--font-body);
}
.cat-chip:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    color: var(--white);
}
.cat-chip.active {
    background: var(--hqv-orange);
    border-color: var(--hqv-orange);
    color: #fff;
    box-shadow: 0 4px 16px rgba(244,130,31,0.35);
}

/* ── GRID AREA ── */
.cat-grid-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px 24px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
    position: relative;
    z-index: 10;
    background: transparent;
}
.cat-grid-area::-webkit-scrollbar { width: 4px; }
.cat-grid-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* ── PRODUCT GRID ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 22px;
}

/* ── PRODUCT CARD ──
   Semitransparente con glassmorphism para que los orbes se vean a través
*/
.pcard {
    background: rgba(6, 8, 18, 0.45);    /* más translucido — deja ver los blobs de fondo */
    backdrop-filter: blur(8px) saturate(1.6);
    -webkit-backdrop-filter: blur(8px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.pcard:hover {
    background: rgba(6, 8, 18, 0.52);
    border-color: rgba(244,130,31,0.60);
    transform: translateY(-6px);
    box-shadow:
        0 24px 60px rgba(0,0,0,0.55),
        0 0 0 1px rgba(244,130,31,0.22);
}
.pcard:active { transform: translateY(-2px) scale(0.99); }

/* Imagen */
.pcard-img-wrap {
    position: relative;
    background: rgba(255,255,255,0.02); /* casi transparente */
    padding: 0 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 230px;
}

/* Fila superior: badge + rating ENCIMA de la imagen */
.pcard-top-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px 8px;
    min-height: 38px;
    flex-shrink: 0;
}

/* Spacer cuando no hay badge — mantiene el rating alineado a la derecha */
.pcard-badge-spacer {
    flex-shrink: 0;
    min-width: 0;
}

/* Badge encima */
.pcard-badge {
    background: var(--hqv-orange);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 100px;
    box-shadow: 0 3px 12px rgba(244,130,31,0.45);
    white-space: nowrap;
    flex-shrink: 0;
    position: static;
}

/* Rating encima de la imagen */
.pcard-rating-top {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
}
.pcard-stars-top {
    color: #F59E0B;
    font-size: 11px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pcard-score-top {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.pcard-count-top {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
}
.pcard-rating-src {
    font-size: 9px;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.pcard-img {
    max-width: 82%;
    max-height: 170px;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
    transition: transform .3s ease;
    margin: 0 auto;
}
.pcard:hover .pcard-img { transform: scale(1.07); }

/* Cuerpo de la tarjeta */
.pcard-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    border-top: 1px solid rgba(255,255,255,0.06);
    min-height: 0; /* permite que el flex hijo se expanda bien */
}
.pcard-family {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hqv-orange);
}
.pcard-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
}
.pcard-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.45;
    margin-bottom: 6px;
    flex: 1; /* empuja el CTA al fondo */
}
/* (stars ahora están encima de la imagen — estilos arriba) */

/* CTA button — siempre anclado al fondo de la tarjeta */
.pcard-cta {
    margin-top: auto;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--hqv-orange) 0%, #FF8C00 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s;
    font-family: var(--font-body);
    box-shadow: 0 4px 16px rgba(244,130,31,0.25);
}
.pcard-cta:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    box-shadow: 0 6px 24px rgba(244,130,31,0.4);
    transform: translateY(-1px);
}
.pcard-cta:active { transform: scale(0.98); }

/* Shimmer eliminado — las bolas de luz del canvas dan el dinamismo visual */

/* Mantener compatibilidad con clases antiguas */
.product-card { display: none; }
.product-count { font-size: 13px; color: rgba(255,255,255,0.4); }

/* =============================================
   PRODUCT DETAIL SCREEN
   ============================================= */
.product-detail-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--dark);
}
.product-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(8,10,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}
.product-detail-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}
.product-visual-panel {
    width: 45%;
    flex-shrink: 0;
    background: var(--dark-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}
.product-visual-panel::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,255,0.08), transparent 70%);
    pointer-events: none;
}
.product-main-img {
    max-width: 80%;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
    position: relative;
    z-index: 1;
}
.product-family-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    padding: 6px 12px;
    border: 1px solid rgba(0,102,255,0.3);
    background: rgba(0,102,255,0.1);
}
.product-name-visual {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}
.product-name-big {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1.1;
}

.product-info-panel {
    flex: 1;
    overflow-y: auto;
    padding: 30px 36px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.product-ideal {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.product-ideal-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    margin-bottom: 8px;
}
.product-ideal-text {
    font-size: 15px;
    font-weight: 400;
    color: var(--white-80);
    line-height: 1.5;
}

.product-benefits { margin-bottom: 24px; }
.product-benefits-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white-60);
    margin-bottom: 14px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}
.benefit-line {
    width: 2px;
    height: 40px;
    background: var(--hqv-accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.benefit-text {}
.benefit-title-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}
.benefit-desc-text {
    font-size: 11px;
    color: var(--white-60);
    line-height: 1.4;
}

.product-differentials {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(0,102,255,0.06);
    border: 1px solid rgba(0,102,255,0.2);
    border-radius: 2px;
}
.product-diff-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    margin-bottom: 14px;
}
.diff-item {
    font-size: 12px;
    color: var(--white-80);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}
.diff-item:last-child { border-bottom: none; }
.diff-check {
    width: 16px;
    height: 16px;
    border: 1px solid var(--hqv-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.diff-check::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--hqv-accent);
}

.product-ctas {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-cta-primary {
    flex: 1;
    min-width: 140px;
    padding: 14px 20px;
    background: var(--hqv-accent);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}
.product-cta-primary:active { opacity: 0.8; }
.product-cta-secondary {
    flex: 1;
    min-width: 120px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}
.product-cta-secondary:hover { background: rgba(255,255,255,0.1); }
.product-cta-secondary:active { background: rgba(255,255,255,0.15); }

/* =============================================
   RECOMMENDER SCREEN
   ============================================= */
.recommender-bg {
    background: linear-gradient(135deg, #080f1a 0%, #0d1820 50%, #060c14 100%);
}
.recommender-bg .recommender-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6,8,14,0.72) 0%,
        rgba(6,8,14,0.55) 50%,
        rgba(6,8,14,0.80) 100%
    );
}

/* Video de fondo dinámico */
.rec-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.rec-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease;
}
#rec-yt-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 */
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.recommender-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 48px 32px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.rec-step {
    width: 100%;
    max-width: 960px;
    animation: slide-up 0.4s ease;
    margin: auto 0;
}
@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Barra de progreso lineal */
.rec-progress-wrap {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    margin-bottom: 28px;
    overflow: hidden;
}
.rec-progress-bar {
    height: 100%;
    background: var(--hqv-orange);
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(244,130,31,0.5);
}

.rec-q-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hqv-orange);
    margin-bottom: 14px;
}
.rec-question {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.8vw, 62px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 36px;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.8), 0 0 60px rgba(0,0,0,0.4);
}
.rec-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
/* Primera pregunta (tarea): tarjetas más grandes con icono */
.rec-options-task {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}
.rec-option {
    padding: 28px 24px 26px;
    background: rgba(10,14,26,0.78);
    border: 1.5px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.22s ease;
    text-align: left;
    backdrop-filter: blur(16px);
    -webkit-tap-highlight-color: transparent;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rec-option:hover {
    background: rgba(244,130,31,0.14);
    border-color: rgba(244,130,31,0.65);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(244,130,31,0.25);
}
.rec-option.selected {
    background: rgba(244,130,31,0.20);
    border-color: var(--hqv-orange);
    box-shadow: 0 0 0 2.5px rgba(244,130,31,0.4), 0 16px 48px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}
.rec-option:active { transform: scale(0.97); }

/* Icono dentro de la opción (primera pregunta) */
.rec-opt-icon {
    color: var(--hqv-orange);
    margin-bottom: 16px;
    opacity: 0.95;
}
.rec-opt-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 7px;
    line-height: 1.2;
}
.rec-opt-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.68);
    line-height: 1.45;
}

/* RECOMMENDER RESULT — v2 con % match, razones y dónde está */
.rec-result-v2 {
    width: 100%;
    max-width: 980px;
    animation: slide-up 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.rec-res-header { text-align: center; margin-bottom: 4px; }
.rec-res-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--hqv-orange);
    margin-bottom: 6px;
}
.rec-res-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

/* Tarjeta principal */
.rec-primary-card {
    display: flex;
    background: rgba(10,14,26,0.85);
    border: 1.5px solid rgba(244,130,31,0.35);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 60px rgba(244,130,31,0.12), 0 24px 60px rgba(0,0,0,0.5);
}
.rec-primary-visual {
    width: 38%;
    flex-shrink: 0;
    background: rgba(255,255,255,0.03);
    border-right: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    gap: 14px;
    position: relative;
}
/* Círculo de compatibilidad */
.rec-match-circle {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}
.rec-match-svg {
    width: 100%;
    height: 100%;
}
.rec-match-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 10px;   /* evita overflow lateral */
}
.rec-match-num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 900;
    color: var(--hqv-orange);
    line-height: 1;
}
.rec-match-pct {
    font-size: 13px;
    font-weight: 700;
    color: var(--hqv-orange);
    line-height: 1;
    margin-top: -1px;
}
.rec-match-label {
    font-size: 6.5px;
    font-weight: 700;
    letter-spacing: 0.8px;  /* reducido para que no se desborde */
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    white-space: nowrap;
    text-align: center;
    max-width: 88px;         /* fuerza corte si aún excede */
    overflow: hidden;
}
.rec-primary-img {
    max-width: 85%;
    max-height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.7));
    transition: transform 0.4s ease;
}
.rec-primary-card:hover .rec-primary-img { transform: scale(1.03) translateY(-4px); }
.rec-primary-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}
.rec-rating-stars {
    color: #F59E0B;
    font-size: 11px;
    letter-spacing: 1px;
}
.rec-rating-score {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
}
.rec-rating-src {
    font-size: 9px;
    color: rgba(255,255,255,0.35);
}

/* Info lado derecho */
.rec-primary-info {
    flex: 1;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rec-best-badge {
    display: inline-block;
    background: var(--hqv-orange);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    align-self: flex-start;
    box-shadow: 0 4px 16px rgba(244,130,31,0.4);
}
.rec-primary-family {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hqv-orange);
    margin-top: 2px;
}
.rec-primary-name {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.8vw, 28px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
}
.rec-primary-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}
/* Razones personalizadas */
.rec-reasons-title {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}
.rec-reasons-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
}
.rec-reasons-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
.rec-reason-dot {
    width: 20px;
    height: 2px;
    background: var(--hqv-orange);
    flex-shrink: 0;
    border-radius: 2px;
}
/* Dónde está */
.rec-where-box {
    background: rgba(0,58,113,0.15);
    border: 1px solid rgba(0,100,200,0.35);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 2px;
    transition: background .2s, border-color .2s;
}
.rec-where-box:hover {
    background: rgba(0,58,113,0.30);
    border-color: rgba(0,140,255,0.55);
}
.rec-where-label {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #60b0ff;
    margin-bottom: 4px;
}
.rec-where-zone {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.rec-where-map-btn {
    font-size: 11px;
    font-weight: 700;
    color: #60b0ff;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =============================================
   STORE MAP MODAL — Navegador interactivo
   ============================================= */
#store-map-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.smap-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
}
.smap-panel {
    position: relative;
    z-index: 1;
    width: min(90vw, 820px);
    max-height: 88vh;
    background: #07090f;
    border: 1px solid rgba(0,100,200,0.40);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0,100,255,0.20), 0 0 0 1px rgba(0,80,180,0.25);
}
.smap-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}
.smap-header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.smap-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #60b0ff;
}
.smap-product {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
}
.smap-status {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}
.smap-close {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}
.smap-close:hover { background: rgba(255,255,255,0.16); }
.smap-canvas-wrap {
    flex: 1;
    min-height: 0;
    height: 420px;
    position: relative;
}
.smap-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.smap-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
    gap: 12px;
}
.smap-dest-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.smap-dest-shelf {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.smap-dest-zone {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
}
.smap-close-btn {
    background: linear-gradient(135deg, var(--hqv-orange) 0%, #FF6B00 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 28px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: opacity .2s;
}
.smap-close-btn:hover { opacity: 0.85; }
/* Botones CTA resultado */
.rec-cta-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}
.rec-cta-primary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--hqv-orange), #FF6B00);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(244,130,31,0.35);
    font-family: var(--font-body);
}
.rec-cta-primary:hover {
    background: linear-gradient(135deg, #FF8C00, var(--hqv-orange));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244,130,31,0.5);
}
.rec-cta-advisor {
    padding: 12px 22px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}
.rec-cta-advisor:hover {
    border-color: rgba(255,255,255,0.45);
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

/* Sección de alternativas */
.rec-alts-section { }
.rec-alts-title {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 10px;
}
.rec-alts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.rec-alt-card {
    display: flex;
    background: rgba(10,14,26,0.75);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.22s ease;
    backdrop-filter: blur(12px);
}
.rec-alt-card:hover {
    border-color: rgba(244,130,31,0.35);
    background: rgba(244,130,31,0.06);
    transform: translateY(-2px);
}
.rec-alt-img {
    width: 90px;
    height: 80px;
    object-fit: contain;
    padding: 10px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.03);
}
.rec-alt-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}
.rec-alt-family {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hqv-orange);
}
.rec-alt-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}
.rec-alt-desc {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

/* Restart button */
.rec-restart-btn {
    display: block;
    margin: 0 auto;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white-60);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}
.rec-restart-btn:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* Mantener compatibilidad con clases antiguas */
.rec-result { width: 100%; max-width: 900px; animation: slide-up 0.4s ease; }
.rec-result-title { font-size: 9px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--hqv-accent); margin-bottom: 20px; text-align: center; }
.rec-result-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.rec-result-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; cursor: pointer; transition: var(--transition); }
.rec-result-card.primary { border-color: rgba(0,102,255,0.5); box-shadow: 0 0 30px rgba(0,102,255,0.15); }
.rec-card-badge { padding: 8px 16px; font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; background: var(--hqv-accent); color: var(--white); }
.rec-card-badge.secondary-badge { background: rgba(255,255,255,0.1); color: var(--white-60); }
.rec-card-img { width: 100%; height: 120px; object-fit: contain; padding: 16px; background: rgba(255,255,255,0.03); }
.rec-card-body { padding: 14px; }
.rec-card-name { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.rec-card-reason { font-size: 10px; color: var(--white-60); line-height: 1.4; }

/* =============================================
   LEAF & LEARN SCREEN
   ============================================= */
.leaflearn-bg {
    background: #070b12;
}
.leaflearn-bg .leaflearn-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7,11,18,0.72) 0%,
        rgba(7,11,18,0.55) 40%,
        rgba(7,11,18,0.78) 100%
    );
}
.leaflearn-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 24px 32px 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ll-intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.ll-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    margin-bottom: 16px;
}
.ll-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    line-height: 0.95;
    margin-bottom: 24px;
}
.ll-desc {
    font-size: 15px;
    color: var(--white-80);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 36px;
}
.ll-products-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.ll-product-btn {
    padding: 16px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    min-width: 160px;
}
.ll-product-btn:hover {
    background: rgba(0,102,255,0.15);
    border-color: rgba(0,102,255,0.5);
}
.ll-product-btn:active { transform: scale(0.97); }
.ll-btn-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
}
.ll-btn-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hqv-accent);
}

/* LL DETAIL PANEL */
.ll-detail-panel {
    display: flex;
    gap: 0;
    height: 100%;
    animation: slide-up 0.35s ease;
}
.ll-detail-visual {
    width: 40%;
    flex-shrink: 0;
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.ll-detail-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,255,0.1), transparent 70%);
}
.ll-detail-img {
    max-width: 80%;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
    position: relative;
    z-index: 1;
}
.ll-detail-name {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
}
.ll-detail-info {
    flex: 1;
    overflow-y: auto;
    padding: 28px 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.ll-scan-anim {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.ll-scan-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hqv-accent);
    animation: scan-pulse 1.5s ease-in-out infinite;
}
@keyframes scan-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.ll-scan-text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hqv-accent);
}
.ll-info-section { margin-bottom: 20px; }
.ll-info-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white-60);
    margin-bottom: 8px;
}
.ll-info-content {
    font-size: 13px;
    color: var(--white-80);
    line-height: 1.5;
}
.ll-benefits-list { list-style: none; }
.ll-benefits-list li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    color: var(--white-80);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ll-benefits-list li::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--hqv-accent);
    flex-shrink: 0;
}
.ll-back-to-products {
    margin-top: 16px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white-60);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-fast);
    width: 100%;
}
.ll-back-to-products:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }

/* ── LEAF & LEARN v2 — Grid de tarjetas grandes ── */
.ll-intro-v2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ll-header-v2 {
    padding-bottom: 20px;
    flex-shrink: 0;
}
.ll-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
    overflow: hidden;
}
.ll-card-v2 {
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
    position: relative;
    min-height: 280px;
}
.ll-card-v2:hover {
    background: rgba(244,130,31,0.07);
    border-color: rgba(244,130,31,0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(244,130,31,0.12);
}
.ll-card-v2:active { transform: scale(0.98); }
.ll-card-img-wrap {
    flex: 1;
    background: rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 16px;
    position: relative;
    min-height: 220px;
}

/* Fila superior de la tarjeta LL: badge + rating */
.ll-card-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 8px;
    gap: 6px;
    min-height: 36px;
    flex-shrink: 0;
}
.ll-card-badge {
    background: var(--hqv-orange);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(244,130,31,0.4);
    flex-shrink: 0;
}
.ll-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    overflow: hidden;
}
.ll-card-stars {
    color: #F59E0B;
    font-size: 10px;
    white-space: nowrap;
}
.ll-card-score {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.ll-card-rcount {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}

.ll-card-img {
    max-width: 82%;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
    margin: 0 auto;
}
.ll-card-v2:hover .ll-card-img { transform: scale(1.06); }
.ll-card-video-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(244,130,31,0.9);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 11px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    box-shadow: 0 3px 12px rgba(244,130,31,0.4);
}
.ll-card-video-badge i { font-size: 10px; }
.ll-card-body {
    padding: 16px 18px 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}
.ll-card-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    margin-bottom: 5px;
}
.ll-card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.2;
}
.ll-card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.45;
    margin-bottom: 10px;
}
.ll-card-cta {
    font-size: 11px;
    font-weight: 600;
    color: rgba(244,130,31,0.9);
    letter-spacing: 0.5px;
}

/* ── LEAF & LEARN v2 — Panel de detalle ── */
.ll-detail-v2 {
    display: flex;
    gap: 0;
    height: 100%;
    animation: slide-up 0.35s ease;
}
.ll-detail-left {
    width: 36%;
    flex-shrink: 0;
    background: rgba(0,0,0,0.3);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    gap: 12px;
    text-align: center;
}
.ll-detail-img-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.ll-detail-img-v2 {
    max-width: 90%;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
}
.ll-detail-product-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    line-height: 1.2;
}
.ll-detail-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    margin-bottom: 4px;
}
.ll-video-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(244,130,31,0.85), rgba(255,107,0,0.75));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(244,130,31,0.3);
}
.ll-video-btn:hover {
    background: linear-gradient(135deg, rgba(255,140,0,0.95), rgba(255,107,0,0.9));
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(244,130,31,0.4);
}
.ll-video-btn i { font-size: 16px; }
.ll-detail-right {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

/* ── fadeOut animation for video modal ── */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeOut { from{opacity:1} to{opacity:0} }

/* =============================================
   WHY HUSQVARNA SCREEN
   ============================================= */
.why-bg {
    background: #07090f;
}
/* Logo de Husqvarna como fondo grande semitransparente */
.why-logo-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.why-logo-bg img {
    width: min(90vw, 900px);
    height: auto;
    filter: invert(1) brightness(2);
    opacity: 0.04;
    user-select: none;
}
.why-bg .why-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,9,15,0.88) 0%, rgba(7,9,15,0.75) 50%, rgba(7,9,15,0.92) 100%);
    z-index: 1;
}
.why-content {
    position: relative;
    z-index: 3;
    flex: 1;
    padding: 30px 50px;
    overflow-y: auto;
    scrollbar-width: none;
}
/* ── WHY HUSQVARNA v2 — Diseño de impacto ── */
.why-v2-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.why-hero { margin-bottom: 28px; }
.why-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--hqv-orange);
    margin-bottom: 12px;
}
.why-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    line-height: 0.92;
    white-space: pre-line;
    margin-bottom: 14px;
}
.why-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.82);
    max-width: 640px;
    line-height: 1.55;
}
.why-section-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    margin-bottom: 20px;
    margin-top: 36px;
}

/* Estadísticas */
.why-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}
.why-stat {
    background: rgba(244,130,31,0.08);
    border: 1px solid rgba(244,130,31,0.2);
    border-radius: 14px;
    padding: 20px 16px 18px;
    text-align: center;
}
.why-stat-num {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 62px);
    font-weight: 900;
    color: var(--hqv-orange);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -2px;
}
.why-stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.why-stat-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
}

/* Pilares 2×4 — layout 2 columnas, tipografía grande tipo cartelería */
.why-pillars-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}
.pillar-card-v2 {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid rgba(244,130,31,0.5);
    border-radius: 14px;
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.22s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}
.pillar-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244,130,31,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.pillar-card-v2:hover {
    background: rgba(244,130,31,0.06);
    border-left-color: var(--hqv-orange);
    border-color: rgba(244,130,31,0.25);
    border-left-color: var(--hqv-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.pillar-num-v2 {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 900;
    color: var(--hqv-orange);
    letter-spacing: 1px;
    line-height: 1;
    opacity: 0.6;
}
.pillar-kicker-v2 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    line-height: 1;
}
.pillar-title-v2 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.pillar-text-v2 {
    font-size: 13px;
    color: rgba(255,255,255,0.60);
    line-height: 1.55;
    margin-top: 2px;
}

/* Premios */
.why-awards-row { margin-bottom: 8px; }
.why-awards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.why-award-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 10px 20px;
}
.why-award-icon { font-size: 16px; }
.why-award-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}
.why-award-year {
    font-size: 12px;
    color: rgba(255,255,255,0.40);
    font-weight: 600;
}

/* Testimonios */
.why-quotes-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.why-quote-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 24px 22px;
}
.why-quote-rating {
    color: #F59E0B;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.why-quote-text {
    font-size: 15px;
    color: rgba(255,255,255,0.92);
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 12px;
}
.why-quote-src {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Herencia */
.why-heritage-v2 {
    background: linear-gradient(135deg, rgba(244,130,31,0.10) 0%, rgba(244,130,31,0.04) 100%);
    border: 1px solid rgba(244,130,31,0.25);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 8px;
}
.heritage-badge {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    color: var(--hqv-orange);
    opacity: 0.7;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -3px;
}
.heritage-body { flex: 1; }
.heritage-title-v2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.heritage-desc-v2 {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin-bottom: 18px;
}
.why-advisor-btn {
    padding: 12px 24px;
    background: var(--hqv-orange);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(244,130,31,0.3);
}
.why-advisor-btn:hover {
    background: #FF8C00;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(244,130,31,0.45);
}

/* Compatibilidad con clases antiguas (por si renderWhyHusqvarna se llama en otro sitio) */
.why-header { margin-bottom: 30px; }
.why-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.pillar-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 2px; padding: 22px 20px; }
.pillar-num { font-size: 48px; font-weight: 900; color: rgba(244,130,31,0.2); }
.pillar-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pillar-text { font-size: 11px; color: var(--white-60); line-height: 1.5; }
.why-heritage { background: rgba(244,130,31,0.1); border: 1px solid rgba(244,130,31,0.25); border-radius: 14px; padding: 28px 32px; display: flex; align-items: center; gap: 40px; }
.heritage-year { font-family: var(--font-display); font-size: 72px; font-weight: 900; color: rgba(244,130,31,0.5); line-height: 1; flex-shrink: 0; }
.heritage-title { font-size: 14px; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 8px; }
.heritage-desc { font-size: 12px; color: var(--white-60); line-height: 1.6; }

/* =============================================
   STORE CONCEPT SCREEN
   ============================================= */
.store-bg {
    background: linear-gradient(135deg, var(--hqv-blue-dark), var(--dark));
}
.store-bg .store-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231B3D8F' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.store-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 30px 50px;
    overflow-y: auto;
    scrollbar-width: none;
}
.store-header { margin-bottom: 30px; }
.store-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    margin-bottom: 12px;
}
.store-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    line-height: 0.95;
}
.store-zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}
.zone-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.zone-card:hover {
    border-color: rgba(0,102,255,0.3);
    background: rgba(0,102,255,0.06);
}
.zone-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    opacity: 0.7;
}
.zone-body { padding: 16px; }
.zone-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    color: rgba(0,102,255,0.2);
    line-height: 1;
    margin-bottom: 4px;
}
.zone-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.zone-text {
    font-size: 11px;
    color: var(--white-60);
    line-height: 1.4;
}
.store-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.principle-item {
    padding: 14px 16px;
    background: rgba(0,102,255,0.08);
    border: 1px solid rgba(0,102,255,0.2);
    border-radius: 2px;
}
.principle-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--white-80);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* =============================================
   ANALYTICS / STAFF SCREEN
   ============================================= */
.analytics-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0A0C12;
    overflow: hidden;
}
.analytics-header {
    padding: 20px 36px;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.back-btn-dark {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-btn-dark svg { width: 18px; height: 18px; }
.analytics-logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.analytics-logo {
    height: 48px;
    width: auto;
    filter: invert(1);
    object-fit: contain;
}
.analytics-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hqv-accent);
    padding: 4px 10px;
    border: 1px solid rgba(0,102,255,0.4);
    background: rgba(0,102,255,0.08);
}
.analytics-date {
    font-size: 11px;
    color: var(--white-60);
    letter-spacing: 1px;
}
.analytics-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 36px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.analytics-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.kpi-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
    padding: 18px 20px;
}
.kpi-val {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--hqv-accent);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}
.kpi-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-60);
}
.kpi-trend {
    font-size: 11px;
    color: #22C55E;
    margin-top: 6px;
    font-weight: 500;
}

.analytics-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.chart-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
    padding: 20px;
}
.chart-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white-60);
    margin-bottom: 16px;
}
.chart-canvas-wrap { position: relative; height: 180px; }

.analytics-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.table-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
    padding: 20px;
}
.table-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white-60);
    margin-bottom: 14px;
}
.table-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.table-row:last-child { border-bottom: none; }
.table-row-name { font-size: 12px; color: var(--white-80); }
.table-row-bar-wrap { flex: 1; margin: 0 12px; height: 3px; background: rgba(255,255,255,0.07); border-radius: 0; overflow: hidden; }
.table-row-bar { height: 100%; background: var(--hqv-accent); border-radius: 0; transition: width 1s ease; }
.table-row-val { font-size: 11px; font-weight: 600; color: var(--white-60); min-width: 32px; text-align: right; }

/* =============================================
   MODALS
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.07);
    border: none;
    border-radius: 50%;
    color: var(--white-60);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* PIN MODAL */
.pin-modal-box {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 40px 36px;
    width: 380px;
    position: relative;
    text-align: center;
}
.pin-logo img, .pin-logo-img {
    height: 44px;
    width: auto;
    margin-bottom: 24px;
    mix-blend-mode: screen;
    object-fit: contain;
    display: block;
}
.pin-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}
.pin-subtitle {
    font-size: 12px;
    color: var(--white-60);
    margin-bottom: 24px;
}
.pin-display {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--hqv-accent);
    letter-spacing: 12px;
    margin-bottom: 24px;
    min-height: 44px;
}
.pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.pin-key {
    padding: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.pin-key:active { background: rgba(0,102,255,0.3); }
.pin-key.del { color: var(--white-60); font-size: 14px; }
.pin-error {
    font-size: 12px;
    color: #EF4444;
    min-height: 20px;
    transition: var(--transition-fast);
}

/* ADVISOR MODAL */
.advisor-modal-box {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 50px 40px;
    width: 420px;
    position: relative;
    text-align: center;
}
.advisor-icon {
    color: var(--hqv-accent);
    margin-bottom: 20px;
}
.advisor-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}
.advisor-text {
    font-size: 13px;
    color: var(--white-60);
    line-height: 1.6;
    margin-bottom: 28px;
}
.advisor-calling {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}
.calling-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22C55E;
    animation: scan-pulse 1.2s ease-in-out infinite;
}
.calling-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #22C55E;
}
.advisor-dismiss {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white-60);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-fast);
}
.advisor-dismiss:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Responsive adjustments for large screens */
@media (min-width: 1440px) {
    .attract-title .line-1,
    .attract-title .line-2,
    .attract-title .line-3 { font-size: 180px; }
}
@media (max-width: 900px) {
    .home-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .tile-large { grid-row: auto; }
    .why-pillars { grid-template-columns: 1fr 1fr; }
    .store-zones { grid-template-columns: 1fr 1fr; }
    .analytics-kpis { grid-template-columns: 1fr 1fr; }
    .analytics-charts { grid-template-columns: 1fr; }
    .rec-result-grid { grid-template-columns: 1fr; }
}


/* =============================================
   KIOSK IMMERSIVE SHELL
   ============================================= */
:root {
    --app-height: 100dvh;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
}

html,
body {
    width: 100%;
    min-height: 100%;
    height: var(--app-height);
    overflow: hidden;
    overscroll-behavior: none;
    background: #000;
}

body {
    min-height: var(--app-height);
    max-height: var(--app-height);
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

body.kiosk-shell-active {
    overflow: hidden;
}

.screen,
.screen.active {
    width: 100%;
    min-height: var(--app-height);
    height: var(--app-height);
    max-height: var(--app-height);
}

#screen-attract,
#screen-home,
#screen-catalog,
#screen-product,
#screen-recommender,
#screen-leaflearn,
#screen-why,
#screen-analytics {
    min-height: var(--app-height);
    height: var(--app-height);
}

#global-back-btn {
    top: calc(18px + var(--safe-top));
    right: calc(20px + var(--safe-right));
}

.home-x-btn {
    top: calc(18px + var(--safe-top));
    right: calc(18px + var(--safe-right));
}

.app-header {
    padding-top: calc(22px + var(--safe-top)) !important;
    padding-left: calc(32px + var(--safe-left)) !important;
    padding-right: calc(32px + var(--safe-right)) !important;
}

.attract-content {
    padding-bottom: calc(28px + var(--safe-bottom)) !important;
}

.attract-bottom {
    padding-left: calc(60px + var(--safe-left)) !important;
    padding-right: calc(60px + var(--safe-right)) !important;
    padding-bottom: calc(40px + var(--safe-bottom)) !important;
}

.attract-partner-strip {
    left: calc(24px + var(--safe-left)) !important;
    right: calc(24px + var(--safe-right)) !important;
    bottom: calc(12px + var(--safe-bottom)) !important;
}

#ll-video-modal,
#remote-maintenance-overlay,
#kiosk-mode-overlay,
#remote-notice-toast {
    padding-top: calc(24px + var(--safe-top));
    padding-right: calc(24px + var(--safe-right));
    padding-bottom: calc(24px + var(--safe-bottom));
    padding-left: calc(24px + var(--safe-left));
}

#kiosk-mode-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(27, 61, 143, 0.28), transparent 38%),
        linear-gradient(180deg, rgba(5, 11, 24, 0.97), rgba(10, 17, 31, 0.985));
    backdrop-filter: blur(14px);
}

#kiosk-mode-overlay.active {
    display: flex;
}

.kiosk-mode-card {
    width: min(92vw, 760px);
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(16,24,39,0.96), rgba(10,15,26,0.98));
    box-shadow: 0 30px 100px rgba(0,0,0,0.45);
    padding: clamp(24px, 4vw, 42px);
    color: #fff;
}

.kiosk-mode-kicker {
    font-size: 12px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
    margin-bottom: 14px;
}

.kiosk-mode-title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: 14px;
}

.kiosk-mode-body {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    margin-bottom: 20px;
}

.kiosk-mode-steps {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.kiosk-mode-steps li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    color: rgba(255,255,255,0.9);
}

.kiosk-step-n {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: rgba(244,130,31,0.18);
    color: #F4821F;
    border: 1px solid rgba(244,130,31,0.35);
}

.kiosk-mode-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kiosk-mode-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    min-height: 54px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.kiosk-mode-btn:hover {
    transform: translateY(-1px);
}

.kiosk-mode-btn.primary {
    background: linear-gradient(135deg, #F4821F, #FF6B00);
    color: #fff;
    box-shadow: 0 18px 40px rgba(244,130,31,0.24);
}

.kiosk-mode-btn.secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.12);
}

.kiosk-mode-foot {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.42);
    letter-spacing: .02em;
}

body.kiosk-lock-scroll,
body.kiosk-lock-scroll * {
    overscroll-behavior: none !important;
}

@media (max-width: 820px) {
    .kiosk-mode-card {
        width: min(94vw, 94vw);
        border-radius: 24px;
        padding: 22px;
    }
    .kiosk-mode-actions {
        flex-direction: column;
    }
    .kiosk-mode-btn {
        width: 100%;
    }
    .attract-content {
        padding-top: calc(188px + var(--safe-top)) !important;
    }
    .attract-bottom {
        padding-left: calc(20px + var(--safe-left)) !important;
        padding-right: calc(20px + var(--safe-right)) !important;
    }
}
