:root {
    --nl-header-text: #27364a;
    --nl-header-accent: #173750;
    --nl-header-shadow: 0 12px 28px rgba(28, 39, 54, 0.14);
    --nl-header-font: 'Century Gothic', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.nl-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    padding: 16px clamp(12px, 4vw, 32px) 0;
    background: transparent;
    box-shadow: none;
}

.nl-header__surface {
    width: min(100%, 1224px);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--nl-header-shadow);
    border-radius: 14px;
    overflow: hidden;
}

.nl-header__container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.nl-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
}

.nl-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nl-header__logo-img {
    display: block;
    width: 200px;
    max-width: 200px;
}

.nl-header__logo-img img {
    display: block;
    width: 100%;
    height: auto;
}

.nl-header__nav-desktop {
    display: flex;
    align-items: center;
}

.nl-header__menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nl-header__menu .nav-item { margin: 0; }

.nl-header__menu .nav-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--nl-header-font);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--nl-header-text);
    padding: 0;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nl-header__menu .nav-link:hover,
.nl-header__menu .nav-link:focus {
    color: var(--nl-header-accent);
    text-decoration: none;
}

.nl-header__menu .nav-link.active,
.nl-header__menu .nav-link[aria-current="page"] {
    color: var(--nl-header-accent);
    font-weight: 700;
    text-transform: uppercase;
}

.nl-header__menu .dropdown-toggle::after {
    display: none;
}

.nl-header__menu .dropdown-menu {
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(28, 39, 54, 0.12);
}

.nl-header__menu .dropdown-item {
    font-family: var(--nl-header-font);
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--nl-header-text);
    padding: 9px 24px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nl-header__menu .dropdown-item:hover,
.nl-header__menu .dropdown-item:focus {
    background-color: rgba(23, 55, 80, 0.08);
    color: var(--nl-header-accent);
}

.nl-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nl-header__languages {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--nl-header-font);
}

.nl-header__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nl-header-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nl-header__lang.is-active {
    color: var(--nl-header-accent);
}

.nl-header__lang:hover,
.nl-header__lang:focus {
    color: var(--nl-header-accent);
    text-decoration: none;
}

.nl-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 50px;
    padding: 0 32px;
    font-family: var(--nl-header-font);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    background-color: var(--nl-header-accent);
    border-radius: 5px;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nl-header__cta:hover,
.nl-header__cta:focus {
    background-color: #1f4b73;
    color: #ffffff;
    transform: translateY(-1px);
}

.nl-header__burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: none;
    background-color: var(--nl-header-accent);
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nl-header__burger span {
    display: block;
    width: 25px;
    height: 4px;
    border-radius: 4px;
    background-color: #ffffff;
    margin: 0;
}

.nl-header__burger:hover,
.nl-header__burger:focus {
    background-color: #1f4b73;
}

/* mobile panel */
.nl-header__nav {
    display: none;
}

.nl-header__nav[aria-hidden="false"] {
    display: block;
}

.nl-header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 41, 0.5);
}

.nl-header__panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(31, 43, 60, 0.16);
    display: flex;
    flex-direction: column;
}

.nl-header__panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
}

.nl-header__panel-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 24px 32px;
    overflow-y: auto;
}

.nl-header__panel-body .nl-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.nl-header__panel-body .nl-header__menu .nav-link,
.nl-header__panel-body .nl-header__menu .dropdown-toggle {
    font-size: 18px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.nl-header__panel-body .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    padding: 8px 0 0;
}

.nl-header__panel-body .dropdown-item {
    padding: 6px 0;
    font-size: 16px;
}

.nl-header__cta--mobile {
    width: 100%;
}

/* layout compensation */
.nl-header ~ main {
    padding-top: 132px;
}

@media (max-width: 1199px) {
    .nl-header__container {
        max-width: 960px;
    }

    .nl-header__menu {
        gap: 32px;
    }

    .nl-header__logo-img {
        width: 180px;
    }

    .nl-header__bar {
        min-height: 84px;
    }
}

@media (max-width: 991px) {
    .nl-header__nav-desktop {
        display: none;
    }

    .nl-header__burger {
        display: inline-flex;
    }

    .nl-header__surface {
        width: min(100%, 760px);
        border-radius: 12px;
    }

    .nl-header__container {
        max-width: 720px;
    }

    .nl-header__bar {
        min-height: 80px;
    }

    .nl-header__languages {
        font-size: 16px;
        gap: 10px;
    }
}

@media (max-width: 720px) {
    .nl-header__surface {
        width: min(100%, 720px);
        border-radius: 12px;
    }

    .nl-header__container {
        padding: 0 20px;
    }

    .nl-header__lang {
        font-size: 16px;
    }

    .nl-header__languages {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .nl-header__languages--desktop {
        display: none;
    }
}

@media (max-width: 560px) {
    .nl-header__surface {
        width: min(100%, 480px);
        border-radius: 12px;
    }

    .nl-header__container {
        padding: 0 16px;
    }

    .nl-header__bar {
        min-height: 72px;
    }

    .nl-header__logo-img {
        width: 160px;
    }

    .nl-header ~ main {
        padding-top: 112px;
    }
}

@media (max-width: 480px) {
    .nl-header__actions {
        gap: 12px;
    }

    .nl-header__cta {
        display: none;
    }
}
