/* --- STILI GLOBALI E VARIABILI --- */
        :root {
            --grigio-antracite: #242526;
            --grigio-sfondo-hero: #3a3b3c;
            --grigio-testo: #333333;
            --grigio-testo-chiaro: #606266;
            --verde-eco: #237d00;        /* Il tuo nuovo verde aziendale */
            --verde-eco-hover: #36af07;  /* Il tuo verde luminoso per il passaggio del mouse */
            --verde-eco-contrasto: #36af07;
            --bianco: #ffffff;           /* Mantenuto bianco puro per far staccare le schede */
            --grigio-chiaro: #f5f5f5;    /* Il tuo grigio/panna per gli sfondi */
            --grigio-bordo: #e4e7ed;
        }

        body { 
            font-family: 'Inter', sans-serif; 
            margin: 0; 
            padding: 0; 
            color: var(--grigio-testo); 
            line-height: 1.7; 
            background-color: var(--bianco); 
            -webkit-font-smoothing: antialiased; 
        }

        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        textarea:focus-visible,
        summary:focus-visible {
            outline: 3px solid var(--verde-eco-contrasto);
            outline-offset: 3px;
        }

        /* --- TOP BAR (Fascia Contatti Rapidi) --- */
        .top-bar {
            background-color: var(--verde-eco);
            color: var(--bianco);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 8px 20px;
            font-size: 13px;
            letter-spacing: 0.5px;
            z-index: 200;
            position: relative;
        }
        
        .top-bar-content {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .top-bar-title {
            font-weight: 400;
            opacity: 0.9;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .top-bar-title svg { width: 14px; height: 14px; }

        .top-bar a {
            color: var(--bianco);
            text-decoration: none;
            font-weight: 700;
            transition: opacity 0.3s ease;
        }

        .top-bar a:hover { opacity: 0.8; text-decoration: underline; }
        
        .top-bar-divider { opacity: 0.5; font-size: 10px; }

        @media (max-width: 768px) {
            .top-bar { padding: 10px; font-size: 12px; }
            .top-bar-content { flex-direction: column; gap: 5px; text-align: center; }
            .top-bar-divider { display: none; }
        }

        @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

        /* --- HEADER E BANNER --- */
        header { 
            background-color: var(--grigio-antracite); 
            padding: 20px 50px; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            border-bottom: 3px solid var(--verde-eco); 
            position: sticky; 
            top: 0; 
            z-index: 100; 
            box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
        }
        header .site-logo { margin: 0; font-size: 22px; letter-spacing: 1px; color: var(--bianco); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
        header .site-logo-mark { width: 77px; height: auto; flex: 0 0 auto; display: block; }
        header .site-logo span { color: var(--verde-eco-contrasto); }
        nav { display: flex; gap: 35px; }
        nav a { 
            color: var(--bianco); 
            text-decoration: none; 
            font-weight: 500; 
            font-size: 14px; 
            text-transform: uppercase; 
            letter-spacing: 1px; 
            position: relative; 
            padding-bottom: 5px; 
            transition: color 0.3s ease; 
        }
        nav a::after { 
            content: ''; 
            position: absolute; 
            width: 0; 
            height: 2px; 
            bottom: 0; 
            left: 0; 
            background-color: var(--verde-eco-contrasto); 
            transition: width 0.3s ease; 
        }
        nav a:hover, nav a.active { color: var(--verde-eco-contrasto); }
        nav a:hover::after, nav a.active::after { width: 100%; }

        .page-banner { 
            background-color: var(--grigio-antracite); 
            padding: 100px 50px; 
            text-align: center; 
            background-image: linear-gradient(rgba(36, 37, 38, 0.9), rgba(36, 37, 38, 0.9)); 
            color: var(--bianco); 
        }
        .page-banner h1 { font-size: 42px; margin: 0; font-weight: 700; letter-spacing: -1px; animation: fadeInUp 0.8s ease-out forwards;}
        .page-banner p { color: var(--verde-eco-contrasto); font-size: 16px; text-transform: uppercase; letter-spacing: 2px; margin-top: 10px; font-weight: 600;}

        /* --- GRIGLIA SERVIZI REVISIONATA --- */
        .services-section { padding: 90px 10%; background-color: var(--grigio-chiaro); }
        .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; animation: fadeInUp 1s ease-out forwards; }

        .service-card {
            background: var(--bianco); 
            padding: 50px 40px; 
            border-radius: 8px; 
            border: 1px solid var(--grigio-bordo); 
            box-shadow: 0 4px 20px rgba(0,0,0,0.02); 
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            text-align: center; 
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: ''; position: absolute; top: 0; left: 50%; width: 0; height: 4px;
            background-color: var(--verde-eco); transition: all 0.4s ease; transform: translateX(-50%);
        }

        .service-card:hover { 
            transform: translateY(-8px); 
            box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
            border-color: transparent;
        }
        .service-card:hover::before { width: 100%; }

        .icon-wrapper {
            width: 80px; height: 80px; 
            margin: 0 auto 25px auto; 
            background-color: var(--grigio-chiaro); 
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.4s ease;
            position: relative;
            z-index: 1;
        }

        .icon-wrapper::after {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            border-radius: 50%; background-color: var(--verde-eco);
            z-index: -1; transform: scale(0); transition: transform 0.4s ease;
        }

        .service-card:hover .icon-wrapper {
            transform: scale(1.1);
            box-shadow: 0 10px 20px rgba(27, 122, 67, 0.2);
        }
        .service-card:hover .icon-wrapper::after {
            transform: scale(1);
        }

        .service-icon {
            width: 36px; height: 36px; color: var(--verde-eco); transition: color 0.4s ease;
        }
        
        .service-card:hover .service-icon {
            color: var(--bianco);
        }

        .service-card h3 { color: var(--grigio-antracite); margin-top: 0; margin-bottom: 20px; font-size: 24px; font-weight: 600; }
        .service-card p { font-size: 16px; color: var(--grigio-testo-chiaro); margin: 0; line-height: 1.7; }

        /* --- CTA E FOOTER --- */
        .cta-section { background-color: var(--grigio-antracite); padding: 80px 10%; text-align: center; color: var(--bianco); }
        .cta-section h3 { font-size: 32px; color: var(--bianco); margin-bottom: 20px; }
        .cta-section p { font-size: 18px; color: #a0aab5; margin-bottom: 40px; }
        .btn { 
            display: inline-block; padding: 16px 36px; background-color: var(--verde-eco); 
            color: var(--bianco); text-decoration: none; font-weight: 600; border-radius: 4px; 
            text-transform: uppercase; font-size: 13px; letter-spacing: 1px; 
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
        }
        .btn:hover { background-color: var(--verde-eco-hover); transform: translateY(-3px); box-shadow: 0 8px 15px rgba(27, 122, 67, 0.3); }
        
        footer { 
            background-color: var(--grigio-antracite); 
            padding: 30px 20px; /* Spazio ridotto */
            text-align: center; 
            border-top: 1px solid rgba(255,255,255,0.05);
        }

        .footer-logo {
            width: 300px; /* Leggermente più piccolo per delicatezza */
            height: auto; 
            margin-bottom: 15px; 
            /* filter: brightness(0) invert(1); /* Lo rende bianco */ */
        }

        .footer-info {
            color: #9ca3af;
            font-size: 13px;
            margin: 0 0 8px 0;
        }

        .footer-info a {
            color: #9ca3af;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-info a:hover {
            color: var(--verde-eco-contrasto);
        }

        .footer-legal {
            color: #6b7280;
            font-size: 11px;
            margin: 0;
            letter-spacing: 0.3px;
        }

        @media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 40px 30px; } }
        @media (max-width: 768px) { .page-banner { padding: 60px 20px; } }


        /* --- MENU MOBILE --- */
        .menu-toggle {
            display: none;
        }

        .menu-toggle-label {
            display: none;
            width: 42px;
            height: 42px;
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 4px;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
        }

        .menu-toggle-label span {
            display: block;
            width: 22px;
            height: 2px;
            background-color: var(--bianco);
            transition: all 0.3s ease;
        }

        @media (max-width: 768px) {
            header {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                padding: 16px 20px;
                position: sticky;
                top: 0;
            }

            header .site-logo {
                font-size: 18px;
                letter-spacing: 0.5px;
            }

            .menu-toggle-label {
                display: flex;
            }

            nav {
                display: none;
                position: absolute;
                left: 0;
                right: 0;
                top: 100%;
                background-color: var(--grigio-antracite);
                border-top: 1px solid rgba(255,255,255,0.08);
                border-bottom: 3px solid var(--verde-eco);
                padding: 12px 20px 18px 20px;
                margin-top: 0;
                box-shadow: 0 12px 24px rgba(0,0,0,0.18);
            }

            .menu-toggle:checked ~ nav {
                display: flex;
                flex-direction: column;
                gap: 0;
            }

            nav a {
                display: block;
                padding: 13px 0;
                font-size: 13px;
                border-bottom: 1px solid rgba(255,255,255,0.08);
            }

            nav a:last-child {
                border-bottom: none;
            }

            .menu-toggle:checked + .menu-toggle-label span:nth-child(1) {
                transform: translateY(7px) rotate(45deg);
            }

            .menu-toggle:checked + .menu-toggle-label span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle:checked + .menu-toggle-label span:nth-child(3) {
                transform: translateY(-7px) rotate(-45deg);
            }

            .top-bar {
                font-size: 12px;
                padding: 9px 12px;
            }

            .top-bar-content {
                gap: 4px;
            }

            footer {
                padding: 28px 16px;
            }

            .footer-logo {
                width: 220px;
                max-width: 80%;
            }

            .footer-info {
                font-size: 12px;
                line-height: 1.6;
            }

            .footer-legal {
                font-size: 10px;
                line-height: 1.5;
            }
        }

        @media (max-width: 480px) {
            header .site-logo {
                font-size: 16px;
                gap: 8px;
            }

            header .site-logo-mark {
                width: 60px;
            }

            .menu-toggle-label {
                width: 40px;
                height: 40px;
            }

            .page-banner h1,
            .hero h1 {
                font-size: 30px;
                line-height: 1.18;
            }

            .page-banner p,
            .hero p {
                font-size: 15px;
            }

            .btn {
                width: 100%;
                max-width: 300px;
                box-sizing: border-box;
                text-align: center;
            }
        }


        @media (max-width: 768px) {
            .services-section {
                padding: 60px 6%;
            }

            .service-card {
                text-align: left;
                padding: 34px 24px;
            }

            .service-card .icon-wrapper {
                margin-left: 0;
            }

            .cta-section {
                padding: 64px 6%;
            }

            .cta-section h3 {
                font-size: 27px;
            }
        }


        /* --- FIX STEP 5B: TOP BAR MOBILE E FOOTER --- */
        footer,
        footer p,
        footer span,
        footer .footer-info,
        footer .footer-legal {
            color: #9ca3af;
        }

        footer a,
        footer a:visited,
        footer a:active {
            color: #9ca3af;
            text-decoration: none;
        }

        footer a:hover {
            color: var(--verde-eco-contrasto);
        }

        .footer-legal a,
        .footer-legal a:visited,
        .footer-legal a:active {
            color: #6b7280;
            text-decoration: none;
        }

        .footer-legal a:hover {
            color: var(--verde-eco-contrasto);
        }

        @media (max-width: 768px) {
            .top-bar {
                padding: 10px 14px;
            }

            .top-bar-content {
                width: 100%;
                display: grid;
                grid-template-columns: 1fr 1fr;
                align-items: start;
                gap: 12px;
                text-align: center;
            }

            .top-bar-title,
            .top-bar-divider {
                display: none !important;
            }

            .top-bar-content > span:not(.top-bar-title):not(.top-bar-divider) {
                display: block;
                line-height: 1.35;
                font-size: 13px;
                font-weight: 500;
                min-width: 0;
            }

            .top-bar-content > span:not(.top-bar-title):not(.top-bar-divider) a {
                display: block;
                margin-top: 3px;
                font-size: 13px;
                font-weight: 700;
                white-space: nowrap;
            }
        }

        @media (max-width: 390px) {
            .top-bar {
                padding: 9px 10px;
            }

            .top-bar-content {
                gap: 8px;
            }

            .top-bar-content > span:not(.top-bar-title):not(.top-bar-divider),
            .top-bar-content > span:not(.top-bar-title):not(.top-bar-divider) a {
                font-size: 12px;
            }
        }


        /* --- STEP 7: PAGINA SERVIZI RAFFORZATA --- */
        .services-intro {
            max-width: 920px;
            margin: 0 auto 55px auto;
            text-align: center;
        }

        .services-intro span {
            display: inline-block;
            color: var(--verde-eco);
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .services-intro h2 {
            color: var(--grigio-antracite);
            font-size: 36px;
            line-height: 1.2;
            margin: 0 0 20px 0;
            letter-spacing: -0.5px;
        }

        .services-intro p {
            color: var(--grigio-testo-chiaro);
            font-size: 17px;
            line-height: 1.8;
            margin: 0;
        }

        .service-list {
            list-style: none;
            padding: 0;
            margin: 24px 0 0 0;
            text-align: left;
        }

        .service-list li {
            position: relative;
            padding-left: 22px;
            margin-bottom: 10px;
            color: var(--grigio-testo);
            font-size: 14px;
            line-height: 1.55;
        }

        .service-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 9px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: var(--verde-eco);
        }

        .service-card {
            display: flex;
            flex-direction: column;
        }

        .service-card p {
            flex-grow: 1;
        }

        @media (max-width: 1100px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .services-intro {
                text-align: left;
                margin-bottom: 38px;
            }

            .services-intro h2 {
                font-size: 28px;
            }

            .services-intro p {
                font-size: 16px;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .service-list li {
                font-size: 14px;
            }
        }


        .service-link {
            display: inline-block;
            margin-top: 18px;
            color: var(--verde-eco);
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            text-decoration: none;
        }

        .service-link:hover {
            text-decoration: underline;
        }
