/* --- TUA PALETTE PANTONE --- */
        :root {
            --grigio-antracite: #242526;
            --grigio-testo: #333333;
            --grigio-testo-chiaro: #606266;
            --verde-eco: #237d00;
            --verde-eco-hover: #36af07;
            --verde-eco-contrasto: #36af07;
            --bianco: #ffffff;
            --grigio-chiaro: #f5f5f5;
            --grigio-bordo: #e4e7ed;
        }

        body { 
            font-family: 'Inter', sans-serif; 
            margin: 0; padding: 0; 
            color: var(--grigio-testo); 
            line-height: 1.7; 
            background-color: var(--grigio-chiaro); 
            -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 --- */
        .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 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; }

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

        /* --- HEADER --- */
        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%; }

        /* --- BANNER --- */
        .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;}

        /* --- CONTATTI --- */
        .contact-container {
            display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
            padding: 100px 10%; background-color: transparent;
            animation: fadeInUp 1s ease-out forwards;
        }

        .contact-info h3 { font-size: 32px; color: var(--grigio-antracite); margin-top: 0; margin-bottom: 15px; }
        .contact-card { display: flex; gap: 25px; align-items: flex-start; margin-bottom: 40px; }
        .contact-icon {
            width: 54px; height: 54px; background-color: var(--bianco); border-radius: 50%;
            display: flex; justify-content: center; align-items: center; color: var(--verde-eco);
            box-shadow: 0 4px 15px rgba(0,0,0,0.05); flex-shrink: 0;
        }
        .contact-icon svg { width: 24px; height: 24px; }
        .contact-details h4 { margin: 0 0 5px 0; font-size: 18px; color: var(--grigio-antracite); font-weight: 600; }
        .contact-details p { margin: 0; font-size: 15px; color: var(--grigio-testo-chiaro); }
        .contact-details a { color: var(--grigio-testo); text-decoration: none; transition: color 0.3s; font-weight: 500; }
        .contact-details a:hover { color: var(--verde-eco); }

        /* --- FORM --- */
        .contact-form-box { background-color: var(--bianco); padding: 50px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); }
        .form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
        .form-group { position: relative; margin-bottom: 35px; }
        .form-input { width: 100%; padding: 10px 0; font-size: 16px; border: none; border-bottom: 2px solid var(--grigio-bordo); outline: none; transition: all 0.3s; background: transparent; }
        .form-input:focus { border-bottom-color: var(--verde-eco); }
        .form-label { position: absolute; top: 10px; left: 0; color: #a0aab5; pointer-events: none; transition: all 0.3s; }
        .form-input:focus ~ .form-label, .form-input:valid ~ .form-label { top: -20px; font-size: 12px; color: var(--verde-eco); font-weight: 600; text-transform: uppercase; }
        
        .form-privacy { margin-bottom: 35px; font-size: 13px; color: var(--grigio-testo-chiaro); display: flex; gap: 10px; align-items: flex-start; }
        .btn-submit {
            width: 100%; padding: 18px; background-color: var(--verde-eco); color: var(--bianco);
            border: none; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
            cursor: pointer; transition: all 0.3s;
        }
        .btn-submit:hover { background-color: var(--verde-eco-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(35, 125, 0, 0.3); }

        .status-section {
            padding: 90px 7%;
            background-color: var(--grigio-chiaro);
        }

        .status-card {
            max-width: 760px;
            margin: 0 auto;
            padding: 54px;
            background-color: var(--bianco);
            border: 1px solid var(--grigio-bordo);
            border-radius: 8px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.04);
            text-align: center;
        }

        .status-card h2 {
            margin: 0 0 18px 0;
            color: var(--grigio-antracite);
            font-size: 32px;
            line-height: 1.2;
        }

        .status-card p {
            margin: 0 auto 18px auto;
            max-width: 620px;
            color: var(--grigio-testo-chiaro);
            font-size: 16px;
        }

        .status-card a {
            color: var(--verde-eco);
            font-weight: 600;
        }

        .status-actions {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 18px;
            margin-top: 34px;
            flex-wrap: wrap;
        }

        .status-link {
            display: inline-block;
            width: auto;
            min-width: 210px;
            text-decoration: none;
            box-sizing: border-box;
        }

        .status-card .status-link,
        .status-card .status-link:visited,
        .status-card .status-link:active,
        .status-card .status-link:hover {
            color: var(--bianco);
        }

        .status-secondary-link {
            color: var(--grigio-testo);
            text-decoration: none;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* --- MAPPA --- */
        .map-section { 
            width: 100%; 
            height: 450px; 
            border-bottom: 5px solid var(--verde-eco);
            line-height: 0; 
        }
        
        /* Forza l'iframe a prendere tutto lo spazio a prescindere dai width/height inseriti in linea */
        .map-section iframe { 
            width: 100% !important; 
            height: 100% !important; 
            border: 0; 
            display: block;
        }

        /* --- FOOTER COMPATTO --- */
        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) { .contact-container { grid-template-columns: 1fr; } }
        


        /* --- 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) {
            .contact-container {
                padding: 60px 6%;
                gap: 36px;
            }

            .contact-info h3 {
                font-size: 26px;
            }

            .contact-card {
                gap: 16px;
                margin-bottom: 28px;
            }

            .contact-icon {
                width: 46px;
                height: 46px;
            }

            .contact-form-box {
                padding: 32px 24px;
            }

            .map-section {
                height: 340px;
            }

            .status-section {
                padding: 62px 6%;
            }

            .status-card {
                padding: 36px 24px;
            }

            .status-card h2 {
                font-size: 26px;
            }

            .status-actions {
                flex-direction: column;
            }

            .status-link {
                width: 100%;
            }
        }


        /* --- 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;
            }
        }
