@import url('fonts.css');

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

body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
}

/* MQ1 */
/* ------------------------------------------------------------------------- */
@media (min-width: 1367px) {

    /* NIVEL 1: MENU (BARRA AZUL) */
    .menu {
        position: fixed;
        width: 1367px;
        height: 100px;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 25px 25px;
        z-index: 100;
    }

    /* NIVEL 2: MODULO-M1 */
    .modulo-m1 {
        width: 1200px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* NIVEL 2: MODULO-M2 (OCULTO EN DESKTOP) */
    .modulo-m2,
    .modulo-m3 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M11 (LOGO) */
    .bloque-m11 {
        width: 250px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m111 {
        width: 250px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m1111 {
        width: 200px;
        height: 60px;
    }

    /* NIVEL 3: BLOQUE-M12 (BUSCADOR) */
    .bloque-m12 {
        width: 550px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bloque-m121 {
        width: 550px;
        height: 45px;
        background-color: #ffffff;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .contenido-m1211 {
        width: 500px;
        height: 45px;
        border: none;
        outline: none;
        background-color: transparent;
        font-family: 'Outfit', sans-serif;
        font-size: 14px;
        color: #777777;
        font-weight: 400;
        padding: 0 20px;
    }

    .icono-m1212 {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m12121 {
        width: 30px;
        height: 30px;
    }

    /* NIVEL 3: BLOQUE-M13 (INICIAR SESIÓN) */
    .bloque-m13 {
        width: 150px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m131 {
        width: 150px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .texto-m1311 {
        width: 150px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 12px;
        color: #ffffff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1312 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M14 (REGÍSTRATE) */
    .bloque-m14 {
        width: 200px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m141 {
        width: 190px;
        height: 45px;
        background-color: #ffffff;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
    }

    .texto-m1411 {
        font-family: 'Outfit', sans-serif;
        font-size: 11px;
        color: #003cff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1411 {
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m14111 {
        width: 25px;
        height: 25px;
    }

    .icono-m1313 {
        display: none;
    }
}

/* ------------------------------------------------------------------------- */
/* MQ2 */
/* ------------------------------------------------------------------------- */
@media (min-width: 1281px) and (max-width: 1366px) {

    /* NIVEL 1: MENU (BARRA AZUL) */
    .menu {
        position: fixed;
        width: 1281px;
        height: 90px;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 25px 25px;
        z-index: 100;
    }

    /* NIVEL 2: MODULO-M1 */
    .modulo-m1 {
        width: 1100px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* NIVEL 2: MODULO-M2 (OCULTO EN DESKTOP) */
    .modulo-m2,
    .modulo-m3 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M11 (LOGO) */
    .bloque-m11 {
        width: 220px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m111 {
        width: 220px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m1111 {
        width: 180px;
        height: 55px;
    }

    /* NIVEL 3: BLOQUE-M12 (BUSCADOR) */
    .bloque-m12 {
        width: 500px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bloque-m121 {
        width: 500px;
        height: 40px;
        background-color: #ffffff;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .contenido-m1211 {
        width: 460px;
        height: 40px;
        border: none;
        outline: none;
        background-color: transparent;
        font-family: 'Outfit', sans-serif;
        font-size: 13px;
        color: #777777;
        font-weight: 400;
        padding: 0 20px;
    }

    .icono-m1212 {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m12121 {
        width: 25px;
        height: 25px;
    }

    /* NIVEL 3: BLOQUE-M13 (INICIAR SESIÓN) */
    .bloque-m13 {
        width: 130px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m131 {
        width: 130px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .texto-m1311 {
        width: 130px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 11px;
        color: #ffffff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1312 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M14 (REGÍSTRATE) */
    .bloque-m14 {
        width: 180px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m141 {
        width: 170px;
        height: 40px;
        background-color: #ffffff;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
    }

    .texto-m1411 {
        font-family: 'Outfit', sans-serif;
        font-size: 10px;
        color: #003cff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1411 {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m14111 {
        width: 22px;
        height: 22px;
    }

    .icono-m1313 {
        display: none;
    }
}


/* ------------------------------------------------------------------------- */
/* MQ3 */
/* ------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1280px) {

    /* NIVEL 1: MENU (BARRA AZUL) */
    .menu {
        position: fixed;
        width: 100%;
        height: 100px;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 25px 25px;
        z-index: 100;
    }

    /* NIVEL 2: MODULO-M1 */
    .modulo-m1 {
        width: 900px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* NIVEL 2: MODULO-M2 (OCULTO) */
    .modulo-m2,
    .modulo-m3 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M11 (LOGO) */
    .bloque-m11 {
        width: 180px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m111 {
        width: 180px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m1111 {
        width: 150px;
        height: 45px;
    }

    /* NIVEL 3: BLOQUE-M12 (BUSCADOR) */
    .bloque-m12 {
        width: 400px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bloque-m121 {
        width: 400px;
        height: 50px;
        background-color: #ffffff;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .contenido-m1211 {
        width: 360px;
        height: 45px;
        border: none;
        outline: none;
        background-color: transparent;
        font-family: 'Outfit', sans-serif;
        font-size: 14px;
        color: #777777;
        font-weight: 400;
        padding: 0 25px;
    }

    .icono-m1212 {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m12121 {
        width: 45px;
        height: 45px;
    }

    /* NIVEL 3: BLOQUE-M13 (INICIAR SESIÓN) */
    .bloque-m13 {
        width: 110px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m131 {
        width: 110px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .texto-m1311 {
        width: 110px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 11px;
        color: #ffffff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1312 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M14 (REGÍSTRATE) */
    .bloque-m14 {
        width: 160px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m141 {
        width: 150px;
        height: 35px;
        background-color: #ffffff;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .texto-m1411 {
        font-family: 'Outfit', sans-serif;
        font-size: 10px;
        color: #003cff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1411 {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m14111 {
        width: 20px;
        height: 20px;
    }

    .icono-m1313 {
        display: none;
    }
}


/* ------------------------------------------------------------------------- */
/* MQ4 */
/* ------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {

    /* NIVEL 1: MENU (BARRA AZUL) */
    .menu {
        position: fixed;
        width: 100%;
        height: 90px;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 25px 25px;
        z-index: 100;
    }

    /* NIVEL 2: MODULO-M1 */
    .modulo-m1 {
        width: 90%;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* NIVEL 2: MODULO-M2 (OCULTO) */
    .modulo-m2,
    .modulo-m3 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M11 (LOGO) */
    .bloque-m11 {
        width: 150px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .contenido-m111 {
        width: 150px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .icono-m1111 {
        width: 130px;
        height: 40px;
    }

    /* NIVEL 3: BLOQUE-M12 (OCULTO EN MQ4) */
    .bloque-m12 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M13 (BUSCADOR + LOGIN) */
    .bloque-m13 {
        width: auto;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-left: auto;
        padding-right: 20px;
    }

    .icono-m1313 {
        display: block;
        width: 25px;
        height: 25px;
        cursor: pointer;
    }

    .contenido-m131 {
        width: auto;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .texto-m1311 {
        width: auto;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 11px;
        color: #ffffff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1312 {
        display: none;
    }

    /* NIVEL 3: BLOQUE-M14 (REGÍSTRATE) */
    .bloque-m14 {
        width: 160px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenido-m141 {
        width: 150px;
        height: 40px;
        background-color: #ffffff;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .texto-m1411 {
        font-family: 'Outfit', sans-serif;
        font-size: 10px;
        color: #003cff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .icono-m1411 {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m14111 {
        width: 20px;
        height: 20px;
    }

}


/* ------------------------------------------------------------------------- */
/* MQ5 */
/* ------------------------------------------------------------------------- */
@media (min-width: 481px) and (max-width: 767px) {

    /* NIVEL 1: MENU (BARRA AZUL) */
    .menu {
        position: fixed;
        width: 100%;
        height: 80px;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 20px 20px;
        z-index: 100;
    }

    /* NIVEL 2: MODULO-M1 (OCULTO EN MÓVIL) */
    .modulo-m1 {
        display: none;
    }

    /* NIVEL 2: MODULO-M2 (ACTIVO EN MÓVIL) */
    .modulo-m2 {
        width: 90%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* NIVEL 3: BLOQUE-M21 (LOGO) */
    .bloque-m21 {
        width: 130px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .contenido-m211 {
        width: 130px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .icono-m2111 {
        width: 110px;
        height: 35px;
    }

    /* NIVEL 3: BLOQUE-M22 (MENÚ HAMBURGUESA) */
    .bloque-m22 {
        width: 45px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .contenido-m221 {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .icono-m2211 {
        width: 25px;
        height: 25px;
    }

    /* NIVEL 2: MODULO-M3 (DESPLEGABLE) */
    .modulo-m3 {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 10;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: 30px;
        box-shadow: none;
    }

    .modulo-m3.activo {
        right: 0;
    }

    /* NIVEL 3: BLOQUE-M31 (BOTÓN CERRAR) */
    .bloque-m31 {
        width: 90%;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 60px;
    }

    .contenido-m311 {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
    }

    .icono-cerrar {
        position: relative;
        width: 30px;
        height: 30px;
    }

    .icono-cerrar::before,
    .icono-cerrar::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 5px;
    }

    .icono-cerrar::before {
        transform: rotate(45deg);
    }

    .icono-cerrar::after {
        transform: rotate(-45deg);
    }

    /* NIVEL 3: BLOQUE-M32 (LINKS) */
    .bloque-m32 {
        width: 85%;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .contenido-m321,
    .contenido-m322 {
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border: 2px solid #ffffff;
        border-radius: 15px;
        transition: all 0.3s ease;
    }

    .contenido-m322 {
        background-color: #ffffff;
    }

    .texto-m3211 {
        font-family: 'Outfit', sans-serif;
        font-size: 16px;
        color: #ffffff;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .texto-m3221 {
        font-family: 'Outfit', sans-serif;
        font-size: 16px;
        color: #003cff;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .contenido-m321:active,
    .contenido-m322:active {
        transform: scale(0.95);
    }
}

/* ------------------------------------------------------------------------- */
/* MQ6 */
/* ------------------------------------------------------------------------- */
@media (min-width: 320px) and (max-width: 480px) {

    /* NIVEL 1: MENU (BARRA AZUL) */
    .menu {
        position: fixed;
        width: 100%;
        height: 70px;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 15px 15px;
        z-index: 100;
    }

    /* NIVEL 2: MODULO-M1 (OCULTO) */
    .modulo-m1 {
        display: none;
    }

    /* NIVEL 2: MODULO-M2 (ACTIVO) */
    .modulo-m2 {
        width: 90%;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* NIVEL 3: BLOQUE-M21 (LOGO) */
    .bloque-m21 {
        width: 110px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .contenido-m211 {
        width: 110px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .icono-m2111 {
        width: 90px;
        height: 30px;
    }

    /* NIVEL 3: BLOQUE-M22 (HAMBURGUESA) */
    .bloque-m22 {
        width: 40px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .contenido-m221 {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-m2211 {
        width: 22px;
        height: 22px;
    }

    /* NIVEL 2: MODULO-M3 (DESPLEGABLE) */
    .modulo-m3 {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #003cff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 10;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: 20px;
    }

    .modulo-m3.activo {
        right: 0;
    }

    /* NIVEL 3: BLOQUE-M31 (BOTÓN CERRAR) */
    .bloque-m31 {
        width: 90%;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 40px;
    }

    .contenido-m311 {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icono-cerrar {
        width: 25px;
        height: 25px;
    }

    .icono-cerrar::before,
    .icono-cerrar::after {
        height: 2px;
    }

    /* NIVEL 3: BLOQUE-M32 (LINKS) */
    .bloque-m32 {
        width: 85%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .contenido-m321,
    .contenido-m322 {
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border: 2px solid #ffffff;
        border-radius: 12px;
    }

    .contenido-m322 {
        background-color: #ffffff;
    }

    .texto-m3211 {
        font-family: 'Outfit', sans-serif;
        font-size: 14px;
        color: #ffffff;
        font-weight: 700;
    }

    .texto-m3221 {
        font-family: 'Outfit', sans-serif;
        font-size: 14px;
        color: #003cff;
        font-weight: 700;
    }
}

/* ==========================================
   DROPDOWN USUARIO LOGEADO (GENERAL)
   ========================================== */
.bloque-usuario-logeado {
    position: relative;
    display: inline-block;
}

.btn-usuario-dropdown {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    outline: none;
}

.btn-usuario-dropdown:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.dropdown-menu-usuario {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 200;
    margin-top: 5px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.dropdown-menu-usuario a {
    color: #1a1a1a !important;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    transition: background-color 0.2s;
}

.dropdown-menu-usuario a:hover {
    background-color: #f3f4f6;
}

.bloque-usuario-logeado:hover .dropdown-menu-usuario {
    display: block;
}