/**
 * FOOTER STYLES
 * Piè di pagina del sito
 */

/* ============================================================
   FOOTER CONTAINER
   ============================================================ */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   MAIN FOOTER
   ============================================================ */
.footer-main {
    padding: 50px 0 40px;
}

.footer-main .footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Brand Column */
.footer-brand {
    padding-right: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    margin: 16px 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #999;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    color: #fff;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: #c8102e;
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER COLUMNS
   ============================================================ */
.footer-column {
    min-width: 0;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8102e;
    display: inline-block;
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* Footer Contacts */
.footer-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contacts svg {
    flex-shrink: 0;
    color: #c8102e;
}

.footer-contacts a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: #fff;
}

.footer-contacts span {
    color: #999;
}

/* ============================================================
   BOTTOM FOOTER
   ============================================================ */
.footer-bottom {
    background: #111;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* Copyright */
.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* Legal Links */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal a {
    color: #777;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

/* Payment Methods */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.footer-payments img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-payments img:hover {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .footer-main .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-main .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-title {
        display: block;
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 2px;
        background: #c8102e;
        margin: 10px auto 0;
    }

    .footer-contacts li {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-payments {
        flex-wrap: wrap;
        justify-content: center;
    }
}
