.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid #E6EAEC;
}

.header-inner {
    max-width: 74em;
    margin: 0 auto;
    padding: 0.9em 2em;
    display: flex;
    align-items: center;
    gap: 1.5em;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75em;
    text-decoration: none;
}

.header-logo img {
    display: block;
}

.header-logo-sep {
    width: 1px;
    height: 1.4em;
    background: #D8DEE1;
}

.header-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.8em;
}

.header-nav a {
    text-decoration: none;
    color: #3C444A;
    font-size: 0.9em;
    font-weight: 600;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #0B7C84;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25em;
    padding: 0.2em;
    background: #F1F4F5;
    border-radius: 999px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: #5A6268;
    font-weight: 700;
    font-size: 0.8em;
    padding: 0.38em 0.69em;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.lang-btn.active {
    background: #0B0E11;
    color: #fff;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: #0B0E11;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875em;
    padding: 0.625em 1.125em;
    border-radius: 999px;
    transition: background 0.2s;
}

.header-cta:hover {
    background: #2A3239;
}

.header-logo-itflow {
    height: 1.5em;
}

.header-logo-swidoc {
    height: 1.625em;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    z-index: 1001;
    width: 40px;
    height: 40px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #0B0E11;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-lang-switcher {
    display: none;
}

.mobile-header-cta {
    display: none;
}

@media (max-width: 1104px) {
    .header-inner {
        padding: 0.875em 2vw;
        gap: 1.2vw;
    }

    .header-nav {
        gap: 1.5vw;
    }

    .header-nav a {
        text-decoration: none;
        color: #ffffff;
        font-size: 100% !important;
        font-weight: 600;
        transition: color 0.2s;
    }

    .header-cta {
        font-size: 1.3vw;
        padding: 0.5vw 1vw;
    }
}

@media (max-width: 800px) {
    .hamburger-btn {
        display: flex;
    }

    .lang-switcher {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .header-inner {
        padding: 0.75em 1em;
        gap: 0;
        justify-content: space-between;
    }

    .header-logo {
        gap: 0.5em;
    }

    .header-logo-itflow {
        height: 1.2em;
    }

    .header-logo-swidoc {
        height: 1.3em;
    }

    .header-logo-sep {
        height: 1.2em;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 100px;
        overflow-y: auto;
    }

    .header-nav.open {
        transform: translateX(0);
    }

    .header-nav a:not(.mobile-header-cta) {
        font-size: 100% !important;
        font-weight: 600;
        color: #0B0E11;
        text-decoration: none;
        padding: 1em 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ECF1F2;
    }

    .header-nav a:not(.mobile-header-cta):hover {
        color: #0B7C84;
    }

    .mobile-lang-switcher {
        display: flex;
        align-items: center;
        gap: 0.5em;
        padding: 0.6em;
        background: #F1F4F5;
        border-radius: 999px;
        margin-top: 2.5em;
    }

    .mobile-lang-switcher .lang-btn {
        font-size: 0.9em;
        padding: 0.6em 1em;
    }

    .mobile-header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5em;
        background: #0B0E11;
        color: #ffffff;
        text-decoration: none;
        font-weight: 900;
        font-size: 32px;
        padding: 14px 28px;
        border-radius: 999px;
        margin-top: 3em;
        margin-bottom: 2em;
        text-align: center;
        line-height: 1.2;
    }

    html.menu-open,
    html.menu-open body {
        overflow: hidden;
        height: 100%;
    }
}