/* Hero Terapia Manuale */
.terapia-hero {
    background: linear-gradient(135deg, #033D37 0%, #80BABA 100%);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 60px 0 60px;
    margin: 0;
    position: relative;
}

.terapia-hero-wave {
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.terapia-hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Desktop: mostra onda-desktop, nascondi onda-mobile */
.terapia-hero-wave .onda-mobile {
    display: none;
}

.terapia-hero-wave .onda-desktop {
    display: block;
}

.terapia-hero-content h1 {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.terapia-hero-content h1 .letter-hover:hover {
    color: #D9EBEB;
}

.terapia-hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Container generale */
.terapia-container {
    max-width: 1200px;
    margin: 0 auto;

}

/* Sezione Info */
.terapia-info-section {
    background-color: #fff;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terapia-info-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(217, 235, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    z-index: 0;
    pointer-events: none;
}

.terapia-info-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(128, 186, 186, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 25%;
    left: 8%;
    z-index: 0;
    pointer-events: none;
}

.terapia-info-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #033D37;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.terapia-info-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #80BABA;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.terapia-info-section .info-subtitle {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #033D37;
    margin: 50px 0 20px;
    position: relative;
    z-index: 1;
}

.terapia-info-section .info-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 20px auto 30px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.terapia-info-section .info-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #80BABA;
    padding: 10px 0 10px 35px;
    position: relative;
}

.terapia-info-section .info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: #033D37;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Effetto hover lettere */
.hover-letters {
    transition: color 0.3s ease;
    text-align: center !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.letter-hover {
    transition: color 0.3s ease;
    cursor: pointer;
    display: inline;
    white-space: normal;
}

.letter-hover:hover {
    color: #033D37;
}

/* Sezione Benefici */
.benefici-section {
    background-color: #D9EBEB;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.benefici-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    top: 25%;
    left: 8%;
    z-index: 0;
    pointer-events: none;
}

.benefici-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(128, 186, 186, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    right: 8%;
    z-index: 0;
    pointer-events: none;
}

.benefici-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #033D37;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.benefici-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.beneficio-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.beneficio-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.beneficio-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #033D37;
    margin-bottom: 15px;
}

.beneficio-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #80BABA;
    margin: 0;
}

/* Sezione Indicazioni */
.indicazioni-section {
    background-color: #fff;
    padding: 80px 60px;
}

.indicazioni-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.indicazioni-left {
    flex: 1;
}

.indicazioni-left h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #033D37;
    margin-bottom: 30px;
}

.indicazioni-left .indicazioni-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #80BABA;
    margin-bottom: 25px;
}

.indicazioni-left .indicazioni-footer {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #80BABA;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #D9EBEB;
}

.indicazioni-left .indicazioni-footer strong {
    color: #033D37;
}

.indicazioni-list {
    list-style: none;
    padding: 0;
}

.indicazioni-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #80BABA;
    padding: 15px 0 15px 30px;
    border-bottom: 1px solid #D9EBEB;
    position: relative;
}

.indicazioni-list li strong {
    color: #033D37;
}

.indicazioni-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 15px;
    color: #033D37;
    font-weight: bold;
    font-size: 1.3rem;
}

.indicazioni-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.indicazioni-right img {
    width: 80%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 992px) {

    /* Hero */
    .terapia-hero {
        padding: 60px 20px 0 20px;
        min-height: 50vh;
    }

    .terapia-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .terapia-hero-content p {
        font-size: 1rem;
    }

    .terapia-hero-wave {
        height: 50px;
    }

    /* Mobile: mostra onda-mobile, nascondi onda-desktop */
    .terapia-hero-wave .onda-mobile {
        display: block;
    }

    .terapia-hero-wave .onda-desktop {
        display: none;
    }

    /* Container */
    .terapia-container {
        padding: 0;
    }

    /* Info Section */
    .terapia-info-section {
        padding: 60px 20px;
    }

    .terapia-info-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .terapia-info-section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .terapia-info-section::before {
        width: 200px;
        height: 200px;
        top: 10%;
        right: -50px;
    }

    .terapia-info-section::after {
        width: 150px;
        height: 150px;
        bottom: 15%;
        left: -50px;
    }

    /* Benefici Section */
    .benefici-section {
        padding: 60px 20px;
    }

    .benefici-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .benefici-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .beneficio-card {
        padding: 30px 20px;
    }

    .beneficio-card h3 {
        font-size: 1.3rem;
    }

    .beneficio-card p {
        font-size: 0.95rem;
    }

    .benefici-section::before {
        width: 200px;
        height: 200px;
        top: 15%;
        left: -50px;
    }

    .benefici-section::after {
        width: 180px;
        height: 180px;
        bottom: 10%;
        right: -50px;
    }

    /* Indicazioni Section */
    .indicazioni-section {
        padding: 60px 20px;
    }

    .indicazioni-content {
        flex-direction: column;
        gap: 30px;
    }

    .indicazioni-left h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .indicazioni-list li {
        font-size: 1rem;
        padding: 12px 0 12px 25px;
    }

    .indicazioni-list li:before {
        font-size: 1.1rem;
    }

    .indicazioni-right {
        justify-content: center;
    }

    .indicazioni-right img {
        width: 100%;
        border-radius: 32px;
    }
}

/* Sezione Riabilitazione e Terapia Manuale Specializzata */
.riabilitazione-terapia-manuale-section,
.postura-prevenzione-section,
.nostre-terapie-section {
    background-color: #fff;
    padding: 80px 60px;
    position: relative;
}

.riabilitazione-terapia-manuale-container,
.postura-prevenzione-container,
.terapie-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.terapie-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #033D37;
    margin-bottom: 60px;
    text-align: center;
}

.terapie-section-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #80BABA;
    max-width: 900px;
    margin: -30px auto 50px;
    text-align: center;
}

.terapie-header {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.terapie-left {
    flex: 0 0 500px;
}

.terapia-selezionata {
    background: #fff;

    border-radius: 32px;
}

.terapia-selezionata h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #033D37;
    margin-bottom: 20px;
}

.terapia-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #033D37 0%, #80BABA 100%);
    border-radius: 2px;
    margin-bottom: 20px;
}

.terapia-selezionata p,
.terapia-selezionata .terapia-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #80BABA;
    margin: 0;
}

.terapia-selezionata .terapia-desc p {
    margin: 0;
}

.terapia-desc-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.terapia-desc-list li {
    position: relative;
    padding: 8px 0 8px 26px;
    color: #80BABA;
}

.terapia-desc-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #033D37;
    font-weight: 700;
}

.terapia-desc-list strong {
    color: #033D37;
}

.terapie-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.terapie-track {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 20px;
    scrollbar-width: none;
    touch-action: pan-y;
}

.terapie-track::-webkit-scrollbar {
    display: none;
}

.terapia-card,
.equilibrio-donna-card,
.postura-prevenzione-card {
    height: 350px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, #D9EBEB 0%, #80BABA 100%);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(3, 61, 55, 0.12) !important;
    opacity: 0.6;
}

.terapie-track > .terapia-card,
.terapie-track > .equilibrio-donna-card,
.terapie-track > .postura-prevenzione-card {
    flex: 0 0 260px !important;
    width: 260px;
    max-width: 260px;
}

.terapia-card.active,
.equilibrio-donna-card.active,
.postura-prevenzione-card.active {
    transform: scale(1.05);
    opacity: 1;
}

.terapia-card img,
.equilibrio-donna-card img,
.postura-prevenzione-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.terapia-card:hover img,
.equilibrio-donna-card:hover img,
.postura-prevenzione-card:hover img {
    transform: scale(1.1);
}

.terapia-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(3, 61, 55, 0.9) 0%, transparent 100%);
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.terapia-card.active .terapia-overlay,
.equilibrio-donna-card.active .terapia-overlay,
.postura-prevenzione-card.active .terapia-overlay {
    transform: translateY(0);
}

.terapia-overlay span {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.terapie-nav {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-right: 40px;
}

.terapie-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #033D37;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    line-height: 1;
}

.terapie-nav-btn:hover {
    background: #80BABA;
    transform: scale(1.1);
}

.equilibrio-donna-header {
    align-items: flex-start;
}

.equilibrio-donna-carousel {
    order: 1;
}

.equilibrio-donna-right {
    order: 2;
}

.equilibrio-donna-track {
    padding-left: 0;
}

.equilibrio-donna-nav {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 992px) {

    /* Nostre Terapie Section */
    .riabilitazione-terapia-manuale-section,
    .postura-prevenzione-section,
    .nostre-terapie-section {
        padding: 42px 20px;
    }

    .terapie-section-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .terapie-section-intro {
        font-size: 0.95rem;
        line-height: 1.55;
        margin: -6px auto 24px;
        text-align: left;
    }

    .terapie-header {
        flex-direction: column;
        gap: 18px;
    }

    .terapie-left {
        flex: none;
        width: 100%;
        order: 2;
    }

    .terapia-selezionata {
        padding: 0;
        text-align: left;
    }

    .terapia-selezionata h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .terapia-divider {
        width: 84px;
        height: 2px;
        margin-bottom: 10px;
    }

    .terapia-selezionata p,
    .terapia-selezionata .terapia-desc {
        font-size: 0.86rem;
        line-height: 1.42;
        max-height: 22vh;
        overflow-y: auto;
        padding-right: 6px;
    }

    .terapia-desc-list {
        margin-top: 10px;
    }

    .terapia-desc-list li {
        padding: 6px 0 6px 24px;
    }

    .terapia-desc-list li::before {
        top: 6px;
    }

    .terapie-carousel {
        padding: 0;
        overflow: visible;
        order: 1;
    }

    .riabilitazione-terapia-manuale-section .terapie-carousel,
    .equilibrio-donna-section .terapie-carousel,
    .postura-prevenzione-section .terapie-carousel {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .terapie-track {
        justify-content: flex-start;
        padding: 12px 0;
        scroll-snap-type: x mandatory;
    }

    .terapia-card,
    .equilibrio-donna-card,
    .postura-prevenzione-card {
        height: min(245px, 34vh);
        scroll-snap-align: center;
    }

    .terapie-track > .terapia-card,
    .terapie-track > .equilibrio-donna-card,
    .terapie-track > .postura-prevenzione-card {
        flex: 0 0 min(82vw, 300px) !important;
        width: min(82vw, 300px);
        max-width: min(82vw, 300px);
    }

    .terapia-overlay {
        transform: translateY(0);
    }

    .terapia-overlay span {
        font-size: 1.1rem;
    }

    .terapie-nav {
        justify-content: center;
        margin-top: 18px;
        padding-right: 0;
    }

    .terapie-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        background: #D9EBEB;
        color: #033D37;
        touch-action: manipulation;
    }

    .terapie-nav-btn:hover {
        background: #80BABA;
    }

    .terapie-nav-btn:active {
        transform: scale(0.95);
    }

    .terapia-card:active,
    .equilibrio-donna-card:active,
    .postura-prevenzione-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .equilibrio-donna-carousel,
    .equilibrio-donna-right {
        order: initial;
    }

    .equilibrio-donna-carousel {
        order: 1;
    }

    .equilibrio-donna-right {
        order: 2;
    }

    .equilibrio-donna-card .terapia-overlay,
    .postura-prevenzione-card .terapia-overlay {
        transform: translateY(0);
    }

    .equilibrio-donna-nav {
        justify-content: center;
    }
}

/* Sezione I Nostri Trattamenti */
.nostri-trattamenti-section {
    background-color: #D9EBEB;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.nostri-trattamenti-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    z-index: 0;
    pointer-events: none;
}

.nostri-trattamenti-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(128, 186, 186, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
    z-index: 0;
    pointer-events: none;
}

.nostri-trattamenti-section > .terapia-container {
    position: relative;
    z-index: 1;
}

.nostri-trattamenti-section > .terapia-container > h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #033D37;
    text-align: center;
    margin-bottom: 60px;
}

.trattamento-categoria {
    background: #fff;
    border-radius: 32px;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.trattamento-categoria:last-child {
    margin-bottom: 0;
}

.trattamento-categoria > h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #033D37;
    margin: 0 0 15px 0;
}

.categoria-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    color: #80BABA;
    margin: 0 0 30px 0;
    padding-bottom: 25px;
    border-bottom: 2px solid #D9EBEB;
}

.trattamenti-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.trattamento-item {
    padding: 25px;
    background: rgba(217, 235, 235, 0.35);
    border-left: 4px solid #80BABA;
    border-radius: 0 16px 16px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trattamento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trattamento-item h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #033D37;
    margin: 0 0 12px 0;
}

.trattamento-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #80BABA;
    margin: 0;
}

.trattamento-item ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
    list-style: disc;
}

.trattamento-item ul li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #80BABA;
    margin-bottom: 6px;
}

.trattamento-item ul li strong {
    color: #033D37;
}

@media (max-width: 992px) {
    /* Info Section - lista responsive */
    .terapia-info-section .info-subtitle {
        font-size: 1.3rem;
        margin: 35px 0 15px;
    }

    .terapia-info-section .info-list {
        padding: 0 10px;
    }

    .terapia-info-section .info-list li {
        font-size: 0.95rem;
        padding: 8px 0 8px 30px;
    }

    /* Indicazioni - testo responsive */
    .indicazioni-left .indicazioni-intro,
    .indicazioni-left .indicazioni-footer {
        font-size: 0.95rem;
    }

    /* Sezione I Nostri Trattamenti */
    .nostri-trattamenti-section {
        padding: 60px 20px;
    }

    .nostri-trattamenti-section > .terapia-container > h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .trattamento-categoria {
        padding: 30px 22px;
        margin-bottom: 25px;
        border-radius: 24px;
    }

    .trattamento-categoria > h3 {
        font-size: 1.4rem;
    }

    .categoria-subtitle {
        font-size: 0.95rem;
        padding-bottom: 20px;
        margin-bottom: 25px;
    }

    .trattamenti-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trattamento-item {
        padding: 20px;
    }

    .trattamento-item h4 {
        font-size: 1.1rem;
    }
}

