@font-face {
    font-family: 'MiFuente';
    src: url('es.ttf') format('truetype');
}

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

body {
    font-family: 'MiFuente', sans-serif;
    background-color: #030712;
    color: #ffffff;
    overflow-x: hidden;
}

.mobile-only-wrapper {
    display: none;
}

/* ================= HERO PC: CINEMATOGRÁFICO ANCHO COMPLETO ================= */
.section-1.pc-only {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider-fullscreen .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slider-fullscreen .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.8) 0%, rgba(3, 7, 18, 0.45) 50%, rgba(3, 7, 18, 0.95) 100%);
    z-index: 2;
}

.header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 60px;
    background: rgba(3, 7, 18, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-only .logo img {
    height: 64px;
    width: 64px;
    object-fit: contain;
}

.menu {
    display: flex;
    gap: 35px;
}

.menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.sociales {
    display: flex;
    gap: 12px;
}

.sociales a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sociales a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-content-center {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 40px;
}

.hero-content-center h1 {
    font-size: 80px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.9);
}

.hero-content-center p {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
}

/* ================= SECCIÓN 2: PREDICAS ================= */
.section-2 {
    background: linear-gradient(to bottom, #030712, #070d1a);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-2 h2, .section-3 h2, .section-4 h2 {
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: #ffffff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.video-card {
    background: #0a0e17;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.video-card iframe {
    width: 100%;
    height: 190px;
    border: none;
}

.video-card h3 {
    font-size: 13px;
    padding: 14px;
    color: #cbd5e1;
    font-weight: normal;
    text-align: center;
}

.ver-mas-btn {
    display: inline-block;
    background: transparent;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 1px;
}

.ver-mas-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ================= SECCIÓN 3: ACTIVIDADES (ESTILO NEGRO/GRIS SOBRIO) ================= */
.section-3 {
    background-color: #070d1a;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.grid-actividades {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 20px;
    text-align: left;
}

.actividad-item {
    background: #0a0e17;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: border-color 0.3s ease;
}

.actividad-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Tarjeta del domingo centrada y con el mismo tamaño estándar */
.actividad-item.dom {
    grid-column: 1 / -1;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.icon-box {
    width: 42px;
    height: 42px;
    background: #111827;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 16px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.actividad-item h3 {
    color: #f1f5f9;
    font-size: 14px;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.actividad-item p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

/* ================= SECCIÓN 4: MAPA Y FOOTER ================= */
.section-4 {
    background: linear-gradient(to bottom, #070d1a, #030712);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-4 h2 {
    color: #ffffff;
}

.section-4 p {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 14px;
}

.mapa {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mapa iframe {
    width: 100%;
    height: 420px;
    display: block;
}

.section-5 {
    background-color: #010409;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #475569;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 10;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================= */
/* ================= ESTILOS MÓVIL ========================== */
/* ========================================================= */
@media (max-width: 1024px) {
    .pc-only {
        display: none !important;
    }

    .mobile-only-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        justify-content: flex-start;
        padding: 10px 15px;
    }

    .mobile-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-top: 10px;
        position: relative;
        z-index: 100;
    }

    .mobile-logo img {
        height: 70px;
        object-fit: contain;
        margin-bottom: 8px;
    }

    .mobile-nav-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 10px 15px 10px;
    }

    .menu-toggle {
        font-size: 26px;
        color: #ffffff;
        cursor: pointer;
    }

    .menu-mobile {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        border-bottom: 1px solid #1e293b;
        z-index: 1100;
    }

    .menu-mobile.active {
        display: flex;
    }

    .menu-mobile a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
    }

    .mobile-hero-container {
        position: relative;
        width: 100%;
        flex-grow: 1;
        max-height: 70vh;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
        margin-bottom: 20px;
    }

    .mobile-hero-container .hero-slider {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 12px;
    }

    .mobile-hero-container .hero-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .mobile-hero-container .hero-slider .slide.active {
        opacity: 1;
    }

    .titulo-eslogan-mobile {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        text-align: center;
        z-index: 10;
    }

    .titulo-eslogan-mobile h1 {
        font-size: 28px;
        margin-bottom: 10px;
        text-shadow: 0 3px 12px rgba(0,0,0,0.9);
        color: #ffffff;
    }

    .titulo-eslogan-mobile p {
        font-size: 13px;
        color: #e2e8f0;
        line-height: 1.4;
        text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    }

    .section-2 {
        margin-top: 20px;
    }
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .grid-actividades {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: left;
    }
    
    .actividad-item.dom {
        max-width: 100%;
    }
}