/**
 * LAYOUT / FOOTER
 * -----------------------------------------------------------------------------
 * Pie oscuro: marca + redes, tres columnas de enlaces y barra legal.
 */

.site-footer {
    background: var(--navy-footer);
    color: #9fb0c4;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Marca ------------------------------------------------------------- */

.footer-brand .site-logo {
    margin-bottom: 18px;
}

.footer-brand__text {
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    max-width: 270px;
    margin-bottom: var(--space-md);
    color: #9fb0c4;
}

/* --- Redes sociales ---------------------------------------------------- */

.footer-social {
    display: flex;
    gap: 11px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--surface-on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c3d0e0;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--blue);
    color: var(--white);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

/* --- Columnas ---------------------------------------------------------- */

.footer-title {
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-md);
    color: var(--white);
    margin-bottom: 18px;
}

.footer-links {
    display: grid;
    gap: 11px;
}

.footer-links a {
    color: #9fb0c4;
    font-size: var(--fs-base);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blue-light);
}

/* --- Datos de contacto ------------------------------------------------- */

.footer-contact {
    display: grid;
    gap: var(--space-sm);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    font-size: var(--fs-base);
    color: #9fb0c4;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--blue-light);
}

.footer-contact a:hover {
    color: var(--blue-light);
}

/* --- Barra legal ------------------------------------------------------- */

.footer-bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    font-size: var(--fs-sm);
    color: #6c8098;
}

.footer-bottom a:hover {
    color: var(--blue-light);
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 1000px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 700px) {

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
}
