/* Animaciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ELIMINAR ANIMACIÓN PULSE */
/* 
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
} 
*/

/* ELIMINAR EFECTO DE BRILLO EN ELEMENTOS DORADOS */
/* 
.highlight, .logo-highlight, .footer-logo span {
    animation: pulse 2s infinite;
} 
*/

/* Responsive */
@media screen and (max-width: 1200px) {
    .sinopsis-content,
    .info-content,
    .oportunidades-content,
    .formulario-content {
        gap: 40px;
    }
}

@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1,
    .banner-content h1 {
        font-size: 3.2rem;
    }
    
    .grid-2,
    .grid-3,
    .sinopsis-content,
    .info-content,
    .oportunidades-content,
    .formulario-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .estadisticas {
        flex-direction: column;
        gap: 30px;
    }
    
    .estadistica:not(:last-child):after {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Menú centrado en tablet */
    .nav-links {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-blanco);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: right 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        margin-left: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 30px 0;
        height: auto;
    }
    
    .nav-links a {
        height: auto;
        padding: 12px 24px;
    }
    
    .hero-content h1,
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin-bottom: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .grid-cards,
    .elenco-grid,
    .razones-grid {
        grid-template-columns: 1fr;
    }
    
    /* Elenco centrado en móvil */
    .elenco-grid {
        justify-content: center;
    }
    
    .youtube-video-container iframe {
        pointer-events: auto;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1,
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .formulario-container {
        padding: 25px;
    }
    
    .fecha-card {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    body.mobile-horizontal {
        height: 100vh;
        overflow: hidden;
    }

    /* Header */
    .header-cinematic {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        backdrop-filter: blur(5px);
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: flex-start; /* alineado a la izquierda */
        min-height: 60px;
        padding: 0 15px;
    }

    .header-cinematic.mobile-solid {
        background-color: rgba(0, 0, 0, 0.9) !important;

    }

    .header-cinematic.mobile-solid .menu-toggle {
        color: var(--color-blanco) !important;
    }

    /* Estilo del texto del logo */
    .logo-text {
        font-family: var(--fuente-titulos);
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .logo-text .footer-logo-accent {
        color: var(--color-oro);
    }

    .logo-text span:not(.footer-logo-accent) {
        color: #fff;
    }

    /* Contenedor de secciones */
    .sections-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        height: calc(100vh - 60px);
        margin-top: 60px;
        scroll-behavior: smooth;
        position: relative;
        z-index: 1;
    }

    .section-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        height: 100%;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    .section-slide.first-slide {
        padding-top: 50px !important;
    }

    .section-slide > .container {
        height: auto;
        min-height: 100%;
        padding-top: 20px;
    }

    /* Ocultar indicadores de escritorio */
    .banner-scroll-indicator,
    .hero-scroll-indicator {
        display: none !important;
    }

    /* Barra de puntos de navegación */
    .section-dots {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        padding: 8px 20px;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        z-index: 998;
        pointer-events: none;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .section-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        pointer-events: auto;
        cursor: pointer;
    }

    .section-dots .dot.active {
        background: var(--color-oro);
        transform: scale(1.3);
    }

    /* Deshabilitar parallax en móvil */
    .cinematic-banner .banner-image,
    .hero-cinematic {
        transform: none !important;
    }

    .cinematic-banner,
    .hero-cinematic {
        height: auto;
        min-height: auto;
    }
}