/* ==========================================================================
   FOOTER.CSS — Footer 4 colonne + copyright + CTA banner
   ========================================================================== */

/* ── CTA Banner ── */

.cta-banner {
    background: var(--gf-orange);
    color: var(--gf-white);
    padding: 48px 0;
    text-align: center;
}

.cta-banner__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gf-white);
}

.cta-banner__subtitle {
    font-size: 14px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.gf-btn--outline-white {
    display: inline-block;
    background: transparent;
    color: var(--gf-white);
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--gf-border-radius);
    border: 2px solid var(--gf-white);
    transition: all var(--gf-transition);
    cursor: pointer;
}

.gf-btn--outline-white:hover {
    background: var(--gf-white);
    color: var(--gf-orange);
}

/* ── Footer ── */

.site-footer {
    background: var(--gf-black);
    color: var(--gf-gray-300);
    padding: 48px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
}

.footer-col h4 {
    color: var(--gf-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-col p,
.footer-col a {
    font-size: 13px;
    color: var(--gf-gray-300);
    line-height: 1.7;
    display: block;
    margin-bottom: 4px;
}

.footer-col a:hover {
    color: var(--gf-orange);
}

/* Etichette inline nei dati legali (P.IVA, REA, ecc.) */

.footer-col .footer-legal-label {
    display: inline-block;
    color: var(--gf-gray-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
    font-weight: 500;
}

.footer-col p {
    margin-bottom: 8px;
}

/* Logo nel footer */

.footer-logo {
    color: var(--gf-white);
    font-size: 20px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: flex-end;
}

.footer-logo .logo-great,
.footer-logo .logo-food {
    color: var(--gf-white);
}

.footer-logo .logo-great {
    border-bottom-color: var(--gf-orange);
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-payoff {
    font-size: 13px;
    color: var(--gf-gray-300);
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Social */

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gf-gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--gf-transition);
    margin: 0;
}

.footer-social a:hover {
    background: var(--gf-orange);
}

.footer-social svg {
    width: 14px;
    height: 14px;
    color: var(--gf-white);
}

/* Contact items */

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-contact-item svg {
    width: 14px;
    height: 14px;
    color: var(--gf-orange);
    flex-shrink: 0;
}

.footer-contact-item a {
    display: inline;
}

/* Bottom bar */

.footer-bottom {
    border-top: 1px solid var(--gf-gray-900);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gf-gray-500);
}

.footer-legal a {
    display: inline;
    margin-left: 20px;
    font-size: 12px;
    color: var(--gf-gray-500);
}

.footer-legal a:hover {
    color: var(--gf-orange);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .cta-banner__title {
        font-size: 18px;
    }

    .gf-btn--outline-white {
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-legal {
        margin-top: 4px;
    }

    .footer-legal a {
        margin-left: 12px;
    }
}
