@font-face {
    font-family: 'Designer';
    src: url('/assets/fonts/Fuentes/Designer.woff2') format('opentype');
}

@font-face {
    font-family: 'Cartica';
    src: url('/assets/fonts/Fuentes/EduVICWANTHandPre-VariableFont_wght.ttf') format('opentype');
}

@font-face {
    font-family: 'Monserrat';
    src: url('/assets/fonts/Fuentes/Montserrat-Bold.ttf') format('opentype');
}

body, *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: rgba(0, 0, 0, 0);
}

body .video-body {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3; /* Encima de imagen-body pero detrás de todo lo demás */
    opacity: 1; /* CAMBIADO: 100% como estaba originalmente */
    transform: translateZ(0);
    will-change: auto;
}

body .video-body video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imagen-body{
    width: 100%;
    height: 100vh;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 100%;
    position: fixed; /* FIXED: Para seguir scroll */
    background-image: url(/assets/images/Imágenes/Header/Fondo/fondo_negro_resp.png);
    top: 0;
    left: 0;
    z-index: -2; /* Detrás del video */
}

/* Móvil y tablet pequeña - Resoluciones menores o iguales a 1024px */
@media (max-width: 1100px) {
    .imagen-body {
        min-height: 1080px;
        background-image: url(/assets/images/Imágenes/Header/Fondo/fondo_negro_resp_mobile.png);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }
}



/* === PANTALLA DE CARGA MEJORADA === */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
}

/* === FONDO ANIMADO DE PARTÍCULAS === */
.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, #ffae00, #ffd700);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; top: 60%; left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { width: 8px; height: 8px; top: 40%; left: 70%; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; top: 80%; left: 60%; animation-delay: 3s; }
.particle:nth-child(5) { width: 7px; height: 7px; top: 30%; left: 80%; animation-delay: 4s; }
.particle:nth-child(6) { width: 3px; height: 3px; top: 70%; left: 40%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.3; }
}

/* === CÍRCULOS CONCÉNTRICOS ANIMADOS === */
.loading-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 2px solid transparent;
    border-top: 2px solid #ffae00;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-duration: 2s;
}

.ring-2 {
    width: 160px;
    height: 160px;
    top: -80px;
    left: -80px;
    animation-duration: 1.5s;
    animation-direction: reverse;
    border-top: 2px solid #ffd700;
}

.ring-3 {
    width: 120px;
    height: 120px;
    top: -60px;
    left: -60px;
    animation-duration: 1s;
    border-top: 2px solid #ff6b35;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === CONTENEDOR PRINCIPAL DEL LOGO === */
.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* === LOGO PRINCIPAL === */
.logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: logoFloat 3s ease-in-out infinite;
    box-shadow: 
        0 0 40px rgba(255, 174, 0, 0.3),
        0 0 80px rgba(255, 174, 0, 0.1);
}

.logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    z-index: 2;
}

/* === EFECTO DE BRILLO EN EL LOGO === */
.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 2.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-200%) translateY(-200%) rotate(45deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
    100% { transform: translateX(200%) translateY(200%) rotate(45deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* === EFECTO HOVER DEL LOGO === */
.logo:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 60px rgba(255, 174, 0, 0.5),
        0 0 100px rgba(255, 174, 0, 0.2);
    transition: all 0.3s ease;
}

/* === BOTÓN MI CUENTA - COLOR FIJO NARANJA/AMARILLO === */
.mi-cuenta-btn {
    margin-left: 20px; /* Separación del botón anterior */
}

.mi-cuenta-card {
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%) !important;
    color: #1a1a1a !important;
    box-shadow: 0 0 30px rgba(255, 174, 0, 0.4);
}

.mi-cuenta-card h2 {
    color: #1a1a1a !important;
    font-weight: 700;
}

/* Hover del botón Mi Cuenta - Mantiene el color */
.mi-cuenta-btn:hover .mi-cuenta-card {
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 174, 0, 0.6);
}

/* === BARRA DE PROGRESO MINIMALISTA === */
.progress-container {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.progress-text {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Monserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
}

.progress-bar {
    height: 4px;
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
    border-radius: 2px;
    width: var(--progress-width, 0%);
    transition: width 0.3s ease-out;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 1.5s ease-in-out infinite;
}

/* Animación de carga eliminada - ahora se controla desde JavaScript */

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300px); }
}

/* === PUNTOS DE CARGA ORBITALES === */
.orbital-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffae00;
    border-radius: 50%;
    animation: orbit 4s linear infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.dot:nth-child(2) {
    animation-delay: 1s;
    top: 25%;
    right: 0;
}

.dot:nth-child(3) {
    animation-delay: 2s;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.dot:nth-child(4) {
    animation-delay: 3s;
    top: 25%;
    left: 0;
}

@keyframes orbit {
    0% { opacity: 1; transform: scale(1); }
    25% { opacity: 0.7; transform: scale(1.2); }
    50% { opacity: 1; transform: scale(1); }
    75% { opacity: 0.7; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* === ANIMACIÓN DE SALIDA MEJORADA === */
.loading-screen.curtain-exit {
    animation: curtainUp 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes curtainUp {
    0% {
        transform: translateY(0%);
        opacity: 1;
    }
    50% {
        transform: translateY(-10%);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* === RESPONSIVE PARA LOADING === */
@media (max-width: 768px) {
    .logo {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    .ring-1 { width: 160px; height: 160px; top: -80px; left: -80px; }
    .ring-2 { width: 130px; height: 130px; top: -65px; left: -65px; }
    .ring-3 { width: 100px; height: 100px; top: -50px; left: -50px; }

    .progress-container {
        width: 250px;
        bottom: 80px;
    }

    .orbital-dots {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .ring-1 { width: 140px; height: 140px; top: -70px; left: -70px; }
    .ring-2 { width: 110px; height: 110px; top: -55px; left: -55px; }
    .ring-3 { width: 80px; height: 80px; top: -40px; left: -40px; }

    .progress-container {
        width: 200px;
        bottom: 60px;
    }

    .orbital-dots {
        width: 200px;
        height: 200px;
    }
}

.circulo-decorativo {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;   /* OPTIMIZADO: Reducido de 800px a 400px */
    height: 400px;  /* OPTIMIZADO: Reducido de 800px a 400px */
    border: 2px solid rgba(0, 0, 0, 0.973);
    border-radius: 50%;
    background: transparent;
    z-index: 0;
    pointer-events: none;
    will-change: auto; /* OPTIMIZADO: Solo cambiar cuando necesario */
    contain: layout style paint; /* OPTIMIZADO: Contener repaints */
}






    #video-fondo {
        width:  100%;  
        height: 100%; 
        object-fit: fill;
    }


:root{
    --barra: rgb(58, 58, 58);
    --card-height: 300px;
    --card-width: calc(var(--card-height) / 1.5);
    --color-pagina: #000000;
    
}


.General_header {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 1080px;
    display: flex;
    flex-direction: column;
    /*background-image: url(/assets/images/Imágenes/Header/Fondo/digital.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;*/
    /*
    background: #3d00e3;
    background: linear-gradient(90deg, rgb(0, 203, 253) 0%, rgb(0, 104, 173) 31%, rgb(0, 44, 102) 100%);
    */
    overflow: hidden;
}

.General_header::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    /*
    background: #1f0075;
    background: linear-gradient(90deg, rgb(57, 0, 150) 0%, rgb(171, 0, 187) 57%, rgb(224, 0, 56) 97%);
    */
    opacity: 0;
    transition: opacity 3s ease-in-out;
    z-index: 0;
}



/*MAIN*/
.controlador_barra_navegacion{
    height: 15%;
    width: 100%;
    background-color: rgba(0, 128, 0, 0);
    display: flex;
    flex-direction: row;
}

.barra_navegacion{
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 0, 0, 0);
    position: absolute;
    justify-content: center;
    align-items: center;
}

/*Izquierda Nav*/
.controlador_nav_izquierda{
    height: 100%;
    width: 20%;
    background-color: rgba(255, 255, 255, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenido_nav_izquierda{
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.contenido_nav_izquierda img {
    max-width: min(30%, 50px); /* 👈 Máximo 120px en pantallas grandes */
    height: auto;
    z-index: 20;
}

/*Derecha Nav*/
.controlador_nav_derecha{
    height: 100%;
    width: 100%;
    background-color: rgba(255, 0, 0, 0);
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
    justify-content: center;
}

.controlador_nav_derecha a{
    text-decoration: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/*Botones*/
.holographic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.holographic-card {
    width: 90px;
    height: 40px;
    background: #00000000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.holographic-card h2 {
    color: rgb(0, 0, 0);
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(255, 255, 255, 0.521)
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.holographic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.575);
    background-color: rgba(255, 153, 0, 0.705);
}

.holographic-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}


/*contenido-main*/
.controlador_contenido{
    height: 85%;
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 0, 0, 0);
}
/*izquierda main*/
.izquierda_header {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 0, 0, 0);
    padding: 0% 4%; /* 👈 PADDING: 5% arriba/abajo, 8% izquierda/derecha */
    box-sizing: border-box; /* 👈 Para que el padding no desborde */
    overflow: hidden; /* 👈 Evita que se salgan si hay algún problema */
}

.imagen_png{
    width: 100%;
    height: 100vh;
    background-image: url(/assets/images/Imágenes/Header/Fondo/fondo_blanco_resp.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 100%;
    position: absolute;
}

/* Móvil y tablet pequeña - Resoluciones menores o iguales a 1100px */
@media (max-width: 1100px) {
    .imagen_png {
        background-image: url(/assets/images/Imágenes/Header/Fondo/fondo_blanco_resp_mobile.png);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 1080px;
    }
}

:root {
    --telefono-width: 700px;
    --telefono-height: 400px;
}

/*  Contenedor que ocupa toda la pantalla y gira sobre su centro */
.spinner {
    width: 10px;
    height: 10px;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    display: block;
    background-color: rgba(252, 0, 0, 0);
    border-radius: 50%;
    transition: transform 1s ease-in-out;
    border-right : 2px solid #e3b843;
    border-left: 2px solid #e3b843;
    border-bottom: 2px solid #e3b843;
}

/* 📱 Teléfonos ubicados con centro real */
.telefono,
.telefono_1,
.telefono_2 {
    width: fit-content;
    min-width: var(--telefono-width);
    height: var(--telefono-height);
    position: absolute;
    top: 30%;
    left: 50%; /* TODOS en el centro base */
    transform-origin: center center;
    transition: all 0.8s ease;
}

/* Teléfono izquierda (inactivo) */
.telefono {
    left: 10%;
    transform: translate(-50%, -50%) scale(0.7); /* Más pequeño */
}

/* Teléfono centro (activo por defecto) */
.telefono_1 {
    left: 50%;
    transform: translate(-50%, -50%) scale(1); /* Tamaño normal */
}

/* Teléfono derecha (inactivo) */
.telefono_2 {
    right: 10%;
    transform: translate(50%, -50%) scale(0.7); /* Más pequeño */
}

/* Estados dinámicos para los teléfonos - SIN SALTOS */
.telefono.inactivo-izq,
.telefono_1.inactivo-izq,
.telefono_2.inactivo-izq {
    transform: translate(-100%, 20%) scale(0.3) !important;
    z-index: 5 !important;
}

.telefono.inactivo-der,
.telefono_1.inactivo-der,
.telefono_2.inactivo-der {
    transform: translate(0%, 20%) scale(0.3) !important;
    z-index: 5 !important;
}


/* Fix para que todos los teléfonos se centren correctamente cuando son activos */
.telefono.activo,
.telefono_1.activo,
.telefono_2.activo {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) scale(1) !important;
    z-index: 10 !important;
}

/* 🎯 Contenedor con perspectiva */
.dispositivo {
    width: 100%;
    height: 100%;
    perspective: 1000px;
    
}

/* 🎛️ Pantalla con efecto hover */
.pantalla {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.8),
    0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    transition: transform 0.8s ease, box-shadow 0.8s ease;
}

/* ✨ Efecto flotante al hacer hover */
.pantalla:hover {
    box-shadow:
    inset 0 0 40px rgba(0, 142, 185, 0.8),
    0 40px 80px rgba(0, 45, 104, 0.753);
    
}

/* 🎥 Video embebido */
.pantalla video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.95;
    backface-visibility: hidden;
    border-radius: 30px;
    pointer-events: none;
}

.controles {
    bottom: -80px;
    position: absolute;
    z-index: 0;
    display: flex;
    flex-direction: column;
    rotate: -90deg;
    gap: 10px;  
    width: 50px;
    height: 250px;
    background-color: rgb(0, 0, 0);
    border-radius: 12px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    justify-content: center;
    align-items: center;
}

/* Media queries para diferentes resoluciones */
@media (min-width: 1920px) {
    /* 4K y pantallas muy grandes */
    .controles {
        bottom: -100px; /* 👈 Más abajo para que no se pierdan */
        height: 300px;   /* 👈 Un poco más grandes */
    }
}

@media (max-width: 768px) {
    /* Tablets y móviles */
    .controles {
        bottom: -60px;   /* 👈 Más cerca en pantallas pequeñas */
        height: 200px;   /* 👈 Más pequeños */
        width: 40px;
    }
}

@media (max-width: 480px) {
    /* Móviles pequeños */
    .controles {
        bottom: -40px;
        height: 150px;
        width: 35px;
    }
}

.controles button {
    padding: 5px 10px;
    cursor: pointer;
    border: 0;
    border-radius: 18%;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.5s;
    width: fit-content;
    height: fit-content;
}

.controles button:hover{
    background-color: rgba(88, 88, 88, 0.322);
    border-radius: 12px;
    border-right: rgb(255, 255, 255) 1px solid;
    transition: all 0.5s;
}
#btn-izquierda img{
    width: 90%;
    height: 80%;
    filter: invert();
    rotate: 90deg;
}
#btn-derecha img{
    width: 90%;
    height: 80%;
    transform: rotate(270deg);
    filter: invert();

}

#btn-unmute img{
    width: 90%;
    height: 80%;
    filter: invert();
    rotate: 90deg;
}

/*derecha MAIN*/


/* Responsive: Centrar derecha_container y aplicar border-radius en móviles */
@media (max-width: 767px) {
        .derecha_header {
            width: 100%;
            justify-content: center;
            align-items: center;
        }
        .derecha_container {
            border-right: #e3b843 2px solid;
            border-left: #e3b843 2px solid;


        }
}

/* Ocultar el cursor personalizado (#cursor) en móviles */
@media (max-width: 767px) {
    #cursor{
        display: none !important;
    }
}

.derecha_container{
    width: 70%;
    height: 90%;
    display: flex;
    background-color: rgba(0, 9, 19, 0);
    border-radius: 12px 0px 0px 12px;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 15%;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0);
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background-color: #0b365536;
    color: white;
    display: inline-block;
    padding: 0.2em 0.5em;
    border-radius: 12px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #e3b843;
}

.hero-info {
    font-size: 1rem;
    color: #dadada;
    margin-bottom: 2rem;
}

.hero-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #d39b00;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #d39b00;
    color: rgb(0, 0, 0);
    transition: all 0.3s ease;
}

/* Responsividad */
@media (max-width: 768px) {
    .hero-title {
    font-size: 2.2rem;
    }

    .hero-subtitle {
    font-size: 1.2rem;
    }

    .hero-info {
    font-size: 0.95rem;
    }

    .hero-button {
    font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
    font-size: 1.7rem;
    }

    .highlight {
    padding: 0.15em 0.4em;
    }
}


.brilla{
    background-color: rgba(85, 85, 85, 0.685);
    transition: all 0.3s;
}

.brilla:hover{
    background-color: rgb(70, 70, 70);
    transition: all 0.3s;
}


/*                                                                          TERIMA HEADER COMIENZA SECTION*/
/*MAIN*/

.General_section{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* === RESPONSIVE HEADER MEJORADO === */

/* Tablets y pantallas medianas (768px - 1023px) */
@media (max-width: 1023px) {
    /* Oculta el spinner y sus controles */
    .spinner,
    .controles {
        display: none !important;
    }

    /* 📱 Mostrar solo el teléfono principal por debajo de 1024px */
    .telefono,
    .telefono_1,
    .telefono_2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 320px;
        height: 180px;
        min-width: unset;
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s ease;
    }

    /* Solo mostrar el teléfono activo */
    .telefono.activo,
    .telefono_1.activo,
    .telefono_2.activo {
        opacity: 1;
        visibility: visible;
        z-index: 10;
    }

    /* Ocultar todos los demás teléfonos */
    .telefono:not(.activo),
    .telefono_1:not(.activo),
    .telefono_2:not(.activo) {
        opacity: 0;
        visibility: hidden;
        z-index: 1;
    }

    /* Override de los estados inactivos para que no se muevan */
    .telefono.inactivo-izq,
    .telefono_1.inactivo-izq,
    .telefono_2.inactivo-izq,
    .telefono.inactivo-der,
    .telefono_1.inactivo-der,
    .telefono_2.inactivo-der {
        transform: translate(-50%, -50%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        z-index: 1 !important;
    }

        #video-fondo {
        width: 200%;
        height: 100%;
        object-fit: fill;
    }

    /* Ajusta la altura del header para mejor distribución */
    .General_header {
        min-height: 100vh;
        height: auto;
    }

    /* Reorganiza el contenido principal */
    .controlador_contenido {
        flex-direction: column;
        height: auto;
        align-items: center;
        padding: 20px 0;
    }

    /* Ajusta las secciones izquierda y derecha */
    .izquierda_header {
        width: 100%;
        height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2; /* Cambia el orden visual */
    }

    .derecha_header {
        width: 100%;
        height: auto;
        margin: 30px 0;
        padding: 0 20px;
        order: 1; /* La imagen principal va arriba */
        justify-content: center;
    }

    .derecha_header img {
        width: 85%;
        height: auto;
        transform: none !important;
        max-width: 500px;
    }

    /* Mejora la navegación */
    .controlador_barra_navegacion {
        height: auto;
        min-height: 80px;
        padding: 10px 0;
    }

    .barra_navegacion {
        height: auto;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 10px;
        position: relative;
    }

    .controlador_nav_izquierda {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .contenido_nav_izquierda img {
        max-width: 10%;
        height: auto;
    }

    .controlador_nav_derecha {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin: 0;
    }

    .holographic-card {
        width: 85px;
        height: 38px;
    }

    .holographic-card h2 {
        font-size: 13px;
    }

    /* 📱 Optimizaciones para pantallas más pequeñas */
    @media (max-width: 768px) {
        .telefono,
        .telefono_1,
        .telefono_2 {
            width: 280px;
            height: 160px;
        }
    }

    @media (max-width: 480px) {
        .telefono,
        .telefono_1,
        .telefono_2 {
            width: 240px;
            height: 140px;
        }
    }

    @media (max-width: 360px) {
        .telefono,
        .telefono_1,
        .telefono_2 {
            width: 200px;
            height: 120px;
        }
    }
}

/* Móviles grandes y tablets pequeñas (481px - 767px) */
@media (max-width: 767px) {


    .controlador_barra_navegacion {
        min-height: 100px;
    }

    .barra_navegacion {
        gap: 20px;
        padding: 15px 10px;
    }

    .contenido_nav_izquierda img {
        max-width: 10%;
    }

    .controlador_nav_derecha {
        gap: 10px;
        max-width: 100%;
    }

    .holographic-card {
        width: 75px;
        height: 35px;
    }

    .holographic-card h2 {
        font-size: 12px;
    }

    .derecha_header {
        padding: 0 15px;
        margin: 25px 0;
    }

    .derecha_header img {
        width: 90%;
        max-width: 400px;
    }

    .izquierda_header {
        height: 90vh;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {


    #video-fondo {
        width: 400%;
        height: 100%;
        object-fit: fill;

    }

    .controlador_barra_navegacion {
        min-height: 120px;
    }

    .barra_navegacion {
        gap: 25px;
        padding: 20px 5px;
    }

    .contenido_nav_izquierda img {
        max-width: 10%;
    }

    .controlador_nav_derecha {
        gap: 8px;
        justify-content: center;
    }

    .holographic-card {
        width: 65px;
        height: 32px;
        border-radius: 6px;
    }

    .holographic-card h2 {
        font-size: 10px;
        font-weight: 600;
    }

    .derecha_header {
        padding: 0 10px;
    }

    /* 📱 Mejoras para videos en móviles */
    .dispositivo {
        width: 100%;
        height: 100%;
    }

    .pantalla {
        border-radius: 20px;
    }

    .pantalla video {
        border-radius: 20px;
        object-fit: cover;
    }

    .derecha_header img {
        width: 95%;
        max-width: 320px;
    }

    .izquierda_header {
        height: 90vh;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
    .controlador_barra_navegacion {
        min-height: 140px;
    }

        #video-fondo {
            width: 550%;
            height: 100%;
            object-fit: fill;
        }

    .barra_navegacion {
        gap: 20px;
        padding: 15px 5px;
    }

    .contenido_nav_izquierda img {
        max-width: 10%;
    }

    .controlador_nav_derecha {
        gap: 6px;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .holographic-card {
        width: 55px;
        height: 28px;
        margin: 2px;
    }

    .holographic-card h2 {
        font-size: 9px;
    }

    .derecha_header img {
        width: 100%;
        max-width: 280px;
    }

    .izquierda_header {
        height: 90vh;
    }
}

/* Mejoras adicionales para todos los tamaños responsive */
@media (max-width: 1023px) {
    /* Asegura que el video de fondo se mantenga centrado */
    #video-fondo {
        height: 100%;
        object-fit: fill;
        object-position: center;
    }

    /* Mejora la legibilidad del texto sobre el fondo */
    .contenido_nav_izquierda img {
        width: 10%;
    }

    .holographic-card h2 {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    /* Asegura que los elementos no se salgan de la pantalla */
    * {
        box-sizing: border-box;
    }

    .controlador_contenido {
        overflow-x: hidden;
    }
}


/* Estilos base para desktop (1080p y superiores) */
/* SECCIÓN A HERO COMPLETAMENTE REDISEÑADA */
.seccion_A {
    max-height: 1200px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Media query para remover max-height en móvil */
@media (max-width: 1023px) {
    .seccion_A {
        max-height: none;
        height: auto;
    }
}

/* VIDEO DE FONDO SECCIÓN A */
#video-fondo-seccion-a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    filter: grayscale(100%) brightness(0.3);
    z-index: 0;
}

/* CONTENEDOR PRINCIPAL */
.controlador_seccion_A {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 50px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
}

/* LADO IZQUIERDO - CONTENIDO PRINCIPAL */
.hero_content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: slideInLeft 1.2s ease-out;
}

/* TÍTULO PRINCIPAL */
.hero_title {
    font-family: 'Monserrat', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero_title .title_line_1 {
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero_title .title_line_2 {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero_title .title_line_3 {
    background: linear-gradient(135deg, #d4d4d4 0%, #b8b8b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

/* SUBTÍTULO */
.hero_subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
}

/* INFORMACIÓN DEL EVENTO */
.event_info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info_item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.info_icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 174, 0, 0.2), rgba(255, 174, 0, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* BOTONES DE ACCIÓN */
.hero_actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn_primary {
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    color: #1a1a2e;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 174, 0, 0.3);
}

.btn_primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 174, 0, 0.4);
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
}

.btn_secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn_secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* LADO DERECHO - ELEMENTO VISUAL */
.hero_visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: slideInRight 1.2s ease-out;
}

/* VIDEO PRINCIPAL */
.main_video_container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 9/16;
    max-height: 700px;
    min-height: 300px;
    border-radius: 25px;
    overflow: hidden;
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}

.main_video_container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 174, 0, 0.3);
}

/* VIDEO PRINCIPAL */
.main_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    display: block;
}

.video_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play_button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 174, 0, 0.9), rgba(255, 215, 0, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 174, 0, 0.4);
}

.play_button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 174, 0, 0.6);
}

.play_button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #1a1a2e;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* Responsive del video principal */
@media (max-width: 768px) {
    .main_video_container {
        max-height: 500px;
        min-height: 250px;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .main_video_container {
        max-height: 400px;
        min-height: 200px;
        max-width: 300px;
    }
}

/* ESTADÍSTICAS */
.stats_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.stat_item {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat_item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 174, 0, 0.3);
}

.stat_number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat_label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ANIMACIONES */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .controlador_seccion_A {
        gap: 60px;
        padding: 0 30px;
    }
}

@media (max-width: 968px) {
    .controlador_seccion_A {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding: 40px 20px;
    }

    .hero_content {
        order: 2;
    }

    .hero_visual {
        order: 1;
    }

    #video-fondo-seccion-a {
        width: 200%;
    }
}

@media (max-width: 768px) {
    .seccion_A {
        height: auto;
    }

    .controlador_seccion_A {
        min-height: auto;
        padding: 30px 15px;
    }

    .hero_actions {
        flex-direction: column;
        align-items: center;
    }

    .btn_primary,
    .btn_secondary {
        width: 100%;
        max-width: 300px;
    }

    .stats_container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .controlador_seccion_A {
        padding: 20px 10px;
        gap: 30px;
    }

    .hero_content {
        gap: 20px;
    }

    .event_info {
        gap: 10px;
    }

    .info_item {
        font-size: 1rem;
    }

    .main_video_container {
        border-radius: 20px;
    }

    .play_button {
        width: 60px;
        height: 60px;
    }

    #video-fondo-seccion-a {
        width: 400%;
    }
}

@media (max-width: 360px) {
    #video-fondo-seccion-a {
        width: 550%;
    }
}

/* CINTA DE PATROCINADORES - Ya tiene buena responsividad, solo mejoras menores */
.slider-container {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    background-color: rgb(255, 255, 255);
    display: flex;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.521);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.3s linear;
    cursor: grab;
    user-select: none;
}

.slider-wrapper:active {
    cursor: grabbing;
}

.slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: opacity 0.3s ease;
}

.slide img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.slide:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive breakpoints para cinta de patrocinadores */
@media (max-width: 480px) {
    .slider-container {
        padding: 8px;
        height: 100px;
    }
    
    .slide {
        width: 50%;
        padding: 4px;
    }
    
    .slide img {
        max-width: 100px;
        max-height: 50px;
    }
}

@media (min-width: 481px) and (max-width: 639px) {
    .slider-container {
        height: 110px;
    }
    
    .slide {
        width: 50%;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    .slider-container {
        height: 115px;
    }
    
    .slide {
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .slide {
        width: 25%;
    }
}

@media (min-width: 992px) and (max-width: 1023px) {
    .slide {
        width: 20%;
    }
}

@media (min-width: 1024px) and (max-width: 1024px) {
    .slide {
        width: 25%;
    }
}

@media (min-width: 1025px) {
    .slide {
        width: 16.666%;
    }
}

/* Pagination dots */
.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: none;
}

.pagination-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.pagination-dot:hover {
    background: #0056b3;
}

/* Loading shimmer effect */
.slide.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Controls */
.slider-controls {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.control-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.control-btn:hover {
    background: #0056b3;
}

.control-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.seccion_B {
    max-height: 2000px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

/* Media query para remover max-height en móvil */
@media (max-width: 1023px) {
    .seccion_B {
        max-height: none;
        height: auto;
        min-height: auto;
    }
}

/* Media query general para remover max-height en todas las secciones y elementos en móvil */
@media (max-width: 1023px) {
    /* Secciones principales */
    .seccion_A,
    .seccion_B,
    .seccion_C,
    .seccion_D,
    .seccion_E,
    .seccion_F,
    .seccion_G,
    .seccion_H {
        max-height: none !important;
        height: auto !important;
    }
    
    /* Carrusel del header */
    .header-carousel {
        max-height: none !important;
        height: auto !important;
        min-height: 300px !important;
    }
    
    /* Contenedores de video */
    .main_video_container {
        max-height: none !important;
        height: auto !important;
        min-height: 300px !important;
    }
    
    /* Contenedores de estadísticas */
    .stats_container {
        max-height: none !important;
        height: auto !important;
    }
    
    /* Contenedores de proyectos */
    .proyecto_destacado {
        max-height: none !important;
        height: auto !important;
    }
    
    /* Contenedores de participación */
    .contenedor_participacion_seccion_b {
        max-height: none !important;
        height: auto !important;
        min-height: auto !important;
    }
}

/* Media query adicional para móviles pequeños */
@media (max-width: 768px) {
    /* Ajustes específicos para móviles */
    .header-carousel {
        min-height: 250px !important;
    }
    
    .main_video_container {
        min-height: 250px !important;
    }
    
    /* Ajustar padding en móviles */
    .controlador_seccion_A,
    .controlador_seccion_B {
        padding: 0 20px !important;
    }
    
    /* Optimizar grid en móviles */
    .controlador_seccion_A {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* 🎥 VIDEO DE FONDO SECCIÓN B */
#video-fondo-seccion-b {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    filter: grayscale(100%) brightness(0.25);
    z-index: 0;
}



/* CONTROLADOR PRINCIPAL - MANTENIENDO ESTRUCTURA */
.controlador_seccion_B {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    
    /* MANTENGO TUS ESTILOS ORIGINALES */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    flex-direction: row;
    border-radius: 12px;
}

.izquierda_seccion_b {
    width: 100%;
    height: 100%;
    background-color: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* HEADER MEJORADO */
.header_seccion_b {
    text-align: center;
    margin-bottom: 40px;
}

.titulo_principal_b {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    color: #ffae00;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 2px 16px #0008;
}

.subtitulo_seccion_b {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #fff;
    opacity: 0.92;
    margin: 0 auto;
    max-width: 420px;
    text-shadow: 0 1px 8px #0005;
}

/* 🎯 CONTENEDOR EXPANDIDO PARA 5 CARDS EN FILA */
.contenedor_participacion_seccion_b {
    /* 👈 AUMENTADO: De 90% a 100% para más espacio */
    width: 100%;
    /* 👈 AUMENTADO: De 100% a 1350px para que quepan las 5 cards */
    max-width: 1350px;
    min-height: 400px;
    background-color: rgba(46, 46, 46, 0.473);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    /* 👈 REDUCIDO: De 20px a 15px para más espacio entre cards */
    gap: 15px;
    justify-content: center;
    align-items: center;
    /* 👈 REDUCIDO: De 30px a 25px para optimizar espacio */
    padding: 25px;
    box-sizing: border-box;
    margin: 0 auto;
}

/* TODAS TUS CARDS Y EFECTOS - MANTENGO EXACTAMENTE IGUALES */
:root {
    --card-height: 300px;
    --card-width: calc(var(--card-height) / 1.5);
}

.card {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 36px;
    perspective: 2500px;
    margin: 0 10px;
    text-decoration: none;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:hover .wrapper {
    transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
    box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
}

.fix_size {
    width: 100%;
    height: 115%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transition-delay: 1s;
    position: absolute;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 0%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 90%, transparent 100%);
}

.card:hover .fix_size {
    opacity: 1;
    transform: translate3d(0%, -15%, 100px);
    transition-delay: 1s;
}

.wrapper {
    transition: transform 0.5s ease-out;
    transition-delay: 1s;
    position: absolute;
    width: 100%;
    z-index: -1;
    height: 90%;
    border-radius: 12px;
    border: rgba(255, 255, 255, 0) 2px solid;
}

.wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: none;
}

.card:hover .wrapper {
    transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
    box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    transition-delay: 1s;
    border: rgb(255, 255, 255) 1px solid;
    border-radius: 12px;
}

.wrapper::before,
.wrapper::after {
    content: "";
    opacity: 0;
    width: 100%;
    height: 80px;
    transition: opacity 0.5s ease-out;
    transition-delay: 1s;
    position: absolute;
    left: 0;
    border-radius: 12px;
}

.wrapper::before {
    top: 0;
    height: 100%;
    background-image: linear-gradient(
        to top,
        transparent 46%,
        rgba(12, 13, 19, 0.5) 68%,
        rgba(12, 13, 19) 97%
    );
}

.wrapper::after {
    bottom: 0;
    opacity: 1;
    background-image: linear-gradient(
        to bottom,
        transparent 46%,
        rgba(12, 13, 19, 0.5) 68%,
        rgba(12, 13, 19) 97%
    );
}

.card:hover .wrapper::before,
.wrapper::after {
    opacity: 1;
    transition-delay: 1s;
}

.card:hover .wrapper::after {
    height: 120px;
    transition-delay: 1s;
}

.title {
    width: 100%;
    transition: transform 0.5s ease-out;
    transition-delay: 1s;
    color: white;
}

.card:hover .title {
    transform: translate3d(0%, -50px, 100px);
    transition-delay: 1s;
}

.character {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transition-delay: 1s;
    position: absolute;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 0%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 90%, transparent 100%);
}

.card:hover .character {
    opacity: 1;
    transform: translate3d(0%, -15%, 100px);
    transition-delay: 1s;
}

.card {
    will-change: auto;
}

.card:hover {
    will-change: transform;
}

.CARD_1_CONTAINER {
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(255, 0, 0, 0);
}

/* 🎨 DESCRIPCIONES REDISEÑADAS - MÁS ELEGANTES Y PROPORCIONALES */
.descripcion_card_1 {
    margin-top: 25px;
    width: 220px; /* 👈 MÁS ANCHO: de 200px a 220px */
    height: auto; /* 👈 ALTURA AUTOMÁTICA para mejor proporción */
    min-height: 130px; /* 👈 ALTURA MÍNIMA para consistencia */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 👈 MEJOR DISTRIBUCIÓN */
    align-items: center;
    gap: 12px; /* 👈 MAYOR GAP para mejor respiración */
    
    /* 🎨 ESTILO MEJORADO */
    background: rgba(15, 15, 25, 0.404); /* 👈 MISMO BACKGROUND QUE OTRAS SECCIONES */
    backdrop-filter: blur(10px); /* 👈 EFECTO BLUR ELEGANTE */
    border: 1px solid rgba(255, 255, 255, 0.1); /* 👈 BORDE SUTIL */
    border-radius: 15px; /* 👈 BORDER-RADIUS MÁS SUAVE */
    padding: 18px 15px; /* 👈 MEJOR PADDING */
    box-sizing: border-box;
    transition: all 0.3s ease; /* 👈 TRANSICIÓN SUAVE */
}

/* 🌟 EFECTO HOVER PARA DESCRIPCIONES */
.descripcion_card_1:hover {
    transform: translateY(-3px); /* 👈 EFECTO FLOTANTE */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* 👈 SOMBRA ELEGANTE */
    border-color: rgba(255, 174, 0, 0.3); /* 👈 BORDE DORADO AL HOVER */
}

/* 📝 TEXTO MEJORADO */
.descripcion_card_1 p {
    color: rgba(255, 255, 255, 0.9); /* 👈 MEJOR CONTRASTE */
    font-size: 14px; /* MANTENGO el tamaño */
    line-height: 1.4; /* 👈 MEJOR INTERLINEADO */
    text-align: center; /* 👈 SOLO CENTRADO, NO JUSTIFY */
    margin: 0; /* 👈 SIN MÁRGENES EXTRA */
    flex: 1; /* 👈 OCUPA ESPACIO DISPONIBLE */
    display: flex;
    align-items: center; /* 👈 CENTRADO VERTICAL */
    font-weight: 400; /* 👈 PESO SUAVE */
}

/* 🔥 BOTÓN REDISEÑADO - MÁS ELEGANTE */
.descripcion_card_1 button {
    width: 100%;
    height: 36px; /* 👈 MÁS ALTO: de 30px a 36px */
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%); /* 👈 GRADIENTE DORADO */
    border-radius: 10px; /* 👈 BORDER-RADIUS MÁS SUAVE */
    color: #1a1a1a; /* 👈 TEXTO OSCURO PARA CONTRASTE */
    border: none;
    cursor: pointer;
    font-weight: 600; /* 👈 TEXTO MÁS BOLD */
    font-size: 13px; /* 👈 TAMAÑO LIGERAMENTE MAYOR */
    text-transform: uppercase; /* 👈 MAYÚSCULAS PARA ELEGANCIA */
    letter-spacing: 0.5px; /* 👈 ESPACIADO DE LETRAS */
    transition: all 0.3s ease; /* 👈 TRANSICIÓN SUAVE */
    box-shadow: 0 4px 15px rgba(255, 174, 0, 0.2); /* 👈 SOMBRA SUTIL */
}

.descripcion_card_1 button:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%); /* 👈 GRADIENTE INVERTIDO */
    transform: translateY(-2px); /* 👈 EFECTO FLOTANTE */
    box-shadow: 0 6px 20px rgba(255, 174, 0, 0.4); /* 👈 SOMBRA MÁS INTENSA */
}

/* 🎯 MEDIA QUERIES AJUSTADOS PARA MANTENER 5 CARDS EN FILA EN PC */
@media (max-width: 1400px) {
    .controlador_seccion_B {
        padding: 0 30px;
    }
    
    /* 👈 MANTENGO contenedor grande hasta 1200px */
    .contenedor_participacion_seccion_b {
        max-width: 1200px;
        gap: 12px;
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .controlador_seccion_B {
        padding: 0 25px;
    }
    
    /* 👈 AÚN MANTENGO contenedor grande */
    .contenedor_participacion_seccion_b {
        max-width: 1100px;
        gap: 10px;
        padding: 18px;
    }
}

/* 👈 SOLO A PARTIR DE 1023px EMPIEZO A PERMITIR WRAP */
@media (max-width: 1023px) and (min-width: 768px) {
    .seccion_B {
        min-height: auto;
        padding: 60px 0;
    }
    
    .controlador_seccion_B {
        padding: 0 25px;
    }
    
    .contenedor_participacion_seccion_b {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        padding: 25px;
        min-height: 350px;
        max-width: 900px; /* 👈 Más pequeño para tablets */
    }

    /* 🎥 VIDEO RESPONSIVO PARA TABLETS */
    #video-fondo-seccion-b {
        width: 200%;
        height: 100%;
        object-fit: fill;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    .seccion_B {
        min-height: auto;
        padding: 40px 0;
    }
    
    .controlador_seccion_B {
        padding: 0 20px;
    }
    
    .izquierda_seccion_b {
        padding: 15px;
        gap: 20px;
    }
    
    .contenedor_participacion_seccion_b {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        min-height: auto;
        max-width: 100%;
    }

    /* 🎥 VIDEO RESPONSIVO PARA MÓVILES MEDIANOS */
    #video-fondo-seccion-b {
        width: 300%;
        height: 100%;
        object-fit: fill;
    }
}

@media (max-width: 479px) {
    .seccion_B {
        min-height: auto;
        padding: 30px 0;
    }
    
    .controlador_seccion_B {
        padding: 0 15px;
    }
    
    .izquierda_seccion_b {
        padding: 10px;
        gap: 15px;
    }
    
    .contenedor_participacion_seccion_b {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        min-height: auto;
        max-width: 100%;
    }

    /* 🎥 VIDEO RESPONSIVO PARA MÓVILES PEQUEÑOS */
    #video-fondo-seccion-b {
        width: 400%;
        height: 100%;
        object-fit: fill;
    }

    /* 📱 DESCRIPCIONES MÁS PEQUEÑAS EN MÓVILES */
    .descripcion_card_1 {
        width: 200px;
        padding: 15px 12px;
        min-height: 120px;
    }

    .descripcion_card_1 p {
        font-size: 13px;
    }

    .descripcion_card_1 button {
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    /* 🎥 VIDEO RESPONSIVO PARA MÓVILES MUY PEQUEÑOS */
    #video-fondo-seccion-b {
        width: 550%;
        height: 100%;
        object-fit: fill;
    }
}

/* SECCIÓN C COMPLETAMENTE REDISEÑADA */
.seccion_C {
    width: 100%;
    max-height: 3000px;
    position: relative;
    overflow: hidden;
    
}

/* VIDEO DE FONDO SECCIÓN C */
#video-fondo-seccion-c {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    filter: grayscale(100%) brightness(0.25);
    z-index: 0;
}



/* CONTENEDOR PRINCIPAL */
.controlador_seccion_C {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 0;
    
}

/* HEADER DE LA SECCIÓN */
.header_proyectos {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
}

.titulo_proyectos {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(255, 174, 0, 0.3);
}

.subtitulo_proyectos {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* GRID DE PROYECTOS */
.grid_proyectos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* PROYECTO INDIVIDUAL */
.proyecto_destacado {
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.proyecto_destacado:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 174, 0, 0.3);
    border-color: rgba(255, 174, 0, 0.4);
}

/* EFECTO DE BRILLO */
.proyecto_destacado::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 174, 0, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.proyecto_destacado:hover::before {
    left: 100%;
}

/* CONTENIDO DEL PROYECTO */
.proyecto_content {
    display: grid;
    grid-template-columns: 200px 300px 1fr;
    gap: 30px;
    padding: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* LOGO/IMAGEN DEL PROYECTO */
.proyecto_logo {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.proyecto_logo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 174, 0, 0.4);
}

.proyecto_logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(1.2);
    transition: all 0.4s ease;
}

.proyecto_logo:hover img {
    transform: scale(1.1);
}

/* PLACEHOLDER LOGO */
.logo_placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a2e;
}

/* VIDEO DEL PROYECTO */
.proyecto_video {
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.proyecto_video:hover {
    transform: scale(1.02);
}

.video_placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    transition: all 0.4s ease;
}

.proyecto_video:hover .video_placeholder {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* DESCRIPCIÓN DEL PROYECTO */
.proyecto_descripcion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proyecto_titulo {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.proyecto_categoria {
    display: inline-block;
    background: rgba(255, 174, 0, 0.15);
    color: #ffae00;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    border: 1px solid rgba(255, 174, 0, 0.3);
}

.proyecto_texto {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.05rem;
}

.proyecto_cta {
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    color: #1a1a2e;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.proyecto_cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 174, 0, 0.4);
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
}

/* VARIANTES DE COLOR PARA PROYECTOS */
.proyecto_destacado:nth-child(1) .proyecto_categoria {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.3);
}

.proyecto_destacado:nth-child(2) .proyecto_categoria {
    background: rgba(240, 147, 251, 0.15);
    color: #f093fb;
    border-color: rgba(240, 147, 251, 0.3);
}

.proyecto_destacado:nth-child(3) .proyecto_categoria {
    background: rgba(79, 172, 254, 0.15);
    color: #4facfe;
    border-color: rgba(79, 172, 254, 0.3);
}

.proyecto_destacado:nth-child(4) .proyecto_categoria {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
    border-color: rgba(67, 233, 123, 0.3);
}

/* ANIMACIONES */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proyecto_destacado:nth-child(1) { animation: slideInUp 0.8s ease-out 0.1s both; }
.proyecto_destacado:nth-child(2) { animation: slideInUp 0.8s ease-out 0.2s both; }
.proyecto_destacado:nth-child(3) { animation: slideInUp 0.8s ease-out 0.3s both; }
.proyecto_destacado:nth-child(4) { animation: slideInUp 0.8s ease-out 0.4s both; }

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .controlador_seccion_C {
        padding: 0 30px;
    }

    .proyecto_content {
        grid-template-columns: 180px 280px 1fr;
        gap: 25px;
        padding: 35px;
    }
}

@media (max-width: 968px) {
    .seccion_C {
        padding: 60px 0;
    }

    .header_proyectos {
        margin-bottom: 60px;
    }

    .grid_proyectos {
        gap: 40px;
    }

    .proyecto_content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
        text-align: center;
    }

    .proyecto_logo {
        width: 200px;
        margin: 0 auto;
    }

    .proyecto_video {
        max-width: 400px;
        margin: 0 auto;
    }

    #video-fondo-seccion-c {
        width: 200%;
    }
}

@media (max-width: 768px) {
    .controlador_seccion_C {
        padding: 0 20px;
    }

    .proyecto_content {
        padding: 25px;
        gap: 25px;
    }

    .proyecto_logo {
        width: 150px;
    }

    .proyecto_video {
        max-width: 300px;
    }

    /* 📱 Centrar botones en móviles */
    .proyecto_cta {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .seccion_C {
        padding: 40px 0;
    }

    .controlador_seccion_C {
        padding: 0 15px;
    }

    .header_proyectos {
        margin-bottom: 40px;
    }

    .grid_proyectos {
        gap: 30px;
    }

    .proyecto_content {
        padding: 20px;
        gap: 20px;
    }

    .proyecto_logo {
        width: 120px;
    }

    .proyecto_video {
        max-width: 100%;
    }

    /* 📱 Centrar botones en móviles pequeños */
    .proyecto_cta {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 100%;
        max-width: 200px;
    }

    #video-fondo-seccion-c {
        width: 400%;
    }
}

@media (max-width: 360px) {
    /* 📱 Centrar botones en móviles muy pequeños */
    .proyecto_cta {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 100%;
        max-width: 180px;
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    #video-fondo-seccion-c {
        width: 550%;
    }
}

.seccion_D {
    width: 100%;
    max-height: 1080px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

/* VIDEO DE FONDO */
#video-fondo-seccion-d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    filter: grayscale(100%) brightness(0.3);
    z-index: 0;
}



/* CONTENEDOR PRINCIPAL - MISMA ESTRUCTURA QUE OTRAS SECCIONES */
.controlador_seccion_D {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px; /* 👈 MISMO MAX-WIDTH QUE OTRAS SECCIONES */
    margin: 0 auto;
    padding: 0 40px; /* 👈 MISMO PADDING QUE OTRAS SECCIONES */
    display: flex;
    flex-direction: column;
    gap: 80px; /* 👈 MISMO GAP QUE OTRAS SECCIONES */
}

/* HEADER DE LA SECCIÓN - CONSISTENTE CON OTRAS */
.header_inversionistas {
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.titulo_inversionistas {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(255, 174, 0, 0.3);
}

.subtitulo_inversionistas {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* CONTENIDO PRINCIPAL */
.contenido_inversionistas {
    display: grid;
    grid-template-columns: 1fr 400px; /* Personas a la izquierda, info a la derecha */
    gap: 60px;
    align-items: center;
    max-width: 1200px; /* 👈 CONTENEDOR MÁS CONTROLADO */
    margin: 0 auto;
    width: 100%;
}

/* LADO IZQUIERDO - PERSONAS (MANTENIENDO TU FUNCIONALIDAD) */
.personas_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.wrapper_personas {
    position: relative;
    width: 100%;
    max-width: 700px; /* 👈 MEJOR PROPORCIÓN */
    height: 400px; /* 👈 ALTURA MÁS CONTROLADA */
    margin: 0 auto;
    
}

/* MANTENER TU FUNCIONALIDAD EXISTENTE DE MARCOS */
.marco {
    position: absolute;
    width: clamp(120px, 12vw, 180px); /* 👈 TAMAÑOS MÁS CONTROLADOS */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    transition: all 0.4s ease; /* 👈 TRANSICIÓN MÁS SUAVE */
    z-index: 1;
}

.marco img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.marco:hover img {
    filter: drop-shadow(0 0 15px rgba(255, 174, 0, 0.8)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)); /* 👈 EFECTO DORADO */
    transform: scale(1.05);
}

/* Sistema de hover anterior eliminado - ahora usamos .artista_info_hover */

/* POSICIONES MEJORADAS Y MÁS BALANCEADAS */
.persona_1 {
    height: 70%;
    left: -8%;
    z-index: 1;
    bottom: 50px;
}

.persona_1:hover {
    bottom: 60px;
}

.persona_2 {
    height: 85%;
    left: 22%;
    z-index: 2;
    bottom: 40px;
}

.persona_2:hover {
    bottom: 50px;
}

.persona_3 {
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    bottom: 20px;
}

.persona_3:hover{
    bottom: 30px;
}

.persona_4 {
    bottom: 30px;
    height: 85%;
    right: 22%;
    z-index: 2;
}

.persona_4:hover {
    bottom: 40px;
}

.persona_5 {
    bottom: 10px;
    height: 70%;
    right: 1%;
    z-index: 1;
}

.persona_5:hover {
    bottom: 20px;
}

/* LADO DERECHO - INFORMACIÓN MEJORADA */
.info_inversionistas {
    z-index: 20;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px 30px;
    height: fit-content;
    width: 100%;
    max-width: 400px;
}

.titulo_info {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* LISTA DE INVERSIONISTAS MEJORADA */
.lista_inversionistas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inversionista_item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.inversionista_item:hover {
    transform: translateX(10px);
    border-color: rgba(255, 174, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.inversionista_nombre {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.inversionista_rol {
    font-size: 0.9rem;
    color: #ffae00;
    font-weight: 500;
    margin-bottom: 8px;
}

.inversionista_descripcion {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ANIMACIONES */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .controlador_seccion_D {
        padding: 0 30px;
        gap: 60px;
    }

    .contenido_inversionistas {
        grid-template-columns: 1fr 350px;
        gap: 50px;
    }
}

@media (max-width: 968px) {
    .seccion_D {
        padding: 60px 0;
    }

    .contenido_inversionistas {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .wrapper_personas {
        height: 300px;
        max-width: 600px;
    }

    .info_inversionistas {
        max-width: 500px;
        margin: 0 auto;
    }

    #video-fondo-seccion-d {
        width: 200%;
    }
}

@media (max-width: 768px) {
    .controlador_seccion_D {
        padding: 0 20px;
        gap: 40px;
    }

    .wrapper_personas {
        height: 250px;
        max-width: 100%;
    }

    .marco {
        width: clamp(80px, 15vw, 120px);
    }

    .marco::after {
        bottom: -40px;
        font-size: clamp(12px, 3vw, 16px);
        padding: 6px 12px;
    }

    .marco:hover::after {
        bottom: -35px;
    }

    .info_inversionistas {
        padding: 30px 25px;
    }

    /* Mejorar posicionamiento de personas en móvil */
    .persona_1 {
        left: 5%;
        height: 60%;
    }

    .persona_2 {
        left: 20%;
        height: 75%;
    }

    .persona_3 {
        left: 50%;
        height: 90%;
    }

    .persona_4 {
        right: 20%;
        height: 75%;
    }

    .persona_5 {
        right: 5%;
        height: 60%;
    }
}

@media (max-width: 480px) {
    .seccion_D {
        padding: 40px 0;
        min-height: auto;
    }

    .controlador_seccion_D {
        padding: 0 15px;
        gap: 30px;
    }

    .wrapper_personas {
        height: 200px;
        margin: 0 auto;
    }

    .marco {
        width: clamp(60px, 18vw, 100px);
    }

    /* Ajustar posiciones para móviles pequeños */
    .persona_1 {
        left: 2%;
        height: 55%;
    }

    .persona_2 {
        left: 18%;
        height: 70%;
    }

    .persona_3 {
        left: 50%;
        height: 85%;
    }

    .persona_4 {
        right: 18%;
        height: 70%;
    }

    .persona_5 {
        right: 2%;
        height: 55%;
    }

    .info_inversionistas {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .lista_inversionistas {
        gap: 15px;
    }

    .inversionista_item {
        padding: 15px;
    }

    /* Mejorar legibilidad del texto */
    .titulo_inversionistas {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .subtitulo_inversionistas {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 20px;
    }

    .titulo_info {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .inversionista_nombre {
        font-size: 1rem;
    }

    .inversionista_rol {
        font-size: 0.85rem;
    }

    .inversionista_descripcion {
        font-size: 0.85rem;
    }

    #video-fondo-seccion-d {
        width: 400%;
    }
}

@media (max-width: 360px) {
    .seccion_D {
        padding: 30px 0;
    }

    .controlador_seccion_D {
        padding: 0 10px;
        gap: 25px;
    }

    .wrapper_personas {
        height: 180px;
    }

    .marco {
        width: clamp(50px, 20vw, 80px);
    }

    /* Ajustes finales para pantallas muy pequeñas */
    .persona_1 {
        left: 1%;
        height: 50%;
    }

    .persona_2 {
        left: 15%;
        height: 65%;
    }

    .persona_3 {
        left: 50%;
        height: 80%;
    }

    .persona_4 {
        right: 15%;
        height: 65%;
    }

    .persona_5 {
        right: 1%;
        height: 50%;
    }

    .info_inversionistas {
        padding: 20px 15px;
        margin: 0 5px;
    }

    .inversionista_item {
        padding: 12px;
    }

    .titulo_inversionistas {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .subtitulo_inversionistas {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

    /* Mejorar experiencia táctil */
    .marco {
        min-height: 60px;
    }

    .marco::after {
        font-size: clamp(12px, 4vw, 14px);
        padding: 4px 8px;
        bottom: -35px;
    }

    .marco:hover::after {
        bottom: -30px;
    }

    #video-fondo-seccion-d {
        width: 550%;
    }
}

/* Breakpoint adicional para pantallas muy pequeñas */
@media (max-width: 320px) {
    .seccion_D {
        padding: 20px 0;
    }

    .controlador_seccion_D {
        padding: 0 8px;
        gap: 20px;
    }

    .wrapper_personas {
        height: 150px;
    }

    .marco {
        width: clamp(40px, 22vw, 70px);
        min-height: 50px;
    }

    /* Ajustes para pantallas muy pequeñas */
    .persona_1 {
        left: 0%;
        height: 45%;
    }

    .persona_2 {
        left: 12%;
        height: 60%;
    }

    .persona_3 {
        left: 50%;
        height: 75%;
    }

    .persona_4 {
        right: 12%;
        height: 60%;
    }

    .persona_5 {
        right: 0%;
        height: 45%;
    }

    .info_inversionistas {
        padding: 15px 12px;
        margin: 0 3px;
    }

    .inversionista_item {
        padding: 10px;
    }

    .titulo_inversionistas {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .subtitulo_inversionistas {
        font-size: clamp(0.8rem, 4vw, 1rem);
    }

    .titulo_info {
        font-size: 1.2rem;
    }

    .inversionista_nombre {
        font-size: 0.9rem;
    }

    .inversionista_rol {
        font-size: 0.8rem;
    }

    .inversionista_descripcion {
        font-size: 0.8rem;
    }

    .marco::after {
        font-size: clamp(10px, 4.5vw, 12px);
        padding: 3px 6px;
        bottom: -30px;
    }

    .marco:hover::after {
        bottom: -25px;
    }

    #video-fondo-seccion-d {
        width: 600%;
    }
}

.seccion_E {
    width: 100%;
    max-height: 1080px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

/* VIDEO DE FONDO */
#video-fondo-seccion-e {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    filter: grayscale(100%) brightness(0.3);
    z-index: 0;
}



/* CONTENEDOR PRINCIPAL - MISMA ESTRUCTURA QUE OTRAS SECCIONES */
.controlador_seccion_E {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px; /* 👈 MISMO MAX-WIDTH QUE OTRAS SECCIONES */
    margin: 0 auto;
    padding: 0 40px; /* 👈 MISMO PADDING QUE OTRAS SECCIONES */
    display: flex;
    flex-direction: column;
    gap: 80px; /* 👈 MISMO GAP QUE OTRAS SECCIONES */
}

/* HEADER DE LA SECCIÓN - CONSISTENTE CON OTRAS */
.header_artistas {
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.titulo_artistas {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(255, 174, 0, 0.3);
}

.subtitulo_artistas {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* CONTENIDO PRINCIPAL */
.contenido_artistas {
    display: grid;
    grid-template-columns: 1fr 400px; /* Artistas a la izquierda, info a la derecha */
    gap: 60px;
    align-items: center;
    max-width: 1200px; /* 👈 CONTENEDOR MÁS CONTROLADO */
    margin: 0 auto;
    width: 100%;
}

/* LADO IZQUIERDO - ARTISTAS (MANTENIENDO TU FUNCIONALIDAD) */
.artistas_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

/* MANTENER TU FUNCIONALIDAD EXISTENTE DE ARTISTAS */
.wrapper_artistas {
    position: relative;
    width: 100%;
    max-width: 700px; /* 👈 MEJOR PROPORCIÓN */
    height: 450px; /* 👈 ALTURA MÁS CONTROLADA */
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Cada artista es absolutamente posicionado para superposición - MEJORADO */
.wrapper_artistas > div {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.4s ease, filter 0.4s ease, z-index 0.4s;
    cursor: pointer;
}

/* Artista 1: más grande y centrado, al frente - MEJORADO */
.artista_1 {
    left: 50%;
    transform: translateX(-50%) scale(1.1);
    z-index: 3;
    width: 45%;
    max-width: 420px; /* 👈 TAMAÑO MÁS CONTROLADO */
}

.artista_1 img {
    width: 100%;
    height: auto;
    max-width: 420px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Artista 2: a la izquierda, detrás - MEJORADO */
.artista_2 {
    left: 0%;
    z-index: 2;
    width: 50%;
    max-width: 280px;
    transform: translateX(0) scale(0.9);
}

.artista_2 img {
    width: 100%;
    height: auto;
    max-width: 280px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Artista 3: a la derecha, detrás - MEJORADO */
.artista_3 {
    right: -11%;
    z-index: 2;
    width: 50%;
    transform: translateX(0) scale(1.5);
    bottom: 150px;
}

.artista_3 img {
    width: 100%;
    height: auto;
    max-width: 250px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));

}

/* Efecto hover: resalta el artista - MEJORADO */
.wrapper_artistas img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(255, 174, 0, 0.8)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    z-index: 4;
    transition: all 0.4s ease;
}

/* === INFORMACIÓN HOVER DE ARTISTAS - ELEGANTE Y SEPARADA === */
.artista_info_hover {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 174, 0, 0.4);
    border-radius: 20px;
    padding: 15px 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.artista_info_hover h3 {
    color: #ffae00;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artista_info_hover p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Mostrar información al hacer hover en el marco */
.marco:hover .artista_info_hover {
    opacity: 1;
    visibility: visible;
    bottom: -70px;
}

/* ===== CARRUSEL DEL HEADER ===== */
.header-carousel {
    position: relative;
    width: 80%;
    max-width: 1400px;
    aspect-ratio: 16/9;
    max-height: 90%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-carousel:hover {
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px);
}

.header-carousel .carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header-carousel .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-carousel .carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.header-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-carousel .carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%, transparent 100%);
    pointer-events: none;
}

.header-carousel .carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
}

.header-carousel .carousel-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.header-carousel .carousel-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 32rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-carousel .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
}

.header-carousel:hover .carousel-nav {
    opacity: 1;
}

.header-carousel .carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.header-carousel .carousel-nav-prev {
    left: 1rem;
}

.header-carousel .carousel-nav-next {
    right: 1rem;
}

.header-carousel .carousel-play-pause {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
}

.header-carousel:hover .carousel-play-pause {
    opacity: 1;
}

.header-carousel .carousel-play-pause:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.header-carousel .hidden {
    display: none !important;
}

.header-carousel .carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.header-carousel .carousel-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-carousel .carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.header-carousel .carousel-indicator.active {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-carousel .carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.header-carousel .carousel-progress-bar {
    height: 100%;
    background: white;
    transition: width 0.3s ease;
    width: 0%;
}

/* Responsive del carrusel del header */
@media (max-width: 768px) {
    .header-carousel {
        aspect-ratio: auto;
        height: 300px;
    }
    
    .header-carousel .carousel-content {
        padding: 1.5rem;
    }
    
    .header-carousel .carousel-content h3 {
        font-size: 1.5rem;
    }
    
    .header-carousel .carousel-content p {
        font-size: 1rem;
    }
    
    .header-carousel .carousel-nav {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .header-carousel .carousel-nav-prev {
        left: 0.5rem;
    }
    
    .header-carousel .carousel-nav-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-carousel {
        aspect-ratio: auto;
        height: 250px;
    }
    
    .header-carousel .carousel-content h3 {
        font-size: 1.25rem;
    }
    
    .header-carousel .carousel-content p {
        font-size: 0.875rem;
    }
}

/* ===== ESTILOS PARA SPEAKERS HOVER ===== */
.speaker_info_hover {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 174, 0, 0.4);
    border-radius: 20px;
    padding: 15px 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.speaker_info_hover h3 {
    color: #ffae00;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speaker_info_hover p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Mostrar información al hacer hover en el marco para speakers */
.marco:hover .speaker_info_hover {
    opacity: 1;
    visibility: visible;
    bottom: -70px;
}

/* LADO DERECHO - INFORMACIÓN MEJORADA */
.info_artistas {
    z-index: 20;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px 30px;
    height: fit-content;
    width: 100%;
    max-width: 400px;
}

.titulo_info_artistas {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* LISTA DE ARTISTAS MEJORADA */
.lista_artistas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.artista_item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Colores únicos para cada artista */
.artista_item:nth-child(1) {
    border-color: rgba(255, 174, 0, 0.2);
}

.artista_item:nth-child(1):hover {
    border-color: rgba(255, 174, 0, 0.4);
    background: rgba(255, 174, 0, 0.1);
    transform: translateX(10px);
}

.artista_item:nth-child(2) {
    border-color: rgba(0, 234, 255, 0.2);
}

.artista_item:nth-child(2):hover {
    border-color: rgba(0, 234, 255, 0.4);
    background: rgba(0, 234, 255, 0.1);
    transform: translateX(10px);
}

.artista_item:nth-child(3) {
    border-color: rgba(255, 0, 128, 0.2);
}

.artista_item:nth-child(3):hover {
    border-color: rgba(255, 0, 128, 0.4);
    background: rgba(255, 0, 128, 0.1);
    transform: translateX(10px);
}

.artista_nombre {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.artista_genero {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Colores únicos para géneros */
.artista_item:nth-child(1) .artista_genero {
    color: #ffae00;
}

.artista_item:nth-child(2) .artista_genero {
    color: #00eaff;
}

.artista_item:nth-child(3) .artista_genero {
    color: #ff0080;
}

.artista_descripcion {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* DESCRIPCIÓN ADICIONAL */
.descripcion_adicional {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

/* ANIMACIONES */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .controlador_seccion_E {
        padding: 0 30px;
        gap: 60px;
    }

    .contenido_artistas {
        grid-template-columns: 1fr 350px;
        gap: 50px;
    }

    .wrapper_artistas {
        height: 400px;
        max-width: 600px;
    }
}

@media (max-width: 968px) {
    .seccion_E {
        padding: 60px 0;
    }

    .contenido_artistas {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .wrapper_artistas {
        height: 350px;
        max-width: 550px;
    }

    .info_artistas {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Responsive específico para artistas en tablets */
    .artista_1 {
        width: 50%;
        max-width: 350px;
    }

    .artista_2 {
        width: 32%;
        max-width: 220px;
        left: 10%;
    }

    .artista_3 {
        width: 28%;
        max-width: 200px;
        right: 10%;
    }

    #video-fondo-seccion-e {
        width: 200%;
    }
}

@media (max-width: 768px) {
    .controlador_seccion_E {
        padding: 0 20px;
        gap: 40px;
    }

    .wrapper_artistas {
        height: 300px;
        max-width: 450px;
    }

    .artista_1 {
        width: 55%;
        max-width: 280px;
    }

    .artista_2 {
        width: 35%;
        max-width: 180px;
        left: 8%;
    }

    .artista_3 {
        width: 30%;
        max-width: 160px;
        right: 8%;
    }

    .info_artistas {
        padding: 30px 25px;
    }

    .lista_artistas {
        gap: 15px;
    }

    .artista_item {
        padding: 15px;
    }

    /* Mejorar legibilidad del texto */
    .titulo_artistas {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .subtitulo_artistas {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 20px;
    }

    .titulo_info_artistas {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .artista_nombre {
        font-size: 1rem;
    }

    .artista_genero {
        font-size: 0.85rem;
    }

    .artista_descripcion {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .seccion_E {
        padding: 40px 0;
        min-height: auto;
    }

    .controlador_seccion_E {
        padding: 0 15px;
        gap: 30px;
    }

    .wrapper_artistas {
        height: 250px;
        max-width: 350px;
        margin: 0 auto;
    }

    .artista_1 {
        width: 60%;
        max-width: 220px;
    }

    .artista_2 {
        width: 35%;
        max-width: 140px;
        left: 5%;
    }

    .artista_3 {
        width: 30%;
        max-width: 120px;
        right: 5%;
    }

    .info_artistas {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .artista_item {
        padding: 12px 15px;
    }

    .artista_nombre {
        font-size: 1rem;
    }

    .artista_genero {
        font-size: 0.85rem;
    }

    .artista_descripcion {
        font-size: 0.85rem;
    }

    /* Mejorar legibilidad del texto */
    .titulo_artistas {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .subtitulo_artistas {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

    .titulo_info_artistas {
        font-size: 1.2rem;
    }

    #video-fondo-seccion-e {
        width: 400%;
    }
}

@media (max-width: 360px) {
    .seccion_E {
        padding: 30px 0;
    }

    .controlador_seccion_E {
        padding: 0 10px;
        gap: 25px;
    }

    .wrapper_artistas {
        height: 200px;
    }

    .artista_1 {
        width: 65%;
        max-width: 180px;
    }

    .artista_2 {
        width: 30%;
        max-width: 110px;
    }

    .artista_3 {
        width: 25%;
        max-width: 90px;
    }

    .info_artistas {
        padding: 20px 15px;
        margin: 0 5px;
    }

    .artista_item {
        padding: 10px 12px;
    }

    .titulo_artistas {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .subtitulo_artistas {
        font-size: clamp(0.8rem, 4vw, 1rem);
    }

    .titulo_info_artistas {
        font-size: 1.1rem;
    }

    .artista_nombre {
        font-size: 0.9rem;
    }

    .artista_genero {
        font-size: 0.8rem;
    }

    .artista_descripcion {
        font-size: 0.8rem;
    }

    #video-fondo-seccion-e {
        width: 550%;
    }
}

/* Breakpoint adicional para pantallas muy pequeñas */
@media (max-width: 320px) {
    .seccion_E {
        padding: 20px 0;
    }

    .controlador_seccion_E {
        padding: 0 8px;
        gap: 20px;
    }

    .wrapper_artistas {
        height: 180px;
    }

    .artista_1 {
        width: 70%;
        max-width: 160px;
    }

    .artista_2 {
        width: 25%;
        max-width: 100px;
    }

    .artista_3 {
        width: 20%;
        max-width: 80px;
    }

    .info_artistas {
        padding: 15px 12px;
        margin: 0 3px;
    }

    .artista_item {
        padding: 8px 10px;
    }

    .titulo_artistas {
        font-size: clamp(1.4rem, 9vw, 1.8rem);
    }

    .subtitulo_artistas {
        font-size: clamp(0.7rem, 4.5vw, 0.9rem);
    }

    .titulo_info_artistas {
        font-size: 1rem;
    }

    .artista_nombre {
        font-size: 0.85rem;
    }

    .artista_genero {
        font-size: 0.75rem;
    }

    .artista_descripcion {
        font-size: 0.75rem;
    }

    #video-fondo-seccion-e {
        width: 600%;
    }
}

.seccion_F {
    width: 100%;
    max-height: 1500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

/* VIDEO DE FONDO */
#video-fondo-seccion-f {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    filter: grayscale(100%) brightness(0.25);
    z-index: 0;
}



/* CONTENEDOR PRINCIPAL */
.controlador_seccion_F {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* HEADER DE LA SECCIÓN */
.header_estadisticas {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
}

.titulo_estadisticas {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(255, 174, 0, 0.3);
}

.subtitulo_estadisticas {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* GRID DE CONTADORES */
.grid_contadores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

/* CONTADOR INDIVIDUAL */
.contador_card {
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.contador_card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 174, 0, 0.3);
    border-color: rgba(255, 174, 0, 0.4);
}

/* EFECTO DE BRILLO */
.contador_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 174, 0, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.contador_card:hover::before {
    left: 100%;
}

/* ICONO DEL CONTADOR */
.contador_icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.contador_card:hover .contador_icono {
    transform: scale(1.1) rotate(5deg);
}

/* COLORES ÚNICOS PARA CADA CONTADOR */
.contador_asistentes .contador_icono {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contador_cupos .contador_icono {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.contador_proyectos .contador_icono {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.contador_inversionistas .contador_icono {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.contador_stands .contador_icono {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.contador_networking .contador_icono {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* NÚMERO DEL CONTADOR */
.contador_numero {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ETIQUETA DEL CONTADOR */
.contador_etiqueta {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* DESCRIPCIÓN DEL CONTADOR */
.contador_descripcion {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/* SECCIÓN DE PROGRESO */
.seccion_progreso {
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    margin-top: 40px;
    text-align: center;
}

.titulo_progreso {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BARRAS DE PROGRESO */
.progreso_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progreso_label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.progreso_valor {
    font-size: 1rem;
    color: #ffae00;
    font-weight: 600;
}

.progreso_barra {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.progreso_fill {
    height: 100%;
    background: linear-gradient(90deg, #ffae00 0%, #ffd700 100%);
    border-radius: 4px;
    transition: width 2s ease-out;
    width: 0%;
}

/* ANIMACIONES */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contador_card:nth-child(1) { animation: slideInUp 0.8s ease-out 0.1s both; }
.contador_card:nth-child(2) { animation: slideInUp 0.8s ease-out 0.2s both; }
.contador_card:nth-child(3) { animation: slideInUp 0.8s ease-out 0.3s both; }
.contador_card:nth-child(4) { animation: slideInUp 0.8s ease-out 0.4s both; }
.contador_card:nth-child(5) { animation: slideInUp 0.8s ease-out 0.5s both; }
.contador_card:nth-child(6) { animation: slideInUp 0.8s ease-out 0.6s both; }

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .controlador_seccion_F {
        padding: 0 30px;
    }

    .grid_contadores {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .seccion_F {
        padding: 60px 0;
    }

    .header_estadisticas {
        margin-bottom: 60px;
    }

    .grid_contadores {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .contador_card {
        padding: 30px 25px;
    }

    #video-fondo-seccion-f {
        width: 200%;
    }
}

@media (max-width: 768px) {
    .controlador_seccion_F {
        padding: 0 20px;
    }

    .grid_contadores {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .contador_card {
        padding: 25px 20px;
    }

    .contador_icono {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .seccion_progreso {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .seccion_F {
        padding: 40px 0;
    }

    .controlador_seccion_F {
        padding: 0 15px;
    }

    .header_estadisticas {
        margin-bottom: 40px;
    }

    .grid_contadores {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contador_card {
        padding: 20px 15px;
    }

    .seccion_progreso {
        padding: 25px 20px;
    }

    #video-fondo-seccion-f {
        width: 400%;
    }
}

@media (max-width: 360px) {
    #video-fondo-seccion-f {
        width: 550%;
    }
}


.seccion_G {
    width: 100%;
    max-height: 2000px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

/* VIDEO DE FONDO */
#video-fondo-seccion-g {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    filter: grayscale(100%) brightness(0.25);
    z-index: 0;
}



/* CONTENEDOR PRINCIPAL */
.controlador_seccion_G {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* HEADER DE LA SECCIÓN */
.header_testimonios {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
}

.titulo_testimonios {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(255, 174, 0, 0.3);
}

.subtitulo_testimonios {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* GRID DE TESTIMONIOS */
.grid_testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TESTIMONIO INDIVIDUAL */
.testimonio_card {
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 35px 30px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.testimonio_card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 174, 0, 0.3);
    border-color: rgba(255, 174, 0, 0.4);
}

/* EFECTO DE BRILLO */
.testimonio_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 174, 0, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.testimonio_card:hover::before {
    left: 100%;
}

/* CONTENIDO DEL TESTIMONIO */
.testimonio_contenido {
    position: relative;
    z-index: 2;
}

/* HEADER DEL TESTIMONIO */
.testimonio_header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.testimonio_avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 174, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonio_card:hover .testimonio_avatar {
    border-color: rgba(255, 174, 0, 0.6);
    transform: scale(1.05);
}

.avatar_placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
}

.testimonio_info {
    flex: 1;
}

.testimonio_nombre {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.testimonio_cargo {
    font-size: 0.9rem;
    color: #ffae00;
    font-weight: 500;
    margin-bottom: 8px;
}

/* RATING CON ESTRELLAS */
.testimonio_rating {
    display: flex;
    gap: 3px;
}

.estrella {
    color: #ffd700;
    font-size: 1.1rem;
}

/* TEXTO DEL TESTIMONIO */
.testimonio_texto {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.testimonio_texto::before {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 174, 0, 0.3);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

/* CATEGORÍA DEL TESTIMONIO */
.testimonio_categoria {
    display: inline-block;
    background: rgba(255, 174, 0, 0.15);
    color: #ffae00;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 174, 0, 0.3);
}

/* VARIANTES DE COLOR PARA DIFERENTES TIPOS */
.testimonio_card.emprendedor .testimonio_categoria {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.3);
}

.testimonio_card.emprendedor .avatar_placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.testimonio_card.inversor .testimonio_categoria {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
    border-color: rgba(67, 233, 123, 0.3);
}

.testimonio_card.inversor .avatar_placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.testimonio_card.participante .testimonio_categoria {
    background: rgba(240, 147, 251, 0.15);
    color: #f093fb;
    border-color: rgba(240, 147, 251, 0.3);
}

.testimonio_card.participante .avatar_placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.testimonio_card.patrocinador .testimonio_categoria {
    background: rgba(79, 172, 254, 0.15);
    color: #4facfe;
    border-color: rgba(79, 172, 254, 0.3);
}

.testimonio_card.patrocinador .avatar_placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}



.stats_titulo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.stat_item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat_numero {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffae00;
    margin-bottom: 8px;
}

.stat_label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating_promedio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.rating_numero {
    font-size: 3rem;
    font-weight: 900;
    color: #ffd700;
}

.rating_estrellas {
    display: flex;
    gap: 5px;
}

.rating_estrellas .estrella {
    font-size: 1.5rem;
}

/* ANIMACIONES */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonio_card:nth-child(1) { animation: slideInUp 0.8s ease-out 0.1s both; }
.testimonio_card:nth-child(2) { animation: slideInUp 0.8s ease-out 0.2s both; }
.testimonio_card:nth-child(3) { animation: slideInUp 0.8s ease-out 0.3s both; }
.testimonio_card:nth-child(4) { animation: slideInUp 0.8s ease-out 0.4s both; }
.testimonio_card:nth-child(5) { animation: slideInUp 0.8s ease-out 0.5s both; }
.testimonio_card:nth-child(6) { animation: slideInUp 0.8s ease-out 0.6s both; }

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .controlador_seccion_G {
        padding: 0 30px;
    }

    .grid_testimonios {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .seccion_G {
        padding: 60px 0;
    }

    .header_testimonios {
        margin-bottom: 60px;
    }

    .grid_testimonios {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
    }

    .stats_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    #video-fondo-seccion-g {
        width: 200%;
    }
}

@media (max-width: 768px) {
    .controlador_seccion_G {
        padding: 0 20px;
    }

    .testimonio_card {
        padding: 30px 25px;
    }

    .testimonio_header {
        gap: 15px;
        margin-bottom: 20px;
    }

    .testimonio_avatar {
        width: 60px;
        height: 60px;
    }

}

@media (max-width: 480px) {
    .seccion_G {
        padding: 40px 0;
    }

    .controlador_seccion_G {
        padding: 0 15px;
    }

    .header_testimonios {
        margin-bottom: 40px;
    }

    .testimonio_card {
        padding: 25px 20px;
    }

    .testimonio_header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stats_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .rating_promedio {
        flex-direction: column;
        gap: 10px;
    }

    #video-fondo-seccion-g {
        width: 400%;
    }
}

@media (max-width: 360px) {
    #video-fondo-seccion-g {
        width: 550%;
    }
}

        /* SECCIÓN H CON VIDEO DE FONDO */
        .seccion_H {
            width: 100%;
            max-height: 1080px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 80px 0;
        }

        /* VIDEO DE FONDO */
        #video-fondo-seccion-h {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;  
            height: 100%; 
            object-fit: cover;
            filter: grayscale(100%) brightness(0.25);
            z-index: 0;
        }



        /* CONTENEDOR PRINCIPAL - MISMA ESTRUCTURA QUE OTRAS SECCIONES */
        .controlador_contactanos {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1400px; /* 👈 MISMO MAX-WIDTH QUE OTRAS SECCIONES */
            margin: 0 auto;
            padding: 0 40px; /* 👈 MISMO PADDING QUE OTRAS SECCIONES */
            display: flex;
            flex-direction: column;
            gap: 80px; /* 👈 MISMO GAP QUE OTRAS SECCIONES */
        }

        /* HEADER DE LA SECCIÓN - CONSISTENTE CON OTRAS */
        .header_contacto {
            text-align: center;
            animation: fadeInDown 1s ease-out;
        }

        .titulo_contacto {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 900;
            background: linear-gradient(135deg, #ffae00 0%, #ffd700 50%, #ff6b35 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 20px;
            letter-spacing: 2px;
            text-shadow: 0 4px 20px rgba(255, 174, 0, 0.3);
        }

        .subtitulo_contacto {
            font-size: clamp(1.1rem, 2.5vw, 1.4rem);
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.9;
        }

        /* CONTENIDO PRINCIPAL */
        .contenido_contacto {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Imagen a la izquierda, formulario a la derecha */
            gap: 60px;
            align-items: center;
            max-width: 1200px; /* 👈 CONTENEDOR MÁS CONTROLADO */
            margin: 0 auto;
        }

        /* LADO IZQUIERDO - IMAGEN Y INFORMACIÓN */
        .info_contacto {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 40px;
        }

        /* IMAGEN DEL CUSTOMER SERVICE MEJORADA */
        .imagen_contacto {
            width: 75%;
            max-width: 400px;
            aspect-ratio: 1;
            background: rgba(15, 15, 25, 0.8);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            padding: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .imagen_contacto:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 174, 0, 0.3);
            border-color: rgba(255, 174, 0, 0.4);
        }

        .imagen_contacto img {
            width: 170%;
            height: 170%;
            object-fit: cover;
            border-radius: 15px;
            transition: all 0.4s ease;
        }

        .imagen_contacto:hover img {
            transform: scale(1.05);
        }

        /* INFORMACIÓN ADICIONAL */
        .info_adicional {
            background: rgba(15, 15, 25, 0.8);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            padding: 30px;
            text-align: center;
            width: 100%;
            max-width: 400px;
        }

        .info_titulo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .info_texto {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        /* MÉTODOS DE CONTACTO */
        .metodos_contacto {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .metodo_item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 0;
        }

        .metodo_icono {
            width: 30px;
            height: 30px;
            background: rgba(255, 174, 0, 0.2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .metodo_texto {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
        }

        /* LADO DERECHO - FORMULARIO MEJORADO */
        .formulario_contacto {
            background: rgba(15, 15, 25, 0.8);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            padding: 40px;
            height: fit-content;
        }

        .formulario_titulo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 30px;
            text-align: center;
            background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* FORMULARIO */
        .formulario {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .campo_grupo {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .campo_label {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
            font-weight: 500;
            margin-left: 5px;
        }

        .campo_input,
        .campo_textarea {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 15px 18px;
            color: #ffffff;
            font-size: 1rem;
            transition: all 0.3s ease;
            resize: none;
        }

        .campo_input:focus,
        .campo_textarea:focus {
            outline: none;
            border-color: rgba(255, 174, 0, 0.5);
            box-shadow: 0 0 0 3px rgba(255, 174, 0, 0.1);
            background: rgba(255, 255, 255, 0.08);
        }

        .campo_input::placeholder,
        .campo_textarea::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .campo_textarea {
            min-height: 120px;
            font-family: inherit;
        }

        /* BOTÓN DE ENVÍO */
        .btn_enviar {
            background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
            color: #1a1a2e;
            border: none;
            border-radius: 12px;
            padding: 16px 32px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 10px;
        }

        .btn_enviar:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(255, 174, 0, 0.4);
            background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
        }

        /* ANIMACIONES */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 1200px) {
            .controlador_contactanos {
                padding: 0 30px;
                gap: 60px;
            }

            .contenido_contacto {
                gap: 50px;
            }
        }

        @media (max-width: 968px) {
            .seccion_H {
                padding: 60px 0;
            }

            .contenido_contacto {
                grid-template-columns: 1fr;
                gap: 50px;
                text-align: center;
            }

            .imagen_contacto,
            .info_adicional {
                max-width: 500px;
                margin: 0 auto;
            }

            .formulario_contacto {
                max-width: 500px;
                margin: 0 auto;
            }

            #video-fondo-seccion-h {
                width: 200%;
            }
        }

        @media (max-width: 768px) {
            .controlador_contactanos {
                padding: 0 20px;
                gap: 40px;
            }

            .imagen_contacto {
                padding: 25px;
            }

            .info_adicional {
                padding: 25px;
            }

            .formulario_contacto {
                padding: 30px 25px;
            }

            .formulario {
                gap: 18px;
            }

            .campo_input,
            .campo_textarea {
                padding: 12px 15px;
            }
        }

        @media (max-width: 480px) {
            .seccion_H {
                padding: 40px 0;
            }

            .controlador_contactanos {
                padding: 0 15px;
                gap: 30px;
            }

            .imagen_contacto {
                padding: 20px;
            }

            .info_adicional {
                padding: 20px;
            }

            .formulario_contacto {
                padding: 25px 20px;
            }

            .formulario {
                gap: 15px;
            }

            .campo_input,
            .campo_textarea {
                padding: 10px 12px;
                font-size: 0.95rem;
            }

            .campo_textarea {
                min-height: 100px;
            }

            .btn_enviar {
                padding: 14px 28px;
                font-size: 1rem;
            }

            #video-fondo-seccion-h {
                width: 400%;
            }
        }

        @media (max-width: 360px) {
            #video-fondo-seccion-h {
                width: 550%;
            }
        }

        /* FOOTER PRINCIPAL */
        .footer {
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            color: #ffffff;
            padding: 60px 0 0 0;
            position: relative;
        }

        /* CONTENEDOR PRINCIPAL */
        .footer_container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
            width: 100%;
        }

        /* GRID PRINCIPAL DEL FOOTER */
        .footer_content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
            gap: 40px;
            margin-bottom: 40px;
            width: 100%;
        }

        /* SECCIÓN DE LOGO Y DESCRIPCIÓN */
        .footer_brand {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .footer_logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .logo_icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            color: #1a1a1a;
        }

        .logo_text {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .footer_description {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
            font-size: 0.95rem;
            max-width: 300px;
        }

        .footer_stats {
            display: flex;
            gap: 20px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .stat_item {
            text-align: center;
        }

        .stat_number {
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffae00;
            display: block;
        }

        .stat_label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* SECCIONES DE ENLACES */
        .footer_section {
            display: flex;
            flex-direction: column;
        }

        .footer_title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer_title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background: linear-gradient(90deg, #ffae00 0%, #ffd700 100%);
            border-radius: 1px;
        }

        .footer_links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer_link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            padding: 4px 0;
        }

        .footer_link:hover {
            color: #ffae00;
            transform: translateX(5px);
        }

        /* SECCIÓN DE CONTACTO */
        .contact_info {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .contact_item {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .contact_icon {
            width: 35px;
            height: 35px;
            background: rgba(255, 174, 0, 0.1);
            border: 1px solid rgba(255, 174, 0, 0.2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .contact_text {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            line-height: 1.4;
        }

        /* NEWSLETTER */
        .newsletter_form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 15px;
            width: 100%;
        }

        .newsletter_input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 12px 15px;
            color: #ffffff;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .newsletter_input:focus {
            outline: none;
            border-color: rgba(255, 174, 0, 0.5);
            background: rgba(255, 255, 255, 0.08);
        }

        .newsletter_input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .newsletter_btn {
            background: linear-gradient(135deg, #ffae00 0%, #ffd700 100%);
            color: #1a1a1a;
            border: none;
            border-radius: 8px;
            padding: 12px 20px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter_btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 174, 0, 0.3);
        }

        /* SECCIÓN DE REDES SOCIALES */
        .social_section {
            margin-top: 20px;
        }

        .social_links {
            display: flex;
            gap: 12px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .social_link {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        .social_link:hover {
            background: rgba(255, 174, 0, 0.1);
            border-color: rgba(255, 174, 0, 0.3);
            color: #ffae00;
            transform: translateY(-3px);
        }

        /* FOOTER BOTTOM */
        .footer_bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 30px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            width: 100%;
        }

        .copyright {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        .footer_legal {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
        }

        .legal_link {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .legal_link:hover {
            color: #ffae00;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 1200px) {
            .footer_container {
                padding: 0 30px;
            }

            .footer_content {
                grid-template-columns: 2fr 1fr 1fr 1.5fr;
                gap: 35px;
            }
        }

        @media (max-width: 968px) {
            .footer {
                padding: 50px 0 0 0;
            }

            .footer_content {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }

            .footer_brand {
                grid-column: 1 / -1;
                text-align: center;
                align-items: center;
                max-width: none;
            }

            .footer_description {
                max-width: 500px;
            }

            .footer_stats {
                justify-content: center;
            }

            .footer_section {
                text-align: center;
            }

            .footer_title::after {
                left: 50%;
                transform: translateX(-50%);
            }
        }

        @media (max-width: 768px) {
            .footer_container {
                padding: 0 20px;
            }

            .footer_content {
                grid-template-columns: 1fr;
                gap: 35px;
                text-align: center;
            }

            .footer_brand {
                text-align: center;
            }

            .footer_stats {
                justify-content: center;
                gap: 30px;
                flex-wrap: wrap;
            }

            .social_links {
                justify-content: center;
            }

            .footer_bottom {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .footer_legal {
                justify-content: center;
                flex-wrap: wrap;
                gap: 20px;
            }

            .contact_info {
                align-items: center;
            }

            .contact_item {
                justify-content: center;
            }

            .newsletter_form {
                align-items: center;
            }
        }

        @media (max-width: 480px) {
            .footer {
                padding: 40px 0 0 0;
            }

            .footer_container {
                padding: 0 15px;
            }

            .footer_content {
                gap: 30px;
            }

            .footer_bottom {
                padding: 25px 0;
            }

            .footer_legal {
                gap: 15px;
                flex-direction: column;
                align-items: center;
            }

            .footer_stats {
                gap: 20px;
            }

            .stat_item {
                min-width: 80px;
            }

            .social_links {
                gap: 10px;
            }

            .social_link {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }

            .footer_title {
                font-size: 1rem;
                margin-bottom: 15px;
            }

            .footer_link {
                font-size: 0.85rem;
                padding: 3px 0;
            }

            .contact_text {
                font-size: 0.85rem;
            }

            .newsletter_input {
                padding: 10px 12px;
                font-size: 0.85rem;
            }

            .newsletter_btn {
                padding: 10px 16px;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 360px) {
            .footer {
                padding: 30px 0 0 0;
            }

            .footer_container {
                padding: 0 10px;
            }

            .footer_content {
                gap: 25px;
            }

            .footer_brand {
                gap: 15px;
            }

            .logo_icon {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            .logo_text {
                font-size: 1.3rem;
            }

            .footer_description {
                font-size: 0.9rem;
                max-width: 280px;
            }

            .footer_stats {
                gap: 15px;
            }

            .stat_number {
                font-size: 1.1rem;
            }

            .stat_label {
                font-size: 0.75rem;
            }

            .footer_bottom {
                padding: 20px 0;
            }

            .copyright {
                font-size: 0.8rem;
            }

            .legal_link {
                font-size: 0.8rem;
            }

            .social_link {
                width: 32px;
                height: 32px;
                font-size: 0.9rem;
            }

            .contact_icon {
                width: 30px;
                height: 30px;
                font-size: 0.8rem;
            }

            .newsletter_input {
                padding: 8px 10px;
                font-size: 0.8rem;
            }

            .newsletter_btn {
                padding: 8px 14px;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 320px) {
            .footer {
                padding: 25px 0 0 0;
            }

            .footer_container {
                padding: 0 8px;
            }

            .footer_content {
                gap: 20px;
            }

            .footer_brand {
                gap: 12px;
            }

            .logo_icon {
                width: 35px;
                height: 35px;
                font-size: 1.1rem;
            }

            .logo_text {
                font-size: 1.2rem;
            }

            .footer_description {
                font-size: 0.85rem;
                max-width: 250px;
            }

            .footer_stats {
                gap: 12px;
            }

            .stat_number {
                font-size: 1rem;
            }

            .stat_label {
                font-size: 0.7rem;
            }

            .footer_bottom {
                padding: 15px 0;
            }

            .copyright {
                font-size: 0.75rem;
            }

            .legal_link {
                font-size: 0.75rem;
            }

            .social_link {
                width: 30px;
                height: 30px;
                font-size: 0.85rem;
            }

            .contact_icon {
                width: 28px;
                height: 28px;
                font-size: 0.75rem;
            }

            .newsletter_input {
                padding: 7px 8px;
                font-size: 0.75rem;
            }

            .newsletter_btn {
                padding: 7px 12px;
                font-size: 0.75rem;
            }
        }

/* ====== OPTIMIZACIONES DE RENDIMIENTO ====== */

/* Pausar animaciones del loading screen cuando ya no se necesitan */
.loading-screen.animations-paused .particle,
.loading-screen.animations-paused .ring,
.loading-screen.animations-paused .logo,
.loading-screen.animations-paused .logo::before,
.loading-screen.animations-paused .dot {
    animation-play-state: paused !important;
}

/* Optimizar will-change para elementos que se transforman */
.telefono, .telefono_1, .telefono_2 {
    will-change: transform;
}

.telefono:not(.activo), .telefono_1:not(.activo), .telefono_2:not(.activo) {
    will-change: auto;
}

/* Mejorar rendimiento de videos */
video {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimizar transiciones hover solo cuando sea necesario */
@media (hover: hover) {
    .btn_primary:hover {
        will-change: transform;
    }
}

/* Reducir complejidad de sombras en dispositivos móviles */
@media (max-width: 768px) {
    .producto_2 {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .telefono, .telefono_1, .telefono_2 {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
}

/* ====== OPTIMIZACIÓN CRÍTICA PARA GPU ====== */

/* PAUSAR ANIMACIONES INFINITAS CUANDO LOADING ESTÁ OCULTO */
.loading-screen[style*="display: none"] .particle,
.loading-screen[style*="display: none"] .ring,
.loading-screen[style*="display: none"] .logo,
.loading-screen[style*="display: none"] .logo::before,
.loading-screen[style*="display: none"] .dot,
.loading-screen[style*="display: none"] .progress-bar {
    animation-play-state: paused !important;
    transform: none !important;
}

/* OPTIMIZACIÓN ADICIONAL: Pausar cuando loading tiene clase animations-paused */
.loading-screen.animations-paused .particle,
.loading-screen.animations-paused .ring,
.loading-screen.animations-paused .logo,
.loading-screen.animations-paused .logo::before,
.loading-screen.animations-paused .dot,
.loading-screen.animations-paused .progress-bar {
    animation-play-state: paused !important;
    transform: none !important;
}