.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container-wide {
    max-width: var(--container-wide);
}

.page-main {
    padding-top: 44px;
    padding-bottom: 60px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    color: var(--text);
}

.site-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    white-space: nowrap;
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.site-nav a {
    position: relative;
    color: #667085;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.locale-switcher {
    display: inline-flex;
    align-items: center;
}

.locale-select {
    min-width: 88px;
    min-height: 44px;
    padding: 0 38px 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #7f8c8d 50%),
        linear-gradient(135deg, #7f8c8d 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.locale-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(68, 189, 50, 0.10);
}

.header-burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.header-burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #1f2937;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-burger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.header-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.header-burger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.section-subnav {
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.subnav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.subnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.subnav a:hover {
    color: var(--accent);
    background: rgba(68, 189, 50, 0.06);
}

.subnav a.is-active {
    color: var(--accent);
    border-color: rgba(68, 189, 50, 0.18);
    background: rgba(68, 189, 50, 0.08);
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-brand p {
    margin: 8px 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent);
}