    /* ==========================================================================
    1. VARIABLES, RESET Y FUENTES (Estilo Juventus)
    ========================================================================== */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Oswald:wght@400;700&display=swap');

:root {
        --black: #000000;
        --white: #ffffff;
        --gray-dark: #1D1D1D;
        --gray-light: #F2F2F2;
        --accent: #20c720; /* Nuevo color verde AFP */
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        background-color: var(--white);
        color: var(--black);
        font-family: 'Montserrat', sans-serif;
        overflow-x: hidden;
        max-width: 100vw; /* GARANTIZA QUE NO HAYA SCROLL HORIZONTAL EN MÓVIL */
        line-height: 1.5;
    }

    h1, h2, h3, h4, .btn, .nav-btn-header, .logo {
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
        line-height: 1.1;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    ul {
        list-style: none;
    }

    /* ==========================================================================
    2. COMPONENTES GLOBALES Y TIPOGRAFÍA
    ========================================================================== */
    .btn {
        background: var(--white);
        color: var(--black);
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 700;
        display: inline-block;
        border: 2px solid var(--white);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .btn:hover {
        background: var(--black);
        color: var(--white);
        border-color: var(--black);
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: clamp(35px, 6vw, 60px); /* Títulos fluidos */
        letter-spacing: -1px;
    }

    /* ==========================================================================
    3. HEADER Y SIDEBAR (Optimizado para móvil)
    ========================================================================== */
    /* ==========================================================================
    SIDEBAR (Menú Lateral con Secciones)
    ========================================================================== */
    #sidebar {
        position: fixed; /* */
        top: 0;
        left: -100%; /* */
        width: 100%; 
        max-width: 400px; /* */
        height: 100vh;
        background: var(--black); /* */
        color: var(--white); /* */
        z-index: 2000; /* */
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* */
        padding: 80px 40px 40px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.9);
        overflow-y: auto; /* Permite el movimiento de arriba a abajo en celular */
    }

    #sidebar.active { 
        left: 0; /* */
    }

    /* Botón cerrar */
    #close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 35px;
        cursor: pointer;
        transition: color 0.3s;
    }

    #close-btn:hover {
        color: var(--accent); /* */
    }

    /* Grupos de Menú (EL CLUB, ACTUALIDAD, etc.) */
    .sidebar-menu-group {
        margin-bottom: 35px;
    }

    .sidebar-menu-group h3 {
        font-family: 'Oswald', sans-serif; /* */
        font-size: 16px;
        color: var(--accent); /* */
        letter-spacing: 2px;
        text-transform: uppercase;
        border-bottom: 1px solid #333;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }

    #sidebar nav ul {
        list-style: none; /* */
        padding: 0;
    }

    #sidebar nav ul li {
        margin-bottom: 12px;
    }

    #sidebar nav ul li a {
        font-family: 'Montserrat', sans-serif; /* */
        font-size: 22px;
        font-weight: 700;
        text-transform: uppercase;
        transition: all 0.3s ease;
        display: inline-block;
    }

    /* Hover solo para PC */
    @media (min-width: 1024px) {
        #sidebar nav ul li a:hover {
            color: var(--accent); /* */
            transform: translateX(10px);
        }
    }

    /* Idiomas al final del menú */
    .sidebar-lang {
        display: flex;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #333;
    }

    .sidebar-lang .lang-btn {
        border: 1px solid var(--white); /* */
        padding: 6px 12px;
        font-size: 14px;
        font-weight: 700;
        font-family: 'Oswald', sans-serif;
    }

    .sidebar-lang .lang-btn:hover {
        background: var(--white);
        color: var(--black);
    }

    #main-header {
        position: fixed;
        top: 0;
        width: 100%;
        height: 80px; /* Aumentado de 80px a 100px para dar espacio al logo */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        background: var(--black);
        color: var(--white);
        z-index: 1000;
        border-bottom: 1px solid #333;
    }


    .header-left #menu-btn {
        background: none;
        border: none;
        color: var(--white);
        font-size: 30px;
        cursor: pointer;
    }

    /* Logo Agrandado para Celular */
    .logo img {
        height: 75px; /* Aumentado significativamente para que destaque en el móvil */
        width: auto;
        object-fit: contain;
    }

    .header-nav { display: none; } /* Oculto en móvil */

    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .sponsors { display: none; } /* Oculto en móvil */

    /* Patrocinadores aumentados un 30% en base móvil */
    .footer-sponsor-img { 
        height: 50px; 
    }

    .lang-btn {
        border: 1px solid var(--white);
        padding: 4px 8px;
        font-size: 12px;
        font-weight: 700;
    }

    /* Sidebar */
    #sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85vw;
        max-width: 400px;
        height: 100vh;
        background: var(--black);
        color: var(--white);
        z-index: 2000;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 40px 30px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.8);
    }

    #sidebar.active { left: 0; }

    #close-btn {
        background: none; border: none; color: var(--white);
        font-size: 30px; cursor: pointer; margin-bottom: 40px;
    }

    #sidebar nav ul li { margin-bottom: 25px; }
    #sidebar nav ul li a { font-size: 28px; font-weight: 700; }

    /* ==========================================================================
    4. SECCIONES DEL INDEX (Móvil First, Confianza Juventus Vibe)
    ========================================================================== */

    /* Hero */
    #hero {
        height: 100vh;
        width: 100%;
        background: var(--black);
        padding-top: 80px;
    }
    .hero-bg {
        width: 100%; 
        height: 100%; 
        position: relative; /* Asegura que nada se salga del hero */
    }

    .hero-bg picture, 
    .hero-bg picture img { 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
        /* Cambiamos 'center' por 'top' para alinear la imagen desde la parte superior */
        object-position: top; 
        display: block;
    }

    /* News Grid */
    #news-grid {
        display: grid;
        grid-template-columns: 1fr;
        background: var(--black);
        gap: 5px;
    }
    #news-grid .card {
        position: relative;
        height: 60vh;
        background: var(--gray-dark);
    }
    #news-grid .card img {
        width: 100%; height: 100%; object-fit: cover;
        opacity: 0.7; filter: grayscale(50%); transition: 0.5s;
    }
    .card-content {
        position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
        background: linear-gradient(transparent, #000); color: var(--white);
    }
    .card-content h3 { font-size: 30px; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }

    /* Servicios: Regresamos al blanco elegante */
    #servicios { 
        padding: 60px 20px; 
        background: var(--white); /* */
    }

    .servicios-container { 
        display: flex; 
        flex-direction: column; 
        gap: 40px; 
        max-width: 1300px; 
        margin: 0 auto; 
    }

    .servicios-img {
        background-color: var(--white); /* Fondo blanco recuperado */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .servicios-img img { 
        width: 100%; 
        max-width: 450px; 
        filter: none; /* Asegura que el logo se vea original */
    }

    /* La mitad del contenido mantiene el padding original */
    .servicios-content {
        padding: 60px 20px;
    }
    .servicios-grid { display: flex; flex-direction: column; gap: 20px; }
    .servicio-card { background: var(--gray-light); padding: 30px; border-left: 5px solid var(--black); }
    .servicio-card h3 { font-size: 22px; margin-bottom: 5px; }
    .servicio-card p { font-size: 14px; font-weight: 700; color: var(--accent); }

    /* Quiénes Somos */
    #quienes-somos { padding: 60px 20px; background: var(--black); color: var(--white); }
    .quienes-container { display: flex; flex-direction: column; gap: 40px; }
    .quienes-content h2 { font-size: 50px; margin-bottom: 20px; }
    .quienes-desc { font-size: 16px; margin-bottom: 30px; color: #ccc; }
    .mv-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
    .mv-card { border: 2px solid var(--white); padding: 25px; }
    .mv-card h3 { font-size: 24px; margin-bottom: 10px; color: var(--accent); }
    .presencia h4 { font-size: 14px; margin-bottom: 15px; color: #888; border-bottom: 1px solid #333; padding-bottom: 5px; }
    .paises { display: flex; flex-wrap: wrap; gap: 15px; font-size: 14px; }
    .quienes-img img { width: 100%; height: auto; border: 5px solid var(--gray-dark); filter: grayscale(100%); }

    #evento-venezuela { padding: 60px 20px; background: var(--white); }
    .evento-header h2 { font-size: 40px; border-left: 8px solid var(--black); padding-left: 10px; margin-bottom: 30px; }

    /* Programas */
    #programas-section { padding: 60px 20px; background: var(--gray-light); }
    .section-title-center { font-size: 40px; text-align: center; margin-bottom: 40px; }
    .programa-card { background: var(--black); color: var(--white); padding: 40px 20px; position: relative; margin: 0 auto; }
    .badge-popular { position: absolute; top: -15px; right: 20px; background: var(--accent); color: var(--white); padding: 5px 15px; font-weight: bold; }
    .programa-header h3 { font-size: 60px; }
    .programa-header h4 { font-size: 20px; color: #aaa; border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 20px; }
    .programa-features li { font-size: 16px; font-weight: bold; margin-bottom: 10px; }
    .check { color: var(--accent); margin-right: 10px; }
    .btn-programa { display: block; text-align: center; background: var(--white); color: var(--black); padding: 15px; font-size: 18px; font-weight: bold; margin-top: 30px; }

    /* Evento Venezuela Vertical */
    #evento-venezuela-index, #preparacion-mental-index { padding: 60px 20px; background: var(--black); color: var(--white); }
    .eventos-container { display: flex; flex-direction: column; gap: 40px; }
    .title-impact { font-size: 50px; }
    .subtitle-bold { font-size: 16px; color: var(--accent); margin-bottom: 30px; }
    .stats-list li { border-bottom: 1px solid #333; padding: 15px 0; font-size: 18px; }
    .cta-direct { background: var(--white); color: var(--black); padding: 15px; display: block; text-align: center; font-weight: bold; margin-top: 20px; }
    .video-vertical-frame { width: 100%; position: relative; border: 5px solid var(--gray-dark); }
    .video-vertical-frame video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
    .label-now { position: absolute; top: 10px; right: 10px; background: var(--accent); padding: 5px 10px; font-weight: bold; font-size: 12px; }

/* Casa AFPRO */
    #casa-afpro { padding: 60px 20px; background: var(--white); }
    .section-title-left { font-size: 40px; margin-bottom: 30px; }
    .casa-content-box { display: flex; flex-direction: column; gap: 30px; }
    .casa-text h3 { font-size: 30px; margin-bottom: 15px; }
    .casa-features li { font-weight: bold; margin-bottom: 10px; }
    /* Cambiado de grayscale(100%) a 0% para que siempre tenga color en celular */

    /* Banner Contacto */
    #banner-contacto { padding: 60px 20px; background: var(--gray-dark); color: var(--white); text-align: center; }
    .contacto-titulo { font-size: 35px; margin-bottom: 20px; }
    .contacto-bar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
    .contacto-fake-input { background: var(--white); color: #666; padding: 15px; text-align: left; font-size: 14px; }
    .btn-contacto-submit { background: var(--black); border: 2px solid var(--white); color: var(--white); padding: 15px; font-weight: bold; font-size: 18px; }

    /* Matches */
    #matches-section { padding: 60px 20px; background: var(--white); border-top: 5px solid var(--black); }
    .matches-container { display: flex; flex-direction: column; border: 2px solid var(--black); }
    .last-matches { background: var(--gray-light); padding: 30px 20px; }
    .next-match { background: var(--black); color: var(--white); padding: 30px 20px; text-align: center; }
    .match-card { display: flex; flex-direction: column; background: var(--white); margin-bottom: 15px; border: 1px solid #ddd; }
    .match-card.next { flex-direction: column; background: transparent; border: none; align-items: center; }
    .match-date { 
        background: var(--black); 
        color: var(--white); 
        padding: 15px; 
        text-align: center; 
        display: flex; 
        flex-direction: row; /* En móvil fecha y mes uno al lado del otro */
        justify-content: center;
        gap: 10px;
        align-items: center;
    }
    .next-match .match-date { background: var(--white); color: var(--black); margin-bottom: 20px; }
    .match-date .day { font-size: 30px; font-weight: bold; line-height: 1; }
    .match-info { padding: 15px; flex: 1; }
    .team-row { display: flex; justify-content: space-between; font-size: 18px; font-weight: bold; font-family: 'Oswald'; }
    .team-score { color: var(--accent); }
    .live-clock { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; }
    .live-clock #time { font-size: 50px; font-family: 'Oswald'; }
    .fixtures-link { text-align: center; margin-top: 20px; font-weight: bold; }

    /* Jugadores Index */
    #jugadores-index { padding: 60px 20px; background: var(--white); }
    .jugadores-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
    .jugador-card { border: 4px solid var(--black); }
    .jugador-img { aspect-ratio: 4/5; }
    .jugador-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
    .jugador-info { padding: 20px; background: var(--white); }
    .jugador-info h3 { font-size: 30px; line-height: 1; }
    .jugador-info h4 { font-size: 14px; color: var(--accent); margin-bottom: 15px; }
    .btn-jugador { display: block; text-align: center; border: 2px solid var(--black); padding: 10px; font-weight: bold; margin-top: 15px; transition: 0.3s; }
    .btn-jugador:hover { background: var(--black); color: var(--white); }
    .btn-outline-black { display: block; text-align: center; border: 2px solid var(--black); padding: 15px; font-size: 16px; font-weight: bold; margin-top: 40px; transition: 0.3s; }
    .btn-outline-black:hover { background: var(--black); color: var(--white); }

    /* Video Section (Mobile) */
    #video-section { padding: 60px 20px; background: var(--black); color: var(--white); }
    .video-title { display: flex; justify-content: center; }
    .video-title h2 { font-size: 50px; margin-bottom: 20px; text-align: center; }
    .video-card { height: 400px; position: relative; border: 2px solid #333; }
    .video-card video, .video-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%); transition: 0.3s; }
    .play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 40px; background: rgba(0,0,0,0.6); padding: 10px 20px; border-radius: 50%; border: 2px solid white; }
    .video-info { position: absolute; bottom: 0; width: 100%; padding: 20px; background: linear-gradient(transparent, #000); }
    .all-videos-link { text-align: center; margin-top: 20px; font-weight: bold; }

    /* Nueva Era */
    #nueva-era { padding: 80px 20px; text-align: center; background: var(--white); border-top: 5px solid var(--black); }
    .titulo-slogan { font-size: 45px; font-style: italic; margin-bottom: 30px; }
    .btn-manifiesto { border: 2px solid var(--black); padding: 15px 40px; font-size: 18px; font-weight: bold; display: inline-block; transition: 0.3s; }
    .btn-manifiesto:hover { background: var(--black); color: var(--white); }

    /* ==========================================================================
    FOOTER
    ========================================================================== */
    #main-footer { background: var(--black); color: var(--white); padding: 60px 20px 300px; }
   /* 1. Contenedor Maestro: Apila el grupo de logos y el grupo de redes de arriba hacia abajo */
.footer-top {
    display: flex;
    flex-direction: column !important; /* Fuerza a que las cosas vayan de arriba a abajo */
    align-items: center;
    gap: 30px; /* Espacio entre los logos de empresa y las redes sociales */
    width: 100%;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

    .footer-top .logo img { 
        height: 50px; 
        max-height: none !important; 
    }

    .footer-socials { display: flex; gap: 15px; }
    .footer-socials a { width: 40px; height: 40px; border: 1px solid var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: 0.3s; }
    .footer-socials a:hover { background: var(--white); color: var(--black); }
    .footer-links { display: grid; grid-template-columns: 1fr; gap: 30px; text-align: center; margin-bottom: 40px; }
    .footer-col h4 { font-size: 20px; margin-bottom: 15px; }
    .app-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
    .app-btn { border: 1px solid var(--white); padding: 10px; transition: 0.3s; cursor: pointer; }
    .app-btn:hover { background: var(--white); color: var(--black); }
    .footer-legal-links { display: flex; flex-direction: column; gap: 15px; align-items: center; font-size: 12px; font-weight: bold; margin-bottom: 20px; color: #888; }
    .footer-copyright { text-align: center; font-size: 11px; color: #555; }


    /* ==========================================================================
    5. RESPONSIVE PARA ESCRITORIO (PC - Grids y Ajuste de Formatos)
    ========================================================================== */
    /* Todo lo que esté dentro de este bloque SÓLO se aplica en Computadora */
    @media (min-width: 1024px) {
        
        #main-header { 
            padding: 0 50px; 
            height: 90px; 
        }

        .logo img { 
            height: 70px; 
        }
        
        .sponsor-logo img { 
            height: 45px; 
        }
        
        /* Layouts Grid para PC */
        #news-grid { grid-template-columns: repeat(3, 1fr); }
        .servicios-container, .quienes-container, .eventos-container { flex-direction: row; align-items: center; max-width: 1300px; margin: 0 auto; }
        .servicios-img, .servicios-content, .quienes-content, .quienes-img, .eventos-info, .eventos-media { flex: 1; width: 50%; }
        
        .mv-grid { flex-direction: row; }
        .jugadores-grid { grid-template-columns: repeat(3, 1fr); max-width: 1300px; margin: 0 auto; }
        .contacto-bar { flex-direction: row; max-width: 800px; margin: 0 auto 20px; }
        .contacto-fake-input { flex: 1; }

        /* =========================================================
        FIX: SECCIÓN MARCADORES (MATCHES) EN PC
        ========================================================= */
        .matches-container { flex-direction: row; }
        .last-matches { width: 50%; padding: 50px; }
        
        .last-matches .section-title h2, 
        .next-match .section-title h2 { font-size: 45px; }

        .next-match { 
            width: 50%; padding: 50px; padding-right: 220px; 
            position: relative; display: flex; flex-direction: column; justify-content: center;
        }
        
        .match-card.next { width: 100%; flex-direction: row; align-items: center; }
        
        .live-clock { 
            position: absolute; right: 40px; top: 50%; transform: translateY(-50%); 
            margin-top: 0; border-top: none; border-left: 2px solid #333; 
            padding-left: 30px; text-align: right; width: auto;
        } /* LLAVE REPARADA AQUI */

        /* =========================================================
        NEWS.HTML EN PC
        ========================================================= */
        #noticias-header {
            padding-top: 60px;
        }

        #noticia-destacada {
            padding: 40px 50px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .destacada-container {
            flex-direction: row; /* En PC, imagen a la izquierda, texto a la derecha */
        }

        .destacada-img {
            width: 60%; /* La imagen ocupa más espacio */
        }

        .destacada-info {
            width: 40%;
            padding: 50px;
        }

        .noticias-grid-container {
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 3 columnas en PC */
            gap: 40px;
        }

        /* Efectos Hover Elegantes en PC */
        .noticia-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .noticia-card:hover .noticia-img-wrapper img {
            transform: scale(1.05); /* Efecto de zoom */
            filter: grayscale(0%); /* Recupera el color original */
        }
        
        /* =========================================================
        SECCIÓN VIDEO (Título centrado verticalmente)
        ========================================================= */
        .video-container { display: flex; flex-direction: row; max-width: 1300px; margin: 0 auto; align-items: center; gap: 50px; }
        .video-title { display: flex; align-items: center; justify-content: center; height: 500px; }
        .video-title h2 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 110px; margin: 0; line-height: 0.8; }
        .video-carousel-wrapper { flex: 1; overflow: hidden; }
        .video-card { flex: 0 0 320px; height: 500px; }



    /* Posicionamiento específico para el Gym */
    #gym-prev { left: 10px; } 
    #gym-next { right: 10px; }
        /* =========================================================
        FIX DEFINITIVO: JUGADORES.HTML EN PC
        ========================================================= */
        .plantilla-grid {
            grid-template-columns: repeat(auto-fill, 280px); 
            gap: 30px;
            justify-content: flex-start;
        }

        #plantilla-completa .jugador-card {
            width: 280px; 
            max-width: 280px;
        }

        #plantilla-completa .jugador-card:hover {
            transform: translateY(-10px);
            box-shadow: 10px 10px 0px var(--black);
        }

        /* =========================================================
        AGENCIA.HTML EN PC
        ========================================================= */
        #agencia-hero {
            height: 70vh; /* Un poco más alto en PC */
        }

        .team-row {
            grid-template-columns: repeat(3, 1fr); /* 3 columnas en PC */
            gap: 60px; /* Más espacio entre miembros */
        }

/* =========================================================
        CASA AFPRO PC (Corregido: A color y sin espacios)
        ========================================================= */
        .casa-content-box { flex-direction: row; align-items: center; gap: 60px; max-width: 1300px; margin: 0 auto; }
        .casa-text { flex: 1; }
        .casa-gallery-carousel { 
            flex: 1; 
            position: relative; 
            padding: 0; 
            border: 5px solid var(--black); 
            display: flex; /* Ayuda a eliminar espacios muertos internos */
            background: var(--black); /* Oculta cualquier borde blanco sobrante */
        }
        #casa-prev { left: 10px !important; }
        #casa-next { right: 10px !important; }
        }
        /* =========================================================
        FOOTER PC Layout
        ========================================================= */
        .footer-top { flex-direction: row; justify-content: space-between; }
        
        .footer-top .logo img { height: 140px; }

        .footer-links { 
        grid-template-columns: repeat(3, 1fr) !important; 
        text-align: center !important; /* Centra el texto */
        max-width: 1000px; /* Evita que se separen demasiado */
        margin: 0 auto 40px auto !important; /* Centra el bloque entero en la pantalla */
    }
        
        .footer-sponsors-row { 
            grid-template-columns: repeat(3, 1fr) !important; /* 4 logos por fila */
            max-width: 1100px;
            margin: 0 auto 30px;
        }


        /* Efectos Hover Desktop */
        #news-grid .card:hover img { transform: scale(1.05); filter: grayscale(0%); }
        .servicio-card:hover { transform: translateX(10px); background: #e0e0e0; }
        .video-card:hover img, .video-card:hover video, .jugador-img:hover img { filter: grayscale(0%); }
        .jugador-card:hover { transform: translateY(-10px); box-shadow: 15px 15px 0px var(--black); }

        /* Vuelve a poner las tarjetas de partidos en fila para PC */
        .match-card { flex-direction: row; }
        
        /* Vuelve a poner la fecha del partido apilada en PC */
        .match-date { flex-direction: column; min-width: 100px; gap: 0; }

        /* =========================================================
        CLUB.HTML EN PC
        ========================================================= */
        #nosotros-hero { justify-content: flex-start; text-align: left; padding-left: 10%; }
        
        #quienes-somos-detalle { padding: 100px 50px; max-width: 1400px; margin: 0 auto; }
        .container-flex { flex-direction: row; align-items: flex-start; gap: 60px; }
        .texto-principal { flex: 1.2; }
        
        /* Imagen Quiénes Somos PC */
        .img-quienes-somos {
            border-left: 10px solid var(--black);
            height: 500px; 
            object-fit: cover; 
            filter: grayscale(0%);
        }
        
        .mv-container { flex: 0.8; padding-top: 80px; }

        #ofrecemos-detalle { padding: 100px 50px; }
        .ofrecemos-grid-nosotros { grid-template-columns: repeat(3, 1fr); max-width: 1400px; margin: 0 auto; gap: 30px; }
        .ofrecemos-item { text-align: center; padding: 30px 20px; transition: transform 0.3s, background 0.3s; }
        .ofrecemos-item:hover { transform: translateY(-5px); background: #e0e0e0; }

        #instalaciones-nosotros { padding: 100px 50px; max-width: 1400px; margin: 0 auto; }
        .img-instalaciones-principal {
        width: 100%; /* Cambiamos 50% por 100% para que llene la pantalla en celular */
        height: auto;
        max-height: 350px; /* Limita la altura en celular para que no ocupe todo el espacio */
        object-fit: cover;
        border: 4px solid var(--black);
        margin-top: 20px;
        filter: grayscale(0%) !important; /* Fuerza el color natural */
    }
    @media (min-width: 1024px) {
    .img-instalaciones-principal {
        width: 100% !important;
        max-width: 1000px !important; /* Evita que se estire demasiado hacia los lados */
        height: auto !important; /* Mantiene la proporción original perfecta */
        max-height: none !important; /* Quita el límite de altura que cortaba las cabezas */
        margin: 40px auto 0 !important; /* La centra perfectamente con un buen espacio arriba */
        display: block !important;
        object-fit: cover !important;
    }
}
        .experiencia-lista ul { grid-template-columns: repeat(4, 1fr); gap: 30px; }

        /* Ajustes Carrusel Club PC */
        .club-carousel { 
            margin: 0 auto 40px; 
            aspect-ratio: 16/9; 
            max-width: 1200px;
        }
        #casa-club-prev { left: 20px; } 
        #casa-club-next { right: 20px; }

        .casa-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }

        #global-eventos { flex-direction: row; }
        .presencia-box, .eventos-box { flex: 1; padding: 100px 10%; display: flex; flex-direction: column; justify-content: center; }

     /* <-- CIERRE GLOBAL DEL BLOQUE @MEDIA DE COMPUTADORA */


    /* ==========================================================================
    DEBAJO DE ACÁ ES CONTACTO.HTML (Móvil y PC)
    ========================================================================== */

    #scouting-form-section {
        padding: 60px 20px;
        background: var(--gray-light);
        min-height: calc(100vh - 100px);
        display: flex;
        align-items: center;
    }

    .scouting-container {
        max-width: 800px;
        margin: 0 auto;
        background: var(--white);
        padding: 40px 30px;
        border-top: 10px solid var(--black); 
        box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    }

    .scouting-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .scouting-header h1 {
        font-size: clamp(30px, 7vw, 45px);
        margin-bottom: 15px;
        letter-spacing: -1px;
    }

    .scouting-header p {
        font-size: 14px;
        font-weight: 600;
        color: #666;
        text-transform: uppercase;
    }

    .scouting-form {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        display: flex;
        flex-direction: column; /* En móvil van uno debajo de otro */
        gap: 25px;
    }

    .form-group label {
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .form-group input, 
    .form-group textarea {
        width: 100%;
        padding: 15px;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        border: 2px solid #e0e0e0;
        background: #fdfdfd;
        transition: all 0.3s ease;
    }

    .form-group input:focus, 
    .form-group textarea:focus {
        border-color: var(--black);
        background: var(--white);
        outline: none;
    }

    .btn-aplicar {
        background: var(--black);
        color: var(--white);
        padding: 20px;
        font-family: 'Oswald', sans-serif;
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.2s ease;
        margin-top: 10px;
    }

    .btn-aplicar:hover {
        background: var(--accent);
        transform: translateY(-3px);
    }

    /* ==========================================================================
    DEBAJO DE ACÁ ES JUGADORES.HTML
    ========================================================================== */

    /* FIX FINAL: 3 JUGADORES POR FILA EN PC */
    @media (min-width: 1024px) {
        .plantilla-grid {
            grid-template-columns: repeat(3, 1fr) !important; 
            gap: 40px; 
            max-width: 1200px; 
            margin: 0 auto;
        }

        #plantilla-completa .jugador-card {
            width: 100%; 
            max-width: 380px; 
            margin: 0 auto;
        }

        #plantilla-completa .jugador-img {
            height: 450px; 
            width: 100%;
            overflow: hidden;
        }

        #plantilla-completa .jugador-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        #plantilla-completa .jugador-card:hover {
            transform: translateY(-10px);
            box-shadow: 15px 15px 0px var(--black);
        }

    }

/* ==========================================================================
       HERO JUGADORES.HTML (FONDO NEGRO Y TEXTO GIGANTE)
       ========================================================================== */
    #jugadores-hero-page {
        height: 40vh; /* Altura ajustada para verse elegante sin imagen */
        min-height: 350px;
        background: var(--black); /* Fondo completamente negro, sin imagen */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--white);
        padding-top: 80px; /* Compensa el espacio del header */
    }

    .hero-jugadores-content {
        padding: 0 20px;
    }

    .hero-jugadores-content h1 {
        font-family: 'Oswald', sans-serif;
        font-size: clamp(50px, 9vw, 110px); /* Letra gigante y adaptable */
        line-height: 1.1;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 2px; /* Un poco de espacio entre letras */
    }

    .hero-jugadores-content p {
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(16px, 3vw, 24px); /* Subtítulo más grande y legible */
        font-weight: 700;
        color: var(--accent); /* Lo ponemos en el color de acento (rojo) para que resalte espectacular */
        letter-spacing: 5px; /* Estilo cinemático/premium */
        text-transform: uppercase;
    }

    .plantilla-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .posicion-titulo {
        font-size: clamp(28px, 5vw, 40px);
        border-bottom: 5px solid var(--black);
        padding-bottom: 10px;
        margin: 60px 0 30px;
        color: var(--black);
        text-transform: uppercase;
    }

    .plantilla-grid {
        display: grid;
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    #plantilla-completa .jugador-card {
        border: 3px solid var(--black);
        background: var(--white);
        display: flex;
        flex-direction: column;
        width: 100%; 
    }

    #plantilla-completa .jugador-img {
        width: 100%;
        aspect-ratio: 4/5;
        overflow: hidden;
    }

    #plantilla-completa .jugador-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(0%); 
    }


    #plantilla-completa .jugador-info {
        padding: 15px;
        background: var(--white);
        border-top: 3px solid var(--black);
    }

    #plantilla-completa .jugador-info h3 {
        font-size: 18px;
        color: var(--black);
        text-transform: uppercase;
    }

    #noticias-header {
        padding: 40px 20px 20px;
        text-align: center;
        background: var(--white);
    }

    #noticias-header h1 {
        font-size: clamp(40px, 8vw, 70px);
        border-bottom: 5px solid var(--black);
        display: inline-block;
        padding: 0 15px;
    }

    #noticia-destacada {
        padding: 20px;
        background: var(--white);
    }

    .destacada-container {
        display: flex;
        flex-direction: column; 
        background: var(--black);
        color: var(--white);
    }

    .destacada-img {
        width: 100%;
    }

    .destacada-img img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        display: block;
        filter: grayscale(20%); 
    }

    .destacada-info {
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .news-meta {
        display: flex;
        gap: 15px;
        font-size: 14px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        margin-bottom: 15px;
        color: #aaa;
    }

    .news-category {
        color: var(--accent); 
    }

    .destacada-info h2 {
        font-size: clamp(28px, 6vw, 45px);
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .destacada-info p {
        font-size: 16px;
        color: #ccc;
    }

    #noticias-grid-pagina {
        padding: 40px 20px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .noticias-grid-container {
        display: grid;
        grid-template-columns: 1fr; 
        gap: 30px;
        margin-bottom: 50px;
    }

    .noticia-card {
        display: flex;
        flex-direction: column;
        background: var(--gray-light);
        transition: transform 0.3s, box-shadow 0.3s;
        cursor: pointer;
    }

    .noticia-img-wrapper {
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
    }

    .noticia-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%); 
        transition: transform 0.5s ease, filter 0.5s ease;
    }

    .noticia-contenido {
        padding: 25px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .noticia-contenido h3 {
        font-size: 22px;
        margin-bottom: 20px;
        line-height: 1.2;
        color: var(--black);
    }

    .link-flecha {
        margin-top: auto;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        border-bottom: 2px solid var(--black);
        display: inline-block;
        width: max-content;
        transition: color 0.3s, border-color 0.3s;
    }

    .link-flecha:hover {
        color: var(--accent);
        border-color: var(--accent);
    }

    .cargar-mas-container {
        text-align: center;
    }

    .btn-cargar-mas {
        background: transparent;
        border: 2px solid var(--black);
        padding: 15px 40px;
        font-size: 16px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        cursor: pointer;
        transition: 0.3s;
    }

    .btn-cargar-mas:hover {
        background: var(--black);
        color: var(--white);
    }   


    /* ==========================================================================
    DEBAJO DE ACÁ ES PRIMEREQUIPO.HTML
    ========================================================================== */

    #primer-equipo-hero {
        height: 40vh;
        background: var(--black);
        display: flex;
        align-items: flex-end; 
        padding: 0 20px 30px;
        color: var(--white);
        margin-top: 80px; 
    }

    #primer-equipo-hero h1 {
        font-size: clamp(40px, 8vw, 80px);
        margin: 0;
        line-height: 1;
    }

    .breadcrumbs-bar {
        background: var(--gray-light);
        padding: 15px 20px;
        font-size: 12px;
        font-weight: 600;
        color: #555;
        border-bottom: 2px solid #ddd;
    }

    .breadcrumbs-content strong {
        color: var(--black);
    }

    #primer-equipo-grid {
        display: grid;
        grid-template-columns: 1fr; 
        gap: 0; 
        background: var(--black);
    }

    .pe-grid-item {
        position: relative;
        height: 50vh; 
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: flex-end; 
        padding: 40px;
        overflow: hidden;
        cursor: pointer;
    }

    .pe-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        transition: background 0.3s ease;
        z-index: 1;
    }

    .pe-item-content {
        position: relative;
        z-index: 2;
        color: var(--white);
        width: 100%;
    }

    .pe-subtitle {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 10px;
        display: block;
        color: #ccc;
    }

    .pe-item-content h2 {
        font-size: clamp(30px, 6vw, 50px);
        margin-bottom: 20px;
        line-height: 1.1;
        transition: transform 0.3s ease;
    }

    .btn-pe {
        display: inline-block;
        background: transparent;
        border: 2px solid var(--white);
        color: var(--white);
        padding: 12px 25px;
        font-size: 14px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .pe-grid-item:hover .pe-overlay {
        background: linear-gradient(transparent, rgba(0,0,0,0.95)); 
    }

    .pe-grid-item:hover .pe-item-content h2 {
        transform: translateY(-5px); 
    }

    .pe-grid-item:hover .btn-pe {
        background: var(--white);
        color: var(--black);
    }

    /* PRIMEREQUIPO.HTML EN PC */
    @media (min-width: 1024px) {
        #primer-equipo-hero {
            padding-left: 50px; 
        }

        .breadcrumbs-bar {
            padding: 15px 50px;
        }

        #primer-equipo-grid {
            grid-template-columns: repeat(2, 1fr); 
        }

        .pe-grid-item {
            height: 600px; 
        }
    }

    /* ==========================================================================
    DEBAJO DE ACÁ ES UNETE.HTML
    ========================================================================== */

    #planes-completos {
        padding: 120px 20px 80px; 
        background: var(--gray-light);
        min-height: 100vh;
    }

    .planes-intro {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 60px;
    }

    .planes-intro h2 {
        font-size: clamp(35px, 6vw, 60px);
        margin-bottom: 20px;
        letter-spacing: -1px;
    }

    .planes-intro p {
        font-size: 16px;
        color: #555;
        font-weight: 600;
    }

    .planes-grid {
        display: flex;
        flex-direction: column; 
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .plan-card {
        background: var(--white);
        border: 4px solid var(--black);
        padding: 40px 30px;
        position: relative;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .plan-encabezado {
        text-align: center;
        border-bottom: 2px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .plan-encabezado h3 {
        font-size: clamp(40px, 8vw, 60px);
        color: var(--black);
        line-height: 1;
        margin-bottom: 5px;
    }

    .plan-encabezado h4 {
        font-size: 18px;
        color: var(--accent);
        letter-spacing: 2px;
    }

    .plan-descripcion {
        font-size: 14px;
        color: #666;
        margin-bottom: 25px;
        text-align: center;
        min-height: 60px; 
    }

    .plan-caracteristicas {
        margin-bottom: 40px;
        flex-grow: 1; 
    }

    .plan-caracteristicas li {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .check-icon {
        color: var(--accent);
        font-size: 18px;
        margin-right: 15px;
        font-family: 'Oswald', sans-serif;
    }

    .btn-plan {
        display: block;
        text-align: center;
        background: var(--black);
        color: var(--white);
        padding: 18px;
        font-family: 'Oswald', sans-serif;
        font-size: 18px;
        font-weight: 700;
        border: 2px solid var(--black);
        transition: 0.3s;
        text-transform: uppercase;
    }

    .btn-plan:hover {
        background: var(--white);
        color: var(--black);
    }

    .plan-card.destacado {
        background: var(--black);
        color: var(--white);
        border-color: var(--black);
    }

    .plan-card.destacado .plan-encabezado {
        border-bottom-color: #333;
    }

    .plan-card.destacado .plan-encabezado h3 {
        color: var(--white);
    }

    .plan-card.destacado .plan-descripcion {
        color: #aaa;
    }

    .plan-card.destacado .check-icon {
        color: var(--accent);
    }

    .badge-popular {
        position: absolute;
        top: -18px;
        right: 30px;
        background: var(--accent);
        color: var(--white);
        font-family: 'Oswald', sans-serif;
        font-size: 14px;
        font-weight: 700;
        padding: 6px 20px;
        letter-spacing: 1px;
    }

    .destacado-btn {
        background: var(--white);
        color: var(--black);
        border-color: var(--white);
    }

    .destacado-btn:hover {
        background: var(--accent);
        color: var(--white);
        border-color: var(--accent);
    }

    /* UNETE.HTML EN PC */
    @media (min-width: 1024px) {
        #planes-completos {
            padding: 150px 50px 100px;
        }

        .planes-grid {
            flex-direction: row; 
            align-items: stretch; 
            gap: 30px;
        }

        .plan-card {
            flex: 1; 
        }

        .plan-card:hover {
            transform: translateY(-10px); 
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .plan-card.destacado {
            transform: scale(1.05);
            z-index: 10; 
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        .plan-card.destacado:hover {
            transform: scale(1.05) translateY(-10px); 
        }
    }

    #video-hero {
        position: relative;
        background: var(--black);
        padding-top: 0; 
        overflow: hidden;
    }

    .video-hero-container {
        position: relative;
        width: 100%;
        line-height: 0; 
    }

    .video-hero-container video {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .video-hero-info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 30px;
        background: linear-gradient(transparent, #000 80%);
        color: var(--white);
        z-index: 2;
    }

    .video-tag {
        display: inline-block;
        background: var(--accent);
        padding: 3px 10px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .video-hero-info h1 {
        font-size: clamp(28px, 6vw, 45px);
        margin-bottom: 5px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        text-transform: uppercase;
    }

    .video-hero-info p {
        font-size: 14px;
        color: #ccc;
        text-transform: uppercase;
        font-weight: 600;
    }

    .video-gallery-wrapper {
        padding: 60px 20px;
        background: var(--white);
    }

    .video-row-section {
        margin-bottom: 80px;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    h2.section-title-news {
        font-size: clamp(35px, 7vw, 60px);
        color: var(--black);
        margin-bottom: 40px;
        text-align: center;
        border-bottom: 5px solid var(--black);
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        padding-bottom: 5px;
        text-transform: uppercase;
        font-family: 'Oswald', sans-serif;
    }

    .video-grid-news, .collections-grid, .photo-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-card-news {
        background: var(--gray-light);
        border: 4px solid var(--black);
        transition: 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .thumb-wrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
    }

    .thumb-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%);
        transition: 0.5s ease;
    }

    .play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 50px;
        color: var(--white);
        opacity: 0.8;
        z-index: 2;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        width: 80px; height: 80px;
        display: flex; align-items: center; justify-content: center;
        border: 2px solid var(--white);
        transition: 0.3s;
    }

    .thumb-wrapper:hover .play-overlay {
        opacity: 1;
        background: rgba(0,0,0,0.7);
    }

    .video-meta {
        padding: 15px 20px 5px;
        font-size: 13px;
        font-weight: 700;
        color: var(--accent);
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
    }

    .video-card-news h3 {
        padding: 0 20px 20px;
        font-size: 20px;
        color: var(--black);
        text-transform: uppercase;
        font-family: 'Oswald', sans-serif;
    }

    .collection-box {
        position: relative;
        aspect-ratio: 16/9;
        overflow: hidden;
        border: 4px solid var(--black);
        cursor: pointer;
    }

    .collection-box img {
        width: 100%; height: 100%; object-fit: cover;
        filter: grayscale(100%);
        transition: 0.5s ease;
    }

    .collection-overlay {
        position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
        z-index: 2;
    }

    .collection-overlay h3 {
        font-size: 24px; color: var(--white);
        text-transform: uppercase;
        font-family: 'Oswald', sans-serif;
    }

    .highlights-scroll {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .highlights-scroll::-webkit-scrollbar { display: none; }

    .mini-video-card {
        flex: 0 0 280px; 
        scroll-snap-align: start;
        position: relative;
        border: 4px solid var(--black);
        background: var(--white);
        cursor: pointer;
    }

    .mini-video-card img {
        width: 100%; aspect-ratio: 16/9; object-fit: cover;
        filter: grayscale(100%); transition: 0.5s;
    }

    .mini-play {
        position: absolute; top: 10px; right: 10px;
        background: var(--accent); color: var(--white);
        width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
        font-family: 'Oswald', sans-serif; font-weight: 700;
        border: 1px solid var(--white);
    }

    .mini-info {
        padding: 10px;
        font-size: 13px; font-weight: 700; color: var(--black);
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
        min-height: 50px; 
    }

    /* ==========================================================================
    APARTADO ESPECÍFICO: debajo VIDEO.HTML (ESTILO ÉLITE A COLOR)
    ========================================================================== */

    .video-filters-bar {
        background: var(--black);
        padding: 20px;
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
        position: sticky;
        top: 100px; 
        z-index: 100;
        border-bottom: 1px solid #333;
    }

    .filter-btn {
        background: transparent;
        border: 2px solid var(--white);
        color: var(--white);
        padding: 10px 25px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .filter-btn.active, .filter-btn:hover {
        background: var(--white);
        color: var(--black);
    }

    .photo-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }

    .photo-item {
        aspect-ratio: 1/1;
        overflow: hidden;
        border: 3px solid var(--black);
        background: var(--black);
    }

    .photo-item:hover img {
        transform: scale(1.1);
    }

    /* AJUSTES PARA ESCRITORIO (PC) RESTANTES */
    @media (min-width: 1024px) {
        .video-hero-info {
            max-width: 600px;
            left: 50px;
            bottom: 50px;
            border-left: 10px solid var(--accent);
        }

        .video-grid-news {
            grid-template-columns: repeat(3, 1fr);
        }

        .photo-grid {
            grid-template-columns: repeat(5, 1fr) !important;
            gap: 15px;
        }

        .video-card-news:hover {
            transform: translateY(-10px);
            box-shadow: 15px 15px 0 var(--black);
        }

        #pm-prev { 
            left: 15px; 
        }
        #pm-next { 
            right: 15px; 
        }
    }

/* =========================================================
       SECCIÓN GYM AFPRO (Estilo similar a Casa AFPRO)
       ========================================================= */
    #gym-afpro { 
        padding: 60px 20px; 
        background: var(--white); 
    }
    
    #gym-afpro .section-title-left { 
        font-size: 40px; 
        margin-bottom: 30px; 
        color: var(--black);
    }
    
    .gym-content-box { 
        display: flex; 
        flex-direction: column; 
        gap: 30px; 
    }
    
    .gym-text h3 { 
        font-size: 30px; 
        margin-bottom: 15px; 
        color: var(--black);
    }
    
    .gym-text p {
        color: var(--black);
        margin-bottom: 20px;
    }
    
    .gym-features li { 
        font-weight: bold; 
        margin-bottom: 10px; 
        color: var(--black);
    }
    
    .gym-gallery-carousel {
        position: relative; width: 100%; overflow: hidden;
    }
    
    .gym-slider {
        display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth;
        scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px;
        align-items: center; 
    }
    
    .gym-slider::-webkit-scrollbar { display: none; }
    
    /* Configuración Móvil Default */
    .gym-slider img { 
        flex: 0 0 85%; 
        scroll-snap-align: center;
        object-fit: cover; 
        height: 350px; 
        filter: grayscale(0%); /* Siempre a color en móvil */
        transition: transform 0.3s ease; 
    }
    
    .gym-slider img:hover { 
        transform: scale(1.02); 
    }

    /* Adaptación para PC (Escritorio) */
    @media (min-width: 1024px) {
        .gym-content-box { 
            flex-direction: row; 
            align-items: center; 
            gap: 60px; 
            max-width: 1300px; 
            margin: 0 auto; 
        }
        
        .gym-text { flex: 1; }
        
        .gym-gallery-carousel { 
            flex: 1; 
            position: relative; 
            padding: 0; 
            border: 5px solid var(--black); 
            display: flex; 
            background: var(--black); 
        }
        
        #gym-prev { left: 15px; } 
        #gym-next { right: 15px; }
        
        .gym-slider img { 
            width: 100%; 
            height: auto; 
            aspect-ratio: 16/9; 
            flex: 0 0 100%; 
            object-fit: cover; 
            scroll-snap-align: center;
            filter: grayscale(0%) !important; /* Siempre a color en PC */
            display: block; 
        }
        
        .gym-slider { 
            justify-content: flex-start; 
            align-items: stretch; 
            margin: 0; 
        }
    }
    /* ==========================================================================
       MEJORAS VISUALES PARA MULTIMEDIA (video.html)
       ========================================================================== */
    .video-gallery-wrapper {
        padding: 40px 20px 80px;
        background: var(--white);
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Barra de filtros fijada y estilizada */
    .video-filters-bar {
        background: var(--black);
        padding: 20px;
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
        border-bottom: 5px solid var(--accent);
        position: sticky;
        top: 100px; /* Se queda pegada debajo del header al hacer scroll */
        z-index: 100;
    }

    .filter-btn {
        background: transparent;
        border: 2px solid var(--white);
        color: var(--white);
        padding: 10px 30px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .filter-btn:hover, .filter-btn.active {
        background: var(--accent);
        color: var(--white);
        border-color: var(--accent);
    }

/* ==========================================================================
       TARJETAS DE VIDEO COMO MASONRY (IGUAL A LAS FOTOS)
       ========================================================================== */
    .video-grid-news {
        column-count: 1; 
        column-gap: 15px;
        display: block; 
        width: 100%;
    }

    @media (min-width: 600px) { .video-grid-news { column-count: 2; } }
    @media (min-width: 1024px) { .video-grid-news { column-count: 3; } }
    @media (min-width: 1400px) { .video-grid-news { column-count: 4; } }

    /* Quitamos el fondo blanco, los bordes gruesos y las sombras */
    .video-card-news {
        break-inside: avoid;
        margin-bottom: 15px;
        background: transparent;
        border: none;
        box-shadow: none;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    /* Efecto de zoom igual al de las fotos */
    .video-card-news:hover {
        transform: scale(1.03); 
        box-shadow: none;
    }

    /* Liberamos el contenedor para que no fuerce el 16:9 */
    .thumb-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: auto !important; /* CLAVE: Permite cualquier formato */
        border: none;
        background: transparent;
    }

    .thumb-wrapper video {
        width: 100%;
        height: auto; /* Se adaptará al script de JS */
        display: block;
        transition: transform 0.4s ease;
    }

    .video-card-news:hover .thumb-wrapper video {
        transform: scale(1.03);
    }

    /* Ocultamos los textos para que se vea como la galería de fotos de la Captura 2 */
    .video-meta, .video-card-news h3 {
        display: none !important;
    }

    /* Botón de Play Flotante */
    .play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 35px;
        color: var(--white);
        background: rgba(0, 0, 0, 0.6);
        width: 65px;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 2px solid var(--white);
        pointer-events: none; /* Permite hacer clic directamente en el video */
        transition: opacity 0.3s;
    }

    .video-card-news:hover .play-overlay {
        opacity: 0; /* Se oculta para no estorbar los controles nativos */
    }

    /* Grilla de Fotos Élite */
    .photo-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    @media (min-width: 1024px) {
        .photo-grid {
            grid-template-columns: repeat(4, 1fr); /* 4 columnas en PC */
            gap: 20px;
        }
    }

    .photo-item {
        aspect-ratio: 4/3; 
        overflow: hidden;
        border: 3px solid var(--black);
        position: relative;
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%);
        transition: all 0.5s ease;
    }

    .photo-item:hover img {
        filter: grayscale(0%);
        transform: scale(1.1);
    }
    /* ==========================================================================
       CORRECCIÓN DEFINITIVA: FOTOS GRANDES, CUADRADAS Y A COLOR
       ========================================================================== */
    
    /* 1. Elimina el blanco y negro para siempre en estas fotos */
    .photo-item img {
        filter: grayscale(0%) !important;
    }

    /* 2. Fuerza la forma cuadrada perfecta */
    .photo-item {
        aspect-ratio: 1 / 1 !important;
        border: 4px solid var(--black);
    }

    /* 3. Las hace mucho más grandes en PC (Pasamos de 5 columnas a solo 3) */
    @media (min-width: 1024px) {
        .photo-grid {
            grid-template-columns: repeat(3, 1fr) !important; 
            gap: 30px !important;
            max-width: 1200px;
            margin: 0 auto;
        }
    }
/* ==========================================================================
       AGENCIA.HTML - PERFIL SULTAN ESLAMI
       ========================================================================== */
    
    /* FIX: Esta regla anula cualquier altura gigante previa del título */
    #agencia-hero {
        height: auto !important; 
        padding-bottom: 10px;
    }

    #perfil-sultan {
        padding: 10px 20px 60px; /* Reducido el padding superior */
        background: var(--white);
    }

    .sultan-container {
        max-width: 1100px; /* Tamaño máximo para que se vea gigante pero controlado */
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* Contenedor de la foto gigante */
    .sultan-img-wrapper {
        width: 100%;
        border: 5px solid var(--black);
        overflow: hidden;
        background: var(--black);
    }

    .sultan-img-wrapper img {
        width: 100%;
        height: auto;
        max-height: 800px; /* Evita que sea infinitamente larga */
        object-fit: cover;
        object-position: top;
        display: block;
        filter: grayscale(0%) !important; /* Siempre a color */
    }

    .sultan-info {
        text-align: left;
        padding: 20px 0;
    }

    .sultan-info h2 {
        font-size: clamp(50px, 10vw, 100px);
        color: var(--black);
        line-height: 1;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: -2px;
    }

    .sultan-cargo {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        color: var(--accent);
        font-size: 20px;
        letter-spacing: 4px;
        margin-bottom: 40px;
        text-transform: uppercase;
        border-bottom: 3px solid var(--black);
        display: inline-block;
        padding-bottom: 10px;
    }

    .sultan-texto {
        font-size: 18px;
        line-height: 1.8;
        color: #111;
        font-weight: 500;
        font-family: 'Montserrat', sans-serif;
    }

    .sultan-texto p {
        margin-bottom: 20px;
    }

    /* AJUSTES PARA COMPUTADORA (PC) */
    @media (min-width: 1024px) {
        #perfil-sultan {
            padding: 20px 50px 100px; /* Reducido drásticamente el padding superior de 100px a 20px */
        }
        
        .sultan-info {
            padding: 40px 0;
        }
        
        .sultan-texto {
            font-size: 20px;
            column-count: 2; /* El texto se divide en 2 columnas estilo revista */
            column-gap: 60px;
            text-align: justify;
        }
    }
/* ==========================================================================
       HERO NOSOTROS (CLUB.HTML) - FONDO NEGRO Y TONOS NEUTROS
       ========================================================================== */

    #nosotros-hero {
        position: relative;
        height: 60vh;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--white);
        background: var(--black); /* Fondo completamente negro sólido */
        overflow: hidden;
    }

    /* Ocultamos la imagen de fondo para dejar el negro puro */
    .nosotros-hero-bg {
        display: none; 
    }

    .nosotros-hero-content {
        position: relative;
        z-index: 2;
        padding: 20px;
    }

    .nosotros-hero-content h1 {
        font-size: clamp(40px, 8vw, 70px);
        line-height: 1.1;
        margin-bottom: 10px;
        text-shadow: none; /* Quitamos la sombra, ya no hace falta en fondo negro */
    }

    .hero-subtitle {
        font-size: 18px;
        color: #cccccc; /* Cambiamos el rojo por un gris neutro elegante */
        font-weight: 700;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }

    .hero-tagline {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #888888; /* Un gris un poco más oscuro para hacer contraste neutro */
    }

    /* QUIÉNES SOMOS DETALLE (Mobile First) */
    #quienes-somos-detalle {
        padding: 60px 20px;
        background: var(--white);
    }

    .container-flex {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .texto-principal h2 {
        font-size: clamp(35px, 7vw, 50px);
        color: var(--black);
        margin-bottom: 20px;
        border-left: 8px solid var(--accent);
        padding-left: 15px;
    }

    /* IMPORTANTE: Imagen a todo color y con sombra */
    .img-quienes-somos {
        width: 100%;
        height: auto;
        border: 4px solid var(--black);
        margin-bottom: 20px;
        filter: grayscale(0%) !important; /* Fuerza el color natural */
        box-shadow: 10px 10px 0 var(--black);
    }

    .texto-principal p {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.8;
        color: #333;
    }

    .mv-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mv-item {
        background: var(--black);
        color: var(--white);
        padding: 30px;
        border-left: 5px solid var(--white);
    }

    .mv-item h3 {
        font-size: 24px;
        margin-bottom: 10px;
        color: var(--accent);
    }

    /* QUÉ OFRECEMOS (Grid Dinámico) */
    #ofrecemos-detalle {
        padding: 60px 20px;
        background: var(--gray-light);
        text-align: center;
    }

    .section-title-black {
        font-size: clamp(35px, 7vw, 50px);
        margin-bottom: 40px;
        color: var(--black);
    }

    .ofrecemos-grid-nosotros {
        display: grid;
        grid-template-columns: 1fr; /* 1 columna en celular */
        gap: 15px;
    }

    .ofrecemos-item {
        background: var(--white);
        border: 2px solid var(--black);
        padding: 20px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        font-size: 18px;
        text-transform: uppercase;
        transition: 0.3s;
        box-shadow: 4px 4px 0 var(--black);
    }

    .ofrecemos-item:hover {
        background: var(--accent);
        color: var(--white);
        border-color: var(--accent);
        box-shadow: 4px 4px 0 var(--black);
        transform: translateY(-5px);
    }

    /* INSTALACIONES */
    #instalaciones-nosotros {
        padding: 60px 20px;
        background: var(--white);
    }

    .instalaciones-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .experiencia-lista ul {
        display: grid;
        grid-template-columns: 1fr; /* 1 columna en celular */
        gap: 15px;
        margin-bottom: 50px;
    }

    .experiencia-lista li {
        background: var(--black);
        color: var(--white);
        padding: 15px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        text-align: center;
        border-bottom: 3px solid var(--white);
    }

    /* PRESENCIA GLOBAL Y EVENTOS */
    #global-eventos {
        display: flex;
        flex-direction: column; /* Apilado en celular */
    }

    .presencia-box {
        background: var(--black);
        color: var(--white);
        padding: 60px 20px;
        text-align: center;
        border-bottom: 5px solid var(--accent);
    }

    .eventos-box {
        background: var(--black);
        color: var(--white);
        padding: 60px 20px;
        text-align: center;
    }

    .presencia-box h2, .eventos-box h2 {
        font-size: 40px;
        margin-bottom: 15px;
    }

    /* LLAMADO A LA ACCIÓN (CTA) */
    #cta-nosotros {
        padding: 80px 20px;
        text-align: center;
        background: var(--gray-light);
    }

    #cta-nosotros h2 {
        font-size: clamp(40px, 8vw, 60px);
        margin-bottom: 10px;
    }

    #cta-nosotros p {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 30px;
        color: var(--accent);
    }

    .btn-negro {
        background: var(--black);
        color: var(--white);
        padding: 15px 40px;
        font-family: 'Oswald', sans-serif;
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
        border: 2px solid var(--black);
        transition: 0.3s;
        display: inline-block;
    }

    .btn-negro:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

    /* ==========================================================================
       ESCRITORIO (PC) OVERRIDES PARA CLUB.HTML
       ========================================================================== */
    @media (min-width: 1024px) {
        #nosotros-hero {
            height: 70vh;
            justify-content: flex-start;
            text-align: left;
            padding-left: 10%;
        }

        #quienes-somos-detalle {
            padding: 100px 50px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .container-flex {
            flex-direction: row;
            align-items: flex-start;
            gap: 60px;
        }

        .texto-principal {
            flex: 1.2;
        }

        /* La imagen anula cualquier viejo !important que la hiciera gris en PC */
        .img-quienes-somos {
            height: 500px;
            object-fit: cover;
            border-left: 10px solid var(--black);
            border-bottom: none;
            box-shadow: 15px 15px 0 var(--black);
            filter: grayscale(0%) !important;
        }

        .mv-container {
            flex: 0.8;
            padding-top: 80px;
        }

        #ofrecemos-detalle {
            padding: 100px 50px;
        }

        .ofrecemos-grid-nosotros {
            grid-template-columns: repeat(3, 1fr); /* 3 columnas en PC */
            max-width: 1200px;
            margin: 0 auto;
            gap: 30px;
        }

        #instalaciones-nosotros {
            padding: 100px 50px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .experiencia-lista ul {
            grid-template-columns: repeat(4, 1fr); /* 4 columnas en PC */
            gap: 30px;
        }

        #global-eventos {
            flex-direction: row; /* Uno al lado del otro en PC */
        }

        .presencia-box, .eventos-box {
            flex: 1;
            padding: 100px 10%;
            border-bottom: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
    }
    /* ==========================================================================
       CONTROL MAESTRO: TODOS LOS BOTONES DE CARRUSELES (Futuristas)
       ========================================================================== */

    /* 2. ESTADO PC (Diseño Futurista Élite: 40x40px, Cuadrados, con Sombra) */
    @media (min-width: 1024px) {
        /* 4. POSICIONAMIENTO EXACTO (Alineación a los bordes) */
        
        /* Botones Izquierdos (Venezuela, Mental, Gym, Casa, Casa Club) */
        #vzla-prev, #pm-prev, #gym-prev, #casa-prev, #casa-club-prev { 
            left: 15px !important; 
        }
    }
    /* ==========================================================================
       NUEVO DISEÑO: PATROCINADORES.HTML (ESTILO ÉLITE)
       ========================================================================== */
    
/* ==========================================================================
       NUEVO DISEÑO: PATROCINADORES.HTML (ESTILO ÉLITE)
       ========================================================================== */
    
    #hero-patrocinadores {
        height: 40vh;
        min-height: 350px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--white);
        background: var(--black); /* Mantiene el fondo completamente negro */
        overflow: hidden;
        /* Se eliminó el border-bottom para quitar la línea roja */
    }

    /* Puedes eliminar las clases .hero-bg-dark y .hero-bg-dark img ya que no las usamos */

    .hero-titulo-central {
        position: relative;
        z-index: 2;
    }

    .hero-titulo-central h1 {
        font-size: clamp(50px, 10vw, 100px);
        letter-spacing: 2px;
        margin: 0;
        /* Se eliminó el text-shadow para quitar la sombra roja del texto */
    }

    #sponsors-grid-section {
        padding: 80px 20px;
        background: var(--white);
    }

    .sponsors-elite-container {
        max-width: 1300px;
        margin: 0 auto;
        text-align: center;
    }

    .sponsors-subtitle {
        font-family: 'Oswald', sans-serif;
        font-size: clamp(24px, 5vw, 35px);
        color: var(--black);
        margin-bottom: 60px;
        border-bottom: 4px solid var(--black);
        display: inline-block;
        padding-bottom: 10px;
        text-transform: uppercase;
    }

    .sponsors-elite-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en celular */
        gap: 15px;
    }

    .elite-sponsor-card {
        background: var(--gray-light);
        border: 3px solid var(--black);
        height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 25px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        cursor: default; /* Puedes cambiar a 'pointer' si luego les pones enlaces web reales */
    }

    /* Línea roja que aparece desde abajo */
    .elite-sponsor-card::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; width: 100%; height: 5px;
        background: var(--accent);
        transform: translateY(5px);
        transition: transform 0.3s ease;
    }

    /* Efecto Hover: Sombra negra, fondo blanco, línea roja */
    .elite-sponsor-card:hover {
        transform: translateY(-8px);
        box-shadow: 10px 10px 0 var(--black);
        background: var(--white);
    }

    .elite-sponsor-card:hover::after {
        transform: translateY(0);
    }

/* Comportamiento del Logo (SIEMPRE A COLOR) */
    .elite-sponsor-card img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: grayscale(0%) !important; /* Cero filtros, colores reales siempre */
        opacity: 1; /* Opacidad completa */
        transition: all 0.3s ease; /* Mantiene la suavidad de la animación */
    }

    /* Al pasar el ratón: Mantiene la animación de zoom espectacular */
    .elite-sponsor-card:hover img {
        transform: scale(1.15); /* Efecto de zoom al interactuar */
    }

    /* =========================================================
       PATROCINADORES PC (4 Columnas)
       ========================================================= */
    @media (min-width: 1024px) {
        .sponsors-elite-grid {
            grid-template-columns: repeat(4, 1fr); /* 4 columnas perfectas en PC */
            gap: 30px;
        }
        .elite-sponsor-card {
            height: 220px;
            padding: 40px;
        }
    }
    /* ==========================================================================
       NUEVO DISEÑO: GALERÍA ESTILO PIXIESET (ANTES VIDEO.HTML)
       ========================================================================== */
    
    #pixieset-hero {
        position: relative;
        height: 100vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        background: var(--black);
    }

    .pixieset-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        filter: brightness(0.6); /* Oscurece la imagen para que el texto resalte */
        z-index: 1;
    }

    .pixieset-content {
        position: relative;
        z-index: 2;
        color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pixieset-content h1 {
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(50px, 12vw, 120px);
        font-weight: 700;
        letter-spacing: 5px;
        margin-bottom: 10px;
        text-shadow: 0px 4px 20px rgba(0,0,0,0.5);
    }

    .pixieset-content p {
        font-family: 'Oswald', sans-serif;
        font-size: clamp(14px, 3vw, 20px);
        letter-spacing: 4px;
        margin-bottom: 40px;
        color: #ddd;
    }
    .pixieset-content button {
        background: transparent;
        border: 2px solid var(--white);
        color: var(--white);
        padding: 15px 40px;
        font-family: 'Oswald', sans-serif;
        font-size: 16px;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .pixieset-content button:hover {
        background: var(--white);
        color: var(--black);
    }

    /* Contenedor principal de la Galería */
    .galeria-wrapper {
        background: var(--white);
        padding: 80px 20px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .masonry-section {
        margin-bottom: 80px;
    }

    .masonry-section h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(20px, 4vw, 30px);
        text-align: center;
        margin-bottom: 40px;
        color: var(--black);
        letter-spacing: 2px;
        font-weight: 600;
    }

    /* MAGIA MASONRY (Mampostería CSS) */
    .masonry-grid {
        column-count: 1; /* Por defecto en móvil: 1 columna */
        column-gap: 15px; /* Espacio entre columnas */
    }

    /* Responsive para Masonry */
    @media (min-width: 600px) {
        .masonry-grid { column-count: 2; }
    }

    @media (min-width: 1024px) {
        .masonry-grid { column-count: 3; }
    }
    
    @media (min-width: 1400px) {
        .masonry-grid { column-count: 4; }
    }

    .masonry-item {
        break-inside: avoid; /* Evita que una foto se parta entre columnas */
        margin-bottom: 15px; /* Espacio debajo de cada foto */
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .masonry-item img {
        width: 100%;
        display: block; /* Elimina espacios muertos debajo de las imágenes */
        transition: transform 0.4s ease, filter 0.4s ease;
        filter: brightness(0.95);
    }

    /* Efecto hover suave al pasar el ratón */
    .masonry-item:hover img {
        transform: scale(1.03);
        filter: brightness(1.1);
    }
    /* ==========================================================================
       NUEVO HERO INDEX (ESTILO PIXIESET CON NOMBRE ABAJO)
       ========================================================================== */
    #pixieset-hero-index {
        position: relative;
        height: 100vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        background: var(--black);
    }

#pixieset-hero-index {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--black);
}

/* Contenedor de la imagen */
#pixieset-hero-index .pixieset-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Ajuste de nitidez para la imagen */
#pixieset-hero-index .pixieset-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción sin estirar */
    object-position: center;
    filter: brightness(0.85); /* Mantenemos el toque oscuro para el texto */
    display: block;
    image-rendering: -webkit-optimize-contrast; /* Mejora la nitidez en navegadores */
}

/* Si en móvil se sigue viendo pequeña, este ajuste ayuda: */
@media (max-width: 768px) {
    #pixieset-hero-index .pixieset-bg img {
        object-position: center top; /* Enfoca la parte superior en móviles */
    }
}
    

    /* Nombre en la parte inferior (Danilo Fernandez) */
    .pixieset-footer-name {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        color: var(--accent);
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        letter-spacing: 3px;
        text-transform: uppercase;
        font-weight: 600;
        text-shadow: 0px 2px 10px rgba(0,0,0,0.8);
    }
    /* ==========================================================================
   SISTEMA MAESTRO DE CARRUSELES (MÓVIL TÁCTIL + PC CON BOTONES)
   ========================================================================== */

/* 1. Contenedor principal que envuelve al carrusel y los botones */
.carousel-wrapper, 
.casa-gallery-carousel, 
.gym-gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden; /* Oculta lo que se sale del área visible */
}

/* 2. La pista por donde corren las fotos (Fila horizontal) */
.vzla-carousel, 
.casa-slider, 
.gym-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* Permite scroll horizontal */
    scroll-behavior: smooth; /* Movimiento suave */
    scroll-snap-type: x mandatory; /* Las fotos se "enganchan" al centro */
    scrollbar-width: none; /* Oculta la barra de scroll en Firefox */
    padding-bottom: 20px;
    align-items: center; 
}

/* Oculta la barra de scroll en Chrome/Safari/Edge */
.vzla-carousel::-webkit-scrollbar, 
.casa-slider::-webkit-scrollbar, 
.gym-slider::-webkit-scrollbar { 
    display: none; 
}

/* 3. Configuración de las IMÁGENES DENTRO del carrusel */
.vzla-carousel img, 
.casa-slider img, 
.gym-slider img {
    /* En MÓVIL ocupan el 85% del ancho para que el usuario vea que hay más y pueda deslizar */
    flex: 0 0 85%; 
    height: 350px; /* Altura estándar en móvil */
    object-fit: cover; 
    scroll-snap-align: center; /* Enganche en el centro al deslizar */
    filter: grayscale(0%); /* Siempre a color */
    transition: transform 0.3s ease;
    border-radius: 4px;
}

/* 4. BOTONES: Ocultos por defecto en MÓVIL (se usa el dedo) */
.nav-btn, 
.nav-btn-square, 
.nav-minimal { 
    display: none !important; 
}
/* ==========================================================================
   NUEVO SISTEMA MAESTRO DE CARRUSELES (LIMPIO Y FUNCIONAL)
   ========================================================================== */

/* 1. Contenedores principales (El marco de la ventana) */
.carousel-wrapper, 
.casa-gallery-carousel, 
.gym-gallery-carousel, 
.video-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
}

/* 2. La pista por donde corren las fotos */
.vzla-carousel, 
.casa-slider, 
.gym-slider, 
.video-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Hace que la foto se frene en el centro */
    scrollbar-width: none; /* Oculta barra en Firefox */
    padding-bottom: 20px;
    align-items: stretch; 
}

/* Oculta la barra de scroll en Chrome/Safari */
.vzla-carousel::-webkit-scrollbar, 
.casa-slider::-webkit-scrollbar, 
.gym-slider::-webkit-scrollbar, 
.video-carousel::-webkit-scrollbar {
    display: none; 
}

/* 3. ESTILO MÓVIL (Por defecto) - 85% para invitar a usar el dedo */
.vzla-carousel img, 
.casa-slider img, 
.gym-slider img, 
.video-card {
    flex: 0 0 85%;
    height: 350px;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 4px;
    filter: grayscale(0%); /* Siempre a color en móvil */
}

/* 4. Ocultar los botones en móvil (se usa el dedo) */
.nav-btn, 
.nav-btn-square, 
.nav-minimal, 
#prev-btn, 
#next-btn {
    display: none !important;
}

/* ============================================================
   5. AJUSTES PARA COMPUTADORA (PC)
   ============================================================ */
@media (min-width: 1024px) {
    
    /* A) Carruseles de varias fotos a la vez (Venezuela, Mental, Noticias) */
    .vzla-carousel img, 
    .video-card {
        flex: 0 0 320px;
        height: 400px;
    }

    /* B) Carruseles Panorámicos (Casa AFPRO y Gym) */
    .casa-slider img, 
    .gym-slider img {
        flex: 0 0 100%; /* Ocupan todo el ancho */
        height: auto;
        aspect-ratio: 16/9;
        object-fit: contain !important; /* No recorta la imagen */
        background: var(--black); /* Rellena el espacio sobrante con negro */
        border: 4px solid var(--black);
        border-radius: 0;
    }

    /* C) Mostrar y estilizar botones en PC */
    .nav-btn, 
    .nav-btn-square, 
    .nav-minimal, 
    #prev-btn, 
    #next-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        color: var(--white);
        border-radius: 4px;
        cursor: pointer;
        z-index: 10;
        transition: 0.3s ease;
        font-size: 18px;
        font-weight: bold;
    }

    /* Efecto al pasar el mouse por los botones */
    .nav-btn:hover, 
    .nav-btn-square:hover, 
    .nav-minimal:hover, 
    #prev-btn:hover, 
    #next-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
        transform: translateY(-50%) scale(1.1);
    }

    /* Posicionamiento exacto de los botones (Izquierda y Derecha) */
    #vzla-prev, #pm-prev, #gym-prev, #casa-club-prev, #prev-btn, #casa-prev { left: 15px; }
    #vzla-next, #pm-next, #gym-next, #casa-club-next, #next-btn, #casa-next { right: 15px; }
}
/* ==========================================================================
   CORRECCIÓN: CARRUSEL VENEZUELA Y PREPARACIÓN MENTAL (Imágenes completas y pequeñas)
   ========================================================================== */

/* Ajuste general para móvil y PC */
.vzla-carousel img {
    object-fit: contain !important; /* Muestra la imagen completa sin recortes */
    background: var(--white); /* Fondo blanco por si la foto no es cuadrada */
    border: 1px solid #eeeeee; /* Un borde muy sutil para enmarcarla */
}

/* Ajuste específico de tamaño para Computadora (PC) */
@media (min-width: 1024px) {
    /* Separamos las imágenes de vzla-carousel del resto de tarjetas para no afectar los videos */
    .vzla-carousel img {
        flex: 0 0 280px !important; /* Ancho más pequeño (antes era 320px) */
        height: 280px !important;   /* Alto más pequeño (antes era 400px) */
        margin: 0 auto;
    }
}
/* ==========================================================================
   CORRECCIÓN: LOGOS DEL FOOTER MÁS PEQUEÑOS Y PROPORCIONADOS
   ========================================================================== */

/* Ajuste general y para Celular */
.footer-top {
    gap: 20px; /* Reduce un poco el espacio vacío entre los logos */
}

.footer-top .logo img { 
    height: auto !important; 
    max-height: 45px !important; /* Tamaño controlado y pequeño para móvil */
    width: auto !important;
    object-fit: contain; /* Evita que se deformen */
}

/* Ajuste para Computadora (PC) */
@media (min-width: 1024px) {
    .footer-top .logo img { 
        max-height: 60px !important; /* Tamaño elegante en PC (antes estaba en 140px) */
    }
}
/* ==========================================================================
   FRANJA DE PATROCINADORES (TODO EL FONDO BLANCO DE LADO A LADO)
   ========================================================================== */

.footer-sponsors-row {
    background-color: #ffffff; /* Pone TODA la sección en blanco puro */
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    gap: 30px; 
    padding: 40px 20px;
    margin: 20px 0 40px; 
    border-top: 2px solid #dddddd; /* Línea gris clara arriba */
    border-bottom: 2px solid #dddddd; /* Línea gris clara abajo */
    filter: contrast(1.2);
    
    /* TRUCO: Hace que la franja blanca ocupe el 100% de la pantalla de lado a lado */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer-sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer-sponsor-item:hover {
    transform: scale(1.1); /* Ligero zoom al pasar el ratón */
}

.footer-sponsor-item img {
    height: 50px; /* Tamaño para móviles */
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Ajustes para Pantallas Grandes (PC) */
@media (min-width: 1024px) {
    .footer-sponsors-row {
        gap: 80px; 
        padding: 50px 20px;
    }
    
    .footer-sponsor-item img {
        height: 70px; /* Logos más grandes en PC */
        max-width: 180px;
    }
}
/* ==========================================================================
   CORRECCIÓN: LOGOS DEL FOOTER Y REDES SOCIALES
   ========================================================================== */

/* 2. Grupo de los 3 logos (Assistance, Ubiko, Dofa): Uno al lado del otro */
.footer-logos-group {
    display: flex;
    flex-direction: row !important; /* Fuerza a que los 3 logos estén en fila */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Si el celular es pequeñito, evita que se salgan de la pantalla */
    gap: 20px;
    width: 100%;
}

.footer-logos-group .logo img {
    height: auto !important;
    max-height: 60px !important; /* Tamaño para celular */
    width: auto !important;
    object-fit: contain;
}

/* 4. Ajustes para PC (Logos más grandes) */
@media (min-width: 1024px) {
    .footer-top {
        gap: 40px; /* Más espacio en PC */
    }
    
    .footer-logos-group {
        gap: 80px; /* Más separación entre los 3 logos */
    }
    
    .footer-logos-group .logo img {
        max-height: 100px !important; /* Tamaño elegante para PC */
    }
}


/* ==========================================================================
   CORRECCIÓN DEFINITIVA: LOGOS DEL FOOTER Y REDES SOCIALES (MÓVIL Y PC)
   ========================================================================== */

/* 1. Grupo de los 3 logos (Assistance, Ubiko, Dofa) */
.footer-logos-group {
    display: flex;
    flex-direction: row !important; /* Forzamos a que estén en fila */
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap !important; /* MAGIA: Impide que salten a la siguiente línea en celular */
    gap: 15px; /* Reducimos el espacio en móvil */
    width: 100%;
    padding: 0 10px; /* Un poco de margen a los lados en celular */
}

.footer-logos-group .logo {
    flex: 1; /* Obliga a los logos a repartirse el espacio equitativamente */
    display: flex;
    justify-content: center;
}

.footer-logos-group .logo img {
    height: auto !important;
    max-height: 40px !important; /* Tamaño controlado para que quepan en celular */
    max-width: 100% !important; /* Evita que el logo sea más ancho que su columna */
    width: auto !important;
    object-fit: contain;
}

/* 2. Grupo de Redes Sociales (Facebook, Instagram, WhatsApp, Threads) */
.footer-socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-socials .social-icon {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    width: 35px !important; /* Tamaño pequeño y elegante en celular */
    height: 35px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-socials .social-icon:hover img {
    transform: scale(1.2);
}

/* =========================================================
   3. AJUSTES PARA COMPUTADORA (PC)
   ========================================================= */
@media (min-width: 1024px) {
    .footer-top {
        gap: 40px; 
    }
    
    .footer-logos-group {
        gap: 80px; /* Más separación entre los logos */
        flex-wrap: wrap !important;
    }
    
    .footer-logos-group .logo img {
        max-height: 100px !important; /* Recuperan su tamaño gigante en PC */
    }

    .footer-socials .social-icon {
        width: 45px !important; /* Íconos un poco más grandes en PC */
        height: 45px !important;
    }
}