/* --- RESET DI BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1 { color: #2c3e50; letter-spacing: 1px; }
h2 { margin-bottom: 1rem; }

/* --- BARRA DI NAVIGAZIONE PREMIUM --- */
.navbar {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: #2c3e50;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #3498db;
}

/* --- HERO SECTION (La prima impressione) --- */
.hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #102a43;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.1rem;
    color: #334e68;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.3rem;
    color: #486581;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* --- CONTENITORE BOTTONI HERO (Allineamento Simmetrico) --- */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center; /* Fondamentale per l'allineamento verticale */
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px; /* Margine unificato per entrambi i bottoni */
}

/* --- BOTTONE 1: PRENOTA UNA VISITA (PIENO) --- */
.btn-prenota {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #3498db; /* Bordo invisibile per pareggiare le dimensioni */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-prenota:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

/* --- BOTTONE 2: SCOPRI I SERVIZI (TRASPARENTE) --- */
.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #3498db;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #3498db;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* --- STRUTTURA DELLE SEZIONI HOME --- */
.home-section {
    padding: 5rem 2rem;
    text-align: center;
    background-color: #ffffff;
}

.alt-bg {
    background-color: #f8fafc;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.home-section h2 {
    color: #102a43;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-lead {
    font-size: 1.15rem;
    color: #486581;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #627d98;
    margin-bottom: 3rem;
}

.link-premium {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-premium:hover {
    color: #102a43;
}

/* --- GRIGLIA DEI SERVIZI --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 1rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(16, 42, 67, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 42, 67, 0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #102a43;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #486581;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- RECENSIONI E TESTIMONIAL --- */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.review-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    text-align: left;
}

.quote {
    font-style: italic;
    color: #334e68;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.author {
    display: block;
    font-weight: 600;
    color: #102a43;
    font-size: 0.9rem;
}

/* --- BOTTONE GOOGLE REVIEWS --- */
.btn-google {
    display: inline-block;
    background-color: #ffffff;
    color: #102a43;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-google:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.star-icon {
    color: #f59e0b;
    margin-right: 8px;
    letter-spacing: 2px;
}

/* --- VIDEO RESPONSIVE --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- FOOTER MEDICO PREMIUM --- */
.site-footer {
    background-color: #102a43;
    color: #f0f4f8;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    border-bottom: 1px solid #334e68;
    padding-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-info p, .footer-links p {
    color: #9fb3c8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links a {
    color: #3498db;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #829ab1;
}

.footer-bottom a {
    color: #829ab1;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* --- HEADER PAGINE INTERNE (Più basso rispetto alla Home) --- */
.page-hero {
    background: linear-gradient(135deg, #102a43 0%, #243b53 100%); /* Sfondo scuro elegantissimo */
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero .subtitle {
    color: #9fb3c8;
}

/* --- TESTO ALLINEATO A SINISTRA (Per non affaticare la lettura) --- */
.text-left {
    text-align: left;
}

.text-left p {
    color: #486581;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 2.5rem;
    color: #102a43;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* --- BADGE DELLE LINGUE PARLATE --- */
.language-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
}

.badge.active {
    background-color: #e1effe;
    color: #102a43;
    border: 1px solid #b6ceee;
}

.badge.progress {
    background-color: #f8fafc;
    color: #627d98;
    border: 1px dashed #cbd5e1;
    font-style: italic;
}

/* --- TIMELINE DEL PERCORSO CLINICO --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}

/* La linea verticale blu */
.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #3498db;
    top: 0;
    bottom: 0;
    left: 20px;
    border-radius: 4px;
}

/* Il singolo blocco della timeline */
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

/* Il "pallino" sul punto della mappa */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 4px solid #3498db;
    border-radius: 50%;
    left: 12px;
    top: 5px;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2); /* Leggero alone luminoso */
}

.timeline-item h4 {
    color: #102a43;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #486581;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- RESEARCH CARD (Sostituisce l'iframe di ORCID) --- */
.research-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 3rem 2rem;
    max-width: 650px;
    margin: 3rem auto 1rem;
    box-shadow: 0 10px 25px rgba(16, 42, 67, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
}

.research-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.research-card h3 {
    color: #102a43;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.research-card p {
    color: #486581;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Badge con l'ID di ORCID */
.orcid-id {
    background: #f8fafc;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    color: #334e68;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    border: 1px dashed #cbd5e1;
}

/* Bottone con il verde ufficiale di ORCID */
.btn-orcid {
    display: inline-block;
    background-color: #a6ce39; /* Verde ORCID */
    color: #ffffff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-orcid:hover {
    background-color: #8db529; /* Verde più scuro al passaggio del mouse */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 206, 57, 0.3);
}

/* --- LAYOUT PAGINA SERVIZI (Stile Menù Luxury) --- */

.menu-category-title {
    color: #102a43;
    font-size: 2.2rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 2rem;
    display: inline-block;
}

.service-category {
    margin-bottom: 3rem;
}

.service-subcategory {
    color: #334e68;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.service-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease;
}

.service-item:hover {
    background-color: #f8fafc;
    border-radius: 5px;
    padding: 1.5rem 10px; /* Leggero rientro visivo al passaggio del mouse */
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Per adattarsi ai cellulari */
    margin-bottom: 0.5rem;
}

.service-header h4 {
    color: #102a43;
    font-size: 1.25rem;
    margin: 0;
}

.service-duration {
    background-color: #e1effe;
    color: #1e3a8a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.service-item p {
    color: #486581;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Box Informazioni a fondo pagina */
.info-box {
    background-color: #ffffff;
    border-left: 5px solid #3498db;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(16, 42, 67, 0.05);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.info-box h3 {
    color: #102a43;
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 0.8rem;
    color: #486581;
}

/* --- MEDIA E DIVULGAZIONE --- */
.media-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
    border: 1px solid #e2e8f0;
    text-align: left;
    margin-top: 3rem;
}

.media-card h3 {
    color: #102a43;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.media-subtitle {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.media-text p {
    color: #486581;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

/* --- BOTTONE CANALE YOUTUBE --- */
.btn-youtube {
    display: inline-block;
    background-color: #e62117; /* Rosso ufficiale YouTube */
    color: #ffffff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(230, 33, 23, 0.2);
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    background-color: #cc1d14;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 33, 23, 0.4);
}

/* --- SEZIONE FAQ (Fisarmonica) --- */
.faq-container {
    border-top: 2px solid #e2e8f0;
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #102a43;
    cursor: pointer;
    list-style: none; /* Nasconde la freccetta di default su vecchi browser */
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

/* Nasconde la freccia nativa sui browser moderni (Chrome/Safari) */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: #3498db;
}

/* Aggiungiamo un nostro indicatore personalizzato (+ e -) */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

/* Quando il dettaglio è aperto, il + diventa un - */
details[open] .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding-top: 1.2rem;
    color: #486581;
    font-size: 1.05rem;
    line-height: 1.7;
    animation: fadeInDown 0.4s ease-out forwards;
}

/* Piccola animazione per la comparsa del testo */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- GRIGLIA DI PRENOTAZIONE --- */
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.booking-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.booking-card h3 {
    color: #102a43;
    margin-bottom: 1rem;
}

.booking-card p {
    color: #486581;
    margin-bottom: 0.5rem;
}

/* --- FOOTER LANG LINK --- */
.lang-link {
    display: inline-block;
    margin-top: 20px; /* Qui gestisci quanto staccarlo dalla mail */
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.lang-link::before {
    content: '🇬🇧'; /* Bandierina integrata */
    margin-right: 8px;
}

.lang-link:hover {
    opacity: 0.8;
}

/* --- BARRA SEDI HIGHLIGHT --- */
.sedi-highlight {
    background-color: #f1f8ff; /* Azzurro medico delicatissimo */
    color: #102a43;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid #dceefb;
}

.sedi-highlight p {
    margin: 0;
}

.sedi-highlight strong {
    color: #3498db;
}

/* --- NUMERI DELL'ESPERIENZA (STATS) --- */
.stats-section {
    background-color: #102a43; /* Blu notte luxury */
    color: #ffffff;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db; /* Azzurro brand */
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: #bcccdc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- GRIGLIA AREE DI INTERVENTO 2X2 (Centrata e Bilanciata) --- */
.aree-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.area-luxury-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(16, 42, 67, 0.04);
    transition: transform 0.3s ease;
    text-align: center; /* Centra le icone, i titoli H3 e le descrizioni */
}

.area-luxury-card:hover {
    transform: translateY(-5px);
}

.area-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
}

.area-luxury-card h3 {
    color: #102a43;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.area-luxury-card p {
    color: #486581;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* --- TABELLA PRESTAZIONI BILANCIATA --- */
.prestazioni-table {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(16, 42, 67, 0.03);
    overflow: hidden;
    margin-top: 2rem;
}

.prestazione-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    border-bottom: 1px solid #e2e8f0;
    gap: 20px; /* Evita che il testo vada a sbattere contro il tempo su schermi piccoli */
}

.prestazione-row:last-child {
    border-bottom: none;
}

.prestazione-info {
    text-align: left; /* Mantiene l'allineamento di lettura a sinistra del blocco descrittivo */
    flex: 1;
}

.prestazione-info strong {
    color: #102a43;
    font-size: 1.15rem;
    display: block;
}

.prestazione-info p {
    color: #627d98;
    margin: 6px 0 0 0;
    font-size: 0.98rem;
    line-height: 1.5;
}

.prestazione-time {
    color: #3498db;
    font-weight: 600;
    white-space: nowrap;
    font-size: 1rem;
    background: #f0f7ff; /* Piccolo badge protettivo per il tempo */
    padding: 6px 14px;
    border-radius: 4px;
}

/* WRAPPER CENTRATURA BADGE RECENSIONI */
.google-rating-wrapper-block {
    text-align: center;
}

/* Responsiveness per schermi mobile */
@media (max-width: 768px) {
    .aree-grid-2x2 {
        grid-template-columns: 1fr;
    }
    .prestazione-row {
        flex-direction: column; /* Su mobile mette il tempo sotto per massima leggibilità */
        align-items: flex-start;
        gap: 12px;
    }
    .prestazione-time {
        align-self: flex-start;
    }
}

/* --- GOOGLE REVIEWS COMPONENT --- */
.google-rating-badge {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.google-logo-wrapper {
    font-weight: 700;
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 5px;
}

.g-letter { color: #4285F4; }

.rating-stars-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #102a43;
}

.stars-gold {
    color: #fbbc04; /* Giallo Google Ufficiale */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-meta {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    color: #627d98;
}

/* Carosello orizzontale nativo */
.reviews-carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 25px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.review-luxury-box {
    flex: 0 0 320px;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 42, 67, 0.05);
    border: 1px solid #e2e8f0;
    text-align: left;
    scroll-snap-align: start;
}

.review-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    margin-bottom: 12px;
}

.patient-avatar {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #486581;
}

.review-box-header h4 {
    margin: 0;
    color: #102a43;
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #9fb3c8;
}

.google-icon-small {
    position: absolute;
    right: 0;
    top: 5px;
    color: #4285F4;
    font-weight: bold;
    font-size: 1.1rem;
}

.review-luxury-box p {
    color: #486581;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* --- WHATSAPP FLOATING BUTTON (Metodo Sfondo Infallibile) --- */
.whatsapp-float {
    position: fixed;
    width: 60px !important;
    height: 60px !important;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    border-radius: 50% !important;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* TRUCCO MAGICO: Inseriamo l'icona vettoriale come immagine di sfondo */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>');
    background-repeat: no-repeat;
    
    /* Il posizionamento che ignora i conflitti e aggiusta l'illusione ottica */
    background-position: 51% 48%; 
    background-size: 34px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Ottimizzazione per Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px;
        right: 20px;
        background-size: 28px;
    }
}

/* --- PRELOADER MEDICAL LUXURY --- */
#luxury-preloader {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#luxury-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-title {
    color: #102a43;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.loading-bar-container {
    width: 200px;
    height: 2px;
    background-color: #e2e8f0;
    margin: 0 auto;
    overflow: hidden;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background-color: #3498db;
    animation: loadingAnimation 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes loadingAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* --- STRISCIA LOGHI TRUSTED BY --- */
.trusted-by-section {
    background-color: #f8fafc;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.trusted-title {
    text-align: center;
    color: #627d98;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* Regole per quando inserirai i file immagine dei loghi (es. .png) */
.trusted-logos img:hover, .trusted-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* --- DATE TIMELINE --- */
.timeline-date {
    display: inline-block;
    background-color: #e0f2fe;
    color: #3498db;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* --- AGGIORNAMENTO GRANDEZZA LOGHI TRUSTED BY --- */
.trusted-logo-img {
    max-height: 53px; /* Portato da 45px a 60px per renderli più evidenti */
    width: auto;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .trusted-logo-img { max-height: 45px; } /* Su mobile un po' più grandi di prima */
}

/* --- LOGO ANIMATO NEL PRELOADER --- */
.preloader-logo {
    width: 90px;
    height: auto;
    margin-bottom: 20px;
    animation: pulseLogo 2s infinite; /* Effetto battito cardiaco delicato */
}

@keyframes pulseLogo {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- STILE MAPPE LUXURY (Filtro per Google Maps) --- */
/* Rimuove i colori sgargianti di Google e li rende neutri ed eleganti */
.luxury-map {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    filter: grayscale(80%) contrast(1.1); 
    margin-top: 15px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #102a43; /* Blu notte del tuo brand */
    color: #ffffff;
    padding: 15px 30px;
    display: none; /* Nascosto di default, lo mostra il Javascript */
    justify-content: space-between;
    align-items: center;
    z-index: 100000;
    font-size: 0.9rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.cookie-banner p { margin: 0; }
.cookie-banner a { color: #3498db; text-decoration: underline; font-weight: bold; }

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
}

/* --- NAVBAR STICKY & TOGGLE LINGUA (Rispetto del design originale) --- */
.navbar {
    position: sticky !important;
    top: 0;
    z-index: 9000;
    /* Rimosso il background-color: #ffffff e i padding che sballavano la tua grafica */
    position: relative; /* Serve per ancorare il toggle della lingua a destra */
}

/* Posizionamento chirurgico del selettore lingua */
/* --- TOGGLE LINGUA PERFEZIONATO (Tenue + Hover Blu Brand) --- */
.nav-tools {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 9999;
}

.lang-toggle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9fb3c8; /* Colore di base grigio-azzurro molto tenue, non distrae */
}

.lang-active {
    color: #829ab1; /* La lingua attiva è leggermente più visibile ma sempre discreta */
    font-weight: 700;
}

.lang-sep {
    margin: 0 6px;
    color: #e2e8f0; /* Il separatore verticale diventa quasi invisibile */
}

.lang-toggle a {
    text-decoration: none;
    color: #9fb3c8; /* Il link della lingua non attiva parte molto tenue */
    transition: color 0.3s ease; /* Transizione fluida per l'effetto illuminazione */
}

/* Effetto illuminazione in blu brand al passaggio del mouse */
.lang-toggle a:hover {
    color: #3498db !important; 
}

/* --- HERO VIDEO BACKGROUND & OVERLAY --- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 85vh; /* Dà l'altezza alla sezione (85% dello schermo) */
    display: flex; /* Necessario per centrare il testo */
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra orizzontalmente */
    text-align: center;
    padding: 2rem 20px;
    background-image: url('assets/og-image.jpg'); /* Fallback se il video non carica */
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0; /* Il video sta sul fondo */
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0; /* Scorciatoia per coprire tutto (top, bottom, left, right a 0) */
    background-color: rgba(16, 42, 67, 0.55); /* Pellicola blu notte. Aumenta a 0.7 se lo vuoi più buio */
    z-index: 1; /* Sta SOPRA il video */
}

.hero-content {
    position: relative;
    z-index: 2; /* Sta SOPRA la pellicola scura */
    max-width: 800px; /* Evita che il testo vada da parte a parte su schermi giganti */
}

/* --- LEGGIBILITÀ DEL TESTO (Bianco + Ombra) --- */
.hero-content h1, 
.hero-content .subtitle, 
.hero-content .lead {
    color: #ffffff !important;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7); /* Ombra morbida per staccare il testo dal video */
}

/* --- NASCONDI BARRA DI SCORRIMENTO CAROUSEL RECENSIONI --- */
.reviews-carousel-container {
    -ms-overflow-style: none;  /* Nasconde la barra su Internet Explorer e Edge */
    scrollbar-width: none;     /* Nasconde la barra su Firefox */
}

.reviews-carousel-container::-webkit-scrollbar {
    display: none;             /* Nasconde la barra su Chrome, Safari e Opera */
}

/* --- MENU HAMBURGER MOBILE --- */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease;
}

@media screen and (max-width: 850px) {
    .menu-toggle { display: block; }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 10px 20px;
    }

    .navbar a {
        display: none; /* Nasconde i link di default */
        width: 100%;
        padding: 15px 0;
        text-align: center;
    }

    .navbar.active a {
        display: block; /* Mostra i link quando il menu è attivo */
    }
}

/* =========================================
   LAYOUT PAGINA "CHI SONO" - SPLIT SCREEN
========================================= */
.about-split-layout {
    display: flex;
    align-items: center; /* Centra verticalmente testo e foto */
    gap: 4rem; /* Spazio elegante e arioso tra foto e testo */
}

.about-photo-column {
    flex: 1; /* Prende metà spazio */
    position: relative; /* Necessario per l'effetto offset */
    max-width: 450px; /* Limita la grandezza su schermi enormi */
    margin: 0 auto; 
}

/* Il riquadro color carta da zucchero che sta dietro la foto */
.photo-offset-bg {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 100%;
    height: 100%;
    background-color: #f0f4f8; /* Azzurro/grigio neutro e rassicurante */
    border-radius: 16px;
    z-index: 1;
}

/* La tua foto principale */
.about-profile-img {
    position: relative;
    z-index: 2; /* Sta sopra al riquadro */
    width: 100%;
    height: auto;
    border-radius: 16px; /* Bordi morbidi e moderni */
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.08); /* Ombreggiatura diffusa "Medical Luxury" */
    object-fit: cover;
    display: block;
}

.about-text-column {
    flex: 1; /* Prende l'altra metà dello spazio */
}

/* Adattamento automatico per i Cellulari */
@media (max-width: 900px) {
    .about-split-layout {
        flex-direction: column; /* Impila foto sopra e testo sotto */
        gap: 3rem;
    }
    .photo-offset-bg {
        top: 15px;
        left: 15px; /* Offset ridotto su mobile */
    }
}