/* ===== RESET GENERAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f6f8;
    color: #333;
    font-size: 18px;
}

/* ===== HEADER ===== */
header {
    background: rgb(255, 255, 255);
    padding: 0px;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: padding 0.4s ease;
}

/* CONTENEDOR LOGO + NOMBRE */
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* LOGO */
.logo {
    width: 80px;
    height: auto;
}

/* NOMBRE */
.header-top h1 {
    font-size: 28px;
    margin: 0;
}

/* ===== MENÃš ===== */
.menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;

    transition: all 0.4s ease;
    max-height: 200px; 
}

.menu a {
    cursor: pointer;
    padding: 12px 22px;
    background: black;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;

    overflow: hidden;
    opacity: 1;
}

/* MENÃš OCULTO AL SCROLL */
.menu.menu-oculto {
    transform: translateY(-25px);
    opacity: 0;
    pointer-events: none;

    /* AdemÃ¡s de ocultar bajando la opacidad a 0,
    hay que cambiar el tamaÃ±o del div a 0 */
    max-height: 0;
    margin: 0;
    padding: 0;
}

/* ===== HERO (PC) ===== */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 40px;
}

.hero-text h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 20px;
}

.hero-text button {
    padding: 14px 28px;
    font-size: 16px;
    background: black;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

/* ===== SECCIONES ===== */
.info {
    padding: 90px 30px;
    text-align: center;
}

.info h2 {
    font-size: 34px;
    margin-bottom: 40px;
}

.fondo-suave {
    background: linear-gradient(135deg, #eef5f7, #ffffff);
}

/* ===== HORARIOS + MAPA ===== */
.horarios-mapa {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}

.horarios-card {
    background: white;
    padding: 28px;
    margin-bottom: 20px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    max-width: 360px;
}

.horarios-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.direccion {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
}

.mapa iframe {
    width: 100%;
    max-width: 420px;
    height: 320px;
    border-radius: 20px;
    border: none;
}

/* ===== RADIO ===== */
.radio-link {
    padding: 18px 36px;
    font-size: 18px;
    background: black;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
}

/* ===== PLAN DE SALVACIÃ“N ===== */
.salvacion-camino {
    max-width: 700px;
    margin: auto;
}

.salvacion-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    margin-bottom: 25px;
}

.salvacion-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.salvacion-card span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.flecha {
    font-size: 30px;
    margin: 15px 0;
}

.salvacion-final {
    margin-top: 50px;
    font-size: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 30px;
    font-size: 15px;
}

/* ===== ðŸ“± MÃ“VIL ===== */
@media (max-width: 768px) {

    body {
        font-size: 19px;
    }

    /* HERO OCULTO */
    .hero {
        display: none;
    }

    /* HEADER PANTALLA COMPLETA INICIAL */
    header.menu-expandido {
        height: 100vh;
        padding-top: 40px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header-top {
        /* margin-bottom: 20px; */
    }

    .logo {
        width: 95px;
    }

    .header-top h1 {
        font-size: 30px;
        text-align: center;
    }

    .menu {
        gap: 18px;
    }

    .menu a {
        font-size: 18px;
        padding: 14px 26px;
    }

    /* HORARIOS CENTRADOS */
    .horarios-mapa {
        flex-direction: column;
        align-items: center;
    }

    .horarios-card,
    .direccion {
        width: 90%;
        max-width: 360px;
    }

    .mapa iframe {
        width: 90%;
        height: 280px;
    }

    /* PLAN SALVACIÃ“N */
    .salvacion-card {
        width: 90%;
        margin: auto;
    }
}

/* HEADER NORMAL (despuÃ©s del inicio) */
header.header-normal {
    height: auto;
    padding-bottom: 15px;
}

/* MenÃº oculto al bajar */
.menu-oculto {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Header normal */
.header-normal {
    height: auto !important;
}