/* ANCHOR Elementi generici  */
.page-template-landing.page-id-98 {
    --maincolor: #132f4b;
}

a {
    text-decoration: none;
}

button {
    background: none;
    border: none;
}

ul {
    list-style: none;
}

html {
    overflow-x: hidden;
}

ion-icon,
.feather {
    pointer-events: none;
}

p strong {
    font-weight: 600;
}

img {
    max-width: 100%;
}

/* SECTION Elementi Grid layout */

.content-grid {
    width: 100%;
    --padding-inline: 2rem;
    --content-max-width: 1400px;
    /* --breakout-max-width: 1600px; */
    --breakout-max-width: 95vw;
    --breakout-size: calc((var(--breakout-max-width) - var(--content-max-width)) / 2);
    display: grid;
    grid-template-columns: [full-width-start] minmax(var(--padding-inline), 1fr) [breakout-start] minmax(0, var(--breakout-size)) [content-start] min(100% - (var(--padding-inline) * 2),
            var(--content-max-width)) [content-end] minmax(0, var(--breakout-size)) [breakout-end] minmax(var(--padding-inline), 1fr) [full-width-end];
}

.content-grid> :not(.breakout, .full-width),
.full-width> :not(.breakout, .full-width) {
    grid-column: content;
}

.content-grid>.breakout {
    grid-column: breakout;
}

.content-grid>.full-width {
    grid-column: full-width;
    display: grid;
    grid-template-columns: inherit;
}

.grid {
    display: grid;
}

.auto_grid {
    grid-auto-flow: column;
}

.align_center {
    align-items: center;
}


/* ANCHOR Hero */

.form_header h2 {
    font-size: var(--fs-300);
}

.form_header p,
.form_row .form_col .input_wrapper.is_checkbox span,
.form_row .form_col .input_wrapper.is_submit button {
    font-size: var(--fs-250);

}

a.single_contact.numeroverde .svg-container {
    height: 80px;
    width: auto;
}

.form_row .form_col label {
    font-weight: var(--fw-500);
}

/* Container della select */
.input_wrapper.is_select {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

/* Stile della Label sopra la select */
.input_wrapper.is_select label {
    display: block;
    margin-bottom: 6px;
    /* Mantiene il carattere e il colore ereditati o definiti dalle classi 'fs-300' e 'text_dark' */
}

/* Stile della SELECT per renderla uguale ai campi testo */
.input_wrapper.is_select select {
    width: 100%;
    padding: 8px 24px 8px 0;
    /* Spazio a destra per non coprire il testo con la freccia */
    font-family: inherit;
    font-size: var(--fs-250);
    color: var(--dark);
    background-color: transparent;

    /* Rimuove lo stile predefinito del browser (box grigio e freccia nativa) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Bordo solo inferiore coerente con gli altri input */
    border: none;
    border-bottom: 1px solid var(--grigiomedio);
    border-radius: 0;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;

    /* Freccia a tendina minimal in SVG */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 16px;
}

/* Effetto Focus quando la select è attiva */
.input_wrapper.is_select select:focus {
    border-bottom-color: var(--maincolor);
    /* Cambia con il tuo colore primario se necessario */
}

/* Stile per il menu a tendina aperto (le option) */
.input_wrapper.is_select select option {
    background-color: var(--white);
    color: var(--dark);
    padding: 8px;
}

/* ANCHOR toTop */

#toTop {
    position: fixed;
    z-index: 99999;
    bottom: 150px;
    right: 75px;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

#toTop a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--grigiochiaro);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

#toTop.show_toTop {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

#toTop a svg {
    width: 20px;
    height: 20px;
    transition: .3s;
    pointer-events: none;
    stroke: var(--grigioscuro);
}

#toTop a:hover {
    background-color: var(--grigioscuro);
}

#toTop a:hover svg {
    stroke: var(--white);
}

/* SECTION Privacy Policy  */

.wt-cli-manage-consent-link {
    cursor: pointer;
}

.policy h3 {
    /* font-size: 2vw; */
    margin-block: 1rem;
    font-size: 1.5vw;
}

.policy h4 {
    margin-block: 1rem;
    font-size: 18px;
}

.policy h5 {
    margin-block: 1rem;
    font-size: 17px;
}

.policy p {
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 10px;
    text-align: justify;
}

.policy p strong {
    letter-spacing: 1px;
    line-height: 2;
}

.policy p a {
    color: var(--maincolor);
    text-decoration: underline;
}

.policy ul {
    list-style: lower-latin;
    margin-left: 25px;
    padding: 15px 0;
    /* line-height: 1.6; */
}

.policy ul li {
    line-height: 1.6;
}

/* !SECTION  */

/* SECTION Pagina di ringraziamento */
#ringraziamento {
    display: flex;
    justify-content: center;
    text-align: center;
    background: var(--white);
    padding: 20px;
}

#ringraziamento .wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

#ringraziamento h2 {
    text-transform: uppercase;
    font-size: 28px;
    color: var(--maincolor);
}

#ringraziamento p {
    /* margin: 30px 0; */
    font-size: 20px;
}

/* !SECTION  */

/* SECTION - THANK YOU PAGE LOADER */

.thankyou_loader {
    inset: 0;
    z-index: 999999;
}

.thankyou_loader .spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 9px solid var(--maincolor);
    -webkit-animation: spinner-bulqg1 0.8s infinite linear alternate,
        spinner-oaa3wk 1.6s infinite linear;
    animation: spinner-bulqg1 0.8s infinite linear alternate,
        spinner-oaa3wk 1.6s infinite linear;
}

@-webkit-keyframes spinner-bulqg1 {
    0% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
    }

    12.5% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
    }

    25% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
    }

    50% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }

    62.5% {
        -webkit-clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }

    75% {
        -webkit-clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
    }

    100% {
        -webkit-clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
    }
}

@keyframes spinner-bulqg1 {
    0% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
    }

    12.5% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
    }

    25% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
    }

    50% {
        -webkit-clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }

    62.5% {
        -webkit-clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }

    75% {
        -webkit-clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
    }

    100% {
        -webkit-clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
        clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
    }
}

@-webkit-keyframes spinner-oaa3wk {
    0% {
        transform: scaleY(1) rotate(0deg);
    }

    49.99% {
        transform: scaleY(1) rotate(135deg);
    }

    50% {
        transform: scaleY(-1) rotate(0deg);
    }

    100% {
        transform: scaleY(-1) rotate(-135deg);
    }
}

@keyframes spinner-oaa3wk {
    0% {
        transform: scaleY(1) rotate(0deg);
    }

    49.99% {
        transform: scaleY(1) rotate(135deg);
    }

    50% {
        transform: scaleY(-1) rotate(0deg);
    }

    100% {
        transform: scaleY(-1) rotate(-135deg);
    }
}

/* !SECTION */

/* SECTION - Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    right: 0;
    z-index: 999999;
    transition: 300ms;
    background-color: rgba(255, 255, 255, .75);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

header.scrolling {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    background-color: var(--white);
}

.header_container {
    transition: 300ms;
}

header.scrolling .header_container {
    padding-block: 15px;
}

.logoBox {
    width: 250px;
    transition: 300ms;
}

header.scrolling .header_container .logoBox {
    width: 200px;
}

.logoBox a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logoBox a img {
    width: 100%;
}

.btn_mob_menu {
    display: none;
}

nav.nav_landing .menu_wrapper ul.menu {
    display: flex;
    gap: 3rem;
}

nav.nav_landing .menu_wrapper ul.menu li a {
    text-transform: uppercase;
    color: var(--maincolor);
    transition: 300ms;
    padding: .6rem .5rem;
    border-radius: 5px;
    font-weight: 500;
}

nav.nav_landing .menu_wrapper ul.menu li a:hover {
    background-color: var(--white);
}

header.scrolling nav.nav_landing .menu_wrapper ul.menu li a:hover {
    background-color: var(--grigiochiaro);
}

nav.nav_landing .menu_wrapper ul.menu li.highlighted a {
    background-color: var(--secondarycolor);
    color: var(--white);
}

nav.nav_landing .menu_wrapper ul.menu li.highlighted a:hover {
    color: var(--maincolor);
}

/* !SECTION */

/* SECTION - HERO */

.mobile_image {
    display: none !important;
}

section#hero::before,
section#cta::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgba(16, 41, 69, 1) 110%);

}

.hero_grid {
    z-index: 2;
}

.hero_grid>.grid_col {
    height: 100%;
    display: grid;
    place-content: center;
}

.hero_text_content p:not(:last-of-type) {
    -webkit-margin-after: 1rem;
    margin-block-end: 1rem;
}

.grid_col.hero_col_left {
    -webkit-padding-end: 20rem;
    padding-inline-end: 20rem;
}

.page-template-home .grid_col.hero_col_left {
    -webkit-padding-end: 5rem;
    padding-inline-end: 5rem;
}

.grid_col.hero_col_right .form_wrapper .form_container {
    background-color: var(--white);
}

.grid_col.hero_col_right .form_wrapper .form_container .form_row:not(:last-of-type) {
    -webkit-margin-after: 1rem;
    margin-block-end: 1rem;
}

section#hero {
    -webkit-padding-before: 6rem;
    padding-block-start: 6rem;
}

.grid_col.hero_col_right .form_wrapper .form_container p.req_fields_alert {
    max-width: 100%;
    -webkit-margin-before: 0;
    margin-block-start: 0;
    -webkit-margin-after: 1rem;
    margin-block-end: 1rem;
    margin-left: 0;
    text-align: center;
}

.grid_col.hero_col_right .form_wrapper .form_container .form_header h2 {
    color: var(--maincolor);
    font-size: var(--fs-550);
}

.form_row .input_wrapper.is_submit button {
    background-color: var(--verdeCTA);
}

.form_row .input_wrapper.is_submit button:hover {
    background-color: var(--verdeCTAdark);
}


.form_row .input_wrapper,
.form_row .input_wrapper.is_textarea {
    height: initial;
    position: relative;
}

.form_row .input_wrapper input {
    padding-block: .5rem;
}

.form_row .input_wrapper textarea {
    height: 120px;
}

.form_row .input_wrapper.is_checkbox label {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

/* .form_row .input_wrapper label:not([for="privacy"]) {
    position: absolute;
    left: 0;
    pointer-events: none;
    top: 0.5rem;
    transition: 300ms;
}

.form_row .input_wrapper:has(input:focus) label,
.form_row .input_wrapper:has(input:valid) label,
.form_row .input_wrapper:has(textarea:focus) label,
.form_row .input_wrapper:has(textarea:valid) label {
    translate: 0 -24px;
    color: var(--grigioscuro);
} */


/* !SECTION */

/* SECTION - ABOUT */
.image_box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image_box a,
.image_box img {
    width: 100%;
    height: 100%;
}

.image_box img {
    -o-object-fit: cover;
    object-fit: cover;
}

.rounded_image {
    border-radius: 1rem;
    overflow: hidden;
}

.has_shadow {
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.cb-title-divider {
    height: 3px;
}

.has_p_mb_1 p:not(:last-of-type) {
    -webkit-margin-after: 1rem;
    margin-block-end: 1rem;
}

.about_parag blockquote {
    font-style: italic;
    padding: 1rem 2rem;
    font-weight: 300;
    -webkit-border-start: 1rem solid var(--maincolor);
    border-inline-start: 1rem solid var(--maincolor);
    background-color: var(--grigiochiaro);
    -webkit-margin-before: 2.25rem;
    margin-block-start: 2.25rem;
}

.general_cta {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: .75rem 1.5rem;
    border-radius: 5px;
    transition: 300ms;
}

.general_cta:hover {
    background-color: var(--verdeCTAdark);
}


/* !SECTION */

/* SECTION - COSA FACCIAMO */


.service_col {
    --serviceImageH: 350px;
    grid-template-rows: var(--serviceImageH) auto;
}

.service_image {
    width: 100%;
    height: var(--serviceImageH);
}

.service_image img {
    -o-object-position: bottom;
    object-position: bottom;
}

.service_details {
    grid-template-rows: auto 1fr auto;
    padding: 2rem 1rem;
    border-radius: 10px;
    position: relative;
}

.service_details::before {
    content: '';
    background-color: var(--white);
    position: absolute;
    top: -18px;
    left: 50%;
    height: 20px;
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 45px;
    translate: -50% 0;
}

.cta_centered .general_cta,
.cta_centered {
    margin-inline: auto;
}

.cta_centered .general_cta {
    margin-bottom: 50px;
}

.single_pathology_card,
.single_phase_card {
    --iconH: 50px;
    grid-template-rows: var(--iconH) 1fr;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    gap: 1.25rem;
    height: 100%;
}

.related-banner .single_phase_card .spc_icon.img_mask {
    --iconH: 80px;
    /* Centra la maschera */
    mask-position: center;
    -webkit-mask-position: center;

    /* Fa coprire tutta l’area (come background-size: cover) */
    mask-size: cover;
    -webkit-mask-size: cover;

    /* Evita che la maschera si ripeta */
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.single_patient_card {
    /* --iconH: 50px; */
    grid-template-rows: var(--iconH) 1fr;
    /* background-color: var(--white); */
    padding: 2rem;
    border-radius: 1rem;
    gap: 1.25rem;
    height: 100%;
}

.single_pathology_card .spc_icon,
.single_phase_card .spc_icon {
    height: var(--iconH);
    width: var(--iconH);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
}

.spc_details {
    grid-template-rows: auto 1fr;
    gap: 1rem;
}

/* !SECTION */

/* SECTION - PRIMA VISITA */

.single_phase_card {
    --iconH: 80px;
    padding: 2rem 1rem;
    overflow: hidden;
}

.spc_count_badge {
    width: 50px;
    height: 50px;
    border-radius: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

.banner_heading_box h2 em {
    font-size: 120%;
}

.banner_text_content>p:not(:last-of-type) {
    -webkit-margin-after: 1rem;
    margin-block-end: 1rem;
}

/* !SECTION */

/*!SECTION */
/* SECTION Per pagina test */
#test_zone {
    margin: 100px 0;
}

/* SECTION FOOTER */


.footer_element.copy_content_text p *,
.footer_element.copy_content_text p {
    font-size: var(--fs-200);
    color: var(--dark);
}

.footer_element.copy_content_text p :where(a, button) {
    cursor: pointer;
    text-decoration: underline;
    color: var(--maincolor);
    transition: 300ms;
}

.footer_element.copy_content_text p :where(a:hover, button:hover) {
    color: var(--secondarycolor);
}

footer {
    box-shadow: 0px -10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.cb_wrapper {
    width: 180px;
}

.cb_wrapper a {
    width: 100%;
}

.cb_wrapper a img {
    width: 100%;
    opacity: .6;
    transition: 300ms;
}

.cb_wrapper a:hover img {
    opacity: 1;
}

.contacts_foot ul li a,
.tb_socials ul li a,
.social_foot ul li a {
    position: relative;
}

.contacts_foot ul li a span,
.tb_socials ul li a span,
.social_foot ul li a span {
    position: absolute;
    z-index: 2;
    top: -2.5rem;
    padding: .5rem 1rem;
    background-color: var(--white);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 5px;
    left: 50%;
    translate: -50% -20px;
    opacity: 0;
    color: var(--secondarycolor);
    text-transform: uppercase;
    font-size: var(--fs-200);
    transition: 300ms;
    pointer-events: none;
}

.tb_socials ul li a span {
    display: none !important;
}

.contacts_foot ul li a:hover span,
.tb_socials ul li a:hover span,
.social_foot ul li a:hover span {
    color: var(--maincolor);
    translate: -50% 0;
    opacity: 1;
}

.contacts_foot ul li a svg,
.tb_socials ul li a svg,
.social_foot ul li a svg {
    width: 20px;
    height: 20px;
    fill: var(--maincolor);
    pointer-events: none;
}

.contacts_foot ul li a svg {
    width: 30px;
    height: 30px;
}

.tb_socials ul li a svg {
    fill: var(--white);
}

.contacts_list_wrapper ul li a {
    padding: 1.25rem 1rem;
    background-color: var(--grigiochiaro);
    border-radius: .25rem;
}

.contacts_list_wrapper ul li a svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.contacts_list_wrapper ul li a svg * {
    stroke: var(--dark);
    transition: 300ms;
}

.contacts_list_wrapper ul li a:hover svg * {
    stroke: var(--maincolor);
}

.contacts_list_wrapper ul li a,
.contacts_list_wrapper ul li a span {
    transition: 300ms;
}

.contacts_list_wrapper ul li a:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.contacts_list_wrapper ul li a:hover span {
    color: var(--maincolor);
}

button[data-copy] {
    top: 50%;
    right: 1rem;
    translate: 0 -50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: 300ms;
    border-radius: 5px;
    z-index: 2;
}

button[data-copy]:hover {
    background-color: var(--white);
}

button[data-copy] svg {
    width: 100%;
    pointer-events: none;
}

/* Wrap responsive */
.googlemap_wrap {
    position: relative;
    padding-bottom: 65.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
}

/* iframe posizionato in maniera assoluta */
.googlemap_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.filler {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.filler.has_white_bg {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 0.5rem, var(--grigiochiaro) 0.5rem, var(--grigiochiaro) 1rem);
    background-color: var(--white);
}

.banner_cta_section {
    /* background-color: var(--maincolor); */
    background-position: right;
    /* background-size: cover; */
}

.has_maincolor_overlay>.content-grid {
    position: relative;
    z-index: 3;
}

.has_maincolor_overlay::after {
    content: '';
    background-color: var(--maincolor);
    width: 60%;
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-clip-path: circle(100% at 0 0);
    clip-path: circle(100% at 0 0);
}

.has_maincolor_overlay::before {
    content: '';
    background-color: var(--secondarycolor);
    width: 65%;
    height: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-clip-path: circle(100% at 0 0);
    clip-path: circle(100% at 0 0);
}

/* !SECTION */

.thankyou_main_content {
    height: 100%;
}

.cta_mobile {
    display: none;
    pointer-events: none;
}

.first_check_parag ul,
.first_check_parag ol {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

/* Singoli elementi della lista */
.first_check_parag li {
    margin-bottom: 0.5rem;
    /* color: var(--text-color); */
    line-height: 1.6;
}

.page-section .first_check_parag ul li {
    list-style-type: disc;
}

.contacts_list_wrapper.width100 {
    width: 24vw;
}

.contacts_list_wrapper .contacts_list .bg_white {
    background-color: var(--white);
}

/* !SECTION */
/* LINK Media */
/*SECTION - 1480px*/
@media only screen and (max-width: 1480px) {}

/* !SECTION */

/*SECTION - 900px*/
@media only screen and (max-width: 900px) {
    .cta_mobile {
        display: flex;
        pointer-events: auto;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem;
        z-index: 10;
        transition: 300ms;
    }

    .cta_mobile svg {
        transition: 300ms;
    }

    .cta_mobile.is_up svg {
        rotate: 0deg;
    }

    .cta_mobile.is_down svg {
        rotate: 180deg;
    }

    .tb_contacts ul {
        gap: 1rem;
    }

    .tb_contacts ul li a svg {
        flex-shrink: 0;
    }

    .tb_contacts ul li a span {
        display: none;
    }

  

    .grid_2_cols,
    .grid_3_cols,
    .grid_4_cols,
    .grid_5_cols,
    .grid_1_2_cols,
    .grid_2_1_cols,
    .grid_3_2_cols,
    .grid_2_1_1_cols {
        grid-template-columns: 1fr;
    }

    .wrapper,
    .major_wrapper {
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
    }

    body section#hero {
        padding-top: 160px;
    }


    .page-template-home .grid_col.hero_col_left,
    .grid_col.hero_col_left {
        -webkit-padding-end: initial;
        padding-inline-end: initial;
    }

    .hero_grid>.grid_col {
        height: initial;
        display: block;
    }


    /* .tb_inner {
        flex-direction: column;
        gap: 10px;
    } */

    .form_row .input_wrapper.is_checkbox label {
        width: 100%;
    }

    .tb_socials>ul {
        gap: 20px;
    }

    .logoBox {
        width: 180px;
    }

    header.scrolling .header_container .logoBox {
        width: 160px;
    }

    section#hero {
        -webkit-padding-before: 12rem;
        padding-block-start: 12rem;
        background-image: none !important;
    }

    .heading_block_hero>h1 {
        font-size: var(--fs-850);
        color: var(--maincolor);
    }

    .heading_block_hero>h2 {
        color: var(--dark);
        font-size: var(--fs-500);
        line-height: 1.4;
    }

    section#hero::before {
        background: var(--grigiochiaro);
    }

    .hero_text_content {
        color: var(--dark);
    }

    .grid_col.hero_col_right .form_wrapper .form_container {
        padding: 2rem 1.5rem;
    }

    div#toTop {
        display: none;
    }

    .section_heading_box>h2 {
        line-height: 1.3;
    }

    .mobile_image {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }



    section#chi-siamo,
    section#cosa-facciamo,
    section#prima-visita,
    section#recensioni,
    section#contatti {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* body section#hero, */
    section#chi-siamo {
        padding-top: 160px;
    }

    .grid_col.wwd_title_col_left .section_heading_box>h3,
    .grid_col.contacts_col_1 .section_heading_box>h3 {
        margin-bottom: 0;
    }

    .contacts_map_grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        -webkit-margin-before: 2.5rem;
        margin-block-start: 2.5rem;
    }

    .filler {
        display: none !important;
    }

    .copyright_wrapper {
        flex-direction: column;
        gap: 2rem;
        padding-block: 2rem 5rem;
    }

    .footer_element.copy_content_text>p {
        text-align: center;
        line-height: 1.7;
    }

    .banner_cta_section {
        background-position: center;
        background-size: cover;
    }

    .has_maincolor_overlay::before {
        content: none;
    }

    .has_maincolor_overlay::after {
        -webkit-clip-path: initial;
        clip-path: initial;
        width: 100%;
        height: 100%;
        opacity: .75;
    }

    .splide__arrows {
        position: absolute;
        z-index: 1;
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .splide__arrow {
        position: initial !important;
        transform: translateY(0) !important;
    }

    .general_cta {
        width: 100%;
        justify-content: center;
    }

    .cosa_curiamo_title {
        margin-top: 40px;
    }

    .contacts_list_wrapper ul li a {
        overflow: scroll;
    }

    button[data-copy] {
        top: 0;
        box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
        background-color: var(--white);
    }

    a.single_contact.numeroverde .svg-container svg,
    a.single_contact.numeroverde .svg-container svg>*,
    a.single_contact.numeroverde .svg-container svg g>* {
        /* color: var(--dark) !important; */
        fill: var(--dark) !important;
    }

    .googlemap_wrap {
        position: relative;
        padding-bottom: 75%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
        border-radius: 1rem;
    }

    .cta_mobile.hide {
        translate: 0 100%;
        pointer-events: none;
    }

    section#ringraziamento {
        padding-top: 150px;
        padding-bottom: 40px;
    }

    body.page-template-ringraziamento footer .copyright_wrapper {
        padding-bottom: 2rem;
    }

    #ringraziamento .thankyou_main_content h2 {
        line-height: 1.4;
        font-size: 1.5rem;
    }

    .thankyou_main_content {
        line-height: 1.4;
    }

    .sede-title>* {
        text-align: center;
        line-height: 1.4;
    }

    .map_container iframe {
        max-width: 100% !important;
        /* width: 300px !important; */
    }

    .contacts_list_wrapper.width100 {
        width: 75vw;
        padding: 1rem;
    }

    .contacts_list_wrapper.width100 li {
        border: 1px solid var(--grigioscuro);
    }

    .contacts_list_wrapper.width100 ul.flex {
        gap: 20px;
    }
}

/* ANCHOR END */
/* ANCHOR Menu */
/* =========================================
   DESKTOP (solo per .topbar)
   ========================================= */
.topbar nav.site_menu .menu_wrapper ul.menu {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}

.topbar nav.site_menu .menu_wrapper ul.menu li a {
    text-transform: uppercase;
    color: var(--maincolor);
    transition: 300ms;
    padding: .6rem .5rem;
    border-radius: 5px;
    font-weight: 500;
}

.topbar nav.site_menu .menu_wrapper ul.menu li a:hover {
    background-color: var(--white);
}

header.scrolling .topbar nav.site_menu .menu_wrapper ul.menu li a:hover {
    background-color: var(--grigiochiaro);
}

.topbar nav.site_menu .menu_wrapper ul.menu li.highlighted a {
    background-color: var(--secondarycolor);
    color: var(--white);
}

.topbar nav.site_menu .menu_wrapper ul.menu li.highlighted a:hover {
    color: var(--maincolor);
}

/* =========================================
   MOBILE – MENU A SCOMPARSA DALL’ALTO (solo .topbar)
   ========================================= */
@media only screen and (min-width: 1995px) {
    .banner_cta_section {
        /* background-color: var(--maincolor); */
        background-position: center;
        background-size: cover;
    }
}

@media only screen and (max-width: 1400px) {
    nav.nav_landing {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        transition: 300ms;
        translate: -100% 0;
    }

    nav.nav_landing.show_menu_mob {
        translate: 0 0;
    }

    nav.nav_landing .menu_wrapper ul.menu {
        flex-direction: column;
        gap: 0;
    }

    nav.nav_landing .menu_wrapper ul.menu li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        background-color: var(--white);
        border-radius: 0;
        border-bottom: 1px solid var(--grigiochiaro);
    }

    .btn_mob_menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .btn_mob_menu button {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn_mob_menu button svg {
        width: 90%;
        height: 90%;
    }

    body.menu_is_open {
        overflow: hidden;
        /* blocca lo scroll della pagina quando il menu è aperto */
    }

    .topbar {
        position: relative;
        z-index: var(--zindexB, 20);
    }

    /* tb_left, tb_center (con hamburger) e tb_right restano sempre sopra l'overlay del menu */
    .topbar .tb_inner {
        position: relative;
        z-index: calc(var(--zindexB, 20) + 20);
    }

    /* Bottone mobile sempre visibile nella topbar */
    .topbar .tb_center .btn_mob_menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: relative;
        z-index: calc(var(--zindexB) + 10);
        flex-shrink: 0;
    }

    .topbar .tb_center .btn_mob_menu button {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        cursor: pointer;
        padding: 0;
        position: relative;
    }

    .topbar .tb_center .btn_mob_menu button svg {
        width: 24px;
        height: 24px;
        stroke: var(--white);
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: opacity 200ms ease, transform 200ms ease;
    }

    /* Nascondi il menu desktop inline su mobile */


    .topbar nav.site_menu .menu_wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--maincolor);
        z-index: calc(var(--zindexB, 20) + 10);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 300ms ease, opacity 300ms ease, visibility 300ms ease;
    }

    .topbar nav.site_menu.menu_open .menu_wrapper {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .topbar nav.site_menu .menu_wrapper ul.menu {
        flex-direction: column;
        align-items: center;
        gap: 0;
        text-align: center;
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
    }

    /* Voci del menu: testo bianco, sfondo trasparente */
    .topbar nav.site_menu .menu_wrapper ul.menu li a {
        display: block;
        width: 100%;
        text-align: left;
        text-transform: uppercase;
        color: var(--white);
        background: transparent;
        font-weight: var(--fw-500);
        font-size: var(--fs-250);
        padding: 0.9rem 1.2rem;
        border-radius: 0;
        transition: background-color 250ms ease, color 250ms ease;
    }

    .topbar nav.site_menu .menu_wrapper ul.menu li a:hover {
        background-color: rgba(255, 255, 255, 0.08);
        color: var(--white);
    }

    .topbar nav.site_menu .menu_wrapper ul.menu li.highlighted a {
        background-color: rgba(255, 255, 255, 0.12);
        color: var(--white);
    }

    .topbar nav.site_menu .menu_wrapper ul.menu li.highlighted a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: var(--white);
    }

    /* Icona X quando il menu è aperto (hamburger → X) */
    .topbar .tb_center .btn_mob_menu button svg.icon-menu {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }

    .topbar .tb_center .btn_mob_menu button svg.icon-close {
        position: absolute;
        opacity: 0;
        transform: rotate(-90deg) scale(0.8);
    }

    .menu_is_open .topbar nav.site_menu.menu_open~.btn_mob_menu button svg.icon-menu,
    .menu_is_open .topbar .tb_center.menu_open .btn_mob_menu button svg.icon-menu,
    .menu_is_open .topbar .btn_mob_menu button svg.icon-menu {
        opacity: 0;
        transform: rotate(90deg) scale(0.8);
    }

    .menu_is_open .topbar nav.site_menu.menu_open~.btn_mob_menu button svg.icon-close,
    .menu_is_open .topbar .tb_center.menu_open .btn_mob_menu button svg.icon-close,
    .menu_is_open .topbar .btn_mob_menu button svg.icon-close {
        opacity: 1;
        transform: rotate(0deg) scale(1);
        stroke: var(--white);
    }
}



/* !SECTION */