:root {
    --site-gutter: clamp(32px, 5.2vw, 132px);
    --site-accent: #f6a61d;
    --site-radius: 8px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(36, 36, 36, .94);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-shell {
    width: calc(100% - 200px);
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 132px;
}

.brand img {
    width: 132px;
    height: auto;
}

.nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 48px);
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    white-space: nowrap;
}

.nav-links a.is-active,
.nav-links a:hover {
    color: var(--site-accent);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 2px;
    background: var(--site-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.lang-link::before {
    content: "";
    width: 13px;
    height: 13px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.site-header .nav-actions .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--site-accent);
    color: #242424;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--site-radius);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.section-label,
.section-title {
    position: relative;
}

.section-label::before,
.section-title h2::before {
    background: var(--site-accent);
}

@media (max-width: 560px) {
    :root {
        --site-gutter: 16px;
    }
}

@media (max-width: 1280px) {
    .nav-shell {
        width: calc(100% - 48px);
    }

    .nav-links {
        gap: 18px;
    }
}

@media (max-width: 820px) {
    .nav-shell {
        width: calc(100% - 32px);
        height: 66px;
    }

    .brand {
        min-width: 126px;
    }

    .brand img {
        width: 126px;
    }

    .nav-links {
        position: absolute;
        top: 66px;
        left: 16px;
        right: 16px;
        display: none;
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(45, 45, 45, .98);
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: var(--site-radius);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .26);
    }

    .site-header.is-open .nav-links {
        display: grid;
    }

    .nav-links a {
        padding: 12px 10px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions .pill {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}
