/* ==========================================================
   FOOTER
   Coerente con layout.css e header.css
   ========================================================== */

.site-footer {
    padding: 80px 24px 40px;
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ----------------------------------------------------------
   COLUMNS
   ---------------------------------------------------------- */

.footer-inner {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

/* ----------------------------------------------------------
   BRAND
   ---------------------------------------------------------- */

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-description {
    margin-top: 10px;
    opacity: 0.85;
}

/* ----------------------------------------------------------
   LISTS
   ---------------------------------------------------------- */

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 8px;
}

/* ----------------------------------------------------------
   LINKS
   Non forziamo colore globale,
   usiamo inherit per rispettare footer_text_color
   ---------------------------------------------------------- */

.site-footer a {
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.site-footer a:hover {
    opacity: 1;
}

/* ----------------------------------------------------------
   BOTTOM
   ---------------------------------------------------------- */

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    opacity: 0.8;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        margin-top: 40px;
    }
}
