/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Utilidades ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color:#061c77;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    background: #02b6ba;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: linear-gradient(135deg, #02b6ba, #061c77);
    color: #fff;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    padding: 1rem 0;
    background: #0077cc;
    color: #fff;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}


/* ===== Hero / Slider ===== */
.hero {
    position: relative;
     height: 60vh; 
    /* width: 100%;
    height: 100vh; */
    /* usa 100vh para pantalla completa */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero .swiper {
    width: 100%;
    height: 100%;
}

.video-slide iframe,
.image-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.overlay-content {
    max-width: 600px;
    color: #fff;
}

.overlay-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.overlay-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero .swiper,
.video-slide iframe {
    width: 100%;
    height: 100%;
}



.video-slide iframe {
    position: absolute;
    /* importante para que se ajuste sin dejar bordes */
    top: 0;
    left: 0;
    border: 0;
}






/* ===== Eventos ===== */
.eventos {
    padding: 4rem 0;
    background: #f5f5f5;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 1rem;
}

.card-body h3 {
    margin-bottom: 0.5rem;
    color: #02b6ba;
}

.card-body .desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0 1rem;
}






/* ===== Contacto ===== */
/* .contacto {
    padding: 4rem 0;
}

.form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form input,
.form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
} */

/* ===== Footer ===== */
/* .footer {
    text-align: center;
    padding: 1.5rem;
    background: #0077cc;
    color: #fff;
    margin-top: 2rem;
} */

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .overlay-content h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}



