.home-page {
    overflow-x: clip;
}

.home-page .home-hero,
.home-page .home-hero .carousel-item {
    height: min(600px, 46vw);
    min-height: 470px;
    max-height: none;
    line-height: normal;
}

.home-page .home-hero .carousel-item {
    position: relative;
}

.home-page .home-hero .carousel-item::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    content: "";
    pointer-events: none;
}

.home-page .home-hero .responsive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .home-hero .carousel-caption {
    z-index: 2;
    top: 50%;
    bottom: auto;
    left: 8%;
    right: 8%;
    transform: translateY(-50%);
    padding: 1.5rem;
    text-align: left;
}

.home-page .home-hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-page .home-hero h2 {
    margin: 0 0 1rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.home-page .home-hero .motto-container {
    margin: 0;
    text-align: left !important;
}

.home-page .home-hero .motto-text {
    margin: 0 0 1.5rem;
    font-size: 1.2rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.home-page .home-hero .green-button {
    display: inline-block;
    margin-top: 0;
    padding: 0.8rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 4px;
    background-color: var(--site-color-accent);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color var(--site-transition), border-color var(--site-transition), color var(--site-transition);
}

.home-page .home-hero .green-button:hover,
.home-page .home-hero .green-button:focus-visible {
    border-color: var(--site-color-accent);
    background-color: #fff;
    color: var(--site-color-accent) !important;
}

.home-page .home-intro-row {
    margin-right: 0;
    margin-left: 0;
}

.home-page .home-intro-row > .container,
.home-page .home-intro-row > .container-fluid {
    max-width: 100%;
}

.home-page .home-intro-row > .container-fluid:first-child:not(:has(.blog-preview-section)) {
    display: none;
}

.home-page .home-intro-row > .container > .separator-60-clean {
    display: none;
}

.home-page .home-workshop-card {
    position: relative;
    align-items: stretch;
    overflow: hidden;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid rgba(50, 106, 97, 0.16);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 8px 22px rgba(40, 57, 47, 0.1);
}

.home-page .home-workshop-card::before {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
     background: var(--site-color-brand-strong);
    content: "";
}

.home-workshop-card__badge{
    display:inline-block;
    margin-bottom:1rem;
    padding:.35rem .8rem;
    border-radius:999px;
    background:#edf5f2;
    color:var(--site-color-brand-strong);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}
.home-page .home-workshop-card__media {
    min-height: 390px;
    padding: 0;
    overflow: hidden;
}

.home-page .home-workshop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-page .home-workshop-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.5rem);
}

.home-page .home-workshop-card__eyebrow {
    margin: 0 0 0.65rem;
    color: var(--site-color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .home-workshop-card h2 {
    margin: 0 0 1rem;
    color: #1f332c;
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

.home-page .home-workshop-card__description {
    margin: 0 0 1.25rem;
    color: #38473f;
    font-size: 1rem;
    line-height: 1.65;
}

.home-page .home-workshop-card__schedule {
    display:inline-flex;
    align-items:center;
    padding:.8rem 1rem;
    background:#f6f8f7;
    gap: 0.6rem;  
    border-left:4px solid var(--site-color-brand-strong);
    border-radius:6px;
}

.home-page .home-workshop-card__schedule i {
    color: var(--site-color-accent);
    font-size: 1.05rem;
}

.home-page .home-workshop-card__link {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    align-self: flex-start;
    min-height: 46px;
    padding: 0.75rem 1.15rem;

    background: #fff;
    color: var(--site-color-brand-strong);

    border: 2px solid var(--site-color-brand-strong);
    border-radius: 4px;

    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background-color var(--site-transition),
        color var(--site-transition);
}

.home-page .home-workshop-card__link:hover,
.home-page .home-workshop-card__link:focus-visible {
    background: var(--site-color-brand-strong);
    color: #fff;
}

.home-page .home-workshop-card__link i {
    font-size: 0.9rem;
}

.home-page .home-intro-row > .col-md-8 {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.home-page > .container-fluid,
.home-page > .container-fluid > .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.home-page > .container-fluid > .container-fluid,
.home-page > .container-fluid.has-tertiary-background-color {
    padding-top: clamp(3rem, 6vw, 6rem) !important;
    padding-bottom: clamp(3rem, 6vw, 6rem) !important;
}

.home-page .has-tertiary-background-color > .container.mt-5 {
    margin-top: 0 !important;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-page .has-tertiary-background-color > .container.mt-5 + .container.mt-5 {
    margin-bottom: 0;
}

.home-page .home-card-section {
    position: relative;
    border-top: 1px solid rgba(50, 106, 97, 0.1);
    border-bottom: 1px solid rgba(50, 106, 97, 0.1);
}

.home-page .home-card-section > .container.mt-5.col-md-10 {
    position: relative;
    padding-left: 1.25rem;
}

.home-page .home-card-section > .container.mt-5.col-md-10::before {
    position: absolute;
    top: 0.2rem;
    bottom: 0.2rem;
    left: 0;
    width: 4px;
    border-radius: 2px;
    background-color: var(--site-color-accent);
    content: "";
}

.home-page .home-card-section > .container.mt-5.col-md-10 h3 {
    margin: 0 0 0.5rem;
    color: var(--site-color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .home-card-section > .container.mt-5.col-md-10 h2 {
    margin: 0;
    color: #1f332c;
    font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

.home-page .home-service-card {
    border: 1px solid rgba(50, 106, 97, 0.14);
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(40, 57, 47, 0.09);
}

.home-page .home-service-card .card-img-top {
    aspect-ratio: 16 / 10;
    transition: transform 350ms ease;
}

.home-page .home-service-card .card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 112px;
    padding: 1.35rem;
}

.home-page a.home-service-card .card-body {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 1rem;
}

.home-page .home-service-card .card-text {
    margin: 0;
    color: #202b26;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
}

.home-page a.home-service-card .card-body::after {
    display: grid;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(50, 106, 97, 0.2);
    border-radius: 50%;
    background-color: var(--site-color-surface-muted);
    color: var(--site-color-brand-strong);
    font-size: 1.2rem;
    line-height: 1;
    content: "\2192";
    place-items: center;
    transition: background-color var(--site-transition), color var(--site-transition), transform var(--site-transition);
}

.home-page a.home-service-card:hover .card-img-top,
.home-page a.home-service-card:focus-visible .card-img-top {
    transform: scale(1.025);
}

.home-page a.home-service-card:hover .card-body::after,
.home-page a.home-service-card:focus-visible .card-body::after {
    background-color: var(--site-color-brand-strong);
    color: var(--site-color-white);
    transform: translateX(3px);
}

.home-page .home-work-section,
.home-page .home-about-section {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-top: clamp(3rem, 6vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

.home-page .home-work-section > .appuntamento-box-white {
    margin-top: 2rem;
    margin-bottom: 0;
}

.home-page .home-about-card {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(50, 106, 97, 0.14);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 14px 36px rgba(40, 57, 47, 0.1);
}

.home-page .home-about-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 3.5vw, 4.5rem);
}

.home-page .home-about-card__eyebrow {
    margin: 0 0 0.65rem;
    color: var(--site-color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .home-about-card h2 {
    margin: 0 0 1.25rem;
    color: #1f332c;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.08;
}

.home-page .home-about-card__intro {
    max-width: 620px;
    margin: 0 0 1.25rem;
    color: #38473f;
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.75;
}

.home-page .home-about-card__subheading {
    margin: 2rem 0 0.75rem;
    color: #1f332c;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.home-page .home-about-card__register {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    max-width: 620px;
    margin: 0.65rem 0 1.75rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--site-color-accent);
    background-color: var(--site-color-surface-muted);
    color: #263a32;
    font-size: 0.94rem;
    line-height: 1.5;
}

.home-page .home-about-card__register i {
    margin-top: 0.2rem;
    color: var(--site-color-accent);
}

.home-page .home-about-card__link {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    align-self: flex-start;
    min-height: 46px;
    padding: 0.75rem 1.15rem;
    border: 1px solid var(--site-color-brand-strong);
    border-radius: 4px;
    background-color: var(--site-color-brand-strong);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color var(--site-transition), color var(--site-transition);
}

.home-page .home-about-card__link:hover,
.home-page .home-about-card__link:focus-visible {
    background-color: #fff;
    color: var(--site-color-brand-strong);
}

.home-page .home-about-card__media {
    display: grid;
    min-height: 500px;
    padding: clamp(2rem, 4vw, 3.5rem);
    background-color: #d8e3dd;
    place-items: center;
}

.home-page .home-about-card__media figure {
    width: min(330px, 100%);
    margin: 0;
    text-align: center;
}

.home-page .home-about-card__portrait {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(50, 106, 97, 0.25);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
}

.home-page .home-about-card__portrait::after {
    position: absolute;
    right: 3%;
    bottom: 8%;
    width: 22%;
    aspect-ratio: 1;
    border: 6px solid #d8e3dd;
    border-radius: 50%;
    background-color: var(--site-color-accent);
    content: "";
}

.home-page .home-about-card__portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
}

.home-page .home-about-card figcaption {
    margin-top: 1.25rem;
    color: #1f332c;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.home-page .home-about-card figcaption span {
    display: block;
    margin-top: 0.2rem;
    color: #53665e;
    font-size: 0.88rem;
    font-weight: 400;
}

.home-page .home-work-collab {
    padding-right: 20px;
    padding-left: 20px;
    background: #f7faf8;
}

.home-page .home-work-collab__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(50, 106, 97, 0.16);
    border-top: 5px solid var(--site-color-brand-strong);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(40, 57, 47, 0.08);
}

.home-page .home-work-collab__eyebrow {
    margin: 0 0 0.65rem;
    color: var(--site-color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .home-work-collab h2 {
    max-width: 760px;
    margin: 0 0 1rem;
    color: #1f332c;
    line-height: 1.2;
    text-wrap: balance;
}

.home-page .home-work-collab__text {
    max-width: 820px;
    margin: 0;
    color: #263a32;
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-page .home-work-collab__cta {
    display: flex;
    justify-content: flex-end;
}

.home-page .home-work-collab__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border: 2px solid var(--site-color-brand-strong);
    border-radius: 5px;
    background: var(--site-color-brand-strong);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--site-transition), color var(--site-transition);
}

.home-page .home-work-collab__button:hover,
.home-page .home-work-collab__button:focus-visible {
    background: #fff;
    color: var(--site-color-brand-strong);
}
@media (max-width: 767.98px) {
    .home-page .separator-60-clean {
        height: 28px;
    }

    .home-page .home-work-collab {
    padding-right: 12px;
    padding-left: 12px;
}

.home-page .home-work-collab__card {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
}

.home-page .home-work-collab__cta {
    justify-content: stretch;
}

.home-page .home-work-collab__button {
    width: 100%;
}

    .home-page .home-hero,
    .home-page .home-hero .carousel-item {
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
    }

    .home-page .home-hero .responsive-img {
        height: 220px;
        object-position: center;
        object-position: center;
    }

    .home-page .home-hero .carousel-caption {
        position: static;
        z-index: auto;
        transform: none;
        padding: 1.75rem 1rem 2rem;
        background-color: #598575;
        text-align: left;
    }

    .home-page .home-hero .carousel-item::after {
        display: none;
    }

    .home-page .home-hero h1 {
        margin: 0 auto 1rem;
        max-width: 100%;
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: 0.02em;
        text-wrap: wrap;
        overflow-wrap: break-word;
    }

    .home-page .home-hero h2 {
        font-size: 1.15rem;
        letter-spacing: normal;
    }

    .home-page .home-hero .green-button {
        font-size: 0.9rem;
    }

    .home-page .home-intro {
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-page .home-intro-row > .container,
    .home-page .home-intro-row > .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

    .home-page .home-workshop-card__media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .home-page .home-workshop-card__content {
        padding: 1.75rem 1.25rem 2rem;
    }

    .home-page .home-workshop-card h2 {
        font-size: 1.5rem;
    }

    .home-page .home-workshop-card__link {
        width: 100%;
        justify-content: center;
    }

    .home-page .card-body {
        padding: 1rem;
    }

    .home-page .home-service-card .card-body {
        min-height: 96px;
        padding: 1.1rem;
    }

    .home-page .home-service-card .card-text {
        font-size: 1rem;
    }

    .home-page .appuntamento-box-white {
        width: calc(100% - 24px);
    }

    .home-page .appuntamento-box-white h3 {
        font-size: 1.25rem !important;
        line-height: 1.35;
    }

    .home-page .appuntamento-box-white .wp-block-button__link {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .home-page .home-about-card {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
    }

    .home-page .home-about-card__content {
        order: 2;
        padding: 2rem 1.25rem;
    }

    .home-page .home-about-card h2 {
        font-size: 2rem;
    }

    .home-page .home-about-card__media {
        min-height: 0;
        padding: 2rem 2.5rem;
    }

    .home-page .home-about-card__media figure {
        width: min(250px, 100%);
    }

    .home-page .home-about-card__link {
        width: 100%;
        justify-content: center;
    }
    
}

/* Navbar styles for home and final layout */
.site-navbar {
    min-height: 86px;
    background-color: rgba(89, 133, 117, 0.97);
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-navbar.navbar-light {
    background-color: rgba(248, 249, 250, 0.98);
    box-shadow: var(--site-shadow-nav);
}

.site-navbar .navbar-brand img {
    display: block;
    width: auto;
    max-height: 60px;
}

.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cline stroke='rgba%28255,%20255,%20255,0.75%29' stroke-width='2' stroke-linecap='round' x1='4' y1='7' x2='26' y2='7'/%3e%3cline stroke='rgba%28255,%20255,%20255,0.75%29' stroke-width='2' stroke-linecap='round' x1='4' y1='15' x2='26' y2='15'/%3e%3cline stroke='rgba%28255,%20255,%20255,0.75%29' stroke-width='2' stroke-linecap='round' x1='4' y1='23' x2='26' y2='23'/%3e%3c/svg%3e");
}

.site-navbar.navbar-light .navbar-toggler {
    border-color: rgba(29, 34, 29, 0.18);
}

.site-navbar.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cline stroke='rgba%2829,%2034,%2029,0.8%29' stroke-width='2' stroke-linecap='round' x1='4' y1='7' x2='26' y2='7'/%3e%3cline stroke='rgba%2829,%2034,%2029,0.8%29' stroke-width='2' stroke-linecap='round' x1='4' y1='15' x2='26' y2='15'/%3e%3cline stroke='rgba%2829,%2034,%2029,0.8%29' stroke-width='2' stroke-linecap='round' x1='4' y1='23' x2='26' y2='23'/%3e%3c/svg%3e");
}

.site-navbar .nav-link,
.site-navbar .nav-link:visited {
    color: var(--site-color-white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-navbar .nav-link {
    padding: 0.75rem 0.9rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--site-color-white);
}

.site-navbar .nav-link.active,
.site-navbar .nav-item.active > .nav-link {
    color: var(--site-color-white);
}

.site-navbar.navbar-light .nav-link,
.site-navbar.navbar-light .nav-link:visited {
    color: var(--site-color-ink);
}

.site-navbar.navbar-light .nav-link:hover,
.site-navbar.navbar-light .nav-link:focus {
    color: var(--site-color-brand-strong);
}

.site-navbar.navbar-light .nav-link.active,
.site-navbar.navbar-light .nav-item.active > .nav-link {
    color: var(--site-color-brand-strong);
}

/* Psicologa Page Styles */
.psicologa-page {
    overflow-x: clip;
}

.psicologa-hero {
    position: relative;
    height: min(600px, 46vw);
    min-height: 470px;
    overflow: hidden;
}

.psicologa-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.psicologa-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.psicologa-hero__content {
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    transform: translateY(-50%);
    padding: 1.5rem;
    z-index: 2;
    color: #fff;
}

.psicologa-hero__content h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    margin: 0 0 0.5rem;
}

.psicologa-hero__content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    margin: 0 0 1rem;
}

.psicologa-hero__subtitle {
    display: block;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    margin-bottom: 1.5rem;
}

.psicologa-hero__cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 4px;
    background-color: var(--site-color-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--site-transition), border-color var(--site-transition);
}

.psicologa-hero__cta:hover,
.psicologa-hero__cta:focus-visible {
    background-color: #fff;
    border-color: var(--site-color-accent);
    color: var(--site-color-accent);
}

/* Chi Sono Section */
.psicologa-about {
    width: 100%;
    padding: clamp(3rem, 6vw, 6rem) 0;
}

.psicologa-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.psicologa-about__media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.psicologa-about__portrait {
    width: min(330px, 100%);
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(50, 106, 97, 0.2);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(40, 57, 47, 0.15);
}

.psicologa-about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psicologa-about__eyebrow {
    margin-bottom: 0.65rem;
    color: var(--site-color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.psicologa-about__content h2 {
    margin: 0 0 1.25rem;
    color: #1f332c;
    font-size: clamp(1.55rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.psicologa-about__content p {
    margin: 0 0 1.25rem;
    color: #38473f;
    font-size: 1rem;
    line-height: 1.75;
}

.psicologa-about__content strong {
    color: var(--site-color-brand-strong);
    font-weight: 700;
}

/* Specialities Section */
.psicologa-specialities {
    width: 100%;
    padding: clamp(3rem, 6vw, 6rem) 0;
    background-color: rgba(248, 249, 250, 0.5);
}

.psicologa-specialities__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.psicologa-specialities__header {
    margin-bottom: 2rem;
}

.psicologa-specialities__eyebrow {
    margin-bottom: 0.65rem;
    color: var(--site-color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.psicologa-specialities__header h2 {
    margin: 0;
    color: #1f332c;
    font-size: clamp(1.55rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.psicologa-specialities__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.psicologa-specialities__list li {
    padding: 1.25rem;
    border-left: 4px solid var(--site-color-accent);
    background-color: #fff;
    border-radius: 4px;
    color: #263a32;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(40, 57, 47, 0.08);
    transition: transform var(--site-transition), box-shadow var(--site-transition);
}

.psicologa-specialities__list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 57, 47, 0.15);
}

/* Contacts Section */
.psicologa-contacts {
    width: 100%;
    padding: clamp(3rem, 6vw, 6rem) 0;
}

.psicologa-contacts__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.psicologa-contacts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.psicologa-contacts__item {
    padding: 2rem;
    border: 1px solid rgba(50, 106, 97, 0.14);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 8px 22px rgba(40, 57, 47, 0.1);
    text-align: center;
}

.psicologa-contacts__item h3 {
    margin: 0 0 1rem;
    color: #1f332c;
    font-size: 1.2rem;
    font-weight: 700;
}

.psicologa-contacts__item p {
    margin: 0;
    color: #38473f;
    font-size: 1rem;
}

.psicologa-contacts__item i {
    color: var(--site-color-accent);
    margin-right: 0.5rem;
}

.psicologa-contacts__item a {
    color: var(--site-color-brand-strong);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--site-transition);
}

.psicologa-contacts__item a:hover {
    color: var(--site-color-accent);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .psicologa-hero {
        height: auto;
        min-height: 0;
    }

    .psicologa-hero__image {
        position: relative;
        height: 220px;
    }

    .psicologa-hero__content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        padding: 1.75rem 1rem 2rem;
        background-color: rgba(89, 133, 117, 0.97);
    }

    .psicologa-hero__content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .psicologa-about__container {
        grid-template-columns: 1fr;
    }

    .psicologa-specialities__list {
        grid-template-columns: 1fr;
    }
}

.site-navbar .dropdown-menu {
    margin-top: 0.5rem;
    border: 0;
    border-radius: 10px;
    min-width: 220px;
    background-color: var(--site-color-brand-strong);
    box-shadow: 0 18px 50px rgba(29, 34, 29, 0.16);
}

.site-navbar .dropdown-item,
.site-navbar .dropdown-item:visited {
    color: var(--site-color-white);
    padding: 0.8rem 1rem;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus,
.site-navbar .dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--site-color-white);
}

/* Lavora con me page */
.lavora-page {
    overflow-x: clip;
}

.lavora-hero {
    position: relative;
    height: min(600px, 46vw);
    min-height: 470px;
    overflow: hidden;
}

.lavora-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lavora-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.lavora-hero__content {
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    transform: translateY(-50%);
    padding: 1.5rem;
    z-index: 2;
    color: #fff;
}

.lavora-hero__content h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    margin: 0 0 0.5rem;
}

.lavora-hero__content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    margin: 0 0 1rem;
}

.lavora-hero__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 4px;
    background-color: var(--site-color-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--site-transition), border-color var(--site-transition), color var(--site-transition);
}

.lavora-hero__cta:hover,
.lavora-hero__cta:focus-visible {
    background-color: #fff;
    border-color: var(--site-color-accent);
    color: var(--site-color-accent);
}

.lavora-section {
    width: 100%;
    padding: clamp(3rem, 6vw, 6rem) 0;
}

.lavora-section__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 2rem;
}

.lavora-section__intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.lavora-section__intro h2 {
    margin-bottom: 1rem;
    color: #1f332c;
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.2;
}

.lavora-section__intro p {
    margin: 0;
    color: #38473f;
    font-size: 1.05rem;
    line-height: 1.7;
}

.lavora-section__card {
    padding: 2rem;
    border: 1px solid rgba(50, 106, 97, 0.14);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 12px 30px rgba(40, 57, 47, 0.08);
}

.lavora-section__card--cta {
    border-color: rgba(89, 133, 117, 0.22);
    background-color: rgba(245, 250, 247, 0.95);
}

.lavora-section__card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1f332c;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
}

.lavora-section__card p {
    margin: 0 0 1rem;
    color: #38473f;
    font-size: 1rem;
    line-height: 1.7;
}

.lavora-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.lavora-list li {
    position: relative;
    padding-left: 1.4rem;
    color: #263a32;
    font-size: 1rem;
    line-height: 1.7;
}

.lavora-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: calc(100% - 0.4rem);
    background-color: var(--site-color-accent);
    border-radius: 2px;
}

.lavora-link {
    color: var(--site-color-brand-strong);
    text-decoration: none;
    font-weight: 700;
}

.lavora-link:hover,
.lavora-link:focus {
    text-decoration: underline;
}

.lavora-link--strong {
    display: inline-block;
    color: #1f332c;
}

@media (max-width: 767.98px) {
    .lavora-hero {
        height: auto;
        min-height: 0;
    }

    .lavora-hero__image {
        position: relative;
        height: 240px;
    }

    .lavora-hero__content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        padding: 1.75rem 1rem 2rem;
        background-color: rgba(0, 0, 0, 0.75);
    }

    .lavora-section__container {
        padding: 0 1rem;
    }
}


.site-navbar.navbar-light .dropdown-menu {
    background-color: #fff;
}

.site-navbar.navbar-light .dropdown-item,
.site-navbar.navbar-light .dropdown-item:visited {
    color: var(--site-color-ink);
}

.site-navbar.navbar-light .dropdown-item:hover,
.site-navbar.navbar-light .dropdown-item.active {
    background-color: rgba(50, 106, 97, 0.08);
    color: var(--site-color-brand-strong);
}

@media (min-width: 992px) {
    .site-navbar .navbar-nav {
        margin-left: auto;
    }
}


.lavora-link--strong.color-red {
  color: var(--site-color-accent);
}

/* Staff page */
.staff-page {
    overflow-x: clip;
    color: var(--site-color-ink);
}

.staff-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.staff-container--narrow {
    width: min(850px, calc(100% - 40px));
}

.staff-hero {
    position: relative;
    height: min(600px, 46vw);
    min-height: 470px;
    overflow: hidden;
}

.staff-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.staff-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 37, 30, 0.82) 0%, rgba(22, 37, 30, 0.55) 48%, rgba(22, 37, 30, 0.2) 100%);
}

.staff-hero__content {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 8%;
    left: 8%;
    max-width: 820px;
    padding: 1.5rem;
    transform: translateY(-50%);
    color: #fff;
}

.staff-hero__eyebrow,
.staff-eyebrow {
    margin: 0 0 0.7rem;
    color: var(--site-color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.staff-hero__eyebrow {
    color: #f2dfe2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.staff-hero h1 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.staff-hero__content > p:not(.staff-hero__eyebrow) {
    max-width: 720px;
    margin: 0 0 1.5rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.45;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.staff-button {
    display: inline-flex;
    min-height: 50px;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--site-color-accent);
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    background: var(--site-color-accent);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--site-transition), border-color var(--site-transition), color var(--site-transition), transform var(--site-transition);
}

.staff-button--hero {
    border-color: #fff;
}

.staff-button:hover,
.staff-button:focus-visible {
    border-color: var(--site-color-accent);
    background: #fff;
    color: var(--site-color-accent) !important;
    transform: translateY(-2px);
}

.staff-intro {
    padding: clamp(4rem, 8vw, 7rem) 0;
    text-align: center;
}

.staff-intro h2,
.staff-section-heading h2,
.staff-method h2,
.staff-values h2,
.staff-final-cta h2 {
    margin: 0 0 1.25rem;
    color: #1f332c;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.18;
    text-wrap: balance;
}

.staff-intro p:last-child {
    margin: 0;
    color: #38473f;
    font-size: clamp(1.05rem, 1.6vw, 1.18rem);
    line-height: 1.8;
}

.staff-lead {
    padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.staff-lead__card {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    overflow: hidden;
    border: 1px solid rgba(50, 106, 97, 0.16);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(40, 57, 47, 0.1);
}

.staff-lead__media {
    min-height: 560px;
    background: #f2f5f3;
}

.staff-lead__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.staff-lead__content {
    display: flex;
    padding: clamp(2rem, 5vw, 4.5rem);
    flex-direction: column;
    justify-content: center;
}

.staff-lead__content h2 {
    margin: 0 0 0.65rem;
    color: #1f332c;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 700;
    line-height: 1.1;
}

.staff-lead__role {
    margin: 0 0 1.5rem;
    color: var(--site-color-brand-strong);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
}

.staff-lead__content p:not(.staff-eyebrow):not(.staff-lead__role) {
    margin: 0 0 1rem;
    color: #38473f;
    line-height: 1.75;
}

.staff-text-link {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    align-self: flex-start;
    margin-top: 0.6rem;
    color: var(--site-color-accent) !important;
    font-weight: 700;
    text-decoration: none;
}

.staff-text-link:hover,
.staff-text-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.staff-process {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--site-color-brand-dark);
}

.staff-section-heading {
    max-width: 820px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.staff-section-heading > p:last-child {
    margin: 0;
    color: #526159;
    font-size: 1.06rem;
    line-height: 1.7;
}

.staff-section-heading--light h2,
.staff-section-heading--light > p:last-child {
    color: #fff;
}

.staff-section-heading--light .staff-eyebrow {
    color: #f2dfe2;
}

.staff-process__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.staff-process__item {
    padding: 1.6rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.staff-process__item i {
    display: flex;
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--site-color-accent);
    color: #fff;
    font-size: 1rem;
}

.staff-process__item h3 {
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.staff-process__item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.6;
}

.staff-team {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #f7faf8;
}

.staff-team__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
}

.staff-member-card {
    display: flex;
    grid-column: span 2;
    overflow: hidden;
    border: 1px solid rgba(50, 106, 97, 0.14);
    border-radius: 9px;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 10px 28px rgba(40, 57, 47, 0.08);
}

.staff-member-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.staff-member-card img {
    width: 100%;
    height: 285px;
    padding: 1rem 1rem 0;
    object-fit: contain;
    object-position: center bottom;
    background: #e8efeb;
}

.staff-member-card__content {
    padding: 1.5rem;
}

.staff-member-card h3 {
    margin: 0 0 0.35rem;
    color: #1f332c;
    font-size: 1.45rem;
    font-weight: 700;
}

.staff-member-card__role {
    min-height: 3em;
    margin: 0 0 1rem;
    color: var(--site-color-brand-strong);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.staff-member-card__content > p:last-child {
    margin: 0;
    color: #46554d;
    line-height: 1.7;
}

.staff-method {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.staff-method__grid,
.staff-values__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.staff-method__content > p:not(.staff-eyebrow),
.staff-values__content > p:not(.staff-eyebrow) {
    margin: 0 0 1rem;
    color: #38473f;
    font-size: 1.04rem;
    line-height: 1.75;
}

.staff-method__list,
.staff-check-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.staff-method__list li {
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--site-color-accent);
    border-radius: 5px;
    background: #f1f5f3;
    color: #263a32;
    font-weight: 600;
    line-height: 1.4;
}

.staff-values {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #e8efeb;
}

.staff-check-list {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(40, 57, 47, 0.09);
}

.staff-check-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: #263a32;
    font-weight: 600;
    line-height: 1.5;
}

.staff-check-list i {
    display: flex;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--site-color-brand-strong);
    color: #fff;
    font-size: 0.7rem;
}

.staff-final-cta {
    padding: clamp(4rem, 8vw, 7rem) 20px;
}

.staff-final-cta__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    border-top: 5px solid var(--site-color-accent);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(40, 57, 47, 0.12);
}

.staff-final-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.staff-final-cta__card p:not(.staff-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: #38473f;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .staff-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-process__item:last-child {
        grid-column: 1 / -1;
    }

    .staff-team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-member-card,
    .staff-member-card:nth-child(4) {
        grid-column: auto;
    }

    .staff-member-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 0.75rem);
        justify-self: center;
    }

    .staff-final-cta__card {
        grid-template-columns: 1fr;
    }

    .staff-final-cta .staff-button {
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .staff-container,
    .staff-container--narrow {
        width: calc(100% - 32px);
    }

    .staff-hero {
        height: auto;
        min-height: 0;
        padding-top: 86px;
        background: var(--site-color-brand);
    }

    .staff-hero__image {
        position: relative;
        display: block;
        height: 240px;
    }

    .staff-hero__overlay {
        display: none;
    }

    .staff-hero__content {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        max-width: none;
        padding: 1.75rem 1rem 2rem;
        transform: none;
        background: var(--site-color-brand);
    }

    .staff-hero h1 {
        font-size: 1.5rem;
    }

    .staff-hero__content > p:not(.staff-hero__eyebrow) {
        font-size: 1.05rem;
    }

    .staff-lead__card,
    .staff-method__grid,
    .staff-values__grid {
        grid-template-columns: 1fr;
    }

    .staff-lead__media {
        min-height: 0;
    }

    .staff-lead__media img {
        display: block;
        height: auto;
        aspect-ratio: 1;
    }

    .staff-process__grid,
    .staff-team__grid {
        grid-template-columns: 1fr;
    }

    .staff-process__item:last-child,
    .staff-member-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .staff-member-card__role {
        min-height: 0;
    }

    .staff-final-cta {
        padding-right: 12px;
        padding-left: 12px;
    }

    .staff-final-cta .staff-button,
    .staff-button--hero {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .staff-button {
        transition: none;
    }
}
 
