
        /* Reset e Stili Base */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 75px; /* Regola se l'header cambia altezza */ }
        
        /* Variabili CSS definite per coerenza test test */ 
        :root {
            --main-blue: #007aff;
            --text-dark: #1d1d1f;
            --text-medium: #333;
            --text-light: #555;
            --text-very-light: #86868b; 
            --bg-page: #f5f5f7; 
            --bg-element-light: #fff;
            --border-color-light: #ddd; 
            --border-radius-medium: 12px;
            --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05); 
            --shadow-medium: 0 5px 15px rgba(0,0,0,0.07), 0 10px 30px rgba(0,0,0,0.08); 
            --section-padding-y: 70px; 
        }

        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; 
            line-height: 1.6; 
            color: var(--text-medium); 
            background-color: var(--bg-page); 
        }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

        /* Titoli ottimizzati per leggibilità e gerarchia */
        h1, h2, h3 { color: var(--text-dark); font-weight: 600; }
        h1 { font-size: 3em; margin-bottom: 15px; line-height: 1.2; } /* Hero H1 */
        h2.section-title { /* Classe per titoli di sezione uniformi */
            text-align: center; 
            font-size: clamp(2rem, 4.5vw, 3rem);; 
            margin-bottom: 30px; /* Ridotto per compattezza */
            color: var(--text-dark); 
            font-weight: 600; 
        }
        h3 { font-size: 1.1em; margin-bottom: 10px; } 
        h4 { font-size: 0.9em; margin-bottom: 10px; text-transform: uppercase;margin-top: 60px; } 

        /* Sottotitolo di sezione */
        p.section-subtitle {
            font-size: 1.1rem; 
            max-width: 750px; 
            margin: -15px auto 40px auto; /* Margine superiore ridotto */
            text-align: center;
            color: var(--text-light);
            line-height: 1.7;
        }


        /* Header / Navigazione */
        header { background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color-light); padding: 15px 0; position: sticky; top: 0; z-index: 1000; width: 100%; }
        header .container { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-family: 'Oswald', sans-serif; font-size: 1em; font-weight:400; text-transform: uppercase; color: #282828; text-decoration: none; letter-spacing: 2px; transition: color 0.3s ease; }
        .logo:hover, .logo:focus { color: var(--main-blue); outline: none; }
        nav ul { list-style: none; display: flex; }
        nav ul li { margin-left: 20px; } /* Ridotto leggermente il margine */
        nav ul li a { text-decoration: none; color: var(--text-medium); font-size: 0.75em; font-weight: 500; transition: color 0.3s ease; padding: 5px 0; text-transform: uppercase; }
        nav ul li a:hover, nav ul li a:focus, nav ul li a.active { color: var(--main-blue); outline: none; }

/* --- Accessori in Vendita --- */
.accessories { padding: var(--section-padding-y) 0; background-color: #f5f5f7; }
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 2em;
    justify-content: center;
}
.accessory-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-light);
    padding: 22px 18px 18px 18px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.accessory-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-medium);
}
.accessory-card img {
   object-fit: contain;
  margin-bottom: 16px;
  background: #fff;
  max-height: 250px;
}
.accessory-card h3 {
    font-size: 1.08em;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}
.accessory-card .description {
    font-size: 0.95em;
    color: var(--text-light);
    margin-bottom: 12px;
}
.accessory-card .price {
    font-size: 1.15em;
    font-weight: 600;
    color: var(--main-dark);
}
@media (max-width: 1300px) {
  .accessories-grid {
    grid-template-columns: repeat(3, 300px);
  }
}
@media (max-width: 980px) {
  .accessories-grid {
    grid-template-columns: repeat(2, 300px);
  }
}
@media (max-width: 650px) {
  .accessories-grid {
    grid-template-columns: 1fr;
  }
}
        /* Hero Section */
        .hero {
            position: relative;
            background-image: url("../images/sfondo.png");
            background-size: auto;
            background-position: center;
            background-repeat: no-repeat;
            padding: 110px 20px 90px 20px;
            text-align: center;
            border-bottom: 1px solid #eee;
            color: #fff; /* Testo bianco su overlay scuro */
            height: 80vh;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.5); /* Overlay più scuro per leggibilità testo bianco */
            z-index: 0;
        }
        .hero * { position: relative; z-index: 1; }
        .hero h1 { color: var(--text-dark) !important; /* Forza testo nero anche su h1, p, ecc. */ } /* Assicura H1 bianco */
        .hero p { font-size: 1.25em; color: var(--text-dark) !important; /* Forza testo nero anche su h1, p, ecc. */; max-width: 750px; margin: 0 auto 35px auto; }
        .cta-button { display: inline-block; background-color: var(--main-blue); color: #fff; padding: 14px 30px; border-radius: 25px; text-decoration: none; font-weight: 500; font-size: 1.05em; transition: background-color 0.3s ease, transform 0.2s ease; border: none; cursor: pointer; }
        .cta-button:hover, .cta-button:focus { background-color: #005ecb; transform: scale(1.05); outline: none; }
        .hero-image { display: block; width: 500px; height: auto; margin: 20px auto 30px auto; object-fit: contain; }

        /* Stile per bottone CTA secondario (outline) */
        .cta-button.secondary {
            background-color: transparent;
            color: var(--main-blue);
            border: 1.5px solid var(--main-blue);
            padding: 12px 25px; 
        }
        .cta-button.secondary:hover, .cta-button.secondary:focus {
            background-color: rgba(0, 122, 255, 0.1); 
            color: var(--main-blue); 
            transform: scale(1.03); 
            text-decoration: none;
        }

        /* Sezione Servizi */
        .services { padding: var(--section-padding-y) 0; background-color: #f5f5f7; } /* Mantenuto colore specifico */
        .services-layout { display: flex; align-items: center; justify-content: center; gap: 40px; }
        .services-column { display: flex; flex-direction: column; gap: 30px; flex: 1; }
        .services-center-image { display: flex; justify-content: center; align-items: center; flex: 0 0 auto; mix-blend-mode: multiply; border-radius: 10px; }
        .services-center-image img { max-width: 100%; height: auto; max-height: 750px; /* Ridotta altezza massima */ display: block; border-radius: 10px; animation: float 3s ease-in-out infinite; transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .services-center-image img:hover { transform: scale(1.05); }
        .service-item { background-color: var(--bg-element-light); padding: 25px; border-radius: var(--border-radius-medium); box-shadow: var(--shadow-light); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .service-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); }
        .service-icon { font-size: 2.0em; color: var(--main-blue); margin-bottom: 15px; }
        .service-title { font-size: 1.2em; color: var(--main-blue); margin-bottom: 10px; font-weight: 600; }
        .service-item p { font-size: 1em; color: var(--text-light); line-height: 1.6; }


        /* --- Sezione Prodotti Ricondizionati Full Width --- */
        .products { padding: var(--section-padding-y) 0; background-color: #f5f5f7; width: 100%; }
        .products h2.section-title { max-width: none; margin-left: 20px; margin-right: 20px; }
        .carousel-wrapper { position: relative; max-width: 100%; margin: 0 auto; }
        .carousel-container { overflow: hidden; padding: 0 50px; position: relative; }
        .carousel-track { display: flex; transition: transform 0.5s ease-in-out; gap: 20px; padding: 30px 0; -webkit-overflow-scrolling: touch; }
        .product-card { scroll-snap-align: start; background-color: #f8f8f8; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-light); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; flex: 0 0 calc(80% / 3 - (20px * 2 / 3)); min-width: calc(80% / 3 - (20px * 2 / 3)); }
        .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); }
        .product-card img { width: 100%; height: auto; max-height: 300px; min-height: 250px; object-fit: contain; background-color: #fff; padding: 25px; border-bottom: 1px solid #eee; }
        .product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .product-info h3 { font-size: 1.15em; color: var(--text-dark); margin-bottom: 10px; font-weight: 600; text-align: center;}
        .product-info .description { font-size: 0.9em; color: var(--text-light); margin-bottom: 15px; flex-grow: 1;text-align: center; }
        .product-info .price { font-size: 1.5em; font-weight: 600; color: var(--text-dark); margin-bottom: 12px;text-align: center; }
        .details-button.whatsapp-button { display: block; background-color: #25D366; color: #fff; padding: 10px 15px; border-radius: 15px; text-decoration: none; font-size: 0.95em; font-weight: 500; text-align: center; transition: background-color 0.3s ease; border: none; cursor: pointer; }
        .details-button.whatsapp-button:hover, .details-button.whatsapp-button:focus { background-color: #1DAE54; outline: none;}
        .carousel-button { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.9); border: 1px solid #ccc; border-radius: 50%; width: 45px; height: 45px; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; font-size: 1.5em; color: var(--text-light); box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, opacity 0.3s; }
        .carousel-button:hover:not(:disabled), .carousel-button:focus:not(:disabled) { background-color: #fff; color: var(--main-blue); box-shadow: 0 4px 8px rgba(0,0,0,0.15); outline: none; }
        .carousel-button:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
        .carousel-button.prev { left: 5px; }
        .carousel-button.next { right: 5px; }

        /* Line Divider */
        .line-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin: var(--section-padding-y) 0;
            padding: 0 20px;
        }
        .line-divider span { 
            flex: 1;
            height: 1px;
            background-color: var(--border-color-light);
        }
        .line-divider .fab.fa-apple { 
            margin: 0 20px;
            font-size: 2rem; 
            color: var(--main-blue); 
            opacity: 0.7;
        }

        /* ============== Sezione Laboratorio ============== */
        #laboratorio { background-color: var(--bg-page); padding-bottom: 100px; } 

        .laboratorio-stats {
            display: flex;
            flex-wrap: wrap; 
            justify-content: space-around; 
            align-items: center;
            gap: 20px; 
            margin-top: 1.5em; 
            margin-bottom: 3em; 
            text-align: center;
        }
        .laboratorio-stats .stat { flex: 1; min-width: 150px; max-width: 200px; }
        .laboratorio-stats .stat h3 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 0.3em; color: var(--text-dark); }
        .laboratorio-stats .stat p { font-size: 0.95rem; color: var(--text-light); margin: 0; line-height: 1.4; }
        .stat-success h3 { color: #28a745; } 
        .stat-devices h3 { color: var(--main-blue); } 
        .stat-experience h3 { color: #fd8e00; } 

        .laboratorio-layout { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; margin-top: 2em; }
        .laboratorio-column { display: flex; flex-direction: column; gap: 25px; flex: 1 1 300px; max-width: 340px; min-width: 280px; }
        .laboratorio-box { background-color: var(--bg-element-light); border-radius: var(--border-radius-medium); box-shadow: var(--shadow-light); padding: 25px 20px; text-align: left; transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .laboratorio-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); }
        .laboratorio-box h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25em; font-weight: 600; color: var(--text-dark); margin-bottom: 0.6em; }
        .laboratorio-box h3 i { font-size: 1.4em; color: var(--main-blue); width: 25px; text-align: center; }
        .laboratorio-box p { font-size: 0.95em; color: var(--text-light); line-height: 1.6; margin-bottom: 0; }
        .laboratorio-image { flex: 1 1 350px; max-width: 400px; display: flex; justify-content: center; align-items: center; padding: 10px; }
        .laboratorio-image img { width: 100%; height: auto; max-height: 750px; object-fit: cover; }
         
        .laboratorio-stats .stat-success h3 {
    color: #28a745; /* Verde */
    background: none;
    border: none;
}
.laboratorio-stats .stat-devices h3 {
    color: #007aff; /* Blu */
    background: none;
    border: none;
}
.laboratorio-stats .stat-experience h3 {
    color: #fd8e00; /* Arancione */
    background: none;
    border: none;
}
.laboratorio-stats .stat h3 {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto 0.3em auto;
    border-radius: 0;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.3em;
    box-shadow: none;
    transition: none;
}

        /* --- Sezione Prenota Riparazione --- */
        #prenota-riparazione {
            padding: calc(var(--section-padding-y) + 100px) 0;
            background-color: var(--bg-element-light);
            border-top: 1px solid #eee;
            position: relative; 
            overflow: hidden; 
        }
        #prenota-riparazione::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-image: url("../images/patter2.jpg"); 
            background-repeat: repeat; background-size: auto; opacity: 0.05; /* Ridotta opacità */ z-index: 0; 
        }
        #prenota-riparazione > * { position: relative; z-index: 1; }
        #booking-form { max-width: 700px; margin: 20px auto 0 auto; background-color: rgba(255, 255, 255, 0.97); padding: 30px 40px; border-radius: 15px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); }
         .form-group { margin-bottom: 20px; }
         .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-medium); font-size: 0.95em; }
         .form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="date"], .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 8px; font-size: 1em; font-family: inherit; transition: border-color 0.3s, box-shadow 0.3s; background-color: #fff; }
         .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--main-blue); box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2); outline: none; }
         .form-group textarea { resize: vertical; min-height: 80px; }
         .form-group button[type="submit"] { width: 100%; padding: 15px; font-size: 1.1em; }
         .form-info { text-align: center; margin: 0 auto 30px auto; font-size: 0.9em; color: var(--text-light); background-color: rgba(240, 240, 240, 0.8); padding: 10px 15px; border-radius: 8px; max-width: 700px; }


        /* ============== Sezione Testimonials ============== */
        #testimonials {
            padding: calc(var(--section-padding-y) + 20px) 0;
            background-color: var(--bg-page); 
    /* position: relative; z-index: 1; */
}
        /* Se si vuole usare un pattern di sfondo simile a #prenota-riparazione:
        #testimonials::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-image: url("images/patter2.jpg");
            background-repeat: repeat; background-size: auto; opacity: 0.05; z-index: -1;
        }
        */
        #testimonials .container > h2.section-title { color: var(--text-dark); }
        #testimonials .container > p.section-subtitle { color: var(--text-light); }

        .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 25px; margin-top: 2em; }
        .testimonial-card { background-color: var(--bg-element-light); padding: 30px 25px; border-radius: var(--border-radius-medium); text-align: left; position: relative; border: 1px solid var(--border-color-light); box-shadow: var(--shadow-light); transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); }
        .testimonial-quote { font-size: 1em; margin-bottom: 1.5em; font-style: italic; line-height: 1.65; color: var(--text-medium); position: relative; padding-left: 35px; }
        .testimonial-quote::before { content: "\f10d"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 1.5em; opacity: 0.6; color: var(--main-blue); position: absolute; top: -5px; left: 0px; }
        .testimonial-author-name { font-weight: 600; display: block; font-size: 1.05em; color: var(--text-dark); margin-bottom: 3px; }
        .testimonial-author-detail { font-size: 0.9em; color: var(--text-very-light); }


        /* ============== Sezione Contatti (Stile Moderno) ============== */
        #contatti {
            padding: var(--section-padding-y) 0;
            background-color: var(--bg-element-light); 
            /* position: relative; z-index: 1; */ /* Se si usa il pattern sotto */
        }
        /*
        #contatti::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-image: url("images/patter2.jpg"); 
            background-size: auto; background-position: center; background-repeat: repeat; 
            opacity: 0.03; z-index: -1;
        }
        */
        .contact-layout-modern { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: flex-start; margin-top: 2em; }
        .contact-info-list { list-style: none; padding: 0; margin: 1.5em 0 0 0; }
        .contact-info-list li { display: flex; align-items: flex-start; margin-bottom: 1.3em; font-size: 1em; }
        .contact-info-list li i { font-size: 1.2em; margin-right: 15px; width: 22px; text-align: center; color: var(--main-blue); margin-top: 3px; }
        .contact-info-list li p { margin-bottom: 0; color: var(--text-light); line-height: 1.5; }
        .contact-info-list li p strong { font-weight: 600; color: var(--text-dark); }
        .contact-info-list li a { color: var(--main-blue); text-decoration: none; font-weight: 500; }
        .contact-info-list li a:hover { text-decoration: underline; }
        .opening-hours-title {
            font-size: 1.3em;
            font-weight: 600;
            margin-top: 2.5em;
            margin-bottom: 1em;
            color: var(--text-dark);
            text-align: center; /* Centrato */
        }
        .opening-hours-list {
            list-style: none;
            padding: 0;
            text-align: center; /* Centrato */
        }
        .opening-hours-list li {
            margin-bottom: 0.6em;
            font-size: 0.95em;
            color: var(--text-light);
        }
        .opening-hours-list li strong {
            font-weight: 500;
            min-width: 130px;
            display: inline-block;
            color: var(--text-dark);
        }
        .contact-map-modern { text-align: center; }
        .map-wrapper { border-radius: var(--border-radius-medium); overflow: hidden; border: 1px solid var(--border-color-light); box-shadow: var(--shadow-light); height: 380px; }
        .map-wrapper iframe { display: block; width: 100%; height: 100%; border: 0; }
        .directions-button-map { margin-top: 1.5em !important; display: inline-flex !important; align-items: center; padding: 10px 20px !important; font-size: 0.95rem !important; }
        .directions-button-map i { margin-right: 8px; }

        .contact-info-inline {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            font-size: 1rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            text-align: center;
        }
        .contact-info-inline i {
            color: var(--main-blue);
            margin-right: 5px;
        }
        .contact-info-inline a {
            color: var(--main-blue);
            text-decoration: none;
            font-weight: 500;
        }
        .contact-info-inline a:hover {
            text-decoration: underline;
        }
        .contact-info-inline .separator {
            margin: 0 10px;
            color: var(--border-color-light);
            font-weight: bold;
        }

        /* ============== Footer Stile Moderno ============== */
        .site-footer-modern { background-color: #f5f5f7; color: var(--text-very-light); font-size: 0.85rem; padding: 50px 0 20px 0; border-top: 1px solid #dddde1; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px 20px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #dddde1; }
        .footer-column h5 { font-size: 0.85rem; font-weight: 600; color: #1d1d1f; margin-bottom: 0.8em; letter-spacing: 0px; }
        .footer-links { list-style: none; padding: 0; }
        .footer-links li { margin-bottom: 0.7em; }
        .footer-links li a { color: #636366; font-size: 0.85em; transition: color 0.3s ease, padding-left 0.3s ease; text-decoration: none;}
        .footer-links li a:hover { color: var(--main-blue); text-decoration: none; padding-left: 5px; }
        .footer-contact-details p { margin-bottom: 0.8em; font-size: 0.9em; color: var(--text-very-light); display: flex; align-items: flex-start; }
        .footer-contact-details p i { margin-right: 10px; color: var(--main-blue); width: 18px; text-align: center; margin-top: 3px; }
        .footer-contact-details p a { color: var(--text-very-light); transition: color 0.3s ease; }
        .footer-contact-details p a:hover { color: var(--main-blue); text-decoration: none; }
        .footer-socials { margin-top: 1.5em; }
        .footer-socials a { font-size: 1.3rem; margin-right: 15px; display: inline-block; color: var(--text-very-light); transition: color 0.3s ease, transform 0.3s ease; }
        .footer-socials a:hover { color: var(--main-blue); transform: scale(1.1); }
        .footer-socials a:last-child { margin-right: 0; }
        .footer-bottom { padding-top: 25px; display: flex; flex-direction: column; align-items: center; text-align: center; }
        .footer-copyright { margin-bottom: 15px; font-size: 0.8rem; line-height: 1.5; color: #636366; }
        .footer-legal-links a { color: #aaa; margin: 0 8px; font-size: 0.8rem; transition: color 0.3s ease; }
        .footer-legal-links a:hover { color: var(--main-blue); text-decoration: underline; }
        br.mobile-break { display: none; }
        .site-footer-modern .iubenda-white { color: #aaa !important; }
        .site-footer-modern .iubenda-white:hover { color: var(--main-blue) !important; }


        /* Media Query Generali */
        @media (max-width: 1024px) {
             h1 { font-size: 2.6em; } 
             h2.section-title { font-size: 2em; }
             .carousel-wrapper { max-width: 95%; }
             .product-card { flex: 0 0 calc(100% / 2 - (20px * 1 / 2)); min-width: calc(100% / 2 - (20px * 1 / 2)); }
             .carousel-container { padding: 0 45px; } 
        }

        @media (max-width: 768px) {
            h1 { font-size: 2.4em; } 
            h2.section-title { font-size: 1.8em; margin-bottom: 25px;}
            p.section-subtitle { font-size: 1rem; margin-bottom: 30px; }
            .hero p { font-size: 1.1em; }
            header .container { flex-direction: column; text-align: center; }
            .logo { margin-bottom: 10px;}
            nav ul { margin-top: 10px; justify-content: center; flex-wrap: wrap; padding-left: 0;} 
            nav ul li { margin: 5px 10px; }
            .services-layout { flex-direction: column; gap: 35px; } /* Grid in colonna */
            .services-center-image { order: -1; margin-bottom: 20px; } /* Immagine sopra */
            .service-item { text-align: center;}
            .product-card img { height: 160px; }
            #booking-form { padding: 20px; }

            /* Responsive Laboratorio */
            .laboratorio-layout { flex-direction: column; }
            .laboratorio-column, .laboratorio-image { max-width: 500px; width:100%; }
            .laboratorio-image { order: -1; margin-bottom: 30px; }
            .laboratorio-stats .stat h3 { font-size: 2.2rem; }
            .laboratorio-box { padding: 20px 15px; }
            .laboratorio-box h3 { font-size: 1.15em; }
            .laboratorio-box h3 i { font-size: 1.3em; }

            /* Responsive Testimonials */
            .testimonial-card { padding: 25px 20px; }
            .testimonial-quote { font-size: 0.95em; padding-left: 30px; }
            .testimonial-quote::before { font-size: 1.3em; }

            /* Responsive Contatti */
            @media (min-width: 800px) { /* Sovrascrive la regola per tablet di .contact-layout-modern */
                 .contact-layout-modern { grid-template-columns: 1fr; } /* Forza una colonna se lo schermo è <=768px ma >=800px non si applica */
            }
            .contact-layout-modern { grid-template-columns: 1fr; gap: 30px; } /* Assicura una colonna sotto gli 800px */
            .opening-hours-title { font-size: 1.2em; text-align: left; }
            .opening-hours-list { text-align: left; }
            .map-wrapper { height: 300px; }
            .contact-map { margin-bottom: 30px; } /* Stile da vecchio CSS, verificare se serve ancora */

            /* Responsive Footer */
            .footer-bottom { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
            .footer-copyright { margin-bottom: 10px; margin-right: 0; }
            .footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; }
            .footer-legal-links a { margin: 5px 8px; }
            
            /* Hamburger Menu Logic (display only, JS needed for toggle) */
            /* nav ul { display: none; }  */ /* Attenzione: questa regola nasconde la nav anche su desktop se non gestita da JS */
            /* .menu-toggle { display: block; cursor: pointer; font-size: 1.5em; color: #333; background: none; border: none; padding: 10px; } */
            /* nav ul.active { display: flex; flex-direction: column; gap: 10px; position: absolute; top: 60px; right: 20px; background-color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); padding: 15px; border-radius: 8px; z-index: 1000; } */
             .carousel-button { display: flex; width: 40px; height: 40px; font-size: 1.2em; }
             .carousel-button.prev { left: 10px; } .carousel-button.next { right: 10px; }
        }

         @media (max-width: 600px) {
             .product-card { flex: 0 0 calc(100% - 10px); min-width: calc(100% - 10px); }
             .carousel-container { overflow-x: auto; padding: 0 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
             .carousel-container::-webkit-scrollbar { height: 6px; display: none;   }
             .carousel-container::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 3px; }
             .carousel-track { padding-bottom: 15px; scroll-snap-align: start; gap: 10px; }
             .carousel-button { display: none; } 
             .services-center-image img { max-height: 300px; }
             .hero-image { width: 100%; max-width: 300px; margin: 10px auto; }
             .logo { font-size: 1.4em;}
              .hero {
        padding: 60px 10px 50px 10px;
        height: 55vh;
        min-height: 340px;
        max-height: 420px;
    }
    
    .hero-image {
        max-width: 220px;
        margin: 5px auto 15px auto;
    }
    .hero h1 {
        font-size: 1.4em;
    }
    .hero p {
        font-size: 1em;
    }
     header nav {
        display: none !important;
    }
    .carousel-track {
        display: flex;
        /* transition: transform 0.5s ease-in-out; /* JS now controls this */
        gap: 10px; /* Mobile gap */
        padding: 30px 0; /* Retain vertical padding if desired, or adjust for mobile */
        -webkit-overflow-scrolling: touch;
        /* scroll-snap-align: start; */ /* REMOVE THIS LINE FROM HERE */
        padding-bottom: 15px; /* Specific mobile bottom padding */
    }
    /* Ensure product card flex basis for mobile is correctly set */
    .product-card {
        flex: 0 0 calc(100% - 20px); /* Example: Card takes nearly full width with some side margin due to container padding */
        min-width: calc(100% - 20px); /* Adjust as needed, considering carousel-container padding (0 10px) */
        /* scroll-snap-align: start; */ /* Already added to the main .product-card rule, so it applies here too */
    }
     .laboratorio-image {
        max-width: 520px;
        padding: 0;
        margin: 0 auto 18px auto;
    }
    .laboratorio-image img {
        max-width: 100%;
        max-height: 390px;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
    }
     .laboratorio-stats {
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 2em;
        overflow-x: auto;
    }
    .laboratorio-stats .stat {
        min-width: 110px;
        max-width: 140px;
        flex: 1 0 0;
    }
     .opening-hours-title,
    .opening-hours-list {
        text-align: center !important;
    }
    .opening-hours-list li {
        justify-content: center;
        text-align: center;
        display: block;
    }
    .contact-info-inline {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
    .contact-info-inline .separator {
        display: none;
        /* play: block; */
    }   
    }
         

         @media (max-width: 480px) {
             html { scroll-padding-top: 60px; }
             h1 { font-size: 2em; } 
             h2.section-title { font-size: 1.6em; }
             nav ul li a { font-size: 0.9em;}
             .hero p { font-size: 1em; }
             .cta-button { padding: 12px 25px; font-size: 1em;}
             .product-info h3 { font-size: 1.1em;} .product-info .description { font-size: 0.85em;} .product-info .price { font-size: 1.15em;}
             #booking-form { padding: 15px; }
             .form-group input, .form-group select, .form-group textarea { padding: 10px; }
             .products h2.section-title { padding: 0 15px; font-size: 1.8em;}
         }
         @media (max-width: 575px) { /* Specifico per mobile piccolo footer test*/
            .footer-grid { grid-template-columns: 1fr; text-align:center; }
            .footer-column h5 { text-align: center; }
            .footer-links { text-align: center; }
            .footer-contact-details p { justify-content: center; }
            .footer-contact-details p i { margin-top: 1px; }
            .footer-socials { text-align: center; }
            br.mobile-break { display: block; } 
        }
        .site-logo a {
            font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
            color: var(--color-text-primary);
            display: flex; align-items: center;
            text-transform: uppercase;
}
        
        .site-logo a:hover { text-decoration: none; }
        .site-logo .logo-icon { /* Per un'eventuale icona tipo Mela */
            font-size: 1.5rem; margin-right: 8px; opacity: 0.8;
        }
                /* --- STILI PER IL VALUTATORE iPHONE --- */
        .evaluator-main-container { /* Cambiato da .evaluator-main-content */
            max-width: 900px; /* Leggermente più largo per coerenza con .container */
            margin: 2em auto 0 auto; 
            background: var(--bg-element-light);
            border-radius: var(--border-radius-medium);
            box-shadow: var(--shadow-medium); /* Ombra leggermente più marcata */
            padding: clamp(30px, 5vw, 45px);
            overflow: hidden;
            margin-bottom: 30px;
        }
        #valuta-usato {
     padding-top: 70px; /* o il valore che preferisci */
    margin-top: 0;
    margin-bottom: 120px;
    min-height: 700px;
}
        .evaluator-progress-bar {
            height: 18px; 
            background: #e9ecef; /* Un grigio più chiaro per la barra */
            border-radius: 4px;
            margin-bottom: 35px;
            overflow: hidden; 
        }

        .evaluator-progress-fill {
            height: 100%;
            background: var(--main-blue);
            transition: width 0.4s ease-in-out; /* Transizione più fluida */
            border-radius: 9px;
        }

        .evaluator-step-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .evaluator-step-number {
            display: inline-block;
            width: 55px; 
            height: 55px;
            background: var(--main-blue);
            color: white;
            border-radius: 50%;
            font-size: 1.4rem; 
            font-weight: 600;
            line-height: 55px;
            margin-bottom: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .evaluator-step-title { /* Usa h3 come base se non sovrascritto */
            font-size: clamp(1.6rem, 4vw, 2.2rem); 
            color: var(--text-dark);
            margin-bottom: 10px;
            font-weight: 600;
        }

        .evaluator-step-subtitle {
            color: var(--text-light);
            font-size: 1.05rem; 
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .evaluator-select-dropdown {
            width: 100%;
            padding: 13px 18px;
            border-radius: 8px; /* Coerente con .form-group input */
            font-size: 1em; /* Coerente con .form-group input */
            font-family: inherit; /* Eredita da body/form */
            background-color: #fff;
            border: 1px solid #ccc; /* Coerente con .form-group input */
            color: var(--text-dark);
            transition: border-color 0.3s, box-shadow 0.3s;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.4-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E');
            background-repeat: no-repeat;
            background-position: right 18px center;
            background-size: 11px; 
            margin-bottom: 35px; 
        }
        .evaluator-select-dropdown:focus {
            border-color: var(--main-blue); 
            box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2); 
            outline: none;
        }

        .evaluator-options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
            gap: 22px;
            margin-bottom: 35px;
        }

        .evaluator-option-card {
            border: 1.5px solid var(--border-color-light);
            border-radius: var(--border-radius-medium);
            padding: 28px 25px;
            cursor: pointer;
            transition: all 0.25s ease-out;
            background: var(--bg-element-light);
            position: relative;
            box-shadow: var(--shadow-light);
            text-align: left; /* Assicura allineamento testo a sx */
        }

        .evaluator-option-card:hover {
            border-color: var(--main-blue);
            transform: translateY(-4px);
            box-shadow: var(--shadow-medium);
        }

        .evaluator-option-card.selected {
            border-color: var(--main-blue);
            background-color: rgba(0, 122, 255, 0.07); 
            box-shadow: 0 3px 10px rgba(0, 122, 255, 0.15);
        }

        .evaluator-option-card.selected::after {
            content: '✓';
            position: absolute;
            top: 15px; 
            right: 15px;
            width: 28px; 
            height: 28px;
            background: var(--main-blue);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1rem; 
        }

        .evaluator-option-title {
            font-size: 1.15em; /* Coerente con h3 del sito */
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .evaluator-option-description {
            color: var(--text-light);
            font-size: 0.9em; 
            line-height: 1.55;
        }

        .evaluator-buttons {
            display: flex;
            justify-content: space-between;
            align-items: center; /* Allinea verticalmente i bottoni */
            margin-top: 35px;
            gap: 20px; 
        }
        .evaluator-buttons .cta-button { /* Applica stili cta-button già definiti */
            padding: 12px 25px; /* Leggermente meno padding per adattarsi */
            font-size: 1em;
        }
        
        .evaluator-final-result {
            text-align: center;
        }

        .evaluator-final-price {
            font-size: clamp(3rem, 7vw, 4.5rem); 
            font-weight: 700;
            color: var(--main-blue);
            margin: 25px 0 35px 0;
            line-height: 1.1;
        }

        .evaluator-result-details {
            background: var(--bg-page); 
            border-radius: var(--border-radius-medium);
            padding: 30px;
            margin: 35px 0;
            text-align: left;
            border: 1px solid var(--border-color-light);
        }

        .evaluator-detail-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
            padding: 10px 0;
            border-bottom: 1px solid #e0e0e0; /* Bordo più leggero */
            font-size: 1em;
        }
        .evaluator-detail-row span:first-child {
            color: var(--text-light);
            font-weight: 500;
        }
        .evaluator-detail-row span:last-child {
            color: var(--text-dark);
            font-weight: 500;
            text-align: right;
        }

        .evaluator-detail-row:last-child {
            border-bottom: none;
            font-weight: 600; 
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid var(--main-blue); 
        }
        .evaluator-detail-row:last-child span:first-child,
        .evaluator-detail-row:last-child span:last-child {
            color: var(--text-dark);
            font-size: 1.15em; /* Più grande per il totale */
            font-weight: 600;
        }

        @media (max-width: 768px) {
            .evaluator-main-container {
                margin: 1.5em auto 0 auto;
                padding: 25px;
            }
            .evaluator-options-grid {
                grid-template-columns: 1fr; 
            }
            .evaluator-buttons {
                flex-direction: column; 
            }
            .evaluator-buttons .cta-button {
                width: 100%; 
            }
            .evaluator-final-price {
                font-size: 2.8rem;
            }
        }
        .evaluator-no-options {
            text-align: center;
            color: var(--text-light);
            padding: 25px;
            background-color: var(--bg-page);
            border-radius: 8px;
            border: 1px solid var(--border-color-light);
        }
  /* === STILI BADGE E BORDI PRODOTTI === */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card-novita {
    border: 2px solid #28a745 !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2) !important;
}

.product-card-offerta {
    border: 2px solid #fd7e14 !important;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.2) !important;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 400;
    color: white;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.product-badge-novita {
    background-color: #28a745;
}

.product-badge-offerta {
    background-color: #fd7e14;
}

/* Responsive badge */
@media (max-width: 768px) {
    .product-badge {
        top: 8px;
        right: 8px;
        font-size: 0.7rem;
        padding: 3px 9px;
    }
}

/* Responsive badge mobile molto piccolo */
@media (max-width: 480px) {
    .product-badge {
        top: 6px;
        right: 6px;
        font-size: 0.65rem;
        padding: 2px 5px;
    }
}