.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: linear-gradient(180deg, rgba(76, 69, 58, 0.98), rgba(49, 45, 38, 0.98));
    border-top: 3px solid #c7a15f;
    box-shadow: 0 10px 28px rgba(22, 18, 12, 0.14);
}

.site-header .site-container {
    width: 100%;
    min-width: 0;
}

.site-header__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block: 10px;
    width: 100%;
    min-width: 0;
}

.site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.site-header__brandline {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.site-menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #d2ae6e 0%, #a6783f 100%);
    box-shadow: 0 8px 18px rgba(188, 143, 77, 0.32);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 0 auto;
    cursor: pointer;
    padding: 0;
}

.site-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform 180ms ease, opacity 180ms ease;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}

.site-brand__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.site-brand__title {
    font-size: 18px;
    line-height: 1.05;
    font-weight: 800;
    color: #fff8ee;
    overflow-wrap: anywhere;
}

.site-brand__subtitle {
    font-size: 11px;
    color: #d8c8ad;
    overflow-wrap: anywhere;
}

.site-nav {
    min-width: 0;
}

.site-nav--desktop {
    display: none;
}

.site-nav__link {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f1e7d7;
    font-size: 13px;
    font-weight: 600;
}

.site-nav__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.site-nav__link--accent {
    background: linear-gradient(180deg, #c8a162 0%, #a97a42 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.site-nav__link--accent:hover {
    background: linear-gradient(180deg, #d4af74 0%, #b18147 100%);
}

.site-accordion {
    width: 100%;
    min-width: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 10px;
}

.site-accordion[hidden] {
    display: none;
}

.site-accordion__nav {
    display: grid;
    gap: 8px;
}

.site-accordion__link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: #f3e9d8;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.site-accordion__link:hover {
    background: rgba(255,255,255,0.09);
}

.site-accordion__link--accent {
    background: linear-gradient(180deg, #c8a162 0%, #a97a42 100%);
    color: #fff;
}

.site-accordion__link--accent:hover {
    background: linear-gradient(180deg, #d4af74 0%, #b18147 100%);
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.site-footer {
    margin-top: 40px;
    padding: 28px 0 36px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, #f5efe6 0%, #efe7db 100%);
    overflow-x: hidden;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-width: 0;
}

.site-footer__title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

.site-footer__text,
.site-footer__list a,
.site-footer__meta {
    color: var(--text-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.site-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.site-footer__list a:hover {
    color: var(--text);
}

.site-footer__meta {
    margin-top: 10px;
}

@media (min-width: 768px) {
    .site-header__inner {
        gap: 14px;
        padding-block: 14px;
    }

    .site-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .site-brand__title {
        font-size: 21px;
    }

    .site-brand__subtitle {
        font-size: 12px;
    }

    .site-footer__grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 24px;
    }
}

@media (min-width: 1100px) {
    .site-header__inner {
        min-height: 78px;
        gap: 14px;
        padding-block: 14px;
    }

    .site-header__top {
        gap: 28px;
    }

    .site-menu-toggle {
        display: none;
    }

    .site-nav--desktop {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
        align-items: center;
        flex: 0 1 auto;
    }

    .site-nav__link {
        min-height: 42px;
        padding: 0 14px;
        font-size: 14px;
    }

    .site-accordion {
        display: none !important;
    }
}