/* ============================================================
   ESTILOS GLOBALES - DARK MODE & HELVETICA
   ============================================================ */
body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Helvetica', 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Solo ocultamos el scroll en el Home usando una clase específica */
body.home-page { overflow-x: hidden; }
body.home-page:not(.mobile) { overflow-y: hidden; }

/* Ajuste para que la zona de texto no choque con el menú */
.event-box { margin-top: 20px; }

/* ============================================================
   ESTILOS DE QUIÉNES SOMOS
   ============================================================ */
.info-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid #333;
    border-radius: 15px;
    line-height: 1.6;
}
.info-section h1, .info-section h2 {
    color: #00a8e8;
    text-transform: uppercase;
}
.grid-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.value-item {
    border-left: 3px solid #00a8e8;
    padding-left: 15px;
    margin-bottom: 15px;
}

/* ============================================================
   ESTILOS DE PRODUCTORA
   ============================================================ */
.productora-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #111, #000);
    border-bottom: 2px solid #333;
}
.productora-hero h1 {
    font-size: 42px;
    color: #00a8e8;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.productora-hero p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto;
    color: #efefef;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: #111;
    padding: 30px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 12px;
    transition: 0.3s;
}
.feature-card i {
    font-size: 40px;
    color: #00a8e8;
    margin-bottom: 20px;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00a8e8;
}
        
/* Limpiamos el botón antiguo de la derecha */
.fixed-nav { display: none; } 

/* HEADER DINÁMICO */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    z-index: 100;
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-logo {
    height: 80px;
    width: auto;
}

.separator {
    color: #444;
    font-size: 24px;
    font-weight: 100;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.nav-link:hover { color: #00a8e8; }

/* --- MENÚ DESPLEGABLE (DROPDOWN) --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    color: white;
    padding: 12px 25px;
    font-size: 14px;
    border: 2px solid white;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #111;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 101;
    border: 1px solid #333;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #00a8e8;
    color: white;
}

.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover .dropbtn { background-color: white; color: black; }

/* ============================================================
   HERO SECTION (ANUNCIO + MUJER)
   ============================================================ */
.hero-container {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    position: relative;
}

/* Columna Izquierda: Mensajes dinámicos */
.content-left {
    flex: 1.4; /* Más ancho para que el texto respire */
    padding: 0 60px;
    z-index: 10;
}

.event-box {
    border-left: 4px solid #e91e63;
    padding-left: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* Imagen del anuncio (Derecha o Izquierda) */
.ad-inline-img {
    width: 120px;
    height: auto;
    float: right; /* La pega a la derecha del bloque de texto */
    margin-left: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.event-box h2 {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #00a8e8;
    text-transform: uppercase;
}

.persuasive-text {
    font-size: 20px;
    line-height: 1.4;
    color: #efefef;
    margin-bottom: 10px;
}

.location-details {
    font-size: 16px;
    color: #888;
    font-style: italic;
}

/* Botones */
.buttons-wrapper { display: flex; gap: 15px; margin-top: 25px; clear: both; }
.btn {
    padding: 12px 25px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover { background: #fff; color: #000; box-shadow: 0 0 15px white; }
.btn-primary { border-color: #00a8e8; color: #00a8e8; }
.btn-primary:hover { background: #00a8e8; color: #fff; border-color: #00a8e8; }

/* Columna Derecha: La Mujer (Posición Fija) */
.visual-right {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.image-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
}

.floating-logo {
    width: 200px;
    margin-bottom: -40px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.person-image {
    height: 70vh;
    max-height: 600px;
    width: auto;
    object-fit: contain;
    z-index: 1;
}

/* ============================================================
   CARRUSEL (PIE DE PÁGINA)
   ============================================================ */
.signals-section {
    background: #0a0a0a;
    padding: 10px 0;
    border-top: 1px solid #222;
    flex-shrink: 0;
    overflow: hidden;
}

.section-title {
    display: none;
}

.carousel-container { width: 100%; overflow: hidden; }

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 150s linear infinite;
}

/* PAUSA AL PASAR EL MOUSE */
.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    width: 234px; /* Aumentado 30% de 180px */
    padding: 0 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    max-height: 70px; /* Incrementado para mayor prominencia */
    max-width: 200px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
    object-fit: contain;
}

.carousel-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================================
   MODALES (VIDEO / IMAGEN)
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: #111;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    position: relative;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large { width: 900px; }

.modal-body-grid { display: flex; gap: 30px; align-items: center; }

.video-container {
    flex: 2;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.video-container video, .modal-placeholder-img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
}

.info-container { flex: 1; }
.info-container h2 { color: #00a8e8; margin-top: 0; }

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: #555;
    z-index: 10;
}
.close-btn:hover { color: #fff; }

/* ANIMACIONES */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================================
   ESTILOS DE REGISTRO Y VIDEO
   ============================================================ */
.registration-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #00a8e8;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #00a8e8;
    outline: none;
}

.iti { width: 100%; } /* Ajuste para intl-tel-input */

.consent-box {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.consent-box input {
    margin-right: 10px;
}

.video-view-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

#videoPlayer {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 2px solid #333;
}

/* ============================================================
   ESTILOS APTC 2026 OVERLAY
   ============================================================ */
.aptc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90; /* Por debajo del header (z-index: 100) */
}

.aptc-content {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.aptc-content .aptc-buttons {
    margin-top: 20px;
    background: rgba(0,0,0,0.8);
    padding: 15px 30px;
    border-radius: 50px;
}

.aptc-buttons {
    display: flex;
    gap: 20px;
}

/* ============================================================
   RESPONSIVE MÓVIL (MEJORADO)
   ============================================================ */
.show-on-mobile {
    display: none;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        background: rgba(0,0,0,0.95);
    }

    .header-left {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-logo {
        height: 60px;
    }

    .separator {
        display: none;
    }

    .nav-link {
        font-size: 12px;
    }

    .header-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dropbtn {
        width: 100%;
        padding: 10px;
    }

    .dropdown {
        width: 80%;
    }

    .dropdown-content {
        width: 100%;
        left: 0;
        right: 0;
    }

    body.home-page {
        overflow-y: auto;
    }

    .hero-container {
        flex-direction: column;
        padding-top: 20px;
    }

    .content-left {
        padding: 20px;
        order: 2;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .event-box {
        border-left: none;
        border-top: 4px solid #e91e63;
        padding-left: 0;
        padding-top: 20px;
    }

    .event-box h2 {
        font-size: 24px;
    }

    .persuasive-text {
        font-size: 18px;
    }

    .ad-inline-img {
        float: none;
        margin: 0 auto 15px;
        display: block;
        width: 100px;
    }

    .buttons-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .visual-right {
        order: 1;
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .person-image {
        height: auto;
        width: 80%;
        max-width: 300px;
    }

    /* CARRUSEL MÓVIL */
    .signals-section {
        padding: 15px 0;
    }

    .carousel-item {
        width: 234px; /* Aumentado para coherencia con la prominencia buscada */
        padding: 0 15px;
    }

    .carousel-item img {
        max-height: 75px; /* Más grande en móvil para que resalte */
        filter: grayscale(0%); 
        opacity: 1;
    }

    .carousel-track {
        animation-duration: 60s;
    }

    /* MODALES MÓVIL */
    .modal-body-grid {
        flex-direction: column;
        gap: 20px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .video-container video {
        max-height: 250px;
    }

    .aptc-content {
        width: 95%;
    }

    .aptc-buttons {
        flex-direction: column;
        width: 100%;
    }

    .aptc-buttons .btn {
        width: 100%;
    }

    .show-on-mobile {
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
    }

    .registration-container {
        margin: 20px;
        padding: 20px;
    }

    .grid-info {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
