/* =========================================
   MENÚ CELULAR Y RESPONSIVE (FABIMODA)
   Ruta: assets/css/movil/header_movil.css
   ========================================= */

.icono-menu-movil {
    display: none; /* Oculto en PC por defecto */
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #111;
}

.menu-lateral-movil {
    position: fixed;
    top: 0;
    left: -100%; /* Oculto fuera de la pantalla */
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: left 0.4s ease;
    display: flex !important;
    flex-direction: column;
}

.menu-lateral-movil.abierto {
    left: 0; /* Lo empujamos hacia adentro */
}

.header-cortina {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.header-cortina h3 { margin: 0; font-size: 18px; color: #111; }
#btn-cerrar-cortina { background: none; border: none; font-size: 20px; cursor: pointer; color: #666; }

.navegacion-movil ul { list-style: none; padding: 0; margin: 0; }
.navegacion-movil li { border-bottom: 1px solid #f3f4f6; }

.fila-menu-movil {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.fila-menu-movil a { text-decoration: none; color: #333; font-weight: 600; font-size: 16px; }
.btn-expandir { background: #f3f4f6; border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 18px; cursor: pointer; }

.lista-acordeon { background-color: #f9fafb; }
.lista-acordeon a { display: block; padding: 12px 20px 12px 40px; color: #555; text-decoration: none; font-size: 15px; }

/* =========================================
   INTERRUPTOR MÓVIL (MEDIA QUERY)
   Cuando la pantalla es pequeña (850px o menos)
   ========================================= */
@media (max-width: 850px) {
    .navegacion-pc { display: none; /* Escondemos el menú horizontal */ }
    .icono-menu-movil { display: block; /* Aparece la hamburguesa */ }
}