.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(12, 28, 44, 0.08);
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

.header-topbar {
    overflow-x: auto;
    background: linear-gradient(180deg, #111820 0%, #1b2430 100%);
    border-bottom: 1px solid rgba(30, 164, 239, 0.22);
}

.header-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
}

.utility-nav {
    display: flex;
    align-items: stretch;
    min-width: max-content;
}

.utility-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.88);
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.utility-link:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-link:hover,
.utility-link:focus-visible {
    color: #d9f0ff;
    background: rgba(31, 159, 255, 0.12);
}

.header-brand-band {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 253, 255, 0.99) 56%, rgba(243, 249, 255, 0.98) 100%);
    border-bottom: 1px solid rgba(17, 48, 69, 0.08);
}

.brand-shell {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 88px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
}

.logo-link .logo,
.site-header .logo {
    display: block;
    width: auto;
    height: 144px;
    margin-top: -14px;
    margin-bottom: -12px;
}

.brand-support {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-left: auto;
    padding-left: 18px;
}

.brand-support-copy {
    margin: 0;
    color: #122334;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(19, 168, 230, 0.24);
    border-radius: 999px;
    background: rgba(241, 249, 255, 0.92);
    color: #0f79cc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.header-nav-band {
    background: linear-gradient(180deg, rgba(239, 248, 255, 0.98) 0%, rgba(251, 253, 255, 0.98) 100%);
    border-top: 1px solid rgba(30, 164, 239, 0.08);
    border-bottom: 1px solid rgba(30, 164, 239, 0.16);
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: 56px;
    gap: 0;
}

.nav-panel {
    width: 100%;
}

.site-nav {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    margin-left: 0;
}

.site-nav > a,
.nav-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    color: #101c28;
    background: transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-trigger:hover,
.nav-trigger:focus-visible {
    color: #0f79cc;
    background: rgba(31, 159, 255, 0.08);
}

.nav-home-link {
    justify-content: center;
    width: 50px;
    padding: 0;
    color: #0f79cc;
}

.nav-home-icon {
    display: block;
    width: 18px;
    height: 18px;
}

.nav-item-has-panel {
    position: relative;
}

.nav-chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.18s ease;
}

.nav-item-has-panel:hover .nav-chevron,
.nav-item-has-panel:focus-within .nav-chevron {
    transform: rotate(225deg) translateY(-1px);
}

.mega-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: min(430px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid rgba(16, 32, 48, 0.1);
    border-top: 3px solid #13a8e6;
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 22px 44px rgba(18, 37, 63, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-quality-menu .mega-menu {
    width: min(520px, calc(100vw - 32px));
}

.nav-item-has-panel:hover .mega-menu,
.nav-item-has-panel:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mega-card {
    display: block;
    min-height: 0;
    padding: 12px;
    border: 1px solid #d8e3ee;
    border-radius: 8px;
    color: #102132;
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.mega-card:hover,
.mega-card:focus-visible {
    color: #0f79cc;
    border-color: rgba(19, 168, 230, 0.34);
    background: #f4f9ff;
}

@media (max-width: 820px) {
    .header-topbar-inner {
        justify-content: center;
    }

    .utility-nav {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
    }

    .utility-link {
        min-height: 42px;
        padding: 0 12px;
        font-size: 12px;
    }

    .brand-shell {
        min-height: 76px;
    }

    .logo-link .logo,
    .site-header .logo {
        height: 112px;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .brand-support {
        display: none;
    }

    .header-inner {
        min-height: 0;
        padding: 6px 0;
    }

    .site-nav {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .site-nav > a,
    .nav-trigger {
        min-height: 44px;
        padding: 0 12px;
        font-size: 13px;
    }

    .nav-home-link {
        width: 44px;
    }

    .mega-menu {
        width: min(88vw, 360px);
        padding: 10px;
    }

    .nav-quality-menu .mega-menu {
        left: auto;
        right: 0;
        width: min(88vw, 380px);
    }

    .mega-menu-cards {
        grid-template-columns: 1fr;
    }
}
