/* ==================================================
   PAGINE TRATTAMENTI
   Shamá Studio Massaggi
================================================== */


/* ==================================================
   VARIABILI
================================================== */

:root {
    --treatment-green: #4f654b;
    --treatment-green-dark: #263f31;
    --treatment-green-soft: #aeb99a;
    --treatment-beige: #f0ece3;
    --treatment-cream: #f8f5ef;
    --treatment-white: #fffdf9;
    --treatment-text: #2f342f;
    --treatment-muted: #646861;
    --treatment-border: rgba(46, 63, 49, 0.14);
    --treatment-shadow: 0 20px 50px rgba(48, 45, 36, 0.10);
}


/* ==================================================
   BASE PAGINA
================================================== */

.treatment-page {
    overflow: hidden;
    background: var(--treatment-white);
    color: var(--treatment-text);
}

.treatment-page *,
.treatment-page *::before,
.treatment-page *::after {
    box-sizing: border-box;
}

.treatment-page img {
    display: block;
    width: 100%;
}

.treatment-page h1,
.treatment-page h2,
.treatment-page h3,
.treatment-page p {
    margin-top: 0;
}

.treatment-eyebrow {
    margin-bottom: 16px;
    color: var(--treatment-green);
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.treatment-section-heading {
    text-align: center;
}

.treatment-section-heading h2 {
    margin-bottom: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    font-weight: 500;
    color: var(--treatment-green-dark);
}


/* ==================================================
   PULSANTE
================================================== */

.treatment-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 23px;
    border: 0;
    border-radius: 6px;
    background: #3d7139;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(45, 87, 42, 0.18);
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.treatment-primary-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.treatment-primary-button:hover {
    transform: translateY(-2px);
    background: #315f2e;
    box-shadow: 0 12px 28px rgba(45, 87, 42, 0.24);
}


/* ==================================================
   HERO
================================================== */

.treatment-hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1fr 1fr;

    padding: 40px 0 60px;

    background: var(--treatment-cream);
    border-bottom: 1px solid var(--treatment-border);
}

.treatment-hero__image {
    position: relative;
    overflow: hidden;
    background: #cfc6b7;
}

.treatment-hero__image img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: 60% center;
    border-radius: 24px;
    box-shadow: none;
}

.treatment-hero__content {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 70px 9%;
    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(255, 255, 255, 0.85),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #f6f2eb,
            #fbf8f2
        );
}

.treatment-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.treatment-hero__content h1 {
    margin-bottom: 28px;
    font-family: "Playfair Display", serif;
    font-size: clamp(3.7rem, 6vw, 6.2rem);
    line-height: 0.96;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--treatment-green-dark);
}

.treatment-hero__description {
    max-width: 430px;
    margin-bottom: 28px;
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--treatment-text);
}

.treatment-hero__decoration {
    position: absolute;
    top: 40px;
    right: -32px;
    width: 250px;
    height: 520px;
    color: rgba(87, 105, 78, 0.16);
    pointer-events: none;
}

.treatment-hero__decoration svg {
    width: 100%;
    height: 100%;
}


/* ==================================================
   INTRO
================================================== */

.treatment-intro {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    min-height: 470px;
    background: var(--treatment-white);
    border-bottom: 1px solid var(--treatment-border);
}

.treatment-intro__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 9%;
}

.treatment-intro__content h2 {
    max-width: 560px;
    margin-bottom: 22px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.08;
    font-weight: 500;
    color: var(--treatment-green-dark);
}

.treatment-intro__content p:not(.treatment-eyebrow) {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--treatment-text);
}

.treatment-intro__content p:last-child {
    margin-bottom: 0;
}

.treatment-intro__image {
    min-height: 470px;
    overflow: hidden;
    margin: 22px 22px 22px 0;
    border-radius: 16px;
    background: #cfc6b7;
}

.treatment-intro__image img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
}


/* ==================================================
   BENEFICI
================================================== */

.treatment-benefits {
    padding: 55px 5% 48px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.95),
            transparent 45%
        ),
        var(--treatment-beige);
    border-bottom: 1px solid var(--treatment-border);
}

.treatment-benefits .treatment-section-heading {
    margin-bottom: 30px;
}

.treatment-benefits__grid {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.treatment-benefit {
    position: relative;
    padding: 0 34px;
    text-align: center;
}

.treatment-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 0;
    width: 1px;
    height: calc(100% - 30px);
    background: var(--treatment-border);
}

.treatment-benefit__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    color: var(--treatment-green-dark);
}

.treatment-benefit__icon svg {
    width: 45px;
    height: 45px;
}

.treatment-benefit h3 {
    max-width: 210px;
    margin: 0 auto 10px;
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    line-height: 1.12;
    font-weight: 500;
    color: var(--treatment-green-dark);
}

.treatment-benefit p {
    max-width: 230px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--treatment-muted);
}


/* ==================================================
   IDEALE / IMMAGINE / CONTROINDICAZIONI
================================================== */

.treatment-suitability {
    display: grid;
    grid-template-columns: 1fr 0.9fr 1fr;
    gap: 34px;
    align-items: stretch;
    padding: 38px 5%;
    background: var(--treatment-white);
    border-bottom: 1px solid var(--treatment-border);
}

.treatment-suitability__column {
    padding: 12px 2%;
}

.treatment-suitability__column h2 {
    margin-bottom: 22px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 2.7vw, 2.75rem);
    line-height: 1.1;
    font-weight: 500;
    color: var(--treatment-green-dark);
}

.treatment-suitability__image {
    min-height: 390px;
    overflow: hidden;
    border-radius: 10px;
    background: #cfc6b7;
}

.treatment-suitability__image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.treatment-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 15px;
}

.treatment-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--treatment-text);
}

.treatment-list li svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    fill: none;
    stroke: var(--treatment-green);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.treatment-list--negative li svg {
    stroke: #777d74;
}


/* ==================================================
   COME SI SVOLGE — TIMELINE
================================================== */

.treatment-process {
    position: relative;
    padding: 64px 5% 68px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.8),
            transparent 42%
        ),
        var(--treatment-cream);
    border-bottom: 1px solid var(--treatment-border);
}

.treatment-process .treatment-section-heading {
    margin-bottom: 48px;
}

.treatment-process__grid {
    position: relative;
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        70px
        minmax(0, 1fr)
        70px
        minmax(0, 1fr)
        70px
        minmax(0, 1fr);
    align-items: start;
}

/* Linea continua dietro le icone */

.treatment-process__grid::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79, 101, 75, 0.28) 8%,
        rgba(79, 101, 75, 0.28) 92%,
        transparent
    );
}

.treatment-process__item {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Cerchio che contiene ogni SVG */

.treatment-process__icon {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(79, 101, 75, 0.2);
    border-radius: 50%;
    background: rgba(248, 245, 239, 0.98);
    color: var(--treatment-green-dark);
    box-shadow:
        0 10px 30px rgba(42, 55, 43, 0.06),
        inset 0 0 0 8px rgba(255, 255, 255, 0.42);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}

.treatment-process__icon svg {
    width: 48px;
    height: 48px;
}

.treatment-process__item:hover .treatment-process__icon {
    transform: translateY(-5px);
    border-color: rgba(79, 101, 75, 0.45);
    background: #ffffff;
    box-shadow:
        0 18px 38px rgba(42, 55, 43, 0.11),
        inset 0 0 0 8px rgba(174, 185, 154, 0.13);
}

.treatment-process__item h3 {
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    line-height: 1.18;
    font-weight: 500;
    color: var(--treatment-green-dark);
}

.treatment-process__item p {
    max-width: 235px;
    margin: 0 auto;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--treatment-muted);
}

/* Le vecchie frecce restano nell’HTML ma vengono nascoste */

.treatment-process__arrow {
    position: relative;
    z-index: 2;
    min-height: 90px;
}

.treatment-process__arrow span,
.treatment-process__arrow svg {
    display: none;
}


/* Tablet */

@media (max-width: 1000px) {

    .treatment-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 52px 38px;
    }

    .treatment-process__grid::before {
        display: none;
    }

    .treatment-process__arrow {
        display: none;
    }

    .treatment-process__item {
        padding: 0 25px;
    }
}


/* Smartphone */

@media (max-width: 650px) {

    .treatment-process {
        padding: 52px 24px 58px;
    }

    .treatment-process .treatment-section-heading {
        margin-bottom: 36px;
    }

    .treatment-process__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .treatment-process__item {
        position: relative;
        padding: 0 0 48px;
    }

    .treatment-process__item:last-child {
        padding-bottom: 0;
    }

    /* Linea verticale su mobile */

    .treatment-process__item:not(:last-of-type)::after {
        content: "";
        position: absolute;
        top: 94px;
        left: 50%;
        width: 1px;
        height: 35px;
        background: rgba(79, 101, 75, 0.24);
        transform: translateX(-50%);
    }

    .treatment-process__icon {
        width: 82px;
        height: 82px;
        margin-bottom: 18px;
    }

    .treatment-process__icon svg {
        width: 43px;
        height: 43px;
    }

    .treatment-process__item p {
        max-width: 310px;
    }
}


/* ==================================================
   PREZZI
================================================== */

.treatment-pricing {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 235px;
    background: var(--treatment-white);
    border-bottom: 1px solid var(--treatment-border);
}

.treatment-pricing__content {
    padding: 32px 5% 35px;
}

.treatment-pricing__content > .treatment-eyebrow {
    text-align: center;
}

.treatment-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 19px;
}

.treatment-price-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 20px 26px;
    border: 1px solid rgba(63, 76, 59, 0.08);
    border-radius: 10px;
    background: #f3f0ea;
}

.treatment-price-card__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: var(--treatment-green-dark);
}

.treatment-price-card__icon svg {
    width: 100%;
    height: 100%;
}

.treatment-price-card__duration {
    display: block;
    margin-bottom: 4px;
    font-size: 0.98rem;
    color: var(--treatment-muted);
}

.treatment-price-card__price {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.85rem;
    font-weight: 500;
    color: var(--treatment-green-dark);
}

.treatment-pricing__image {
    min-height: 235px;
    margin: 0;
    overflow: hidden;
    background: #cfc6b7;
}

.treatment-pricing__image img {
    width: 100%;
    height: 100%;
    min-height: 235px;
    object-fit: cover;
}


/* ==================================================
   FAQ — ACCORDION PREMIUM
================================================== */

.treatment-faq {
    padding: 64px 5% 60px;
    background: var(--treatment-white);
    border-bottom: 1px solid var(--treatment-border);
}

.treatment-faq .treatment-section-heading {
    margin-bottom: 34px;
}

.treatment-faq__grid {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

.treatment-faq__column {
    display: grid;
    gap: 12px;
}

.treatment-faq__item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(79, 101, 75, 0.13);
    border-radius: 8px;
    background: #fbfaf7;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.treatment-faq__item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--treatment-green);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.treatment-faq__item:hover {
    border-color: rgba(79, 101, 75, 0.25);
    background: #ffffff;
}

.treatment-faq__item[open] {
    border-color: rgba(79, 101, 75, 0.28);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(43, 55, 43, 0.07);
}

.treatment-faq__item[open]::before {
    transform: scaleY(1);
}

.treatment-faq__item summary {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px 18px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-family: "Playfair Display", serif;
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 500;
    color: var(--treatment-green-dark);
}

.treatment-faq__item summary::-webkit-details-marker {
    display: none;
}

.treatment-faq__item summary::marker {
    display: none;
}

.treatment-faq__item summary:focus-visible {
    outline: 2px solid rgba(79, 101, 75, 0.55);
    outline-offset: -4px;
    border-radius: 8px;
}

/* Cerchio del simbolo + */

.treatment-faq__item summary svg {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 7px;
    overflow: visible;
    border: 1px solid rgba(79, 101, 75, 0.22);
    border-radius: 50%;
    fill: none;
    stroke: var(--treatment-green-dark);
    stroke-width: 1.6;
    stroke-linecap: round;
    transition:
        transform 0.35s ease,
        color 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease;
}

.treatment-faq__item[open] summary svg {
    transform: rotate(45deg);
    border-color: var(--treatment-green);
    background: var(--treatment-green);
    stroke: #ffffff;
}

.treatment-faq__answer {
    padding: 0 64px 22px 24px;
}

.treatment-faq__answer p {
    margin-bottom: 12px;
    font-size: 0.93rem;
    line-height: 1.72;
    color: var(--treatment-muted);
}

.treatment-faq__answer p:last-child {
    margin-bottom: 0;
}


/* Tablet */

@media (max-width: 900px) {

    .treatment-faq__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .treatment-faq__column {
        gap: 12px;
    }
}


/* Smartphone */

@media (max-width: 650px) {

    .treatment-faq {
        padding: 50px 20px 46px;
    }

    .treatment-faq .treatment-section-heading {
        margin-bottom: 28px;
    }

    .treatment-faq__item summary {
        min-height: 66px;
        padding: 17px 15px 17px 18px;
        font-size: 1rem;
    }

    .treatment-faq__item summary svg {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .treatment-faq__answer {
        padding: 0 22px 20px 18px;
    }
}

/* ==================================================
   CTA
================================================== */

.treatment-cta {
    position: relative;
    min-height: 255px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--treatment-green-dark);
}

.treatment-cta__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-cta__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(45, 50, 36, 0.82) 0%,
            rgba(45, 50, 36, 0.58) 48%,
            rgba(45, 50, 36, 0.12) 100%
        );
}

.treatment-cta__content {
    position: relative;
    z-index: 2;
    width: min(1350px, calc(100% - 10%));
    margin: 0 auto;
    padding: 35px 0;
}

.treatment-cta__content h2 {
    max-width: 820px;
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1.04;
    font-weight: 500;
    color: #ffffff;
}

.treatment-cta__content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}


/* ==================================================
   PLACEHOLDER IMMAGINI MANCANTI
================================================== */

.treatment-hero__image,
.treatment-intro__image,
.treatment-suitability__image,
.treatment-pricing__image,
.treatment-cta {
    position: relative;
}

.treatment-hero__image img[src=""],
.treatment-intro__image img[src=""],
.treatment-suitability__image img[src=""],
.treatment-pricing__image img[src=""],
.treatment-cta img[src=""] {
    display: none;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    .treatment-hero {
        min-height: 590px;
    }

    .treatment-hero__image,
    .treatment-hero__image img,
    .treatment-hero__content {
        min-height: 590px;
    }

    .treatment-hero__content {
        padding-left: 7%;
        padding-right: 7%;
    }

    .treatment-benefit {
        padding-left: 20px;
        padding-right: 20px;
    }

    .treatment-suitability {
        gap: 22px;
        padding-left: 3%;
        padding-right: 3%;
    }

    .treatment-process__grid {
        grid-template-columns:
            minmax(0, 1fr)
            55px
            minmax(0, 1fr)
            55px
            minmax(0, 1fr)
            55px
            minmax(0, 1fr);
    }

    .treatment-process__arrow span {
        width: 38px;
    }

    .treatment-faq__grid {
        gap: 42px;
    }
}


/* ==================================================
   TABLET STRETTO
================================================== */

@media (max-width: 900px) {

    .treatment-hero,
    .treatment-intro {
        grid-template-columns: 1fr;
    }

    .treatment-hero__image,
    .treatment-hero__image img {
        min-height: 520px;
    }

    .treatment-hero__content {
        min-height: auto;
        padding: 65px 8%;
    }

    .treatment-hero__decoration {
        right: -70px;
        opacity: 0.7;
    }

    .treatment-intro__content {
        padding: 60px 8%;
    }

    .treatment-intro__image {
        min-height: 430px;
        margin: 0 24px 24px;
    }

    .treatment-intro__image img {
        min-height: 430px;
    }

    .treatment-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 38px;
    }

    .treatment-benefit:nth-child(2)::after {
        display: none;
    }

    .treatment-benefit:nth-child(1),
    .treatment-benefit:nth-child(2) {
        padding-bottom: 30px;
        border-bottom: 1px solid var(--treatment-border);
    }

    .treatment-suitability {
        grid-template-columns: 1fr 1fr;
    }

    .treatment-suitability__image {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 380px;
    }

    .treatment-suitability__image img {
        min-height: 380px;
    }

    .treatment-process__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 30px;
    }

    .treatment-process__arrow {
        display: none;
    }

    .treatment-pricing {
        grid-template-columns: 1fr;
    }

    .treatment-pricing__image,
    .treatment-pricing__image img {
        min-height: 260px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 650px) {

    .treatment-eyebrow {
        font-size: 0.68rem;
    }

    .treatment-hero__image,
    .treatment-hero__image img {
        min-height: 390px;
    }

    .treatment-hero__content {
        padding: 52px 24px 58px;
    }

    .treatment-hero__content h1 {
        font-size: clamp(3.1rem, 15vw, 4.5rem);
        line-height: 0.98;
    }

    .treatment-hero__description {
        font-size: 1rem;
    }

    .treatment-hero__decoration {
        width: 190px;
        right: -85px;
        top: 65px;
    }

    .treatment-primary-button {
        width: 100%;
    }

    .treatment-intro__content {
        padding: 52px 24px;
    }

    .treatment-intro__content h2 {
        font-size: 2.45rem;
    }

    .treatment-intro__image {
        min-height: 320px;
        margin: 0 12px 12px;
        border-radius: 10px;
    }

    .treatment-intro__image img {
        min-height: 320px;
    }

    .treatment-benefits {
        padding: 48px 20px 45px;
    }

    .treatment-benefits__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .treatment-benefit {
        padding: 28px 10px;
        border-bottom: 1px solid var(--treatment-border);
    }

    .treatment-benefit:last-child {
        border-bottom: 0;
    }

    .treatment-benefit::after {
        display: none;
    }

    .treatment-suitability {
        grid-template-columns: 1fr;
        padding: 45px 24px;
        gap: 38px;
    }

    .treatment-suitability__column {
        padding: 0;
    }

    .treatment-suitability__image {
        grid-column: auto;
        grid-row: auto;
        min-height: 310px;
    }

    .treatment-suitability__image img {
        min-height: 310px;
    }

    .treatment-process {
        padding: 45px 24px 50px;
    }

    .treatment-process__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .treatment-process__item p {
        max-width: 290px;
    }

    .treatment-pricing__content {
        padding: 38px 20px;
    }

    .treatment-pricing__grid {
        grid-template-columns: 1fr;
    }

    .treatment-price-card {
        justify-content: flex-start;
        padding-left: 30px;
    }

    .treatment-pricing__image,
    .treatment-pricing__image img {
        min-height: 220px;
    }

    .treatment-faq {
        padding: 38px 24px 25px;
    }

    .treatment-faq__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .treatment-faq__column:last-child {
        border-top: 0;
    }

    .treatment-faq__item summary {
        font-size: 1rem;
    }

    .treatment-cta {
        min-height: 360px;
        align-items: flex-end;
    }

    .treatment-cta__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(35, 44, 32, 0.24) 0%,
                rgba(35, 44, 32, 0.86) 68%,
                rgba(35, 44, 32, 0.94) 100%
            );
    }

    .treatment-cta__content {
        width: calc(100% - 48px);
        padding: 55px 0 34px;
    }

    .treatment-cta__content h2 {
        font-size: 2.15rem;
    }
}


/* ==================================================
   SCHERMI MOLTO PICCOLI
================================================== */

@media (max-width: 380px) {

    .treatment-hero__content h1 {
        font-size: 2.85rem;
    }

    .treatment-price-card {
        gap: 16px;
        padding-left: 22px;
    }

    .treatment-price-card__price {
        font-size: 1.65rem;
    }
}
/* ========================================
   IMMAGINI PAGINE TRATTAMENTI
======================================== */

.treatment-hero__image,
.treatment-intro__image,
.treatment-audience__image,
.treatment-pricing__image {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(27, 41, 32, 0.08);
    border: 1px solid rgba(60, 75, 55, 0.08);
}

.treatment-hero__image img,
.treatment-intro__image img,
.treatment-audience__image img,
.treatment-pricing__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* Pagine con un solo prezzo */
.treatment-pricing__grid.single-price {
    display: flex;
    justify-content: center;
}

.treatment-pricing__grid.single-price .treatment-price-card {
    width: 100%;
    max-width: 480px;
}

/* =========================================================
   RIDIMENSIONAMENTO UNIFORME IMMAGINI PAGINE TRATTAMENTI
   Stesse proporzioni compatte usate per il Linfodrenaggio.
   Non modifica il layout smartphone.
   ========================================================= */
@media (min-width: 651px) {
    .treatment-hero {
        min-height: 540px;
        padding: 42px 5%;
        gap: 42px;
        align-items: center;
    }

    .treatment-hero__image {
        width: 100%;
        max-width: 620px;
        height: 500px;
        min-height: 0;
        justify-self: end;
        border-radius: 24px;
    }

    .treatment-hero__image img {
        width: 100%;
        height: 500px;
        min-height: 0;
        object-fit: cover;
    }

    .treatment-hero__content {
        min-height: 500px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .treatment-intro {
        min-height: 430px;
        align-items: center;
    }

    .treatment-intro__image {
        width: calc(100% - 44px);
        max-width: 540px;
        height: 390px;
        min-height: 0;
        margin: 22px auto;
        justify-self: center;
    }

    .treatment-intro__image img {
        width: 100%;
        height: 390px;
        min-height: 0;
        object-fit: cover;
    }

    .treatment-suitability__image {
        width: 100%;
        max-width: 430px;
        height: 360px;
        min-height: 0;
        justify-self: center;
        align-self: center;
    }

    .treatment-suitability__image img {
        width: 100%;
        height: 360px;
        min-height: 0;
        object-fit: cover;
    }

    .treatment-pricing__image {
        width: calc(100% - 28px);
        max-width: 520px;
        height: 250px;
        min-height: 0;
        margin: 14px 14px 14px 0;
        justify-self: end;
        align-self: center;
    }

    .treatment-pricing__image img {
        width: 100%;
        height: 250px;
        min-height: 0;
        object-fit: cover;
    }
}

@media (min-width: 651px) and (max-width: 900px) {
    .treatment-hero {
        min-height: 500px;
        gap: 28px;
        padding-left: 3%;
        padding-right: 3%;
    }

    .treatment-hero__image,
    .treatment-hero__image img {
        height: 430px;
    }

    .treatment-hero__content {
        min-height: 430px;
    }

    .treatment-intro__image,
    .treatment-intro__image img {
        height: 350px;
    }

    .treatment-suitability__image,
    .treatment-suitability__image img {
        height: 330px;
    }
}


/* =========================================================
   PRE-LANCIO 2026-09-07
   IMMAGINI PIÙ COMPATTE NEGLI ALTRI TRATTAMENTI
   Mantiene invariata la pagina Linfodrenaggio (linfo-page).
   ========================================================= */

@media (min-width: 881px) {
    body:not(.linfo-page) .treatment-hero {
        min-height: 540px;
        padding: 36px 3% 44px;
        align-items: center;
    }

    body:not(.linfo-page) .treatment-hero__image {
        width: min(100%, 620px);
        height: 500px;
        justify-self: end;
        border-radius: 24px;
    }

    body:not(.linfo-page) .treatment-hero__image img {
        height: 500px;
        min-height: 0;
    }

    body:not(.linfo-page) .treatment-hero__content {
        min-height: 540px;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    body:not(.linfo-page) .treatment-intro {
        min-height: 410px;
        align-items: center;
    }

    body:not(.linfo-page) .treatment-intro__image {
        width: min(calc(100% - 44px), 540px);
        height: 390px;
        min-height: 390px;
        margin: 22px auto;
    }

    body:not(.linfo-page) .treatment-intro__image img {
        height: 390px;
        min-height: 0;
    }

    body:not(.linfo-page) .treatment-suitability__image {
        width: min(100%, 380px);
        height: 350px;
        min-height: 350px;
        justify-self: center;
        align-self: center;
    }

    body:not(.linfo-page) .treatment-suitability__image img {
        height: 350px;
        min-height: 0;
    }

    body:not(.linfo-page) .treatment-pricing__image {
        min-height: 220px;
        max-height: 300px;
    }

    body:not(.linfo-page) .treatment-pricing__image img {
        min-height: 220px;
        height: 100%;
    }
}

@media (min-width: 651px) and (max-width: 880px) {
    body:not(.linfo-page) .treatment-hero__image,
    body:not(.linfo-page) .treatment-hero__image img {
        min-height: 0;
        height: 470px;
    }

    body:not(.linfo-page) .treatment-intro__image,
    body:not(.linfo-page) .treatment-intro__image img {
        min-height: 0;
        height: 390px;
    }

    body:not(.linfo-page) .treatment-suitability__image,
    body:not(.linfo-page) .treatment-suitability__image img {
        min-height: 0;
        height: 340px;
    }
}

@media (max-width: 650px) {
    body:not(.linfo-page) .treatment-hero__image,
    body:not(.linfo-page) .treatment-hero__image img {
        min-height: 0;
        height: 330px;
    }

    body:not(.linfo-page) .treatment-intro__image,
    body:not(.linfo-page) .treatment-intro__image img {
        min-height: 0;
        height: 300px;
    }

    body:not(.linfo-page) .treatment-suitability__image,
    body:not(.linfo-page) .treatment-suitability__image img {
        min-height: 0;
        height: 285px;
    }

    body:not(.linfo-page) .treatment-pricing__image,
    body:not(.linfo-page) .treatment-pricing__image img {
        min-height: 0;
        height: 210px;
    }
}


/* =========================================================
   FIX RESPONSIVE FASI SEDUTA + FAQ
   - niente linee verticali quando le fasi sono impilate
   - maggiore separazione tra le FAQ
   ========================================================= */
@media (max-width: 1120px) {
    .treatment-steps::before,
    .treatment-steps::after,
    .treatment-step::before,
    .treatment-step::after {
        display: none !important;
        content: none !important;
    }

    .treatment-faq details,
    .faq-list details,
    .faq-grid details {
        margin-bottom: 12px !important;
    }

    .treatment-faq details:last-child,
    .faq-list details:last-child,
    .faq-grid details:last-child {
        margin-bottom: 0 !important;
    }
}


/* =========================================================
   FIX ESATTO RESPONSIVE PROCESSO + FAQ TRATTAMENTI
   ========================================================= */
@media (max-width: 1000px) {
    .treatment-process__grid::before,
    .treatment-process__item:not(:last-of-type)::after {
        display: none !important;
        content: none !important;
    }

    .treatment-faq__grid {
        gap: 16px !important;
    }

    .treatment-faq__column {
        gap: 16px !important;
    }
}

@media (max-width: 650px) {
    .treatment-faq__grid,
    .treatment-faq__column {
        gap: 14px !important;
    }
}


/* =========================================================
   RIPRISTINO FOTO SOTTO I BENEFICI + KIREI PREZZI
   ========================================================= */

/* Ripristina le proporzioni originali della foto centrale
   sotto la sezione benefici / ideale per chi */
@media (min-width: 1001px) {
    body:not(.linfo-page) .treatment-suitability__image {
        width: auto !important;
        height: auto !important;
        min-height: 390px !important;
        max-height: none !important;
    }

    body:not(.linfo-page) .treatment-suitability__image img {
        height: 100% !important;
        min-height: 390px !important;
        object-fit: cover !important;
    }
}

@media (min-width: 651px) and (max-width: 1000px) {
    body:not(.linfo-page) .treatment-suitability__image,
    body:not(.linfo-page) .treatment-suitability__image img {
        height: auto !important;
        min-height: 380px !important;
    }
}

/* Kirei & Kobido: mostra meglio la foto della sezione prezzi */
.treatment-pricing__image img[src$="kirei-kobido-prezzi.jpg"] {
    object-position: center 62% !important;
}

@media (min-width: 1001px) {
    .treatment-pricing__image:has(img[src$="kirei-kobido-prezzi.jpg"]) {
        min-height: 320px !important;
        max-height: 360px !important;
    }

    .treatment-pricing__image img[src$="kirei-kobido-prezzi.jpg"] {
        min-height: 320px !important;
        height: 320px !important;
    }
}

@media (min-width: 651px) and (max-width: 1000px) {
    .treatment-pricing__image img[src$="kirei-kobido-prezzi.jpg"] {
        height: 280px !important;
        min-height: 280px !important;
    }
}


/* =========================================================
   RIDIMENSIONAMENTO FOTO CENTRALI TRATTAMENTI
   Rilassante / Decontratturante / Linfodrenaggio
   ========================================================= */
@media (min-width: 1001px) {
    .treatment-suitability__image {
        width: min(100%, 430px) !important;
        height: 360px !important;
        min-height: 0 !important;
        max-height: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
        overflow: hidden !important;
        border-radius: 18px !important;
    }

    .treatment-suitability__image img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover !important;
        display: block !important;
    }
}

@media (min-width: 651px) and (max-width: 1000px) {
    .treatment-suitability__image {
        width: min(100%, 420px) !important;
        height: 340px !important;
        min-height: 0 !important;
        max-height: 340px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .treatment-suitability__image img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover !important;
    }
}


/* =========================================================
   FOTO CENTRALE PIU COMPATTA - DESKTOP/TABLET
   ========================================================= */
@media (min-width: 1001px) {
    .treatment-suitability__image {
        width: min(100%, 390px) !important;
        height: 300px !important;
        min-height: 0 !important;
        max-height: 300px !important;
    }

    .treatment-suitability__image img {
        width: 100% !important;
        height: 300px !important;
        min-height: 0 !important;
        max-height: 300px !important;
        object-fit: cover !important;
    }
}

@media (min-width: 651px) and (max-width: 1000px) {
    .treatment-suitability__image {
        width: min(100%, 380px) !important;
        height: 290px !important;
        min-height: 0 !important;
        max-height: 290px !important;
    }

    .treatment-suitability__image img {
        width: 100% !important;
        height: 290px !important;
        min-height: 0 !important;
        max-height: 290px !important;
        object-fit: cover !important;
    }
}


/* =========================================================
   FIX DEFINITIVO FAQ + LINEE PROCESSO TABLET/MOBILE
   ========================================================= */
@media (max-width: 1120px) {
    /* Elimina tutti i collegamenti tra le fasi quando sono impilate */
    .treatment-process__grid::before,
    .treatment-process__grid::after,
    .treatment-process__item::before,
    .treatment-process__item::after {
        display: none !important;
        content: none !important;
    }

    .treatment-process__arrow {
        display: none !important;
    }

    /* Distanza identica tra TUTTE le FAQ */
    .treatment-faq__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .treatment-faq__column {
        display: grid !important;
        gap: 14px !important;
    }

    .treatment-faq__item,
    .treatment-faq details,
    .treatment-faq details:last-child {
        margin: 0 !important;
    }
}


/* =========================================================
   HERO MOBILE STACCATA DAI BORDI - TUTTI I TRATTAMENTI
   ========================================================= */
@media (max-width: 650px) {
    .treatment-hero__image {
        width: calc(100% - 24px) !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .treatment-hero__image img {
        width: 100% !important;
        border-radius: 18px !important;
        display: block !important;
    }
}


/* =========================================================
   TABLET: PROCESSO 2x2
   ========================================================= */
@media (min-width: 651px) and (max-width: 1120px) {
    .treatment-process__grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px 28px !important;
        align-items: start !important;
    }

    .treatment-process__item {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 18px !important;
    }

    .treatment-process__item h3 {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .treatment-process__item p {
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}


/* =========================================================
   LINFODRENAGGIO: CENTRATURA IPAD MINI + FOTO MOBILE PIU COMPATTE
   ========================================================= */

/* iPad Mini / tablet stretti: centra le immagini senza toccare iPad Pro */
@media (min-width: 651px) and (max-width: 900px) {
    .linfo-page .treatment-hero__image,
    .linfo-page .treatment-intro__image,
    .linfo-page .treatment-suitability__image,
    .linfo-page .treatment-pricing__image {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .linfo-page .treatment-intro__image {
        width: min(calc(100% - 48px), 560px) !important;
    }

    .linfo-page .treatment-suitability__image {
        width: min(calc(100% - 48px), 390px) !important;
    }

    .linfo-page .treatment-pricing__image {
        width: min(calc(100% - 48px), 520px) !important;
    }
}

/* Smartphone: immagini meno alte e sempre staccate dai bordi */
@media (max-width: 650px) {
    .linfo-page .treatment-hero__image {
        width: calc(100% - 24px) !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
        margin: 12px auto 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .linfo-page .treatment-hero__image img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        object-position: center 50% !important;
    }

    .linfo-page .treatment-intro__image {
        width: calc(100% - 24px) !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
        margin: 0 auto 12px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .linfo-page .treatment-intro__image img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover !important;
        object-position: center 50% !important;
    }

    .linfo-page .treatment-suitability__image {
        width: calc(100% - 24px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 4 / 3 !important;
        margin: 0 auto !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .linfo-page .treatment-suitability__image img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center 50% !important;
    }

    .linfo-page .treatment-pricing__image {
        width: calc(100% - 24px) !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        margin: 0 auto 14px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .linfo-page .treatment-pricing__image img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
    }
}


/* =========================================================
   LINFODRENAGGIO: TITOLO HERO MOBILE
   Evita il taglio di "Linfodrenaggio" su iPhone 14 Pro Max
   e smartphone simili, senza toccare tablet/desktop.
   ========================================================= */
@media (max-width: 650px) {
    .linfo-page .treatment-hero__content h1 {
        max-width: 100% !important;
        font-size: 2.7rem !important;
        line-height: 0.98 !important;
        letter-spacing: -0.03em !important;
    }
}

@media (max-width: 380px) {
    .linfo-page .treatment-hero__content h1 {
        font-size: 2.45rem !important;
    }
}


/* =========================================================
   KIREI & KOBIDO: CENTRATURA FOTO IPAD MINI
   Solo tablet stretti (651–900 px).
   Non modifica smartphone, iPad Pro o desktop.
   ========================================================= */
@media (min-width: 651px) and (max-width: 900px) {

    /* Hero — centratura forzata rispetto all'intera colonna */
    .treatment-hero__image:has(> img[src$="kirei-kobido-hero.jpg"]) {
        width: min(calc(100% - 48px), 620px) !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-self: start !important;
        align-self: center !important;
    }

    /* Foto prodotti accanto a Durata e prezzi — centratura forzata */
    .treatment-pricing__image:has(> img[src$="kirei-kobido-prezzi.jpg"]) {
        width: min(calc(100% - 48px), 520px) !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 18px 0 24px !important;
        justify-self: start !important;
        align-self: center !important;
    }
}
