.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: #FDF2E1;
    box-sizing: border-box;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: #DBCCB5;
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: calc(var(--content-max-width) + 2 * var(--page-inline));
    height: 100%;
    margin-inline: auto;
    padding-inline: var(--page-inline);
    box-sizing: border-box;
}

.site-header__logo {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.site-header__logo img {
    display: block;
    width: 153px;
    height: auto;
}

.site-header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.site-header__burger-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
}

.site-header__burger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.4px;
    border-radius: 999px;
    background: #2E0D0D;
    transition:
        top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease;
}

.site-header__burger-line:nth-child(1) { top: 0; }
.site-header__burger-line:nth-child(2) { top: 6.3px; }
.site-header__burger-line:nth-child(3) { top: 12.6px; }

.site-header.is-menu-open .site-header__burger-line:nth-child(1) {
    top: 6.3px;
    transform: rotate(45deg);
}

.site-header.is-menu-open .site-header__burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
}

.site-header.is-menu-open .site-header__burger-line:nth-child(3) {
    top: 6.3px;
    transform: rotate(-45deg);
}

.site-header__backdrop {
    display: none;
}

.site-header__panel {
    display: flex;
    align-items: center;
    margin-left: auto;
    min-width: 0;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header__dropdown {
    position: relative;
}

.site-header__dropdown:hover .site-header__menu,
.site-header__dropdown:focus-within .site-header__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -21px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 221px;
    padding: 22px 21px;
    border: 1px solid #000;
    border-radius: 20px;
    background: #FDF2E1;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-header__menu-inner {
    display: flex;
    flex-direction: column;
}

.site-header__menu a {
    color: #1F1413;
    font-family: var(--second-family);
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
    white-space: nowrap;
    transition: color var(--ease-ui);
}

.site-header__menu a:hover {
    color: var(--color-brand);
}

.site-header__link,
.site-header__lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #1F1413;
    font-family: var(--font-family);
    font-size: 19px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--ease-ui);
}

.site-header__link:hover,
.site-header__lang:hover {
    color: var(--color-brand);
}

.site-header__chevron {
    display: block;
    width: 7px;
    height: 4px;
    flex-shrink: 0;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
    margin-left: 40px;
}

.site-header__lang-wrap {
    position: relative;
}

.site-header__lang-wrap.is-open .site-header__lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__lang-wrap.is-open .site-header__chevron {
    transform: rotate(180deg);
}

.site-header__lang .site-header__chevron {
    transition: transform 0.2s ease;
}

.site-header__lang-menu {
    left: auto;
    right: -12px;
    min-width: 96px;
    padding: 14px 18px;
}

.site-header__lang-menu a.is-active {
    color: var(--color-brand);
}

.site-header__lang-switch {
    display: none;
    align-items: center;
    gap: 8px;
    color: #1F1413;
    font-family: var(--font-family);
    font-size: 19px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.site-header__lang-link {
    color: #1F1413;
    transition: color var(--ease-ui);
}

.site-header__lang-link:hover {
    color: var(--color-brand);
}

.site-header__lang-link.is-active {
    color: var(--color-brand);
    font-weight: 600;
    pointer-events: none;
}

.site-header__lang-sep {
    color: #1F1413;
    opacity: 0.4;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 149px;
    height: 42px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #AA3036;
    color: #FDF2E1;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    appearance: none;
    transition: background-color var(--ease-ui);
}

.site-header__cta:hover {
    background: var(--color-brand-hover);
}

/* ——— Contact modal ——— */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 25, 25, 0.65);
    cursor: pointer;
}

.contact-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(320px, 560px);
    width: 100%;
    max-width: 1040px;
    max-height: min(820px, calc(100vh - 48px));
    max-height: min(820px, calc(100dvh - 48px));
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-sizing: border-box;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    opacity: 0.9;
    transition: opacity var(--ease-ui), background-color var(--ease-ui);
}

.contact-modal__close:hover {
    opacity: 1;
}

.contact-modal__close img {
    display: block;
    width: 24px;
    height: 24px;
}

.contact-modal__media {
    position: relative;
    min-width: 0;
    min-height: 0;
    background: #f3e6d4;
}

.contact-modal__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-modal__panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 40px 48px 36px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
}

.contact-modal__title {
    margin: 0 0 22px;
    padding-right: 36px;
    color: #151515;
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
}

.contact-modal__panel .contacts-form {
    flex: 1;
}

.contact-modal__panel .contacts-form__input--area {
    height: 120px;
    min-height: 120px;
}

.contact-modal__panel .contacts-form__submit {
    margin-top: 4px;
}

.contact-modal__panel .contacts-form__submit-text {
    min-width: 220px;
    height: 52px;
    font-size: 18px;
}

.contact-modal__panel .contacts-form__submit-icon {
    width: 45px;
    height: 52px;
}
