.footer {
    margin-top: auto;
    padding: 0.55rem clamp(0.75rem, 2.6vw, 1rem);
    background: #2c2416;
    color: #f5f0e8;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    min-height: 0;
}

.footer-title {
    margin: 0;
    text-align: center;
    font-family:
        'Marck Script',
        'Segoe UI',
        system-ui,
        -apple-system,
        sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    /* как заголовок в шапке */
    font-size: clamp(1.15rem, 2.2vw, 1.75rem);
    color: #fff;
}

.footer-split {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    min-height: 3.2rem;
}

.footer-left {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding-right: clamp(0.75rem, 3vw, 1.25rem);
    text-align: right;
}

.footer-vrule {
    width: 1px;
    flex: 0 0 auto;
    background: rgba(168, 212, 164, 0.4);
    align-self: stretch;
}

.footer-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: clamp(0.75rem, 3vw, 1.25rem);
}

.footer-left p,
.footer-left a {
    margin: 0;
    font-size: 0.84rem;
    color: #e8dcc8;
}

.footer-left a {
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.footer-left a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.45);
}

.social-links.social-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.social-links.social-vertical a {
    font-size: 0.82rem;
    color: #f5f0e8;
    text-decoration: none;
    padding: 0.32rem 0.6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.social-links.social-vertical a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.footer-hrule {
    height: 1px;
    width: 100%;
    background: rgba(168, 212, 164, 0.35);
}

.footer-copy {
    margin: auto 0 0;
    padding: 0;
    font-family:
        'Marck Script',
        'Segoe UI',
        system-ui,
        -apple-system,
        sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 2.2vw, 1.08rem);
    color: rgba(245, 240, 232, 0.75);
    text-align: center;
}

@media (max-width: 420px) {
    .footer-left {
        text-align: left;
    }
}
