/* =========================================================
   NATIONAL EXTERIOR ACCESS
   GLOBAL HEADER
========================================================= */


/* =========================================================
   GLOBAL RESET
========================================================= */

.nea-global-header,
.nea-global-header__announcement {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #020202;
}

.nea-global-header *,
.nea-global-header *::before,
.nea-global-header *::after,
.nea-global-header__announcement *,
.nea-global-header__announcement *::before,
.nea-global-header__announcement *::after {
    box-sizing: border-box;
}

.nea-global-header a {
    text-decoration: none;
}


/* =========================================================
   ANNOUNCEMENT BAR
   Normal document flow — NOT sticky
========================================================= */

.nea-global-header__announcement {
    position: relative;
    z-index: 5001;

    background: #b70707;
    color: #ffffff;
}

.nea-global-header__announcement-inner {
    width: 100%;
    min-height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    padding: 7px 20px;

    text-align: center;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;

    text-transform: uppercase;
}

.nea-global-header__announcement-first {
    display: inline;
}


/* =========================================================
   HEADER ROOT
   Sticky header — announcement remains above and scrolls away
========================================================= */

.nea-global-header {
    position: sticky;
    top: 0;
    z-index: 5000;

    background: #ffffff;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.nea-global-header__main {
    width: 100%;

    background: #ffffff;

    border-bottom: none;

    box-shadow:
        0 6px 10px -8px rgba(19, 31, 57, 0.08),
        0 14px 24px -14px rgba(146, 25, 25, 0.18);
}

.nea-global-header__inner {
    width: min(100%, 1400px);
    min-height: 106px;

    margin: 0 auto;

    padding:
        0 clamp(32px, 5vw, 80px);

    display: flex;
    align-items: center;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.nea-global-header__logo-link {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}

.nea-global-header__logo {
    display: block;

    width: 230px;
    height: auto;
    max-height: 82px;

    object-fit: contain;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.nea-global-header__desktop-nav {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: clamp(24px, 2.6vw, 46px);
}

.nea-global-header__desktop-nav > a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    color: #020202;

    font-size: 18px;
    font-weight: 400;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.nea-global-header__desktop-nav > a:not(
    .nea-global-header__catalog-desktop
)::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: 4px;

    height: 2px;

    background: #921919;

    transition: right 0.22s ease;
}

.nea-global-header__desktop-nav > a:not(
    .nea-global-header__catalog-desktop
):hover::after {
    right: 0;
}


/* =========================================================
   CATALOG — DESKTOP
========================================================= */

.nea-global-header__catalog-desktop {
    padding: 12px 22px;

    border-radius: 999px;

    background: #921919;
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    box-shadow:
        0 6px 16px rgba(146, 25, 25, 0.20);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

.nea-global-header__catalog-desktop:hover {
    background: #C5132F;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(146, 25, 25, 0.24);
}


/* =========================================================
   CATALOG — MOBILE / TABLET
========================================================= */

.nea-global-header__catalog-mobile {
    display: none;

    align-items: center;
    justify-content: center;

    padding: 9px 16px;

    border-radius: 999px;

    background: #921919;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 5px 14px rgba(146, 25, 25, 0.16);
}


/* =========================================================
   HAMBURGER
========================================================= */

.nea-global-header__toggle {
    display: none;

    position: relative;

    width: 44px;
    height: 44px;

    margin-left: auto;
    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-shrink: 0;
}

.nea-global-header__toggle span {
    position: absolute;

    left: 8px;

    width: 28px;
    height: 2px;

    background: #131F39;

    border-radius: 2px;

    transition:
        top 0.25s ease,
        transform 0.25s ease,
        opacity 0.2s ease;
}

.nea-global-header__toggle span:nth-child(1) {
    top: 13px;
}

.nea-global-header__toggle span:nth-child(2) {
    top: 21px;
}

.nea-global-header__toggle span:nth-child(3) {
    top: 29px;
}


/* Hamburger → X */

.nea-global-header.is-menu-open
.nea-global-header__toggle span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.nea-global-header.is-menu-open
.nea-global-header__toggle span:nth-child(2) {
    opacity: 0;
}

.nea-global-header.is-menu-open
.nea-global-header__toggle span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
   Lives inside the sticky header
========================================================= */

.nea-global-header__mobile-menu {
    display: none;

    overflow: hidden;

    max-height: 0;

    background: #ffffff;

    border-bottom:
        1px solid rgba(19, 31, 57, 0.1);

    transition:
        max-height 0.35s ease;
}

.nea-global-header.is-menu-open
.nea-global-header__mobile-menu {
    max-height: 500px;
}

.nea-global-header__mobile-nav {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 4px;

    padding: 18px 24px 28px;
}

.nea-global-header__mobile-nav a {
    width: auto;

    display: inline-flex;
    justify-content: flex-end;

    padding: 12px 4px;

    color: #131F39;

    font-size: 19px;
    font-weight: 400;

    border-bottom: none;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.nea-global-header__mobile-nav a:hover {
    color: #921919;

    transform: translateX(-4px);
}


/* =========================================================
   ACTIVE PAGE
========================================================= */

.nea-global-header__desktop-nav > a.is-active:not(
    .nea-global-header__catalog-desktop
) {
    color: #921919;
}

.nea-global-header__desktop-nav > a.is-active:not(
    .nea-global-header__catalog-desktop
)::after {
    right: 0;
}

.nea-global-header__mobile-nav a.is-active {
    color: #921919;
    font-weight: 700;
}

.nea-global-header__catalog-desktop.is-active,
.nea-global-header__catalog-mobile.is-active {
    background: #C5132F;

    box-shadow:
        0 8px 22px rgba(146, 25, 25, 0.28);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .nea-global-header__announcement-inner {
        min-height: 31px;

        font-size: 10px;
    }

    .nea-global-header__inner {
        min-height: 83px;

        padding:
            0 clamp(22px, 4vw, 42px);

        gap: 18px;
    }

    .nea-global-header__logo {
        width: 170px;
        max-height: 62px;
    }

    .nea-global-header__desktop-nav {
        display: none;
    }

    .nea-global-header__catalog-mobile {
        display: inline-flex;

        margin-left: auto;
    }

    .nea-global-header__toggle {
        display: block;

        margin-left: 4px;
    }

    .nea-global-header__mobile-menu {
        display: block;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .nea-global-header__announcement-inner {
        min-height: 52px;

        flex-direction: column;

        gap: 0;

        padding: 7px 20px;

        font-size: 12px;
        font-weight: 600;
        line-height: 1.25;
    }

    .nea-global-header__inner {
        min-height: 100px;

        padding:
            0 18px;

        gap: 10px;
    }

    .nea-global-header__logo {
        width: 170px;
        max-height: 70px;
    }

    .nea-global-header__catalog-mobile {
        padding:
            9px 13px;

        font-size: 12px;
    }

    .nea-global-header__toggle {
        width: 42px;
        height: 42px;
    }

    .nea-global-header__mobile-nav {
        padding:
            10px 20px 28px;
    }

    .nea-global-header__mobile-nav a {
        padding:
            15px 0;

        font-size: 20px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .nea-global-header__inner {
        padding:
            0 12px;

        gap: 7px;
    }

    .nea-global-header__logo {
        width: 145px;
    }

    .nea-global-header__catalog-mobile {
        padding:
            8px 11px;

        font-size: 11px;
    }

    .nea-global-header__toggle {
        width: 38px;
        height: 40px;
    }

    .nea-global-header__toggle span {
        left: 7px;

        width: 25px;
    }

}