/* Variables de color basadas en la identidad del club */
:root {
    --verde-ovalle: #008f39;
    --amarillo-ovalle: #ffd700;
    --blanco: #ffffff;
    --texto-oscuro: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- ESTILOS DEL ENCABEZADO FIJO --- */
.header-principal {
    background-color: var(--verde-ovalle);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
}

.logo-club img {
    height: 105px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* --- ESTILOS LOGO Y TEXTO (PC) --- */
.logo-enlace {
    display: flex;
    align-items: center; 
    text-decoration: none;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    margin-left: 10px; /* Reducido para ahorrar espacio */
    color: var(--blanco);
    font-size: 20px; /* Reducido de 24px para darle más espacio al menú */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reducido ligeramente */
}

.logo-club a:hover img {
    transform: scale(1.05);
}

/* --- ESTILOS DEL MENÚ DE NAVEGACIÓN MEJORADOS (PC) --- */
.navegacion ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2px; /* Reducido al mínimo posible */
    margin: 0;
    padding: 0;
}

.navegacion a {
    display: block;
    padding: 10px 7px; /* Relleno lateral más pequeño */
    text-decoration: none;
    color: var(--blanco);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem; /* Letra un milímetro más pequeña */
    letter-spacing: -0.3px; /* Juntamos las letras sutilmente */
    white-space: nowrap; 
    transition: color 0.3s ease;
}

.navegacion a:hover {
    color: var(--amarillo-ovalle);
}

/* El contenedor del menú en PC */
.nav-container {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end; 
    align-items: center;
    margin-left: 10px; /* Reducido de 20px */
    transition: left 0.4s ease;
}
/* Ocultar elementos exclusivos de móvil cuando estamos en PC */
.menu-toggle, .menu-close, .logo-menu-movil, .header-menu-movil, .titulo-sponsors-movil {
    display: none;
}

.btn-admin {
    background-color: var(--amarillo-ovalle);
    color: var(--texto-oscuro);
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-admin:hover {
    background-color: var(--blanco);
}

.btn-admin-min {
    text-decoration: none;
    font-size: 18px;
    margin-left: 15px;
    opacity: 0.5;
}

.btn-admin-min:hover {
    opacity: 1;
}

/* --- SECCIÓN NOTICIAS INICIO --- */
.seccion-noticias {
    padding: 80px 0;
    background-color: #fafafa;
}

.seccion-noticias .titulo-seccion {
    text-align: center;
    color: var(--verde-ovalle);
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.grid-noticias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tarjeta-noticia {
    background-color: var(--blanco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tarjeta-noticia:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.img-contenedor {
    position: relative;
    width: 100%;
    height: 220px; 
    background-color: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.fecha-etiqueta {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--amarillo-ovalle);
    color: var(--texto-oscuro);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.contenido-noticia {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contenido-noticia h3 {
    font-size: 18px;
    color: var(--texto-oscuro);
    margin-bottom: 10px;
    line-height: 1.3;
}

.contenido-noticia p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-leer-mas {
    align-self: flex-start;
    color: var(--verde-ovalle);
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.btn-leer-mas:hover {
    border-color: var(--verde-ovalle);
}

/* =======================================================
   ESTILOS PÁGINA INDIVIDUAL DE NOTICIA (noticia.php)
   ======================================================= */
.pagina-noticia {
    padding-bottom: 80px;
}

.portada-noticia {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: auto;
    max-height: 500px;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portada-noticia img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
}

/* --- MEDIA QUERY PARA MÓVILES Y TABLETS --- */
@media (max-width: 992px) {
    
    .header-grid {
        justify-content: flex-start;
    }
    
    .logo-club {
        margin: 0;
        padding-left: 70px;
    }
    
    .logo-club img {
        height: 70px;
    }

    .logo-texto {
        flex-direction: column;
        gap: 0;
        font-size: 16px; 
        line-height: 1.1; 
        margin-left: 10px;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001; 
    }

    .menu-toggle span {
        width: 100%;
        height: 4px;
        background-color: var(--blanco);
        border-radius: 4px;
    }

    .nav-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;    
        max-width: 320px;
        height: 100vh;
        background-color: var(--verde-ovalle);
        margin-left: 0;
        padding: 60px 0 20px 0;
        z-index: 2000;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-container.activo {
        left: 0 !important;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: var(--blanco);
        font-size: 35px;
        cursor: pointer;
        line-height: 1;
    }

    .logo-menu-movil {
        display: block;
        padding-left: 20px;
        margin-bottom: 20px;
    }
    
    .logo-menu-movil img {
        height: 110px;
        margin-bottom: 20px;
    }

    .navegacion {
        width: 100%;
    }
    
    .navegacion ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .navegacion li {
        width: 100%;
    }
    
    .navegacion a {
        display: block;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 16px;
        white-space: normal; /* En móvil dejamos que se acomode normal */
    }

    .titulo-sponsors-movil {
        display: block;
        text-align: center;
        color: var(--amarillo-ovalle);
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 1px;
        margin-top: 10px;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 15px;
        width: 100%;
    }

    .header-menu-movil {
        display: block;
        padding: 30px 20px 10px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
        margin-bottom: 15px;
    }
}

/* =======================================================
   SECCIÓN HISTORIA (Timeline)
   ======================================================= */
.seccion-historia {
    padding: 80px 0;
    background-color: var(--blanco);
}

.cabecera-historia {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.intro-historia {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-top: 15px;
}

.linea-tiempo {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.linea-tiempo::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background-color: var(--verde-ovalle);
    border-radius: 2px;
}

.hito {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.hito:last-child {
    margin-bottom: 0;
}

.hito::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--amarillo-ovalle);
    border: 4px solid var(--verde-ovalle);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hito-fecha {
    font-size: 24px;
    font-weight: 900;
    color: var(--verde-ovalle);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.hito-contenido {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--verde-ovalle);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.hito-contenido:hover {
    transform: translateX(5px);
}

.hito-contenido h3 {
    color: var(--texto-oscuro);
    font-size: 20px;
    margin-bottom: 10px;
}

.hito-contenido p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .linea-tiempo::before { left: 15px; }
    .hito { padding-left: 45px; }
    .hito::before { left: 7px; width: 16px; height: 16px; border-width: 3px; }
    .hito-fecha { font-size: 20px; }
}

/* =======================================================
   ESTILOS DEL CUADRO VERDE CON IMAGEN (HÉROE)
   ======================================================= */
.contenedor-estadio-diaguita {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1;
    background-color: rgba(0, 143, 57, 0.05); 
    border: 2px solid #008f39; 
}

.contenedor-estadio-diaguita::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/diaguita.png'); 
    background-size: cover;
    background-position: center;
    opacity: 0.15; 
    z-index: -1;
    transition: opacity 0.3s ease;
}

.contenedor-estadio-diaguita:hover::before {
    opacity: 0.25; 
}

.contenido-bienvenida {
    position: relative;
    z-index: 2;
}

.texto-bienvenida-principal {
    font-size: 1.5rem;
    color: #008f39;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.texto-club-nombre {
    font-size: 2.5rem;
    color: #008f39;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: none;
}

.texto-leyenda {
    font-size: 1rem;
    color: #333333;
    font-weight: bold;
    margin: 0;
}

/* =======================================================
   MÓDULO PRÓXIMO PARTIDO (MARCADOR Y TIMER)
   ======================================================= */
.seccion-proximo-partido {
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.caja-marcador {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border-top: 5px solid var(--verde-ovalle);
}

.titulo-marcador {
    color: var(--gris-oscuro);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.datos-estadio {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.enfrentamiento-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.equipo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equipo img {
    height: 110px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.equipo h4 {
    font-size: 1.1rem;
    color: var(--gris-oscuro);
    margin: 0;
}

.centro-versus {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vs {
    font-size: 2rem;
    font-weight: 900;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.timer {
    display: flex;
    gap: 10px;
}

.tiempo-caja {
    background-color: transparent;
    padding: 10px 5px;
    min-width: 65px;
    display: flex;
    flex-direction: column;
}

.tiempo-caja span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #008f39;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1;
}

.tiempo-caja small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #666;
    font-weight: bold;
}

@media (max-width: 768px) {
    .enfrentamiento-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .centro-versus {
        order: 0;
    }
    
    .equipo:first-child { order: -1; }
    .equipo:last-child { order: 1; }
    
    .equipo img { height: 90px; }
}

.equipo img[src*="logo_ovalle"] {
    transform: scale(1.35);
    transform-origin: center;
}

/* =======================================================
   ESTILOS PARA LA TABLA EXTRAÍDA (SCRAPING)
   ======================================================= */
.tabla-responsiva-scraped {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow-x: auto;
    padding: 15px;
}

.tabla-responsiva-scraped table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    white-space: nowrap;
}

.tabla-responsiva-scraped thead {
    background-color: var(--verde-ovalle, #008f39);
    color: white;
}

.tabla-responsiva-scraped th {
    padding: 12px 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.tabla-responsiva-scraped td.text-left {
    text-align: left !important;
    font-weight: bold;
    color: #333;
}

.tabla-responsiva-scraped td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #555;
    vertical-align: middle;
}

.tabla-responsiva-scraped tbody tr:hover {
    background-color: #f0fdf4; 
}

.tabla-responsiva-scraped tr.zone-champ td,
.tabla-responsiva-scraped tr.zone-ascenso td {
    background-color: rgba(0, 143, 57, 0.08);
}

.tabla-responsiva-scraped table img {
    max-width: 35px;
    max-height: 35px;
    width: auto;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.fila-destacada-ovalle {
    background-color: var(--verde-ovalle, #008f39) !important;
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0, 143, 57, 0.3);
    border-radius: 5px;
}

.fila-destacada-ovalle td {
    color: #ffffff !important;
    font-weight: bold !important;
    border-bottom: none !important;
}

.fila-destacada-ovalle td a {
    color: #ffffff !important;
}

/* =======================================================
   CABECERA ESTÁNDAR PARA PÁGINAS INTERNAS
   ======================================================= */
.hero-interno {
    background-color: var(--verde-ovalle, #008f39);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.hero-interno h1 {
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-interno p {
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* =======================================================
   CINTA DE AUSPICIADORES (LIMPIO Y DEFINITIVO)
   ======================================================= */
.cinta-sponsors {
    background-color: var(--blanco);
    border-bottom: 1px solid #eaeaea;
    padding: 12px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    width: 100%;
}

/* TAMAÑO DE SPONSORS EN ESCRITORIO (PC) */
.sponsors-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px 30px; 
}

.sponsors-flex img {
    max-height: 40px; 
    max-width: 120px; 
    width: auto;
    object-fit: contain;
    margin: 0; 
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.sponsors-flex a:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

/* TAMAÑO DE SPONSORS EN CELULAR (MÓVIL) - CSS GRID */
@media (max-width: 768px) {
    .cinta-sponsors .contenedor {
        padding-left: 2px !important;
        padding-right: 2px !important;
        width: 100%;
        max-width: 100%;
    }

    .sponsors-flex {
        display: grid !important; 
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px 5px !important;
        align-items: center;
        justify-items: center;
        width: 100%;
    }
    
    .sponsors-flex a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .sponsors-flex img {
        max-width: 100% !important;
        max-height: 28px !important;
        object-fit: contain;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* =======================================================
   PIE DE PÁGINA (FOOTER)
   ======================================================= */
.footer-cdo {
    background-color: #111;
    color: #fff;
    position: relative;
    margin-top: 80px; 
    border-top: 5px solid var(--verde-ovalle, #008f39);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-seccion { flex: 1; }

.footer-izq { text-align: left; }
.footer-izq h4 {
    color: var(--verde-ovalle, #008f39);
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-weight: 800;
}
.footer-izq p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.footer-centro {
    display: flex;
    justify-content: center;
    transform: translateY(-40px); 
}

.contenedor-logo-footer {
    display: inline-block;
    background-color: #111;
    padding: 0 20px;
    border-radius: 50%;
}

.contenedor-logo-footer img {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}
.contenedor-logo-footer img:hover { transform: scale(1.05); }

.footer-der { text-align: right; }
.footer-der h4 {
    color: var(--verde-ovalle, #008f39);
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    font-weight: 800;
}

.redes-sociales {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.redes-sociales a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #222;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.redes-sociales a:hover {
    background-color: var(--verde-ovalle, #008f39);
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0, 143, 57, 0.4);
}
.redes-sociales a svg { width: 22px; height: 22px; fill: currentColor; }

.footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: #0a0a0a;
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding-top: 0;
    }
    .footer-izq, .footer-der { text-align: center; }
    .redes-sociales { justify-content: center; }
    .footer-centro {
        order: -1;
        transform: translateY(-50px);
        margin-bottom: -40px;
    }
}

/* =======================================================
   MENÚ MÓVIL DEFINITIVO (RESTAURADO DEL RESPALDO)
   ======================================================= */
/* Ocultamos la cabecera móvil cuando estamos en el PC */
.header-menu-movil {
    display: none; 
}

@media (max-width: 992px) {
    /* 1. BOTÓN HAMBURGUESA */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001; 
    }

    .menu-toggle span {
        width: 100%;
        height: 4px;
        background-color: #ffffff;
        border-radius: 4px;
    }

    /* 2. CONTENEDOR DEL MENÚ (Lateral) */
    .nav-container {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: -100%; /* Oculto por defecto */
        width: 85%;    
        max-width: 320px;
        height: 100vh;
        background-color: var(--verde-ovalle) !important;
        margin-left: 0 !important;
        padding: 60px 0 20px 0;
        z-index: 2000;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
        transition: left 0.4s ease;
        overflow-y: auto; /* Permite scroll si tienes muchos botones */
    }

    /* 3. CLASE ACTIVA (Abre el menú) */
    .nav-container.activo {
        left: 0 !important; 
    }

    /* 4. BOTÓN CERRAR (X) */
    .menu-close {
        display: block !important;
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 35px;
        cursor: pointer;
        line-height: 1;
        z-index: 2001;
    }

    /* 5. CABECERA DENTRO DEL MENÚ MÓVIL (Escudo + Textos) */
    .header-menu-movil {
        display: block !important;
        width: 100%;
        padding: 0 20px 20px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
        margin-bottom: 15px;
    }

    .logo-y-texto-movil {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .logo-y-texto-movil img {
        width: 90px !important; 
        height: auto !important;
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
    }

    .titulos-movil {
        display: flex;
        flex-direction: column;
        text-align: left;
        color: #ffffff;
        font-size: 1.3rem;
        font-weight: 400; 
        line-height: 1.2;
        letter-spacing: 0.5px;
    }

    .badge-limari {
        background-color: #ffffff;
        color: #111; 
        display: inline-block;
        padding: 10px 20px;
        border-radius: 8px; 
        font-weight: 500;
        font-size: 1.1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    /* 6. LISTA DE ENLACES */
    .navegacion {
        width: 100% !important;
        display: block !important;
    }
    
    .navegacion ul {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .navegacion li {
        width: 100%;
        display: block;
    }
    
    .navegacion a {
        display: block !important;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 16px;
        color: #ffffff !important;
        white-space: normal !important; /* Desbloquea el salto de línea */
    }
}

html, body {
    overflow-x: hidden !important; /* Bloquea el scroll horizontal */
    width: 100%;
    position: relative;
}