.new-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 120;
    padding: 12px 0;
    background: transparent;
}

.new-header .new-container {
    position: relative;
}

.new-header__bar {
    min-height: 97px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 16px;
    border-radius: 24px;
    border: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.new-header.is-scrolled .new-header__bar {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(217, 234, 252, 1);
    box-shadow: 0 12px 34px rgba(20, 78, 155, 0.12);
}

.new-header__logo {
    flex-shrink: 0;
}

.new-header__logo .logo-scrolled {
    display: none;
}

.new-header.is-scrolled .new-header__logo .logo-default {
    display: none;
}

.new-header.is-scrolled .new-header__logo .logo-scrolled {
    display: block;
}

.new-header__nav {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    margin-right: 32px;
}

.new-header__nav a {
    font-family: Manrope, sans-serif;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
    white-space: nowrap;
    position: relative;
}

.new-header.is-scrolled .new-header__nav a {
    color: #001F48;
}

.new-container {
    max-width: 1408px;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

@media (hover: hover) {
    .new-header.is-scrolled .new-header__nav a:hover {
        color: #1E17E0;
        text-decoration: none;
        text-shadow: 0 0 0.3px currentColor, 0 0 0.3px currentColor;
    }

    .new-header__nav a:hover {
        color: #EDF5FF;
        text-decoration: none;
    }
}

.new-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

.header-lang {
    position: relative;
}

.header-lang__toggle {
    color: #FFFFFF;
    background-color: transparent;
    border: none;
    min-width: 40px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    cursor: pointer;
    font-family: Manrope, sans-serif;
}

.new-header.is-scrolled .header-lang__toggle {
    color: #001F48;
}

@media (hover: hover) {
    .header-lang__toggle:hover {
        color: #EDF5FF;
        text-decoration: none;
    }

    .new-header.is-scrolled .header-lang__toggle:hover {
        color: #1E17E0;
        text-decoration: none;
    }
}

.header-lang.is-open .header-lang__toggle svg {
    transform: rotate(180deg);
}

.header-lang__toggle svg {
    transition: transform 0.2s ease;
}

.header-lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 68px;
    padding: 8px 0;
    background: #ffffff;
    border: 1px solid rgba(217, 234, 252, 1);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(20, 78, 155, 0.12);
    display: none;
}

.header-lang.is-open .header-lang__menu {
    display: block;
}

.header-lang__menu a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #001F48;
    text-decoration: none;
    font-family: Manrope, sans-serif;
}

.header-lang__menu a:hover,
.header-lang__menu a.active {
    background: #f2f6ff;
    color: #1E17E0;
}

.header-action {
    height: 49px;
    border-radius: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 32px;
    text-decoration: none;
    border: 1px solid #FFFFFF;
    white-space: nowrap;
    font-weight: 400;
    font-size: 18px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-family: Manrope, sans-serif;
}

.header-action--primary {
    background-color: #ffffff;
    color: #1E17E0;
}

.new-header.is-scrolled .header-action--primary {
    border-color: #1E17E0;
    color: #ffffff;
    background: linear-gradient(90.64deg, #0B1FA1 1.52%, #1E17E0 98.31%);

}

@media (hover: hover) {
    .header-action--primary:hover {
        background: transparent;
        color: #ffffff;
        text-decoration: none;
    }

    .new-header.is-scrolled .header-action--primary:hover {
        background: transparent;
        color: #1E17E0;
        text-decoration: none;
    }
}

.new-header.is-scrolled .header-action--ghost {
    color: #001F48;
}

.header-action--ghost {
    position: relative;
    color: #FFFFFF;
    border-color: transparent;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-decoration: none;
    font-family: Manrope, sans-serif;
}

.header-action--ghost::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: #EDF5FF;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.new-header.is-scrolled .header-action--ghost::after {
    background: #1E17E0;
}

@media (hover: hover) {
    .header-action--ghost:hover {
        color: #EDF5FF;
        text-decoration: none;
    }

    .header-action--ghost:hover::after {
        transform: scaleX(1);
    }

    .new-header.is-scrolled .header-action--ghost:hover {
        color: #1E17E0;
        text-decoration: none;
    }
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 7px;
    border-radius: 8px;
    flex-shrink: 0;
    color: inherit;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: background 0.25s ease;
}

.new-header.is-scrolled .nav-burger span {
    background: #001F48;
}

@media (max-width: 1440px) {
    .new-header__bar {
        padding: 20px 16px;
        gap: 16px;
    }

    .new-header__nav {
        gap: 12px;
        margin-right: 20px;
    }

    .new-header__nav a {
        font-size: 16px;
    }

    .new-header__actions {
        gap: 12px;
    }

    .header-action {
        font-size: 16px;
        padding: 0 24px;
        height: 44px;
    }

    .header-action--ghost {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .new-header__nav {
        gap: 8px;
        margin-right: 12px;
    }

    .new-header__nav a {
        font-size: 14px;
    }

    .new-header__actions {
        gap: 10px;
    }

    .header-action {
        font-size: 14px;
        padding: 0 18px;
        height: 40px;
    }

    .header-action--ghost {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .new-header__nav,
    .header-lang,
    .header-action--primary,
    .header-action--ghost {
        display: none !important;
    }

    .nav-burger {
        display: flex;
    }

    .logo-default, .logo-scrolled {
        width: 100px;
    }

    .new-header__bar {
        min-height: 50px;
        padding: 0 24px;
        border-radius: 0;
    }

    .new-header .new-container {
        padding: 0;
    }

    .new-header.is-scrolled {
        padding-top: 0;
        transition: all 0.25s ease-in-out;
    }
}

