/* --- 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 {


    /* Un blu petrolio scuro per i testi */
    --primary-sage: #90A955;

    /* Un verde foresta molto scuro e intenso */
    --dark-sage: #132A13;

    /* Sfondi */
    --white: #ffffff;
    --light-bg: #FEFCF5; /* Un crema leggerissimo (non bianco freddo) */
    --accent-green: #ECF3E0; /* Verde oliva chiarissimo */
    --text-main: #2C3E30;
}

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: 50px;
    width: auto;
    /* TRUCCO: Colora il logo bianco in Verde Salvia */
    transition: all 0.3s ease;
}



.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;
}
.navbar-prenota:hover {
    background-color: var(--dark-sage); /* Diventa Verde Mela */
    color: white !important; /* Il testo resta bianco (o puoi mettere var(--dark-sage)) */
    border-color: var(--primary-sage);

    /* Effetto Sollevamento */
    transform: translateY(-3px);

    /* Ombra colorata luminosa sotto */
    box-shadow: 0 10px 20px rgba(140, 185, 63, 0.4);
}

/* --- STATO ACTIVE (Quando clicchi) --- */
.navbar-prenota:active {
    transform: translateY(-1px); /* Si riabbassa leggermente al click */
    box-shadow: 0 5px 10px rgba(140, 185, 63, 0.3);
}
/* --- 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: 4rem; 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 (FIX FORMATTAZIONE) --- */
.chisono-text-only {
    padding: 100px 20px;
    background-color: var(--white);
    text-align: center;
}

/* Rendo il contenitore più stretto per eleganza e leggibilità */
.container-small {
    max-width: 680px;
    margin: 0 auto;
}

.chisono-header {
    margin-bottom: 50px;
}

.top-subtitle {
    color: var(--primary-sage);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px; /* Più spaziatura tra le lettere */
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
    font-family: 'Quicksand', sans-serif;
}

.chisono-header h2 {
    font-size: 3rem; /* Molto più grande */
    margin-bottom: 20px;
    color: var(--dark-sage);
}

/* La linea verde sotto il titolo */
.nutri-divider-center {
    width: 80px;
    height: 4px;
    background-color: var(--primary-sage);
    margin: 0 auto;
    border-radius: 2px;
}

/* INTRODUZIONE: Stile "Lead" */
.bio-intro {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; /* Testo più grande */
    color: var(--dark-sage);
    font-weight: 600; /* Più marcato */
    line-height: 1.5;
    margin-bottom: 35px;
    /* Rimuovo i margini laterali negativi se c'erano */
    padding: 0 10px;
}

/* CORPO DEL TESTO: Più leggibile */
.bio-body {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem; /* Leggermente più grande del normale */
    color: #4A5D4E; /* Un grigio-verde, non grigio puro */
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 50px;
}

/* FIRMA: Colore Verde Mela come il logo */
.bio-signature {
    font-family: 'Playfair Display', serif; /* O un font script se lo hai caricato */
    font-size: 2.2rem;
    color: var(--primary-sage); /* Verde Mela */
    font-style: italic;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* Bottone centrato */
.mt-5 { margin-top: 3rem; }

/* --- VISITE --- */
/* --- NUOVA SEZIONE VISITA CLINICA (Aggiornata) --- */
.visita-approfondita {
    padding: 100px 20px;
    background-color: var(--light-bg); /* Sfondo chiaro per pulizia clinica */
    position: relative;
}

/* Griglia per i due strumenti principali */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.tech-card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(120, 150, 120, 0.2); /* Bordo verde sottile */
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(120, 150, 120, 0.15);
    border-color: var(--primary-sage);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--primary-sage);
    margin-bottom: 25px;
    background: var(--accent-green);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.tech-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-sage);
}

.tech-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tech-list {
    list-style: none;
    margin-top: auto; /* Spinge la lista in basso se le card hanno altezze diverse */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-sage);
    font-size: 0.95rem;
}

.tech-list i {
    color: var(--primary-sage);
    font-size: 0.9rem;
}

/* Box finale per approccio e disclaimer */
.approccio-box {
    background-color: var(--accent-green);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(120, 150, 120, 0.1);
}

.approccio-content h3 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.approccio-content > p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Stile speciale per il disclaimer medico */
.disclaimer-medico {
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    font-size: 0.9rem;
    color: #666;
    border-left: 4px solid var(--primary-sage);
}

.disclaimer-medico i {
    font-size: 1.5rem;
    color: var(--dark-sage);
    margin-top: 3px;
}

.visita-cta-box {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .disclaimer-medico {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tech-card {
        padding: 30px;
    }
}

/* --- 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 {
    display: flex;             /* Crea due colonne: una per l'icona, una per il testo */
    align-items: flex-start;   /* Allinea tutto in alto (così l'icona non scende se il testo è lungo) */
    margin-bottom: 15px;
}
.mappa-info i {
    color: var(--primary-sage);
    margin-right: 15px;        /* Un po' più di spazio tra icona e testo */
    min-width: 20px;           /* IMPORTANTE: Riserva spazio fisso per l'icona */
    text-align: center;        /* Centra l'icona nel suo spazietto */
    margin-top: 4px;           /* Abbassa leggermente l'icona per allinearla otticamente alla prima riga di testo */
}
.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;
    flex-wrap: nowrap;
    max-width: 1250px;
    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: 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 {
    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;
}

/* --- 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; }
    .navbar-list { display: none; }
}
.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) {
    .mappa-container {
        display: flex;            /* Assicura che sia flex */
        flex-direction: column;   /* Impila gli elementi */
        margin: 0 15px;
        border-radius: 20px;
        overflow: hidden;         /* Taglia i bordi della mappa se necessario */
    }

    .mappa-info {
        padding: 30px 20px;
        order: 1;                 /* INFO SOPRA */
        flex: none;               /* Impedisce strane espansioni */
    }

    .mappa-embed {
        order: 2;                 /* MAPPA SOTTO */
        flex: none;
        height: 300px;
        width: 100%;
        min-height: auto;
    }

    /* Forza l'iframe a riempire il contenitore sotto */
    .mappa-embed iframe {
        height: 100%;
    }

    /* Orari: Allineamento icone per liste lunghe (Marzocca) */
    .loc-details p {
        font-size: 0.95rem;
        display: flex;
        align-items: flex-start;
        text-align: left;
    }
    #loc-time {
        line-height: 1.6;
        display: block;
    }
    .blog-section { padding: 60px 20px; }

}
.location-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    border: 2px solid var(--primary-sage);
    background: transparent;
    color: var(--primary-sage);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-sage);
    color: white;
}

.loc-details {
    margin: 25px 0;
}

.loc-details p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* Animazione per il cambio contenuto */
#location-box {
    animation: fadeIn 0.5s ease;
}
.section-title,
.chisono-header h2,
.visita-header h2,
.dove-siamo-modern 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;
}

/* Sottotitoli (Quelli piccoli sopra il titolo) */
.top-subtitle,
.visita-header .top-subtitle {
    font-family: 'Quicksand', sans-serif;
    color: var(--primary-sage);
    font-size: 0.85rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    text-align: center;
}

/* Linea verde divisoria */
.nutri-divider-center {
    width: 60px;
    height: 4px;
    background-color: var(--primary-sage);
    margin: 0 auto 40px auto;
    border-radius: 2px;
}
/* --- SEZIONE BLOG / ARTICOLI --- */
.blog-section {
    padding: 100px 20px;
    background-color: var(--light-bg); /* Sfondo chiaro (crema/bianco) */
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive */
    gap: 40px;
    margin-top: 40px;
}

/* CARD DELL'ARTICOLO */
.blog-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden; /* Per tagliare l'immagine agli angoli */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Ombra leggera */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column; /* Assicura che il footer della card sia allineato */
}

/* Effetto Hover sulla card: Si alza */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(19, 42, 19, 0.15); /* Ombra verde scuro */
}

/* Immagine */
.blog-img-wrapper {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Riempie il box senza deformarsi */
    transition: transform 0.5s ease;
}

/* Zoom immagine all'hover */
.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.1);
}

/* Etichetta Categoria (es. "Salute Epatica") */
.blog-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-sage); /* Verde Oliva */
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* Contenuto Testuale */
.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-sage); /* Verde Scuro */
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Spinge il link in basso */
}

/* Link "Leggi l'articolo" */
.read-more-link {
    text-decoration: none;
    color: var(--primary-sage); /* Verde Oliva */
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more-link i {
    font-size: 0.8rem;
}

/* Freccetta che si muove all'hover */
.read-more-link:hover {
    gap: 15px; /* La freccia si sposta a destra */
    color: var(--dark-sage);
}
/* --- PAGINA SINGOLO ARTICOLO --- */
.article-hero {
    padding: 120px 20px 60px; /* Spazio per la navbar fissa */
    background-color: var(--accent-green);
    text-align: center;
}

.article-category {
    background-color: var(--primary-sage);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.article-hero h1 {
    font-size: 2.5rem;
    color: var(--dark-sage);
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.article-content {
    padding: 60px 20px;
    background-color: var(--white);
}

.main-article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 50px;
}

/* Formattazione del testo dell'articolo */
.article-content h3 {
    font-size: 1.8rem;
    color: var(--dark-sage);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.article-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Citazione in evidenza */
blockquote {
    border-left: 4px solid var(--primary-sage);
    padding-left: 20px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--dark-sage);
    background: var(--light-bg);
    padding: 30px;
    border-radius: 0 10px 10px 0;
}
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
}
@media (max-width: 768px) {

    /* ... il resto del tuo codice mobile esistente ... */

    /* AGGIUNGI QUESTO: */
    .footer-title::after {
        margin: 8px auto 0 auto; /* "auto" ai lati centra l'elemento blocco */
    }
}
@media (max-width: 768px) {

    /* Trasforma la fila di bottoni in una griglia 2x2 */
    .location-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Due colonne di uguale larghezza */
        gap: 10px; /* Spazio tra i bottoni */
        flex-wrap: wrap; /* Sicurezza extra */
        width: 100%;
    }

    /* Adatta i bottoni per stare nelle caselle */
    .tab-btn {
        width: 100%;
        padding: 12px 5px; /* Riduciamo il padding laterale */
        font-size: 0.85rem; /* Testo leggermente più piccolo per far entrare "Rocca di Neto" */
        border-radius: 15px; /* Un po' meno rotondi per risparmiare spazio */
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: normal; /* Permette al testo di andare a capo se serve */
        line-height: 1.2; /* Migliora la leggibilità se va a capo */
    }
}