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

.footer {
    background-color: var(--footer-background);
    padding: 40px 20px 30px;
    margin-top: auto;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
    gap: 20px;
    text-align: center;
}

/* ── Social ──────────────────────────────────────────────── */

.footer__social-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

.footer__social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer__social-list a:hover {
    background-color: var(--color-primario);
    border-color: var(--color-primario);
}

/* ── Nav ─────────────────────────────────────────────────── */

.footer__nav .footer__links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__nav .footer__links a {
    font-family: var(--tipografia-base);
    font-size: var(--tamanio-pequenio);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__nav .footer__links a:hover {
    color: #ffffff;
}

/* ── Copyright ───────────────────────────────────────────── */

.footer__copyright {
    font-family: var(--tipografia-base);
    font-size: var(--tamanio-pequenio);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   MOBILE (≤ 800px)
   ========================================= */

@media (max-width: 800px) {
    .footer {
        padding: 32px 16px 24px;
    }

    .footer__nav .footer__links {
        gap: 16px;
    }
}
