/* navbar_publica.css - Estilos para la navbar pública */

/* Variables y estilos para navbar pública */
.np-navbar {
    --np-bg: #f7f9fc;
    --np-surface: #f7f9fc;
    --np-shadow-light: #ffffff;
    --np-shadow-dark: #d1d9e6;
    --np-text-main: #2d3142;
    --np-text-muted: #4a5061;
    --np-accent: #4facfe;
    --np-radius: 999px;
    --np-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --np-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --np-h: 44px;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 0;
    z-index: 1000;
    transition: all var(--np-smooth);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.np-navbar.scrolled {
    background: rgba(238,240,245,0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.np-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: var(--np-h);
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.np-logo {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    height: var(--np-h);
    color: var(--np-text-main);
    text-decoration: none;
}

.np-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 12px;
}

.np-link {
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--np-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 6px;
    height: var(--np-h);
    transition: color var(--np-fast);
}

.np-link:hover {
    color: var(--np-text-main);
}

.np-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--np-surface);
    box-shadow: 6px 6px 12px var(--np-shadow-dark), -6px -6px 12px var(--np-shadow-light);
    border: none;
    cursor: pointer;
    margin-left: auto;
}

.np-toggle i {
    font-size: 22px;
    color: var(--np-text-main);
}

.np-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    height: var(--np-h);
    border-radius: var(--np-radius);
    font-weight: 700;
    font-size: 1rem;
    background: var(--np-text-main);
    color: var(--np-bg);
    text-decoration: none;
    box-shadow: 6px 6px 12px var(--np-shadow-dark), -6px -6px 12px var(--np-shadow-light);
    margin-left: auto;
    transition: all var(--np-fast);
}

.np-cta:hover {
    transform: translateY(-2px);
    color: var(--np-bg);
}

.np-mobile-cta {
    display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
    .np-container > .np-cta {
        display: none !important;
    }
    
    .np-toggle {
        display: inline-flex;
    }
    
    .np-links {
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 16px;
        display: none;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        z-index: 1001;
    }
    
    .np-links.open {
        display: flex;
    }
    
    .np-link {
        padding: 12px 16px;
        height: auto;
        border-radius: 8px;
        width: 100%;
    }
    
    .np-link:hover {
        background: rgba(0,0,0,0.04);
    }
    
    .np-mobile-cta {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
        padding: 16px 24px !important;
        height: auto !important;
    }
    
    .np-logo {
        height: auto;
    }
}

