/* EXOON — Single source of truth for site navigation */

.site-header,
.site-header * {
    box-sizing: border-box;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 88px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #efedea;
    backdrop-filter: blur(12px);
}

.site-header .nav-wrap {
    width: min(1160px, calc(100% - 56px));
    height: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.site-header .brand {
    display: flex;
    flex: 0 0 155px;
    width: 155px;
    height: 58px;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.site-header .brand img {
    display: block;
    width: 155px;
    max-width: none;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.site-header .main-nav {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 27px;
    margin: 0;
    padding: 0;
}

.site-header .main-nav > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: max-content;
    margin: 0;
    padding: 10px 0;
    color: #302f2f;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.site-header .main-nav > a:hover,
.site-header .main-nav > a.active {
    color: #CF7C1A;
}

.site-header .main-nav > .nav-contact {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 116px;
    width: auto;
    height: 44px;
    margin: 0;
    padding: 0 19px;
    color: #fff;
    background: #F89520;
    border: 1px solid #F89520;
    border-radius: 5px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.site-header .main-nav > .nav-contact:hover {
    color: #fff;
    background: #CF7C1A;
    border-color: #CF7C1A;
}

.site-header .menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.site-header .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #302F2F;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.site-header .menu-toggle.is-active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.site-header .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.site-header .menu-toggle.is-active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {
    .site-header {
        height: 70px;
    }

    .site-header .nav-wrap {
        width: calc(100% - 40px);
    }

    .site-header .brand {
        flex-basis: 140px;
        width: 140px;
        height: 52px;
    }

    .site-header .brand img {
        width: 140px;
        max-height: 52px;
    }

    .site-header .menu-toggle {
        display: flex;
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px 22px 22px;
        margin: 0;
        background: #fff;
        box-shadow: 0 16px 25px rgba(0,0,0,.09);
    }

    .site-header .main-nav.is-open {
        display: flex;
    }

    .site-header .main-nav > a {
        display: flex;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        padding: 15px 4px;
        border-bottom: 1px solid #efedea;
        font-size: 13px;
    }

    .site-header .main-nav > .nav-contact {
        width: 100%;
        min-width: 0;
        height: 44px;
        justify-content: center;
        margin-top: 14px;
        padding: 0 18px;
        border: 0;
    }
}

/* Identical navigation typography on every page */
.site-header .main-nav,
.site-header .main-nav > a {
    font-family: 'DM Sans', sans-serif !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.site-header .main-nav > a:not(.nav-contact),
.site-header .main-nav > a:not(.nav-contact).active,
.site-header .main-nav > a:not(.nav-contact):hover {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.site-header .main-nav > .nav-contact,
.site-header .main-nav > .nav-contact:hover {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
