/* --- RESET E VARIABILI --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Quicksand:wght@300;400;500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-sage: #789678;
    --dark-sage: #4A5D4A;
    --light-bg: #FDFDFB;
    --accent-green: #E8F0E8;
    --text-main: #2D3436;
    --white: #ffffff;
}


html { scroll-behavior: smooth; }

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.7;
    padding-top: 80px;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--dark-sage); font-weight: 700; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }

/* ==========================================
   NAVBAR & LOGO (FILTRO CSS INCLUSO)
========================================== */
.navbar {
    background-color: rgba(253, 253, 251, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(120, 150, 120, 0.15);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.logo-img {
    height: 60px;
    width: auto;
}



.navbar-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar-list a {
    text-decoration: none;
    color: var(--dark-sage);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.navbar-list a:hover {
    color: var(--primary-sage);
}

.navbar-prenota {
    background: var(--primary-sage);
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: 0.3s;
}
/* Effetto Hover per il tasto Prenota nella Navbar */
.navbar-prenota:hover {
    background-color: var(--dark-sage); /* Passa al marrone caldo/terracotta scuro */
    transform: translateY(-2px);       /* Effetto sollevamento */
    box-shadow: 0 5px 15px rgba(199, 139, 118, 0.4); /* Ombra morbida coerente col nuovo colore */
    color: white !important;           /* Garantisce che il testo resti bianco */
}

/* Effetto al click (opzionale, per un feedback immediato) */
.navbar-prenota:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(199, 139, 118, 0.2);
}
/* --- HERO --- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 85vh; background: #F4F7F4; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { display: flex; align-items: center; padding: 60px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; }
.hero-subtitle { color: var(--primary-sage); text-transform: uppercase; letter-spacing: 4px; font-weight: 700; display: block; }

/* --- FEATURES --- */
.features-nutri { padding: 80px 20px; }
.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-item {
    background: var(--white);
    padding: 40px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid var(--accent-green);
    transition: 0.4s;
}
.feature-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.feature-icon { font-size: 2.5rem; color: var(--primary-sage); margin-bottom: 20px; }
/* --- CHI SONO --- */
.chisono-text {
    padding: 80px 20px;
    background-color: var(--white); /* Pulito e professionale */
}

.chisono-container {
    max-width: 900px; /* Contenitore centrale stretto per leggibilità */
    margin: 0 auto;
}

/* --- HEADER --- */
.text-header {
    text-align: center;
    margin-bottom: 40px;
}
.text-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-sage);
    margin: 10px 0;
}
.top-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--primary-sage);
    font-weight: 600;
}
.nutri-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-sage);
    margin: 20px auto; /* Centrato */
}

/* --- BIOGRAFIA --- */
.bio-content {
    font-size: 1.1rem;
    line-height: 1.8; /* Molto spazio tra le righe per eleganza */
    color: #444;
    text-align: center; /* O justify, ma center è più elegante per bio senza foto */
    margin-bottom: 60px;
}
.bio-content p {
    margin-bottom: 25px;
}
.bio-content strong {
    color: var(--dark-sage);
    font-weight: 700;
}
.bio-content em {
    font-style: normal;
    color: var(--primary-sage); /* Evidenzia gli ospedali */
    font-weight: 600;
}

/* --- AREE DI INTERVENTO (GRID) --- */
.specializzazioni-box {
    background: var(--accent-green); /* Sfondo leggero per staccare */
    padding: 40px;
    border-radius: 30px;
    text-align: center;
}

.specializzazioni-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-sage);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left; /* Lista allineata a sinistra per ordine */
}

.spec-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 1rem;
    color: #555;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
}

.spec-item:hover {
    transform: translateY(-3px);
}

.spec-item i {
    color: var(--primary-sage);
    font-size: 1.2rem;
}

/* --- VISITE --- */
.visita-modern { padding: 80px 20px; background-color: var(--accent-green); }
.visita-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.visita-card { background: var(--white); padding: 45px; border-radius: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.v-tag { color: var(--primary-sage); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; }
.v-text-card { margin: 20px 0; font-size: 1.05rem; }
.v-list { list-style: none; margin: 20px 0; }
.v-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.v-list i { color: var(--primary-sage); }
.visita-cta { text-align: center; margin-top: 50px; }
.visita-cta p { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark-sage); margin-bottom: 20px; }

/* --- MAPPA --- */
.dove-siamo-modern { padding: 100px 20px; }
.mappa-container { display: flex; max-width: 1100px; margin: 0 auto; background: var(--white); border-radius: 40px; overflow: hidden; border: 1px solid var(--accent-green); }
.mappa-info { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.mappa-info p { margin-bottom: 15px; }
.mappa-info i { color: var(--primary-sage); margin-right: 10px; }
.mappa-embed { flex: 1.5; min-height: 450px; }
.mappa-embed iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.1); }

/* --- RECENSIONI --- */
.recensioni { padding: 100px 20px; text-align: center; }
.reviews-container { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border-radius: 40px; border: 1px solid var(--accent-green); }
.review-card { display: none; }
.review-card.active { display: block; animation: fadeIn 0.8s; }
.stars { color: #FFD700; margin-bottom: 20px; }
.patient-name { font-weight: 700; color: var(--primary-sage); display: block; margin-top: 15px; }

/* --- CONTATTI & FOOTER --- */
/* --- CONTATTI ORIZZONTALI MINIMAL --- */
.contatti-minimal {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.minimal-header {
    margin-bottom: 50px;
}

.nutri-divider-center {
    width: 40px;
    height: 3px;
    background: var(--primary-sage);
    margin: 15px auto;
}

.contatti-horizontal-grid {
    display: flex;
    justify-content: center;
    gap: 12px; /* Ridotto da 20px per recuperare spazio */
    flex-wrap: nowrap; /* Forza la riga singola su desktop */
    max-width: 1250px; /* Leggermente allargato per sicurezza */
    margin: 0 auto;
}

.minimal-card {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    display: flex;
    align-items: center;
    padding: 15px 12px;
    background: var(--light-bg);
    border: 1px solid rgba(120, 150, 120, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.minimal-card i {
    font-size: 1.2rem;
    color: var(--primary-sage);
    margin-right: 15px;
}

.m-info {
    text-align: left;
}

.m-info span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 700;
}

.m-info p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Effetto Hover Sottile */
.minimal-card:hover {
    background: var(--white);
    border-color: var(--primary-sage);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

@media (max-width: 1024px) {
    .contatti-horizontal-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .minimal-card {
        min-width: 45%; /* Due per riga sui tablet */
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .minimal-card {
        min-width: 100%; /* Una per riga sui telefoni */
    }
}

footer { background-color: var(--accent-green); padding: 60px 0 40px; text-align: center; }
.footer-main { font-weight: 700; font-family: 'Playfair Display', serif; }

/* --- BUTTONS & ANIM --- */
.btn-prenota { display: inline-block; padding: 16px 35px; background: var(--primary-sage); color: white; text-decoration: none; border-radius: 12px; font-weight: 700; transition: 0.3s; }
.btn-prenota:hover { background: var(--dark-sage); transform: translateY(-3px); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; }
    .mappa-container {
        flex-direction: column;
        border-radius: 30px; /* Bordi leggermente meno arrotondati su mobile */
    }
    .navbar-list { display: none; }
    .mappa-info {
        padding: 30px 20px; /* Ridotto da 60px: ora il testo è più compatto */
        text-align: center; /* Centriamo le info dello studio su mobile */
    }

    .mappa-embed {
        flex: none;
        height: 300px; /* Altezza fissa e più contenuta per la mappa */
        min-height: auto; /* Rimuove il vincolo dei 450px che la spingeva giù */
    }
}

.visita-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.visita-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.visita-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px; /* Evita che il sottotitolo sia troppo largo */
    margin: 0 auto;   /* Centra il sottotitolo rispetto al contenitore */
}
/* --- NUOVE SEZIONI: PACCHETTI E GUIDE --- */
.container-small { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-desc { text-align: center; margin-top: -40px; margin-bottom: 50px; color: #666; }

/* --- PACCHETTI --- */
.pacchetti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pacchetto-card {
    background: white;
    padding: 40px;
    border-radius: 40px;
    /* FISSATO: Bordo verde visibile per entrambi */
    border: 2px solid var(--primary-sage);
    text-align: center;
    position: relative;
    /* FISSATO: Flexbox per allineare i tasti in fondo */
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Effetto sollevamento per i pacchetti */
.pacchetto-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(120, 150, 120, 0.2);
}

.pacchetto-card.premium {
    background-color: var(--white); /* Mantiene coerenza */
    box-shadow: 0 10px 30px rgba(120, 150, 120, 0.1);
}

.p-badge {
    background: var(--primary-sage);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: center; /* Centra il badge */
}

.p-price { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--dark-sage); margin: 20px 0; }
.p-features { list-style: none; margin-bottom: 30px; text-align: left; flex-grow: 1; } /* flex-grow spinge il tasto giù */
.p-features li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }

.btn-paga {
    display: block;
    background: var(--primary-sage);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: auto; /* FISSATO: Spinge il tasto sempre in fondo */
    transition: 0.3s;
}

.btn-paga:hover {
    background: var(--dark-sage);
}

.payment-methods { font-size: 1.5rem; color: #ccc; display: flex; justify-content: center; gap: 10px; margin-top: 15px; }

/* --- GUIDE DIGITALI --- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }

.guida-card {
    background: white;
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    border: 1px solid var(--accent-green);
    transition: border-color 0.3s;
}

/* La card rimane ferma come hai chiesto, cambia solo il bordo */
.guida-card:hover {
    border-color: var(--primary-sage);
}

.guida-img-placeholder {
    background: var(--accent-green);
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-sage);
}

.guida-content { padding: 30px; flex: 1; }
.guida-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.guida-price { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--dark-sage); }

/* FISSATO: Hover solo per il tasto compra ora */
.btn-paga-small {
    background: var(--dark-sage);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-paga-small:hover {
    background: var(--primary-sage);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(120, 150, 120, 0.3);
}

.guida-note { display: block; margin-top: 10px; font-size: 0.75rem; color: #888; font-style: italic; }

@media (max-width: 600px) {
    .guida-card { flex-direction: column; }
    .guida-img-placeholder { width: 100%; height: 150px; }
}
/* --- OTTIMIZZAZIONE CONTATTI MOBILE --- */
@media (max-width: 768px) {
    .contatti-container {
        flex-direction: column; /* I bottoni si impilano verticalmente */
        padding: 0 20px 60px;
        gap: 15px;
    }

    .contatto-pill {
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Icona a sinistra, testo centrato */
        padding: 20px 25px;
        border-radius: 20px; /* Bordi più squadrati e moderni */
        font-size: 1.1rem;
        width: 100%;
        background: var(--white);
        border: 1px solid var(--accent-green);
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    }

    /* Personalizziamo i colori per ogni contatto (Più "Cute" e riconoscibili) */

    /* Telefono */
    .contatto-pill[href^="tel"] i {
        color: var(--primary-sage);
        background: var(--accent-green);
        padding: 10px;
        border-radius: 12px;
        margin-right: 15px;
    }

    /* WhatsApp */
    .contatto-pill[href*="wa.me"] i {
        color: #25D366;
        background: #e8f9ee;
        padding: 10px;
        border-radius: 12px;
        margin-right: 15px;
    }

    /* Instagram */
    .contatto-pill[href*="instagram"] i {
        color: #E4405F;
        background: #fdecf0;
        padding: 10px;
        border-radius: 12px;
        margin-right: 15px;
    }

    .contatto-pill:hover {
        transform: scale(1.02);
        background: var(--white);
        color: var(--dark-sage);
        border-color: var(--primary-sage);
    }
}
/* --- SEZIONE RICETTE --- */
.ricette-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.ricette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.ricetta-card {
    background: var(--light-bg);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--accent-green);
    position: relative;
    transition: all 0.3s ease;
}

.ricetta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(120, 150, 120, 0.1);
    border-color: var(--primary-sage);
}

.ricetta-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-sage);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.ricetta-img-placeholder {
    height: 200px;
    background: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-sage);
}

.ricetta-content {
    padding: 25px;
}

.ricetta-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.ricetta-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    height: 50px; /* Allinea i testi */
}

.ricetta-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--dark-sage);
    font-weight: 600;
    margin-bottom: 20px;
}

.ricetta-meta i {
    color: var(--primary-sage);
    margin-right: 5px;
}

.btn-ricetta {
    display: block;
    text-align: center;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary-sage);
    color: var(--primary-sage);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-ricetta:hover {
    background: var(--primary-sage);
    color: white;
}
.container-small { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-desc { text-align: center; margin-top: -40px; margin-bottom: 50px; color: #666; }

/* Pacchetti */
.pacchetti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pacchetto-card {
    background: white;
    padding: 40px;
    border-radius: 40px;
    border: 2px solid var(--primary-sage);
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.pacchetto-card.premium { border: 2px solid var(--primary-sage); box-shadow: 0 10px 30px rgba(120, 150, 120, 0.1); }
.p-badge { background: var(--primary-sage); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.p-price { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--dark-sage); margin: 20px 0; }
.p-features { list-style: none; margin-bottom: 30px; text-align: left; }
.p-features li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }

.btn-paga {
    display: block;
    background: var(--primary-sage);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-methods { font-size: 1.5rem; color: #ccc; display: flex; justify-content: center; gap: 10px; }

/* --- SEZIONE BLOG / NOTIZIE --- */
.blog-section { padding: 80px 0; background-color: var(--light-bg); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--accent-green);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(120, 150, 120, 0.15);
    border-color: var(--primary-sage);
}

.blog-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-sage);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-info { padding: 30px; }
.blog-date { font-size: 0.8rem; color: #888; display: block; margin-bottom: 10px; }
.blog-info h3 { font-size: 1.4rem; margin-bottom: 15px; line-height: 1.3; }
.blog-info p { font-size: 0.95rem; color: #666; margin-bottom: 20px; }

.read-more {
    color: var(--primary-sage);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 12px; /* L'icona si sposta leggermente a destra */
    color: var(--dark-sage);
}

@media (max-width: 768px) {
    .blog-section { padding: 60px 20px; }
}
.blog-social-btns {
    display: flex;
    justify-content: center;
    gap: 20px; /* Spazio tra i due bottoni */
    flex-wrap: wrap; /* Se non c'è spazio, vanno uno sotto l'altro */
    margin-top: 50px;
}

.blog-social-btns .btn-prenota {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Spazio tra icona e testo */
    min-width: 250px; /* Li rende della stessa dimensione */
    justify-content: center;
}

/* Mobile: occupano tutta la larghezza per essere più cliccabili */
@media (max-width: 600px) {
    .blog-social-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .blog-social-btns .btn-prenota {
        width: 100%;
        max-width: 320px;
    }
}
@media (max-width: 992px) {
    /* Nascondiamo completamente il wrapper dell'immagine */
    .chisono-image-wrapper {
        display: none;
    }

    /* Regoliamo il contenitore del testo affinché occupi tutto lo spazio */
    .chisono-container {
        display: block; /* Da flex a block per semplicità */
        padding: 0 10px;
    }

    .chisono-content {
        text-align: center; /* Centriamo il testo per un look più pulito */
        width: 100%;
    }

    /* Centriamo anche il divisore lilla */
    .nutri-divider {
        margin: 20px auto;
    }
}
.card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Mostra solo l’immagine attiva */
.card-image img.active {
    opacity: 1;
    z-index: 1;
}
.gallery {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.gallery h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--dark-sage);
    font-weight: 600;
}

.gallery-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: white;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    gap: 20px;
    animation: flowRight 40s linear infinite;
    width: fit-content;
}

.flow-item {
    flex-shrink: 0;
    width: 320px;
    height: 240px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.flow-item:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.flow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flow-item:hover img {
    transform: scale(1.1);
}

/* Animazione flusso continuo */
@keyframes flowRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pausa al passaggio del mouse */
.gallery-container:hover .gallery-track {
    animation-play-state: paused;
}

/* Gradiente fade ai bordi per effetto infinito */
.gallery-container::before,
.gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 5;
    pointer-events: none;
}

.gallery-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.gallery-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        padding: 3rem 1rem;
    }

    .gallery h2 {
        font-size: 2rem;
    }

    .flow-item {
        width: 280px;
        height: 200px;
    }

    .gallery-track {
        animation-duration: 35s; /* Un po' più veloce su mobile */
    }
}

@media (max-width: 480px) {
    .flow-item {
        width: 240px;
        height: 180px;
    }

    .gallery-track {
        gap: 15px;
        animation-duration: 30s;
    }

    .gallery-container::before,
    .gallery-container::after {
        width: 40px;
    }
}
.section-title,
.chisono-header h2,
.visita-header h2,
.dove-siamo-modern h2 ,
.contatti-elegante h2{
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem !important; /* Forza dimensione uguale per tutti */
    color: var(--dark-sage);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}
.contatti-elegante {
    padding: 120px 0;
}
.contact-grid-chic {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info-chic {
    padding-right: 40px;
    border-right: 1px solid rgba(255, 244, 200, 0.2);
}
.info-block {
    margin-bottom: 40px;
}
.info-block h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-sage);
    margin-bottom: 15px;
}
.info-block p {
    font-size: 1.1rem;
    color: #2D3436;
    line-height: 1.8;
}
.info-block a {
    color: #2D3436;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}
.info-block a:hover {
    color: var(--dark-sage);
    border-color: var(--dark-sage);
}
.nota-orari {
    font-size: 0.9rem !important;
    font-style: italic;
    color: #2D3436 !important;
    margin-top: 5px;
}
.contact-map-wrapper {
    width: 100%;
    min-height: 450px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 244, 200, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: block;
}
@media (max-width: 992px) {
    .contact-grid-chic { grid-template-columns: 1fr; gap: 60px; }
    .contact-info-chic {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 244, 200, 0.2);
        padding-bottom: 40px;
        text-align: center;
    }
    .contact-map-wrapper { min-height: 350px; }
    .contact-map-wrapper iframe { min-height: 350px; }
}
.map-image-static {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.relative-map:hover .map-image-static {
    transform: scale(1.03);
}

.map-overlay-btn {
    position: absolute;
    top: 75%; /* Posizionato in basso per non coprire il centro */
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-sage);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.relative-map:hover .map-overlay-btn {
    background-color: var(--dark-sage); /* Cambia colore al passaggio del mouse */
    transform: translate(-50%, -55%);
}

/* Responsive Mappa */
@media (max-width: 992px) {
    .map-image-static { min-height: 350px; }
}
@media (max-width: 768px) {
    .map-image-static { min-height: 250px; }
    .map-overlay-btn { padding: 10px 20px; font-size: 0.9rem; }
}
/* Aggiungi position: relative al contenitore principale */
.contact-map-wrapper {
    position: relative; /* <-- ECCO COSA MANCAVA */
    width: 100%;
    min-height: 450px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 244, 200, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Assicurati che anche il link (<a>) si comporti come un blocco contenitore */
.map-link-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
/* --- BIOGRAFIA --- */
.bio-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify; /* <-- MODIFICATO DA CENTER A JUSTIFY */
    margin-bottom: 60px;
    hyphens: auto; /* Aggiunta consigliata per evitare buchi bianchi troppo grandi tra le parole */
}
/* Container Griglia */
.pacchetti-grid-evolved {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0;
    perspective: 1000px; /* Necessario per effetti 3D */
}

/* Base Card */
.card-evolved {
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-glass {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 30px;
    border: 1px solid rgba(120, 150, 120, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Effetto Hover "Intrigante" */
.card-evolved:hover {
    transform: translateY(-15px) rotateX(5deg);
}

.card-evolved:hover .card-glass {
    box-shadow: 0 30px 60px rgba(74, 93, 74, 0.15);
    border-color: var(--primary-sage);
}

/* Stile Testi */
.p-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-sage);
    font-weight: 700;
    margin-bottom: 15px;
}

.p-tag.popular {
    background: var(--primary-sage);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
}

.p-name { font-size: 2rem; margin-bottom: 10px; color: var(--dark-sage); }

.p-price {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark-sage);
    margin: 15px 0;
}

.p-discount {
    color: #d35400;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 15px;
}

.p-subtext {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 30px;
    min-height: 50px;
}

/* Lista icone */
.p-features-list {
    list-style: none;
    width: 100%;
    margin-bottom: 40px;
    text-align: left;
}

.p-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-features-list i { color: var(--primary-sage); font-size: 1.1rem; }

/* Bottoni */
.btn-evolved {
    margin-top: auto;
    width: 100%;
    padding: 18px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-sage);
    border: 2px solid var(--primary-sage);
    transition: all 0.3s;
}

.btn-highlight {
    background: var(--primary-sage);
    color: white;
}

.btn-evolved:hover {
    background: var(--dark-sage);
    border-color: var(--dark-sage);
    color: white;
    letter-spacing: 1px;
}

/* Card Centrale (Featured) */
.card-evolved.featured {
    transform: scale(1.08);
}

.card-evolved.featured .card-glass {
    border: 2px solid var(--primary-sage);
    background: linear-gradient(to bottom, #ffffff, #f9fbf9);
}

@media (max-width: 992px) {
    .card-evolved.featured { transform: scale(1); }
    .pacchetti-grid-evolved { gap: 20px; }
}
/* --- BASE CARD: Nessun movimento --- */
.card-evolved {
    position: relative;
    /* Rimossa la transizione e il perspective, la card resta immobile */
}

.card-glass {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 30px;
    /* Impostiamo un bordo di 2px semi-trasparente di base per evitare "salti" di dimensione al passaggio del mouse */
    border: 2px solid rgba(120, 150, 120, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Transizione morbida solo sui colori e sulle ombre */
    transition: border-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* --- EFFETTO HOVER INTRIGANTE: Solo Bordo e Bagliore --- */
.card-evolved:hover .card-glass {
    /* Il bordo diventa pieno */
    border-color: var(--primary-sage);
    /* Doppia ombra: una esterna per il bagliore, una interna (inset) per dare profondità */
    box-shadow: 0 0 25px rgba(120, 150, 120, 0.3), inset 0 0 15px rgba(120, 150, 120, 0.05);
}

/* --- CARD CENTRALE (FEATURED) --- */
.card-evolved.featured {
    transform: scale(1.05); /* Leggermente più grande di base per farla spiccare, ma ferma */
}

.card-evolved.featured .card-glass {
    border: 2px solid var(--primary-sage);
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.1);
    background: linear-gradient(to bottom, #ffffff, #fbfcfb); /* Leggerissima sfumatura */
}

/* Hover speciale per la card centrale */
.card-evolved.featured:hover .card-glass {
    border-color: var(--dark-sage);
    box-shadow: 0 0 35px rgba(74, 93, 74, 0.35), inset 0 0 20px rgba(120, 150, 120, 0.1);
}

@media (max-width: 992px) {
    .card-evolved.featured { transform: scale(1); } /* Allineamento dritto su mobile */
}
/* Container Griglia forzato a 2x2 su desktop */
.pacchetti-grid-evolved {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Due colonne uguali */
    gap: 40px;
    padding: 40px 0;
    max-width: 950px; /* Restringiamo un po' per non farle allargare troppo */
    margin: 0 auto;
}

/* Base Card immobile */
.card-evolved {
    position: relative;
}

.card-glass {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 30px;
    border: 2px solid rgba(120, 150, 120, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* --- EFFETTO HOVER INTRIGANTE: Solo Bordo e Bagliore --- */
.card-evolved:hover .card-glass {
    border-color: var(--primary-sage);
    box-shadow: 0 0 25px rgba(120, 150, 120, 0.3), inset 0 0 15px rgba(120, 150, 120, 0.05);
}

/* --- CARD FEATURED (Il più amato) --- */
.card-evolved.featured .card-glass {
    border: 2px solid var(--primary-sage);
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.1);
    background: linear-gradient(to bottom, #ffffff, #fbfcfb);
}

.card-evolved.featured:hover .card-glass {
    border-color: var(--dark-sage);
    box-shadow: 0 0 35px rgba(74, 93, 74, 0.35), inset 0 0 20px rgba(120, 150, 120, 0.1);
}

/* Stile Testi */
.p-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-sage);
    font-weight: 700;
    margin-bottom: 15px;
}

.p-tag.popular {
    background: var(--primary-sage);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
}

.p-name { font-size: 2rem; margin-bottom: 10px; color: var(--dark-sage); font-family: 'Playfair Display', serif; }

.p-price {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark-sage);
    margin: 10px 0 5px;
}

.p-discount {
    color: #e67e22; /* Colore caldo e in contrasto per lo sconto */
    font-weight: 600;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 20px;
}

.p-subtext {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 30px;
    min-height: 50px;
}

/* Lista icone */
.p-features-list {
    list-style: none;
    width: 100%;
    margin-bottom: 40px;
    text-align: left;
    padding-left: 0;
}

.p-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-features-list i { color: var(--primary-sage); font-size: 1.1rem; }

/* Bottoni */
.btn-evolved {
    margin-top: auto;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-sage);
    border: 2px solid var(--primary-sage);
    transition: all 0.3s;
}

.btn-highlight {
    background: var(--primary-sage);
    color: white;
}

.btn-evolved:hover {
    background: var(--dark-sage);
    border-color: var(--dark-sage);
    color: white;
}

/* Responsive: 1 colonna su tablet in giù */
@media (max-width: 768px) {
    .pacchetti-grid-evolved {
        grid-template-columns: 1fr; /* Torna a 1 colonna su mobile */
        gap: 25px;
        padding: 20px 10px;
    }
}
/* Assicuriamo che la card base sia totalmente immobile */
.card-evolved {
    position: relative;
    transform: none !important; /* Blocca qualsiasi movimento ereditato */
    transition: none; /* Togliamo la transizione dal contenitore per evitare scatti */
}

/* Blocchiamo movimenti indesiderati sull'hover del contenitore */
.card-evolved:hover {
    transform: none !important;
}

/* L'animazione avviene SOLO sul vetro (card-glass) e SOLO su bordo e ombra */
.card-glass {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 30px;
    border: 2px solid rgba(120, 150, 120, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Transizione morbidissima solo per colori e luci */
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Effetto Hover: Solo luce, ZERO movimento */
.card-evolved:hover .card-glass {
    border-color: var(--primary-sage);
    box-shadow: 0 0 25px rgba(120, 150, 120, 0.3), inset 0 0 15px rgba(120, 150, 120, 0.05);
}

/* Hover speciale per la card Featured (Il più amato) */
.card-evolved.featured:hover .card-glass {
    border-color: var(--dark-sage);
    box-shadow: 0 0 35px rgba(74, 93, 74, 0.35), inset 0 0 20px rgba(120, 150, 120, 0.1);
}
/* --- FILTRI RICETTE --- */
.recipe-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-sage);
    color: var(--primary-sage);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-sage);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(120, 150, 120, 0.3);
}

/* --- GRIGLIA POLAROID --- */
.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.polaroid-item {
    transition: all 0.4s ease;
    /* Diamo una leggerissima rotazione casuale usando i selettori nth-child */
}

.polaroid-item:nth-child(even) { transform: rotate(2deg); }
.polaroid-item:nth-child(odd) { transform: rotate(-2deg); }
.polaroid-item:nth-child(3n) { transform: rotate(1deg); }

.polaroid-item.hide {
    display: none; /* Gestito da JS */
}

.polaroid-link {
    display: block;
    background: #fff;
    padding: 15px 15px 25px 15px; /* Più spazio sotto, tipico delle polaroid */
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.polaroid-item:hover {
    transform: rotate(0deg) translateY(-10px);
    z-index: 10;
}

.polaroid-item:hover .polaroid-link {
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.2);
}

.polaroid-photo {
    width: 100%;
    aspect-ratio: 1 / 1; /* Foto quadrate per uniformità */
    overflow: hidden;
    background: var(--light-bg);
}

.polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.polaroid-item:hover .polaroid-photo img {
    transform: scale(1.05);
}

.polaroid-caption {
    text-align: center;
    margin-top: 15px;
}

.polaroid-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.polaroid-caption p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.ig-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-sage);
    text-transform: uppercase;
    letter-spacing: 1px;
}
footer {
    background-color: var(--accent-green);
    padding: 80px 20px 30px;
    color: var(--dark-sage);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
}

/* Linea decorativa sotto i titoli */
.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-sage);
    margin-top: 8px;
}

.footer-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-links i {
    color: var(--primary-sage);
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

.footer-social a {
    color: var(--primary-sage);
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--dark-sage);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1100px;
    margin: 60px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(120, 150, 120, 0.2);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--dark-sage);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .nutri { margin: 20px auto; }
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 20px;
    }

    /* 2. NASCONDI le colonne 2 (Dove Ricevo) e 3 (Contatti)
       Nota: Su mobile l'utente ha già letto queste info sopra.
       Snellisce drasticamente il footer. */
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        display: none;
    }

    /* 3. Stile per la colonna rimasta (Dr.ssa Federica) */
    .footer-column:first-child {
        border-bottom: none; /* Rimuove eventuali bordi */
        width: 100%;
    }

    /* 4. Bio più compatta */
    .footer-bio {
        font-size: 0.9rem;
        margin: 10px auto 20px; /* Spazio sopra e sotto */
        max-width: 300px; /* Evita righe troppo lunghe */
        line-height: 1.4;
    }

    /* 5. Social Icone Grandi e Centrate (Facili da premere) */
    .footer-social {
        justify-content: center;
        gap: 25px;
        margin-bottom: 10px;
    }

    .footer-social a i {
        font-size: 1.5rem; /* Icone più grandi */
        background: rgba(255, 255, 255, 0.5); /* Sfondo leggero opzionale */
        padding: 10px;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 6. Footer Bottom (Copyright) più discreto */
    .footer-bottom {
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.05);
        font-size: 0.75rem;
    }
    .contatti-horizontal-grid {
        flex-direction: column;
        align-items: center;
    }
    .minimal-card {
        width: 100%;
        max-width: 100%;
    }
    .footer-title::after {
        margin: 8px auto 0 auto; /* "auto" ai lati centra l'elemento blocco */
    }
}

/* --- TABS SEDI DOVE RICEVO --- */
.tabs-sedi {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-sede {
    background: transparent;
    color: var(--dark-sage);
    border: 2px solid var(--dark-sage);
    padding: 10px 40px;
    border-radius: 30px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sede:hover, .btn-sede.active {
    background: var(--dark-sage);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(74, 93, 74, 0.2);
}

@media (max-width: 480px) {
    .btn-sede {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
/* Colore verde salvia per le icone nei recapiti */
.info-block i {
    color: var(--primary-sage);
}
.footer-column {
    display: block;
    text-align: left; /* <-- Aggiungi questo per allineare titoli e testo a sinistra */
}
/* --- SEZIONE PERCORSI --- */
.percorsi-section {
    padding-top: 100px; /* Questo spinge la sezione più in basso */
    padding-bottom: 80px; /* Lascia un po' di spazio anche sotto */
}
/* --- GRIGLIA POLAROID --- */
.polaroid-grid {
    display: grid;
    /* Usa auto-fit invece di auto-fill per distribuire meglio lo spazio */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
    /* AGGIUNTA FONDAMENTALE: Centra la griglia se avanza spazio ai lati */
    justify-content: center;
}

/* AGGIUNGI QUESTA MEDIA QUERY PER IL MOBILE */
@media (max-width: 768px) {
    .polaroid-grid {
        /* Blocca la larghezza della card su mobile tra 280px e 350px
           per non farla diventare troppo larga e sgraziata */
        grid-template-columns: minmax(280px, 350px);
    }

    .polaroid-item {
        width: 100%;
        margin: 0 auto; /* Centra fisicamente la singola card */
    }
}
/* Rimpicciolisce i titoli principali su smartphone */
@media (max-width: 768px) {
    .section-title,
    .chisono-header h2,
    .visita-header h2,
    .dove-siamo-modern h2,
    .contatti-elegante h2 {
        font-size: 2rem !important; /* Ridotto da 2.2rem a 1.7rem */
    }
}
@media (max-width: 768px) {
    /* ... il tuo codice esistente per il footer mobile ... */

    .footer-column {
        text-align: center; /* Forza l'allineamento al centro su mobile */
    }

    /* Assicura che la linea decorativa sotto al titolo sia centrata */
    .footer-title::after {
        margin: 8px auto 0 auto;
    }
}
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.1rem; /* Riduce la dimensione del titolo su mobile */
        margin-bottom: 15px; /* Riduce leggermente lo spazio sotto per bilanciare */
    }

    .hero-subtitle {
        font-size: 0.8rem; /* Opzionale: rimpicciolisce un po' anche "Biologa Nutrizionista" */
    }
}
/* ==========================================
   PAGINA PRIVACY & COOKIE POLICY
========================================== */
.privacy-page {
    /* Padding generoso sopra per staccare il contenuto dalla navbar fissa */
    padding: 130px 20px 80px;
    background-color: var(--light-bg);
    min-height: 80vh;
}

.privacy-container {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--accent-green);
}

.privacy-content {
    margin-top: 40px;
}

.privacy-content h3 {
    font-size: 1.5rem;
    color: var(--dark-sage);
    margin: 40px 0 15px;
    font-family: 'Playfair Display', serif;
}

.privacy-content p,
.privacy-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
    hyphens: auto;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 25px;
    list-style-type: square;
}

.privacy-content ul li::marker {
    color: var(--primary-sage); /* Rende i pallini della lista verde salvia */
}

.privacy-content strong {
    color: var(--dark-sage);
    font-weight: 700;
}

.privacy-content a {
    color: var(--primary-sage);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.privacy-content a:hover {
    color: var(--dark-sage);
    border-color: var(--dark-sage);
}

/* Responsive per la pagina Privacy */
@media (max-width: 768px) {
    .privacy-page {
        padding: 100px 15px 50px;
    }

    .privacy-container {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .privacy-content p,
    .privacy-content li {
        text-align: left; /* Togliamo il giustificato da mobile per leggibilità */
        font-size: 1rem;
    }
}