/* ==========================================================================
   1. NAVBAR PRINCIPAL (ESTILOS GENERALES Y CONTENEDOR)
   ========================================================================== */

.navbar-guau {
    position: sticky;
    top: 18px;
    z-index: 9999;
    width: 96%;
    max-width: 1450px;
    margin: auto;
    left: 0;
    right: 0;
    
    /* Tamaño de fondo blanco de los menús */
    height: 82px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, .08),
        0 1px 0 rgba(255, 255, 255, .9) inset;
    transition: .35s;
}

.navbar-container {
    height: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-guau::after {
    content: "";
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #00C2FF,
        transparent
    );
    opacity: .25;
}


/* ==========================================================================
   2. LOGO Y TEXTOS DE IDENTIDAD
   ========================================================================== */

.logo-guau {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: .30s;
}

.logo-guau:hover {
    transform: translateY(-1px);
}

.logo-guau img {
    width: 62px;
    transition: .30s;
}

.logo-guau:hover img {
    transform: rotate(-4deg) scale(1.04);
}

.logo-texto h1 {
    font-size: 48px;
    font-weight: 900;
    color: #172033;
    line-height: 1;
    letter-spacing: -2px;
}

.logo-texto span {
    margin-top: 3px;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    letter-spacing: .2px;
}


/* ==========================================================================
   3. MENÚ DE ESCRITORIO
   ========================================================================== */

.menu-guau {
    display: flex;
    align-items: center;
    gap: 54px;
}

.menu-guau a {
    position: relative;
    color: #243247;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s;
}

/* Efectos Hover del Menú */
.menu-guau a:hover {
    color: #00B7F4;
    transform: translateY(-2px);
}

/* Línea Animada de Enlaces */
.menu-guau a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 0;
    height: 4px;
    background: #00C2FF;
    border-radius: 20px;
    transform: translateX(-50%);
    transition: .30s;
}

.menu-guau a:hover::after,
.menu-guau a.active::after {
    width: 100%;
}

.menu-guau a.active {
    color: #00C2FF;
}


/* ==========================================================================
   4 y 5. BOTÓN MENÚ MÓVIL (ESTILOS Y HOVER)
   ========================================================================== */

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: #F4F8FB;
    color: #172033;
    font-size: 28px;
    cursor: pointer;
    transition: .30s;
}

.menu-toggle:hover {
    background: #EAFBFF;
    color: #00C2FF;
}


/* ==========================================================================
   6. 📱 MENÚ MÓVIL LATERAL Y OVERLAY
   ========================================================================== */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
    z-index: 999;
}

.menu-mobile {
    position: fixed;
    top: 0;
    right: -320px;
    width: 270px;
    height: 100vh;
    background: #fff;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: -15px 0 40px rgba(0, 0, 0, .15);
    transition: right .35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    visibility: hidden;
}

.menu-mobile.show {
    right: 0;
    visibility: visible;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.menu-mobile a {
    font-size: 20px;
    font-weight: 600;
    color: #172033;
    padding: 12px 0;
    border-bottom: 1px solid #EEF2F7;
    text-decoration: none;
}

.menu-mobile a.active {
    color: #00AEEF;
}

.cerrar-menu {
    border: none;
    background: #F4F8FB;
    color: #172033;
    font-size: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    align-self: unset !important;
}

.cerrar-menu:hover {
    background: #EAFBFF;
    color: #00C2FF;
}

.menu-footer {
    margin-top: auto;
    padding-top: 25px;
    font-weight: 700;
    text-align: center;
    color: #64748B;
}


/* ==========================================================================
   7. MEDIA QUERIES / RESPONSIVE (TABLET Y CELULAR)
   ========================================================================== */

/* Computador / Escritorio */
@media (min-width: 992px) {
    .menu-toggle,
    .menu-mobile,
    .menu-overlay {
        display: none !important;
    }
}

/* Celular y Tablet */
@media (max-width: 991px) {
    .navbar-guau {
        top: 0;
        width: 100%;
        border-radius: 0;
        height: 70px;
    }

    .navbar-container {
        padding: 0 22px;
    }

    .logo-texto h1 {
        font-size: 36px;
    }

    .logo-texto span {
        font-size: 13px;
    }

    .menu-guau {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}