@media (min-width: 992px) {
    .header {
        min-height: 4.5rem;
        padding: 0;
    }

    .header__container {
        gap: 2rem;
    }

    .header-nav > .header-menu > .header-menu__item > .header-menu__link {
        font-weight: 300 !important;
        text-transform: none !important;
        gap: 0.375rem !important;
    }

    .header-nav > .header-menu > .header-menu__item > .header-menu__link::after {
        clip-path: none;
        mask: none;
        -webkit-mask: none;
        background-color: transparent;
        width: 0;
        height: 0;
    }

    .header-top-controls,
    .header-account-btn,
    .header-hamburger {
        display: none !important;
    }

    .header .page-logo {
        width: 9rem;
        max-width: 9rem;
        flex-shrink: 0;
        position: relative;
        z-index: 5;
    }

    .header-nav > .header-menu {
        padding: 0 !important;
    }
}

@media (min-width: 1200px) {
    .header-nav > .header-menu {
        gap: 2rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-nav > .header-menu {
        gap: 0.3rem 1.25rem !important;
    }

    .header-nav > .header-menu > .header-menu__item > .header-menu__link {
        font-size: 0.9rem !important;
    }

    .header-new-phone {
        transform: scale(0.9);
        transform-origin: left center;
    }
}

@media (max-width: 991.98px) {
    .header.active .header__nav-wrapper {
        z-index: 3;
    }

    .header-submenu .header-menu__link {
        font-size: 1rem !important;
    }

    .header-submenu .header-menu {
        gap: 1rem;
    }
}

.header-submenu .header-menu__link {
    font-weight: 300 !important;
}

.header .page-logo {
    position: relative;
    z-index: 5;
}

.header .page-logo img {
    display: block !important;
}

.header-new-controls {
    display: none;
}

@media (min-width: 992px) {
    .header-new-controls {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
        position: relative;
        z-index: 3;
    }
}

@media (min-width: 992px) {
    .header-nav > .header-menu > .header-menu__item--has-children > .header-submenu:not(.header-submenu--wide) {
        padding-top: 1rem;
        width: 20rem;
    }

    .header-nav > .header-menu > .header-menu__item--has-children > .header-submenu:not(.header-submenu--wide):before {
        box-shadow: 0px 35px 46px rgba(0, 0, 0, 0.07);
    }
}

@media (min-width: 992px) {
    .header-nav > .header-menu > .header-menu__item--has-children > .header-menu__link::after {
        content: "";
        display: block;
        flex-shrink: 0;
        width: 8px;
        height: 16px;
        mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAxMiAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjE1NjkgMTIuNzExNkw0LjQ5OTk0IDE4LjM2ODZMMy4wODU5NCAxNi45NTQ2TDguMDM1OTQgMTIuMDA0NkwzLjA4NTk0IDcuMDU0NjNMNC40OTk5NCA1LjY0MDYyTDEwLjE1NjkgMTEuMjk3NkMxMC4zNDQ0IDExLjQ4NTIgMTAuNDQ5NyAxMS43Mzk1IDEwLjQ0OTcgMTIuMDA0NkMxMC40NDk3IDEyLjI2OTggMTAuMzQ0NCAxMi41MjQxIDEwLjE1NjkgMTIuNzExNloiIGZpbGw9IiMwMDAiLz48L3N2Zz4=");
        -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAxMiAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjE1NjkgMTIuNzExNkw0LjQ5OTk0IDE4LjM2ODZMMy4wODU5NCAxNi45NTQ2TDguMDM1OTQgMTIuMDA0NkwzLjA4NTk0IDcuMDU0NjNMNC40OTk5NCA1LjY0MDYyTDEwLjE1NjkgMTEuMjk3NkMxMC4zNDQ0IDExLjQ4NTIgMTAuNDQ5NyAxMS43Mzk1IDEwLjQ0OTcgMTIuMDA0NkMxMC40NDk3IDEyLjI2OTggMTAuMzQ0NCAxMi41MjQxIDEwLjE1NjkgMTIuNzExNloiIGZpbGw9IiMwMDAiLz48L3N2Zz4=");
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        background-color: #000;
        transform: rotate(90deg);
        transform-origin: center center;
        transition: transform 300ms ease;
    }

    .header-nav > .header-menu > .header-menu__item--has-children:hover > .header-menu__link::after {
        transform: rotate(270deg);
    }
}

.header-new-mail {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity 200ms ease;
}
.header-new-mail:hover { opacity: 0.8; }
.header-new-mail svg { display: block; width: 36px; height: 26px; }

.header-new-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #2874bb !important;
    color: #fff !important;
    font-family: Stolzl, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    padding: 0.35rem 1rem;
    border-radius: 0;
    text-decoration: none !important;
    border: 2px solid #2874bb;
    white-space: nowrap;
    transition: opacity 200ms ease;
}
.header-new-phone:hover {
    opacity: 0.8;
}
.header-new-phone svg {
    flex-shrink: 0;
    fill: currentColor;
    width: 25px;
    height: 25px;
}


/* =====================================================
   NEW FOOTER (fn-*)
   ===================================================== */

.fn-footer {
    background: #fff;
    font-family: Stolzl, sans-serif;
    font-size: 0.875rem;
}

.fn-body {
    background: #fff;
    overflow: hidden;
}

.fn-container {
    padding-top: 0;
    padding-bottom: 0;
}

.fn-inner {
    display: flex;
    align-items: stretch;
    min-height: 260px;
}

.fn-left {
    flex: 0 0 25%;
    width: 25%;
    background: #2874bb;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem 1.5rem;
    box-sizing: border-box;
}

.fn-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 100vw;
    background: #2874bb;
}

.fn-left-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem 1rem 0;
}


.fn-logo {
    display: block;
    position: relative;
    z-index: 1;
    width: 90%;
}

.fn-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.fn-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 0 0 3rem;
    box-sizing: border-box;
    background: #fff;
}

.fn-nav {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.fn-col {
    flex: 1;
    min-width: 120px;
}

.fn-col:last-child {
    flex: 0 0 auto;
    min-width: 0;
}

.fn-col-title {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #2874bb;
    margin: 0 0 0.875rem 0;
    padding: 0;
}

.fn-col-title--link {
    text-decoration: none;
    display: block;
    transition: opacity 0.2s;
}

.fn-col-title--link:hover {
    opacity: 0.7;
}

.fn-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fn-link-item {
    margin: 0;
    padding: 0;
}

.fn-link {
    color: #1a2a3a;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
    transition: color 0.2s;
}

.fn-link:hover {
    color: #2874bb;
}

.fn-link-item--addr .fn-link {
    line-height: 1.6;
}

.fn-bottom {
    background: #fff;
}

.fn-bottom-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 3rem 0 1rem;
    box-sizing: border-box;
}

.fn-copy {
    font-size: 0.75rem;
    color: #5a6a7e;
    white-space: nowrap;
}

.fn-by {
    font-size: 0.75rem;
    color: #9aabb9;
    margin-left: auto;
    font-weight: 300;
}

.fn-by a {
    color: #9aabb9;
    text-decoration: none;
}

.fn-by a:hover {
    color: #2874bb;
}

.fn-copy.fn-copy--light {
    color: #fff;
    font-size: 0.875rem;
}

.fn-rules {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.fn-rule-link {
    font-size: 0.875rem;
    color: #2874bb;
    text-decoration: none;
    transition: color 0.2s;
}

.fn-rule-link:hover {
    opacity: 0.7;
}


@media (max-width: 991px) {
    .fn-logo {
        width: 40%;
    }

    .fn-inner {
        flex-direction: column;
        min-height: auto;
    }

    .fn-left {
        flex: none;
        width: 100%;
        padding: 2rem 1.5rem 3rem;
        justify-content: flex-start;
    }

    .fn-left-bottom {
        position: relative;
        padding: 1rem 0 0;
    }

    .fn-left::before {
        display: none;
    }

    .fn-right {
        padding: 2rem 0;
    }

    .fn-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .fn-nav {
        flex-direction: column;
        gap: 1.25rem;
    }

    .fn-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .fn-rules {
        gap: 0.75rem;
    }
}
