.site-footer {
    background: var(--pe-nav-bg, rgba(255, 255, 255, 0.94));
    border-top: 1px solid var(--pe-border, rgba(15, 49, 38, 0.14));
    color: var(--pe-text-muted, #60736b);
    margin-top: 56px;
}

.site-footer__inner {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1280px;
    min-height: 82px;
    padding: 18px 28px;
}

.site-footer__copyright {
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.3;
    margin: 0;
}

.site-footer__links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    justify-content: center;
}

.site-footer__links a {
    border-radius: 6px;
    color: var(--pe-text, #10251d);
    font-size: 0.88rem;
    font-weight: 820;
    line-height: 1.3;
    padding: 4px 0;
    text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: var(--pe-green, #0f7a46);
    outline: none;
}

.site-footer__social {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.site-footer__social-link {
    align-items: center;
    background: var(--pe-surface-soft, rgba(238, 246, 241, 0.92));
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--pe-text-muted, #60736b);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    width: 36px;
}

.site-footer__social-link svg {
    height: 18px;
    width: 18px;
}

.site-footer .visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
    background: rgba(15, 122, 70, 0.1);
    border-color: rgba(15, 122, 70, 0.22);
    color: var(--pe-green, #0f7a46);
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 840px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 0;
        padding: 22px 18px;
        text-align: center;
    }

    .site-footer__social {
        justify-content: center;
    }
}
