.site-header {
    position: relative;
    z-index: 200;
}

.site-header__inner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px clamp(20px, 4.2vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
}

.site-header.is-fixed .site-header__inner {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ===== Лого ===== */

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header__brand-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header__brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-header__brand-title {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 0.9;
    color: var(--color-black);
}

.site-header__brand-subtitle {
    font-family: var(--font-serif);
    font-size: 12px;
    line-height: 0.9;
    color: var(--color-black);
}

/* ===== Навигация ===== */

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

.site-header__nav-link {
    color: var(--color-black);
    font-family: var(--font-sans);
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.site-header__nav-link:hover {
    color: var(--color-active);
}

/* ===== Контакты + кнопка ===== */

.site-header__right {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.site-header__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.site-header__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-black);
    white-space: nowrap;
}

.site-header__contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.site-header__contact-text {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.3;
}

.site-header__contact--phone .site-header__contact-text {
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 100px;
    background: var(--color-active);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.site-header__cta:hover {
    background: #61262a;
}

/* ===== Бургер ===== */

.site-header__burger {
    display: none;
    position: relative;
    z-index: 210;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.site-header__burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-black);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header__burger.is-active span:nth-child(2) {
    opacity: 0;
}
.site-header__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Мобильное меню (offcanvas) ===== */

.site-header__mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    padding: 90px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 205;
    overflow-y: auto;
}
.site-header__mobile-menu.is-open {
    transform: translateX(0);
}

.site-header__mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(122, 48, 53, 0.08);
    color: var(--color-active);
    cursor: pointer;
    transition: background 0.2s ease;
}
.site-header__mobile-close svg {
    width: 18px;
    height: 18px;
}
.site-header__mobile-close:hover {
    background: rgba(122, 48, 53, 0.16);
}

.site-header__mobile-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-size: 15px;
}

.site-header__mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.site-header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 204;
}
.site-header__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ===== Адаптив ===== */

@media (max-width: 1199px) {
    .site-header__nav,
    .site-header__right {
        display: none;
    }
    .site-header__burger {
        display: flex;
    }
}
