.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0)
        ),
        rgba(27, 32, 38, 0.94);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-header .site-container {
    width: min(100% - 32px, var(--layout-width));
    margin: 0 auto;
}

.site-header__inner {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--color-text);

    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;

    text-decoration: none;
}

.site-brand span {
    color: var(--color-gold);
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header__nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 14px;

    color: var(--color-muted);

    border-radius: 10px;

    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.site-header__nav a:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.045);
}

.site-header__nav a:active {
    transform: translateY(1px);
}

.site-header__contact {
    color: #111315 !important;
    background: var(--color-gold);
}

.site-header__contact:hover {
    color: #111315 !important;
    background: #e2c188 !important;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.site-header__menu-button {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    padding: 0;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.site-header__menu-button:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.site-header__menu-button span {
    width: 21px;
    height: 2px;

    display: block;

    background: #ffffff;

    border-radius: 999px;

    transition:
        transform 0.22s ease,
        opacity 0.18s ease;
}

.site-header__menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================
   MOBILE FLOATING MENU
========================= */

.mobile-menu {
    position: fixed;
    top: 78px;
    right: 14px;
    z-index: 999;

    width: min(82vw, 320px);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0)
        ),
        rgba(24, 29, 34, 0.98);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.38);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translateY(-12px)
        scale(0.96);

    transform-origin: top right;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}

.mobile-menu__inner {
    width: 100%;

    display: flex;
    flex-direction: column;

    padding: 10px;
}

.mobile-menu__inner a {
    display: flex;
    align-items: center;

    min-height: 48px;

    padding: 0 14px;

    color: #ffffff;

    border-radius: 10px;

    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.mobile-menu__inner a:hover {
    background: rgba(255, 255, 255, 0.055);

    color: var(--color-gold);

    transform: translateX(3px);
}

.mobile-menu__inner a + a {
    margin-top: 4px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {
    .site-header .site-container {
        width: min(100% - 24px, var(--layout-width));
    }

    .site-header__inner {
        min-height: 60px;
        gap: 14px;
    }

    .site-brand {
        font-size: 0.95rem;
        letter-spacing: 0.04em;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__menu-button {
        display: flex;
    }

    .mobile-menu {
        top: 70px;
        right: 12px;

        width: min(82vw, 290px);
    }
}


/* =========================
   DESKTOP
========================= */

@media (min-width: 701px) {
    .mobile-menu {
        display: none;
    }
}