/* ================================================
   VARIABLES DEL SISTEMA — PALETA AZUL / AMARILLO / BLANCO
   ================================================ */
:root {
    --navy-900: #071233;
    --navy-800: #0B1F4D;
    --navy-700: #123C8C;
    --blue-600: #1D4ED8;
    --blue-500: #2F6FED;
    --yellow-400: #FFC629;
    --yellow-500: #FFB100;
    --white: #FFFFFF;
    --offwhite: #F4F6FB;
    --gray-100: #E8ECF5;
    --gray-300: #C6CDDC;
    --gray-400: #8A94A6;
    --text-main: #10192E;
    --text-soft: #4B5670;

    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-yellow: 0 0 20px rgba(255, 198, 41, 0.45), 0 0 40px rgba(255, 198, 41, 0.15);
    --shadow-blue: 0 15px 35px rgba(11, 31, 77, 0.15);
    --shadow-navy-glow: 0 0 20px rgba(47, 111, 237, 0.35);

    --radius: 14px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET Y GLOBALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--offwhite);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-accent { color: var(--yellow-400); }
.text-accent-blue { color: var(--blue-600); }

section { position: relative; }

/* ================================================
   NAVEGACIÓN
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    background: rgba(7, 18, 51, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 198, 41, 0.25);
    transition: var(--transition-smooth);
    z-index: 1000;
    overflow: hidden;
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/ui/pacman.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.navbar.scrolled::before { opacity: 0; }

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 100%;
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-logo {
    font-family: var(--font-title);
    color: var(--yellow-400);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 198, 41, 0.5);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.nav-item:hover { color: var(--yellow-400); }
.nav-item::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: var(--yellow-400);
    box-shadow: var(--shadow-yellow);
    transition: width 0.3s ease;
}
.nav-item:hover::after { width: 100%; }

.arcade-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    width: 70px;
    height: 70px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arcade-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 198, 41, 0.8));
    transition: var(--transition-smooth);
}

.arcade-toggle:hover img {
    filter: drop-shadow(0 0 15px rgba(47, 111, 237, 1));
    transform: scale(1.1);
}

.img-arcade-render {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    cursor: zoom-in;
    transition: var(--transition-smooth);
}

.card-img-placeholder:hover .img-arcade-render {
    transform: scale(1.04);
}

/* ================================================
   GALERÍA DE PRODUCTO (VIDEO + FOTOS)
   ================================================ */
.galeria {
    --galeria-ancho: min(76vw, 900px, calc(64vh * 16 / 9));
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(7, 18, 51, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.galeria.abierto {
    opacity: 1;
    visibility: visible;
}

.galeria-visor {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Contenedor con perspectiva: es lo que da el efecto 3D al girar */
.galeria-escenario {
    position: relative;
    width: var(--galeria-ancho);
    aspect-ratio: 16 / 9;
    perspective: 1400px;
}

/* La "caja" que gira */
.galeria-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 198, 41, 0.35);
    background: radial-gradient(circle at 50% 40%, var(--navy-700) 0%, var(--navy-900) 75%);
    box-shadow: var(--shadow-navy-glow), 0 20px 60px rgba(0, 0, 0, 0.5);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    transform: scale(0.94);
    transition: transform 0.25s ease;
}

.galeria.abierto .galeria-slide { transform: scale(1); }

.galeria-imagen {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 12px;
}

.galeria-video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.galeria-flecha {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--yellow-400);
    background: var(--navy-800);
    color: var(--yellow-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.galeria-flecha:hover {
    background: var(--yellow-400);
    color: var(--navy-900);
    box-shadow: var(--shadow-yellow);
    transform: scale(1.08);
}

.galeria-flecha:active { transform: scale(0.95); }

.galeria-puntos {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.galeria-punto {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.galeria-punto.es-video { background: rgba(255, 198, 41, 0.45); }

.galeria-punto.activo {
    width: 28px;
    background: var(--yellow-400);
}

.galeria-info {
    width: var(--galeria-ancho);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.galeria-titulo {
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.galeria-precio {
    color: var(--yellow-400);
    font-family: var(--font-title);
    font-weight: 700;
    margin-right: 12px;
}

.galeria-contador {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.una-diapositiva .galeria-flecha,
.una-diapositiva .galeria-puntos,
.una-diapositiva .galeria-contador { display: none; }

.galeria-cerrar {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--yellow-400);
    background: var(--navy-800);
    color: var(--yellow-400);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.galeria-cerrar:hover {
    background: var(--yellow-400);
    color: var(--navy-900);
    box-shadow: var(--shadow-yellow);
}

/* Imagen de la tarjeta (es un botón que abre la galería) */
.card-img-placeholder {
    position: relative;
    display: block;
    width: 100%;
    height: 250px;
    padding: 0;
    border: none;
    font: inherit;
    cursor: zoom-in;
    overflow: hidden;
    background-color: var(--navy-900);
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-media-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(7, 18, 51, 0.85);
    color: var(--white);
    font-family: var(--font-title);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.card-media-tag svg { color: var(--yellow-400); }

.card-img-placeholder:hover .card-media-tag {
    background: var(--yellow-400);
    color: var(--navy-900);
}

.card-img-placeholder:hover .card-media-tag svg { color: var(--navy-900); }

/* ESTADO SCROLL (Botón Arcade circular) */
.navbar.scrolled {
    top: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--navy-800);
    border: 2px solid var(--yellow-400);
    box-shadow: var(--shadow-yellow), inset 0 0 15px rgba(255, 198, 41, 0.15);
    overflow: hidden;
}

.navbar.scrolled .nav-content {
    opacity: 0; visibility: hidden; transform: scale(0.8);
}

.navbar.scrolled .arcade-toggle {
    opacity: 1; visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.navbar.scrolled:hover { transform: scale(1.1); }

/* ESTADO MENÚ DESPLEGADO */
.navbar.scrolled.menu-open {
    width: 90%; max-width: 400px;
    height: 420px;
    border-radius: 20px;
    background: rgba(7, 18, 51, 0.97);
    border: 1px solid var(--yellow-400);
}

.navbar.scrolled.menu-open .nav-content {
    opacity: 1; visibility: visible; transform: scale(1);
    flex-direction: column; justify-content: center;
    padding: 3rem 2rem 2rem;
}

.navbar.scrolled.menu-open .nav-logo { display: none; }
.navbar.scrolled.menu-open .nav-menu {
    flex-direction: column; text-align: center;
    gap: 1.5rem; margin-bottom: 2rem;
}
.navbar.scrolled.menu-open .arcade-toggle {
    top: 25px; left: auto; right: 25px;
    transform: translate(0, 0) scale(0.8);
}

/* ================================================
   BOTONES
   ================================================ */
.btn-cta {
    background-color: var(--yellow-400);
    color: var(--navy-900);
    font-family: var(--font-title);
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-yellow);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-cta:hover {
    background-color: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--white);
    box-shadow: var(--shadow-navy-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    font-family: var(--font-title);
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--yellow-400);
    color: var(--yellow-400);
    transform: translateY(-2px);
}

/* Variante de botón outline sobre fondo claro */
.catalogo-section .btn-outline,
.process-section .btn-outline {
    color: var(--navy-800);
    border-color: var(--navy-800);
}
.catalogo-section .btn-outline:hover,
.process-section .btn-outline:hover {
    color: var(--blue-600);
    border-color: var(--blue-600);
}

.btn-large { padding: 16px 42px; font-size: 1.05rem; }

/* ================================================
   HERO
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 140px 5% 80px;
    background-image:
        linear-gradient(180deg, rgba(7, 18, 51, 0.55) 0%, rgba(7, 18, 51, 0.88) 100%),
        url(../assets/img/ui/fondo.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--font-title);
    color: var(--yellow-400);
    letter-spacing: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 198, 41, 0.4);
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 198, 41, 0.08);
}

.hero h1 {
    font-size: 4rem; line-height: 1.15; margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.2rem; color: var(--gray-300);
    max-width: 600px; margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-trust svg { color: var(--yellow-400); flex-shrink: 0; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
    background: var(--white);
    padding: 3rem 5%;
    border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item { display: flex; flex-direction: column; gap: 0.3rem; }

.stat-number {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--blue-600);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ================================================
   TÍTULOS DE SECCIÓN
   ================================================ */
.section-title {
    text-align: center; font-size: 2.4rem; color: var(--navy-800);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* ================================================
   FEATURES / POR QUÉ ELEGIRNOS
   ================================================ */
.features-section {
    padding: 6rem 5%;
    background: var(--offwhite);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-blue);
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--yellow-400);
}

.feature-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--yellow-400);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.3rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    color: var(--navy-800);
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-soft);
}

/* ================================================
   CATÁLOGO
   ================================================ */
.catalogo-section {
    padding: 6rem 5%;
    background: var(--white);
}

.grid-productos {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem; max-width: 1200px; margin: 0 auto;
}

.arcade-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-blue);
}

.arcade-card:hover {
    border-color: var(--yellow-400);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 31, 77, 0.18);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge {
    position: absolute;
    top: 14px; right: 14px;
    font-family: var(--font-title);
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2;
}

.badge-disponible {
    background: var(--blue-600);
    color: var(--white);
}

.badge-agotado {
    background: var(--gray-400);
    color: var(--white);
}

.card-title { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--navy-800); }
.card-desc { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 1.5rem; flex-grow: 1; }
.card-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--gray-100);
}
.price-tag {
    color: var(--navy-800); font-family: var(--font-title);
    font-size: 1.4rem; font-weight: 900;
}

.card-footer .btn-cta {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.card-footer .btn-agotado {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-400);
    cursor: not-allowed;
    box-shadow: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
}

/* ================================================
   PROCESO DE COMPRA
   ================================================ */
.process-section {
    padding: 6rem 5%;
    background: var(--offwhite);
}

.process-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--yellow-400);
    color: var(--navy-800);
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-blue);
}

.process-step h3 {
    font-size: 1rem;
    color: var(--navy-800);
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
    background: var(--navy-800);
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../assets/img/ui/elejido.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    opacity: 0.12;
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-banner p {
    color: var(--gray-300);
    max-width: 550px;
    margin: 0 auto 2.2rem;
    position: relative;
}

.cta-banner .hero-actions {
    margin-bottom: 0;
    position: relative;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background-color: var(--navy-900);
    border-top: 1px solid rgba(255, 198, 41, 0.2);
    padding: 4.5rem 5% 2rem;
    color: var(--gray-300);
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo img { height: 2.2rem; width: auto; vertical-align: middle; margin-left: 10px; }

.footer-brand p { color: var(--gray-400); font-size: 0.92rem; max-width: 320px; }

.footer-col h4 {
    font-family: var(--font-title);
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }

.footer-col a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.footer-col a:hover { color: var(--yellow-400); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    font-size: 0.85rem;
    text-align: center;
    color: var(--gray-400);
}

/* ================================================
   BOTÓN FLOTANTE DE CONTACTO
   ================================================ */
.float-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 900;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.float-contact:hover {
    background: #1EBE5A;
    transform: scale(1.08);
}

/* Foco visible al navegar con teclado */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--yellow-400);
    outline-offset: 3px;
}

/* =========================================
   MEDIA QUERIES — RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .navbar:not(.scrolled) {
        height: auto;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        overflow: visible;
    }

    .nav-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero { padding-top: 160px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-cta, .hero-actions .btn-outline { width: 100%; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-number { font-size: 1.9rem; }

    .section-title { font-size: 1.9rem; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .footer-col ul { align-items: center; }

    .float-contact { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* Galería en celulares: caja más alta y flechas encima de la caja */
@media (max-width: 700px) {
    .galeria { --galeria-ancho: min(92vw, calc(60vh * 3 / 4)); padding: 70px 12px 24px; }
    .galeria-visor { position: relative; }
    .galeria-escenario { aspect-ratio: 3 / 4; }
    .galeria-video { height: auto; aspect-ratio: 16 / 9; }
    .galeria-flecha {
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 42px;
        height: 42px;
        margin-top: -21px;
        background: rgba(11, 31, 77, 0.85);
    }
    .galeria-flecha:hover, .galeria-flecha:active { transform: none; }
    #galeria-prev { left: 6px; }
    #galeria-next { right: 6px; }
    .galeria-info { justify-content: center; text-align: center; }
    .galeria-info .btn-cta { width: 100%; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.1rem; }
}

/* Respeta a quienes desactivan las animaciones en su sistema */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
