﻿/* =========================================
   1. CORE SETTINGS & LUXURY VARIABLES
   ========================================= */
:root {
    /* --- PALETTE ARIEL "ENTERPRISE" --- */
    --ariel-deep: #0a4f2a;     /* Verde Profondo (Testi Istituzionali) */
    --ariel-main: #13733d;     /* Verde Ariel Ufficiale */
    --ariel-vivid: #0d9649;    /* Verde Brillante (CTA) */
    --ariel-lime: #aeca39;     /* Lime Tecnologico (Dettagli) */
    
    /* --- PALETTE GOLD "PRESTIGE" --- */
    --gold-100: #fadd75;
    --gold-300: #d4af37;
    --gold-500: #b8860b;
    --gold-glow: rgba(212, 175, 55, 0.5);

    /* --- BACKGROUNDS & SURFACES --- */
    --bg-body: #f7f9f8;        
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.90); /* Vetro piÃ¹ opaco per leggibilitÃ  */
    
    /* --- TYPOGRAPHY & COLORS --- */
    --text-dark: #1a1a1a;      
    --text-grey: #4a5568;      
    --text-light: #718096;
    
    /* --- SHADOWS & DEPTH --- */
    --shadow-xs: 0 1px 2px rgba(19, 115, 61, 0.05);
    --shadow-md: 0 4px 12px rgba(19, 115, 61, 0.08);
    --shadow-lg: 0 10px 25px rgba(19, 115, 61, 0.12);
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.3);

    /* --- GRADIENTS --- */
    --grad-ariel: linear-gradient(135deg, #13733d 0%, #0d9649 60%, #aeca39 100%);
    --grad-gold: linear-gradient(135deg, #fadd75 0%, #d4af37 50%, #b8860b 100%);
    
    /* --- LAYOUT --- */
    --max-width: 1240px;
    --header-height: 90px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset Avanzato */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

body {
    /* System Font Stack - 100/100 PageSpeed garantito */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-grey);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    color: var(--ariel-deep);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; position: relative;
}

/* =========================================
   2. HEADER LUXURY & GLASSMORPHISM
   ========================================= */
.site-header {
    height: var(--header-height);
    position: sticky; top: 0; z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-xs);
}
.site-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px;
    background: var(--grad-ariel); opacity: 0.8;
}

.header-wrapper { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo img { height: 55px; width: auto; }

.main-nav > ul { display: flex; gap: 32px; align-items: center; }
.main-nav > ul > li > a {
    font-size: 15px; font-weight: 600; text-transform: uppercase; color: var(--ariel-deep);
    letter-spacing: 0.5px; padding: 8px 0; position: relative;
}
.main-nav > ul > li > a:not(.btn-promo-menu)::before {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--ariel-lime); transition: all 0.3s ease; transform: translateX(-50%);
}
.main-nav > ul > li > a:not(.btn-promo-menu):hover { color: var(--ariel-vivid); }
.main-nav > ul > li > a:not(.btn-promo-menu):hover::before { width: 100%; }

.btn-promo-menu {
    background: var(--grad-ariel) !important; color: white !important;
    padding: 10px 28px !important; border-radius: 50px; font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(13, 150, 73, 0.3);
}
.btn-promo-menu:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 150, 73, 0.4); }

.mobile-toggle { display: none; font-size: 1.8rem; color: var(--ariel-deep); cursor: pointer; }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    position: relative; padding: 110px 0 100px;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f8f4 100%);
    text-align: center;
}
.hero h1 { font-size: 3.5rem; color: var(--text-dark); margin-bottom: 24px; font-weight: 800; }
.hero h1 span {
    background: var(--grad-ariel); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.35rem; color: var(--text-grey); max-width: 800px; margin: 0 auto 40px; font-weight: 400; }

/* =========================================
   4. COMPONENTS: BUTTONS & LINKS
   ========================================= */
.btn-link {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-ariel); color: white;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 16px 40px; border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(13, 150, 73, 0.25);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative; overflow: hidden; width: auto; /* IMPORTANTE: Non full width */
}
.btn-link:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(13, 150, 73, 0.35); }

.link-arrow {
    display: inline-flex; align-items: center; font-weight: 700; color: var(--ariel-vivid);
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.link-arrow:hover { color: var(--ariel-deep); margin-left: 5px; }

/* =========================================
   5. GRID & MAIN CARDS
   ========================================= */
.section { padding: 90px 0; }
.bg-grey { background-color: #f2f7f4; border-top: 1px solid #e2ece6; border-bottom: 1px solid #e2ece6; }

.section-header { text-align: center; margin-bottom: 70px; }
.section-header h2 { font-size: 2.6rem; margin-bottom: 16px; position: relative; display: inline-block; }
.section-header h2::after {
    content: ''; display: block; width: 80px; height: 6px;
    background: var(--grad-ariel); margin: 20px auto 0; border-radius: 4px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.nav-card {
    background: var(--bg-white); border-radius: var(--radius-md);
    padding: 48px 32px; text-align: center;
    box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease; position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; height: 100%;
}
.nav-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: var(--grad-ariel); opacity: 0; transform: scaleX(0); 
    transition: 0.4s ease; transform-origin: left;
}
.nav-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.nav-card:hover::before { opacity: 1; transform: scaleX(1); }

.nav-card-icon {
    font-size: 3rem; margin-bottom: 30px; width: 100px; height: 100px;
    display: flex; align-items: center; justify-content: center;
    background: #f0fdf4; border-radius: 50%; color: var(--ariel-vivid); transition: 0.4s;
}
.nav-card:hover .nav-card-icon { background: var(--ariel-main); color: white; transform: rotate(10deg) scale(1.1); }
.nav-card h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--text-dark); }
.nav-card p { color: var(--text-grey); margin-bottom: 32px; font-size: 1.05rem; flex-grow: 1; }

/* =========================================
   6. INBOUND MARKETING (CONFRONTO)
   ========================================= */
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 20px; }

.comp-card { padding: 40px; border-radius: var(--radius-md); text-align: center; border: 1px solid transparent; }
.comp-card.bad { background: #fff; border: 1px solid #fed7d7; box-shadow: 0 4px 15px rgba(229, 62, 62, 0.05); }
.comp-card.bad h3 { color: #c53030; font-size: 1.4rem; }
.score-circle.bad {
    width: 80px; height: 80px; border-radius: 50%; border: 4px solid #c53030;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
    font-size: 2rem; color: #c53030; background: #fff5f5;
}

.comp-card.good {
    background: #ffffff; border: 2px solid var(--ariel-vivid); box-shadow: var(--shadow-lg);
}
.comp-card.good h3 { color: var(--ariel-deep); font-size: 1.4rem; }
.score-circle.good {
    width: 80px; height: 80px; border-radius: 50%; border: 4px solid var(--ariel-vivid);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
    font-size: 2rem; color: var(--ariel-vivid); background: #f0fdf4;
}
.efficiency-bar { height: 10px; background: #edf2f7; border-radius: 10px; margin-top: 20px; overflow: hidden; }
.efficiency-fill { height: 100%; border-radius: 10px; }

/* =========================================
   7. ACCORDION & CONTENUTI TECNICI (RIPRISTINATO)
   ========================================= */
/* =========================================
   7. ACCORDION NATIVO (DETAILS) - PULITO
   ========================================= */
details {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
details[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--ariel-lime);
}
summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #fff;
    font-size: 1.15rem;
}
summary:hover {
    background-color: #fcfcfc;
    color: var(--ariel-vivid);
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--ariel-lime);
    font-weight: 300;
}
details[open] summary::after {
    content: '-';
    color: var(--ariel-deep);
}
details[open] summary {
    border-bottom: 1px solid #f0f0f0;
    background-color: #f9fffa;
    color: var(--ariel-deep);
}
.details-content {
    padding: 0 30px 30px;
    line-height: 1.8;
    color: var(--text-grey);
}
/* eventuali vecchie classi da disabilitare */
.faq-item, .faq-question, .faq-answer, .faq-icon {
    display: none;
}

/* =========================================
   8. PROMOZIONI (RIPRISTINATO)
   ========================================= */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.promo-card {
    background: white; border-radius: var(--radius-md); padding: 40px;
    box-shadow: var(--shadow-md); border-top: 4px solid var(--ariel-lime); transition: 0.3s;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--ariel-vivid); }
.promo-badge {
    display: inline-block; background: var(--ariel-vivid); color: white;
    padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.promo-list li { margin-bottom: 16px; padding-left: 30px; position: relative; color: var(--text-grey); }
/* CORREZIONE: sostituita icona FontAwesome con emoji ✅ */
.promo-list li::before {
    content: '✅';
    font-family: inherit;
    position: absolute; left: 0; top: 4px;
    color: var(--ariel-vivid);
    font-size: 1.1rem;
}

/* =========================================
   9. PRODOTTI NUMERATI (RIPRISTINATO)
   ========================================= */
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px; counter-reset: prod-counter; margin-top: 40px;
}
.product-card { position: relative; padding-left: 85px; }
.product-card::before {
    counter-increment: prod-counter;
    content: "0" counter(prod-counter);
    position: absolute; left: 0; top: -15px;
    font-size: 4rem; font-weight: 900; color: #e2e8f0; /* Grigio chiaro elegante */
    line-height: 1; z-index: 1; font-family: 'Segoe UI', sans-serif;
    transition: 0.3s;
}
.product-card:hover::before { color: #c6f6d5; /* Verde pallidissimo */ transform: translateX(-5px); }
.product-card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--ariel-deep); position: relative; z-index: 2; }
.product-card p { position: relative; z-index: 2; margin-bottom: 20px; }

/* =========================================
   10. ASSISTENZA & INCENTIVI (RIPRISTINATO)
   ========================================= */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.info-box {
    padding: 50px; border-radius: var(--radius-md); color: white;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.box-assistenza { background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%); } /* Dark Luxury */
.box-incentivi { background: var(--grad-ariel); } /* Brand Gradient */

.info-box h3 { color: white; font-size: 1.8rem; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; }
.info-box p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 15px; }

/* =========================================
   11. CONTATTI & LAYOUT 2 COLONNE (RIPRISTINATO)
   ========================================= */
.section-action { background: var(--bg-white); padding: 100px 0; border-top: 1px solid #eee; }
.action-grid {
    display: grid;
    grid-template-columns: 380px 1fr; /* Colonna sinistra fissa, destra flessibile */
    gap: 50px;
    align-items: start;
}

/* Call Box (Sinistra) */
.call-box {
    background: white; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,0.05);
    text-align: center; padding-bottom: 30px; position: sticky; top: 120px;
    width: 100%; /* Forza il contenimento nella griglia */
}
.call-box img { width: 100%; height: 280px; object-fit: cover; object-position: top center; }
.call-content { padding: 30px; }
.phone-number { 
    font-size: 2.2rem; font-weight: 800; color: var(--ariel-deep); 
    margin: 15px 0; letter-spacing: -1px; 
}
/* Fix bottone dentro la card */
.call-box .btn-link { width: 100%; box-shadow: none; border-radius: 8px; }

/* Form Box (Destra) */
.form-box {
    background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--ariel-lime);
    padding: 40px; min-height: 500px;
}

/* =========================================
   12. ESPLORA ECOSISTEMA & GAMIFICATION (RIPRISTINATO)
   ========================================= */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.link-box {
    background: #fff; padding: 30px; border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05); height: 100%; transition: 0.3s;
    box-shadow: var(--shadow-xs);
}
.link-box:hover { border-color: var(--ariel-lime); box-shadow: var(--shadow-md); transform: translateY(-5px); }

.link-box h3 {
    font-size: 1.2rem; color: var(--ariel-deep); margin-bottom: 20px;
    border-bottom: 2px solid var(--ariel-lime); padding-bottom: 10px; display: inline-block;
}
.link-box h3 i { margin-right: 10px; color: var(--ariel-vivid); }

.link-list li { margin-bottom: 12px; font-size: 0.95rem; border-bottom: 1px dashed #f0f0f0; padding-bottom: 8px; }
.link-list a:hover { color: var(--ariel-vivid); padding-left: 5px; }

/* CARD GAMIFICATION (Il Test) */
.game-card-mini {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfrd9 100%);
    border: 2px solid var(--ariel-lime);
    padding: 30px; border-radius: var(--radius-md); text-align: center;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    box-shadow: 0 10px 25px rgba(174, 202, 57, 0.2); transition: 0.3s;
}
.game-card-mini:hover { transform: scale(1.03); box-shadow: 0 15px 35px rgba(174, 202, 57, 0.3); }
.game-card-mini h3 { color: var(--ariel-deep); font-size: 1.3rem; margin-bottom: 10px; font-weight: 800; }
.btn-game {
    background: var(--ariel-deep); color: white;
    padding: 12px 25px; border-radius: 50px; font-weight: bold; font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); margin-top: 15px; display: inline-block;
}
.btn-game:hover { background: var(--ariel-vivid); color: white; }

/* =========================================
   13. FOOTER & GOLD SIGNATURE
   ========================================= */
footer { background: #111814; color: #cbd5e0; padding: 100px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
footer h4 { color: white; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 30px; }
footer ul li { margin-bottom: 14px; }
footer a { color: #a0aec0; transition: 0.3s; display: inline-block; }
footer a:hover { color: var(--ariel-lime); transform: translateX(4px); }
.legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: #718096; }

/* FIRMA IMWEB */
.imweb-signature-wrapper { display: flex; justify-content: center; margin-top: 60px; }
.imweb-badge {
    position: relative; display: inline-flex; align-items: center; gap: 18px;
    background: linear-gradient(160deg, #2d3436 0%, #000000 100%);
    padding: 14px 32px; border-radius: 60px;
    border: 2px solid transparent; /* Trucco per bordo gradiente */
    background-clip: padding-box, border-box; background-origin: padding-box, border-box;
    background-image: linear-gradient(#2d3436, #000000), var(--grad-gold);
    box-shadow: var(--shadow-gold), inset 0 0 20px rgba(0,0,0,0.8);
    text-decoration: none !important; transition: all 0.5s;
}
.imweb-badge:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 0 30px rgba(212, 175, 55, 0.6); }
.imweb-icon-box { font-size: 1.4rem; color: var(--gold-300); animation: goldPulse 3s infinite ease-in-out; }
.imweb-text strong {
    font-family: 'Segoe UI', serif; font-size: 1rem; letter-spacing: 0.5px;
    background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700;
}
.imweb-text span { font-size: 0.7rem; color: #b2bec3; text-transform: uppercase; letter-spacing: 1.5px; display: block; }

@keyframes goldPulse {
    0% { filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8)); transform: scale(1.1); }
    100% { filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3)); transform: scale(1); }
}

/* =========================================
   14. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .grid-3, .products-grid, .grid-4 { grid-template-columns: 1fr; gap: 30px; }
    .action-grid, .info-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid { text-align: center; }
    
    .mobile-toggle { display: block; }
    .main-nav {
        display: none; position: fixed; top: var(--header-height); left: 0; width: 100%;
        background: white; border-top: 1px solid #eee; box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 20px 0;
    }
    .main-nav.active { display: block; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li { width: 100%; border-bottom: 1px solid #f0f0f0; }
    .main-nav > ul > li > a { display: block; padding: 15px 24px; font-size: 16px; }
    
    .call-box { position: static; margin-bottom: 40px; }
    .product-card { padding-left: 0; padding-top: 50px; text-align: center; }
    .product-card::before { left: 50%; transform: translateX(-50%); top: 0; }
}

/* =========================================
   FIX VISION CARDS (Testo scuro su fondo chiaro)
   ========================================= */
.info-box.light {
    background: white;
    color: var(--text-grey); /* Forza il testo grigio scuro */
    border: 1px solid rgba(0,0,0,0.05);
}

/* Forza i titoli H3 a essere verdi scuri e non bianchi */
.info-box.light h3 {
    color: var(--ariel-deep); 
    border-bottom: none; /* Rimuove eventuali linee non volute */
}

/* Forza i paragrafi a essere grigi e non bianchi trasparenti */
.info-box.light p {
    color: var(--text-grey);
    opacity: 1;
}

/* Effetto Hover specifico per queste card */
.info-box.light:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* =========================================
   CLUSTER CARDS (HOME NAVIGATION)
   ========================================= */
.cluster-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex; 
    flex-direction: column;
    height: 100%;
    position: relative;
}

.cluster-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ariel-lime);
}

/* Area Immagine */
.cluster-img-wrapper {
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
    height: 280px; /* Altezza fissa per allineamento */
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.cluster-img-wrapper img {
    max-height: 100%;
    width: auto;
    max-width: 90%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); /* Ombra realistica sotto il prodotto */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cluster-card:hover .cluster-img-wrapper img {
    transform: scale(1.15); /* Zoom elegante in hover */
}

/* Badge sopra l'immagine */
.cluster-tag {
    position: absolute;
    top: 20px; 
    right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--ariel-deep);
    border: 1px solid #eee;
    z-index: 2;
}

/* Contenuto Testuale */
.cluster-content {
    padding: 35px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cluster-content h3 {
    font-size: 1.6rem;
    color: var(--ariel-deep);
    margin-bottom: 15px;
}

.cluster-content p {
    color: var(--text-grey);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Pulsante specifico per le card */
.btn-cluster {
    margin-top: auto;
    background: transparent;
    color: var(--ariel-main);
    border: 2px solid var(--ariel-main);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.cluster-card:hover .btn-cluster {
    background: var(--ariel-main);
    color: white;
    box-shadow: 0 5px 15px rgba(19, 115, 61, 0.3);
}

/* =========================================
   SEZIONE "PERCHÉ ARIEL" (SERVICE CARD)
   ========================================= */
.advantage-section {
    background: linear-gradient(to bottom, #fff, #f8fafc);
    padding: 80px 0;
}

/* Container della "Super Card" */
.peace-of-mind-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* La parte Ariel è più grande */
}

/* Lato Sinistro: Il Problema (Generico) */
.problem-side {
    padding: 50px 40px;
    background: #fff5f5;
    border-right: 1px dashed #e2e8f0;
    color: #64748b;
    position: relative;
}

/* Lato Destro: La Soluzione (Ariel) */
.solution-side {
    padding: 50px 40px;
    background: #fff;
    position: relative;
}
.solution-side::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: var(--grad-ariel); /* Linea verde Ariel */
}

/* Titoli */
.problem-side h3 { font-size: 1.4rem; color: #7f1d1d; display: flex; align-items: center; gap: 10px; }
.solution-side h3 { font-size: 1.8rem; color: var(--ariel-deep); display: flex; align-items: center; gap: 10px; }

/* Liste */
.risk-list, .benefit-list { margin-top: 25px; list-style: none; }

/* CORREZIONE: sostituita icona FontAwesome con emoji ⚠️ */
.risk-list li {
    margin-bottom: 15px; padding-left: 30px; position: relative; font-size: 0.95rem;
}
.risk-list li::before {
    content: '⚠️';
    font-family: inherit;
    position: absolute; left: 0; top: 2px;
    color: #ef4444; /* Rosso allarme */
    font-size: 1rem;
}

/* CORREZIONE: sostituita icona FontAwesome con emoji ✔️ */
.benefit-list li {
    margin-bottom: 18px; padding-left: 35px; position: relative; font-size: 1.05rem; color: var(--text-dark); font-weight: 500;
}
.benefit-list li::before {
    content: '✔️';
    font-family: inherit;
    position: absolute; left: 0; top: 3px;
    color: var(--ariel-vivid);
    font-size: 1.2rem;
}

/* Box "Squadra Vincente" */
.team-badge {
    margin-top: 30px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 20px; border-radius: var(--radius-sm);
    border: 1px solid var(--ariel-lime);
    display: flex; gap: 15px; align-items: center;
}
.team-icon {
    width: 50px; height: 50px; background: var(--ariel-main); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

@media (max-width: 900px) {
    .peace-of-mind-card { grid-template-columns: 1fr; }
    .problem-side { border-right: none; border-bottom: 1px dashed #e2e8f0; }
    .solution-side::before { width: 100%; height: 4px; top: 0; left: 0; }
}


/* =========================================
   SOCIAL SHARE & BOOKMARK CARD
   ========================================= */
.share-section {
    padding: 40px 0 80px;
    background: transparent; /* Si fonde con la sezione precedente */
}

.share-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 4px solid var(--ariel-lime); /* Tocco brand */
}

/* Lato Bookmark */
.bookmark-box {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}
.bookmark-icon {
    width: 60px; height: 60px;
    background: #fcf6e3; /* Gold chiarissimo */
    color: #d4af37; /* Gold */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.bookmark-text h4 { margin: 0; color: var(--ariel-deep); font-size: 1.1rem; }
.bookmark-text p { margin: 5px 0 0; font-size: 0.9rem; color: #666; }
.kbd-shortcut {
    display: inline-block;
    padding: 2px 8px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.85rem;
    color: #333;
}

/* Lato Social Buttons */
.social-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-social:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.2); color: white; }

.bg-fb { background: #1877F2; }
.bg-wa { background: #25D366; }
.bg-in { background: #0A66C2; }

@media (max-width: 768px) {
    .share-card { flex-direction: column; text-align: center; }
    .bookmark-box { flex-direction: column; text-align: center; }
    .social-actions { justify-content: center; width: 100%; }
    .btn-social { flex: 1; justify-content: center; }
}

/* =========================================
   MID-PAGE CALL TO ACTION (CTA STRIP)
   ========================================= */
.cta-strip-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.cta-strip-card {
    background: var(--ariel-deep); /* Verde scuro istituzionale */
    background: linear-gradient(135deg, #0a4f2a 0%, #13733d 100%);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 15px 40px rgba(10, 79, 42, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

/* Effetto luce di sfondo */
.cta-strip-card::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}

/* Icona Telefono Animata */
.cta-icon-wrapper {
    position: relative;
    width: 80px; height: 80px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ariel-main);
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-white 2s infinite;
}

.cta-text h3 {
    color: white; margin-bottom: 10px; font-size: 1.8rem;
}
.cta-text p {
    color: rgba(255,255,255,0.9); margin: 0; font-size: 1.1rem; max-width: 600px;
}

/* Bottone Numero Gigante */
.btn-phone-big {
    background: var(--grad-gold); /* Oro per il bottone */
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-size: 1.4rem; font-weight: 800;
    padding: 15px 35px; border-radius: 50px;
    display: inline-flex; align-items: center; gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}
.btn-phone-big:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: white;
}

@keyframes pulse-white {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Responsive */
@media (max-width: 900px) {
    .cta-strip-card { flex-direction: column; text-align: center; padding: 30px; }
    .btn-phone-big { width: 100%; justify-content: center; font-size: 1.2rem; }
    .cta-text p { font-size: 1rem; }
}

/* =========================================
   REVIEWS SECTION (SOCIAL PROOF)
   ========================================= */
.reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.review-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-300); /* Bordo dorato in hover */
}

/* Header della Card (Nome + Data) */
.review-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
}
.reviewer-name { font-weight: 700; color: var(--text-dark); font-size: 1.05rem; }
.review-date { font-size: 0.8rem; color: #999; }

/* Stelle */
.star-rating { color: var(--gold-300); font-size: 0.9rem; margin-bottom: 15px; }

/* Testo */
.review-body {
    font-size: 0.95rem; color: var(--text-grey); line-height: 1.6; font-style: italic; margin-bottom: 20px;
}

/* Badge Verificato */
.verified-purchase {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.75rem; color: var(--ariel-vivid); font-weight: 700; text-transform: uppercase;
}
.verified-purchase i { background: #f0fdf4; padding: 4px; border-radius: 50%; }

/* Box Riepilogo (TrustScore) */
.trust-summary {
    text-align: center; margin-bottom: 50px;
    background: white; display: inline-block; padding: 15px 40px;
    border-radius: 50px; box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}
.trust-score { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.trust-stars { color: var(--gold-300); font-size: 1.2rem; margin: 5px 0; }
.trust-text { font-size: 0.9rem; color: #661; }

/* =========================================
   FIX MOBILE DEFINITIVO (Caldaie & Stufe)
   ========================================= */

@media (max-width: 991px) {

    /* 1. Sblocca le "Colonne Lunghissime" in Caldaie/Stufe/Clima */
    .product-showcase {
        display: flex !important;      /* Usa Flex invece di Grid per controllo totale */
        flex-direction: column;        /* Impila verticalmente */
        gap: 40px;                     /* Spazio tra i blocchi */
        margin-bottom: 60px;
    }

    /* 2. Ordine Visuale: Immagine SEMPRE sopra, Testo sotto */
    .product-showcase .product-img-box {
        order: -1;                     /* Spinge l'immagine in cima */
        width: 100%;                   /* Occupa tutta la larghezza */
        min-height: auto;              /* Altezza naturale */
    }

    /* 3. Sistema la Intro a due colonne (La parte "Condensazione vs Camera Aperta") */
    /* Se hai usato style inline nel div genitore grid-template-columns: 1fr 1fr */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important; /* Forza 1 colonna */
        gap: 30px !important;
    }

    /* 4. Sistema le griglie a 3 colonne (Cluster Navigation) */
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* 5. Sistema la card Stufe (Testo + 2 box) */
    /* Forza qualsiasi griglia interna a diventare 1 colonna */
    .grid-3[style*="align-items: stretch"], 
    .grid-3[style*="grid-template-columns: 1fr 2fr"] {
        grid-template-columns: 1fr !important;
    }

    /* 6. Fix altezza box informativi che si allungavano troppo */
    .info-box {
        height: auto !important;
        margin-bottom: 20px;
    }
    
    /* 7. Fix Card "Squadra Vincente/Confronto" */
    .peace-of-mind-card {
        grid-template-columns: 1fr !important;
    }
    .problem-side {
        border-right: none;
        border-bottom: 1px dashed #ccc;
    }
    .solution-side::before {
        width: 100%; height: 4px; top: 0; left: 0; /* Linea verde in alto */
    }
}


/* TASTO SECONDARIO (Modulo Contatti) */
.btn-ariel-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    background: #ffffff;
    color: #334155; /* Grigio scuro elegante */
    border: 2px solid #cbd5e0; /* Bordino grigio */
    padding: 16px 40px; 
    border-radius: 50px;
    font-weight: 700; 
    text-decoration: none; 
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    width: 100%; /* Si adatta su mobile */
    max-width: 350px; /* Non diventa gigante su desktop */
    justify-content: center;
}

.btn-ariel-secondary:hover {
    border-color: #334155;
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.08);
}

/* BANNER COOKIE - Versione SEO Safe & Design Curato */
/* Banner cookie posizionato in basso – non scompare mai automaticamente */
#cookietopper {
    /* contenitore vuoto inizialmente */
}

#privacy_widget {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    color: #1e293b;
    z-index: 100000;
    border-top: 4px solid #0d9649;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 15px 5%;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    flex-wrap: wrap;
}

.privacy-text {
    max-width: 700px;
    text-align: left;
}

.privacy-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

#privacy_widget button {
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

#bprivacy_accept {
    background: #0d9649;
    color: white;
    box-shadow: 0 2px 8px rgba(13, 150, 73, 0.3);
}

#bprivacy_accept:hover {
    background: #0b7a3b;
    transform: translateY(-2px);
}

#bprivacy_info {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

#bprivacy_info:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Mobile */
@media (max-width: 768px) {
    #privacy_widget {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        text-align: center;
    }
    .privacy-text {
        text-align: center;
    }
    .privacy-buttons {
        width: 100%;
        justify-content: center;
    }
    #privacy_widget button {
        width: auto;
        min-width: 120px;
    }
}
        /* =========================================
           CSS SPECIFICO PILLAR PAGE (HUB)
           ========================================= */
        :root {
            --ariel-deep: #0a4f2a;
            --ariel-main: #13733d;
            --ariel-lime: #aeca39;
            --bg-body: #f8fafc;
            --card-shadow: 0 10px 30px rgba(0,0,0,0.08);
            --card-hover: 0 20px 40px rgba(0,0,0,0.12);
        }

        body { background-color: var(--bg-body); font-family: 'Open Sans', sans-serif; }

        /* HERO SECTION */
        .hub-hero {
            background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f8f4 100%);
            padding: 80px 0 60px;
            text-align: center;
            border-bottom: 1px solid #e2e8f0;
        }
        .hub-hero h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: 3rem;
            color: var(--ariel-deep);
            margin-bottom: 20px;
            font-weight: 800;
            letter-spacing: -1px;
        }
        .hub-hero p {
            font-size: 1.25rem;
            color: #64748b;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* GRID LAYOUT */
        .hub-grid-section { padding: 40px 0 100px; }
        .hub-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }

        /* HUB CARD STYLE */
        .hub-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: var(--card-shadow);
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: 1px solid rgba(0,0,0,0.03);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
        }

        /* Hover Effect */
        .hub-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--card-hover);
        }

        /* --- COLORI SPECIFICI PER CARD --- */
        
        /* 1. Audit (Lime) */
        .hub-card.audit { border-top: 6px solid var(--ariel-lime); }
        .hub-card.audit .hub-icon { background: #f0fdf4; color: var(--ariel-main); }
        .hub-card.audit .hub-btn { color: var(--ariel-main); }

        /* 2. Thermo (Rosso) */
        .hub-card.thermo { border-top: 6px solid #c0392b; }
        .hub-card.thermo .hub-icon { background: #fdf2f2; color: #c0392b; }
        .hub-card.thermo .hub-btn { color: #c0392b; }

        /* 3. Config (Tech Blue) */
        .hub-card.config { border-top: 6px solid #2563eb; }
        .hub-card.config .hub-icon { background: #eff6ff; color: #2563eb; }
        .hub-card.config .hub-btn { color: #2563eb; }

        /* 4. Pellet (Orange) */
        .hub-card.pellet { border-top: 6px solid #d35400; }
        .hub-card.pellet .hub-icon { background: #fff5eb; color: #d35400; }
        .hub-card.pellet .hub-btn { color: #d35400; }

        /* 5. Clima (Sky Blue) */
        .hub-card.clima { border-top: 6px solid #0284c7; }
        .hub-card.clima .hub-icon { background: #f0f9ff; color: #0284c7; }
        .hub-card.clima .hub-btn { color: #0284c7; }

        /* 6. Hydro (Cyan) */
        .hub-card.hydro { border-top: 6px solid #00bcd4; }
        .hub-card.hydro .hub-icon { background: #e0f7fa; color: #00bcd4; }
        .hub-card.hydro .hub-btn { color: #00bcd4; }

        /* 7. Eco (Green) */
        .hub-card.eco { border-top: 6px solid #43a047; }
        .hub-card.eco .hub-icon { background: #e8f5e9; color: #43a047; }
        .hub-card.eco .hub-btn { color: #43a047; }


        /* Icon Styling */
        .hub-icon {
            width: 70px; height: 70px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 2rem;
            margin-bottom: 25px;
            transition: 0.4s;
        }
        .hub-card:hover .hub-icon { transform: scale(1.1) rotate(5deg); }

        /* Texts */
        .hub-card h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.6rem;
            color: var(--ariel-deep);
            margin-bottom: 12px;
            font-weight: 700;
        }
        .hub-card p {
            color: #64748b;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 30px;
            flex-grow: 1;
        }

        /* Fake Button */
        .hub-btn {
            font-size: 0.9rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex; align-items: center; gap: 8px;
            transition: 0.3s;
        }
        .hub-card:hover .hub-btn { gap: 12px; }

        /* Badge "Popular/New" */
        .badge-pop {
            position: absolute; top: 20px; right: 20px;
            background: var(--ariel-deep); color: white;
            font-size: 0.7rem; padding: 4px 10px; border-radius: 4px;
            font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
        }
        .badge-new {
            position: absolute; top: 20px; right: 20px;
            background: #2563eb; color: white;
            font-size: 0.7rem; padding: 4px 10px; border-radius: 4px;
            font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
        }

        /* SECTION SEPARATORS */
        .section-label {
            grid-column: 1 / -1;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.2rem;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin: 50px 0 20px;
            display: flex; align-items: center; gap: 15px;
        }
        .section-label::after {
            content: ''; height: 1px; flex-grow: 1; background: #e2e8f0;
        }
        /* Primo separatore senza margine top eccessivo */
        .section-label.first { margin-top: 10px; }

        @media (max-width: 768px) {
            .hub-hero h1 { font-size: 2.2rem; }
            .hub-grid { grid-template-columns: 1fr; }
        }

        /* ... SEZIONE 14. RESPONSIVE NEL TUO FILE CSS ... */

/* Regola per Tablet Orizzontale (tra 769px e 992px) */
@media (max-width: 992px) {
    /* MANTIENI griglia a 2 colonne su tablet */
    .hub-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px; 
    } 
    /* Gli altri grid-3/4 possono rimanere a 1fr se vuoi */
    .grid-3, .products-grid, .grid-4 { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    } 
}

/* NUOVA REGOLA per Mobile (sotto i 768px) */
@media (max-width: 768px) { 
    /* TUTTO va a 1 colonna */
    .hub-grid, .grid-3, .products-grid, .grid-4, .action-grid, .info-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    /* ... (altre regole 768px) ... */
}

/* Bottone flottante telefono */
.float-phone {
    position: fixed;
    bottom: 80px;        /* lascia spazio al cookie banner (che sta in basso) */
    right: 20px;
    background: linear-gradient(135deg, #0d9649, #0a4f2a);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.float-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(13, 150, 73, 0.4);
    background: linear-gradient(135deg, #0b7a3b, #0a4f2a);
    color: white;
}

.phone-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

.phone-number {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Su schermi molto piccoli mostra solo l'icona (risparmia spazio) */
@media (max-width: 480px) {
    .float-phone {
        padding: 10px 15px;
        bottom: 70px;
        right: 15px;
    }
    .phone-number {
        display: none;
    }
    .float-phone .phone-icon {
        margin: 0;
        font-size: 1.6rem;
    }
}

/* Se il cookie banner NON è ancora stato accettato, evitiamo sovrapposizioni */
/* Il banner ha #privacy_widget con position fixed bottom:0 */
/* Questa regola opzionale sposta il bottone più su quando il banner è visibile */
body:has(#privacy_widget) .float-phone {
    bottom: 120px;  /* più spazio per il banner */
}
@media (max-width: 480px) {
    body:has(#privacy_widget) .float-phone {
        bottom: 100px;
    }
}


/* =========================================
   ACCESSIBILITY & PERFORMANCE UPGRADES
   ========================================= */

/* Focus visibile per tastiera */
:focus-visible {
    outline: 3px solid var(--ariel-lime);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}
.btn-link:focus-visible, .btn-promo-menu:focus-visible, .btn-ariel-secondary:focus-visible {
    outline-color: var(--gold-300);
}

/* Rispetta preferenze riduzione movimento */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Fix marker details su WebKit */
summary::-webkit-details-marker {
    display: none;
}

/* Stili base per form (se non già presenti) */
input, textarea, select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--ariel-vivid);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 150, 73, 0.2);
}
label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--ariel-deep);
}

/* Miglioramenti responsive testi */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; font-weight: 700; }
    .section-header h2 { font-size: 1.8rem; }
    .hub-hero h1 { font-size: 2rem; }
}

/* Z-index menu mobile */
.mobile-toggle { 
    z-index: 1001; 
    position: relative; 
}
.main-nav.active { 
    z-index: 1000; 
}

/* Hint performance per animazioni pesanti */
.nav-card, .cluster-card, .hub-card, .product-card, .promo-card {
    will-change: transform;
}

/* Fallback per bordo oro imweb-badge */
.imweb-badge {
    border: 2px solid var(--gold-300); /* fallback */
}
/* La regola originale con background-clip rimane, ma ora c'è un fallback */