@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;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 60px;
    object-fit: contain;
}

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

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #38bdf8;
}

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

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

.sociales a:hover {
    background: #ffffff;
    color: #000;
}

.section-1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('bg.png') no-repeat center center/cover;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.titulo-eslogan {
    max-width: 900px;
    padding: 0 20px;
}

.titulo-eslogan h1 {
    font-size: 54px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9);
}

.titulo-eslogan p {
    font-size: 17px;
    color: #f1f5f9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.section-2 {
    margin-top: 100vh;
    background-color: #030712;
    padding: 70px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-2 h2, .section-3 h2, .section-4 h2 {
    font-size: 24px;
    letter-spacing: 2px;
    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: #0b0f19;
    border: 1px solid #1e293b;
    border-radius: 6px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

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

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

.ver-mas {
    display: inline-block;
    color: #38bdf8;
    text-decoration: none;
    font-size: 15px;
    margin-top: 10px;
    border-bottom: 1px solid #38bdf8;
    padding-bottom: 2px;
}

.section-3 {
    background-color: #030712;
    padding: 70px 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: 35px 80px;
    text-align: left;
}

@media (max-width: 900px) {
    .grid-actividades {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        max-width: 450px;
    }
}

.actividad-item h3 {
    color: #38bdf8;
    font-size: 16px;
    margin-bottom: 4px;
}

.actividad-item p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.4;
}

.section-4 {
    background-color: #030712;
    padding: 70px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-4 h2 {
    color: #38bdf8;
}

.section-4 p {
    color: #cbd5e1;
    margin-bottom: 25px;
    font-size: 15px;
}

.mapa {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #1e293b;
}

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

.section-5 {
    background-color: #010409;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #0f172a;
    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);
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .grid-actividades {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
        padding: 10px;
    }
    
    .logo img {
        height: 50px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .titulo-eslogan h1 {
        font-size: 32px;
    }

    .titulo-eslogan p {
        font-size: 14px;
    }
}