/*
 * Global Metal Ltd. — the single public-site header (layout revision 4).
 *
 * All component classes are intentionally prefixed with `gmh-` so the old
 * page-level header styles cannot change this component from page to page.
 */
:root {
    --gmh-height: 94px;
    --gmh-logo-width: 274px;
    --gmh-logo-height: 72px;
    --gmh-orange: #f58221;
    --gmh-orange-dark: #d5650a;
    --gmh-ink: #353a3d;
}

html {
    scroll-padding-top: var(--gmh-height) !important;
}

body > header.gmh-header {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    height: var(--gmh-height) !important;
    min-height: var(--gmh-height) !important;
    max-height: var(--gmh-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(23, 26, 28, .09) !important;
    background: rgba(250, 251, 249, .97) !important;
    box-shadow: 0 10px 34px rgba(24, 30, 33, .07) !important;
    backdrop-filter: blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
}

body > header.gmh-header.gmh-scrolled {
    background: rgba(255, 255, 255, .99) !important;
    box-shadow: 0 14px 42px rgba(24, 30, 33, .11) !important;
}

body > header.gmh-header > .gmh-inner {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--gmh-height) !important;
    min-height: var(--gmh-height) !important;
    max-height: var(--gmh-height) !important;
    margin: 0 auto !important;
    padding: 0 clamp(24px, 2.5vw, 48px) !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(48px, 7vw, 140px) !important;
    box-sizing: border-box !important;
}

body > header.gmh-header .gmh-logo {
    position: relative !important;
    flex: 0 0 var(--gmh-logo-width) !important;
    width: var(--gmh-logo-width) !important;
    min-width: var(--gmh-logo-width) !important;
    max-width: var(--gmh-logo-width) !important;
    height: var(--gmh-logo-height) !important;
    min-height: var(--gmh-logo-height) !important;
    max-height: var(--gmh-logo-height) !important;
    margin: 0 !important;
    padding: 6px 12px 6px 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid rgba(23, 26, 28, .08) !important;
    border-inline-start: 4px solid var(--gmh-orange) !important;
    border-radius: 14px 3px 14px 3px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(23, 26, 28, .055) !important;
    text-decoration: none !important;
}

body > header.gmh-header .gmh-logo-image {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

body > header.gmh-header .gmh-navigation {
    position: static !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: var(--gmh-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
}

body > header.gmh-header .gmh-list {
    width: auto !important;
    height: var(--gmh-height) !important;
    min-height: var(--gmh-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(22px, 1.65vw, 34px) !important;
    list-style: none !important;
}

body > header.gmh-header .gmh-item {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
    list-style: none !important;
}

body > header.gmh-header .gmh-link {
    position: relative !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 34px 0 29px !important;
    display: block !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--gmh-ink) !important;
    font-family: "Heebo", "Inter", Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-align: start !important;
    text-decoration: none !important;
    opacity: .86 !important;
}

html[lang="en"] body > header.gmh-header .gmh-link {
    font-family: "Inter", "Heebo", Arial, sans-serif !important;
    font-size: 16.5px !important;
}

body > header.gmh-header .gmh-link::after {
    content: "" !important;
    position: absolute !important;
    inset-inline: 0 !important;
    bottom: 19px !important;
    width: 100% !important;
    height: 2px !important;
    display: block !important;
    background: var(--gmh-orange) !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    transition: transform .22s ease !important;
}

body > header.gmh-header .gmh-link:hover,
body > header.gmh-header .gmh-link:focus-visible,
body > header.gmh-header .gmh-link.gmh-active {
    color: var(--gmh-orange-dark) !important;
    opacity: 1 !important;
}

body > header.gmh-header .gmh-link:hover::after,
body > header.gmh-header .gmh-link:focus-visible::after,
body > header.gmh-header .gmh-link.gmh-active::after {
    transform: scaleX(1) !important;
}

body > header.gmh-header .gmh-toggle {
    display: none !important;
}

@media (min-width: 901px) and (max-width: 1180px) {
    :root {
        --gmh-logo-width: 222px;
        --gmh-logo-height: 64px;
    }

    body > header.gmh-header > .gmh-inner {
        width: calc(100% - 30px) !important;
        padding: 0 !important;
        gap: 24px !important;
    }

    body > header.gmh-header .gmh-list {
        gap: clamp(10px, 1.2vw, 17px) !important;
    }

    body > header.gmh-header .gmh-link,
    html[lang="en"] body > header.gmh-header .gmh-link {
        font-size: 15.5px !important;
    }
}

@media (max-width: 900px) {
    :root {
        --gmh-height: 72px;
        --gmh-logo-width: min(58vw, 198px);
        --gmh-logo-height: 56px;
    }

    body.gmh-menu-open {
        overflow: hidden !important;
        touch-action: none !important;
    }

    body > header.gmh-header > .gmh-inner {
        width: 100% !important;
        max-width: none !important;
        padding: 0 14px !important;
        gap: 12px !important;
    }

    body > header.gmh-header .gmh-logo {
        padding: 5px 8px 5px 11px !important;
        border-radius: 12px 3px 12px 3px !important;
    }

    body > header.gmh-header .gmh-toggle {
        position: relative !important;
        z-index: 2 !important;
        flex: 0 0 46px !important;
        width: 46px !important;
        height: 46px !important;
        margin: 0 !important;
        margin-inline-start: auto !important;
        padding: 0 !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        border: 1px solid rgba(23, 26, 28, .14) !important;
        border-radius: 10px !important;
        background: #f7f7f7 !important;
        color: #202426 !important;
        box-shadow: none !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    body > header.gmh-header .gmh-toggle span {
        width: 23px !important;
        height: 2px !important;
        display: block !important;
        border-radius: 2px !important;
        background: currentColor !important;
        transition: transform 180ms ease, opacity 180ms ease !important;
    }

    body > header.gmh-header .gmh-toggle:focus-visible {
        outline: 3px solid rgba(245, 130, 33, .62) !important;
        outline-offset: 2px !important;
    }

    body > header.gmh-header .gmh-navigation {
        position: fixed !important;
        top: calc(var(--gmh-height) + 3px) !important;
        inset-inline: 12px !important;
        z-index: 1 !important;
        width: auto !important;
        height: auto !important;
        max-height: calc(100dvh - var(--gmh-height) - 19px) !important;
        margin: 0 !important;
        padding: 8px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 1px solid rgba(245, 130, 33, .3) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, .99) !important;
        box-shadow: 0 18px 50px rgba(0, 0, 0, .2) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) scale(.985) !important;
        transform-origin: top center !important;
        pointer-events: none !important;
        transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms !important;
    }

    body > header.gmh-header.gmh-open .gmh-navigation {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
        transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 0s !important;
    }

    body > header.gmh-header .gmh-list {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    body > header.gmh-header .gmh-item {
        width: 100% !important;
        white-space: normal !important;
    }

    body > header.gmh-header .gmh-item + .gmh-item {
        border-top: 1px solid #ececec !important;
    }

    body > header.gmh-header .gmh-link,
    html[lang="en"] body > header.gmh-header .gmh-link {
        width: 100% !important;
        min-height: 48px !important;
        padding: 13px 14px !important;
        font-size: 17px !important;
        line-height: 1.35 !important;
        opacity: 1 !important;
    }

    body > header.gmh-header .gmh-link::after {
        display: none !important;
    }

    body > header.gmh-header .gmh-link:hover,
    body > header.gmh-header .gmh-link:focus-visible,
    body > header.gmh-header .gmh-link.gmh-active {
        color: var(--gmh-orange-dark) !important;
        background: rgba(245, 130, 33, .10) !important;
        border-radius: 8px !important;
    }

    body > header.gmh-header.gmh-open .gmh-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    body > header.gmh-header.gmh-open .gmh-toggle span:nth-child(2) {
        opacity: 0 !important;
    }

    body > header.gmh-header.gmh-open .gmh-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }
}

@media (max-width: 480px) {
    :root {
        --gmh-height: 68px;
        --gmh-logo-width: min(58vw, 180px);
        --gmh-logo-height: 54px;
    }

    body > header.gmh-header .gmh-navigation {
        inset-inline: 8px !important;
    }
}
