/* --- FOOTER STYLING --- */
.site-footer {
    background-color: #050505; /* Nero quasi assoluto */
    padding: 6rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Linea Neon Decorativa in alto */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.5;
    box-shadow: 0 0 15px var(--neon-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Colonna destra leggermente più larga per il testo lungo */
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.footer-desc, .footer-text {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-text strong {
    color: var(--text-white);
}

/* Blocco Social */
.footer-social-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex; /* Si adatta al contenuto */
}

.social-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.social-link:hover {
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--neon-green);
    transform: translateY(-3px);
}

/* Footer Bottom & Back to Top */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.copyright {
    font-size: 0.85rem;
    color: #666;
}

/* Pulsante Freccia Su (Neon) */
.back-to-top-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    background: transparent;
}

.back-to-top-btn:hover {
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--neon-green);
    transform: translateY(-5px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-social-block {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        border-radius: 20px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }
}