/* ================================================================
   FOOTER
   ================================================================ */

.footer-custom {
    background: #e2e6ed;
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
    padding-bottom: 2rem;

    /* прижимаем к низу (sticky footer, body — flex column) */
    margin-top: auto;
    flex-shrink: 0;
}

.footer-custom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-custom a:hover { color: var(--text-primary); }

.footer-custom .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}
.footer-custom .social-icons a:hover {
    background: var(--accent-gradient);
    color: #fff;
}

/* ─── Колонки со ссылками ────────────────────────────────────── */
.footer-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.footer-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.footer-col-list li { min-width: 0; }

.footer-col-list a,
.footer-col-list .link-like {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.footer-col-list a:hover,
.footer-col-list .link-like:hover {
    color: var(--accent-emerald);
}

.footer-col-more {
    color: var(--accent-emerald) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.footer-bottom__note {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ─── link-like внутри футера ────────────────────────────────── */
.footer-custom .link-like {
    transition: color 0.2s ease;
}
.footer-custom .link-like:hover {
    color: var(--text-primary);
}