/* =========================
   HERO PRINCIPAL
========================= */

.hero {
    position: relative;
    padding: 130px 20px;
    background-image: url("img2025cierre.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.35)
    );
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.hero p {
    margin-top: 20px;
    font-size: 20px;
    font-style: italic;
    color: #e0e0e0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   BOTÓN PRINCIPAL
========================= */

.btn {
    display: inline-block;
    margin-top: 45px;
    padding: 18px 48px;
    border-radius: 50px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

/* =========================
   INFO DE MISIÓN
========================= */

.info {
    max-width: 900px;
    margin: 80px auto;
    padding: 70px 30px;
    text-align: center;
    background: #eaf4ea;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.info h2 {
    font-size: 34px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #1b3a1b;
}

.info p {
    font-size: 18px;
    color: #2f4f2f;
    line-height: 1.8;
}

/* =========================
   INFO DESTACADA
========================= */

.info .destacado {
    background: #ffffff;
    padding: 24px 36px;
    border-radius: 18px;
    font-size: 19px;
    font-weight: 600;
    display: inline-block;
    margin: 30px auto 40px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* =========================
   MAPA PRINCIPAL
========================= */

.mapas-wrapper {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.mapa-principal {
    background: #ffffff;
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 0 25px 55px rgba(0,0,0,0.18);
}

.mapa-principal h3 {
    font-size: 26px;
    margin-bottom: 22px;
    color: #1b3a1b;
    font-weight: 800;
}

.mapa-principal iframe {
    width:90%;
    height:400px;
    border: none;
    border-radius: 20px;
}

/* =========================
   MAPAS SECUNDARIOS – BORDE POTENCIADO
========================= */


.mapas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mapa-item {
    background: #ffffff;
    border-radius: 26px;
    padding: 28px;
    text-align: center;

    /* BORDE PRO */
    border: 3px solid rgba(27, 94, 32, 0.25);

    /* PROFUNDIDAD */
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255,255,255,0.6);

    transition: all 0.35s ease;
}

.mapa-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 55px rgba(0, 0, 0, 0.25);
}

.mapa-item iframe {
    width: 100%;
    height: 300px;
    border-radius: 18px;

    /* BORDE INTERNO */
    border: 2px solid rgba(27, 94, 32, 0.2);
}



/* =========================
   BLOQUES DESTACADOS
========================= */

.info p:first-of-type {
    background: #ffffff;
    display: inline-block;
    padding: 22px 35px;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
}

.info h2:not(:first-child) {
    margin-top: 45px;
}


/* MARCAR ASISTENCIA */
.btn-asistencia {
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-asistencia:hover {
    background-color: #27ae60;
    transform: scale(1.05);
}
