@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: #879876;
    --dark-sage: #294934;
    --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 {
    background-color: rgb(253 253 251);
    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;
}

.navbar-prenota:hover {
    background-color: var(--dark-sage);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 139, 118, 0.4);
    color: white !important;
}

.navbar-prenota:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(199, 139, 118, 0.2);
}

.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-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);
}

.chisono-container {
    max-width: 900px;
    margin: 0 auto;
}

.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;
}

.bio-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
    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);
    font-weight: 600;
}

.specializzazioni-box {
    background: var(--accent-green);
    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;
}

.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;
}

.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; }

.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 { 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-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;
}

.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%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .minimal-card {
        min-width: 100%;
    }
}

footer { background-color: var(--accent-green); padding: 60px 0 40px; text-align: center; }
.footer-main { font-weight: 700; font-family: 'Playfair Display', serif; }

.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;
    }
    .navbar-list { display: none; }
    .mappa-info {
        padding: 30px 20px;
        text-align: center;
    }

    .mappa-embed {
        flex: none;
        height: 300px;
        min-height: auto;
    }
}

.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;
    margin: 0 auto;
}

.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-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;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.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;
}

.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; }
.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;
    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-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;
}

.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); }

.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; }
}
@media (max-width: 768px) {
    .contatti-container {
        flex-direction: column;
        padding: 0 20px 60px;
        gap: 15px;
    }

    .contatto-pill {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 20px 25px;
        border-radius: 20px;
        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);
    }


    .contatto-pill[href^="tel"] i {
        color: var(--primary-sage);
        background: var(--accent-green);
        padding: 10px;
        border-radius: 12px;
        margin-right: 15px;
    }

    .contatto-pill[href*="wa.me"] i {
        color: #25D366;
        background: #e8f9ee;
        padding: 10px;
        border-radius: 12px;
        margin-right: 15px;
    }

    .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);
    }
}

.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;
}

.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-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; }

.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;
    color: var(--dark-sage);
}

@media (max-width: 768px) {
    .blog-section { padding: 60px 20px; }
}
.blog-social-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.blog-social-btns .btn-prenota {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    justify-content: center;
}

@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) {
    .chisono-image-wrapper {
        display: none;
    }

    .chisono-container {
        display: block;
        padding: 0 10px;
    }

    .chisono-content {
        text-align: center;
        width: 100%;
    }

    .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;
}

.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%);
    }
}

.gallery-container:hover .gallery-track {
    animation-play-state: paused;
}

.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);
}

@media (max-width: 768px) {
    .gallery {
        padding: 3rem 1rem;
    }

    .gallery h2 {
        font-size: 2rem;
    }

    .flow-item {
        width: 280px;
        height: 200px;
    }

    .gallery-track {
        animation-duration: 35s;
    }
}

@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;
    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%;
    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);
    transform: translate(-50%, -55%);
}

@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; }
}

.contact-map-wrapper {
    position: relative;
    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);
}


.map-link-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.bio-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 60px;
    hyphens: auto;
}

.pacchetti-grid-evolved {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0;
    perspective: 1000px;
}

.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;
}

.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);
}

.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;
}

.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; }

.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-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; }
}
.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;
}

.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-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;
    }
}

.dove-siamo-stravolto {
    padding: 100px 20px;
    background-color: var(--white);
}

/* Stile dei bottoni / Tabs */
.sedi-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-sede {
    padding: 10px 20px;
    border: 1px solid var(--accent-green);
    background: transparent;
    color: var(--dark-sage);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tab-sede:hover {
    border-color: var(--primary-sage);
    color: var(--primary-sage);
}

.tab-sede.active {
    background: var(--primary-sage);
    color: var(--white);
    border-color: var(--primary-sage);
    box-shadow: 0 4px 15px rgba(113, 127, 198, 0.3);
}

.tab-online {
    border-color: var(--dark-sage);
}

/* LA CARD DELLA SEDE */
.sede-card-moderna {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--accent-green);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: opacity 0.3s ease; /* Per l'animazione al cambio tab */
}

/* Colonna Foto */
.sede-foto-wrapper {
    flex: 1;
    min-height: 350px;
}

.sede-foto-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Colonna Info */
.sede-info-wrapper {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sede-info-wrapper h3 {
    font-size: 1.5rem;
    color: var(--dark-sage);
    margin-bottom: 20px;
}

.sede-indirizzo {
    font-size: 1rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.sede-indirizzo i {
    color: var(--primary-sage);
    font-size: 1.3rem;
    margin-top: 3px;
}

.sede-contatti-rapidi {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.sede-contatti-rapidi p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
}

.sede-contatti-rapidi p:last-child {
    margin-bottom: 0;
}

.sede-contatti-rapidi i {
    color: var(--primary-sage);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Bottone per Google Maps */
.btn-mappa {
    display: inline-block;
    text-align: center;
    background-color: var(--dark-sage);
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-mappa:hover {
    background-color: var(--primary-sage);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .sede-card-moderna {
        flex-direction: column;
    }

    .sede-foto-wrapper {
        min-height: 250px;
    }

    .sede-info-wrapper {
        padding: 30px 20px;
    }

    .sede-info-wrapper h3 {
        font-size: 1.6rem;
    }

    .btn-mappa {
        width: 100%; /* Su mobile il tasto prende tutta la larghezza, facile da cliccare */
    }
}

/* --- NUOVA HERO MODERN CHIC --- */
.hero-modern {
    background-color: var(--light-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-modern h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 15px 0 25px;
    color: var(--dark-sage);
}

.hero-text-modern p {
    font-size: 1.2rem;
    color: #555;
}

.hero-image-wrapper {
    position: relative;
    text-align: right; /* Spinge la foto a destra */
    padding-right: 20px;
}

.hero-img-arch {
    width: 90%;
    max-width: 500px;
    height: 650px;
    object-fit: cover;
    /* Crea la forma ad arco elegante */
    border-radius: 250px 250px 20px 20px;
    box-shadow: 0 20px 50px rgba(120, 150, 120, 0.2);
    position: relative;
    z-index: 2;
}

.decor-circle {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 180px;
    height: 180px;
    background-color: var(--accent-green);
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-text-modern h1 { font-size: 3rem; }
    .hero-image-wrapper { text-align: center; padding-right: 0; }
    .hero-img-arch { height: 450px; border-radius: 200px 200px 20px 20px; }
    .decor-circle { display: none; } /* Nascosto da mobile per pulizia */
}

/* ==========================================
   SEZIONE CHI SONO (TESTO + FOTO A DESTRA)
========================================== */
.chisono-modern {
    padding: 100px 20px;
    background-color: var(--white);
}

.chisono-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Due colonne uguali */
    gap: 60px;
    align-items: center; /* Centra verticalmente testo e foto */
}

/* --- Lato Testo --- */
.text-header-left {
    text-align: left;
    margin-bottom: 30px;
}

.text-header-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-sage);
    margin: 10px 0;
}

.nutri-divider-left {
    width: 60px;
    height: 3px;
    background: var(--primary-sage);
    margin: 20px 0;
}

.bio-content-left {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify; /* Mantiene i bordi del testo allineati */
}

.bio-content-left p {
    margin-bottom: 20px;
}

.bio-content-left strong {
    color: var(--dark-sage);
    font-weight: 700;
}

/* --- Lato Foto --- */
.chisono-foto {
    position: relative;
    padding: 20px;
}

.foto-wrapper {
    position: relative;
    z-index: 2;
}

.img-chisono {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Rettangolo decorativo spostato dietro la foto */
.foto-backdrop {
    position: absolute;
    top: -15px;
    right: 5%;
    width: 90%;
    height: 100%;
    background-color: var(--accent-green);
    border-radius: 20px;
    z-index: 1;
    transform: translate(15px, 15px);
    transition: transform 0.4s ease;
}

/* Effetto hover sulla foto */
.chisono-foto:hover .foto-backdrop {
    transform: translate(25px, 25px);
}

/* --- Responsive (Mobile e Tablet) --- */
@media (max-width: 992px) {
    .chisono-grid {
        grid-template-columns: 1fr; /* Torna a una singola colonna */
        gap: 50px;
    }

    .text-header-left {
        text-align: center; /* Centra il titolo su mobile */
    }

    .nutri-divider-left {
        margin: 20px auto; /* Centra la riga divisoria su mobile */
    }

    .bio-content-left {
        text-align: left; /* Rimuove il justify su mobile per leggerezza */
    }
}
/* ==========================================
   SEZIONE VISITE (TARIFFE E DETTAGLI)
========================================== */
.visita-moderna {
    padding: 100px 20px;
    background-color: var(--accent-green); /* Sfondo delicato */
}

.percorsi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1050px;
    margin: 0 auto 50px;
}

.percorso-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(120, 150, 120, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.percorso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(120, 150, 120, 0.15);
    border-color: var(--primary-sage);
}

/* Header della Card */
.p-card-header {
    border-bottom: 2px dashed var(--accent-green);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.p-card-header h3 {
    font-size: 1.8rem;
    color: var(--dark-sage);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.p-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.p-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-sage);
    font-weight: 700;
}

.p-duration {
    font-size: 0.95rem;
    color: #666;
    background: var(--light-bg);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.p-duration i {
    color: var(--primary-sage);
    margin-right: 5px;
}

/* Contenuto Prima Visita */
.p-step {
    margin-bottom: 25px;
}
.p-step:last-child { margin-bottom: 0; }

.p-step h4 {
    font-size: 1.1rem;
    color: var(--dark-sage);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-step h4 i {
    color: var(--primary-sage);
    font-size: 1.2rem;
}

.p-step p, .p-intro, .p-outro {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    text-align: justify;
}

/* Contenuto Controllo */
.p-intro { margin-bottom: 20px; font-weight: 500; }

.p-list {
    list-style: none;
    margin-bottom: 20px;
}

.p-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.p-list li i {
    color: var(--primary-sage);
    margin-top: 4px;
}

/* --- CARD VISITA ONLINE (Larga quanto tutta la griglia) --- */
.online-card {
    grid-column: 1 / -1; /* Permette alla card di allungarsi fino in fondo */
    background: var(--dark-sage);
    color: var(--white);
    padding: 35px 40px;
}

.online-card:hover {
    background: var(--primary-sage);
    transform: translateY(-5px);
}

.online-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.online-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
}

.online-text h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.online-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.online-text strong {
    color: var(--white);
    font-weight: 700;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .percorso-card {
        padding: 30px 20px;
    }

    .online-card {
        grid-column: span 1; /* Ritorna a una singola colonna su mobile */
    }

    .online-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .online-text p {
        text-align: center;
    }

    .p-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================
   SEZIONE VISITE (LINEARE ED ELEGANTE)
========================================== */
.visita-lineare {
    padding: 100px 20px;
    background-color: var(--white); /* Sfondo bianco per massima leggibilità */
}

.visita-item {
    margin-bottom: 20px;
}

/* Riga del Titolo con Prezzo e Durata */
.visita-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--primary-sage);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.visita-item-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark-sage);
    margin: 0;
    line-height: 1;
}

.visita-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.v-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-sage);
    font-weight: 700;
}

.v-time {
    font-size: 0.95rem;
    color: #666;
    background: var(--accent-green);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v-time i {
    color: var(--primary-sage);
}

/* Contenuto descrittivo */
.visita-item-content h4 {
    font-size: 1.1rem;
    color: var(--primary-sage);
    margin-top: 35px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.visita-item-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.nota-consegna {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #777;
}

.visita-highlight {
    color: var(--dark-sage);
    display: block;
    margin: 30px 0 15px;
    font-size: 1.1rem;
}

/* Elenco puntato custom */
.visita-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 10px;
}

.visita-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
}

.visita-list li i {
    color: var(--primary-sage);
    font-size: 0.5rem;
    margin-top: 9px;
}

/* Divisore tra le visite */
.visita-separator {
    width: 60px;
    height: 2px;
    background-color: var(--accent-green);
    margin: 60px auto;
}

/* --- Responsive per Tablet e Mobile --- */
@media (max-width: 768px) {
    .visita-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .visita-item-header h3 {
        font-size: 1.8rem;
    }

    .visita-item-content p {
        text-align: left; /* Rimuove il justify su mobile */
    }

    .visita-meta {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ==========================================
   SEZIONE CONTATTI RE-STYLE (SPLIT LAYOUT)
========================================== */
.contatti-restyle {
    padding: 100px 20px;
    background-color: var(--accent-green); /* Sfondo delicato per staccare dal bianco */
}

.contatti-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Lato contatti leggermente più largo */
    gap: 60px;
    align-items: center;
}

/* Lato Testo */
.contatti-testo h2 {
    font-size: 2.8rem;
    margin: 10px 0;
    color: var(--dark-sage);
}

.contatti-testo p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Lato Cards */
.contatti-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.c-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(120, 150, 120, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.c-card:hover {
    transform: translateX(10px); /* Effetto scivolamento a destra */
    box-shadow: 0 10px 25px rgba(120, 150, 120, 0.15);
    border-color: var(--primary-sage);
}

/* Icone e Colori */
.c-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.c-icon.whatsapp { background: #e8f9ee; color: #25D366; }
.c-icon.phone { background: var(--accent-green); color: var(--primary-sage); }
.c-icon.email { background: #fdf2f2; color: #e17055; }
.c-icon.instagram { background: #fdecf0; color: #E4405F; }

/* Testi Card */
.c-info {
    flex-grow: 1;
}

.c-info h4 {
    font-size: 1.1rem;
    color: var(--dark-sage);
    margin-bottom: 3px;
}

.c-info span {
    font-size: 0.9rem;
    color: #777;
}

/* Freccia a destra */
.c-arrow {
    color: #ccc;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.c-card:hover .c-arrow {
    color: var(--primary-sage);
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .contatti-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contatti-testo {
        text-align: center;
    }

    .nutri-divider-left {
        margin: 20px auto;
    }

    .c-card:hover {
        transform: translateY(-5px); /* Su mobile meglio l'effetto sollevamento invece che scivolamento */
    }
}

@media (max-width: 480px) {
    .c-card {
        padding: 15px 20px;
    }
    .c-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-right: 15px;
    }
    .c-info h4 {
        font-size: 1rem;
    }
    .c-info span {
        font-size: 0.8rem;
    }
}
/* ==========================================
   SEZIONE CONTATTI RE-STYLE (SPLIT LAYOUT)
========================================== */
.contatti-restyle {
    padding: 100px 20px;
    background-color: var(--white); /* Sfondo bianco come richiesto */
}

/* Resto della griglia e testi invariati... */
.contatti-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contatti-testo h2 {
    font-size: 2.8rem;
    margin: 10px 0;
    color: var(--dark-sage);
}

.contatti-testo p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contatti-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Modifica alle Card per farle staccare dal fondo bianco */
.c-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid var(--accent-green); /* Bordo verde salvia chiarissimo per definire la card */
    box-shadow: 0 8px 25px rgba(0,0,0,0.04); /* Ombra leggermente più morbida e visibile */
    transition: all 0.3s ease;
}

.c-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.12); /* Ombra colorata al passaggio del mouse */
    border-color: var(--primary-sage);
}


/* ==========================================
   SEZIONE BLOG (STILE INSTAGRAM)
========================================== */
.blog-ig-section {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.ig-card {
    background: var(--white);
    border: 1px solid #dbdbdb; /* Grigio tipico di IG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ig-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Header della Card */
.ig-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
}

.ig-profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
    margin-right: 12px;
}

.ig-user-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ig-username {
    font-weight: 700;
    font-size: 0.9rem;
    color: #262626;
}

.ig-location {
    font-size: 0.75rem;
    color: #8e8e8e;
}

.ig-more {
    color: #262626;
    cursor: pointer;
}

/* Foto quadrata del Post */
.ig-photo {
    width: 100%;
    aspect-ratio: 1 / 1; /* Mantiene la foto perfettamente quadrata */
    background: var(--accent-green);
    overflow: hidden;
}

.ig-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ig-card:hover .ig-photo img {
    transform: scale(1.03); /* Leggero zoom della foto al passaggio del mouse */
}

/* Footer del Post (Icone e Testo) */
.ig-footer {
    padding: 15px;
}

.ig-actions {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    color: #262626;
    margin-bottom: 12px;
}

.ig-action-left {
    display: flex;
    gap: 15px;
}

.ig-action-left i, .ig-actions > i {
    cursor: pointer;
    transition: color 0.2s ease;
}

.ig-action-left i:hover, .ig-actions > i:hover {
    color: var(--primary-sage);
}

.ig-likes {
    font-weight: 700;
    font-size: 0.9rem;
    color: #262626;
    margin-bottom: 8px;
}

.ig-caption {
    font-size: 0.9rem;
    color: #262626;
    line-height: 1.4;
    margin-bottom: 18px;
}

.ig-caption span {
    color: #8e8e8e;
    cursor: pointer;
}

/* Bottone finto di Instagram */
.ig-view-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 8px 0;
    background: #efefef;
    color: #262626;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.ig-view-btn:hover {
    background: #e0e0e0;
}
/* --- Lato Foto --- */
.chisono-foto {
    position: relative;
    padding: 20px;
}

.foto-wrapper {
    position: relative;
    z-index: 2;
}

.img-chisono {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Rettangolo decorativo spostato a SINISTRA */
.foto-backdrop-left {
    position: absolute;
    top: -15px;
    left: 5%; /* Partiamo dal lato sinistro */
    width: 90%;
    height: 100%;
    background-color: var(--accent-green);
    border-radius: 20px;
    z-index: 1;
    transform: translate(-15px, 15px); /* Offset in basso a sinistra */
    transition: transform 0.4s ease;
}

/* Effetto hover sulla foto (si espande verso l'esterno) */
.chisono-foto:hover .foto-backdrop-left {
    transform: translate(-25px, 25px);
}

/* ==========================================
   NUOVA HERO MODERN (Forma Ovale / Pillola)
========================================== */
.hero-modern {
    background-color: var(--light-bg);
    min-height: 85vh; /* Altezza leggermente ridotta per bilanciare la foto più piccola */
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-container {
    max-width: 1100px; /* Leggermente più stretto per raccogliere meglio il contenuto */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-modern h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin: 15px 0 25px;
    color: var(--dark-sage);
}

.hero-text-modern p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end; /* Allinea la foto verso destra */
    align-items: center;
    padding-right: 10px;
}

/* Forma a Pillola (Ovale) */
.hero-img-pill {
    width: 100%;
    max-width: 380px; /* Foto ridotta (prima era 500px) */
    height: 520px;    /* Foto ridotta (prima era 650px) */
    object-fit: cover;
    border-radius: 250px; /* Arrotonda perfettamente tutti i lati creando la "pillola" */
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.15);
    position: relative;
    z-index: 2;
}

/* Anello decorativo leggero */
.decor-ring {
    position: absolute;
    bottom: -15px;
    right: 300px; /* Lo fa sbucare in basso a sinistra rispetto alla foto */
    width: 160px;
    height: 160px;
    background-color: transparent;
    border: 4px solid var(--accent-green); /* Solo il contorno, per maggiore leggerezza */
    border-radius: 50%;
    z-index: 1;
}

/* --- Responsive per Mobile e Tablet --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text-modern h1 {
        font-size: 3rem;
    }

    .hero-image-wrapper {
        justify-content: center; /* Centra la foto su cellulare */
        padding-right: 0;
        margin-top: 10px;
    }

    .hero-img-pill {
        max-width: 320px;
        height: 440px;
    }

    .decor-ring {
        display: none; /* Nascondiamo l'anello su mobile per tenere tutto super pulito */
    }
}

/* ==========================================
   NUOVA HERO (IMMAGINE DINAMICA FLUIDA)
========================================== */
.hero-modern {
    background-color: var(--light-bg);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-modern h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin: 15px 0 25px;
    color: var(--dark-sage);
}

.hero-text-modern p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
}

/* --- CONTENITORE IMMAGINE DINAMICA --- */
.hero-image-dynamic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 480px;
}

/* LA FOTO: Cambia forma (morphingShape) e galleggia (floating) */
.img-fluid-shape {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    height: 380px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.2);
    /* L'animazione continua e infinita */
    animation: morphingShape 8s ease-in-out infinite, floating 6s ease-in-out infinite;
}

/* LO SFONDO: Un'altra forma animata in controfase per dare tridimensionalità */
.blob-bg {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-width: 410px;
    height: 410px;
    background-color: var(--accent-green);
    /* Si muove in modo speculare alla foto */
    animation: morphingShape 10s ease-in-out infinite alternate-reverse;
}

/* ==========================================
   ANIMAZIONI (LA MAGIA CSS)
========================================== */

/* Animazione per deformare dolcemente i bordi */
@keyframes morphingShape {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Animazione per fluttuare su e giù */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Responsive per Mobile e Tablet --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text-modern h1 {
        font-size: 3rem;
    }

    .hero-image-dynamic {
        height: 380px;
        margin-top: 20px;
    }

    .img-fluid-shape {
        max-width: 300px;
        height: 300px;
    }

    .blob-bg {
        max-width: 330px;
        height: 330px;
    }
}
/* --- CONTENITORE IMMAGINE DINAMICA --- */
.hero-image-dynamic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 500px; /* Spazio aumentato */
}

/* LA FOTO: Ora è più AMPIA e rettangolare */
.img-fluid-shape {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 550px; /* Notevolmente allargata (prima era 380px) */
    height: 400px;    /* Altezza proporzionata per un formato panoramico */
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.2);
    animation: morphingShape 8s ease-in-out infinite, floating 6s ease-in-out infinite;
}

/* LO SFONDO: Adattato alla nuova grandezza della foto */
.blob-bg {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-width: 580px; /* Più grande della foto per creare il bordo */
    height: 430px;
    background-color: var(--accent-green);
    animation: morphingShape 10s ease-in-out infinite alternate-reverse;
}

/* --- Responsive per Mobile e Tablet --- */
@media (max-width: 992px) {
    .hero-image-dynamic {
        min-height: 350px;
        margin-top: 20px;
    }

    .img-fluid-shape {
        max-width: 90%; /* Si adatta alla larghezza dello schermo */
        height: 300px;
    }

    .blob-bg {
        max-width: 95%;
        height: 330px;
    }
}

/* --- TITOLO PRINCIPALE HERO --- */
.hero-text-modern h1 {
    font-size: 3.2rem; /* Ridotto da 3.8rem per bilanciare la foto più ampia */
    line-height: 1.2;
    margin: 15px 0 20px;
    color: var(--dark-sage);
}

/* ==========================================
   SEZIONE CONTATTI BENTO BOX
========================================== */
.contatti-bento-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.bento-grid {
    display: grid;
    /* Creiamo 3 colonne uguali per il "puzzle" */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Stile Base delle Scatole */
.bento-item {
    background: var(--light-bg);
    border-radius: 25px;
    padding: 30px;
    text-decoration: none;
    border: 1px solid rgba(120, 150, 120, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(120, 150, 120, 0.15);
}

.bento-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.bento-content h3 {
    font-size: 1.3rem;
    color: var(--dark-sage);
    margin-bottom: 10px;
}

.bento-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.bento-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- LE SINGOLE SCATOLE DEL PUZZLE --- */

/* WhatsApp prende 2 colonne */
.bento-whatsapp {
    grid-column: span 2;
    background: var(--primary-sage);
    color: white;
    border: none;
}

.bento-whatsapp .bento-icon i,
.bento-whatsapp .bento-content h3,
.bento-whatsapp .bento-content p,
.bento-whatsapp .bento-link {
    color: white; /* Forza il testo bianco sulla scatola verde */
}

/* Telefono (1 colonna) */
.bento-phone {
    grid-column: span 1;
}
.bento-phone .bento-icon i { color: var(--primary-sage); }

/* Email (1 colonna) */
.bento-email {
    grid-column: span 1;
}
.bento-email .bento-icon i { color: #e17055; }

/* Instagram prende 2 colonne e ha un layout in riga */
.bento-instagram {
    grid-column: span 2;
    background: #fdf5f7; /* Leggerissimo rosa/panna */
    border-color: #fce4e9;
}

.bento-content-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.bento-content-row .bento-icon {
    margin-bottom: 0;
    font-size: 3rem;
    color: #E4405F;
}

.bento-instagram h3 {
    color: #E4405F;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.bento-instagram p {
    color: #555;
    margin: 0;
}

/* --- RESPONSIVE MOBILE E TABLET --- */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr); /* Diventa a 2 colonne su tablet */
    }
    .bento-whatsapp { grid-column: span 2; }
    .bento-instagram { grid-column: span 2; }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr; /* Diventa a singola colonna impilata su cellulare */
    }
    .bento-whatsapp, .bento-phone, .bento-email, .bento-instagram {
        grid-column: span 1;
    }
    .bento-content-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .bento-item {
        align-items: center;
        text-align: center;
    }
}

/* ==========================================
   SEZIONE CONTATTI LINEARE
========================================== */
.contatti-lineare {
    padding: 100px 20px;
    background-color: var(--white);
}

.contatti-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spazio tra le righe */
    margin-top: 40px;
}

/* La singola riga di contatto */
.contact-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--light-bg);
    border: 1px solid rgba(120, 150, 120, 0.15);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

/* Effetto al passaggio del mouse */
.contact-line:hover {
    background: var(--white);
    border-color: var(--primary-sage);
    box-shadow: 0 10px 25px rgba(120, 150, 120, 0.1);
    transform: translateY(-3px);
}

.c-line-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Icone */
.c-line-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
}

.c-line-icon.whatsapp { background: #e8f9ee; color: #25D366; }
.c-line-icon.phone { background: var(--accent-green); color: var(--primary-sage); }
.c-line-icon.email { background: #fdf2f2; color: #e17055; }
.c-line-icon.instagram { background: #fdecf0; color: #E4405F; }

/* Testi a sinistra */
.c-line-info h4 {
    font-size: 1.1rem;
    color: var(--dark-sage);
    margin-bottom: 2px;
}

.c-line-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

/* Testi e freccia a destra */
.c-line-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-sage);
}

.contact-line .arrow {
    color: #ccc;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-line:hover .arrow {
    color: var(--primary-sage);
    transform: translateX(5px);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 600px) {
    .contact-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    /* Su mobile, il testo di destra e la freccia si spostano in basso formando una nuova riga divisa */
    .c-line-right {
        width: 100%;
        justify-content: space-between;
        padding-top: 15px;
        border-top: 1px solid rgba(120, 150, 120, 0.1);
    }
}
/* --- CONTENITORE IMMAGINE DINAMICA --- */
.hero-image-dynamic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 620px; /* Aumentato per ospitare una foto più slanciata */
}

/* LA FOTO: Più alta in verticale (effetto ritratto) */
.img-fluid-shape {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px; /* Leggermente stretta per enfatizzare la verticalità */
    height: 580px;    /* Molto più alta (prima era 400px) */
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.2);
    animation: morphingShape 8s ease-in-out infinite, floating 6s ease-in-out infinite;
}

/* LO SFONDO: Adattato alla nuova altezza della foto */
.blob-bg {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-width: 510px; /* Leggermente più largo della foto per fare da cornice */
    height: 610px;    /* Leggermente più alto della foto */
    background-color: var(--accent-green);
    animation: morphingShape 10s ease-in-out infinite alternate-reverse;
}

/* --- Responsive per Mobile e Tablet --- */
@media (max-width: 992px) {
    .hero-image-dynamic {
        min-height: 480px;
        margin-top: 30px;
    }

    .img-fluid-shape {
        max-width: 85%; /* Lascia un po' di margine ai lati su mobile */
        height: 450px;  /* Slanciata anche su smartphone */
    }

    .blob-bg {
        max-width: 90%;
        height: 480px;
    }
}

/* ==========================================
   SEZIONE FAQ (ACCORDION)
========================================== */
.faq-section {
    padding: 100px 20px;
    background-color: var(--light-bg); /* Stacca leggermente dalle sezioni bianche */
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--accent-green);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-sage);
}

.faq-item.active {
    border-color: var(--primary-sage);
    box-shadow: 0 8px 20px rgba(120, 150, 120, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-sage);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-sage);
}

.faq-icon {
    color: var(--primary-sage);
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

/* Ruota l'icona quando la FAQ è aperta */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0; /* Chiuso di default */
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--white);
}

.faq-answer p {
    padding: 0 25px 20px 25px;
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 18px 20px;
        gap: 15px; /* Evita che il testo si sovrapponga all'icona */
    }
    .faq-answer p {
        padding: 0 20px 18px 20px;
        font-size: 0.95rem;
        text-align: left; /* Togliamo il giustificato su mobile */
    }
}
/* ==========================================
   SEZIONE CONTATTI: GRIGLIA 2x2
========================================== */
.contatti-griglia {
    padding: 100px 20px;
    background-color: var(--white);
}

.c-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonne su Desktop */
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.c-grid-card {
    background: var(--light-bg);
    border: 1px solid var(--accent-green);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.c-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.15);
    border-color: var(--primary-sage);
    background: var(--white);
}

/* Cerchi colorati per le icone */
.c-icon-wrapper {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.c-grid-card:hover .c-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Colori specifici (eleganti e pastello) */
.whatsapp-card .c-icon-wrapper { background: #e8f9ee; color: #25D366; }
.phone-card .c-icon-wrapper    { background: var(--accent-green); color: var(--primary-sage); }
.email-card .c-icon-wrapper    { background: #fdf2f2; color: #e17055; }
.ig-card .c-icon-wrapper       { background: #fdecf0; color: #E4405F; }

/* Testi interni */
.c-grid-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--dark-sage);
    margin-bottom: 10px;
}

.c-grid-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Link in fondo alla card */
.c-link-text {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-sage);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: letter-spacing 0.3s ease;
}

.c-grid-card:hover .c-link-text {
    letter-spacing: 2px; /* Effetto espansione testo al passaggio del mouse */
}

@media (max-width: 768px) {
    .c-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .c-grid-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .c-grid-card h3 {
        font-size: 1.4rem;
    }
}

.contatti-editoriali {
    padding: 100px 20px;
    background-color: var(--white);
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
}

.editorial-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ed-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 700;
}

.ed-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark-sage);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.ed-link i {
    color: var(--primary-sage);
    font-size: 1.5rem;
    transition: transform 0.4s ease;
}


.ed-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--primary-sage);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.ed-link:hover {
    color: var(--primary-sage);
}

.ed-link:hover::after {
    width: 100%;
}

.ed-link:hover i {
    transform: scale(1.1) rotate(-5deg);
}

@media (max-width: 768px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 30px;
    }

    .ed-link {
        font-size: 1.5rem;
    }
}

.contatti-minimal-split {
    padding: 100px 20px;
    background-color: var(--white);
}

.split-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.split-left h2 {
    font-size: 2.8rem;
    margin: 10px 0;
    color: var(--dark-sage);
}

.split-left p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-top: 20px;
}

.split-left .nutri-divider-left {
    margin: 0;
}

.split-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-left: 1px solid var(--accent-green);
    padding-left: 50px;
}

.text-contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tc-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    font-weight: 700;
}

.tc-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--dark-sage);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.tc-link i {
    color: var(--primary-sage);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.tc-link:hover {
    color: var(--primary-sage);
}

.tc-link:hover i {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
    .split-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-left {
        text-align: center;
    }

    .split-left .nutri-divider-left {
        margin: 0 auto;
    }

    .split-right {
        border-left: none;
        border-top: 1px solid var(--accent-green);
        padding-left: 0;
        padding-top: 40px;
        align-items: center;
        text-align: center;
    }

    .tc-link {
        font-size: 1.3rem;
    }
}
.tc-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--dark-sage);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.tc-link i {
    color: var(--primary-sage);
    font-size: 1.2rem; /* Ridotto da 1.4rem */
    transition: transform 0.3s ease;
}
.split-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--dark-sage);
}


.metodo-section {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.metodo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.metodo-card {
    background: var(--white);
    border: 1px solid rgba(120, 150, 120, 0.15);
    border-radius: 20px;
    padding: 35px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metodo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.1);
    border-color: var(--primary-sage);
}

.metodo-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: var(--primary-sage);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.metodo-card:hover .metodo-icon {
    transform: scale(1.1) rotate(5deg);
}

.metodo-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-sage);
    margin-bottom: 12px;
}

.metodo-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.ambiti-container {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--accent-green);
    text-align: center;
}

.ambiti-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark-sage);
    margin-bottom: 30px;
}

.ambiti-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.ambito-pill {
    background: var(--accent-green);
    color: var(--dark-sage);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.ambito-pill i {
    color: var(--primary-sage);
    font-size: 1rem;
}

.ambito-pill:hover {
    background: var(--primary-sage);
    color: var(--white);
    transform: translateY(-2px);
}

.ambito-pill:hover i {
    color: var(--white);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .metodo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ambiti-container {
        padding: 30px 20px;
    }

    .ambito-pill {
        width: 100%;
        justify-content: flex-start;
    }
}

.ambiti-container-elegante {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(120, 150, 120, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.ambiti-header {
    text-align: center;
    margin-bottom: 40px;
}

.ambiti-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark-sage);
    margin-bottom: 10px;
}

.ambiti-header p {
    color: #666;
    font-size: 1.05rem;
}

.ambiti-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    list-style: none;
    padding: 0;
}

.ambiti-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(120, 150, 120, 0.15);
}

.ambiti-list li i {
    color: var(--primary-sage);
    font-size: 1.2rem;
    margin-top: 4px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ambiti-container-elegante {
        padding: 30px 20px;
    }

    .ambiti-header h3 {
        font-size: 1.8rem;
    }

    .ambiti-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ambiti-list li {
        font-size: 1rem;
        padding-bottom: 12px;
    }
}


.hero-image-dynamic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 550px;
}

.img-fluid-shape {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(120, 150, 120, 0.2);
    animation: morphingShape 8s ease-in-out infinite, floating 6s ease-in-out infinite;
}

.blob-bg {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    height: 530px;
    background-color: var(--accent-green);
    animation: morphingShape 10s ease-in-out infinite alternate-reverse;
}


.hero-text-editorial {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: var(--accent-green);
    color: var(--dark-sage);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 1px solid rgba(120, 150, 120, 0.2);
}

.hero-title-ed {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.05;
    color: var(--dark-sage);
    margin: 0 0 30px 0;
    letter-spacing: -1px;
}

.hero-desc-wrapper {
    border-left: 3px solid var(--primary-sage);
    padding-left: 20px;
    margin-bottom: 45px;
    max-width: 450px;
}

.hero-desc-wrapper p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.btn-scopri {
    font-weight: 700;
    color: var(--dark-sage);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.btn-scopri::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--dark-sage);
    transition: width 0.3s ease;
}

.btn-scopri:hover {
    color: var(--primary-sage);
}

.btn-scopri:hover::after {
    background-color: var(--primary-sage);
    width: 40%;
}

@media (max-width: 992px) {
    .hero-text-editorial {
        align-items: center;
        text-align: center;
    }

    .hero-title-ed {
        font-size: 2.5rem;
    }

    .hero-desc-wrapper {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--primary-sage);
        padding-top: 20px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
}
.bio-content-left {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}



img, iframe, video {
    max-width: 100% !important;
    height: auto;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

@media (max-width: 992px) {
    .hero-image-dynamic {
        min-height: 350px !important;
        margin-top: 30px;
    }

    .img-fluid-shape {
        max-width: 85% !important;
        height: 350px !important;
    }

    .blob-bg {
        max-width: 95% !important;
        height: 380px !important;
    }

    .hero-title-ed {
        font-size: 2rem !important;
        word-wrap: break-word;
    }
}

@media (max-width: 768px) {
    .foto-backdrop-left {
        width: 100% !important;
        left: 0;
        transform: translate(-10px, 10px) !important;
    }
    .chisono-foto {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 15px;
    }
    .logo-img {
        height: 45px !important;
    }
    .navbar-prenota {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }
}


@media (max-width: 992px) {
    .hero-container {
        display: flex;
        flex-direction: column;
    }

    .hero-image-dynamic {
        order: 1;
        margin-top: 0 !important;
        margin-bottom: 10px;
    }

    .hero-text-editorial {
        order: 2;
    }
}


@media (max-width: 768px) {
    .split-right {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        align-items: center !important;
    }

    .text-contact-item {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .tc-link {
        font-size: 0.95rem !important;
        word-break: break-word !important;
        text-align: center;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .tc-link i {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 768px) {
    .hero-title-ed br {
        display: none;
    }

    .hero-title-ed {

        font-size: 2rem !important;
    }
}


@media (max-width: 768px) {
    .chisono-foto {
        padding: 20px 15px;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .foto-wrapper {
        width: 100%;
        max-width: 280px;
        position: relative;
    }

    .img-chisono {
        width: 100%;
        height: 380px;
        object-fit: cover;
        box-shadow: 0 15px 30px rgba(120, 150, 120, 0.2);
        margin: 0;
    }

    .foto-backdrop-left {
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
        top: 0 !important;

        transform: translate(-15px, 15px) !important;
    }
}
.metodo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.metodo-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: var(--primary-sage);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.metodo-card:hover .metodo-icon {
    transform: scale(1.1) rotate(5deg);
}

.metodo-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-sage);
    margin-bottom: 0;
    line-height: 1.2;
}



@media (max-width: 992px) {
    .sede-card-moderna {
        flex-direction: column;
    }

    .sede-foto-wrapper {
        min-height: auto;
        height: 300px;
    }

    .sede-info-wrapper {
        padding: 40px 30px;
        align-items: center;
        text-align: center;
    }

    .sede-indirizzo {
        justify-content: center;
    }

    .sede-contatti-rapidi {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .sedi-tabs-container {
        gap: 10px;
        margin-bottom: 30px;
    }

    .tab-sede {
        flex: 1 1 calc(33% - 10px);
        text-align: center;
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .sede-foto-wrapper {
        height: 220px;
    }

    .sede-info-wrapper {
        padding: 30px 20px;
    }

    .sede-info-wrapper h3 {
        font-size: 1.5rem;
    }

    .sede-indirizzo {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
    }

    .sede-indirizzo i {
        margin-top: 0;
        font-size: 1.5rem;
    }

    .btn-mappa {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}
@media (max-width: 768px) {

    .sede-contatti-rapidi p:last-child {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .sede-contatti-rapidi p:last-child i {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title,
    .visita-header h2,
    .text-header-left h2,
    .split-left h2,
    .ambiti-header h3,
    .dove-siamo-modern h2,
    .contatti-elegante h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .ig-grid {
        grid-template-columns: minmax(280px, 380px);

        justify-content: center;
    }

    .ig-card {
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .metodo-grid {
        margin-left: -10px;
        margin-right: -10px;
        gap: 15px;
    }

    .metodo-card {
        padding: 25px 15px;
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .ambiti-container-elegante {
        margin-left: -10px;
        margin-right: -10px;
        padding: 30px 15px;
        border-radius: 15px;
    }

    .ambiti-list li {
        gap: 10px;
    }
}


.recensioni-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.reviews-wrapper {
    position: relative;
    background: var(--light-bg);
    border: 1px solid var(--accent-green);
    border-radius: 30px;
    padding: 50px 40px 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    text-align: center;
    margin: 0 auto;
}

.quote-icon-wrapper {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-sage);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(120, 150, 120, 0.3);
}

.reviews-container {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.review-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

.stars {
    color: #e6b800; /* Giallo oro per le stelline */
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
    padding: 0 20px;
}

.patient-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-sage);
    display: block;
}

.progress-bar-container {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background: var(--accent-green);
    margin: 30px auto 0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-sage);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .reviews-wrapper {
        padding: 40px 20px 30px;
    }
    .review-text {
        font-size: 0.95rem;
        padding: 0;
    }
    .reviews-container {
        min-height: 400px;
    }
}
.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
    padding: 0 20px;
    text-align: justify;
    hyphens: auto;
}

.recensioni-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.quote-icon-minimal {
    font-size: 2.5rem;
    color: var(--primary-sage);
    margin-bottom: 20px;
    opacity: 0.5;
}

.reviews-container {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.review-card {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.review-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

.stars {
    color: #e6b800;
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
    text-align: justify;
    hyphens: auto;
}

.patient-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-sage);
    display: block;
}

.progress-bar-container {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background: var(--accent-green);
    margin: 30px auto 0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-sage);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .reviews-container {
        min-height: 400px;
    }
    .review-text {
        font-size: 0.95rem;
        text-align: left;
    }
}
.reviews-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.review-card {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.review-card.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.stars {
    color: #e6b800;
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
    text-align: justify;
    hyphens: auto;
    width: 100%;
}

.patient-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-sage);
    display: block;
}

.progress-bar-container {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background: var(--accent-green);
    margin: 30px auto 0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-sage);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .review-text {
        font-size: 0.95rem;
        text-align: left;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .recensioni-section {
        padding: 60px 5px;
    }

    .reviews-container {
        width: 100%;
    }

    .review-text {
        font-size: 0.95rem;
        text-align: justify;
        padding: 0 !important;
        margin-bottom: 20px;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .recensioni-section {
        padding: 60px 5px;
    }

    .recensioni-section .container-small {
        padding: 0 !important;
    }

    .reviews-container {
        width: 100%;
    }

    .review-card {
        width: 100%;
    }

    .review-text {
        font-size: 0.95rem;
        text-align: left;
        padding: 0 !important;
        margin-bottom: 20px;
        width: 100%;
    }
}

.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    color: var(--dark-sage);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-nav {
    display: none;
}

@media (max-width: 992px) {
    .navbar-list, .navbar-contact {
        display: none !important;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        border-top: 1px solid rgba(120, 150, 120, 0.1);
    }

    .mobile-nav.active {
        max-height: 500px;
    }

    .mobile-nav-list {
        list-style: none;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .mobile-link {
        text-decoration: none;
        color: var(--dark-sage);
        font-weight: 600;
        font-size: 1.1rem;
        display: block;
        padding: 8px 20px;
        transition: color 0.3s ease;
    }

    .mobile-link:hover {
        color: var(--primary-sage);
    }

    .mobile-prenota {
        display: inline-block;
        font-size: 1rem;
        padding: 12px 30px;
        width: auto;
    }
}


.mobile-prenota {
    display: block !important;
    font-size: 1rem !important;
    padding: 10px 15px !important;
    min-width: 200px !important;
    text-align: center;
    box-shadow: 0 4px 15px rgba(135, 152, 118, 0.4);
    border-radius: 12px !important;
}