.mc-header,
.mc-drawer {
    --mc-header-ink: #023047;
    --mc-header-mint: #0bd2b5;
    --mc-header-focus: #0f9e82;
    --mc-header-gold: #f6c13d;
    --mc-header-gold-dark: #e8ae1f;
    --mc-header-text: #626b7d;
    --mc-header-hair: #e6ebf0;
    --mc-header-tint: #f2f8f6;
    font-family: 'Rubik', sans-serif;
}

.mc-header *,
.mc-header *::before,
.mc-header *::after,
.mc-drawer *,
.mc-drawer *::before,
.mc-drawer *::after {
    box-sizing: border-box;
}

.mc-header ul,
.mc-header li,
.mc-drawer ul,
.mc-drawer li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mc-header a,
.mc-drawer a {
    color: inherit;
    font: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mc-header button,
.mc-drawer button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.mc-header a:focus-visible,
.mc-header button:focus-visible,
.mc-drawer a:focus-visible,
.mc-drawer button:focus-visible {
    outline: 2px solid var(--mc-header-focus);
    outline-offset: 3px;
    border-radius: 8px;
}

.mc-drawer a:focus-visible,
.mc-drawer button:focus-visible,
.mc-header-top a:focus-visible,
.mc-header--on-dark .mc-header-bar a:focus-visible,
.mc-header--on-dark .mc-header-bar button:focus-visible {
    outline-color: var(--mc-header-mint);
}

.main-header.mc-header {
    position: relative;
    z-index: 999;
    box-shadow: none;
    transition: none;
    color: var(--mc-header-ink);
}

.mc-header-top {
    display: none;
    background: var(--mc-header-ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
    line-height: 1.3;
}

.mc-header-top-in,
.mc-header-bar-in {
    display: flex;
    align-items: center;
    padding: 0 14px;
}

.mc-header-top-in {
    justify-content: space-between;
    gap: 20px;
    height: 36px;
}

.mc-header-info {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.mc-header-info li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.mc-header-info svg {
    flex: none;
    width: 15px;
    height: 15px;
    color: var(--mc-header-mint);
}

.mc-header-info a:hover {
    color: #fff;
}

.mc-header-social {
    display: flex;
    gap: 2px;
}

.mc-header-social a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.mc-header-social a:hover {
    color: var(--mc-header-mint);
}

.mc-header-bar {
    position: relative;
    z-index: 2;
    background: #fff;
    border-bottom: 1px solid var(--mc-header-hair);
    box-shadow: 0 6px 20px rgba(2, 48, 71, 0.06);
}

.mc-header-bar-in {
    gap: 10px;
    height: 60px;
}

.mc-header-logo {
    flex: none;
    display: block;
}

.mc-header-logo img {
    display: block;
    width: auto;
    max-width: none;
    height: 26px;
}

.mc-header-nav {
    display: none;
}

.mc-header .mc-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: none;
    height: 40px;
    margin-left: auto;
    padding: 0 14px;
    border-radius: 999px;
    background-color: var(--mc-header-gold) !important;
    color: var(--mc-header-ink) !important;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.mc-header .mc-header-cta:hover {
    background-color: var(--mc-header-gold-dark) !important;
    color: var(--mc-header-ink) !important;
}

.mc-header-cta svg {
    flex: none;
}

.mc-header-cta-full {
    display: none;
}

.mc-header-burger {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--mc-header-hair) !important;
    border-radius: 12px;
    background: #fff !important;
    color: var(--mc-header-ink) !important;
}

.mc-header-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.mc-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--mc-header-hair);
    box-shadow: 0 6px 20px rgba(2, 48, 71, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
}

.fixed-header .mc-header-sticky {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s;
}

.mc-header--on-dark .mc-header-bar {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
    color: #fff;
}

.mc-header--on-dark .mc-header-bar .mc-header-burger {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
    color: #fff !important;
}

.mc-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mc-nav-chevron {
    flex: none;
    transition: transform 0.2s ease;
}

@media (max-width: 359px) {
    .mc-header-bar-in {
        gap: 8px;
        padding: 0 12px;
    }

    .mc-header-logo img {
        height: 24px;
    }

    .mc-header .mc-header-cta {
        padding: 0 12px;
    }

    .mc-header-cta svg {
        display: none;
    }
}

@media (min-width: 375px) {
    .mc-header-logo img {
        height: 28px;
    }
}

@media (min-width: 390px) {
    .mc-header-top-in,
    .mc-header-bar-in {
        padding: 0 16px;
    }

    .mc-header-logo img {
        height: 30px;
    }
}

@media (min-width: 414px) {
    .mc-header-logo img {
        height: 32px;
    }
}

@media (min-width: 768px) {
    .mc-header-top {
        display: block;
    }

    .mc-header-top-in,
    .mc-header-bar-in {
        padding: 0 24px;
    }

    .mc-header-bar-in {
        gap: 16px;
        height: 64px;
    }

    .mc-header-logo img {
        height: 32px;
    }

    .mc-header .mc-header-cta {
        height: 44px;
        padding: 0 20px;
        gap: 8px;
        font-size: 15px;
    }

    .mc-header-cta-full {
        display: inline;
    }

    .mc-header-cta-short {
        display: none;
    }

    .mc-header-sticky .mc-header-bar-in {
        height: 64px;
    }
}

@media (min-width: 1200px) {
    .mc-header-top-in,
    .mc-header-bar-in {
        padding: 0 clamp(24px, 3vw, 56px);
    }

    .mc-header-bar-in {
        gap: 20px;
        height: 86px;
    }

    .mc-header-logo img {
        height: 38px;
    }

    .mc-header-burger {
        display: none;
    }

    .mc-header-nav {
        display: flex;
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .mc-header .mc-header-cta {
        height: 46px;
        margin-left: 0;
    }

    .mc-header-sticky .mc-header-bar-in {
        height: 64px;
    }

    .mc-header-sticky .mc-header-logo img {
        height: 30px;
    }

    .mc-header-sticky .mc-header-cta {
        height: 42px;
    }

    .mc-nav--bar {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .mc-nav--bar > .mc-nav-item {
        position: relative;
    }

    .mc-nav--bar > .mc-nav-item + .mc-nav-item::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -5px;
        width: 1px;
        height: 18px;
        margin-top: -9px;
        background: #dde3ea;
    }

    .mc-header--on-dark .mc-header-bar .mc-nav--bar > .mc-nav-item + .mc-nav-item::before {
        background: rgba(255, 255, 255, 0.28);
    }

    .mc-nav--bar > .mc-nav-item > .mc-nav-link {
        position: relative;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.3;
        white-space: nowrap;
    }

    .mc-nav--bar > .mc-nav-item > a.mc-nav-link:hover,
    .mc-nav--bar > .has-drop:hover > .mc-nav-link,
    .mc-nav--bar > .has-drop.is-open > .mc-nav-link {
        background: var(--mc-header-tint);
    }

    .mc-header--on-dark .mc-header-bar .mc-nav--bar > .mc-nav-item > a.mc-nav-link:hover,
    .mc-header--on-dark .mc-header-bar .mc-nav--bar > .has-drop:hover > .mc-nav-link,
    .mc-header--on-dark .mc-header-bar .mc-nav--bar > .has-drop.is-open > .mc-nav-link {
        background: rgba(255, 255, 255, 0.12);
    }

    .mc-nav--bar .mc-nav-chevron {
        color: var(--mc-header-text);
    }

    .mc-header--on-dark .mc-header-bar .mc-nav--bar .mc-nav-chevron {
        color: rgba(255, 255, 255, 0.7);
    }

    .mc-nav--bar > .has-drop:hover .mc-nav-chevron,
    .mc-nav--bar > .has-drop.is-open .mc-nav-chevron {
        transform: rotate(180deg);
    }

    .mc-nav--bar > .is-current > .mc-nav-link {
        font-weight: 600;
    }

    .mc-nav--bar > .is-current > .mc-nav-link::after {
        content: "";
        position: absolute;
        left: 12px;
        bottom: 2px;
        width: 22px;
        height: 3px;
        border-radius: 2px;
        background: var(--mc-header-gold);
    }

    .mc-nav--bar .mc-nav-drop {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        z-index: 5;
        display: none;
        min-width: 240px;
        padding: 8px;
        border: 1px solid var(--mc-header-hair);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(2, 48, 71, 0.12);
        color: var(--mc-header-ink);
    }

    .mc-nav--bar .mc-nav-drop::before {
        content: "";
        position: absolute;
        top: -11px;
        left: 0;
        right: 0;
        height: 11px;
    }

    .mc-nav--bar > .has-drop:hover > .mc-nav-drop,
    .mc-nav--bar > .has-drop:focus-within > .mc-nav-drop,
    .mc-nav--bar > .has-drop.is-open > .mc-nav-drop {
        display: block;
    }

    .mc-nav--bar > .has-drop.is-closed > .mc-nav-drop {
        display: none;
    }

    .mc-nav--bar .mc-nav-drop a,
    .mc-nav--bar .mc-nav-drop span {
        display: block;
        padding: 11px 14px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.3;
        white-space: nowrap;
    }

    .mc-nav--bar .mc-nav-drop a:hover {
        background: var(--mc-header-tint);
    }

    .mc-nav--bar .mc-nav-drop .is-current > a {
        color: var(--mc-header-focus);
        font-weight: 600;
    }

    .mc-nav--bar .mc-nav-sub {
        margin: 0 0 4px 14px;
        padding-left: 10px;
        border-left: 2px solid var(--mc-header-hair);
    }

    .mc-nav--bar .mc-nav-sub a {
        padding: 8px 12px;
        font-size: 14px;
        color: var(--mc-header-text);
    }
}

@media (min-width: 1440px) {
    .mc-header-bar-in {
        gap: 24px;
    }

    .mc-header-logo img {
        height: 40px;
    }

    .mc-header-sticky .mc-header-logo img {
        height: 32px;
    }

    .mc-nav--bar > .mc-nav-item > .mc-nav-link {
        padding: 10px 16px;
    }

    .mc-nav--bar > .is-current > .mc-nav-link::after {
        left: 16px;
    }
}

.mc-drawer-lock,
.mc-drawer-lock body {
    overflow: hidden;
}

.mc-drawer {
    position: fixed;
    inset: 0;
    z-index: 1040;
    visibility: hidden;
    transition: visibility 0s linear 0.3s;
}

.mc-drawer.is-open {
    visibility: visible;
    transition: visibility 0s;
}

.mc-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 48, 71, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mc-drawer.is-open .mc-drawer-backdrop {
    opacity: 1;
}

.mc-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(100%, 420px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 32px;
    background: var(--mc-header-ink);
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mc-drawer.is-open .mc-drawer-panel {
    transform: none;
}

.mc-drawer-panel::before {
    content: "";
    position: absolute;
    left: -200px;
    bottom: -200px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(11, 210, 181, 0.16), rgba(11, 210, 181, 0));
    pointer-events: none;
}

.mc-drawer-panel > * {
    position: relative;
}

.mc-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mc-drawer-head img {
    display: block;
    width: auto;
    height: 28px;
}

.mc-drawer-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px;
    color: #fff;
}

.mc-drawer-nav {
    padding: 8px 16px 0;
}

.mc-nav--drawer > .mc-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mc-nav--drawer > .mc-nav-item > .mc-nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    color: #fff;
}

.mc-nav--drawer .mc-nav-chevron {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.mc-nav--drawer > .is-open .mc-nav-chevron {
    transform: rotate(180deg);
    color: var(--mc-header-mint);
}

.mc-nav--drawer > .is-current > .mc-nav-link {
    color: var(--mc-header-mint);
}

.mc-nav--drawer .mc-nav-drop {
    display: none;
    margin: -4px 0 12px;
    padding-left: 14px;
    border-left: 2px solid rgba(11, 210, 181, 0.5);
}

.mc-nav--drawer > .is-open > .mc-nav-drop {
    display: block;
}

.mc-nav--drawer .mc-nav-drop a,
.mc-nav--drawer .mc-nav-drop span {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.78);
}

.mc-nav--drawer .mc-nav-drop a:hover,
.mc-nav--drawer .mc-nav-drop .is-current > a {
    color: var(--mc-header-mint);
}

.mc-nav--drawer .mc-nav-sub {
    padding-left: 14px;
}

.mc-drawer .mc-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 32px);
    height: 52px;
    margin: 22px 16px 0;
    border-radius: 999px;
    background-color: var(--mc-header-gold) !important;
    color: var(--mc-header-ink) !important;
    font-size: 16px;
    font-weight: 600;
}

.mc-drawer .mc-drawer-cta:hover {
    background-color: var(--mc-header-gold-dark) !important;
    color: var(--mc-header-ink) !important;
}

.mc-drawer-contact {
    margin: 26px 16px 0;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.mc-drawer-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
}

.mc-drawer-contact > ul:first-of-type {
    display: grid;
    gap: 10px;
}

.mc-drawer-contact > ul:first-of-type li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mc-drawer-contact svg {
    flex: none;
    margin-top: 2px;
    color: var(--mc-header-mint);
}

.mc-drawer-contact a:hover {
    color: #fff;
}

.mc-drawer-social {
    display: flex;
    gap: 8px;
    margin-top: 18px !important;
}

.mc-drawer-social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    font-size: 16px;
    color: #fff;
}

.mc-drawer-social a:hover {
    border-color: var(--mc-header-mint);
    color: var(--mc-header-mint);
}

@media (prefers-reduced-motion: reduce) {
    .mc-header-sticky,
    .fixed-header .mc-header-sticky,
    .mc-drawer,
    .mc-drawer-backdrop,
    .mc-drawer-panel,
    .mc-nav-chevron {
        transition: none;
    }
}
