:root {
    --br-navy: #2a418d;
    --br-light-blue: #4195ea;
    --br-white: #ffffff;
    --br-light: #eef6f8;
    --br-grey: #4d4d4f;
    --br-light-grey: #f4f3f1;
    --br-black: #000;
    --tab-radius: 26px;
    --tab-button-radius: 20px;
}

.br-header {
    width: 100%;
    background: var(--br-white);
    position: relative;
    z-index: 9999;
}

.br-header__burger{
    display:none;
}

.br-header__top {
    padding: 18px 0;
    margin: 10px 0;
}

.br-header__top-inner {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.br-header__logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
}

.br-header__logo-group img {
    height: 40px;
    width: auto;
}

.br-header__logo-group span {
    font-size: 15px;
    font-weight: 500;
    color: #3b3b3b;
    white-space: nowrap;
}

.br-header__right {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 0 1 auto;
    white-space: nowrap;
}

.br-header__phone {
    font-size: 20px;
    color: #4d4d50;
    font-weight: 700;
}

.br-header__phone a {
    font-size: 20px;
    color: var(--br-navy);
    text-decoration: none;
}

.br-header__search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.br-header__cta {
    background: #f6a622;
    color: var(--br-navy);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.br-header__cta:hover {
    background: #8DC63F;
    color: var(--br-navy) !important;
}

.br-header__burger {
    display: none;
}

/* =========================================================
   DESKTOP MEGA MENU ONLY (>= 992px)
========================================================= */
@media (min-width: 992px) {

    .br-mega-nav {
        border-top: 1px solid #707070;
        border-bottom: 1px solid #707070;
        background: var(--br-white);
    }

    .br-mega-nav .br-mega-top {
        max-width: 1366px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        align-items: center;
    }

    .br-mega-top li {
        text-align: center;
        padding: 16px 4.3%;
        font-size: 18px;
        font-weight: 700;
        color: #4d4d50;
        cursor: pointer;
        position: relative;
        white-space: nowrap;
    }

    .br-mega-top li a {
        text-decoration: none;
    }

    .br-mega-top li a:hover,
    .br-mega-top li:hover,
    .br-mega-top li.active {
        color: var(--br-navy);
    }

    .br-mega-top li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 32px;
        background: #244092;
    }

    .br-mega-panels {
        position: relative;
        width: 100%;
    }

    .br-mega-panel {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease;
        background: transparent;
        padding: 0;
        z-index: 1000;
    }

    .br-mega-panel.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .br-mega-panel > .mega-menu-content {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px;
        list-style: none;
    }

    .br-mega-panel > .mega-menu-content > li {
        display: flex;
        align-items: stretch;
        width: 100%;
        margin: 0;
        box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    }

    .br-mega-panel > .mega-menu-content > li > a {
        display: none !important;
    }

    .br-mega-panel > .mega-menu-content > li > .sub-menu {
        width: 420px;
        background: var(--br-light-grey);
        margin: 0;
        padding: 26px 22px;
        list-style: none;
    }

    .br-mega-panel > .mega-menu-content > li > .sub-menu > li {
        margin: 0;
        padding: 0;
    }

    .br-mega-panel > .mega-menu-content > li > .sub-menu > li > a {
        display: block;
        padding: 12px 10px;
        color: #4d4d4f;
        text-decoration: none;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.2;
    }

    .br-mega-panel > .mega-menu-content > li > .sub-menu > li.is-active > a,
    .br-mega-panel > .mega-menu-content > li > .sub-menu > li:hover > a {
        color: var(--br-navy);
        font-weight: 800;
    }

    .br-mega-right {
        flex: 1;
        background: var(--br-navy);
        padding: 28px 36px 34px 36px;
        display: flex;
        flex-direction: column;
        min-height: 520px;
        min-height: 100%;
    }

    .br-mega-right__title {
        margin: 0 0 14px 0;
        color: var(--br-white);
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -0.2px;
    }

    .br-mega-right__list,
    .br-mega-right__list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .br-mega-right__list {
        flex: 1 1 auto;
        overflow: auto;
    }

    .br-mega-right__list > ul > li > a {
        display: block;
        padding: 12px 0;
        color: var(--br-white);
        text-decoration: none;
        font-size: 17px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255,255,255,1);
    }

    .br-mega-right__list > ul > li > a:hover {
        text-decoration: none;
    }

    .br-mega-right__list ul ul {
        margin-top: 10px;
    }

    .br-mega-right__list ul ul li a {
        display: block;
        padding: 10px 6px;
        color: rgba(255,255,255,0.92);
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }

    .br-mega-panel .mega-menu-content > li > .sub-menu > li > .sub-menu {
        display: none !important;
    }

    .br-mega-panel .mega-menu-content > li > .sub-menu > li > a {
        text-decoration: none;
        line-height: 1.25;
    }

    .br-mega-panel .mega-menu-content > li > .sub-menu > li.is-active > a,
    .br-mega-panel .mega-menu-content > li > .sub-menu > li:hover > a {
        color: var(--br-navy);
        font-weight: 700;
    }

    .br-mega-right > ul,
    .br-mega-right .mega-menu-content,
    .br-mega-right .sub-menu {
        flex: 1 1 auto;
        overflow-y: auto;
        min-height: 0;
        padding-bottom: 18px;
    }

    .br-mega-need-advice {
        flex: 0 0 auto;
        margin-top: auto;
        padding-top: 18px;
        font-size: 18px;
        line-height: 1.4;
        color: var(--br-white);
        margin-top: 24px;
    }

    .br-mega-need-advice a {
        color: var(--br-white);
        text-decoration: underline;
    }

    .br-mega-need-advice a:hover {
        color: var(--br-white);
    }
}

@media (max-width: 991px) {

    .br-header {
        height: 126px;
    }

    .br-mega-nav, .br-mega-panels {
        display: none;
    }

    .br-header__top{
        padding: 0;
        margin: 0;
    }

    .br-header__top-inner{
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 !important;
        gap: 0;
        display: block;
        position: relative;
    }

    .br-header__right{
        width: 100%;
        padding: 14px 11px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        white-space: normal;
    }

    .br-header__phone{
        width: 60%;
        font-size: 16px;
        color: #4d4d50;
        font-weight: 700;
    }

    .br-header__phone a{
        font-size: 16px;
        color: var(--br-navy);
        text-decoration: none;
        white-space: nowrap;
    }

    .br-header__search-btn{
        width: 13%;
        padding: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .br-header__cta{
        width: 27%;
        padding: 8px 18px;
        border-radius: 8px;
        font-weight: 800;
        background: #f6a622;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        letter-spacing: 0.4px;
    }

    .br-header__logo-group{
        width: 100%;
        padding: 14px 16px;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        position: absolute;
        top: 73px;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }

    .br-header__logo-group img{
        height: 27px;
        width: auto;
        display: block;
    }

    .br-header__logo-group span{
        font-size: 16px;
        font-weight: 600;
        color: #3b3b3b;
        white-space: nowrap;
        margin-left: 10px;
    }

    .br-header__burger{
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 22px;
        width: 62px;
        min-height: 56px;
        border: 0;
        cursor: pointer;
        background: var(--br-navy);
        color: var(--br-white);
        font-weight: 800;
        font-size: 13px;
        line-height: 1;
        position: absolute;
        bottom: -60px;
        right: 0;
    }

    .br-header__burger::before{
        content: "";
        display: block;
        width: 28px;
        height: 2px;
        background: var(--br-white);
        box-shadow: 0 8px 0 #fff, 0 16px 0 #fff;
    }

    .br-header a:hover{
        color: inherit;
    }
}

@media (max-width: 400px) {

    .br-header__cta {
        padding: 8px 10px;
    }

}

@media screen and (max-width: 1480px) {
    .container {
        padding: 0 5%;
    }
}