/* ============================================================
   PLAYBOX — styles.css
   Hoja de estilos principal del sitio.

   Índice:
   1.  Variables CSS (design tokens)
   2.  Reset y base
   3.  Utilidades globales
   4.  Componentes: Botones
   5.  Componentes: Badges
   6.  Logo
   7.  Header / Navegación
   8.  Hero
   9.  Quiénes Somos (About)
   10. Productos & Servicios
   11. Promociones
   12. Galería
   13. Testimonios
   14. CTA Final
   15. Footer
   16. Scroll-to-top button
   17. Animaciones (keyframes)
   18. Clases de animación por scroll
   19. Responsive (tablet y móvil)
============================================================ */


/* ============================================================
   1. VARIABLES CSS — Design Tokens
   Paleta derivada del logo toad.png:
     · Rojo    (#CC2200) → sombrero del hongo → color primario
     · Crema   (#F5DEB3) → tallo del hongo   → acento cálido
     · Oscuro  (#08081A) → fondo gamer        → background base
   Cambiar aquí para re-theming global.
============================================================ */
:root {
    /* Colores primarios */
    --red:          #CC2200;
    --red-bright:   #E53030;
    --red-dark:     #991800;
    --red-glow:     rgba(204, 34, 0, 0.45);

    /* Fondos */
    --bg:           #08081A;
    --bg-mid:       #0E0E24;
    --bg-card:      #141430;
    --bg-card-2:    #1A1A40;

    /* Bordes */
    --border:       rgba(255, 255, 255, 0.07);
    --border-red:   rgba(204, 34, 0, 0.35);

    /* Texto */
    --text:         #E2E2F0;
    --text-muted:   #8888AA;
    --text-white:   #FFFFFF;

    /* Acentos complementarios */
    --cyan:         #00E5FF;
    --cyan-glow:    rgba(0, 229, 255, 0.3);
    --purple:       #7C4DFF;
    --gold:         #FFD700;

    /* Tipografías */
    --font-head:    'Orbitron', sans-serif;
    --font-body:    'Exo 2', sans-serif;

    /* Espaciado modular */
    --gap-xs:  0.5rem;
    --gap-sm:  1rem;
    --gap-md:  2rem;
    --gap-lg:  4rem;
    --gap-xl:  7rem;

    /* Radios */
    --r-sm:   8px;
    --r-md:   16px;
    --r-lg:   24px;
    --r-pill: 9999px;

    /* Sombras */
    --shadow-red:  0 0 24px var(--red-glow), 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-cyan: 0 0 20px var(--cyan-glow);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
}


/* ============================================================
   2. RESET Y BASE
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


/* ============================================================
   3. UTILIDADES GLOBALES
============================================================ */

/* Contenedor centrado con ancho máximo */
.container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* Encabezados de sección reutilizables */
.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.section-title .accent-red  { color: var(--red-bright); }
.section-title .accent-cyan { color: var(--cyan); }

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

/* Línea divisora degradada bajo el título */
.section-line {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.section-line span {
    height: 3px;
    width: 60px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--red), var(--cyan));
}


/* ============================================================
   4. COMPONENTES: BOTONES
   Base .btn + modificadores: btn-red, btn-cyan, btn-ghost, btn-wa
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.9rem;
    border-radius: var(--r-sm);
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Botón rojo — CTA principal */
.btn-red {
    background: linear-gradient(135deg, var(--red-bright) 0%, var(--red-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-red);
}

.btn-red:hover {
    box-shadow: 0 0 40px var(--red-glow), 0 6px 30px rgba(0, 0, 0, 0.5);
}

/* Botón contorno cyan */
.btn-cyan {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.btn-cyan:hover {
    background: rgba(0, 229, 255, 0.08);
    box-shadow: var(--shadow-cyan);
}

/* Botón ghost — fondo translúcido */
.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Botón WhatsApp */
.btn-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.55);
}


/* ============================================================
   5. COMPONENTES: BADGES (pastillas de etiqueta)
============================================================ */
.badge {
    display: inline-block;
    padding: 0.22rem 0.7rem;
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-red  { background: var(--red);  color: #fff; }
.badge-cyan { background: var(--cyan); color: #000; }
.badge-gold { background: var(--gold); color: #000; }


/* ============================================================
   6. LOGO
============================================================ */
.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

/* Imagen del logo - Animación optimizada */
.logo-img {
    display: block;
    width: 250px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 5mm;
    margin-left: 3mm;
    animation: logo-glow-simple 3s ease-in-out infinite alternate;
    position: relative;
    will-change: filter;
}

/* Animación simplificada y optimizada del logo */
@keyframes logo-glow-simple {
    0% {
        filter: drop-shadow(0 0 6px rgba(0, 207, 255, 0.4)) drop-shadow(0 0 12px rgba(0, 119, 255, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.6)) drop-shadow(0 0 20px rgba(0, 119, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(0, 207, 255, 0.5)) drop-shadow(0 0 16px rgba(0, 119, 255, 0.25));
    }
}

.logo-wordmark {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 0.08em;
}

.logo-wordmark em {
    font-style: normal;
    color: var(--red-bright);
}


/* ============================================================
   7. HEADER / NAVEGACIÓN
   Barra fija. Transparente al inicio, fondo sólido al hacer scroll.
============================================================ */
.header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    padding-block: 1.1rem;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

/* Estado activo: se activa via JS al hacer scroll */
.header.scrolled {
    background: rgba(8, 8, 26, 0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-red);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding-block: 0.8rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Navegación de escritorio */
.nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: var(--r-sm);
    transition: color 0.25s, background 0.25s;
    letter-spacing: 0.02em;
}

.nav a:hover {
    color: var(--text-white);
    background: rgba(204, 34, 0, 0.14);
}

/* Botón hamburguesa — solo visible en móvil */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animación a "X" cuando el menú está abierto */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay oscuro detrás del panel de navegación móvil */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

.nav-overlay.active { display: block; }

/* ── BUSCADOR EXPANDIBLE EN BARRA DE NAVEGACIÓN ─────────── */
.nav-search {
    position: relative;
    flex-shrink: 0;
}

.nav-search-toggle {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(204, 34, 0, 0.1);
    border: 1.5px solid var(--border-red);
    border-radius: var(--r-pill);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.42rem 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.nav-search-toggle:hover,
.nav-search.open .nav-search-toggle {
    color: var(--text-white);
    border-color: var(--red);
    background: rgba(204, 34, 0, 0.22);
    box-shadow: 0 0 12px var(--red-glow);
}

.nav-search-toggle i {
    font-size: 0.85rem;
    transition: color 0.25s;
}

.nav-search.open .nav-search-toggle i {
    color: var(--red-bright);
}

/* Panel desplegable (aparece debajo del botón) */
.nav-search-panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    width: clamp(240px, 80vw, 300px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    background: rgba(8, 8, 26, 0.97);
    border: 1px solid var(--border-red);
    border-radius: var(--r-md);
    padding: 0.8rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px var(--red-glow);
}

.nav-search.open .nav-search-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-search-panel .cat-search-wrap {
    margin: 0;
    max-width: 100%;
}


/* ============================================================
   8. HERO
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-block: calc(90px + 3rem) 5rem;
}

/* Capas de fondo: gradientes radiales */
.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 15% 55%, rgba(204, 34, 0, 0.16) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 25%, rgba(124, 77, 255, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 75% 80%, rgba(0, 229, 255, 0.07) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 100%);
    z-index: 0;
}

/* Grid de líneas finas decorativa */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204, 34, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 34, 0, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 75%);
    z-index: 0;
}

/* Layout de dos columnas */
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Pastilla "nuevo" animada */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(204, 34, 0, 0.14);
    border: 1px solid rgba(204, 34, 0, 0.3);
    color: #FF7070;
    padding: 0.38rem 1rem;
    border-radius: var(--r-pill);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    max-width: 100%;
}

.hero-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red-bright);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

/* Título principal */
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
    color: var(--text-white);
}

.hero-title .line-red  { color: var(--red-bright); text-shadow: 0 0 40px rgba(204, 34, 0, 0.5); }
.hero-title .line-cyan { color: var(--cyan); font-size: 0.72em; text-shadow: 0 0 30px rgba(0, 229, 255, 0.4); }

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 490px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* Grupo de botones */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.8rem;
}

/* Estadísticas rápidas */
.hero-stats {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.hero-stat-num {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* --- Visual del hero: logo flotante con órbita --- */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anillos giratorios */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.orbit-ring-1 {
    inset: 0;
    border-color: rgba(204, 34, 0, 0.25);
    border-style: dashed;
    animation: spin-cw 25s linear infinite;
}

.orbit-ring-2 {
    inset: 12%;
    border-color: rgba(0, 229, 255, 0.18);
    animation: spin-ccw 18s linear infinite;
}

.orbit-ring-3 {
    inset: 26%;
    border-color: rgba(124, 77, 255, 0.22);
    animation: spin-cw 12s linear infinite;
}

/* Logo central flotante */
.orbit-logo {
    position: relative;
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

/* Imagen real del logo en el hero (más grande) */
.orbit-logo .logo-img {
    width: 600px;
    height: auto;
    filter: drop-shadow(0 0 28px rgba(204, 34, 0, 0.65))
            drop-shadow(0 0 60px rgba(204, 34, 0, 0.3));
}

/* Partículas decorativas flotantes */
.orbit-dot {
    position: absolute;
    border-radius: 50%;
    animation: float-dot 6s ease-in-out infinite;
}

.dot-1 { width: 8px; height: 8px; background: var(--red-bright); top: 10%; right: 12%; box-shadow: 0 0 10px var(--red-bright); animation-delay: 0s; }
.dot-2 { width: 5px; height: 5px; background: var(--cyan);       bottom: 18%; left: 8%;  box-shadow: 0 0 8px  var(--cyan);       animation-delay: 2s; }
.dot-3 { width: 6px; height: 6px; background: var(--purple);     top: 48%;    right: 6%; box-shadow: 0 0 8px  var(--purple);     animation-delay: 4s; }
.dot-4 { width: 4px; height: 4px; background: var(--gold);       bottom: 30%; right: 18%;box-shadow: 0 0 6px  var(--gold);       animation-delay: 1s; }


/* ============================================================
   9. QUIÉNES SOMOS (About)
============================================================ */
.about {
    padding-block: var(--gap-xl);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.about-eyebrow {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--cyan);
    padding: 0.3rem 1rem;
    border-radius: var(--r-pill);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.about-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}

.about-title .accent { color: var(--red-bright); }

.about-body {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Lista con marcador rojo */
.about-list {
    margin-bottom: 2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text);
    padding-block: 0.4rem;
    font-size: 0.95rem;
}

.about-list li::before {
    content: '▸';
    color: var(--red-bright);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* Grid 2x2 de tarjetas de estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.6rem 1.4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Línea de color superior */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--cyan));
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-red);
    box-shadow: var(--shadow-red);
}

.stat-num {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--red-bright);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}


/* ============================================================
   10. PRODUCTOS & SERVICIOS
============================================================ */
.services {
    padding-block: var(--gap-xl);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 50%, var(--bg) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.4rem;
}

/* Tarjeta de servicio */
.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Capa de brillo en hover */
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(204, 34, 0, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.svc-card:hover {
    transform: translateY(-7px);
    border-color: var(--border-red);
    box-shadow: var(--shadow-card), var(--shadow-red);
}

.svc-card:hover::after { opacity: 1; }

/* Ícono de categoría */
.svc-icon {
    width: 58px;
    height: 58px;
    background: rgba(204, 34, 0, 0.12);
    border: 1px solid rgba(204, 34, 0, 0.25);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-card:hover .svc-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-red);
}

.svc-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.7rem;
}

.svc-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

/* Link con flecha deslizante */
.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #FF7070;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: gap 0.25s ease;
}

.svc-link:hover { gap: 0.7rem; }

/* ============================================================
   SLIDER ACCESORIOS
============================================================ */
.acc-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin: 0.75rem 0 1rem;
    background: transparent;
    z-index: 1;
}

.acc-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.acc-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.acc-slide img {
    max-height: 190px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(0, 180, 255, 0.25));
    transition: transform 0.3s ease;
}

.acc-slide img:hover { transform: scale(1.05); }

/* Botones prev / next */
.acc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.acc-btn:hover { background: rgba(0, 180, 255, 0.5); }
.acc-prev, .con-prev { left: 6px; }
.acc-next, .con-next { right: 6px; }

/* Dots */
.acc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 6px 0 2px;
}
.acc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}
.acc-dot.active {
    background: #00cfff;
    transform: scale(1.35);
}

/* Lightbox overlay — compartido por sliders */
#accOverlay,
#conOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
}

#accOverlay.active,
#conOverlay.active { display: flex; }

#accOverlayImg,
#conOverlayImg {
    width: 600px;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 14px;
    filter: drop-shadow(0 0 30px rgba(0, 180, 255, 0.45));
    animation: overlayIn 0.25s ease;
}

@keyframes overlayIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

/* Tarjeta deshabilitada — Próximamente */
.svc-card--disabled {
    opacity: 0.65;
    pointer-events: none;
    filter: grayscale(30%);
    position: relative;
}

.svc-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--cyan);
    font-weight: 600;
    margin-top: 0.4rem;
    opacity: 0.85;
}

/* Badge flotante en esquina */
.svc-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
}


/* ── LIGHTBOX DE PRODUCTO ──────────────────────────────────── */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.product-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-lightbox-panel {
    position: relative;
    z-index: 1;
    background: var(--bg-card-2);
    border: 1px solid var(--border-red);
    border-radius: var(--r-lg);
    max-width: 840px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--red-glow);
    transform: scale(0.9) translateY(24px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-lightbox.open .product-lightbox-panel {
    transform: scale(1) translateY(0);
}

.product-lightbox-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    background: rgba(204, 34, 0, 0.18);
    border: 1px solid var(--border-red);
    border-radius: 50%;
    color: var(--text-white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.product-lightbox-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
}

.product-lightbox-img-wrap {
    background: var(--bg);
    border-radius: var(--r-lg) 0 0 var(--r-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 1.5rem;
}

.product-lightbox-img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--r-sm);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.product-lightbox-icon {
    font-size: 7rem;
    line-height: 1;
}

.product-lightbox-info {
    padding: 2.2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.product-lightbox-badge { min-height: 1.6rem; }

.product-lightbox-name {
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--text-white);
    line-height: 1.35;
}

.product-lightbox-price {
    font-family: var(--font-head);
    font-size: 1.55rem;
    color: var(--red-bright);
    text-shadow: 0 0 14px var(--red-glow);
}

.product-lightbox-desc {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
    border-left: 2px solid var(--border-red);
    padding-left: 0.9rem;
}

.product-lightbox-cat {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}


/* ============================================================
   11. PROMOCIONES
============================================================ */
.promos {
    padding-block: var(--gap-xl);
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.4rem;
}

.promo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card), var(--shadow-red);
    border-color: var(--border-red);
}

/* Banner superior con ícono flotante */
.promo-banner {
    height: 155px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-banner-bg {
    position: absolute;
    inset: 0;
}

.promo-banner-icon {
    font-size: 3.8rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
    animation: float 3.5s ease-in-out infinite;
}

.promo-discount {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 3;
    background: var(--red);
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 900;
    padding: 0.3rem 0.65rem;
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-red);
}

.promo-body {
    padding: 1.4rem;
}

.promo-title {
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.promo-desc {
    color: var(--text-muted);
    font-size: 0.84rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.promo-prices {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.promo-price-new {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red-bright);
}

.promo-price-old {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.promo-timer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cyan);
    font-size: 0.8rem;
    margin-bottom: 1.1rem;
}

.promo-btn { width: 100%; }


/* ============================================================
   12. GALERÍA
   Para usar fotos reales: agregar background-image a .gallery-inner
   y eliminar el .gallery-emoji correspondiente.
============================================================ */
.gallery {
    padding-block: var(--gap-xl);
    background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg) 100%);
}

/* Mosaico asimétrico: 3 cols, 2 filas. Primer item ocupa 2 cols. */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 0.9rem;
}

.gallery-item {
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, filter 0.35s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.025);
    z-index: 2;
    filter: brightness(1.1);
}

.gallery-item:first-child { grid-column: span 2; }

.gallery-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-emoji {
    font-size: 3.2rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
}

.gallery-label {
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    padding: 0.9rem 1rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: 0.05em;
    z-index: 3;
}


/* ============================================================
   13. TESTIMONIOS
============================================================ */
.testimonials {
    padding-block: var(--gap-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.4rem;
}

.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.8rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-red);
}

.testi-quote-mark {
    font-family: 'Georgia', serif;
    font-size: 4.5rem;
    line-height: 0.8;
    color: rgba(204, 34, 0, 0.22);
    margin-bottom: 0.3rem;
    display: block;
}

.testi-stars {
    color: var(--gold);
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
    letter-spacing: 0.05em;
}

.testi-text {
    color: var(--text);
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 1.4rem;
    font-size: 0.95rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.testi-name {
    font-family: var(--font-head);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-white);
}

.testi-handle {
    font-size: 0.78rem;
    color: #FF7070;
}


/* ============================================================
   14. CTA FINAL
============================================================ */
.cta-section {
    padding-block: var(--gap-xl);
    position: relative;
    overflow: hidden;
}

.cta-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(204, 34, 0, 0.22) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-mid) 0%, var(--bg) 100%);
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
}

.cta-logo-wrap {
    margin-bottom: 1.8rem;
}

/* Logo flotante en CTA */
.cta-logo-wrap .logo-img {
    width: 80px;
    height: 80px;
    display: inline-block;
    filter: drop-shadow(0 0 22px rgba(204, 34, 0, 0.6));
    animation: float 4s ease-in-out infinite;
}

.cta-title {
    font-family: var(--font-head);
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-title .accent { color: var(--red-bright); }

.cta-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-contacts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-contact-item i { color: var(--red-bright); }


/* ============================================================
   15. FOOTER
============================================================ */
.footer {
    background: #060612;
    border-top: 1px solid var(--border);
    padding-block: 4rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Logo en footer — tamaño reducido */
.footer-logo-img {
    width: 160px;
    height: auto;
    display: block;
}

.footer .logo-img {
    width: 38px;
    height: 38px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-block: 1rem 1.5rem;
}

.social-row {
    display: flex;
    gap: 0.65rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.social-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-white);
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.25s;
}

.footer-links a:hover { color: #FF7070; }

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.footer-contact-row i {
    color: var(--red-bright);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-copy strong { color: var(--red-bright); }

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color 0.25s;
}

.footer-legal a:hover { color: #FF7070; }


/* ============================================================
   16. SCROLL-TO-TOP BUTTON
============================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.25s;
    z-index: 900;
    box-shadow: var(--shadow-red);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover { transform: translateY(-2px); }


/* ============================================================
   17. ANIMACIONES (KEYFRAMES)
============================================================ */

/* Flotamiento suave del logo */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Partículas con trayectoria compleja */
@keyframes float-dot {
    0%, 100% { transform: translate(0, 0);        opacity: 1;    }
    33%       { transform: translate(8px, -16px);  opacity: 0.65; }
    66%       { transform: translate(-5px, -8px);  opacity: 0.85; }
}

/* Rotaciones de anillos */
@keyframes spin-cw  { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes spin-ccw { from { transform: rotate(360deg); } to { transform: rotate(0deg);    } }

/* Pulso del punto "nuevo" */
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0   rgba(204, 34, 0, 0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(204, 34, 0, 0);   }
}


/* ============================================================
   18. CLASES DE ANIMACIÓN POR SCROLL
   JS añade .visible cuando el elemento entra al viewport.
   data-delay="N" escala el delay para efecto cascada en grids.
============================================================ */
.anim-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.anim-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-scroll[data-delay="1"] { transition-delay: 0.10s; }
.anim-scroll[data-delay="2"] { transition-delay: 0.20s; }
.anim-scroll[data-delay="3"] { transition-delay: 0.30s; }
.anim-scroll[data-delay="4"] { transition-delay: 0.40s; }
.anim-scroll[data-delay="5"] { transition-delay: 0.50s; }
.anim-scroll[data-delay="6"] { transition-delay: 0.60s; }


/* ============================================================
   19. RESPONSIVE DESIGN
   Estrategia: desktop-first con max-width.
   Breakpoints: tablet ≤1024px | móvil ≤768px | pequeño ≤480px
============================================================ */

/* --- TABLET --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
    :root {
        --gap-lg: 2.5rem;
        --gap-xl: 4.5rem;
    }

    /* Mostrar hamburguesa, convertir nav en panel lateral */
    .hamburger { display: flex; }

    /* Buscador en nav: solo icono en móvil */
    .nav-search-label { display: none; }
    .nav-search-toggle { padding: 0.42rem 0.65rem; }

    /* Lightbox: una columna en móvil */
    .product-lightbox-panel {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }
    .product-lightbox-img-wrap {
        border-radius: var(--r-lg) var(--r-lg) 0 0;
        min-height: 220px;
        padding: 1rem;
    }
    .product-lightbox-img { max-height: 260px; }
    .product-lightbox-info { padding: 1.25rem 1.25rem 1.5rem; gap: 0.6rem; }
    .product-lightbox-price { font-size: 1.25rem; }

    .nav {
        position: fixed;
        inset-block: 0;
        inset-inline-end: -100%;
        width: 78%;
        max-width: 300px;
        background: rgba(8, 8, 26, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 1.75rem 2rem;
        gap: 0;
        transition: inset-inline-end 0.4s ease;
        border-left: 1px solid var(--border);
        z-index: 999;
    }

    .nav.open { inset-inline-end: 0; }

    .nav a {
        padding: 0.9rem 1rem;
        width: 100%;
        font-size: 1rem;
    }

    .nav .btn {
        margin-top: 0.5rem;
        width: 100%;
    }

    /* Logo: reducir ancho en móvil */
    .logo-img { width: 160px; }

    /* Hero: una columna centrada */
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle { margin-inline: auto; }
    .hero-btns     { justify-content: center; }
    .hero-stats    { justify-content: center; }
    .hero-visual   { display: none; } /* Ocultar órbita para no saturar en móvil */

    /* About: una columna */
    .about-grid { grid-template-columns: 1fr; }

    /* Servicios: una columna en móvil */
    .services-grid    { grid-template-columns: 1fr; }

    /* Promos: una columna en móvil */
    .promos-grid      { grid-template-columns: 1fr; }

    /* Testimonios: una columna en móvil */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Galería: 2 columnas */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item:first-child { grid-column: span 2; }

    /* Footer: una columna */
    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   ANIMACIÓN CAJA DE JUEGOS - Optimizada
============================================================ */
@keyframes cajaSimple {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1) drop-shadow(0 0 8px rgba(255, 120, 0, 0.3));
    }
    15% {
        transform: scale(0.95) rotate(-3deg);
        filter: brightness(0.9) drop-shadow(0 0 4px rgba(255, 120, 0, 0.2));
    }
    25% {
        transform: scale(1.15) rotate(3deg);
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 120, 0, 0.6));
    }
    50% {
        transform: scale(1.02) rotate(0deg);
        filter: brightness(1.05) drop-shadow(0 0 10px rgba(255, 120, 0, 0.4));
    }
}

.caja-explota {
    animation: cajaSimple 5s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

/* --- MÓVIL PEQUEÑO --- */
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:first-child { grid-column: span 1; }
    .hero-stats  { flex-wrap: wrap; gap: 1.2rem; }
    .stats-grid  { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   CATÁLOGO & PEDIDOS
============================================================ */

/* Sección */
.catalogo {
    padding: var(--gap-xl) 0;
    background: var(--bg-mid);
}

.catalogo-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.4rem;
    line-height: 1.7;
}

/* Buscador */
.cat-search-wrap {
    position: relative;
    max-width: 560px;
    margin: 0 auto 1.8rem;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-pill);
    overflow: hidden;
    transition: border-color 0.22s, box-shadow 0.22s;
}

.cat-search-wrap:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

/* Select de categoría dentro del buscador */
.cat-search-select {
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 0.75rem 1.6rem 0.75rem 1rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255%2C255%2C255%2C0.35)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.45rem center;
    transition: color 0.2s;
}

.cat-search-select:focus,
.cat-search-select:hover { color: var(--text-white); }

.cat-search-select option {
    background: var(--bg-mid);
    color: var(--text-white);
}

.cat-search-icon {
    flex-shrink: 0;
    padding: 0 0.55rem 0 0.7rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    pointer-events: none;
    transition: color 0.2s;
}

.cat-search-wrap:focus-within .cat-search-icon { color: var(--red); }

.cat-search {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 2.6rem 0.75rem 0;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.cat-search::placeholder { color: var(--text-muted); }

.cat-search::-webkit-search-cancel-button { display: none; }

.cat-search-clear {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    transition: color 0.2s;
}

.cat-search-clear:hover { color: var(--red); }
.cat-search-clear.hidden { display: none; }

/* Sin resultados */
.cat-no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 3rem 1rem;
    color: var(--text-muted);
    text-align: center;
}

.cat-no-results i {
    font-size: 2.2rem;
    color: var(--border);
}

.cat-no-results p {
    font-size: 1.05rem;
    color: var(--text-white);
    margin: 0;
}

.cat-no-results span {
    font-size: 0.88rem;
}

/* Resaltado de búsqueda */
.cat-highlight {
    background: transparent;
    color: var(--red-bright);
    font-weight: 700;
}

/* Filtros */
.cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.4rem;
}

.cat-filter {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.22s ease;
}

.cat-filter:hover {
    border-color: var(--red);
    color: var(--text-white);
}

.cat-filter.active {
    background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 18px var(--red-glow);
}

/* Grid de productos */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.4rem;
}

/* Tarjeta de producto */
.cat-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-red);
    box-shadow: 0 8px 32px rgba(204, 34, 0, 0.2);
}

.cat-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 1;
    font-size: 0.72rem;
}

/* Imagen */
.cat-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-card-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    position: relative;
}

.cat-card-img::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.7rem;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.cat-card:hover .cat-card-img::after {
    opacity: 1;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cat-card:hover .cat-card-img img {
    transform: scale(1.06);
}

/* Mini galería 2 imágenes en tarjeta */
.cat-gal {
    position: relative;
    width: 100%;
    height: 100%;
}
.cat-gal-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.38s ease;
}
.cat-gal-img--a { opacity: 1; }
.cat-gal-img--b { opacity: 0; }
.cat-card-img:hover .cat-gal-img--a { opacity: 0; transform: none; }
.cat-card-img:hover .cat-gal-img--b { opacity: 1; }
.cat-gal-dots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
    pointer-events: none;
}
.cat-gal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transition: background 0.3s;
}
.cat-gal-dot--on { background: rgba(255,255,255,0.9); }
.cat-card-img:hover .cat-gal-dot--on { background: rgba(255,255,255,0.35); }
.cat-card-img:hover .cat-gal-dot:not(.cat-gal-dot--on) { background: rgba(255,255,255,0.9); }

/* Thumbnails en lightbox */
.product-lightbox-thumbs {
    flex-direction: column;
    order: -1;
    gap: 8px;
    margin-top: 0;
    flex-shrink: 0;
    align-self: center;
}
.lb-thumb {
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    padding: 0;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb--active { border-color: var(--red); }
.lb-thumb:hover:not(.lb-thumb--active) { border-color: var(--cyan); }

.cat-card-icon {
    font-size: 3.5rem;
    line-height: 1;
}

/* Info */
.cat-card-info {
    padding: 0.9rem 0.9rem 0.5rem;
    flex: 1;
}

.cat-card-name {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.cat-card-price {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--cyan);
    margin-bottom: 0.3rem;
}

.cat-card-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0.3rem 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-cat {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Acciones */
.cat-card-actions {
    padding: 0.6rem 0.9rem 0.9rem;
}

.cat-add-btn {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.5rem 0.8rem;
    justify-content: center;
}

/* Selector cantidad */
.cat-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--red);
    border-radius: var(--r-pill);
    overflow: hidden;
    height: 36px;
}

.cat-qty-btn {
    flex: 0 0 36px;
    height: 100%;
    background: var(--red-dark);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.18s;
    line-height: 1;
}

.cat-qty-btn:hover { background: var(--red-bright); }

.cat-qty-num {
    flex: 1;
    text-align: center;
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--text-white);
    background: var(--bg-card-2);
}

/* ============================================================
   BOTÓN FLOTANTE CARRITO (FAB)
============================================================ */
.cart-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 4px 24px var(--red-glow), 0 2px 8px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cart-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(204,34,0,0.7);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: var(--r-pill);
    background: var(--cyan);
    color: #08081A;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-family: var(--font-head);
    border: 2px solid var(--bg);
}

.cart-badge.hidden { display: none; }

/* ============================================================
   OVERLAY DEL CARRITO
============================================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ============================================================
   PANEL LATERAL DEL CARRITO
============================================================ */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 95vw;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-red);
    z-index: 1300;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 48px rgba(204,34,0,0.15);
}

.cart-panel.open {
    transform: translateX(0);
}

/* Header */
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card-2);
}

.cart-title {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-title i { color: var(--red-bright); }

.cart-close {
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s;
}

.cart-close:hover { background: var(--red-dark); color: #fff; }

/* Body */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text-muted);
}

.cart-empty-icon {
    font-size: 2.8rem;
    color: var(--border-red);
}

.cart-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* Item en carrito */
.cart-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.6rem 0.8rem;
}

.cart-item-img {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-icon { font-size: 1.6rem; }

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cart-item-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.73rem;
    color: var(--text-muted);
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.cart-item-sub {
    font-family: var(--font-head);
    font-size: 0.82rem;
    color: var(--cyan);
}

.cart-item-del {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.18s, background 0.18s;
}

.cart-item-del:hover { color: var(--red-bright); background: rgba(204,34,0,0.12); }

/* Footer */
.cart-footer {
    padding: 1rem 1.4rem 1.4rem;
    border-top: 1px solid var(--border);
    background: var(--bg-card-2);
    display: none;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cart-total-row strong {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--cyan);
}

.cart-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cart-send-btns {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.cart-send-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
}

/* Botón Instagram */
.btn-ig {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
    color: #fff;
}

.btn-ig:hover {
    box-shadow: 0 0 32px rgba(225, 48, 108, 0.5);
}

.cart-clear {
    width: 100%;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 0.45rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: border-color 0.18s, color 0.18s;
}

.cart-clear:hover { border-color: var(--red); color: var(--red-bright); }

/* ============================================================
   TOAST NOTIFICACIÓN
============================================================ */
#pbToast {
    position: fixed;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-card-2);
    border: 1px solid var(--cyan);
    color: var(--text-white);
    padding: 0.75rem 1.4rem;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(0,229,255,0.2);
}

#pbToast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE CATÁLOGO
============================================================ */
@media (max-width: 768px) {
    .cat-grid  { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 1rem; }
    .cart-panel { width: 100%; max-width: 100%; }
    #pbToast   { white-space: normal; text-align: center; width: 90vw; }
}

@media (max-width: 480px) {
    .cat-search  { font-size: 0.88rem; padding: 0.65rem 2.6rem 0.65rem 2.4rem; }
    .cat-filters { gap: 0.4rem; }
    .cat-filter  { font-size: 0.8rem; padding: 0.38rem 0.9rem; }
    .cat-grid    { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
}


/* ============================================================
   RETOMA DE CONSOLAS Y VIDEOJUEGOS — #retoma
============================================================ */
.retoma {
    padding-block: var(--gap-xl);
    position: relative;
    overflow: hidden;
}

/* Fondo con imagen spiderman + overlay oscuro */
.retoma-bg {
    position: absolute;
    inset: 0;
    background-image: url(../img/spiderman.jpg);
    background-size: cover;
    background-position: center center;
    z-index: 0;
}
.retoma-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(204, 34, 0, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, rgba(8, 8, 12, 0.88) 0%, rgba(8, 8, 12, 0.80) 100%);
}
.retoma-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.retoma-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ── VISUAL (lado izquierdo) ─────────────────────────────── */
.retoma-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retoma-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(204, 34, 0, 0.18) 0%, transparent 70%);
    pointer-events: none;
    animation: retomaPulse 4s ease-in-out infinite;
}

@keyframes retomaPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.08); }
}

.retoma-exchange {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.retoma-device {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.retoma-device:hover { transform: translateY(-4px); }

.retoma-device--old {
    border-color: rgba(204, 34, 0, 0.3);
}
.retoma-device--old:hover { border-color: var(--red); }

.retoma-device--new {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.1);
}
.retoma-device--new:hover { border-color: var(--cyan); }

.retoma-device-icon {
    font-size: 2.8rem;
    line-height: 1;
}

.retoma-device-lbl {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-transform: uppercase;
}

.retoma-device--old .retoma-device-lbl span { color: var(--red-bright); }
.retoma-device--new .retoma-device-lbl span { color: var(--cyan); }

/* Flecha central con logo */
.retoma-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.retoma-arrow-track {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.retoma-arrow-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    opacity: 0.5;
    animation: retomaDot 1.6s ease-in-out infinite;
}
.retoma-arrow-dot:nth-child(2) { animation-delay: 0.3s; }
.retoma-arrow-dot:nth-child(3) { animation-delay: 0.6s; }

.retoma-arrow-track--right .retoma-arrow-dot { background: var(--cyan); }

@keyframes retomaDot {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.4); }
}

.retoma-arrow-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-card-2);
    border: 1px solid var(--border-red);
    border-radius: var(--r-md);
    padding: 0.6rem 0.5rem;
    box-shadow: var(--shadow-red);
}

.retoma-arrow-badge img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.retoma-arrow-badge span {
    font-family: var(--font-head);
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* ── CONTENIDO (lado derecho) ────────────────────────────── */
.retoma-content { min-width: 0; }

.retoma-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.05;
    margin-block: 0.75rem 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 0 40px rgba(204, 34, 0, 0.2);
}

.retoma-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 48ch;
}

/* Pasos */
.retoma-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.4rem;
}

.retoma-step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.retoma-step-num {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    min-width: 2.4rem;
    padding-top: 0.1rem;
    text-shadow: 0 0 16px var(--red-glow);
}

.retoma-step-body strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.retoma-step-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Value strip destacado */
.retoma-value-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    padding: 0.85rem 1.2rem;
    background: linear-gradient(90deg, rgba(204, 34, 0, 0.18), rgba(204, 34, 0, 0.07));
    border: 1px solid rgba(204, 34, 0, 0.35);
    border-left: 3px solid var(--red-bright);
    border-radius: 8px;
    margin-bottom: 1.75rem;
}
.retoma-value-strip span {
    font-family: var(--font-head);
    font-size: 0.76rem;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.retoma-value-strip i {
    color: var(--red-bright);
    font-size: 0.8rem;
}

/* Trust badges */
.retoma-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.4rem;
    margin-bottom: 2rem;
}
.retoma-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    transition: background 0.2s, border-color 0.2s;
}
.retoma-trust-item:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
}
.retoma-trust-item i {
    color: var(--cyan);
    font-size: 0.9rem;
}
.retoma-trust-item--red i { color: var(--red-bright); }
.retoma-trust-item--red {
    border-color: rgba(204, 34, 0, 0.25);
}

/* CTA row */
.retoma-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.retoma-cta-btn {
    font-size: 1rem;
    padding: 0.85rem 2rem;
    box-shadow: var(--shadow-red);
}

/* Responsive */
@media (max-width: 900px) {
    .retoma-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .ps-evol         { order: 2; margin-left: 0; min-width: 0; padding: 0; align-items: center; }
    .retoma-content  { order: 1; min-width: 0; overflow: hidden; }
    .retoma-desc     { max-width: 100%; }
    .ps-stage        { width: 260px; height: 270px; }
    .ps-track-wrap   { max-width: 300px; }
    .rtm-console, .rtm-scan-wrap { width: 140px; height: 118px; }
    .section-eyebrow          { letter-spacing: 0.08em; font-size: 0.72rem; }
    .retoma-trust-item        { white-space: normal; }
    .retoma-value-strip span  { white-space: normal; }
}

@media (max-width: 480px) {
    .ps-evol         { gap: 1.2rem; width: 100%; padding: 0; }
    .ps-stage        { width: 200px; height: 200px; margin: 0 auto; }
    .ps-track-wrap   { width: 200px; max-width: 200px; margin: 0 auto; }
    .rtm-console, .rtm-scan-wrap { width: 90px; height: 76px; }
    .rtm-coin        { width: 65px; height: 65px; font-size: 1.6rem; }
    .rtm-emoji       { font-size: 1.8rem; }
    .ps-sep          { font-size: 0.5rem; }
    .ps-nodes        { justify-content: center; gap: 0.25rem; }
    .ps-node span    { font-size: 0.32rem; max-width: 2.6rem; text-align: center; }
    .rtm-label       { font-size: 0.42rem; letter-spacing: 0.05em; text-align: center; }
    .rtm-approved    { font-size: 0.38rem; letter-spacing: 0.04em; text-align: center; }
    .section-eyebrow { letter-spacing: 0.06em; font-size: 0.68rem; }
}

@media (max-width: 560px) {
    .retoma-cta-row  { flex-direction: column; align-items: flex-start; }
    .retoma-cta-btn  { width: 100%; font-size: 0.88rem; padding: 0.75rem 1.25rem; }
}

/* ============================================================
   ANIMACIÓN EVOLUCIÓN PLAYSTATION — sección retoma
============================================================ */

/* Contenedor principal */
.ps-evol {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}
@media (min-width: 901px) {
    .ps-evol { margin-left: -3rem; }
}

/* Escenario donde aparece cada consola */
.ps-stage {
    position: relative;
    width: 440px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cada tarjeta de consola */
.ps-item {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7);
}
.ps-item.ps-on {
    opacity: 1;
    transform: scale(1);
}
.ps-item.ps-entering {
    animation: psEnter 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes psEnter {
    0%   { opacity: 0; transform: scale(0.2) rotate(-12deg); }
    60%  { opacity: 1; transform: scale(1.08) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.ps-name {
    font-family: var(--font-head);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-white);
    margin: 0;
}
.ps-year {
    font-size: 0.62rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── IMAGEN DE CONSOLA ────────────────────────────────────── */
.ps-img {
    width: 180px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.7));
    transition: filter 0.3s ease;
}
.ps-item.ps-on .ps-img {
    filter: drop-shadow(0 8px 28px rgba(0,0,0,0.8)) drop-shadow(0 0 16px rgba(0,229,255,0.15));
}

/* ── EXPLOSIÓN ────────────────────────────────────────────── */
.ps-explosion {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 20;
    display: none;
}
.ps-explosion.ps-exp-on { display: block; }

/* Flash central */
.ps-exp-flash {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 20px; height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #ffaa00 35%, transparent 70%);
    animation: psFlash 0.55s ease-out forwards;
}
@keyframes psFlash {
    0%   { opacity: 1; transform: translate(-50%,-50%) scale(0.3); }
    25%  { opacity: 1; transform: translate(-50%,-50%) scale(6); }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(10); }
}

/* Anillo de onda */
.ps-exp-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 3px solid #ff7700;
    box-shadow: 0 0 10px #ff4400, inset 0 0 6px rgba(255,150,0,0.4);
    animation: psRing 0.65s ease-out forwards;
}
@keyframes psRing {
    0%   { opacity: 1; transform: translate(-50%,-50%) scale(0.2); border-color: #fff; }
    50%  { opacity: 0.9; transform: translate(-50%,-50%) scale(8); border-color: #ff7700; }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(16); border-color: transparent; }
}

/* Partículas */
.ps-exp-p {
    position: absolute;
    top: 50%; left: 50%;
    animation: psPart 0.6s ease-out forwards;
}
@keyframes psPart {
    0%   { opacity: 1; transform: translate(-50%,-50%) translate(0,0) scale(1); }
    100% { opacity: 0; transform: translate(-50%,-50%) translate(var(--dx),var(--dy)) scale(0.15); }
}

/* Fragmentos lineales */
.ps-exp-debris {
    position: absolute;
    top: 50%; left: 50%;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ffcc00, transparent);
    border-radius: 2px;
    transform-origin: left center;
    animation: psDebris 0.5s ease-out forwards;
}
@keyframes psDebris {
    0%   { opacity: 1; transform: translate(-50%,-50%) rotate(var(--rot)) translate(0,0); }
    100% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--rot)) translate(var(--dx),var(--dy)); }
}

/* Sacudida del escenario */
.ps-shake {
    animation: psShake 0.35s ease-out;
}
@keyframes psShake {
    0%,100% { transform: translate(0,0); }
    15%     { transform: translate(-5px, 3px); }
    30%     { transform: translate(5px, -3px); }
    45%     { transform: translate(-4px, 2px); }
    60%     { transform: translate(4px, -2px); }
    75%     { transform: translate(-2px, 1px); }
    90%     { transform: translate(2px, -1px); }
}

/* ── TIMELINE ─────────────────────────────────────────────── */
.ps-track-wrap {
    width: 100%;
    max-width: 380px;
}
.ps-track {
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    margin-bottom: 10px;
}
.ps-track-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: linear-gradient(90deg, var(--red), var(--cyan));
    border-radius: 2px;
    width: 0;
    box-shadow: 0 0 8px var(--cyan);
    transition: none;
}
.ps-nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.2rem;
}
.ps-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.ps-sep {
    font-style: normal;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
    margin-bottom: 1rem;
}
.ps-ndot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.4s ease;
}
.ps-node.ps-n-done .ps-ndot {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 8px var(--red);
}
.ps-node.ps-n-active .ps-ndot {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    transform: scale(1.4);
}
.ps-node span {
    font-family: var(--font-head);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    text-align: center;
    max-width: 5.5rem;
    white-space: normal;
    line-height: 1.2;
}
.ps-node.ps-n-active span { color: var(--cyan); }
.ps-node.ps-n-done   span { color: var(--red-bright); }

/* ── ESCENAS NARRATIVAS RETOMA ────────────────────────────────
   Estilos para las 4 escenas del proceso de retoma/upgrade.
   Cada .ps-item[data-i="N"] contiene un .rtm-sc con sus propios
   elementos animados que se activan al recibir .ps-on.
============================================================ */
.rtm-sc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 0.45rem;
}

/* Imagen de consola dentro de escenas */
.rtm-console {
    width: 240px;
    height: 205px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.7));
    display: block;
}
.rtm-console-new {
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.7)) drop-shadow(0 0 18px rgba(0,229,255,0.4));
}

/* Emoji de manos */
.rtm-emoji {
    font-size: 2.6rem;
    line-height: 1;
    display: block;
}

/* Etiqueta de escena */
.rtm-label {
    font-family: var(--font-head);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-white);
    margin: 0;
    text-align: center;
    width: 100%;
    padding-inline: 0.5rem;
}

/* ── Escena 0: Trae tu consola ── */
.ps-item[data-i="0"] .rtm-console {
    opacity: 0;
    transform: translateX(-28px) scale(0.9);
    transition: opacity 0.45s ease 0.15s, transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.15s;
}
.ps-item[data-i="0"].ps-on .rtm-console {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.ps-item[data-i="0"] .rtm-emoji {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease 0.38s, transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.38s;
}
.ps-item[data-i="0"].ps-on .rtm-emoji {
    opacity: 1;
    transform: translateY(0);
}
.ps-item[data-i="0"] .rtm-label {
    opacity: 0;
    transition: opacity 0.4s ease 0.55s;
}
.ps-item[data-i="0"].ps-on .rtm-label { opacity: 1; }

/* ── Escena 1: Análisis ── */
.rtm-scan-wrap {
    position: relative;
    width: 240px;
    height: 205px;
    overflow: visible;
}
.rtm-scan-beam {
    position: absolute;
    top: 5px;
    left: -8px;
    right: -8px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.5) 20%, var(--cyan) 50%, rgba(0,229,255,0.5) 80%, transparent 100%);
    box-shadow: 0 0 8px var(--cyan), 0 0 18px rgba(0,229,255,0.4);
    border-radius: 1px;
    opacity: 0;
}
.ps-item[data-i="1"].ps-on .rtm-scan-beam {
    animation: rtmScan 1.1s ease-in-out 0.4s 2;
}
@keyframes rtmScan {
    0%   { top: 5px;   opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { top: 200px; opacity: 0; }
}
.rtm-checks {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
}
.rtm-check {
    font-size: 0.78rem;
    color: var(--cyan);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.ps-item[data-i="1"].ps-on .rtm-check:nth-child(1) {
    opacity: 1; transform: translateX(0);
    transition-delay: 0.7s;
}
.ps-item[data-i="1"].ps-on .rtm-check:nth-child(2) {
    opacity: 1; transform: translateX(0);
    transition-delay: 1.15s;
}
.ps-item[data-i="1"].ps-on .rtm-check:nth-child(3) {
    opacity: 1; transform: translateX(0);
    transition-delay: 1.6s;
}

/* ── Escena 2: Crédito aprobado ── */
.rtm-coin {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: radial-gradient(circle at 33% 33%, #ffe87c, #ffc200 55%, #b87900);
    border: 3px solid #ffd700;
    box-shadow: 0 0 24px rgba(255,200,0,0.5), inset 0 2px 4px rgba(255,255,255,0.25), 0 4px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: #7a4000;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}
.ps-item[data-i="2"].ps-on .rtm-coin {
    animation: rtmCoinPop 0.65s cubic-bezier(0.34,1.56,0.64,1) 0.2s forwards;
}
@keyframes rtmCoinPop {
    0%   { opacity: 0; transform: scale(0) rotate(-180deg); }
    60%  { opacity: 1; transform: scale(1.1) rotate(8deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.rtm-approved {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #00e676;
    text-shadow: 0 0 12px rgba(0,230,118,0.65), 0 0 26px rgba(0,230,118,0.3);
    text-align: center;
    line-height: 1.35;
    margin: 0;
    width: 100%;
    padding-inline: 0.5rem;
    opacity: 0;
    transform: translateY(8px) scale(0.9);
}
.ps-item[data-i="2"].ps-on .rtm-approved {
    animation: rtmApproved 0.5s ease-out 0.88s forwards;
}
@keyframes rtmApproved {
    0%   { opacity: 0; transform: translateY(8px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Escena 3: ¡Llévate la PS5! ── */
.ps-item[data-i="3"] .rtm-console-new {
    opacity: 0;
    transform: translateY(-22px) scale(0.9);
    transition: opacity 0.5s ease 0.1s, transform 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.1s;
}
.ps-item[data-i="3"].ps-on .rtm-console-new {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.ps-item[data-i="3"] .rtm-emoji {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease 0.42s, transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.42s;
}
.ps-item[data-i="3"].ps-on .rtm-emoji {
    opacity: 1;
    transform: translateY(0);
}
.ps-item[data-i="3"] .rtm-label {
    opacity: 0;
    transition: opacity 0.4s ease 0.6s;
}
.ps-item[data-i="3"].ps-on .rtm-label { opacity: 1; }

/* ── RESPONSIVE ANIMACIÓN RETOMA — post-base (estos van al final para ganar la cascada) ── */
@media (max-width: 900px) {
    .ps-stage                    { width: 260px; height: 270px; }
    .rtm-console, .rtm-scan-wrap { width: 140px; height: 118px; }
    .ps-track-wrap               { max-width: 300px; }
}
@media (max-width: 480px) {
    .ps-evol                     { gap: 1.2rem; padding: 0; }
    .ps-stage                    { width: 200px; height: 200px; margin: 0 auto; }
    .ps-track-wrap               { width: 200px; max-width: 200px; margin: 0 auto; }
    .rtm-console, .rtm-scan-wrap { width: 90px; height: 76px; }
    .rtm-coin                    { width: 65px; height: 65px; font-size: 1.6rem; }
    .rtm-emoji                   { font-size: 1.8rem; }
    .ps-sep                      { font-size: 0.5rem; }
    .ps-nodes                    { justify-content: center; gap: 0.25rem; }
    .ps-node span                { font-size: 0.32rem; max-width: 2.6rem; text-align: center; }
    .rtm-label                   { font-size: 0.42rem; letter-spacing: 0.05em; text-align: center; }
    .rtm-approved                { font-size: 0.38rem; letter-spacing: 0.04em; text-align: center; }
}
