/* ───── Footer ───── */
footer {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-divider);
    padding: 48px 0 24px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--color-divider);
}

.footer-col-group {
    display: contents;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0 0 16px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-brand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 28px;   /* no divider glyphs — items separated by whitespace alone */
    font-size: 13px;
    color: var(--color-text-secondary);
}

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

.footer-meta a:hover {
    color: var(--color-brand);
}

.footer-bottom-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-locale {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.footer-locale:hover {
    background-color: var(--color-divider);
}

.footer-locale svg {
    width: 14px;
    height: 14px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-social {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social:hover {
    background-color: var(--color-divider);
    color: var(--color-brand);
}

.footer-social svg,
.footer-social img {
    width: 22px;
    height: 22px;
}

@media (max-width: 949px) {
    .footer-cols {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-col-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 743px) {
    .footer-bottom { flex-direction: column; align-items: center; }
    .footer-bottom-actions { order: -1; }
    .footer-meta { flex-wrap: wrap; justify-content: center; }
    .footer-meta > span:first-child { width: 100%; text-align: center; order: 1; }
}
