

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

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    width: 100%;

    background: rgba(255, 255, 255, 0.92);

    border-bottom: 1px solid #eeeeec;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


.site-header__inner {
    width: min(1240px, calc(100% - 64px));

    min-height: 76px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


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

.site-header__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__logo-mark img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 100%;
    object-fit: contain;
}


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

.site-header__nav {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
    margin-right: 32px;
}


.site-header__nav a {
    position: relative;

    color: #4f4d4b;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;

    text-decoration: none;

    transition: color 0.2s ease;
}


.site-header__nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 100%;
    height: 1px;

    background: #76518b;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.25s ease;
}


.site-header__nav a:hover {
    color: #76518b;
}


.site-header__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================
   CONTACT BUTTON
========================================= */

.site-header__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 20px;

    border-radius: 7px;

    background: #76518b;

    color: #ffffff;

    font-size: 13px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none;

    box-shadow:
        0 6px 18px rgba(118, 81, 139, 0.16);

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


.site-header__contact:hover {
    color: #ffffff;

    background: #68467c;

    transform: translateY(-1px);

    box-shadow:
        0 8px 22px rgba(118, 81, 139, 0.22);
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.site-header__menu {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.site-header__menu span {
    display: block;

    width: 21px;
    height: 1px;

    margin: 5px auto;

    background: #1c1c1c;
}


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

@media (max-width: 800px) {

    .site-header__inner {
        width: calc(100% - 40px);
    }

    .site-header__nav {
        gap: 22px;
        margin-right: 20px;
    }

}


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

@media (max-width: 650px) {

    .site-header__inner {
        width: calc(100% - 32px);

        min-height: 68px;
    }


    .site-header__logo-name {
        font-size: 13px;
    }


    .site-header__nav,
    .site-header__contact {
        display: none;
    }


    .site-header__menu {
        display: block;

        margin-left: auto;
    }

}





.site-header .contact-dropdown__menu {
    top: calc(100% + 10px);
    bottom: auto;
}







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

.mobile-menu {
    display: none;
}


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

@media (max-width: 650px) {

    .site-header__inner {
        width: calc(100% - 32px);
        min-height: 68px;
    }

    .site-header__logo-name {
        font-size: 13px;
    }

    .site-header__nav,
    .site-header__contact {
        display: none;
    }

    .site-header__menu {
        display: flex;

        margin-left: auto;

        position: relative;
        z-index: 1002;

        width: 32px;
        height: 32px;

        padding: 0;

        border: 0;
        background: transparent;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;

        cursor: pointer;
    }

    .site-header__menu span {
        display: block;

        width: 22px;
        height: 1.5px;

        background: #1d2c3d;

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


    /* =========================================
       MOBILE MENU OPEN
    ========================================= */

    .mobile-menu {
        display: flex;

        position: fixed;

        top: 68px;
        left: 0;

        width: 100%;
        height: calc(100vh - 68px);

        padding: 50px 24px;

        background: #fff;

        flex-direction: column;
        justify-content: space-between;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;

        z-index: 1000;

        overflow-y: auto;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }


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

    .mobile-menu__nav {
        display: flex;

        flex-direction: column;

        gap: 0;
    }

    .mobile-menu__nav a {
        display: block;

        padding: 18px 0;

        border-bottom: 1px solid #ece9ec;

        color: #1d2c3d;

        font-size: 24px;
        line-height: 1.2;
        font-weight: 500;

        text-decoration: none;
    }

    .mobile-menu__nav a:first-child {
        border-top: 1px solid #ece9ec;
    }


    /* =========================================
       CONTACTS
    ========================================= */

    .mobile-menu__contact {
        padding-top: 40px;
    }

    .mobile-menu__label {
        display: block;

        margin-bottom: 16px;

        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;

        color: #765087;
    }

    .mobile-menu__links {
        display: flex;
        flex-wrap: wrap;

        gap: 10px;
    }

    .mobile-menu__links a {
        display: inline-flex;

        padding: 10px 14px;

        border: 1px solid #ded9df;
        border-radius: 30px;

        color: #1d2c3d;

        font-size: 13px;
        text-decoration: none;
    }


    /* =========================================
       BURGER → CLOSE
    ========================================= */

    .site-header__menu.is-open span:first-child {
        transform: translateY(3.75px) rotate(45deg);
    }

    .site-header__menu.is-open span:last-child {
        transform: translateY(-3.75px) rotate(-45deg);
    }

}