/* ==========================================================================
   FOOTER — 4 colonne (brand + linee + assistenza + azienda) + bottom bar.
   ========================================================================== */

.site-footer {
    background-color: var(--color-bg-darker);
    color: var(--color-on-dark);
    padding-block: var(--space-16);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Brand column ---------- */
.site-footer__brand .site-logo__wordmark {
    width: 150px;
}

.site-footer__about {
    color: #a3a3a3; /* neutral-400 */
    font-weight: var(--fw-light);
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
    margin-block: var(--space-6);
}

.social-list {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-line-700);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-on-dark);
    transition: color var(--transition-base), border-color var(--transition-base);
}

.social-link:hover,
.social-link:focus-visible {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ---------- Link columns ---------- */
.site-footer__col-title {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-on-dark);
    margin-bottom: var(--space-6);
}

.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.site-footer__list a {
    color: #a3a3a3;
    font-size: var(--fs-base);
    font-weight: var(--fw-light);
    transition: color var(--transition-base);
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
    color: var(--color-brand);
}

/* ---------- Bottom bar ---------- */
.site-footer__bottom {
    border-top: 1px solid var(--color-line-800);
    padding-top: var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.site-footer__copy {
    color: #737373;
    font-size: var(--fs-xs);
    font-weight: var(--fw-light);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
}

.site-footer__legal a {
    color: #737373;
    font-size: var(--fs-xs);
    font-weight: var(--fw-light);
    transition: color var(--transition-base);
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
    color: var(--color-brand);
}

@media (min-width: 768px) {
    .site-footer__bottom {
        flex-direction: row;
    }
}
