
:root {
    --bg-warm: #F2F7FA;
    --primary-dark: #254E70;
    --accent-rust: #3F8ECA;
    --text-dark: #102538;
    --text-gray: #58748C;
    --white: #ffffff;
    --border-color: #D6E4EE;

    --bg-light: var(--primary-dark);
    --accent-color: #9ECDF0;
    --btn-green: var(--accent-rust);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}


.navbar {
    background-color: #ebf2f4 !important;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 20px 0;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.1rem; color: var(--text-dark); font-weight: 700; line-height: 1.2; }
.brand-subtitle { font-size: 0.8rem; color: var(--text-gray); }

.navbar-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
}

.navbar-list a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.navbar-list a:hover { color: var(--primary-dark); }
.navbar-list a.active-link { font-weight: 700; border-bottom: 2px solid var(--accent-rust); }

@media (max-width: 992px) {
    .navbar-logo { cursor: pointer; z-index: 3000; }
    .navbar-list {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background-color: #ebf2f4;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    .navbar-list.active { display: flex; opacity: 1; transform: translateY(0); }
}


.new-hero-section {
    padding: 80px 0 120px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.new-hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-overline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-rust);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--primary-dark);
    margin-bottom: 40px;
    max-width: 90%;
    font-weight: 600;
}

.hero-buttons { display: flex; gap: 15px; margin-bottom: 50px; }

.btn-solid {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-solid:hover { background-color: #102538; }

.btn-outline {
    background-color: var(--white);
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
.btn-outline:hover { border-color: var(--primary-dark); }

.hero-stats {
    display: flex;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.stat-item { flex: 1; padding-right: 20px; border-right: 1px solid var(--border-color); margin-right: 20px; }
.stat-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-item strong { display: block; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 5px; }
.stat-item span { font-size: 0.95rem; color: var(--text-gray); }

.new-hero-right { position: relative; }

.new-hero-right::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: #E3EEF5;
    border: 1px solid #D6E4EE;
    border-radius: 30px;
    z-index: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.new-hero-right:hover::before {
    transform: translate(10px, -12px);
    box-shadow: -5px 15px 25px rgba(0,0,0,0.03);
}

.hero-card {
    background-color: var(--white);
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
}

.card-image-box { position: relative; border-radius: 15px; overflow: hidden; height: 220px; margin-bottom: 15px; }
.card-image-box img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
    position: absolute; bottom: 15px; right: 15px; background-color: var(--white);
    color: var(--primary-dark); padding: 8px 16px; border-radius: 8px; font-size: 0.8rem;
    font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-contact-area { padding: 5px 15px 10px 15px; }
.contact-header { padding-bottom: 5px; margin-bottom: 10px; }
.contact-title { font-weight: 700; font-size: 1.1rem !important; color: var(--text-dark); margin: 5px 0 0 0; }

.contact-person { display: flex; align-items: center; padding: 10px 15px; border-radius: 15px; transition: 0.3s; }
.contact-person:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.person-avatar { width: 50px; height: 50px; color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; margin-right: 15px; }
.person-info { flex: 1; display: flex; flex-direction: column; }
.person-info .role { font-size: 0.75rem; color: var(--text-gray); letter-spacing: 1px; margin-bottom: 3px; font-weight: 700; }
.person-info .name { font-weight: 700; color: var(--text-dark); font-size: 1.1rem; }

.btn-chiama { background-color: var(--white); border: 1px solid var(--border-color); color: var(--text-dark); padding: 10px 24px; border-radius: 30px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: 0.3s; }
.btn-chiama:hover { background-color: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }

@media (max-width: 992px) {
    .new-hero-container { grid-template-columns: 1fr; gap: 50px; }
    .hero-title { font-size: clamp(1.8rem, 5.5vw, 2.5rem); }
    .hero-stats { flex-direction: column; border: none; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); margin-right: 0; padding: 15px 0; }
    .stat-item:last-child { border-bottom: none; }
    .hero-buttons { flex-direction: column; }
    .btn-solid, .btn-outline { text-align: center; }
}


.services-banner-section { background-color: var(--primary-dark); padding: 60px 0; }
.services-banner-wrapper {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background-color: #3F8ECA;
    border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 15px; overflow: hidden;
}
.service-box { padding: 25px; border-right: 1px solid rgba(255, 255, 255, 0.3); }
.service-box:last-child { border-right: none; }
.service-box-title { font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.service-box-desc { font-size: 0.95rem; line-height: 1.5; color: var(--white); }

@media (max-width: 992px) {
    .services-banner-wrapper { grid-template-columns: 1fr; }
    .service-box { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding: 20px; }
    .service-box:last-child { border-bottom: none; }
}


.servizi-section { padding: 100px 0; background-color: var(--bg-warm); }
.servizi-header { max-width: 750px; margin: 0 auto 50px auto; text-align: center; }
.section-overline { font-size: 0.85rem; font-weight: 700; color: var(--accent-rust); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 15px; display: block; }
.section-title { font-size: 2.2rem; color: var(--text-dark); line-height: 1.1; margin-bottom: 20px; }
.section-desc { font-size: 1.15rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 30px; }

.decor-lines { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.decor-lines span { display: block; height: 3px; width: 45px; border-radius: 3px; }
.line-rust { background-color: var(--accent-rust); }
.line-green { background-color: var(--primary-dark); }
.line-slate { background-color: #5A7480; }
.line-mustard { background-color: #C5A059; }

.servizi-card-large { display: flex; background-color: var(--primary-dark); border-radius: 25px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.servizi-card-img { flex: 1.1; min-height: 400px; }
.servizi-card-img img { width: 100%; height: 100%; object-fit: cover; }
.servizi-card-content { flex: 0.9; padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; }
.card-overline { font-size: 0.8rem; font-weight: 700; color: #D6E4EE; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 15px; }
.card-title { font-size: 2.2rem; color: var(--white); line-height: 1.25; margin-bottom: 20px; }
.card-desc { font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); line-height: 1.6; }

@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .servizi-card-large { flex-direction: column; }
    .servizi-card-img { min-height: 250px; }
    .servizi-card-content { padding: 40px 30px; }
}

.servizi-list-wrapper { margin-top: 60px; max-width: 1200px; padding: 0 30px; margin-left: auto; margin-right: auto; }
.category-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.category-line { display: block; width: 30px; height: 4px; background-color: var(--primary-dark); border-radius: 2px; }
.category-title { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); letter-spacing: 1.5px; text-transform: uppercase; }
.servizi-list-stack { display: flex; flex-direction: column; gap: 15px; }

.servizio-row-card {
    display: block;
    background-color: var(--white);
    border-radius: 16px;
    border-left: 6px solid var(--primary-dark);
    padding: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.card-header { display: flex; align-items: center; padding: 20px 30px; cursor: pointer; }
.row-number { width: 50px; height: 50px; background-color: #E3EFF7; color: var(--primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin-right: 25px; }
.row-content { flex: 1; }
.row-content h4 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 5px; font-weight: 700; }
.row-content p { font-size: 1rem; color: var(--text-gray); margin: 0; }
.row-action { width: 40px; height: 40px; border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-dark); transition: 0.3s; background-color: var(--white); z-index: 2; }
.icon-minus { display: none; }

.servizio-row-card:hover .row-action {
    background-color: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); transform: rotate(90deg);
}

.card-body {
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 30px 0 105px;
    margin-top: 0;
    border-top: 1px solid transparent;
    transition: max-height 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease, padding 0.8s ease, margin 0.8s ease;
}

.servizio-row-card.open .card-body {
    max-height: 450px;
    opacity: 1;
    padding: 25px 30px 30px 105px;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
}
.servizio-row-card.open .icon-plus { display: none; }
.servizio-row-card.open .icon-minus { display: block; }
.servizio-row-card.open .row-action { transform: rotate(0deg) !important; }

.body-intro { font-size: 1.05rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 20px; text-align: justify; }
.body-list { font-size: 1.05rem; color: var(--text-gray); line-height: 1.8; margin-bottom: 30px; padding-left: 20px; }
.btn-small { padding: 12px 24px; font-size: 0.9rem; display: inline-block; }

@media (max-width: 768px) {
    .card-header { padding: 20px 15px; }
    .row-number { width: 40px; height: 40px; font-size: 1rem; margin-right: 15px; }
    .card-body { padding: 0 15px 0 15px; }
    .servizio-row-card.open .card-body { padding: 20px 15px 25px 15px; }
}

.theme-rust .category-line { background-color: var(--accent-rust); }
.theme-rust .servizio-row-card { border-left-color: var(--accent-rust); }
.theme-rust .row-number { background-color: #E3EEF5; color: var(--accent-rust); }
.theme-rust .servizio-row-card:hover .row-action { background-color: var(--accent-rust); border-color: var(--accent-rust); }

.theme-slate .category-line { background-color: #5A7480; }
.theme-slate .servizio-row-card { border-left-color: #5A7480; }
.theme-slate .row-number { background-color: #E8ECEE; color: #5A7480; }
.theme-slate .servizio-row-card:hover .row-action { background-color: #5A7480; border-color: #5A7480; }

.theme-mustard .category-line { background-color: #C5A059; }
.theme-mustard .servizio-row-card { border-left-color: #C5A059; }
.theme-mustard .row-number { background-color: #F4EEE4; color: #C5A059; }
.theme-mustard .servizio-row-card:hover .row-action { background-color: #C5A059; border-color: #C5A059; }

.servizio-row-card::before {
    position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif; font-weight: 900; font-size: 90px;
    opacity: 0.05; z-index: 0; pointer-events: none; transition: all 0.4s ease;
}
.servizio-row-card:hover::before { transform: translateY(-50%) scale(1.1); opacity: 0.12; }
.servizi-list-wrapper:not(.theme-rust):not(.theme-slate):not(.theme-mustard) .servizio-row-card::before { content: "\f4d8"; color: var(--primary-dark); }
.theme-rust .servizio-row-card::before { content: "\f500"; color: var(--accent-rust); }
.theme-slate .servizio-row-card::before { content: "\f24e"; color: #5A7480; }
.theme-mustard .servizio-row-card::before { content: "\f5da"; color: #C5A059; }


.header-elegante { text-align: center; max-width: 700px; margin: 0 auto 80px auto; }
.title-chic { font-size: 2.4rem; color: var(--text-dark); margin-bottom: 15px; }
.desc-chic { font-size: 1rem; color: var(--text-dark); line-height: 1.8; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }

.chisono-section { padding: 100px 0; }
.chisono-bio-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 60px; align-items: center; }
.bio-img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.06); border: 1px solid var(--border-color); padding: 8px; background-color: var(--white); }
.chisono-bio-text .section-title { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-dark); }

.modern-footer { background-color: var(--primary-dark); color: rgba(255, 255, 255, 0.9); padding: 80px 0 30px 0; font-family: 'Quicksand', sans-serif; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; }
.footer-title { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--white); text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; margin-bottom: 30px; white-space: nowrap; }
.footer-title::before, .footer-title::after { content: ""; flex: 1; height: 1px; background-color: rgba(255, 255, 255, 0.3); }
.footer-title::before { margin-right: 15px; } .footer-title::after { margin-left: 15px; }
.footer-col p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.footer-links, .footer-contacts, .footer-legal { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contacts li, .footer-legal li { margin-bottom: 15px; font-size: 0.95rem; display: flex; align-items: center; gap: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--accent-color); }
.footer-bottom { max-width: 1200px; margin: 60px auto 0 auto; padding: 20px 30px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.2); text-align: center; font-size: 0.85rem; opacity: 0.7; }
.footer-socials { display: flex; gap: 15px; justify-content: center; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: rgba(255, 255, 255, 0.9); font-size: 1.2rem; transition: all 0.3s ease; }
.footer-socials a:hover { background-color: var(--accent-color); color: var(--primary-dark); transform: translateY(-3px); }

@media (max-width: 992px) {
    .chisono-bio-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .footer-container { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .footer-title, .footer-contacts li, .footer-legal li, .footer-links li { justify-content: center; }
    .footer-title::before, .footer-title::after { max-width: 60px; }
    .desc-chic { padding: 0 15px; }
}

/* =========================================
   8. SEZIONE PROFESSIONISTI (TEAM)
   ========================================= */
.professionisti-section {
    padding: 100px 0;
    background-color: var(--white); /* Sfondo bianco per staccare dal panna dei servizi */
}

.professionisti-grid {
    display: grid;
    /* Crea una griglia automatica: 3 colonne su pc, 2 su tablet, 1 su cellulare */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.prof-card {
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.prof-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.prof-img-box {
    width: 100%;
    height: 300px;
    background-color: #D6E4EE; /* Colore provvisorio se la foto non carica */
    position: relative;
    border-bottom: 3px solid var(--primary-dark);
}

.prof-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Centra la foto sul viso */
}

.prof-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prof-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.prof-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-rust);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.prof-areas {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex: 1;
}

.prof-areas li {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    line-height: 1.4;
}

.prof-areas li::before {
    content: "•";
    color: var(--accent-rust);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.prof-contact {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-size: 0.95rem;
}

.prof-contact a {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
    font-weight: 500;
}

.prof-contact a i {
    color: var(--primary-dark);
    width: 25px;
    text-align: center;
    margin-right: 5px;
}

.prof-contact a:hover {
    color: var(--accent-rust);
}

.professionisti-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

.professionisti-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

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

.prof-card {
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.prof-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.prof-img-box {
    width: 100%;
    height: 380px;
    background-color: #D6E4EE;
    position: relative;
    border-bottom: 3px solid var(--primary-dark);
}

.new-hero-section {
    position: relative;
    width: 100%;

    aspect-ratio: 2 / 1;
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;


    background-image: url('../images/foto-gruppo.jpeg');
    background-size: cover;
    background-position: center bottom;
}

.new-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(16, 37, 56, 0.95) 0%, rgba(16, 37, 56, 0.7) 40%, rgba(37, 78, 112, 0.2) 100%);
    z-index: 1;
}

.new-hero-container {
    position: relative;
    z-index: 2;
    display: block;
}

.hero-content-fullscreen {
    max-width: 650px;
    transform: translateY(210px);}

.hero-overline {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--bg-warm);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.btn-solid {
    background-color: var(--accent-rust);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-solid:hover { background-color: var(--white); color: var(--primary-dark); }

.btn-outline {
    background-color: transparent;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--white);
    transition: 0.3s;
}
.btn-outline:hover { background-color: var(--white); color: var(--primary-dark); }

.hero-stats {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
    max-width: 600px;
}
.stat-item { flex: 1; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, 0.2); margin-right: 20px; }
.stat-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-item strong { display: block; font-size: 1.2rem; color: var(--white); margin-bottom: 5px; }
.stat-item span { font-size: 0.95rem; color: var(--accent-color); }

@media (max-width: 992px) {
    .new-hero-section {
        padding: 120px 0 80px 0;
        background-position: center;
        background-attachment: scroll;
    }

    .new-hero-section::before {
        background: rgba(16, 37, 56, 0.85);
    }

    .hero-title { font-size: clamp(2.2rem, 6vw, 3rem); }
    .hero-stats { flex-direction: column; border: none; padding: 0; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); margin-right: 0; padding: 15px 0; }
    .stat-item:last-child { border-bottom: none; }
    .hero-buttons { flex-direction: column; }
    .btn-solid, .btn-outline { text-align: center; }
}

.new-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 37, 56, 0.7) 40%;
    z-index: 1;
}


.prisma-section {
    padding: 100px 0;
    background-color: #fdfbf7;
}

.container-prisma {
    max-width: 1200px;
    margin: 0 auto;
}

.prisma-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.prisma-locandina-col {
    width: 100%;
    text-align: center;
}

.prisma-img {
    max-width: 100%;
    height: auto;
    max-height: 800px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    object-fit: contain;
}

.prisma-testi-col {
    width: 100%;
}

.prisma-subtitle {
    color: var(--accent-rust);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
}

.prisma-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
}

.prisma-desc-main {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2d3748;
    margin-bottom: 12px;
}

.prisma-desc-sub {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2d3748;
    margin-bottom: 12px;
}

.prisma-italic-note {
    color: var(--accent-rust);
    font-weight: 600;
    font-size: 0.95rem;
    font-style: italic;
}

.prisma-liste-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
}

.prisma-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.prisma-box h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #2d3748;
    border-bottom: 2px solid var(--accent-rust);
    padding-bottom: 5px;
    display: inline-block;
}

.prisma-box ul {
    padding-left: 15px;
    line-height: 1.4;
    margin: 0;
    font-size: 0.9rem;
}

.prisma-box ul li {
    margin-bottom: 8px;
}

.prisma-box ul li:last-child {
    margin-bottom: 0;
}

.prisma-quote-box {
    background: #E9F3FD;
    border-left: 4px solid var(--accent-rust);
    padding: 20px 25px;
    border-radius: 8px;
}

.prisma-quote-overline {
    margin-bottom: 5px;
    color: #58748C;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    display: block;
}

.prisma-quote-text {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .testo-giustificato-mobile { text-align: justify !important; }
}

@media (min-width: 992px) {
    .prisma-layout {
        flex-direction: row;
        align-items: center;
    }
    .prisma-locandina-col {
        flex: 0 0 42%;
    }
    .prisma-testi-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .prisma-liste-grid {
        grid-template-columns: 1fr 1fr;
    }
}


.prisma-team-section {
    margin-top: 80px;
    border-top: 2px dashed #D6E4EE;
    padding-top: 60px;
}

.prisma-team-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.prisma-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.prisma-team-grid .prof-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.prisma-team-grid .prof-img-box {
    height: 250px;
}
.prisma-team-grid .prof-name {
    font-size: 1rem;
}
.prisma-team-grid .prof-role {
    font-size: 0.75rem;
    margin-bottom: 10px;
}
.prisma-team-grid .prof-areas li {
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.prisma-team-grid .prof-contact {
    font-size: 0.85rem;
}
.prisma-header-centered {
    text-align: center;
    margin-bottom: 25px;
}

@media (min-width: 992px) {
    .prisma-layout {
        flex-direction: row;
        align-items: center;
    }

    .prisma-locandina-col {
        flex: 0 0 42%;
    }
}

@media (min-width: 992px) {
    .prisma-layout {
        flex-direction: row;
        align-items: flex-start;
    }
    .prisma-locandina-col {
        flex: 0 0 42%;
    }
    /* ... */
}
@media (max-width: 991px) {

    .prisma-team-grid .prof-name {
        font-size: 1.5rem;
    }

}


.prisma-team-section {
    margin-top: 80px;
    border-top: 2px dashed #D6E4EE;
    padding-top: 60px;
}

.prisma-team-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.prisma-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.prisma-team-grid .prof-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.prisma-team-grid .prof-img-box {
    height: 250px;
}

.prisma-team-grid .prof-name {
    font-size: 1.4rem;
}
.prisma-team-grid .prof-role {
    font-size: 0.75rem;
    margin-bottom: 10px;
}
.prisma-team-grid .prof-areas li {
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.prisma-team-grid .prof-contact {
    font-size: 0.85rem;
}

.prisma-header-centered {
    text-align: center;
    margin-bottom: 25px;
}


.btn-scopri {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 10px 0;
    background-color: transparent;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-scopri:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}


@media (min-width: 992px) {
    .prisma-layout {
        flex-direction: row;
        align-items: flex-start;
    }
    .prisma-locandina-col {
        flex: 0 0 42%;
    }

    .prisma-team-grid .prof-name {
        font-size: 1.1rem;
    }
}

.logo-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.1rem; color: var(--text-dark); font-weight: 700; line-height: 1.2; }
.brand-subtitle { font-size: 0.8rem; color: var(--text-gray); }


.profile-section {
    padding: 80px 0;
    background-color: var(--white);
    min-height: 80vh;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: var(--accent-rust);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

.chisono-bio-grid.profile-grid {
    align-items: flex-start;
}

.profile-img-box {
    margin-bottom: 25px;
}

.profile-contacts-box {
    background: var(--bg-warm);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.profile-contacts-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.profile-contact-link {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 12px;
    font-weight: 500;
    word-break: break-all;
    transition: color 0.3s ease;
}

.profile-contact-link:hover {
    color: var(--accent-rust);
}

.profile-contact-icon {
    color: var(--primary-dark);
    width: 25px;
}

.profile-role {
    color: var(--accent-rust);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.profile-services-box {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.profile-services-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-rust);
    padding-bottom: 10px;
    display: inline-block;
}

.profile-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-services-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.profile-services-list li:last-child {
    margin-bottom: 0;
}

.profile-services-list li::before {
    content: "•";
    color: var(--accent-rust);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}


@media (max-width: 768px) {
    .profile-section {
        padding: 50px 0;
    }
    .profile-name {
        font-size: 2.2rem;
    }
    .profile-services-box {
        padding: 20px;
    }
    .btn-back {
        margin-bottom: 25px;
    }
}
.prisma-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.prisma-team-grid .prof-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 0 1 300px;
    max-width: 100%;
}


.vr-section {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.vr-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.vr-gallery-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.vr-gallery-item {
    text-align: center;
}

.vr-gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 10px;
}

.vr-gallery-caption {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.4;
}

.vr-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.vr-text-block p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.vr-feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.vr-feature-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.vr-feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    color: var(--accent-rust);
    position: absolute;
    left: 0;
    top: 2px;
}

.vr-side-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vr-side-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

@media (min-width: 992px) {
    .vr-content-grid {
        grid-template-columns: 6fr 4fr; /* Testo a sinistra, immagini a destra */
        align-items: flex-start;
    }
}
.prisma-section {
    background-color: #fdfbf7;
}


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

.contatti-wrapper {
    max-width: 850px;
    margin: 0 auto;
    background: var(--bg-warm);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

/* Banner Sconto */
.sconto-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.5;
    box-shadow: 0 5px 15px rgba(37, 78, 112, 0.2);
}

.sconto-banner i {
    font-size: 2.2rem;
    color: #C5A059;
}

/* Layout del Form */
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(37, 78, 112, 0.1);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23254E70%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .contact-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .contatti-wrapper {
        padding: 25px;
    }
    .sconto-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.modern-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 30px 0;
    font-family: 'Quicksand', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    white-space: nowrap;
}

.footer-title::before, .footer-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-title::before { margin-right: 15px; }
.footer-title::after { margin-left: 15px; }

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links, .footer-contacts, .footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contacts li, .footer-legal li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links i {
    font-size: 0.8em;
    margin-right: 8px;
    color: var(--accent-rust);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-socials.left-aligned {
    justify-content: flex-start;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding: 20px 30px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom-links {
    margin-top: 5px;
}

.footer-bottom-links a {
    color: inherit;
    text-decoration: underline;
    margin: 0 5px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .footer-title, .footer-contacts li, .footer-legal li, .footer-links li {
        justify-content: center;
    }
    .footer-socials.left-aligned {
        justify-content: center;
    }
    .footer-title::before, .footer-title::after {
        max-width: 60px;
    }
}

.hidden-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.sconto-highlight {
    color: #C5A059;
}

.form-alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

@media (max-width: 992px) {
    .new-hero-section {
        min-height: auto;
        aspect-ratio: auto;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        background-color: var(--primary-dark);
        padding: 0;
        display: block;
    }

    .new-hero-section::before {
        background: linear-gradient(to bottom, rgba(16, 37, 56, 0.1) 0%, rgba(16, 37, 56, 0.95) 45vw, var(--primary-dark) 55vw);
    }

    .new-hero-container {
        padding-top: 55vw;
        padding-bottom: 60px;
    }

    .hero-content-fullscreen {
        transform: translateY(0);
        text-align: center;
    }

    .hero-title { font-size: clamp(2.2rem, 6vw, 3rem); }
    .hero-buttons { flex-direction: column; }
    .btn-solid, .btn-outline { text-align: center; }
}


.servizi-list-view {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.servizio-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

.servizio-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.servizio-row:hover {
    transform: translateX(10px);
}

.servizio-title-col {
    border-right: 3px solid var(--row-color);
    padding-right: 40px;
    text-align: right;
}

.servizio-icon {
    font-size: 2.2rem;
    color: var(--row-color);
    margin-bottom: 15px;
    opacity: 0.9;
}

.servizio-nome {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-dark);
    line-height: 1.2;
    margin: 0;
}

.servizio-desc-col p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

@media (max-width: 768px) {
    .servizio-row {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 45px;
    }

    .servizio-title-col {
        border-right: none;
        border-bottom: 3px solid var(--row-color);
        padding-right: 0;
        padding-bottom: 25px;
        text-align: left;
    }

    .servizio-icon {
        display: block;
        margin-bottom: 15px;
    }
}


.professionisti-slider-wrapper {
    position: relative;
}

.slider-arrow {
    display: none;
}

@media (max-width: 992px) {
    .professionisti-slider-wrapper {
        display: flex;
        align-items: center;
        padding: 0 10px;
    }

    .professionisti-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .professionisti-grid::-webkit-scrollbar {
        display: none;
    }

    .prof-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .slider-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        z-index: 10;
        background: var(--white);
        color: var(--primary-dark);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        width: 45px;
        height: 45px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        transition: 0.3s;
    }

    .slider-arrow:active {
        background: var(--primary-dark);
        color: var(--white);
    }

    .prev-arrow { left: -10px; }
    .next-arrow { right: -10px; }
}

@media (max-width: 992px) {
    .professionisti-slider-wrapper {
        display: flex;
        align-items: center;
        position: relative;
        margin: 0 -15px;
    }

    .professionisti-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 10px 15px 30px 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .professionisti-grid::-webkit-scrollbar {
        display: none;
    }

    .prof-card {
        flex: 0 0 calc(100% - 35px);
        scroll-snap-align: center;
        max-width: none;
    }

    .slider-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        z-index: 10;
        background: var(--white);
        color: var(--primary-dark);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        width: 45px;
        height: 45px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

    .prev-arrow { left: 0px; }
    .next-arrow { right: 0px; }
}


@media (max-width: 992px) {
    .professionisti-slider-wrapper {
        display: flex;
        align-items: center;
        position: relative;
    }

    .professionisti-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 30px;
        padding-bottom: 30px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .professionisti-grid::-webkit-scrollbar {
        display: none;
    }

    .prof-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
        max-width: none;
    }

    /* Stile Frecce Mobile */
    .slider-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        z-index: 10;
        background: var(--white);
        color: var(--primary-dark);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        width: 45px;
        height: 45px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

    .prev-arrow { left: -5px; }
    .next-arrow { right: -5px; }
}

@media (max-width: 768px) {
    .section-title,
    .prisma-title,
    .prisma-team-title {
        font-size: 1.7rem !important;
        margin-bottom: 15px;
    }

    .servizio-nome {
        font-size: 1.5rem !important;
    }

    .section-overline {
        font-size: 0.75rem !important;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-title{
        font-size: 1.8rem;
    }
    .hero-overline{
        font-size: 0.7rem;
    }
}

.menu-chic-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    cursor: pointer;
    width: 35px;
    height: 30px;
    z-index: 3000;
}

.menu-chic-toggle .line {
    display: block;
    height: 3.5px;
    background-color: var(--primary-dark);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-chic-toggle .line.top {
    width: 32px;
}

.menu-chic-toggle .line.bottom {
    width: 21px;
}

.menu-chic-toggle.active .line.top {
    transform: translateY(5.2px) rotate(45deg);
    width: 30px;
}

.menu-chic-toggle.active .line.bottom {
    transform: translateY(-5.2px) rotate(-45deg);
    width: 30px;
}

@media (max-width: 992px) {
    .menu-chic-toggle {
        display: flex;
    }

    .nav-elements {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ebf2f4;
        box-shadow: 0 15px 25px rgba(0,0,0,0.06);
        padding: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.35s ease;
    }

    .nav-elements.active {
        max-height: 400px;
        opacity: 1;
        padding: 25px 0 35px 0;
        border-top: 1px solid var(--border-color);
    }

    .navbar-list {
        position: static !important;
        display: flex !important;
        opacity: 1 !important;
        transform: none !important;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding: 0;
        background: transparent;
    }
}


.profile-section {
    padding: 80px 0;
    background-color: var(--white);
    min-height: 80vh;
}

.desc-chic {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    text-align: justify;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}

.desc-chic p {
    margin-bottom: 18px;
}

.desc-chic p:last-child {
    margin-bottom: 0;
}

.profile-services-intro {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .profile-section {
        padding: 40px 0 70px 0;
    }

    .chisono-bio-grid.profile-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: left;
    }

    .profile-img-box {
        max-width: 280px;
        margin: 0 auto 20px auto;
    }

    .profile-contacts-box {
        max-width: 360px;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
    }

    .profile-contact-link {
        justify-content: center;
        font-size: 0.95rem;
    }

    .profile-role,
    .profile-name {
        text-align: center;
    }

    .profile-name {
        font-size: 2rem !important;
        margin-bottom: 25px;
    }

    .desc-chic {
        padding: 0;
        font-size: 1rem;
        line-height: 1.7;
    }

    .profile-services-box {
        margin-top: 30px;
        padding: 25px 20px;
        text-align: left;
    }

    .profile-services-title {
        font-size: 1.3rem;
    }

    .profile-services-list li {
        font-size: 0.98rem;
        text-align: left;
    }
}

.navbar-list a:hover {
    color: var(--accent-rust);
    border-bottom: 2px solid var(--accent-rust);
}


@media (max-width: 768px) {
    .prisma-team-grid {
        flex-direction: column;
        align-items: center;
    }

    .prisma-team-grid .prof-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

.privacy-section {
    padding: 80px 0 100px 0;
    background-color: var(--bg-warm);
}
.privacy-wrapper {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}
.privacy-wrapper h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 35px 0 15px 0;
    border-bottom: 2px solid var(--accent-rust);
    padding-bottom: 10px;
    display: inline-block;
}
.privacy-wrapper p, .privacy-wrapper li {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}
.privacy-wrapper ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.privacy-wrapper li {
    margin-bottom: 8px;
}
.privacy-wrapper strong {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .privacy-wrapper {
        padding: 30px 25px;
    }
    .privacy-wrapper p, .privacy-wrapper li {
        text-align: left;
    }
}

@media (max-width: 768px) {
   .professionisti-grid .prof-name,
    .prisma-team-grid .prof-name {
        font-size: 1.25rem !important;
        line-height: 1.2;
    }
    .prisma-quote-text {
        font-size: 1.15rem !important;
        line-height: 1.4;
    }
}