:root {
    --mh-ink: #0b2547;
    --mh-blue: #123a60;
    --mh-lime: #b7f044;
    --mh-line: #e5ebf0;
    --mh-muted: #64748b;
    --mh-font: 'DM Sans', Arial, sans-serif;
    --mh-display: 'Manrope', 'DM Sans', sans-serif;
}

/* GLOBAL SITE HEADER */
.mh3-header {
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.6vw, 42px);
    border-bottom: 1px solid var(--mh-line);
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(12,38,67,.045);
    font-family: var(--mh-font);
    color: var(--mh-ink);
}

.mh3-header a {
    text-decoration: none;
    color: inherit;
}

.mh3-shell .mh3-header {
    margin: 0 calc(clamp(22px,4.3vw,76px) * -1);
    padding: 0 clamp(22px,4.3vw,76px);
}

.mh3-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mh3-seal {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.mh3-brand-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mh3-brand-name img {
    width: 168px;
    max-height: 38px;
    object-fit: contain;
    object-position: left;
}

.mh3-brand-name small {
    font-size: 10px;
    color: #65748a;
    font-weight: 600;
}

.mh3-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.mh3-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 15px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.mh3-nav a span {
    font-size: 18px;
    min-width: 18px;
    text-align: center;
}

.mh3-nav a.active,
.mh3-nav a:hover {
    background: var(--mh-ink);
    color: #fff;
}

.mh3-search-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid #dce5ec;
    border-radius: 50%;
    background: #f7f9fb;
    color: #173a5b;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex: none;
}

.mh3-search-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mh3-search {
    display: none;
    position: absolute;
    right: 14px;
    top: calc(100% + 8px);
    z-index: 150;
    width: min(360px, calc(100vw - 28px));
    padding: 8px;
    border: 1px solid #e0e8ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(13,39,68,.18);
    gap: 7px;
}

.mh3-search.is-open {
    display: flex;
}

.mh3-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: #f4f7fa;
    border-radius: 10px;
    padding: 12px;
    font: 500 13px var(--mh-font);
    color: var(--mh-ink);
}

.mh3-search button {
    border: 0;
    border-radius: 10px;
    background: #173a5b;
    color: #fff;
    padding: 0 14px;
    font: 700 12px var(--mh-font);
    cursor: pointer;
}

.mh3-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mh3-icon-link {
    font-size: 23px;
    line-height: 1;
    width: 34px;
    height: 38px;
    display: grid;
    place-items: center;
}

.mh3-header-actions .mh3-icon-link svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mh3-menu-toggle {
    display: none;
}

/* MOBILE */
@media (max-width: 1200px) {
    .mh3-header {
        gap: 14px;
    }

    .mh3-nav a {
        padding: 10px 9px;
        font-size: 12px;
    }

    .mh3-brand-name img {
        width: 145px;
    }
}

@media (max-width: 850px) {
    .mh3-header {
        min-height: 72px;
    }

    .mh3-nav,
    .mh3-menu-toggle {
        display: none !important;
    }

    .mh3-header-actions {
        display: flex !important;
    }

    .mh3-search-toggle {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 600px) {
    .mh3-header {
        min-height: 64px;
        gap: 9px;
    }

    .mh3-shell .mh3-header {
        margin: 0 -14px;
        padding: 0 14px;
    }

    .mh3-seal {
        width: 38px;
        height: 38px;
    }

    .mh3-brand {
        gap: 7px;
    }

    .mh3-brand-name img {
        width: 118px;
        max-height: 28px;
    }

    .mh3-brand-name small {
        font-size: 8px;
    }

    .mh3-header-actions {
        display: flex !important;
        margin-left: auto;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .mh3-header {
        gap: 8px;
    }

    .mh3-brand-name img {
        width: 104px;
    }

    .mh3-header-actions {
        gap: 5px;
    }
}
