/* ==========================================================================
   FOOTER (PREMIUM ANTRACITE)
   ========================================================================== */

/* Pre-Footer CTA */
.synergy-pre-footer-cta {
    background: #2a2a2a;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.pre-footer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(206,189,173,0.15) 0%, rgba(206,189,173,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.synergy-pre-footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}
.synergy-pre-footer-cta p {
    font-size: 1.1rem;
    color: #c0c0c0;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.btn-cta-glow {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(206,189,173,0.5);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-transform: uppercase;
}
.btn-cta-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(206,189,173,0.2), transparent);
    transition: all 0.4s ease;
}
.btn-cta-glow:hover {
    background: rgba(206,189,173,0.1);
    border-color: rgba(206,189,173,0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(206,189,173,0.15);
}
.btn-cta-glow:hover::before {
    left: 100%;
    transition: 0.8s;
}

/* Main Footer */
.synergy-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-noise {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}
.synergy-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Typography & Links */
.footer-col h3 {
    font-family: var(--font-headings, 'Cormorant Garamond', serif);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
}
.footer-col h4 {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.brand-desc {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    max-width: 90%;
}
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #c0c0c0;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.links-col li {
    margin-bottom: 15px;
}
.links-col a, .footer-contact-item a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}
.links-col a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: rgba(206,189,173,0.8);
    transition: width 0.3s ease;
}
.links-col a:hover, .footer-contact-item a:hover {
    color: #cebdad; /* Champagne */
    transform: translateX(4px);
}
.links-col a:hover::after {
    width: 100%;
}

.footer-contact-item {
    margin-bottom: 20px;
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.footer-contact-item p {
    margin: 0;
}
.footer-link-small {
    font-size: 0.85rem;
    color: #cebdad !important;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #888;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom a:hover {
    color: #fff;
}
.fb-right .sep {
    margin: 0 15px;
    opacity: 0.3;
}

/* ============================================
   SELETTORE LINGUA (tW Translate Plus)
   Pill segmentata coerente con .brand-badge
   ============================================ */
.fb-lang {
    display: flex;
    align-items: center;
}
.synergy-lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}
.synergy-lang-switch li {
    margin: 0;
}
.synergy-lang-switch .lang-opt {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 6px 15px;
    border-radius: 50px;
    color: #a0a0a0;
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.synergy-lang-switch .lang-code {
    font-weight: 600;
    text-transform: uppercase;
}
.synergy-lang-switch .lang-name {
    font-size: 0.78rem;
    opacity: 0.75;
}
.synergy-lang-switch .lang-opt:hover,
.synergy-lang-switch .lang-opt:focus-visible {
    color: #cebdad; /* Champagne */
    background: rgba(206, 189, 173, 0.08);
}
.synergy-lang-switch .lang-opt:focus-visible {
    outline: 1px solid rgba(206, 189, 173, 0.6);
    outline-offset: 2px;
}
.synergy-lang-switch .lang-opt.is-current {
    color: #1a1a1a;
    background: linear-gradient(135deg, #e6d7bd 0%, #cebdad 100%);
    box-shadow: 0 1px 6px rgba(206, 189, 173, 0.25);
    cursor: default;
}
.synergy-lang-switch .lang-opt.is-current .lang-name {
    opacity: 0.85;
}

/* La bottom bar ospita tre blocchi: copyright, lingue, link legali */
.fb-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .synergy-pre-footer-cta {
        padding: 60px 20px;
    }
    .synergy-pre-footer-cta h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .fb-right {
        justify-content: center;
    }
    .synergy-lang-switch .lang-name {
        display: none;
    }
    .fb-right .sep {
        margin: 0 10px;
    }
}
