/* ============================================
   FOOTER - Elio.solar
   ============================================ */

.site-footer {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Main Section */
.site-footer .footer-main {
    position: relative;
    padding: 48px 24px;
    z-index: 1;
    border-bottom: none;
}

.site-footer .footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Columns */
.site-footer .footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Brand */
.site-footer .footer-brand {
    gap: 12px;
}

.site-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.site-footer .footer-logo-img {
    height: 32px;
    width: auto;
}

.site-footer .footer-brand-name {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.site-footer .footer-tagline {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.site-footer .footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Headings */
.site-footer .footer-heading {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 16px 0;
}

/* Links */
.site-footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer .footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 200ms ease-out;
    display: inline-block;
    font-size: 14px;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus {
    color: #ffffff;
    transform: translateX(4px);
}

/* Contact */
.site-footer .footer-contact-company {
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
    font-size: 14px;
}

.site-footer .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer .footer-contact-item i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    text-align: center;
}

.site-footer .footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 200ms ease-out;
}

.site-footer .footer-contact-item a:hover,
.site-footer .footer-contact-item a:focus {
    color: #ffffff;
}

/* CTA Column */
.site-footer .footer-cta-col {
    gap: 24px;
}

.site-footer .footer-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: #10b981;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 250ms ease-out;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.site-footer .footer-cta-button:hover,
.site-footer .footer-cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    background-color: #059669;
    color: #ffffff;
    text-decoration: none;
}

.site-footer .footer-cta-button i {
    font-size: 16px;
}

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

.site-footer .footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer .footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    text-decoration: none;
    transition: all 250ms ease-out;
}

.site-footer .footer-social-links a:hover,
.site-footer .footer-social-links a:focus {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: scale(1.1);
}

.site-footer .footer-social-links i {
    font-size: 16px;
}

/* Made in Italy */
.site-footer .made-in-italy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.05);
}

.site-footer .italy-flag {
    font-size: 16px;
    line-height: 1;
}

.site-footer .badge-text {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* Bottom Bar */
.site-footer .footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.site-footer .footer-bottom-content {
    max-width: 1280px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer .footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.site-footer .footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.site-footer .footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 200ms ease-out;
}

.site-footer .footer-legal-links a:hover,
.site-footer .footer-legal-links a:focus {
    color: #ffffff;
}

.site-footer .footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

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

/* Tablet */
@media (max-width: 1023px) {
    .site-footer .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .site-footer .footer-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .site-footer .footer-cta-col {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer .footer-nav {
        grid-column: 1;
        grid-row: 2;
    }

    .site-footer .footer-contact-col {
        grid-column: 2;
        grid-row: 2;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .site-footer .footer-main {
        padding: 36px 20px;
    }

    .site-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer .footer-column {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .site-footer .footer-brand { order: 1; }
    .site-footer .footer-cta-col { order: 2; }
    .site-footer .footer-nav { order: 3; }
    .site-footer .footer-contact-col { order: 4; }

    .site-footer .footer-cta-button {
        padding: 12px 20px;
        font-size: 13px;
    }

    .site-footer .footer-bottom {
        padding: 14px 20px;
    }

    .site-footer .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .site-footer .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        order: 1;
    }

    .site-footer .footer-copyright {
        order: 2;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .site-footer .footer-main {
        padding: 28px 16px;
    }

    .site-footer .footer-bottom {
        padding: 12px 16px;
    }

    .site-footer .footer-logo {
        gap: 8px;
    }

    .site-footer .footer-brand-name {
        font-size: 18px;
    }

    .site-footer .footer-social-links a {
        width: 34px;
        height: 34px;
    }

    .site-footer .footer-social-links i {
        font-size: 14px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .site-footer .footer-menu a,
    .site-footer .footer-contact-item a,
    .site-footer .footer-cta-button,
    .site-footer .footer-social-links a {
        transition: none;
    }
}

/* Print */
@media print {
    .site-footer {
        display: none;
    }
}
