/* =========================================
   1. ESTILOS GLOBALES
   ========================================= */

   * {
            -webkit-tap-highlight-color: transparent;
        }
body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
}

/* =========================================
   2. BARRA DE ANUNCIOS (TOP BAR)
   ========================================= */
.top-announcement-bar {
    background-color: #ffffff;
    border-top: 1px solid #ffffff; 
    border-bottom: 1px solid #d1d1d1;
    width: 100%;
    overflow: hidden;
    position: sticky;
    max-height: 40px; 
    z-index: 25;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    
    
}

.top-bar-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 40px;
    box-sizing: border-box;
    width: 100%;
}

#top-bar-text {
    font-size: 10px;
    letter-spacing: 0.05em;
    color: #ffffff;
     mix-blend-mode: difference; 
    z-index: 999;
    text-transform: uppercase;
    text-align: center;
    transition: opacity 0.5s ease;
}

#close-top-bar {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.05em;
    color: #ffffff;
    z-index: 999;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
     mix-blend-mode: difference; 
    justify-self: end;
    
}

#close-top-bar:hover { opacity: 0.4; }

.top-announcement-bar.closed {
    max-height: 0;
    padding: 0;
    border-top-color: transparent;
    border-bottom-color: transparent;
    opacity: 0;
}

.leti-header-blanco {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 40px;
    background-color: #ffff;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 999;
    
    
}

.nav-group {
    display: flex;
    gap: 35px;
}

.nav-group.right { justify-content: flex-end; }

.leti-header-blanco a {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
     mix-blend-mode: difference; 
}

.leti-header-blanco a:hover { opacity: 0.4; }

.brand-text { font-weight: 400; }

/* =========================================
   4. COMPONENTES DE MENÚ MÓVIL
   ========================================= */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #000000;
    cursor: pointer;
    padding: 0;
    text-transform: uppercase;
}

/* Panel Lateral (Drawer) */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0; left: 0;
    width: 85%; max-width: 320px; height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
    padding: 25px 20px;
    border-bottom: 1px solid #eaeaea;
}

.mobile-drawer-header button {
    background: none; border: none; padding: 0;
    font-size: 10px; letter-spacing: 0.1em; color: #888;
    cursor: pointer; text-transform: uppercase;
}

.mobile-drawer-links {
    display: flex; flex-direction: column;
    padding: 30px 20px; gap: 25px;
}

.mobile-drawer-links a {
    text-decoration: none; color: #000;
    font-size: 13px; font-weight: 400;
    text-transform: uppercase; letter-spacing: 0.05em;
}

.mobile-drawer-links hr {
    width: 100%; border: none; border-top: 1px solid #eaeaea; margin: 10px 0;
}

/* =========================================
   5. RESPONSIVE (MÓVIL)
   ========================================= */

/* Tablet / Mobile general */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-menu-btn { display: block; }
    .leti-header-blanco { padding: 8px 20px; }
}

/* Mobile Small (Ajuste de tamaño a 9px) */
@media (max-width: 480px) {
    /* Top Bar */
    #top-bar-text, 
    #close-top-bar {
        font-size: 10px !important;
    }
    
    .top-bar-content { padding: 8px 20px; }

    /* Header */
    .leti-header-blanco { padding: 10px 20px; }

    .brand-text,
    .leti-header-blanco a, 
    .mobile-menu-btn {
        font-size: 10px !important;
        letter-spacing: 0.02em;
    }

    /* Drawer */
    .mobile-drawer-links a {
        font-size: 10px; /* Un poco más grande que el header para legibilidad */
    }
    
    .mobile-drawer-header button {
        font-size: 10px;
    }
}