/* Footer */
.site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border-light);
    margin-top: var(--space-3xl);
}

.footer-main {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: var(--space-2xl);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer-column h4 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-base);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-md);
}

.footer-column a {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

/* Footer bottom */
.footer-bottom {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-2xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-base);
}

.footer-copyright {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.footer-copyright a {
    color: var(--color-text-secondary);
}

.footer-copyright a:hover {
    color: var(--color-text);
}

.footer-copyright .dot {
    width: 3px;
    height: 3px;
    border-radius: var(--radius-full);
    background: var(--color-text-secondary);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: var(--space-base);
}

.footer-social a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: opacity var(--transition-fast);
}

.footer-social a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Menú legal del pie (aviso legal · privacidad · cookies), en línea con el copyright. */
.footer-legal {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
