/* ========================================
   SHAMÁ STUDIO MASSAGGI — STYLE.CSS
======================================== */

:root {
    --verde-principale: #356347;
    --verde-scuro: #214832;
    --verde-profondo: #183b29;

    --verde-salvia: #e4ece1;
    --verde-salvia-medio: #cddbc9;
    --verde-chiarissimo: #f2f6f0;

    --beige-chiaro: #f7f4ed;
    --beige-medio: #eee8dc;
    --bianco-caldo: #fdfcf9;
    --bianco: #ffffff;

    --testo-principale: #243229;
    --testo-secondario: #5f6b63;
    --testo-chiaro: #78827b;

    --bordo: #dce4da;
    --bordo-caldo: #e7e1d6;
    --stelle: #e8b44a;

    --ombra-leggera: 0 12px 34px rgba(34, 65, 45, 0.06);
    --ombra-media: 0 18px 48px rgba(34, 65, 45, 0.10);
}

/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bianco-caldo);
}

body {
    overflow-x: hidden;
    color: var(--testo-principale);
    background-color: var(--bianco-caldo);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    color: var(--verde-principale);
}

p {
    color: var(--testo-secondario);
}

::selection {
    color: #ffffff;
    background-color: var(--verde-principale);
}

/* ========================================
   HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(253, 252, 249, 0.97);
    border-bottom: 1px solid rgba(53, 99, 71, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-container {
    max-width: 1180px;
width: calc(100% - 80px);
    height: 92px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    align-items: center;
    position: relative;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    width: 200px;
    height: 95px;
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 95px;
    object-fit: contain;
}

.navigation-toggle {
    display: none;
}

.main-navigation {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: max-content;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    opacity: 1;
    visibility: visible;
}

.navigation-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 3vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation-list li {
    width: auto;
}

.navigation-list a {
    position: relative;
    display: inline-block;
    width: auto;
    padding: 12px 0;
    color: #263c31;
    border: 0;
    font-size: 1.05rem;
font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.navigation-list a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: #728d76;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navigation-list a:hover {
    color: #728d76;
}

.navigation-list a:hover::after {
    width: 100%;
}

.navigation-list a.active {
    color: #55705c;
    font-weight: 600;
}

.navigation-list a.active::after {
    width: 0;
}

.navigation-list a.active:hover::after {
    width: 100%;
}

/* ========================================
   HOME — HERO
======================================== */

.hero-section {
    padding: 38px 0 24px;
    background-color: var(--beige-chiaro);
}

.hero-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 74px;
}

.hero-content {
    padding: 8px 0 20px;
}

.hero-eyebrow {
    margin-bottom: 19px;
    color: var(--verde-principale);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.hero-title {
    max-width: 570px;
    margin-bottom: 27px;
    color: #171917;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(43px, 4.3vw, 62px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -1.4px;
}

.hero-title span {
    display: block;
    color: var(--verde-principale);
    font-weight: 700;
}

.hero-description {
    margin-bottom: 29px;
    color: #343934;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.75;
}

.whatsapp-button,
.faq-whatsapp-button,
.final-cta-button,
.google-reviews-button {
    min-height: 52px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    background-color: var(--verde-principale);
    border: 1px solid var(--verde-principale);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(33, 72, 50, 0.18);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.whatsapp-button:hover,
.faq-whatsapp-button:hover,
.final-cta-button:hover,
.google-reviews-button:hover {
    color: #ffffff;
    background-color: var(--verde-scuro);
    border-color: var(--verde-scuro);
    box-shadow: 0 16px 34px rgba(33, 72, 50, 0.24);
    transform: translateY(-2px);
}

.whatsapp-button svg,
.faq-whatsapp-button svg,
.final-cta-button svg,
.google-reviews-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: currentColor;
}

.whatsapp-button span {
    white-space: nowrap;
}

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

.hero-image {
    width: 88%;
    height: 395px;
    object-fit: cover;
    object-position: center;
    border-radius: 17px;
}

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

.benefits-section {
    padding: 24px 0 66px;
    background-color: var(--bianco-caldo);
}

.benefits-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.benefits-eyebrow {
    margin-bottom: 31px;
    color: var(--verde-principale);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-align: center;
    text-transform: uppercase;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card {
    min-width: 0;
    padding: 0 28px;
    text-align: center;
}

.benefit-card:not(:last-child) {
    border-right: 1px solid var(--bordo);
}

.benefit-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-principale);
    background-color: var(--verde-salvia);
    border-radius: 50%;
    font-size: 23px;
}

.benefit-card h2 {
    margin-bottom: 11px;
    color: #171917;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.benefit-card p {
    color: var(--testo-secondario);
    font-size: 13px;
    line-height: 1.7;
}

/* ========================================
   RECENSIONI
======================================== */

.reviews-section {
    padding: 82px 0 88px;
    overflow: hidden;
    background:
        radial-gradient(circle at top center, rgba(228, 236, 225, 0.65), transparent 38%),
        var(--bianco-caldo);
}

.reviews-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.reviews-heading {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
}

.reviews-eyebrow {
    margin-bottom: 11px;
    color: var(--verde-principale);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-transform: uppercase;
}

.reviews-heading h2 {
    color: var(--verde-principale);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4vw, 53px);
    font-weight: 700;
    line-height: 1.1;
}

.google-rating {
    margin-top: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.google-rating-stars {
    display: flex;
    gap: 4px;
}

.google-rating-stars span,
.review-stars span {
    color: var(--stelle);
}

.google-rating-stars span {
    font-size: 22px;
    line-height: 1;
}

.google-rating-text {
    padding-left: 17px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 1px solid #d5ddd3;
}

.google-rating-text strong {
    color: #213128;
    font-size: 15px;
    font-weight: 700;
}

.google-rating-text span {
    margin-top: 2px;
    color: #727972;
    font-size: 12px;
}

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
}

.reviews-track {
    width: 100%;
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.review-slide {
    min-width: 100%;
    padding: 13px;
}

.review-card {
    width: min(760px, 100%);
    min-height: 330px;
    margin: 0 auto;
    padding: 45px 49px 37px;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(54, 95, 67, 0.12);
    border-radius: 22px;
    box-shadow:
        0 22px 58px rgba(40, 62, 45, 0.09),
        0 3px 9px rgba(40, 62, 45, 0.04);
}

.review-stars {
    margin-bottom: 23px;
    display: flex;
    gap: 4px;
}

.review-stars span {
    font-size: 20px;
    line-height: 1;
}

.review-card blockquote {
    margin-bottom: 32px;
    color: #303530;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(18px, 1.65vw, 23px);
    line-height: 1.55;
}

.review-card-footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: #263128;
    font-size: 15px;
    font-weight: 700;
}

.review-author span {
    margin-top: 3px;
    color: #7a817a;
    font-size: 12px;
}

.google-review-badge {
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #686f69;
    background-color: #f3f6f2;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.google-letter {
    color: #4285f4;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.review-arrow {
    position: relative;
    z-index: 20;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-principale);
    background-color: var(--verde-chiarissimo);
    border: 1px solid var(--bordo);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(43, 67, 48, 0.08);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.review-arrow:hover {
    color: #ffffff;
    background-color: var(--verde-principale);
    border-color: var(--verde-principale);
    transform: translateY(-2px);
}

.reviews-dots {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.review-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background-color: var(--verde-salvia-medio);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition:
        width 0.25s ease,
        background-color 0.25s ease,
        border-radius 0.25s ease;
}

.review-dot.active {
    width: 27px;
    background-color: var(--verde-principale);
    border-radius: 20px;
}

.reviews-action {
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

/* ========================================
   FAQ
======================================== */

.faq-section {
    padding: 88px 0 92px;
    background:
        radial-gradient(circle at top center, rgba(228, 236, 225, 0.56), transparent 35%),
        var(--bianco-caldo);
}

.faq-container {
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
}

.faq-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.faq-eyebrow {
    margin-bottom: 11px;
    color: var(--verde-principale);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-transform: uppercase;
}

.faq-heading h2 {
    margin-bottom: 12px;
    color: var(--verde-principale);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
}

.faq-intro {
    color: var(--testo-secondario);
    font-size: 15px;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--bordo);
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(43, 67, 48, 0.05);
}

.faq-question {
    width: 100%;
    min-height: 78px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--testo-principale);
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.faq-question:hover {
    color: var(--verde-principale);
    background-color: var(--verde-chiarissimo);
}

.faq-question > span:first-child {
    color: var(--verde-profondo);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-principale);
    background-color: var(--verde-chiarissimo);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.35s ease;
}

.faq-item.active .faq-icon {
    color: #ffffff;
    background-color: var(--verde-principale);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
        max-height 0.42s ease,
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.faq-item.active .faq-answer {
    opacity: 1;
    visibility: visible;
}

.faq-answer-inner {
    padding: 0 54px 22px 22px;
}

.faq-answer p {
    margin: 0;
    color: var(--testo-secondario);
    font-size: 14px;
    line-height: 1.8;
}

.faq-answer strong {
    color: var(--verde-profondo);
    font-weight: 700;
}

.faq-question:focus-visible {
    position: relative;
    z-index: 2;
    outline: 3px solid rgba(54, 95, 67, 0.22);
    outline-offset: -3px;
}

.faq-cta {
    margin-top: 38px;
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    background-color: var(--verde-chiarissimo);
    border: 1px solid var(--verde-salvia-medio);
    border-radius: 18px;
}

.faq-cta-text {
    max-width: 610px;
}

.faq-cta h3 {
    margin-bottom: 7px;
    color: var(--verde-principale);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.faq-cta p {
    color: var(--testo-secondario);
    font-size: 14px;
    line-height: 1.7;
}

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

.final-cta {
    position: relative;
    min-height: 285px;
    padding: 58px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("immagini/cta.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(247, 244, 237, 0.96) 0%,
            rgba(247, 244, 237, 0.88) 48%,
            rgba(247, 244, 237, 0.28) 100%
        );
}

.final-cta-content {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
}

.final-cta-eyebrow {
    margin-bottom: 9px;
    color: var(--verde-principale);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.final-cta h2 {
    max-width: 650px;
    margin-bottom: 10px;
    color: var(--verde-principale);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.1;
}

.final-cta-content > p:not(.final-cta-eyebrow) {
    max-width: 580px;
    margin-bottom: 24px;
    color: var(--testo-secondario);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   PAGINA CHI SONO — HERO
======================================== */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 58px;
    background:
        radial-gradient(circle at 18% 20%, rgba(202, 187, 164, 0.14), transparent 32%),
        linear-gradient(110deg, #f7f3eb 0%, #fffdf8 54%, #f5f1e8 100%);
}

.about-hero__container {
    position: relative;
    z-index: 2;
    width: min(1380px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 0.85fr) minmax(500px, 1.15fr);
    align-items: center;
    gap: clamp(60px, 6vw, 100px);
}

.about-hero__image-wrap {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    border-radius: 26px 26px 4px 26px;
    background: #d8cbbb;
    box-shadow:
        0 24px 55px rgba(45, 58, 48, 0.10),
        0 6px 18px rgba(45, 58, 48, 0.06);
}

.about-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.about-hero__image-wrap:hover .about-hero__image {
    transform: scale(1.02);
}

.about-hero__content {
    max-width: 650px;
    padding: 8px 0;
}

.section-eyebrow {
    margin: 0 0 14px;
    color: #55705c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-hero h1 {
    max-width: 560px;
    margin: 0;
    color: #244536;
    font-family: "Playfair Display", serif;
    font-size: clamp(3.4rem, 4.7vw, 4.75rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.03;
}

.about-hero__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 92px;
    margin: 24px 0 22px;
    color: #708d73;
}

.about-hero__divider span {
    width: 42px;
    height: 1px;
    background: #7d957f;
}

.about-hero__divider svg {
    width: 32px;
    height: 19px;
    flex-shrink: 0;
}

.about-hero__text {
    max-width: 620px;
    color: #3d423e;
    font-size: 0.96rem;
    line-height: 1.75;
}

.about-hero__text p {
    margin: 0 0 14px;
}

.about-hero__text p:last-child {
    margin-bottom: 0;
}

.about-hero__signature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 22px;
}

.about-hero__name {
    color: #6f876f;
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    font-style: italic;
    line-height: 1.05;
}

.about-hero__role {
    margin-top: 6px;
    color: #4f554f;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-hero__decor {
    position: absolute;
    z-index: 1;
    top: 0;
    right: -90px;
    width: 300px;
    height: 100%;
    opacity: 0.07;
    filter: blur(6px);
    pointer-events: none;
}

.about-hero__leaf {
    position: absolute;
    width: 135px;
    height: 56px;
    border-radius: 100% 0 100% 0;
    background: #799071;
    transform: rotate(-28deg);
}

.about-hero__leaf--1 {
    top: 45px;
    right: 20px;
}

.about-hero__leaf--2 {
    top: 155px;
    right: 110px;
    transform: rotate(28deg) scale(0.82);
}

.about-hero__leaf--3 {
    top: 330px;
    right: 5px;
    transform: rotate(-35deg) scale(1.05);
}

.about-hero__leaf--4 {
    top: 455px;
    right: 110px;
    transform: rotate(30deg) scale(0.76);
}

/* ========================================
   RESPONSIVE — TABLET
======================================== */

@media (max-width: 1250px) {
    .footer-container {
        width: min(1180px, calc(100% - 60px));
    }

    .footer-grid {
        grid-template-columns:
            240px
            minmax(280px, 1.15fr)
            minmax(250px, 0.9fr)
            170px;
        column-gap: 45px;
    }

    .footer-brand {
        width: 240px;
    }

    .footer-logo,
    .footer-logo img {
        width: 205px;
    }

    .footer-logo img {
        height: 205px;
    }

    .footer-column:last-child {
        width: 170px;
    }
}

@media (max-width: 1150px) {
    .about-hero__container {
        grid-template-columns: minmax(320px, 0.9fr) minmax(430px, 1.1fr);
        gap: 52px;
    }

    .about-hero__image-wrap {
        height: 500px;
    }

    .about-hero h1 {
        font-size: clamp(3.2rem, 5vw, 4.25rem);
    }
}

@media (max-width: 1120px) and (min-width: 881px) {
    .header-container {
        width: min(100% - 40px, 1080px);
        grid-template-columns: 132px 1fr 132px;
    }

    .site-logo {
        width: 125px;
        height: 76px;
    }

    .site-logo img {
        height: 68px;
    }

    .navigation-list {
        gap: 20px;
    }

    .navigation-list a {
        font-size: 0.84rem;
    }
}

@media (max-width: 1050px) {
    .hero-container {
        gap: 45px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-image {
        width: 100%;
        height: 370px;
    }
}

@media (max-width: 1000px) {
    .footer-container {
        width: min(850px, calc(100% - 48px));
    }

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

    .footer-brand {
        width: auto;
        max-width: 310px;
    }

    .footer-column:last-child {
        justify-self: start;
        width: auto;
    }

    .footer-hours {
        max-width: 330px;
    }
}

@media (max-width: 900px) {
    .about-hero {
        padding: 30px 0 46px;
    }

    .about-hero__container {
        width: min(100% - 40px, 760px);
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .about-hero__image-wrap {
        height: auto;
        aspect-ratio: 4 / 4.2;
        max-height: 580px;
        border-radius: 24px 24px 4px 24px;
    }

    .about-hero__content {
        max-width: 680px;
        padding: 0;
    }

    .about-hero h1 {
        max-width: 600px;
        font-size: clamp(3rem, 9vw, 4.2rem);
    }

    .about-hero__decor {
        display: none;
    }
}

@media (max-width: 880px) {
    .header-container {
        position: relative;
        width: calc(100% - 32px);
        height: 78px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .site-logo {
        width: 112px;
        height: 68px;
    }

    .site-logo img {
        height: 62px;
    }

    .navigation-toggle {
        position: relative;
        z-index: 1002;
        display: block;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .navigation-toggle span {
        display: block;
        width: 22px;
        height: 1.5px;
        margin: 5px auto;
        background: #244536;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .main-navigation {
        position: absolute;
        z-index: 1001;
        top: 78px;
        left: -16px;
        right: -16px;
        width: auto;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 253, 248, 0.99);
        border-bottom: 1px solid rgba(36, 69, 54, 0.08);
        opacity: 0;
        visibility: hidden;
        transition:
            max-height 0.4s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .main-navigation.is-open {
        max-height: 520px;
        opacity: 1;
        visibility: visible;
    }

    .navigation-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px 24px 26px;
    }

    .navigation-list li {
        width: 100%;
    }

    .navigation-list a {
        display: block;
        width: 100%;
        padding: 14px 2px;
        border-bottom: 1px solid rgba(36, 69, 54, 0.07);
        font-size: 0.95rem;
    }

    .navigation-list li:last-child a {
        border-bottom: 0;
    }

    .navigation-list a::after {
        display: none;
    }

    .navigation-toggle.is-open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .navigation-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .navigation-toggle.is-open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }
}

@media (max-width: 850px) {
    .hero-section {
        padding-top: 55px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-image {
        width: 100%;
        height: 420px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 0;
    }

    .benefit-card:nth-child(2) {
        border-right: none;
    }

    .reviews-section {
        padding: 72px 0 78px;
    }

    .review-card {
        min-height: 340px;
        padding: 39px 36px 33px;
    }
}

@media (max-width: 800px) {
    .faq-section {
        padding: 72px 0 76px;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .faq-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ========================================
   RESPONSIVE — MOBILE
======================================== */

@media (max-width: 650px) {
    .footer-container {
        width: calc(100% - 36px);
    }

    .footer-grid {
        padding: 54px 0 45px;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-brand {
        width: 100%;
        max-width: 100%;
    }

    .footer-logo {
        width: 185px;
    }

    .footer-logo img {
        width: 185px;
        height: 185px;
    }

    .footer-description {
        max-width: 330px;
    }

    .footer-column:last-child {
        justify-self: start;
        width: auto;
    }

    .footer-column h3 {
        margin-bottom: 20px;
    }

    .footer-hours {
        max-width: 350px;
    }

    .footer-bottom {
        padding: 24px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}

@media (max-width: 600px) {
    .hero-container,
    .benefits-container,
    .reviews-container,
    .faq-container {
        width: calc(100% - 30px);
    }

    .hero-section {
        padding: 43px 0 20px;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -0.8px;
    }

    .hero-description br {
        display: none;
    }

    .whatsapp-button,
    .google-reviews-button,
    .faq-whatsapp-button {
        width: 100%;
    }

    .hero-image {
        height: 330px;
    }

    .benefits-section {
        padding: 34px 0 58px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .benefit-card {
        padding: 0;
        border-right: none !important;
    }

    .reviews-section {
        padding: 60px 0 66px;
    }

    .reviews-heading {
        margin-bottom: 29px;
    }

    .google-rating {
        flex-direction: column;
        gap: 11px;
    }

    .google-rating-text {
        padding-left: 0;
        align-items: center;
        border-left: none;
    }

    .reviews-slider {
        display: block;
    }

    .review-slide {
        padding: 9px 2px 14px;
    }

    .review-card {
        min-height: 420px;
        padding: 31px 24px 26px;
    }

    .review-card blockquote {
        font-size: 18px;
        line-height: 1.55;
    }

    .review-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-arrow {
        position: absolute;
        top: 50%;
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        transform: translateY(-50%);
    }

    .review-arrow:hover {
        transform: translateY(-50%);
    }

    .review-arrow-left {
        left: -7px;
    }

    .review-arrow-right {
        right: -7px;
    }

    .reviews-dots {
        max-width: 260px;
        margin-right: auto;
        margin-left: auto;
        flex-wrap: wrap;
    }

    .faq-section {
        padding: 60px 0 64px;
    }

    .faq-heading {
        margin-bottom: 30px;
    }

    .faq-question {
        min-height: 60px;
        padding: 17px 18px;
        gap: 16px;
    }

    .faq-question > span:first-child {
        font-size: 16px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 20px;
    }

    .faq-answer-inner {
        padding: 0 18px 21px;
    }

    .faq-cta {
        margin-top: 30px;
        padding: 25px 21px;
    }

    .faq-cta h3 {
        font-size: 21px;
    }
}

@media (max-width: 560px) {
    .about-hero {
        padding: 20px 0 38px;
    }

    .about-hero__container {
        width: min(100% - 28px, 520px);
        gap: 30px;
    }

    .about-hero__image-wrap {
        aspect-ratio: 4 / 4.5;
        border-radius: 20px 20px 4px 20px;
    }

    .section-eyebrow {
        margin-bottom: 12px;
        font-size: 0.67rem;
    }

    .about-hero h1 {
        max-width: 100%;
        font-size: clamp(2.65rem, 12vw, 3.45rem);
        line-height: 1.02;
    }

    .about-hero__divider {
        margin: 20px 0 18px;
    }

    .about-hero__text {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .about-hero__text p {
        margin-bottom: 13px;
    }

    .about-hero__signature {
        margin-top: 19px;
    }

    .about-hero__name {
        font-size: 1.5rem;
    }

    .about-hero__role {
        font-size: 0.58rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        width: calc(100% - 24px);
        height: 72px;
    }

    .site-logo {
        width: 102px;
        height: 62px;
    }

    .site-logo img {
        height: 56px;
    }

    .main-navigation {
        top: 72px;
        left: -12px;
        right: -12px;
    }
}

/* ========================================
   ACCESSIBILITÀ
======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reviews-track,
    .review-arrow,
    .review-dot,
    .whatsapp-button,
    .google-reviews-button,
    .faq-whatsapp-button,
    .final-cta-button,
    .about-hero__image,
    .navigation-toggle span {
        transition: none;
    }
}
/* ==================================================
   PAGINA CHI SONO — I MIEI VALORI
================================================== */

.about-values {
    padding: 90px 0 100px;
    background-color: var(--bianco-caldo);
}

.about-values__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* INTESTAZIONE */

.about-values__heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.about-values__heading h2 {
    margin-bottom: 18px;

    color: var(--verde-principale);

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.about-values__heading > p:last-child {
    max-width: 650px;
    margin: 0 auto;

    color: var(--testo-secondario);

    font-size: 15px;
    line-height: 1.75;
}


/* GRIGLIA */

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* CARD */

.about-value-card {
    position: relative;

    min-height: 300px;
    padding: 32px 28px;

    overflow: hidden;

    background-color: #ffffff;
    border: 1px solid var(--bordo);
    border-radius: 18px;

    box-shadow: var(--ombra-leggera);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.about-value-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background-color: var(--verde-principale);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.35s ease;
}

.about-value-card:hover {
    border-color: var(--verde-salvia-medio);
    box-shadow: var(--ombra-media);
    transform: translateY(-6px);
}

.about-value-card:hover::before {
    transform: scaleX(1);
}


/* ICONA SVG */

.about-value-card__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 25px;

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

    color: var(--verde-principale);
    background-color: var(--verde-chiarissimo);
    border: 1px solid var(--bordo);
    border-radius: 50%;

    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.about-value-card__icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-value-card:hover .about-value-card__icon {
    color: #ffffff;
    background-color: var(--verde-principale);
    border-color: var(--verde-principale);
    transform: translateY(-2px) scale(1.05);
}


/* TESTI */

.about-value-card h3 {
    margin-bottom: 14px;

    color: var(--verde-profondo);

    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.about-value-card p {
    color: var(--testo-secondario);

    font-size: 14px;
    line-height: 1.75;
}


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

@media (max-width: 900px) {

    .about-values {
        padding: 75px 0 82px;
    }

    .about-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-value-card {
        min-height: 270px;
    }
}


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

@media (max-width: 600px) {

    .about-values {
        padding: 60px 0 68px;
    }

    .about-values__container {
        width: calc(100% - 30px);
    }

    .about-values__heading {
        margin-bottom: 36px;
    }

    .about-values__heading h2 {
        font-size: clamp(31px, 10vw, 39px);
    }

    .about-values__heading > p:last-child {
        font-size: 14px;
    }

    .about-values__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-value-card {
        min-height: auto;
        padding: 28px 24px 30px;
    }

    .about-value-card__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 22px;
    }

    .about-value-card__icon svg {
        width: 23px;
        height: 23px;
    }

    .about-value-card h3 {
        font-size: 24px;
    }
}
/* ==================================================
   PAGINA CHI SONO — FORMAZIONE
================================================== */

.about-training {
    padding: 86px 0 92px;

    background:
        radial-gradient(
            circle at top left,
            rgba(228, 236, 225, 0.55),
            transparent 34%
        ),
        var(--beige-chiaro);
}

.about-training__container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}


/* INTRO */

.about-training__intro {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.about-training__intro h2 {
    margin-bottom: 17px;

    color: var(--verde-principale);

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.about-training__intro > p:last-child {
    max-width: 690px;
    margin: 0 auto;

    color: var(--testo-secondario);

    font-size: 15px;
    line-height: 1.75;
}


/* GRIGLIA */

.about-training__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}


/* SINGOLO ATTESTATO */

.about-training__item {
    min-height: 62px;
    padding: 13px 17px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--testo-principale);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--bordo);
    border-radius: 14px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;

    box-shadow: 0 8px 24px rgba(34, 65, 45, 0.04);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.about-training__item:hover {
    border-color: var(--verde-salvia-medio);
    box-shadow: var(--ombra-leggera);
    transform: translateY(-3px);
}

.about-training__check {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;

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

    color: var(--verde-principale);
    background-color: var(--verde-chiarissimo);
    border: 1px solid var(--verde-salvia-medio);
    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}


/* NOTA FINALE */

.about-training__note {
    max-width: 760px;
    margin: 34px auto 0;
    padding: 20px 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background-color: rgba(228, 236, 225, 0.75);
    border: 1px solid var(--verde-salvia-medio);
    border-radius: 16px;
}

.about-training__note-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

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

    color: var(--verde-principale);
    background-color: #ffffff;
    border-radius: 50%;
}

.about-training__note-icon svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-training__note p {
    margin: 0;

    color: var(--verde-profondo);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}


/* TABLET */

@media (max-width: 900px) {

    .about-training {
        padding: 74px 0 80px;
    }

    .about-training__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .about-training {
        padding: 60px 0 66px;
    }

    .about-training__container {
        width: calc(100% - 30px);
    }

    .about-training__intro {
        margin-bottom: 34px;
    }

    .about-training__intro h2 {
        font-size: clamp(31px, 10vw, 39px);
    }

    .about-training__intro > p:last-child {
        font-size: 14px;
    }

    .about-training__grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .about-training__item {
        min-height: 58px;
        padding: 12px 15px;
    }

    .about-training__note {
        margin-top: 28px;
        padding: 18px;
        align-items: flex-start;
    }
}/* ==================================================
   PAGINA TRATTAMENTI
================================================== */

.treatments-intro {
    padding: 70px 0 28px;
    background-color: var(--bianco-caldo);
}

.treatments-intro__container {
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
}

.treatments-intro h1 {
    margin-bottom: 16px;

    color: var(--verde-principale);

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.treatments-intro__text {
    max-width: 680px;
    margin: 0 auto;

    color: var(--testo-secondario);

    font-size: 15px;
    line-height: 1.75;
}


/* SEZIONE CARD */

.treatments-section {
    padding: 28px 0 94px;
    background-color: var(--bianco-caldo);
}

.treatments-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* CARD */

.treatment-card {
    min-width: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    color: var(--testo-principale);
    background-color: #ffffff;
    border: 1px solid var(--bordo);
    border-radius: 18px;

    box-shadow: var(--ombra-leggera);

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.treatment-card:hover {
    color: var(--testo-principale);
    border-color: var(--verde-salvia-medio);
    box-shadow: var(--ombra-media);
    transform: translateY(-6px);
}

.treatment-card__image-wrap {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background-color: var(--beige-medio);
}

.treatment-card__image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.65s ease;
}

.treatment-card:hover .treatment-card__image {
    transform: scale(1.045);
}


/* CONTENUTO CARD */

.treatment-card__content {
    min-height: 174px;
    padding: 22px 20px 23px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.treatment-card__text {
    min-width: 0;
}

.treatment-card h2 {
    margin-bottom: 10px;

    color: var(--verde-profondo);

    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.treatment-card p {
    color: var(--testo-secondario);

    font-size: 13px;
    line-height: 1.7;
}

.treatment-card__arrow {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

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

    margin-top: 1px;

    color: var(--verde-principale);
    background-color: var(--verde-chiarissimo);
    border: 1px solid transparent;
    border-radius: 50%;

    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.treatment-card:hover .treatment-card__arrow {
    color: #ffffff;
    background-color: var(--verde-principale);
    border-color: var(--verde-principale);
    transform: translateX(3px);
}


/* CTA WHATSAPP */

.treatments-help {
    max-width: 760px;
    margin: 38px auto 0;
    padding: 18px 20px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;

    background-color: var(--verde-chiarissimo);
    border: 1px solid var(--verde-salvia-medio);
    border-radius: 16px;
}

.treatments-help__icon {
    width: 44px;
    height: 44px;

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

    color: var(--verde-principale);
    background-color: #ffffff;
    border-radius: 50%;
}

.treatments-help__icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.treatments-help__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.treatments-help__text strong {
    color: var(--verde-profondo);

    font-size: 14px;
    font-weight: 700;
}

.treatments-help__text span {
    color: var(--testo-secondario);

    font-size: 13px;
    line-height: 1.5;
}

.treatments-help__button {
    width: 46px;
    height: 46px;

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

    color: #ffffff;
    background-color: var(--verde-principale);
    border-radius: 50%;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.treatments-help__button:hover {
    background-color: var(--verde-scuro);
    transform: translateY(-2px);
}

.treatments-help__button svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}


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

@media (max-width: 950px) {

    .treatments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .treatment-card__image-wrap {
        height: 240px;
    }
}


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

@media (max-width: 620px) {

    .treatments-intro {
        padding: 54px 0 22px;
    }

    .treatments-intro__container,
    .treatments-container {
        width: calc(100% - 30px);
    }

    .treatments-intro h1 {
        font-size: clamp(38px, 12vw, 48px);
    }

    .treatments-intro__text {
        font-size: 14px;
    }

    .treatments-section {
        padding: 22px 0 68px;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .treatment-card__image-wrap {
        height: 220px;
    }

    .treatment-card__content {
        min-height: auto;
        padding: 21px 18px 22px;
    }

    .treatment-card h2 {
        font-size: 21px;
    }

    .treatments-help {
        margin-top: 30px;
        padding: 18px;

        grid-template-columns: auto 1fr;
    }

    .treatments-help__button {
        grid-column: 1 / -1;

        width: 100%;
        height: 48px;

        border-radius: 50px;
    }
}
/* ==================================================
   HEADER PREMIUM — SHAMÁ STUDIO MASSAGGI
================================================== */

.site-header {
    --header-height: 92px;

    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: var(--header-height);
    background: rgba(250, 248, 243, 0.96);
    border-bottom: 1px solid transparent;
    transition:
        min-height 0.4s ease,
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
    --header-height: 74px;

    background: rgba(250, 248, 243, 0.82);
    border-bottom-color: rgba(46, 63, 49, 0.1);
    box-shadow: 0 12px 35px rgba(35, 48, 38, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* Contenitore */

.header-container {
    width: min(1380px, calc(100% - 80px));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 46px;
    transition:
        min-height 0.4s ease,
        width 0.4s ease;
}


/* ==================================================
   LOGO
================================================== */

.site-logo {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: none;
    height: 62px;
    object-fit: contain;
    transition:
        height 0.4s ease,
        transform 0.35s ease,
        opacity 0.35s ease;
}

.site-logo:hover img {
    transform: translateY(-1px);
    opacity: 0.9;
}

.site-header.is-scrolled .site-logo img {
    height: 50px;
}


/* ==================================================
   NAVIGAZIONE DESKTOP
================================================== */

.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.navigation-list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.3vw, 42px);
    list-style: none;
}

.navigation-list li {
    position: relative;
    margin: 0;
    padding: 0;
}

.navigation-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    color: #314235;
    font-family: "DM Sans", sans-serif;
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.035em;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}


/* Linea animata sotto le voci */

.navigation-list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: #60755b;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.navigation-list a:hover,
.navigation-list a:focus-visible {
    color: #1f3527;
}

.navigation-list a:hover::after,
.navigation-list a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
}


/* Pagina attiva */

.navigation-list a.active,
.navigation-list a[aria-current="page"] {
    color: #263f31;
    font-weight: 600;
}

.navigation-list a.active::after,
.navigation-list a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left center;
}


/* Focus accessibile */

.navigation-list a:focus-visible,
.site-logo:focus-visible,
.navigation-toggle:focus-visible {
    outline: 2px solid rgba(79, 101, 75, 0.65);
    outline-offset: 6px;
    border-radius: 2px;
}


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

.navigation-toggle {
    position: relative;
    z-index: 1002;
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(49, 66, 53, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    color: #263f31;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.navigation-toggle:hover {
    border-color: rgba(49, 66, 53, 0.28);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.navigation-toggle span {
    width: 19px;
    height: 1.5px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition:
        transform 0.35s ease,
        opacity 0.25s ease;
}


/* Trasformazione hamburger in X */

.navigation-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.navigation-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navigation-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* ==================================================
   TABLET E MENU MOBILE
================================================== */

@media (max-width: 1120px) {

    .site-header {
        --header-height: 82px;
    }

    .site-header.is-scrolled {
        --header-height: 70px;
    }

    .header-container {
        width: min(100% - 48px, 1380px);
    }

    .site-logo img {
        height: 55px;
    }

    .site-header.is-scrolled .site-logo img {
        height: 46px;
    }

    .navigation-toggle {
        display: inline-flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: min(430px, 88vw);
        height: 100dvh;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        padding: 128px 42px 45px;
        overflow-y: auto;
        background:
            radial-gradient(
                circle at 85% 5%,
                rgba(174, 185, 154, 0.26),
                transparent 34%
            ),
            rgba(248, 245, 239, 0.98);
        box-shadow: -25px 0 65px rgba(31, 45, 34, 0.16);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(105%);
        visibility: hidden;
        transition:
            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.5s;
    }

    .main-navigation.is-open,
    .main-navigation.active,
    .navigation-toggle[aria-expanded="true"] + .main-navigation {
        transform: translateX(0);
        visibility: visible;
        transition:
            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0s;
    }

    .navigation-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navigation-list li {
        width: 100%;
        border-bottom: 1px solid rgba(49, 66, 53, 0.1);
    }

    .navigation-list a {
        width: 100%;
        min-height: 63px;
        justify-content: space-between;
        padding: 10px 4px;
        font-family: "Playfair Display", serif;
        font-size: 1.25rem;
        letter-spacing: 0;
    }

    .navigation-list a::after {
        top: 50%;
        right: 4px;
        bottom: auto;
        left: auto;
        width: 26px;
        transform: translateY(-50%) scaleX(0);
    }

    .navigation-list a:hover::after,
    .navigation-list a:focus-visible::after,
    .navigation-list a.active::after,
    .navigation-list a[aria-current="page"]::after {
        transform: translateY(-50%) scaleX(1);
    }
}


/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 650px) {

    .site-header {
        --header-height: 74px;
    }

    .site-header.is-scrolled {
        --header-height: 66px;
    }

    .header-container {
        width: calc(100% - 32px);
        gap: 20px;
    }

    .site-logo img {
        height: 48px;
    }

    .site-header.is-scrolled .site-logo img {
        height: 43px;
    }

    .navigation-toggle {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .main-navigation {
        width: 100%;
        padding: 108px 25px 35px;
        box-shadow: none;
    }

    .navigation-list a {
        min-height: 60px;
        font-size: 1.15rem;
    }
}


/* ==================================================
   BLOCCO SCROLL QUANDO IL MENU È APERTO
================================================== */

body.navigation-open {
    overflow: hidden;
}


/* ==================================================
   RIDUZIONE ANIMAZIONI
================================================== */

@media (prefers-reduced-motion: reduce) {

    .site-header,
    .site-logo img,
    .navigation-list a,
    .navigation-list a::after,
    .navigation-toggle,
    .navigation-toggle span,
    .main-navigation {
        transition-duration: 0.01ms !important;
    }
}
@media (max-width: 768px) {
    .header-container {
        width: min(100% - 32px, 1380px);
        min-height: 82px;
    }

    .site-logo img {
        width: 115px;
        max-height: 70px;
    }
}
/* ========================================
   ANIMAZIONI
======================================== */

/* ========================================
   Fade immagini
======================================== */

main img {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity .8s ease,
        transform .8s ease;
    will-change: opacity, transform;
}

main img.visible {
    opacity: 1;
    transform: translateY(0);
}/* ==================================================
   FOOTER DEFINITIVO
================================================== */

.site-footer {
    background-color: #194b38;
    color: #ffffff;
    padding: 18px 0 0;
}

.footer-container {
    width: min(88%, 1450px);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 260px 140px 1fr;
    align-items: center;
    gap: 60px;
    padding: 8px 0 18px;
}

.footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.footer-logo img {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    transform: translateX(240px);
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.75);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-cta p {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.2;
}

.footer-cta-button {
    min-height: 46px;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.footer-cta-button span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.footer-cta-button:hover {
    background-color: #ffffff;
    color: #194b38;
    transform: translateY(-2px);
}

.footer-cta-button:hover span {
    transform: translateX(4px);
}

.footer-bottom {
    min-height: auto;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.28);
}

/* ==================================================
   FOOTER RESPONSIVE
================================================== */

@media (max-width: 900px) {
    .footer-top {
        gap: 35px;
    }

    .footer-logo img {
        width: 280px;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding-top: 20px;
    }

    .footer-container {
        width: min(88%, 560px);
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-bottom: 20px;
    }

    .footer-logo img {
        width: 200px;
    }

    .footer-cta {
        width: 100%;
        text-align: left;
    }

    .footer-cta p {
        font-size: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 0;
    }
}

@media (max-width: 420px) {
    .footer-logo img {
        width: 190px;
    }

    .footer-cta-button {
        width: 100%;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 11px;
    }
}

/* =========================================================
   CORREZIONE SCORRIMENTO ORIZZONTALE MOBILE
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

.site-header,
main,
.site-footer {
    max-width: 100%;
}

@media (max-width: 1120px) {
    .main-navigation {
        right: 0;
        left: auto;
        max-width: 100vw;
        box-sizing: border-box;
    }
}

@media (max-width: 700px) {
    .main-navigation {
        width: 100%;
        max-width: 100%;
    }

    .footer-social {
        transform: none;
    }
}


/* =========================================================
   HOME MOBILE — RIFINITURE GRAFICHE E MENU
   ========================================================= */

@media (max-width: 650px) {
    /* Il pulsante resta sopra agli altri livelli ed è sempre cliccabile */
    .site-header,
    .header-container {
        overflow: visible;
    }

    .navigation-toggle {
        position: relative;
        z-index: 10020;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .main-navigation {
        z-index: 10010;
    }

    /* Benefici più compatti, senza cambiare la struttura */
    .benefits-section {
        padding-bottom: 48px;
    }

    .benefits-grid {
        gap: 22px;
    }

    .benefit-card {
        padding-block: 0;
    }

    .benefit-icon {
        margin-bottom: 12px;
    }

    .benefit-card h2 {
        margin-bottom: 7px;
    }

    /* Più respiro nella CTA conclusiva */
    .final-cta {
        min-height: 310px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    /* Social perfettamente centrati nel footer mobile */
    .footer-top {
        align-items: center;
    }

    .footer-brand,
    .footer-social {
        width: 100%;
        justify-content: center;
        transform: none;
    }

    .footer-cta {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-bottom {
        align-items: center;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* =========================================================
   FIX DEFINITIVO MENU E FOOTER MOBILE
   ========================================================= */

@media (max-width: 650px) {
    /* Pulsante menu: hamburger sempre visibile */
    .navigation-toggle {
        position: relative;
        z-index: 10030;
        display: inline-flex;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        padding: 0;
        border: 1px solid rgba(48, 77, 61, 0.22);
        border-radius: 50%;
        background: #ffffff;
        color: #304d3d;
        box-shadow: 0 5px 16px rgba(48, 77, 61, 0.08);
    }

    .navigation-toggle span {
        position: absolute;
        left: 50%;
        width: 18px !important;
        height: 2px !important;
        margin: 0 !important;
        display: block !important;
        border-radius: 999px;
        background: #304d3d !important;
        opacity: 1 !important;
        transform-origin: center;
    }

    .navigation-toggle span:nth-child(1) {
        top: 13px;
        transform: translateX(-50%);
    }

    .navigation-toggle span:nth-child(2) {
        top: 20px;
        transform: translateX(-50%);
    }

    .navigation-toggle span:nth-child(3) {
        top: 27px;
        transform: translateX(-50%);
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(1) {
        top: 20px;
        transform: translateX(-50%) rotate(45deg);
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0 !important;
        transform: translateX(-50%) scaleX(0);
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(3) {
        top: 20px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* Menu compatto sotto l'header, non sovrapposto in trasparenza */
    .main-navigation {
        position: fixed;
        top: 74px;
        right: 12px;
        left: 12px;
        z-index: 10020;
        width: auto;
        height: auto;
        min-height: 0;
        max-height: calc(100dvh - 92px);
        padding: 12px 20px 18px;
        display: block;
        overflow-y: auto;
        border: 1px solid rgba(48, 77, 61, 0.12);
        border-radius: 0 0 20px 20px;
        background: #fdfcf9;
        box-shadow: 0 18px 45px rgba(36, 58, 45, 0.16);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0s linear 0.22s;
    }

    .site-header.is-scrolled .main-navigation {
        top: 66px;
    }

    .main-navigation.is-open,
    .main-navigation.active,
    .navigation-toggle[aria-expanded="true"] + .main-navigation {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0s linear 0s;
    }

    .navigation-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .navigation-list li {
        width: 100%;
        border-bottom: 1px solid rgba(48, 77, 61, 0.10);
    }

    .navigation-list li:last-child {
        border-bottom: 0;
    }

    .navigation-list a {
        width: 100%;
        min-height: 49px;
        padding: 12px 4px;
        display: flex;
        align-items: center;
        color: #304d3d;
        font-family: "DM Sans", sans-serif;
        font-size: 0.98rem;
        font-weight: 600;
        line-height: 1.25;
    }

    .navigation-list a::after {
        display: none;
    }

    .navigation-list a.active,
    .navigation-list a[aria-current="page"] {
        color: #6e8874;
    }

    /* Footer mobile realmente centrato */
    .site-footer {
        padding: 28px 0 0;
    }

    .footer-container {
        width: calc(100% - 36px);
        max-width: 520px;
    }

    .footer-top {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0 0 24px;
        text-align: center;
    }

    .footer-brand,
    .footer-social,
    .footer-cta {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none !important;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-logo img {
        width: 190px;
        max-width: 80vw;
        margin: 0 auto;
    }

    .footer-social {
        gap: 12px;
        flex-wrap: wrap;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
    }

    .footer-cta p {
        margin-bottom: 12px;
        text-align: center;
    }

    .footer-cta-button {
        width: auto;
        min-width: 220px;
    }

    .footer-bottom {
        width: 100%;
        padding: 14px 0 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 9px;
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
    }

    .footer-legal {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =========================================================
   HOME MOBILE — RIFINITURA GRAFICA FINALE
   ========================================================= */
@media (max-width: 650px) {
    /* Header: logo più leggibile mantenendo l'altezza compatta */
    .header-container {
        min-height: 72px;
    }

    .site-logo {
        width: 132px;
        height: 70px;
        justify-content: flex-start;
    }

    .site-logo img {
        width: 132px;
        max-height: 66px;
        object-fit: contain;
    }

    /* Hero: margini laterali più equilibrati */
    .hero-container {
        width: calc(100% - 48px);
    }

    .hero-content {
        padding-inline: 0;
    }

    /* Benefici: maggiore respiro tra icona, titolo e testo */
    .benefits-grid {
        gap: 32px;
    }

    .benefit-icon {
        margin-bottom: 15px;
    }

    .benefit-card h2 {
        margin-bottom: 9px;
    }

    /* Recensioni: card più morbida e raffinata */
    .review-card {
        border-radius: 20px;
        box-shadow: 0 14px 34px rgba(34, 65, 45, 0.08);
    }

    /* CTA delle FAQ più ampia e leggibile */
    .faq-cta {
        width: calc(100% + 8px);
        margin-left: -4px;
        margin-right: -4px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    /* CTA finale più presente */
    .final-cta {
        min-height: 340px;
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .final-cta h2 {
        max-width: 310px;
        font-size: 38px;
        line-height: 1.04;
    }

    /* Footer: proporzioni e spaziature definitive */
    .footer-logo img {
        width: 176px;
        max-width: 72vw;
    }

    .footer-social {
        gap: 16px;
    }

    .footer-bottom p {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    /* Menu mobile completamente opaco */
    .main-navigation {
        background: #fdfcf9;
        opacity: 0;
    }

    .main-navigation.is-open,
    .main-navigation.active,
    .navigation-toggle[aria-expanded="true"] + .main-navigation {
        opacity: 1;
    }
}

/* =========================================================
   SOTTOMENU TRATTAMENTI — GLOBALE
   Desktop + mobile
   ========================================================= */

.navigation-item--has-submenu {
    position: relative;
}

.navigation-parent-row {
    display: flex;
    align-items: center;
}

.navigation-parent-link {
    flex: 1 1 auto;
}

.submenu-toggle {
    width: 30px;
    height: 30px;
    margin-left: 7px;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #355943;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.submenu-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.navigation-submenu {
    position: absolute;
    z-index: 1100;
    top: calc(100% + 8px);
    left: 50%;
    width: 275px;
    margin: 0;
    padding: 12px;
    list-style: none;
    background: rgba(253, 252, 249, 0.99);
    border: 1px solid rgba(53, 99, 71, 0.12);
    border-radius: 15px;
    box-shadow: 0 18px 46px rgba(33, 60, 43, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0s linear 0.22s;
}

.navigation-submenu::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    width: 18px;
    height: 18px;
    background: #fdfcf9;
    border-top: 1px solid rgba(53, 99, 71, 0.12);
    border-left: 1px solid rgba(53, 99, 71, 0.12);
    transform: translateX(-50%) rotate(45deg);
}

.navigation-submenu li {
    position: relative;
    z-index: 1;
    width: 100%;
}

.navigation-submenu a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    color: #34443a;
    border: 0;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.navigation-submenu a::after {
    display: none;
}

.navigation-submenu a:hover,
.navigation-submenu a:focus-visible,
.navigation-submenu a.active {
    color: #214832;
    background: #eef4ec;
    transform: translateX(3px);
}

.navigation-item--has-submenu:hover > .navigation-submenu,
.navigation-item--has-submenu:focus-within > .navigation-submenu,
.navigation-item--has-submenu.submenu-open > .navigation-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0s linear 0s;
}

.navigation-item--has-submenu:hover .submenu-toggle svg,
.navigation-item--has-submenu:focus-within .submenu-toggle svg,
.navigation-item--has-submenu.submenu-open .submenu-toggle svg {
    transform: rotate(180deg);
}

@media (max-width: 880px) {
    .navigation-item--has-submenu {
        width: 100%;
    }

    .navigation-parent-row {
        width: 100%;
        border-bottom: 1px solid rgba(36, 69, 54, 0.07);
    }

    .navigation-parent-row > .navigation-parent-link {
        width: auto;
        border-bottom: 0;
    }

    .submenu-toggle {
        width: 44px;
        height: 44px;
        margin: 0 0 0 auto;
        flex: 0 0 44px;
    }

    .navigation-submenu {
        position: static;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0 0 0 17px;
        overflow: hidden;
        background: #f3f6f1;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition:
            max-height 0.34s ease,
            padding-top 0.34s ease,
            padding-bottom 0.34s ease;
    }

    .navigation-submenu::before {
        display: none;
    }

    .navigation-item--has-submenu.submenu-open > .navigation-submenu {
        max-height: 440px;
        padding-top: 8px;
        padding-bottom: 10px;
        transform: none;
    }

    .navigation-submenu a {
        padding: 11px 12px;
        border-bottom: 1px solid rgba(36, 69, 54, 0.06);
        border-radius: 0;
        font-size: 0.86rem;
        transform: none;
    }

    .navigation-submenu li:last-child a {
        border-bottom: 0;
    }

    .navigation-submenu a:hover,
    .navigation-submenu a:focus-visible,
    .navigation-submenu a.active {
        transform: none;
    }
}

/* =========================================================
   FIX DEFINITIVO MENU MOBILE A QUALSIASI ALTEZZA
   Evita il problema dei browser mobile con fixed dentro
   header sticky + backdrop-filter.
   ========================================================= */

@media (max-width: 880px) {
    .site-header,
    .site-header.is-scrolled {
        overflow: visible !important;
        transform: none !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        contain: none !important;
        perspective: none !important;
    }

    .header-container {
        transform: none !important;
        filter: none !important;
        contain: none !important;
    }

    .main-navigation {
        position: fixed !important;
        z-index: 2147483000 !important;
        top: 74px !important;
        right: 12px !important;
        bottom: auto !important;
        left: 12px !important;

        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100dvh - 92px) !important;

        margin: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        background: #fdfcf9 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .site-header.is-scrolled .main-navigation {
        top: 66px !important;
        max-height: calc(100dvh - 84px) !important;
    }

    .navigation-toggle {
        position: relative !important;
        z-index: 2147483100 !important;
    }

    .main-navigation.is-open,
    .main-navigation.active,
    .navigation-toggle[aria-expanded="true"] + .main-navigation {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    body.navigation-open {
        overflow: hidden !important;
    }
}


/* =========================================================
   TABLET LARGE — iPad Pro (881–1120px)
   Correzioni globali senza alterare desktop e smartphone
   ========================================================= */
@media (min-width: 881px) and (max-width: 1120px) {

    /* HEADER / MENU */
    .header-container {
        width: calc(100% - 44px) !important;
        height: 82px !important;
        grid-template-columns: 150px 1fr 60px !important;
    }

    .site-logo {
        width: 128px !important;
        height: 72px !important;
    }

    .site-logo img {
        max-height: 68px !important;
    }

    .navigation-toggle {
        display: block !important;
        justify-self: end;
        width: 42px !important;
        height: 42px !important;
        padding: 10px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(53,99,71,.14) !important;
        background: rgba(253,252,249,.96) !important;
    }

    .navigation-toggle span {
        display: block !important;
        width: 20px !important;
        height: 1.5px !important;
        margin: 4.5px auto !important;
        background: #244536 !important;
    }

    .main-navigation {
        position: fixed !important;
        z-index: 2147483000 !important;
        top: 82px !important;
        right: 22px !important;
        left: auto !important;
        bottom: auto !important;
        width: min(520px, calc(100vw - 44px)) !important;
        max-height: calc(100dvh - 104px) !important;
        margin: 0 !important;
        padding: 18px 26px 24px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #fdfcf9 !important;
        border: 1px solid rgba(53,99,71,.11) !important;
        border-radius: 0 0 18px 18px !important;
        box-shadow: 0 18px 44px rgba(36,58,45,.14) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
    }

    .main-navigation.is-open,
    .main-navigation.active,
    .navigation-toggle[aria-expanded="true"] + .main-navigation {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .navigation-list {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navigation-list li {
        width: 100% !important;
    }

    .navigation-list a {
        display: block !important;
        width: 100% !important;
        padding: 13px 4px !important;
        border-bottom: 1px solid rgba(36,69,54,.07) !important;
        font-size: .96rem !important;
    }

    /* FOOTER — niente elementi ammassati */
    .site-footer {
        padding-top: 24px !important;
    }

    .footer-container {
        width: min(92%, 960px) !important;
    }

    .footer-top {
        display: grid !important;
        grid-template-columns: minmax(210px, .9fr) auto minmax(260px, 1fr) !important;
        gap: 26px !important;
        align-items: center !important;
        padding: 8px 0 22px !important;
    }

    .footer-brand {
        justify-content: flex-start !important;
    }

    .footer-logo img {
        width: 205px !important;
    }

    .footer-social {
        justify-content: center !important;
        gap: 10px !important;
        transform: none !important;
    }

    .footer-social a {
        width: 36px !important;
        height: 36px !important;
    }

    .footer-cta {
        align-items: flex-end !important;
        text-align: right !important;
    }

    .footer-cta p {
        max-width: 300px !important;
        font-size: 21px !important;
        line-height: 1.13 !important;
    }

    .footer-cta-button {
        min-height: 42px !important;
        padding: 8px 17px !important;
        font-size: 12px !important;
    }

    .footer-bottom {
        padding: 12px 0 !important;
        gap: 20px !important;
    }

    .footer-bottom p,
    .footer-legal a {
        font-size: 11px !important;
    }
}

/* =========================================================
   FIX DEFINITIVO MENU — iPad Pro / TABLET LARGE
   Menu compatto e sempre ancorato alla finestra.
   ========================================================= */
@media (min-width: 881px) and (max-width: 1120px) {

    /*
     * backdrop-filter/transform sull'header possono fare da
     * containing block a position:fixed su Safari/Chrome tablet.
     * Li neutralizziamo solo in questa fascia.
     */
    .site-header,
    .site-header.is-scrolled,
    .header-container {
        overflow: visible !important;
        transform: none !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        contain: none !important;
        perspective: none !important;
    }

    .main-navigation {
        position: fixed !important;
        z-index: 2147483000 !important;

        top: 74px !important;
        right: 18px !important;
        bottom: auto !important;
        left: auto !important;

        width: min(430px, calc(100vw - 36px)) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100dvh - 94px) !important;

        margin: 0 !important;
        padding: 10px 20px 14px !important;

        display: block !important;
        align-items: initial !important;
        justify-content: initial !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        background: #fdfcf9 !important;
        border: 1px solid rgba(53, 99, 71, 0.11) !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 16px 38px rgba(36, 58, 45, 0.14) !important;
    }

    .site-header.is-scrolled .main-navigation {
        top: 66px !important;
        max-height: calc(100dvh - 86px) !important;
    }

    .navigation-list {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navigation-list > li {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .navigation-list > li > a,
    .navigation-parent-row > a {
        min-height: 0 !important;
        padding: 10px 4px !important;
        line-height: 1.25 !important;
    }

    .navigation-parent-row {
        min-height: 0 !important;
    }

    .submenu-toggle {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }

    .navigation-submenu {
        max-height: 0 !important;
        overflow: hidden !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .navigation-item--has-submenu.submenu-open > .navigation-submenu {
        max-height: 390px !important;
        padding-top: 7px !important;
        padding-bottom: 8px !important;
    }

    .navigation-toggle {
        position: relative !important;
        z-index: 2147483100 !important;
    }

    body.navigation-open {
        overflow: hidden !important;
    }
}



/* =========================================================
   TABLET STRETTO DEFINITIVO — iPad Mini 651–880px
   ========================================================= */
@media (min-width: 651px) and (max-width: 880px) {

    /* Stabilizza rendering e screenshot lunghi su Chrome/Safari tablet */
    main img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    /* HOME */
    .hero-section {
        padding: 38px 0 28px !important;
    }

    .hero-container {
        width: min(100% - 34px, 720px) !important;
        gap: 30px !important;
    }

    .hero-title {
        font-size: clamp(42px, 7.4vw, 54px) !important;
        line-height: 1.02 !important;
    }

    .hero-image {
        height: 340px !important;
    }

    .benefits-section {
        padding: 34px 0 52px !important;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 30px !important;
    }

    .benefit-card {
        padding: 0 24px !important;
    }

    .reviews-section {
        padding: 58px 0 62px !important;
    }

    .faq-section {
        padding: 54px 0 60px !important;
    }

    .faq-heading {
        margin-bottom: 30px !important;
    }

    .faq-list {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .faq-question {
        min-height: 64px !important;
        padding: 15px 18px !important;
    }

    .faq-cta {
        margin-top: 28px !important;
    }

    .final-cta {
        min-height: 270px !important;
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    /* CHI SONO */
    .about-hero {
        padding: 26px 0 46px !important;
    }

    .about-hero__container {
        width: min(100% - 34px, 720px) !important;
        gap: 30px !important;
    }

    .about-hero__image-wrap {
        max-height: 500px !important;
    }

    .about-hero h1 {
        max-width: 620px !important;
        font-size: clamp(2.9rem, 8vw, 3.9rem) !important;
        line-height: 1.02 !important;
    }

    .about-values {
        padding: 60px 0 66px !important;
    }

    .about-values__grid {
        gap: 16px !important;
    }

    .about-value-card {
        min-height: 235px !important;
        padding: 26px 22px 28px !important;
    }

    .about-training {
        padding: 60px 0 66px !important;
    }

    .about-training__grid {
        gap: 11px !important;
    }

    /* PAGINA TRATTAMENTI */
    .treatments-intro {
        padding: 56px 0 24px !important;
    }

    .treatments-section {
        padding-top: 22px !important;
        padding-bottom: 62px !important;
    }

    .treatments-grid {
        gap: 20px !important;
    }

    .treatment-card__image-wrap {
        height: 220px !important;
    }

    .treatment-card__content {
        min-height: 205px !important;
        padding: 22px 20px 24px !important;
    }

    .treatments-help {
        margin-top: 26px !important;
    }

    
}

/* =========================================================
   iPAD MINI — FOOTER E SCROLL CONSOLIDATI
   Unico blocco valido 651–880px
   ========================================================= */
@media (min-width: 651px) and (max-width: 880px) {

    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body.navigation-open {
        height: auto !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        position: static !important;
        touch-action: auto !important;
    }

    main {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .site-footer {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 18px 0 10px !important;
        overflow: visible !important;
        background: #194b38 !important;
    }

    .footer-container {
        width: min(92%, 720px) !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .footer-top {
        display: grid !important;
        grid-template-columns: minmax(150px, 0.9fr) auto minmax(220px, 1.15fr) !important;
        grid-template-areas: "brand social cta" !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 4px 0 14px !important;
    }

    .footer-brand {
        grid-area: brand !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: auto !important;
    }

    .footer-logo {
        display: block !important;
        line-height: 0 !important;
    }

    .footer-logo img {
        display: block !important;
        width: 165px !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .footer-social {
        grid-area: social !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        width: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    .footer-social a {
        width: 31px !important;
        height: 31px !important;
        flex: 0 0 31px !important;
    }

    .footer-social a svg {
        width: 15px !important;
        height: 15px !important;
    }

    .footer-cta {
        grid-area: cta !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        width: auto !important;
        text-align: right !important;
    }

    .footer-cta p {
        display: block !important;
        max-width: 250px !important;
        margin: 0 0 7px !important;
        color: #fff !important;
        font-size: 17px !important;
        line-height: 1.08 !important;
    }

    .footer-cta-button {
        min-height: 34px !important;
        padding: 6px 12px !important;
        gap: 8px !important;
        font-size: 10px !important;
    }

    .footer-cta-button span {
        font-size: 14px !important;
    }

    .footer-bottom {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 9px 0 2px !important;
        overflow: visible !important;
        border-top: 1px solid rgba(255,255,255,.14) !important;
    }

    .footer-bottom p {
        display: block !important;
        margin: 0 !important;
        color: rgba(255,255,255,.78) !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
    }

    .footer-legal {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .footer-legal a {
        display: inline-block !important;
        color: rgba(255,255,255,.82) !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
    }

    .footer-divider {
        display: block !important;
        width: 1px !important;
        height: 12px !important;
    }
}

/* =========================================================
   iPAD MINI 768px — FIX STRUTTURALE REALE
   2026-08-08
   - header sempre visibile
   - menu sempre apribile
   - footer nel normale flusso pagina
   ========================================================= */
@media (min-width: 651px) and (max-width: 880px) {

    /* PAGINA */
    html {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body,
    body.navigation-open {
        position: relative !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        touch-action: auto !important;
    }

    /*
     * Il vecchio sticky era diventato instabile a causa dei numerosi
     * override tablet. Su questa fascia usiamo fixed esplicitamente.
     */
    .site-header,
    .site-header.is-scrolled {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        z-index: 2147483200 !important;

        width: 100% !important;
        height: 74px !important;
        min-height: 74px !important;
        max-height: 74px !important;

        margin: 0 !important;
        overflow: visible !important;

        background: rgba(250, 248, 243, 0.98) !important;
        border-bottom: 1px solid rgba(53, 99, 71, 0.10) !important;

        transform: none !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        contain: none !important;
    }

    /* Compensa l'header fixed, senza coprire il contenuto iniziale */
    body {
        padding-top: 74px !important;
    }

    .header-container {
        width: calc(100% - 32px) !important;
        height: 74px !important;
        min-height: 74px !important;
        max-height: 74px !important;
        margin: 0 auto !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        transform: none !important;
        filter: none !important;
        contain: none !important;
    }

    .site-logo {
        width: 116px !important;
        height: 64px !important;
        flex: 0 0 116px !important;
    }

    .site-logo img,
    .site-header.is-scrolled .site-logo img {
        width: 116px !important;
        height: auto !important;
        max-height: 58px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .navigation-toggle,
    .site-header.is-scrolled .navigation-toggle {
        position: relative !important;
        z-index: 2147483300 !important;
        display: inline-flex !important;
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /*
     * Menu ancorato direttamente alla viewport.
     * È visibile indipendentemente dal punto della pagina.
     */
    .main-navigation,
    .site-header.is-scrolled .main-navigation {
        position: fixed !important;
        z-index: 2147483250 !important;

        top: 74px !important;
        right: 16px !important;
        bottom: auto !important;
        left: 16px !important;

        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100dvh - 90px) !important;

        margin: 0 !important;
        padding: 10px 20px 14px !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        background: #fdfcf9 !important;
        border: 1px solid rgba(53, 99, 71, 0.11) !important;
        border-radius: 0 0 15px 15px !important;
        box-shadow: 0 16px 38px rgba(36, 58, 45, 0.14) !important;

        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
    }

    .main-navigation.is-open,
    .main-navigation.active,
    .navigation-toggle[aria-expanded="true"] + .main-navigation {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .navigation-list {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navigation-list > li {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .navigation-list > li > a,
    .navigation-parent-row > a {
        min-height: 0 !important;
        padding: 10px 4px !important;
        line-height: 1.25 !important;
    }

    /* CONTENUTO / CTA */
    main {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .final-cta {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 270px !important;
        max-height: none !important;
        margin: 0 !important;
    }

    /* FOOTER: esclusivamente nel flusso normale, subito dopo main */
    body > .site-footer {
        position: relative !important;
        inset: auto !important;
        float: none !important;
        clear: both !important;

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;

        width: 100% !important;
        height: auto !important;
        min-height: 118px !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 16px 0 8px !important;
        overflow: visible !important;

        background: #194b38 !important;
        color: #ffffff !important;
        contain: none !important;
    }

    body > .site-footer .footer-container {
        display: block !important;
        width: min(92%, 720px) !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    body > .site-footer .footer-top {
        display: grid !important;
        grid-template-columns: 160px 100px minmax(210px, 1fr) !important;
        grid-template-areas: "brand social cta" !important;
        align-items: center !important;
        gap: 14px !important;

        width: 100% !important;
        height: auto !important;
        min-height: 62px !important;
        padding: 2px 0 11px !important;
    }

    body > .site-footer .footer-brand {
        grid-area: brand !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    body > .site-footer .footer-logo img {
        display: block !important;
        width: 150px !important;
        height: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    body > .site-footer .footer-social {
        grid-area: social !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        margin: 0 !important;
        transform: none !important;
    }

    body > .site-footer .footer-social a {
        display: inline-flex !important;
        width: 29px !important;
        height: 29px !important;
        flex: 0 0 29px !important;
    }

    body > .site-footer .footer-cta {
        grid-area: cta !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        text-align: right !important;
    }

    body > .site-footer .footer-cta p {
        display: block !important;
        margin: 0 0 5px !important;
        color: #ffffff !important;
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    body > .site-footer .footer-cta-button {
        display: inline-flex !important;
        min-height: 31px !important;
        padding: 5px 10px !important;
        font-size: 9px !important;
    }

    body > .site-footer .footer-bottom {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;

        width: 100% !important;
        height: auto !important;
        min-height: 28px !important;
        margin: 0 !important;
        padding: 7px 0 0 !important;

        overflow: visible !important;
        border-top: 1px solid rgba(255,255,255,.14) !important;
    }

    body > .site-footer .footer-bottom p,
    body > .site-footer .footer-legal a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 8px !important;
        line-height: 1.25 !important;
    }

    body > .site-footer .footer-legal {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
    }
}


/* =========================================================
   FIX MENU TABLET 651–1120px
   Il sottomenu Trattamenti resta dentro il pannello e si
   apre verticalmente, come su smartphone.
   ========================================================= */
@media (min-width: 651px) and (max-width: 1120px) {
    .navigation-item--has-submenu {
        position: relative !important;
    }

    .navigation-parent-row {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
    }

    .navigation-parent-link {
        flex: 1 1 auto !important;
    }

    .navigation-submenu,
    .navigation-item--has-submenu:hover > .navigation-submenu,
    .navigation-item--has-submenu:focus-within > .navigation-submenu {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 12px !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;

        max-height: 0 !important;
        overflow: hidden !important;

        background: #f4f7f2 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transition: max-height .25s ease, padding .25s ease !important;
    }

    .navigation-submenu::before {
        display: none !important;
    }

    .navigation-item--has-submenu.submenu-open > .navigation-submenu,
    .navigation-item--has-submenu.submenu-open:hover > .navigation-submenu,
    .navigation-item--has-submenu.submenu-open:focus-within > .navigation-submenu {
        max-height: 430px !important;
        padding: 6px 12px 8px !important;
        transform: none !important;
    }

    .navigation-submenu li,
    .navigation-submenu a {
        width: 100% !important;
    }

    .navigation-submenu a {
        padding: 12px !important;
        border-bottom: 1px solid rgba(36, 69, 54, .10) !important;
        border-radius: 0 !important;
        transform: none !important;
    }
}


/* =========================================================
   RIFINITURA MENU TABLET / IPAD PRO
   Solo dimensioni e spaziature del pannello.
   ========================================================= */
@media (min-width: 900px) and (max-width: 1120px) {
    .navigation-menu {
        width: min(390px, calc(100vw - 48px)) !important;
    }

    .navigation-menu > li > a,
    .navigation-parent-link {
        font-size: 16px !important;
        line-height: 1.35 !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .submenu-toggle {
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
    }

    .navigation-submenu a {
        font-size: 15px !important;
        line-height: 1.35 !important;
        padding: 13px 14px !important;
    }
}

/* =========================================================
   RIFINITURA SOTTOMENU TRATTAMENTI
   - ponte hover desktop: il menu non si chiude spostando il mouse
   - maiuscole uniformi nelle voci dei singoli trattamenti
   ========================================================= */
.navigation-submenu a {
    text-transform: capitalize;
}

@media (min-width: 1121px) {
    .navigation-submenu::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 12px;
        background: transparent;
    }
}


/* =========================================================
   PRE-LANCIO 2026-09-07
   1) Desktop: evita che il sottomenu Trattamenti si chiuda
      spostando il mouse dal menu alle singole voci.
   2) Maiuscole nelle voci dei singoli trattamenti.
   ========================================================= */

.navigation-submenu a {
    text-transform: capitalize;
}

@media (min-width: 1121px) {
    .navigation-item--has-submenu > .navigation-submenu {
        top: calc(100% - 1px);
    }

    .navigation-item--has-submenu > .navigation-submenu::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 12px;
    }
}


/* =========================================================
   FIX DEFINITIVO HOVER MENU TRATTAMENTI DESKTOP
   Crea un ponte hover invisibile su tutta la larghezza
   tra la voce "Trattamenti" e il pannello del sottomenu.
   ========================================================= */
@media (min-width: 1121px) {
    .navigation-item--has-submenu {
        position: relative !important;
    }

    .navigation-item--has-submenu::after {
        content: "";
        position: absolute;
        left: -12px;
        right: -12px;
        top: 100%;
        height: 34px;
        background: transparent;
        pointer-events: auto;
    }

    .navigation-submenu {
        overflow: visible !important;
    }

    .navigation-submenu::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -34px;
        height: 34px;
        background: transparent;
        pointer-events: auto;
    }
}


/* =========================================================
   TABLET: MENU PIU GRANDE E LEGGIBILE
   ========================================================= */
@media (min-width: 651px) and (max-width: 1120px) {
    .navigation-menu {
        width: min(440px, calc(100vw - 56px)) !important;
        padding: 14px 18px 18px !important;
        background: #fffdf9 !important;
        border: 1px solid rgba(43, 74, 59, .12) !important;
        border-radius: 0 0 22px 22px !important;
        box-shadow: 0 16px 34px rgba(40, 55, 45, .14) !important;
    }

    .navigation-menu > li > a,
    .navigation-parent-link {
        font-size: 17px !important;
        line-height: 1.4 !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .submenu-toggle {
        width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
    }

    .submenu-toggle svg {
        width: 20px !important;
        height: 20px !important;
        stroke-width: 2.2 !important;
    }

    .navigation-submenu {
        margin-top: 4px !important;
        background: #f3f6f1 !important;
    }

    .navigation-submenu a {
        font-size: 16px !important;
        line-height: 1.4 !important;
        padding: 14px 16px !important;
    }
}


/* =========================================================
   TABLET: MENU FULL-WIDTH PIU ORDINATO
   ========================================================= */
@media (min-width: 651px) and (max-width: 1120px) {
    .navigation-menu {
        position: absolute !important;
        top: 100% !important;
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        max-width: none !important;

        padding: 10px 18px 16px !important;
        background: #fffdf9 !important;
        border: 1px solid rgba(43, 74, 59, .12) !important;
        border-radius: 0 0 22px 22px !important;
        box-shadow: 0 16px 34px rgba(40, 55, 45, .14) !important;
    }

    .navigation-menu > li > a,
    .navigation-parent-link {
        font-size: 18px !important;
        line-height: 1.35 !important;
        padding: 16px 2px !important;
    }

    .navigation-menu > li {
        border-bottom: 1px solid rgba(43, 74, 59, .10) !important;
    }

    .navigation-menu > li:last-child {
        border-bottom: 0 !important;
    }

    .navigation-parent-row {
        min-height: 54px !important;
    }

    .submenu-toggle {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
    }

    .navigation-submenu {
        width: 100% !important;
        margin-top: 4px !important;
        padding: 6px 10px 8px !important;
        background: #f3f6f1 !important;
        border-radius: 12px !important;
    }

    .navigation-submenu a {
        font-size: 16px !important;
        line-height: 1.35 !important;
        padding: 14px 12px !important;
    }
}


/* =========================================================
   TABLET: MENU GRANDE CENTRATO - OVERRIDE FINALE
   ========================================================= */
@media (min-width: 651px) and (max-width: 1120px) {
    .navigation-menu {
        position: fixed !important;
        top: 74px !important;
        left: 24px !important;
        right: 24px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 98px) !important;
        overflow-y: auto !important;

        padding: 14px 22px 18px !important;
        background: #fffdf9 !important;
        border: 1px solid rgba(43, 74, 59, .14) !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 42px rgba(40, 55, 45, .18) !important;
        z-index: 9999 !important;
    }

    .navigation-menu > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(43, 74, 59, .10) !important;
    }

    .navigation-menu > li:last-child {
        border-bottom: 0 !important;
    }

    .navigation-menu > li > a,
    .navigation-parent-link {
        display: flex !important;
        align-items: center !important;
        min-height: 56px !important;
        padding: 0 4px !important;
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    .navigation-parent-row {
        min-height: 56px !important;
        width: 100% !important;
    }

    .submenu-toggle {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
        margin-left: auto !important;
    }

    .submenu-toggle svg {
        width: 20px !important;
        height: 20px !important;
        stroke-width: 2.2 !important;
    }

    .navigation-submenu {
        width: 100% !important;
        margin: 0 0 8px !important;
        padding: 6px 12px 8px !important;
        background: #f3f6f1 !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    .navigation-submenu a {
        display: block !important;
        width: 100% !important;
        padding: 14px 10px !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
    }
}


/* =========================================================
   MENU TABLET DEFINITIVO — TUTTE LE PAGINE
   Usa i selettori reali del sito: .main-navigation / .navigation-list
   ========================================================= */
@media (min-width: 651px) and (max-width: 1120px) {

    .main-navigation {
        position: fixed !important;
        left: 24px !important;
        right: 24px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100dvh - 100px) !important;
        margin: 0 !important;
        padding: 16px 22px 20px !important;

        display: block !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

        background: #fdfcf9 !important;
        border: 1px solid rgba(53, 99, 71, 0.14) !important;
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 18px 44px rgba(36, 58, 45, 0.16) !important;

        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
        z-index: 2147483000 !important;
    }

    .main-navigation.is-open,
    .main-navigation.active,
    .navigation-toggle[aria-expanded="true"] + .main-navigation {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .navigation-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navigation-list > li {
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(36, 69, 54, 0.10) !important;
    }

    .navigation-list > li:last-child {
        border-bottom: 0 !important;
    }

    .navigation-list > li > a,
    .navigation-parent-row > .navigation-parent-link {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 54px !important;
        padding: 13px 6px !important;
        border: 0 !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
    }

    .navigation-parent-row {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 54px !important;
        border: 0 !important;
    }

    .submenu-toggle {
        width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
        margin-left: auto !important;
        padding: 10px !important;
    }

    .submenu-toggle svg {
        width: 20px !important;
        height: 20px !important;
        stroke-width: 2.2 !important;
    }

    .navigation-submenu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 12px !important;

        overflow: hidden !important;
        background: #f2f6f0 !important;
        border: 0 !important;
        border-radius: 12px !important;
        box-shadow: none !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;

        transition:
            max-height .32s ease,
            padding-top .32s ease,
            padding-bottom .32s ease !important;
    }

    .navigation-submenu::before,
    .navigation-submenu::after {
        display: none !important;
        content: none !important;
    }

    .navigation-item--has-submenu.submenu-open > .navigation-submenu {
        max-height: 460px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .navigation-submenu li {
        width: 100% !important;
        border-bottom: 1px solid rgba(36, 69, 54, 0.08) !important;
    }

    .navigation-submenu li:last-child {
        border-bottom: 0 !important;
    }

    .navigation-submenu a {
        display: block !important;
        width: 100% !important;
        padding: 13px 10px !important;
        border: 0 !important;
        border-radius: 0 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
        transform: none !important;
    }
}

@media (min-width: 651px) and (max-width: 880px) {
    .main-navigation {
        top: 74px !important;
        max-height: calc(100dvh - 94px) !important;
    }
}

@media (min-width: 881px) and (max-width: 1120px) {
    .main-navigation {
        top: 82px !important;
        max-height: calc(100dvh - 102px) !important;
    }
}

/* =========================================================
   DESKTOP: HEADER CENTRATO E BILANCIATO
   ========================================================= */
@media (min-width: 1121px) {
    .header-container {
        width: min(1180px, calc(100% - 80px)) !important;
        height: 92px !important;
        margin: 0 auto !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 42px !important;
    }

    .site-logo {
        width: 170px !important;
        height: 88px !important;
        margin: 0 !important;
        flex: 0 0 170px !important;
    }

    .site-logo img {
        width: 100% !important;
        max-height: 82px !important;
    }

    .main-navigation {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;

        width: auto !important;
        flex: 0 0 auto !important;
    }

    .navigation-list {
        gap: clamp(26px, 2vw, 36px) !important;
    }

    .navigation-list a,
    .navigation-parent-link {
        font-size: 1rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        color: #21392d !important;
    }

    .navigation-list a:hover,
    .navigation-parent-link:hover,
    .navigation-list a.active,
    .navigation-parent-link.active {
        color: #3f684f !important;
    }

    .submenu-toggle {
        width: 30px !important;
        height: 30px !important;
        margin-left: 4px !important;
    }

    .submenu-toggle svg {
        width: 16px !important;
        height: 16px !important;
        stroke-width: 2.2 !important;
    }
}


/* =========================================================
   FIX IPAD PRO — X HAMBURGER + NIENTE LINEA ATTIVA NEL MENU
   Solo tablet large 881–1120px.
   ========================================================= */
@media (min-width: 881px) and (max-width: 1120px) {

    /* Hamburger: posizioni assolute per ottenere una X perfetta */
    .navigation-toggle {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .navigation-toggle span {
        position: absolute !important;
        left: 50% !important;
        width: 18px !important;
        height: 2px !important;
        min-height: 2px !important;
        margin: 0 !important;
        display: block !important;
        background: #304d3d !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        transform-origin: center !important;
    }

    .navigation-toggle span:nth-child(1) {
        top: 13px !important;
        transform: translateX(-50%) !important;
    }

    .navigation-toggle span:nth-child(2) {
        top: 20px !important;
        transform: translateX(-50%) !important;
    }

    .navigation-toggle span:nth-child(3) {
        top: 27px !important;
        transform: translateX(-50%) !important;
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(1) {
        top: 20px !important;
        transform: translateX(-50%) rotate(45deg) !important;
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(2) {
        top: 20px !important;
        opacity: 0 !important;
        transform: translateX(-50%) scaleX(0) !important;
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(3) {
        top: 20px !important;
        transform: translateX(-50%) rotate(-45deg) !important;
    }

    /* Nel menu tablet niente underline/linea animata delle voci desktop */
    .navigation-list a::after,
    .navigation-parent-link::after {
        display: none !important;
        content: none !important;
    }
}

/* =========================================================
   HOME — HERO RESPONSIVE CONSOLIDATO 02/10/2026
   Override finale per desktop, iPad e smartphone.
   Mantiene la nuova foto 4:5 completa, evita tagli del viso
   e rende l'header tablet/mobile opaco e stabile.
   ========================================================= */

/* Base: la foto mantiene il rapporto originale 4:5 */
.hero-image-wrapper {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-image {
    width: min(100%, 440px) !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 18px !important;
}

/* Desktop */
@media (min-width: 1121px) {
    .hero-section {
        padding: 44px 0 40px !important;
    }

    .hero-container {
        width: min(1180px, calc(100% - 64px)) !important;
        grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr) !important;
        gap: clamp(54px, 5vw, 82px) !important;
        align-items: center !important;
    }

    .hero-image {
        max-width: 440px !important;
    }
}

/* Tablet large — iPad Pro e simili */
@media (min-width: 881px) and (max-width: 1120px) {
    .site-header,
    .site-header.is-scrolled {
        background: #fdfcf9 !important;
    }

    .hero-section {
        padding: 34px 0 34px !important;
    }

    .hero-container {
        width: min(960px, calc(100% - 48px)) !important;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.88fr) !important;
        gap: 34px !important;
        align-items: center !important;
    }

    .hero-content {
        padding: 0 !important;
    }

    .hero-title {
        font-size: clamp(40px, 4.7vw, 50px) !important;
        margin-bottom: 20px !important;
    }

    .hero-description {
        margin-bottom: 22px !important;
    }

    .hero-image {
        width: min(100%, 385px) !important;
    }
}

/* Tablet stretto — iPad Mini e simili */
@media (min-width: 651px) and (max-width: 880px) {
    .site-header,
    .site-header.is-scrolled {
        background: #fdfcf9 !important;
        border-bottom-color: rgba(53, 99, 71, 0.10) !important;
    }

    .hero-section {
        padding: 38px 0 36px !important;
    }

    .hero-container {
        width: min(720px, calc(100% - 40px)) !important;
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        align-items: start !important;
    }

    .hero-content {
        max-width: 650px !important;
        padding: 0 !important;
    }

    .hero-title {
        max-width: 620px !important;
        font-size: clamp(42px, 7vw, 54px) !important;
        margin-bottom: 22px !important;
    }

    .hero-description {
        margin-bottom: 24px !important;
    }

    .hero-image-wrapper {
        width: 100% !important;
        padding-top: 2px !important;
    }

    .hero-image {
        width: min(100%, 430px) !important;
        margin: 0 auto !important;
    }
}

/* Hamburger sempre leggibile su tutti i tablet */
@media (min-width: 651px) and (max-width: 1120px) {
    .navigation-toggle {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #ffffff !important;
        border: 1px solid rgba(48, 77, 61, 0.18) !important;
    }

    .navigation-toggle span {
        position: absolute !important;
        left: 50% !important;
        width: 18px !important;
        height: 2px !important;
        margin: 0 !important;
        display: block !important;
        background: #304d3d !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        transform-origin: center !important;
    }

    .navigation-toggle span:nth-child(1) {
        top: 13px !important;
        transform: translateX(-50%) !important;
    }

    .navigation-toggle span:nth-child(2) {
        top: 20px !important;
        transform: translateX(-50%) !important;
    }

    .navigation-toggle span:nth-child(3) {
        top: 27px !important;
        transform: translateX(-50%) !important;
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(1) {
        top: 20px !important;
        transform: translateX(-50%) rotate(45deg) !important;
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0 !important;
        transform: translateX(-50%) scaleX(0) !important;
    }

    .navigation-toggle[aria-expanded="true"] span:nth-child(3) {
        top: 20px !important;
        transform: translateX(-50%) rotate(-45deg) !important;
    }
}

/* Smartphone */
@media (max-width: 650px) {
    .site-header,
    .site-header.is-scrolled {
        background: #fdfcf9 !important;
        border-bottom-color: rgba(53, 99, 71, 0.10) !important;
        box-shadow: 0 5px 18px rgba(34, 65, 45, 0.05) !important;
    }

    .hero-section {
        padding: 28px 0 32px !important;
    }

    .hero-container {
        width: calc(100% - 32px) !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        align-items: start !important;
    }

    .hero-content {
        max-width: none !important;
        padding: 0 !important;
    }

    .hero-eyebrow {
        margin-bottom: 12px !important;
        font-size: 10.5px !important;
        letter-spacing: 2px !important;
    }

    .hero-title {
        max-width: 100% !important;
        margin-bottom: 18px !important;
        font-size: clamp(36px, 11.2vw, 44px) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.7px !important;
    }

    .hero-description {
        margin-bottom: 22px !important;
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .whatsapp-button {
        width: 100% !important;
        min-height: 52px !important;
    }

    .hero-image-wrapper {
        width: 100% !important;
        padding-top: 8px !important;
    }

    .hero-image {
        width: min(100%, 360px) !important;
        margin: 0 auto !important;
        object-position: center top !important;
        border-radius: 18px !important;
    }

    .benefits-section {
        padding-top: 36px !important;
    }
}

/* Telefoni molto stretti */
@media (max-width: 390px) {
    .hero-container {
        width: calc(100% - 26px) !important;
    }

    .hero-title {
        font-size: clamp(34px, 10.8vw, 40px) !important;
    }

    .hero-image {
        width: 100% !important;
    }
}

