:root {
    --site-header-bg: #fbf8f2;
    --site-header-text: #38322a;
    --site-header-line: rgba(56, 50, 42, .14);
}

body.site-menu-open {
    overflow: hidden;
}

.page-container,
.page-wrapper,
.search-page {
    padding-top: 106px;
}

.status-page {
    padding-top: 146px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 106px;
    background: rgba(251, 248, 242, .97);
    color: var(--site-header-text);
    border-top: 3px solid var(--site-header-text);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header__top {
    position: relative;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    border-bottom: 1px solid var(--site-header-line);
}

.site-wordmark,
.site-menu-panel__brand {
    color: var(--site-header-text);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 400;
    letter-spacing: .24em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.site-wordmark {
    font-size: 1.45rem;
    white-space: nowrap;
}

.site-menu-toggle {
    position: absolute;
    left: 32px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--site-header-text);
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-size: .63rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.site-menu-toggle__icon,
.site-menu-toggle__icon::after {
    width: 19px;
    height: 1px;
    display: block;
    background: currentColor;
}

.site-menu-toggle__icon {
    position: relative;
}

.site-menu-toggle__icon::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
}

.site-header__actions {
    position: absolute;
    top: 50%;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 22px;
    transform: translateY(-50%);
}

.site-header .lang-switch,
.site-menu-panel .lang-switch {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transform: none;
}

.site-header .lang-switch::before,
.site-menu-panel .lang-switch::before {
    display: none;
}

.site-header .lang-option,
.site-header .lang-separator,
.site-menu-panel .lang-option,
.site-menu-panel .lang-separator {
    color: rgba(56, 50, 42, .5);
    font-family: "DM Sans", sans-serif;
    font-size: .62rem;
    font-weight: 400;
    letter-spacing: .14em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.site-header .lang-option.active,
.site-menu-panel .lang-option.active {
    color: var(--site-header-text);
}

.site-phone {
    min-width: 160px;
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid var(--site-header-text);
    background: var(--site-header-text);
    color: var(--site-header-bg);
    font-family: "DM Sans", sans-serif;
    font-size: .67rem;
    font-weight: 500;
    letter-spacing: .17em;
    line-height: 1;
    text-decoration: none;
}

.site-desktop-nav {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 3.3vw, 55px);
    padding: 0 230px;
}

.site-desktop-nav a {
    color: rgba(56, 50, 42, .65);
    font-family: "DM Sans", sans-serif;
    font-size: .57rem;
    font-weight: 400;
    letter-spacing: .19em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-desktop-nav a:hover,
.site-menu-links a:hover {
    color: #ad9162;
}

.site-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1490;
    visibility: hidden;
    background: rgba(30, 27, 23, .58);
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}

.site-menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1500;
    width: min(440px, 92vw);
    display: flex;
    flex-direction: column;
    background: var(--site-header-bg);
    color: var(--site-header-text);
    transform: translateX(-101%);
    transition: transform .35s ease;
}

.site-menu-open .site-menu-overlay {
    visibility: visible;
    opacity: 1;
}

.site-menu-open .site-menu-panel {
    transform: translateX(0);
}

.site-menu-panel__header {
    min-height: clamp(62px, 9vh, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 38px;
    border-bottom: 1px solid var(--site-header-line);
}

.site-menu-panel__brand {
    font-size: 1.05rem;
}

.site-menu-close {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid var(--site-header-line);
    border-radius: 50%;
    background: transparent;
    color: var(--site-header-text);
    cursor: pointer;
}

.site-menu-close::before,
.site-menu-close::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 12px;
    width: 15px;
    height: 1px;
    background: currentColor;
    transform: rotate(45deg);
}

.site-menu-close::after {
    transform: rotate(-45deg);
}

.site-menu-links {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0;
    padding: clamp(8px, 1.5vh, 14px) 38px;
    overflow: hidden;
}

.site-menu-links a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: clamp(7px, 1.25vh, 11px) 0;
    color: var(--site-header-text);
    text-decoration: none;
}

.site-menu-links strong {
    color: var(--site-header-text);
    font-family: "DM Sans", sans-serif;
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.25;
}

.site-menu-links span {
    color: rgba(56, 50, 42, .58);
    font-family: "DM Sans", sans-serif;
    font-size: .72rem;
    font-weight: 300;
    letter-spacing: .01em;
    line-height: 1.35;
}

.site-menu-panel__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: clamp(14px, 2.2vh, 20px) 38px clamp(16px, 2.5vh, 24px);
    border-top: 1px solid var(--site-header-line);
    font-family: "DM Sans", sans-serif;
}

.site-menu-panel__footer > span {
    color: #ad9162;
    font-size: .55rem;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.site-menu-panel__footer > a {
    color: var(--site-header-text);
    font-size: .85rem;
    text-decoration: none;
}

.site-menu-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 3px 0 5px;
}

.site-menu-socials a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--site-header-line);
    border-radius: 50%;
    color: rgba(56, 50, 42, .55);
}

@media (max-height: 650px) {
    .site-menu-panel__header {
        min-height: 58px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-menu-panel__brand {
        font-size: .92rem;
    }

    .site-menu-links {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .site-menu-links a {
        gap: 1px;
        padding: 5px 0;
    }

    .site-menu-links strong {
        font-size: .74rem;
    }

    .site-menu-links span {
        font-size: .65rem;
    }

    .site-menu-panel__footer {
        gap: 5px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .site-menu-socials {
        margin: 1px 0 2px;
    }

    .site-menu-socials a {
        width: 26px;
        height: 26px;
    }
}

.site-menu-socials svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.25;
}

.site-menu-socials a:hover {
    color: var(--site-header-text);
}

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

    .site-header__top {
        height: 65px;
        padding: 0 20px;
    }

    .site-menu-toggle {
        left: 20px;
    }

    .site-menu-toggle span:last-child,
    .site-desktop-nav,
    .site-header__actions .site-phone {
        display: none;
    }

    .site-wordmark {
        max-width: calc(100vw - 150px);
        font-size: clamp(.8rem, 3.5vw, 1.05rem);
        letter-spacing: .17em;
        white-space: normal;
        text-align: center;
    }

    .site-header__actions {
        right: 20px;
        gap: 0;
    }

    .page-container,
    .page-wrapper,
    .search-page {
        padding-top: 68px;
    }

    .status-page {
        padding-top: 108px;
    }
}

@media (max-width: 480px) {
    .site-header__top {
        padding: 0 14px;
    }

    .site-menu-toggle {
        left: 14px;
    }

    .site-header__actions {
        right: 14px;
    }

    .site-wordmark {
        max-width: calc(100vw - 132px);
        font-size: .75rem;
    }

    .site-menu-panel__header,
    .site-menu-links,
    .site-menu-panel__footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}
