
@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');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&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: #a788d9;
    --dark-sage: #735ca3;
    --white: #ffffff;
    --light-bg: #fcfbfe;
    --accent-green: #f6f3f8;
    --text-main: #444444;
}

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: 'Fraunces', serif;
    color: var(--dark-sage);
    font-weight: 500;
}


.container-small {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title,
.visita-header h2,
.chisono-elegant-testo h2,
.contatti-header h2,
.dove-siamo-modern h2,
.percorsi-header h2{
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.top-subtitle,
.visita-header .top-subtitle {
    font-family: 'Quicksand', sans-serif;
    color: var(--primary-sage);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.nutri-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-sage);
    margin: 20px 0 30px 0;
    border-radius: 2px;
}

.nutri-divider-center {
    width: 60px;
    height: 4px;
    background-color: var(--primary-sage);
    margin: 0 auto 40px auto;
    border-radius: 2px;
}

.btn-prenota {
    display: inline-block;
    padding: 16px 35px;
    background: var(--primary-sage);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-prenota:hover {
    background: var(--dark-sage);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(115, 92, 163, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.navbar {
    background-color: rgba(253, 253, 251, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(115, 92, 163, 0.1);
}

.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;
    transition: all 0.3s ease;
}

.navbar-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

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



.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    background: #F4F7F4;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-img-blob {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.hero-content {
    display: flex;
    align-items: center;
    padding: 60px;
}

.hero-subtitle {
    color: var(--primary-sage);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .hero-text h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .hero-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        padding-right: 10px;
    }
}


.chisono-elegant-section {
    padding: 120px 20px;
}

.chisono-elegant-container {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.chisono-elegant-testo {
    flex: 1.1;
    background-color: var(--white);
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(115, 92, 163, 0.08);
    position: relative;
    z-index: 2;
    margin-right: -80px;
    border: 1px solid rgba(115, 92, 163, 0.1);
}

.chisono-elegant-testo h2, .chisono-elegant-testo .top-subtitle {
    text-align: left;
}

.main-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.secondary-text {
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--dark-sage);
    border-left: 3px solid var(--primary-sage);
    padding-left: 20px;
    margin-top: 30px;
}

.chisono-elegant-foto {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
}

.chisono-elegant-foto img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 20px 120px 20px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

@media (max-width: 992px) {
    .chisono-elegant-container {
        flex-direction: column-reverse;
        gap: 0;
    }
    .chisono-elegant-testo {
        margin-right: 0;
        margin-top: -60px;
        padding: 40px 25px;
        border-radius: 0 !important;
    }
    .chisono-elegant-testo h2, .chisono-elegant-testo .top-subtitle {
        text-align: center !important;
    }
    .chisono-elegant-testo .nutri-divider {
        margin: 20px auto 30px auto !important;
    }
    .secondary-text {
        border-left: none;
        border-top: 3px solid var(--primary-sage);
        padding-left: 0;
        padding-top: 20px;
    }
    .chisono-elegant-foto img {
        height: auto !important;
        border-radius: 30px 30px 0 0 !important;
    }
}


.percorso-section {
    padding: 100px 20px;
}

.visita-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.visita-timeline {
    max-width: 700px;
    margin: 60px auto 0;
    position: relative;
    padding-left: 20px;
}

.visita-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 45px;
    width: 2px;
    height: calc(100% - 40px);
    background: var(--primary-sage);
    z-index: 0;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.timeline-step:last-child { margin-bottom: 0; }

.step-icon {
    width: 55px;
    height: 55px;
    background: var(--light-bg);
    border: 3px solid var(--primary-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-sage);
    flex-shrink: 0;
    box-shadow: 0 0 0 8px var(--light-bg);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.step-content { padding-top: 5px; }
.step-content h3 { font-size: 1.4rem; color: var(--dark-sage); margin-bottom: 8px; }
.step-content p { color: #555; font-size: 1.05rem; line-height: 1.6; }

@media (max-width: 768px) {
    .visita-timeline::before { left: 40px; }
    .timeline-step { gap: 20px; }
    .step-icon { width: 45px; height: 45px; font-size: 1rem; }
}


.blog-ig-section {
    padding: 100px 20px;
}

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

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

.ig-photo { width: 100%; aspect-ratio: 1 / 1; 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); }

.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-caption { font-size: 0.9rem; color: #262626; line-height: 1.4; margin-bottom: 18px; }
.ig-caption span { color: #8e8e8e; cursor: pointer; }

.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; }
.visita-cta { margin-top: 50px; text-align: center; }


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

.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(115, 92, 163, 0.3);
}

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

.sede-foto-wrapper { flex: 1; min-height: 350px; }
.sede-foto-wrapper img { width: 100%; height: 100%; object-fit: cover; }

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

.btn-mappa {
    display: inline-block; text-align: center; background-color: var(--primary-sage);
    padding: 15px 30px; border-radius: 12px; text-decoration: none;
    color: white; font-weight: 700; transition: all 0.3s ease; width: max-content;
}
.btn-mappa:hover { background-color: var(--dark-sage); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

@media (max-width: 768px) {
    .sedi-tabs-container { grid-template-columns: 1fr 1fr; width: 100%; display: grid; gap: 10px; }
    .tab-sede { width: 100%; padding: 12px 5px; font-size: 0.85rem; border-radius: 15px; white-space: normal; line-height: 1.2; }
    .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; }
    .sede-contatti-rapidi p { font-size: 0.85rem; word-break: break-word; }
    .btn-mappa { width: 100%; }
}

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

.contatti-subtext {
    color: #666; margin: 20px auto 40px; font-size: 1.1rem; max-width: 600px; line-height: 1.6; text-align: center;
}

.contatti-grid-equal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-btn-equal {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    background: var(--light-bg); border: 1px solid var(--accent-green); border-radius: 20px;
    padding: 40px 20px; text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); height: 100%;
}

.contact-btn-equal:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(115, 92, 163, 0.15);
    border-color: var(--primary-sage); background: var(--white);
}

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

.contact-btn-equal:hover .c-icon-equal {
    transform: scale(1.1); background: var(--primary-sage); color: var(--white);
}

.contact-btn-equal h3 { font-size: 1.4rem; color: var(--dark-sage); margin-bottom: 8px; }
.contact-btn-equal p { font-size: 0.95rem; color: #666; margin: 0; }

@media (max-width: 992px) {
    .contatti-grid-equal { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
}
@media (max-width: 600px) {
    .contatti-grid-equal { grid-template-columns: 1fr; max-width: 320px; }
    .contact-btn-equal { padding: 30px 20px; }
}


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

.review-card { display: none; min-height: 280px; flex-direction: column; justify-content: center; }
.reviews-container .review-card.active { display: flex; animation: fadeIn 0.8s; }

.stars { color: #FFD700; margin-bottom: 20px; font-size: 1.2rem; }
.review-card h3 { font-size: 1.4rem; margin-bottom: 15px; }

.review-card p {
    font-size: 1.05rem; line-height: 1.8; color: #555; font-style: italic; margin-bottom: 20px; padding: 0 20px;
    text-align: justify; hyphens: none; -webkit-hyphens: none; -ms-hyphens: none;
}

.patient-name { font-weight: 700; color: var(--primary-sage); display: block; margin-top: 15px; }

.review-progress-bar { width: 100%; height: 4px; background: #eee; position: absolute; bottom: 0; left: 0; border-radius: 0 0 40px 40px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-sage); width: 0; }

.lascia-recensione-box { text-align: center; margin-top: 40px; }
.btn-outline { background: transparent; color: var(--primary-sage); border: 2px solid var(--primary-sage); transition: all 0.3s ease; padding: 12px 25px; border-radius: 12px; display: inline-block; font-weight: bold; text-decoration: none;}
.btn-outline:hover { background: var(--primary-sage); color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(115, 92, 163, 0.2); }

@media (max-width: 768px) {
    .review-card { min-height: 380px; }
    .review-card p { font-size: 1rem; padding: 0 5px; }
    .reviews-container { padding: 40px 20px; }
}


footer {
    background-color: #FDFDFBF2;
    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-column { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-title { font-family: Fraunces,serif; font-weight: 500; font-size: 1.4rem; margin-bottom: 20px; position: relative; }
.footer-title::after { content: ''; display: block; width: 30px; height: 2px; background: var(--primary-sage); margin: 8px auto 20px auto !important; }

.footer-bio { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }

.footer-links { list-style: none; padding: 0; text-align: left; width: fit-content; margin: 0; }
.footer-links li { font-size: 0.9rem; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.footer-links i { min-width: 25px; text-align: center; color: var(--primary-sage); margin-top: 4px; }

.footer-social { display: flex; justify-content: center; width: 100%; 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(115, 92, 163, 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) {
    .footer-container { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 20px; }
    .footer-column:nth-child(2), .footer-column:nth-child(3) { display: none; } /* Nasconde menù su mobile, per snellire */
    .footer-column:first-child { width: 100%; }
    .footer-bio { font-size: 0.9rem; margin: 10px auto 20px; max-width: 300px; }
    .footer-social { gap: 25px; margin-bottom: 10px; }
    .footer-social a i { font-size: 1.5rem; background: rgba(255, 255, 255, 0.5); padding: 10px; border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; }
    .footer-bottom { margin-top: 10px; padding-top: 15px; }
}


@media (max-width: 768px) {
    .section-title, .visita-header h2, .chisono-elegant-testo h2, .contatti-header h2, .dove-siamo-modern h2, .editorial-text-box h2, .percorsi-header h2 {
        font-size: 1.9rem !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }
}
.navbar-prenota {
    background: #a788d9;
    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);
    color: white !important;
    border-color: var(--primary-sage);

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgb(204 204 255);
}

.navbar-prenota:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(140, 185, 63, 0.3);
}

.hero {
    position: relative;
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 80px 8%;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    text-align: left;
}

.hero-subtitle {
    color: var(--primary-sage);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark-sage);
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: var(--text-main);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero {
        justify-content: center;
        min-height: 75vh;
        padding: 60px 20px;
        align-items: flex-end;
    }

    .hero-overlay {
        background: linear-gradient(to top, rgba(247, 250, 248, 1) 15%, rgba(247, 250, 248, 0.7) 50%, rgba(247, 250, 248, 0) 100%);
    }

    .hero-content {
        text-align: center;
        padding-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    .hero-text h1 {
        font-size: 2.4rem !important;
        margin-bottom: 15px;
    }
    .hero-text p {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }
}

.chisono-editorial {
    padding: 120px 20px;
    background-color: var(--white);
}

.chisono-editorial-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.editorial-image-box {
    flex: 1;
    position: relative;
}

.editorial-frame {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-sage);
    border-radius: 20px;
    z-index: 1;
}

.editorial-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; /* Formato ritratto */
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2; /* Sta sopra la cornice */
    box-shadow: 0 20px 40px rgba(115, 92, 163, 0.08);
}

/* --- LATO TESTO --- */
.editorial-text-box {
    flex: 1.1;
}

.editorial-text-box h2 {
    text-align: left;
    font-size: 3.2rem;
    margin-bottom: 30px;
}

.editorial-text-box .top-subtitle {
    text-align: left;
}

.dropcap-paragraph::first-letter {
    font-family: 'Playfair Display', serif;
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    padding-top: 6px;
    padding-right: 12px;
    color: var(--dark-sage);
    font-weight: 700;
}

.editorial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 25px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.editorial-highlight {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-sage);
    border-radius: 0 15px 15px 0;
}

.editorial-highlight h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark-sage);
    margin-bottom: 12px;
}

.editorial-highlight p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

.editorial-conclusion {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem !important;
    font-style: italic;
    color: var(--dark-sage) !important;
    text-align: left !important;
}

@media (max-width: 992px) {
    .chisono-editorial-container {
        flex-direction: column;
        gap: 60px;
    }

    .editorial-image-box {
        width: 85%;
        margin: 0 auto;
    }

    .editorial-frame {
        top: 20px;
        left: 20px;
    }

    .editorial-text-box h2, .editorial-text-box .top-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .editorial-text-box h2 {
        font-size: 2.5rem;
    }
    .dropcap-paragraph::first-letter {
        font-size: 3.8rem;
    }
    .editorial-content p {
        text-align: left;
    }
    .editorial-highlight {
        padding: 20px;
    }
    .editorial-image-box {
        width: 90%;
    }
    .editorial-conclusion {
        font-size: 1.2rem !important;
        text-align: center !important;
    }
}


.chisono-editorial {
    padding: 120px 20px;
    background-color: var(--white);
}

.chisono-editorial-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.editorial-image-box {
    flex: 1;
    position: relative;
}

.editorial-frame {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-sage);
    border-radius: 20px;
    z-index: 1;
}

.editorial-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(115, 92, 163, 0.08);
}

/* --- LATO TESTO --- */
.editorial-text-box {
    flex: 1.1;
}

.editorial-text-box h2 {
    text-align: left;
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.editorial-text-box .top-subtitle {
    text-align: left;
}

.editorial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 25px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.editorial-highlight {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-sage);
    border-radius: 0 15px 15px 0;
}

.editorial-highlight h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    color: var(--dark-sage);
    margin-bottom: 12px;
    font-weight: 500;
}

.editorial-highlight p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

.editorial-conclusion {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem !important;
    font-style: italic;
    color: var(--dark-sage) !important;
    text-align: left !important;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .chisono-editorial-container {
        flex-direction: column;
        gap: 60px;
    }

    .editorial-image-box {
        width: 85%;
        margin: 0 auto;
    }

    .editorial-frame {
        top: 20px;
        left: 20px;
    }

    .editorial-text-box h2, .editorial-text-box .top-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .editorial-text-box h2 {
        font-size: 2.5rem;
    }
    .editorial-content p {
        text-align: left;
    }
    .editorial-highlight {
        padding: 20px;
    }
    .editorial-image-box {
        width: 90%;
    }
    .editorial-conclusion {
        font-size: 1.2rem !important;
        text-align: center !important;
    }
}


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

.percorsi-header {
    text-align: center;
    margin-bottom: 60px;
}

.percorsi-desc {
    font-size: 1.1rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.percorsi-category {
    text-align: center;
    margin-bottom: 40px;
}

.category-mt {
    margin-top: 80px;
}

.category-title {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--dark-sage);
    position: relative;
    display: inline-block;
}

.category-title::before, .category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: var(--primary-sage);
}
.category-title::before { right: 100%; margin-right: 15px; }
.category-title::after { left: 100%; margin-left: 15px; }

.category-subtitle {
    font-size: 1rem;
    color: var(--primary-sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

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

.percorso-card {
    background: var(--light-bg); /* Il nuovo bianco lavanda */
    border: 1px solid rgba(193, 158, 253, 0.2);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
}

.percorso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(115, 92, 163, 0.08);
    border-color: var(--primary-sage);
}

.percorso-card.premium {
    background: var(--white);
    border: 2px solid var(--primary-sage);
    box-shadow: 0 10px 30px rgba(115, 92, 163, 0.05);
    transform: scale(1.02); /* Appena più grande delle altre */
}

.percorso-card.premium:hover {
    transform: scale(1.02) translateY(-8px);
}

.badge-popolare {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-sage);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(193, 158, 253, 0.4);
}

.percorso-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark-sage);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-box {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(115, 92, 163, 0.15);
}

.price {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: var(--dark-sage);
    line-height: 1;
}

.savings {
    display: block;
    font-size: 0.9rem;
    color: #a788d9;
    font-weight: 700;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.old-price {
    display: block;
    font-size: 0.95rem;
    color: #888;
    text-decoration: line-through;
    margin-top: 8px;
}

.percorso-features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
    flex-grow: 1;
}

.percorso-features li {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.percorso-features li i {
    color: var(--primary-sage);
    font-size: 1.1rem;
    margin-top: 4px;
}

.btn-percorso {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .percorso-card.premium {
        transform: scale(1);
    }
    .percorso-card.premium:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .category-title::before, .category-title::after {
        display: none;
    }
    .percorso-card {
        padding: 35px 25px;
    }
    .price {
        font-size: 2.8rem;
    }
    .category-mt {
        margin-top: 60px;
    }
}
.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;
    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);
}

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

.ig-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    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);
}

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

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

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

        justify-content: center;
    }

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

.percorso-extra-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px dashed var(--primary-sage);
    border-radius: 20px;
    padding: 30px;
    max-width: 850px;
    margin: 60px auto 0;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(115, 92, 163, 0.05);
    transition: all 0.4s ease;
}

.percorso-extra-box:hover {
    transform: translateY(-5px);
    border-style: solid;
    box-shadow: 0 15px 35px rgba(115, 92, 163, 0.1);
}

.extra-icon {
    width: 65px;
    height: 65px;
    background: var(--light-bg);
    color: var(--dark-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.extra-text {
    flex-grow: 1;
}

.extra-text h4 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--dark-sage);
    margin-bottom: 8px;
}

.extra-text p {
    font-size: 1.05rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.extra-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-sage);
    font-weight: 700;
    white-space: nowrap;
    background: var(--light-bg);
    padding: 12px 25px;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .percorso-extra-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 30px 20px;
        margin-top: 50px;
    }

    .extra-text h4 {
        font-size: 1.3rem;
    }
}
@media (max-width: 768px) {
    .hero {
        justify-content: center;
        min-height: 80vh;
        padding: 20px 20px 30px 20px;
        align-items: flex-end;
        background-position: 20% center;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        text-align: center;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: -15px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        color: #9877ef;
        letter-spacing: 2px;
        margin-bottom: 10px;

    }

    .hero-text h1 {
        font-size: 2rem !important;
        color: #9877ef;

        margin-bottom: 30px;

    }

    .hero-text p {
        display: none;
    }

}

.mobile-vat {
    display: none;
}

@media (max-width: 768px) {
    .mobile-vat {
        display: block;
        margin-top: 8px;
        font-size: 0.8rem;
        color: var(--dark-sage);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .hero {
        justify-content: center;
        min-height: 80vh;
        padding: 20px 20px 30px 20px;
        align-items: flex-end;
        background-position: 20% center;
    }


    .hero-overlay {
        display: block;
        background: linear-gradient(to top, rgba(15, 10, 25, 0.85) 0%, rgba(15, 10, 25, 0) 50%);
    }

    .hero-content {
        text-align: center;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 10px;
        z-index: 2;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        color: #ffffff;
        letter-spacing: 2px;
        margin-bottom: 10px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);

    }

    .hero-text h1 {
        font-size: 1.8rem !important;
        color: #ffffff !important;
        margin-bottom: 30px;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    }

    .hero-text p {
        display: none;
    }
}
a[href^="tel"],
.sede-contatti-rapidi p a {
    color: inherit !important;
    text-decoration: none !important;
}


@media (max-width: 768px) {
    .btn-prenota {
        padding: 12px 25px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
}


/* ==========================================
   LOGICA VISIBILITA' NAVBAR (DESKTOP VS MOBILE)
========================================== */

/* 1. Di default (Desktop) nascondiamo gli elementi del menu mobile */
.mobile-btn,
.prenota-mobile-item {
    display: none;
}

/* 2. Di default (Desktop) mostriamo il tasto classico */
.desktop-btn {
    display: block;
}

/* Stile Hamburger Icon */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-sage);
    cursor: pointer;
    transition: color 0.3s;
}

/* --- MOBILE RESPONSIVE (Sotto i 992px) --- */
@media (max-width: 992px) {

    /* Invertiamo la visibilità dei tasti */
    .desktop-btn { display: none; }
    .mobile-btn { display: block; }

    /* Questo è il <li> del bottone mobile: lo rendiamo inline-block per non farlo allargare a dismisura */
    .prenota-mobile-item {
        display: inline-block;
        margin-top: 15px;
    }

    /* Comportamento della tendina a discesa */
    .navbar-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(253, 253, 251, 0.98);
        flex-direction: column;
        align-items: center; /* Centra perfettamente i link e il bottone */
        padding: 30px 0 40px 0;
        gap: 25px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(115, 92, 163, 0.1);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.4s ease-in-out;
    }

    .navbar-list.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    /* Testi della tendina */
    .navbar-list a:not(.navbar-prenota-mobile) {
        font-size: 1.1rem;
        font-weight: 700;
    }

    /* Stile specifico per il BOTTONE LILLA nella tendina */
    .navbar-prenota-mobile {
        background: var(--primary-sage);
        color: white !important;
        padding: 14px 25px; /* Dimensioni compatte a forma di pillola */
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 700;
        text-decoration: none;
        display: inline-block;
        box-shadow: 0 5px 15px rgba(115, 92, 163, 0.2);
    }
}