/* --- RESET E VARIABILI --- */
:root {
    --epi-blue: #004a99;
    --cda-gold: #D4AF37;
    --text-gray: #333;
    --bg-gray: #f4f7f9;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- CONTENITORE PRINCIPALE --- */
.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    background: var(--white);
    width: 98%;
    max-width: 1600px;
    min-height: 85vh;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    position: relative;
    display: block; /* <-- ECCO LA LIBERAZIONE DEI TASTI */
    box-sizing: border-box;
}

/* --- HEADER LOGHI --- */
.logo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.logo-side { flex: 1; }
.logo-center { flex: 1.5; text-align: center; }
.logo-side.right { text-align: right; }

.logo-header img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-side img { max-height: 110px; }
.logo-center img { max-height: 260px; }

.header-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin-bottom: 30px;
    width: 100%;
}

/* --- SPLASH PAGE & TITOLO --- */
.splash-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-title {
    color: var(--epi-blue);
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 40px;
    max-width: 800px;
}
.splash-content .btn-main {
margin-left: auto !important;
margin-right: auto !important;
align-self: center !important;
display: block !important;
}

/* --- FOOTER SPLASH (Configurazione Desktop) --- */
.splash-footer {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 20px 0 10px 0 !important;
    flex-direction: row !important;
    align-items: flex-end !important;
}

.footer-item {
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 8px;
    white-space: nowrap;
}

/* Sottolineature */
.epi-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #009246 33%, #fff 33%, #fff 66%, #CE2B37 66%);
    border: 0.5px solid #ddd;
}

.cda-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--cda-gold);
}

/* --- RESET FORM --- */
form {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* --- BOTTONI --- */
.btn-main {
    /* Aspetto (Colori, bordi, testo) */
    background: var(--epi-blue);
    color: white;
    border: none;
    font-size: 1.0rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    
    /* Centratura e Spaziature (Unite e corrette) */
    display: flex !important;
    justify-content: center !important; 
    align-items: center !important;
    text-align: center !important;
    margin: 20px auto 50px auto !important; 
    padding: 15px 30px !important;
    width: fit-content !important;
    min-width: 220px !important;
    box-sizing: border-box !important;
}

.btn-main:hover { 
    background: #00356d; 
    transform: translateY(-3px); 
}

.btn-main:active, .btn-secondary:active, .btn-home:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: 0 2px 5px rgba(0, 74, 153, 0.2) !important;
}
/* --- TASTO INIZIA TEST: CENTRATURA BLINDATA --- */
button[onclick*="startTest"] {
    display: block !important;
    width: 250px !important;
    margin-top: 40px !important;
    margin-bottom: 50px !important;
    margin-left: auto !important;  /* Forza il browser a calcolare spazio uguale a sx... */
    margin-right: auto !important; /* ...e a dx */
    padding-left: 0 !important;    /* Rimuove asimmetrie interne al tasto */
    padding-right: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    transform: none !important;
}
/* --- LOGICA DI VISUALIZZAZIONE PAGINE --- */
.page { 
    display: none; 
    width: 100%;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.page.active { 
    display: flex; 
    animation: fadeIn 0.5s ease-in-out;
}

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

/* --- FORM & CENTRATURA --- */
.form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.form-container input {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

/* ---> INCOLLA QUI DA QUI <--- */
/* --- STILE MODERNO RADIO BUTTONS --- */
#questions-container label {
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#questions-container label:hover {
    background-color: #f0f7ff !important;
    border-color: var(--epi-blue) !important;
    transform: translateX(5px); 
}

#questions-container label:has(input[type="radio"]:checked) {
    background-color: var(--epi-blue) !important;
    color: white;
    border-color: var(--epi-blue) !important;
    box-shadow: 0 5px 15px rgba(0, 74, 153, 0.3);
}

#questions-container label:has(input[type="radio"]:checked) input {
    accent-color: white; 
}

/* =========================================================
   LAYOUT NAVIGAZIONE (DESKTOP E TABLET) - UGUALE ALL'IMMAGINE
   ========================================================= */

/* --- GRIGLIA CONTENITORE --- */
.nav-buttons {
    display: grid !important;
    grid-template-columns: 45px 1fr 1fr !important; 
    gap: 15px !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 30px auto 10px auto !important;
    padding: 0 !important;              
    align-items: center !important;
    box-sizing: border-box !important;
}

/* --- STILE COMUNE A TUTTI I TASTI (Gemelli blu e bianchi) --- */
.btn-home, 
.nav-buttons .btn-main, 
.nav-buttons .btn-secondary {
    height: 45px !important;                      
    background-color: var(--epi-blue) !important; 
    color: white !important;                      
    border: none !important;                      
    border-radius: 8px !important;                
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: static !important;
}

/* --- LARGHEZZA SPECIFICA --- */
.btn-home {
    width: 45px !important; /* Il quadrato */                       
}

.nav-buttons .btn-main, 
.nav-buttons .btn-secondary {
    width: 100% !important; /* I rettangoli */
    min-width: 0 !important;                       
}

/* --- EFFETTO HOVER PER TUTTI --- */
.btn-home:hover, 
.nav-buttons .btn-main:hover, 
.nav-buttons .btn-secondary:hover {
    background-color: #00356d !important;         
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 74, 153, 0.3) !important;
}

/* --- GESTIONE DELLA PRIMA DOMANDA --- */
#btn-prev[style*="display: none"] {
    display: none !important;
}

#btn-next {
    grid-column: 3 !important; /* Lo forza a destra se Indietro non c'è */
}
/* --- RESPONSIVE FINALE (Smartphone e Tablet) --- */
/* --- FIX: Loghi FISSI in alto e distribuzione del resto (Smartphone/Tablet) --- */
@media (max-width: 1024px) {
    .card { 
        padding: 20px !important; 
        min-height: 95vh !important; 
        display: block !important; /* Forza lo sblocco anche qui */
    }
    /* AREA 1: Loghi (Fissi in alto) */
    .logo-header {
        flex: 0 0 auto !important; /* Non si espande, occupa solo il suo spazio */
        margin-bottom: 20px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-side img { max-height: 70px !important; }
    .logo-center img { max-height: 150px !important; }

    /* AREA 2: Titolo e Bottone (Prende lo spazio centrale) */
    .splash-content {
        flex: 2 !important; /* Ha più "peso" per stare al centro */
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
    }

    .main-title { 
        font-size: 1.3rem !important; 
margin-top: 80px !important;  /* Aumenta questo valore per far scendere la scritta */
        margin-bottom: 30px !important; 
        line-height: 1.3;
    }

    /* AREA 3: Footer (Distanziato dal titolo) */
    .splash-footer { 
        flex: 1 !important; /* Occupa l'ultima parte dello schermo */
        display: flex !important;
        flex-direction: column !important; 
        justify-content: center !important; 
        align-items: center !important; 
        gap: 30px !important;
        margin-top: 0 !important;
    }
}

/* Sistema il tasto della splash page */
.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* ==============================================
   REGOLE SPECIFICHE PER SMARTPHONE (Sotto 600px)
   ============================================== */
@media screen and (max-width: 600px) {

    /* --- MAGIA NAVIGAZIONE MOBILE (Unica Riga Perfetta) --- */
    .nav-buttons {
        gap: 8px !important;
        padding: 0 !important;
    }

    .nav-buttons .btn-main, 
    .nav-buttons .btn-secondary {
        font-size: 11px !important; 
        letter-spacing: -0.2px !important; 
        padding: 0 2px !important; 
    }
    

    /* --- FIX: IMPEDISCE ALLA PAGINA DI SBORDARE A DESTRA --- */
html, body {
overflow-x: hidden !important;
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}

.main-wrapper {
padding: 0 !important;
}

.card {
        width: 100% !important;
        padding: 20px 15px !important;
        border-radius: 0 !important;
        display: block !important;
    }
    /* 1. Sgancia i loghi dalla riga singola */
    .logo-header {
        display: flex !important;
        flex-wrap: wrap !important; /* Permette di disporli su più righe */
        justify-content: space-between !important;
        align-items: flex-start !important;
    }

    /* 2. I due loghi laterali: li teniamo in alto ai lati */
    .logo-side {
        flex: 0 0 45% !important; /* Prende quasi metà schermo in alto */
        order: 1 !important;      /* Li forza a stare sulla primissima riga */
    }
    
    .logo-side.right {
        order: 2 !important;      /* Si posiziona in alto a destra */
        text-align: right !important;
    }

    /* 3. Il logo centrale: scende sotto e prende tutto lo spazio */
    .logo-center {
        flex: 0 0 100% !important; /* Prende tutta la larghezza della riga sotto */
        order: 3 !important;       /* Lo spinge sotto i due loghetti */
        margin-top: 8px !important; /* Gli dà un po' di respiro da quelli sopra */
    }

    /* 4. Ora che ha tutto lo spazio, puoi farlo gigante! */
    .logo-center img {
        width: 280px !important;      /* ECCO LA TUA NUOVA MANOPOLA! Modifica questo numero */
        max-width: none !important;   /* Elimina il blocco che lo teneva schiacciato */
        max-height: none !important;  /* Libera l'altezza */
        height: auto !important;      /* Mantiene le proporzioni perfette */
    }
.splash-content {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
margin: 0 !important;   /* Azzera margini della scatola */
padding: 0 !important;  / Azzera padding della scatola */
left: 0 !important;
}

.splash-content .main-title {
font-size: 1.3rem !important;
text-align: center !important;
width: 100% !important;
margin: 0 0 20px 0 !important;
padding: 0 10px !important; /* Solo un filo di respiro ai lati */
}

.splash-content .btn-main {
display: block !important;
margin: 0 auto 60px auto !important; /* Auto a destra e sinistra forza la centratura /
padding: 12px 24px !important;
font-size: 14px !important;
min-width: 220px !important;
width: fit-content !important;
/ Rimuove qualsiasi posizionamento strano ereditato */
position: relative !important;
left: 0 !important;
right: 0 !important;
float: none !important;
}
.splash-footer {
display: flex !important;
flex-direction: column !important; /* Mette Bari sopra e Roma sotto /
align-items: center !important;    / Li centra perfettamente /
gap: 15px !important;              / Crea un po' di spazio tra i due /
margin-top: 50px !important;       / Allontana il footer dal tastone blu */
width: 100% !important;
}
    .footer-item {
font-size: 13px !important;        /* Lo rimpiccioliamo un po' per il cell /
text-align: center !important;
width: 100% !important;             / Impedisce alla scritta di toccare i bordi /
line-height: 1.5 !important;
border-bottom: 1px solid #ddd;     / Opzionale: una sottile linea di separazione */
padding-bottom: 5px;
}
    }
.nav-buttons {
display: flex !important;
flex-direction: row !important;
justify-content: flex-start !important;
align-items: center !important;
gap: 10px !important;
width: 100% !important;
max-width: 800px !important;
margin: 30px auto !important;
padding: 0 10px !important;
position: relative !important;
box-sizing: border-box !important;
}

.nav-buttons button {
position: static !important; /* L'ANCORA CHE IMPEDISCE AI TASTI DI VOLARE /
transform: none !important;
margin: 0 !important;
height: 45px !important;     / I tuoi 45px perfetti */
border-radius: 8px !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
box-sizing: border-box !important;
}

.nav-buttons .btn-home {
flex: 0 0 45px !important;   /* Il quadrato della casetta */
width: 45px !important;
background-color: var(--epi-blue) !important;
border: none !important;
padding: 0 !important;
}

.nav-buttons .btn-secondary,
.nav-buttons .btn-main {
flex: 1 1 auto !important;   /* I due tasti che si allargano /
background-color: var(--epi-blue) !important;
color: white !important;
border: none !important;
font-size: 14px !important;
font-weight: bold !important;
text-transform: uppercase !important;
white-space: nowrap !important; / Impedisce di andare a capo */
}

#btn-prev[style*="display: none"] ~ #btn-next {
margin-left: auto !important;
}

@media screen and (max-width: 600px) {
.nav-buttons { gap: 6px !important; padding: 0 5px !important; }
.nav-buttons .btn-secondary,
.nav-buttons .btn-main {
font-size: 11px !important;
letter-spacing: -0.5px !important;
padding: 0 4px !important;
}
}
/* --- RIPORTA A TERRA IL TASTO INIZIALE --- */
button.btn-main:not(.nav-buttons button) {
position: static !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
margin: 40px auto !important;
width: 100% !important;
max-width: 300px !important;
height: 55px !important;
}

/* --- FIX TESTO "FINALIZZA" SUL CELLULARE --- */
@media screen and (max-width: 600px) {
    
    .nav-buttons .btn-main,
    .nav-buttons .btn-secondary {
        white-space: normal !important; /* Permette al testo di andare a capo */
        line-height: 1.1 !important;    /* Tiene le righe vicine */
        font-size: 10px !important;     /* Rimpicciolisce un pelino il carattere */
        text-align: center !important;
    }

    /* ---> FIX ALTEZZA TASTI MOBILE (Casetta quadrata) <--- */
    /* Imposta un'altezza fissa identica per TUTTI e tre i tasti */
    .nav-buttons button {
        height: 40px !important; 
        min-height: 40px !important;
        max-height: 40px !important;
        margin: 0 !important; /* Rimuove margini che li sfalsano in verticale */
    }
    
    /* Forza SOLO il tasto casetta a essere un quadrato perfetto 40x40 */
    .nav-buttons .btn-home {
        width: 40px !important; 
        flex: 0 0 40px !important;
        padding: 0 !important;
    }

    /* ---> FIX SPAZIO BIANCO TRA I LOGHI SU MOBILE <--- */
    /* Elimina eventuale spazio sotto i due loghetti laterali */
    .logo-side {
        margin-bottom: 0 !important;
    }
    
    /* Tira il logo centrale (quello grande) verso l'alto */
    .logo-center {
        margin-top: -15px !important; /* Aumenta questo numero a -20px o -25px se lo vuoi ancora più in alto */
    }
}
 

          html, body, #report-template, .pdf-page {
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
        /* --- LOGO CENTRALE --- */
        #report-template .logo-main { 
    max-height: 140mm !important; /* Logo molto più grande */
    width: auto !important; 
    margin: 5mm auto 5mm auto !important; 
    display: block; 
}

        /* --- LOGHI LATERALI --- */
        #report-template .logo-side { 
            height: 40mm !important; 
            width: auto !important; 
            max-width: 40mm !important; 
            object-fit: contain !important; 
            flex-shrink: 0 !important; 
        }

        /* --- TABELLA 7 AREE --- */
        .area-name {
            font-weight: bold;
            color: var(--epi-blue);
            width: 32% !important; 
            white-space: nowrap !important; 
            font-size: 9pt !important;
        }

        .results-table {
            width: 100%;
            margin-top: 0 !important;
            border-collapse: collapse;
            position: relative;
            z-index: 5; /* Sta sopra la filigrana */
        }

        .results-table td {
            padding: 5px 0 !important; 
            border-bottom: 1px dotted #ccc; 
            vertical-align: top !important; 
        }

        .results-table span {
            font-size: 8pt !important; 
            line-height: 1.1 !important; 
            display: block; 
            margin-top: 1px !important;
        }

        /* --- BOX RISULTATI GLOBALI --- */
        .feedback-box { 
            padding: 25px; 
            border-radius: 15px !important; 
            margin-top: 10mm; 
            color: white; 
            line-height: 1.6; 
            font-size: 11pt; 
            position: relative;
            z-index: 5; /* Sta sopra la filigrana */
        }

        /* --- GRAFICI --- */
        .charts-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 5mm auto 10mm auto !important;
            width: 100%;
            position: relative;
            z-index: 5; /* Sta sopra la filigrana */
        }

        .chart-box {
            width: 48%; 
            text-align: center;
        }

        .chart-title {
            font-size: 9pt;
            font-weight: bold;
            color: var(--epi-blue);
            margin-bottom: 2mm;
            text-transform: uppercase;
        }

        .chart-placeholder { 
            width: 75mm !important; 
            height: 75mm !important; 
            margin: 0 auto !important; 
            display: block !important;
            position: relative !important;
        }

        .chart-placeholder img {
            max-width: 100% !important;
            height: auto !important;
            display: block !important;
            margin: 0 auto !important;
        }

        /* --- INDIRIZZI E TESTI --- */
        .method-title { 
            color: var(--epi-blue); text-align: center; border-bottom: 2px solid var(--cda-gold); padding-bottom: 8px; margin-bottom: 15px; font-size: 15pt; font-weight: bold; text-transform: uppercase; 
            position: relative; z-index: 5;
        }
        
        .method-text { 
            font-size: 9.1pt; text-align: justify; line-height: 1.4; color: #1a1a1a; margin-bottom: 5mm; 
            position: relative; z-index: 5;
        }

        .address-container { 
            display: flex; justify-content: space-between; border-top: 1.5px solid var(--cda-gold); padding-top: 10px; margin-top: 15mm; font-size: 8pt; line-height: 1.3; color: #444; 
            position: relative; z-index: 5;
        }
        
        .address-col { flex: 1; }
        .address-col strong { color: var(--epi-blue); display: block; margin-bottom: 2px; }

        .reassuring-msg { 
            margin-top: 40mm; font-family: 'Georgia', serif; font-style: italic; color: #333; border-top: 1.5px solid var(--cda-gold); padding-top: 25px; font-size: 11.5pt; text-align: justify; line-height: 1.6; 
            position: relative; z-index: 5;
        }
        .reassuring-msg strong {
    font-size: 9.5pt; /* Più piccolo rispetto a 11.5pt */
}
        /* --- IMPAGINAZIONE PDF A4 --- */
        :root { --epi-blue: #004a99; --cda-gold: #D4AF37; }
        
        /* --- IMPAGINAZIONE PDF A4 BLINDATA (ANCHE SU SMARTPHONE) --- */
.pdf-page { 
    background: white !important; 
    width: 210mm !important; 
    min-width: 210mm !important; /* Impedisce al mobile di stringerlo */
    max-width: 210mm !important; 
    height: 297mm !important; 
    min-height: 297mm !important;
    max-height: 297mm !important; 
    margin: 0 auto 10mm auto !important; 
    padding: 15mm 18mm !important; 
    position: relative !important; 
    box-sizing: border-box !important; 
    overflow: hidden !important; 
    display: block !important; /* Fondamentale: no flexbox sulla pagina intera */
    page-break-after: always !important;
}
        .id-prot { border: 2px solid red; color: red; padding: 5px 10px; position: center; top: 10mm; right: 10mm; font-size: 10pt; font-weight: bold; }
        .logos-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5mm; }
        
        .info-grid { 
            display: grid; 
            grid-template-columns: 0.8fr 1.2fr; 
            gap: 2px 15px; 
            border: 1px solid #000; 
            padding: 12px 15px !important; 
            margin-top: 2mm !important; 
            font-size: 10pt !important; 
            line-height: 1.8 !important; 
        }

        @page { margin: 0; size: A4; }
        @media print { 
            body { background: none; } 
    .pdf-page { margin: 0 !important; } 
    button, .no-print { display: none !important; } 
}
        .loader {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #d4af37; /* Oro */
        border-radius: 50%;
        width: 30px;
        height: 30px;
        animation: spin 1s linear infinite;
        display: inline-block;
        margin-bottom: 10px;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
 /* --- STILE CHECKBOX PRIVACY OR.G.A. (VERSIONE MINI E VISIBILE) --- */
.privacy-acceptance {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 8px;
    margin: 25px auto;
    max-width: 100%; 
    padding: 5px;
    background: rgba(255, 255, 255, 0.05); /* Crea un leggero contrasto sullo sfondo scuro */
    border-radius: 5px;
}

/* Rende il quadratino visibile e personalizzato */
.privacy-acceptance input[type="checkbox"] {
    appearance: none; 
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #c9a54d !important; /* Bordo ORO sempre visibile */
    border-radius: 2px;
    background: #ffffff !important; /* Sfondo BIANCO per farlo risaltare */
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Quando è selezionato, diventa oro */
.privacy-acceptance input[type="checkbox"]:checked {
    background-color: #c9a54d !important;
}

/* Il segno di spunta interno */
.privacy-acceptance input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.privacy-acceptance label {
    font-size: 11px;
    line-height: 1.3;
    color: #26241f !important; /* Testo bianco */
    cursor: pointer;
    text-align: left;
}

.privacy-acceptance a {
    color: #c9a54d !important;
    text-decoration: none;
    border-bottom: 1px solid #c9a54d; /* Sottolineatura fine */
    font-weight: normal;
}
/* --- FIX MOBILE: Link in colonna 290426--- */
@media (max-width: 600px) {
    .footer-links-container {
        flex-direction: column !important; /* Mette i link uno sotto l'altro */
        gap: 10px !important;            /* Spazio tra i link */
        margin-top: -20px !important;    /* Adatta lo spazio al mobile */
    }
}
