/* ═══════════════════════════════════════════════════
   Шапка сайта
═══════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
    background: rgba(24, 15, 10, 0.96);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(255, 244, 226, 0.07);
    box-shadow: 0 12px 28px rgba(20, 11, 7, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
}

/* ── Логотип / бренд ── */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    padding: 2px;
    border-radius: 80%;
    background: rgba(249, 238, 214, 0.97);
    border: 2px solid rgba(255, 230, 190, 0.35);
    box-shadow: 0 8px 22px rgba(20, 11, 7, 0.18);
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
}

.brand-text {
    display: grid;
    gap: 3px;
}

.brand-text strong {
    font-size: 1.25rem;
    color: #f7e9cf;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.brand-text small {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 233, 207, 0.56);
}

/* ── Навигация ── */
.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: rgba(247, 233, 207, 0.8);
}

.site-nav a {
    position: relative;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.22s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-soft);
    border-radius: 999px;
    transition: width 0.25s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #fff;
}

/* ── Бургер-кнопка ── */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(247, 233, 207, 0.14);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-icon-open,
.nav-icon-close {
    display: block;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
}

.nav-icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-icon-close {
    display: block;
}

.nav-toggle span {
    display: none;
}

/* ── Кнопки ── */
.btn,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover,
.nav-cta:hover,
.btn:focus-visible,
.nav-cta:focus-visible {
    transform: translateY(-3px);
}

.btn-primary,
.nav-cta {
    color: #1a130f;
    background: linear-gradient(135deg, #f0ca7a 0%, #d4944a 60%, #c07832 100%);
    box-shadow: 0 4px 18px rgba(214, 148, 74, 0.38), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 8px 28px rgba(214, 148, 74, 0.52), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-cta {
    min-height: 40px;
    padding: 0 16px;
    color: #f8ead2;
    background: rgba(214, 175, 107, 0.1);
    border-color: rgba(214, 175, 107, 0.28);
    box-shadow: none;
}

.nav-cta:hover {
    background: rgba(214, 175, 107, 0.22);
    border-color: rgba(214, 175, 107, 0.5);
    box-shadow: 0 4px 16px rgba(214, 175, 107, 0.18);
}

.btn-secondary {
    color: #f8ead2;
    border-color: rgba(255, 244, 226, 0.28);
    background: rgba(255, 244, 226, 0.04);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 244, 226, 0.1);
    border-color: rgba(255, 244, 226, 0.5);
}

/* ── Панели ── */
.panel {
    background: rgba(255, 248, 234, 0.76);
    border: 1px solid rgba(255, 245, 224, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.panel-dark {
    background: rgba(214, 175, 107, 0.035);
    border-color: rgba(214, 175, 107, 0.12);
    backdrop-filter: blur(7px);
    box-shadow: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

