/* New homepage header */
.stf-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

#site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.stf-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
}

.stf-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 23px;
    padding-bottom: 23px;
}

.stf-header__logo {
    flex-shrink: 0;
    text-decoration: none;
}

.stf-header__logo img {
    display: block;
    height: 37px;
    width: auto;
}

.stf-header__toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 6px 7px;
    margin-left: auto;
    border: 1px solid #971843;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.stf-header__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    margin-top: 5px;
    background: #971843;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.stf-header__toggle-bar:first-child {
    margin-top: 0;
}

.stf-header.is-open .stf-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.stf-header.is-open .stf-header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.stf-header.is-open .stf-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.stf-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 36px;
    min-width: 0;
}

.stf-header__menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.stf-header__menu li {
    position: relative;
    margin: 0;
}

.stf-header__menu a {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    color: #172A54;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.stf-header__menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stf-header__menu .submenu li {
    display: block;
}

.stf-header__menu .submenu li a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

.stf-header__menu .submenu li a:hover {
    background: #f5f5f5;
}

.stf-header__menu .has-dropdown:hover .submenu {
    display: block;
}

.stf-header__menu a:hover,
.stf-header__menu a.is-active {
    color: #971843;
}

.stf-header a:focus,
.stf-header a:focus-visible {
    outline: none;
}

.stf-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background:#971843;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    border: 2px solid #172A54;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.stf-header__cta:hover {
    background: #971843;
    color: #fff;
}


.stf-header__cta-two {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: #971843;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.stf-header__cta-two:hover {
    background: #7f1438;
    color: #fff;
}


.stf-header__cta--outline {
    background: transparent;
    color: #172A54;
    border-color: #172A54;
}

.stf-header__cta--outline:hover {
    background: #172A54;
    color: #fff;
}

.stf-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.stf-header__actions--mobile {
    display: none;
}

.stf-header__cta-icon {
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .stf-header__nav {
        gap: 24px;
    }

    .stf-header__menu {
        gap: 24px;
    }

    .stf-header__menu a {
        font-size: 12px;
    }

    .stf-header__cta,
    .stf-header__cta-two {
        padding: 11px 18px;
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .stf-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .stf-header {
        position: relative;
    }

    .stf-header__container {
        z-index: 2;
        padding-top: 16px;
        padding-bottom: 16px;
        background: #fff;
        flex-wrap: wrap;
    }

    .stf-header__toggle {
        display: flex;
    }

    .stf-header__actions--desktop {
        display: none;
    }

    .stf-header__nav {
        display: none;
        position: fixed;
        top: var(--stf-header-height, 68px);
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 24px 24px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
        max-height: calc(100dvh - var(--stf-header-height, 68px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1001;
    }

    .stf-header.is-open .stf-header__nav {
        display: flex;
    }

    .stf-header .stf-header__menu {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .stf-header .stf-header__menu > li {
        display: block;
        width: 100%;
        margin: 0;
    }

    .stf-header .stf-header__menu > li > a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        line-height: 1.3;
        white-space: normal;
    }

    .stf-header .stf-header__menu .submenu {
        position: static;
        display: block;
        min-width: 0;
        width: 100%;
        padding: 0 0 8px 16px;
        background: transparent;
        box-shadow: none;
    }

    .stf-header .stf-header__menu .has-dropdown:hover .submenu {
        display: block;
    }

    .stf-header .stf-header__menu .submenu li a {
        display: block;
        padding: 10px 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        white-space: normal;
    }

    .stf-header__actions--mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 20px;
    }

    .stf-header__actions--mobile .stf-header__cta,
    .stf-header__actions--mobile .stf-header__cta-two {
        width: 100%;
        padding: 16px 28px;
    }
}

@media (max-width: 575px) {
    .stf-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .stf-header__container {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .stf-header__logo img {
        height: 34px;
    }

    .stf-header__nav {
        padding: 20px 16px 24px;
        max-height: calc(100dvh - var(--stf-header-height, 62px));
    }
}

html.stf-nav-open,
body.stf-nav-open {
    overflow: hidden;
}

body.stf-nav-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: var(--stf-header-height, 68px);
}

body.stf-nav-open #site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}
