.site-header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}

.top-bar {
    background: var(--navy);
    color: white;
    font-size: 12px;
}

.top-bar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-row {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.6px;
    line-height: 1.2;
}

.brand-text small {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav {
    border-top: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 34px;
    min-height: 52px;
    overflow-x: auto;
}

.nav-inner a {
    font-weight: 650;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--navy);
    padding-block: 14px;
}

.nav-inner a:hover {
    color: var(--orange);
}

.language-selector {
    position: relative;
}

.language-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--navy);
    list-style: none;
}

.language-trigger::-webkit-details-marker {
    display: none;
}

.language-panel {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 20px);
    width: 420px;
    max-width: calc(100vw - 32px);
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px #142b4520;
    padding: 24px;
    border-radius: 10px;
    z-index: 200;
}

.language-panel h3 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: 16px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.language-option {
    background: white;
    border: 1px solid transparent;
    text-align: start;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.language-option:hover,
.language-option.selected {
    background: var(--background);
    color: var(--navy);
}

.language-option.selected {
    border-color: var(--border);
    font-weight: 700;
}

@media (max-width: 768px) {

    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar-inner span:last-child {
        display: none;
    }

    .brand-row {
        min-height: 80px;
        flex-wrap: wrap;
        padding-block: 14px;
        gap: 12px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .language-panel {
        position: fixed;
        top: 150px;
        inset-inline: 16px;
        width: auto;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-inner {
        gap: 24px;
    }

    .nav-inner a {
        font-size: 12px;
    }
}

/* Desktop navigation refinement */

@media (min-width: 769px) {
    .nav-inner {
        gap: 38px;
    }

    .nav-inner a {
        font-size: 14px;
    }
}

