/* =======================================================
   MONCEDA LABS — NAVIGATION
   Canonical core ownership established in UI/UX V1-C1.

   Responsive overrides remain in the existing responsive
   layers during this phase to preserve the current cascade.
======================================================= */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 18px;
    right: 0;
    left: 0;
}

.navbar {
    width: min(1180px, calc(100% - 30px));
    margin: auto;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(5, 10, 20, 0.96);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: var(--text-primary);
}

.navbar-brand:hover {
    color: var(--text-primary);
}

.brand-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 11px;
    background: #08111f;
    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.28);
}

.brand-symbol img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
    line-height: 1;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.brand-text small {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.navbar-nav {
    gap: 4px;
}

.nav-link {
    padding: 9px 13px !important;
    border-radius: 9px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.045);
    color: white;
}

.navbar-toggler {
    border-color: var(--border);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =========================================================
   ACCESSIBILITY — NAVIGATION KEYBOARD FOCUS
   ========================================================= */

.navbar-brand:focus-visible,
.navbar .nav-link:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid rgba(96, 165, 250, .45);
    outline-offset: 3px;
}

/* =========================================================
   MONCEDA LABS — DESKTOP NAVIGATION REFINEMENT
   Compact center navigation only.
   ========================================================= */

@media (min-width: 992px) {
    .navbar {
        width: min(1180px, calc(100% - 30px));
        padding: 9px 12px;
    }

    .navbar-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 8px 10px !important;
        font-size: 0.82rem;
        border-radius: 8px;
    }

    .navbar-action {
        font-size: 0.82rem;
    }
}
