/*
Theme Name: Studio Legale Petracca & Zabeo
Author: Luca Forzan - LF Design
Author URI: https://lf-design.it/
Version: 1.0
Text Domain: studiolegale
*/

/*------------------------- VARIABLES -------------------------*/
:root {
    --method-card-min: 235px;
    --method-controls-width: 56px;
    --method-controls-gap: 25px;
    --method-controls-extra-height: 35px;
    --method-card-radius: 16px;
    --method-card-padding-y: 40px;
    --method-card-padding-x: 40px;
    --method-content-gap: 28px;
    --grid: var(--e-global-content-width, 1450px);
    --gutter-left: max(16px, calc((100vw - min(var(--grid), 100vw)) / 2));
}
.elementor-section[id],
.e-con[id]{
    scroll-margin-top: 120px;
}
.box-vertical-scroll-method{
    scroll-margin-top: 120px;
}

/* General */
html {
    margin-top: 0 !important;
}
body {
    margin: 0;
    overflow-x: hidden;
    position: relative;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
*:focus {
    outline: none;
}
.inver,
.invert * {
    color: #F4F4F4 !important;
}
a,
a:visited,
a:hover,
a:active {
    color: inherit;
}
a:not(.elementor-button):not(.elementor-button-link):not(:has(img)):not(:has(svg)) {
    transition: opacity .25s ease;
}
a:not(.elementor-button):not(.elementor-button-link):not(:has(img)):not(:has(svg)):hover {
    opacity: .8;
}
*,
*::before,
*::after {
    transition:
        color .3s ease,
        background-color .3s ease,
        opacity .3s ease,
        border-color .3s ease,
        text-decoration-color .3s ease;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 20px 0;
    font-weight: inherit;
}
.title-no-margin h1,
.title-no-margin h2,
.title-no-margin h3,
.title-no-margin h4,
.title-no-margin h5,
.title-no-margin h6 {
    margin: 0 !important;
}

/*------------------------- TESTI -------------------------*/
.p-no-margin p {
    margin-block-start: 0;
    margin-block-end: 0;
}

/*------------------------- PADDING -------------------------*/
.padding-top {
    padding-top: 80px;
}
.padding-bottom {
    padding-bottom: 80px;
}
.padding-medium-bottom {
    padding-bottom: 30px;
}
.padding-medium-top {
    padding-top: 30px;
}
.page-hero-offset{
    padding-top: 140px;
    padding-bottom: 40px;
}

/*------------------------- HEADER -------------------------*/
#head {
    background: transparent !important;
    transition: background .25s ease, box-shadow .25s ease;
}
#head,
#head a,
#head p,
#head span,
#head li,
#head h1 {
    color: #ffffff !important;
}
#head svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}
#head.is-scrolled {
    background: rgb(255, 255, 255) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
#head.is-scrolled,
#head.is-scrolled a,
#head.is-scrolled p,
#head.is-scrolled span,
#head.is-scrolled li,
#head.is-scrolled h1 {
    color: #333 !important;
}
#head.is-scrolled svg {
    fill: #333 !important;
    stroke: #333 !important;
}
#main-menu li:last-child a {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/*------------------------- TOPBAR -------------------------*/
#topbar {
    padding-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
    transition: border-color .3s ease;
}
#head.is-scrolled #topbar {
    border-bottom: 1px solid #333;
}
#topbar p {
    margin: 0;
}
#topbar .left-voice {
    padding-right: 20px;
}
#topbar a {
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
#topbar a:hover {
    opacity: .8;
    text-decoration-color: currentColor;
}
#head .elementor-menu-toggle svg,
#head .elementor-menu-toggle svg * {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}
#head.is-scrolled .elementor-menu-toggle svg,
#head.is-scrolled .elementor-menu-toggle svg * {
    fill: #333 !important;
    stroke: #333 !important;
}
/* sfondo header quando hamburger menu è aperto */
#head:has(.elementor-menu-toggle[aria-expanded="true"]) {
    background: #cdc5c0 !important;
}

/*------------------------- HEADMENU -------------------------*/
#head-menu {
    padding-top: 15px;
    padding-bottom: 5px;
}
#head .elementor-nav-menu a.elementor-item {
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
    transition: color .3s ease, text-decoration-color .3s ease, opacity .3s ease;
}
#head .elementor-nav-menu a.elementor-item:hover,
#head .elementor-nav-menu a.elementor-item:focus,
#head .elementor-nav-menu a.elementor-item.elementor-item-active {
    text-decoration-color: currentColor;
    opacity: .8;
}

/*------------------------- FOOTER -------------------------*/
#footer a {
    color: #333;
}
#footer a:hover {
    opacity: .8;
}

/*------------------------- BOTTONI -------------------------*/
/* BASE COMUNE */
.btn-light .elementor-button,
.btn-dark .elementor-button,
.btn-grey .elementor-button,
.btn-white .elementor-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px !important;
    border-radius: 999px;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}

.btn-light .elementor-button-content-wrapper,
.btn-dark .elementor-button-content-wrapper,
.btn-grey .elementor-button-content-wrapper,
.btn-white .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-light .elementor-button::before,
.btn-dark .elementor-button::before,
.btn-grey .elementor-button::before,
.btn-white .elementor-button::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/*--- CHIARO ---*/
.btn-light .elementor-button {
    border: 1px solid #fff !important;
    background: transparent !important;
    color: #fff !important;
}
.btn-light .elementor-button::before {
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-chiara.svg");
}
.btn-light .elementor-button:hover {
    background-color: #fff !important;
    color: #333 !important;
    border-color: #fff !important;
}
.btn-light .elementor-button:hover::before {
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-scura.svg");
}

/*--- SCURO ---*/
.btn-dark .elementor-button {
    border: 1px solid #333 !important;
    background: #333 !important;
    color: #fff !important;
}
.btn-dark .elementor-button::before {
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-chiara.svg");
}
.btn-dark .elementor-button:hover {
    background: transparent !important;
    color: #333 !important;
    border-color: #333 !important;
}
.btn-dark .elementor-button:hover::before {
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-scura.svg");
}

/*--- GREY ---*/
.btn-grey .elementor-button {
    border: 1px solid #333 !important;
    background: transparent !important;
    color: #333 !important;
}
.btn-grey .elementor-button::before {
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-scura.svg");
}
.btn-grey .elementor-button:hover {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}
.btn-grey .elementor-button:hover::before {
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-chiara.svg");
}

/*--- WHITE ---*/
.btn-white .elementor-button {
    border: 1px solid var(--e-global-color-primary) !important;
    background: #ffffff !important;
    color: var(--e-global-color-primary) !important;
}
.btn-white .elementor-button::before {
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-scura.svg");
}
.btn-white .elementor-button:hover {
    opacity: 0.8;
}

/*------------------------- HOME -------------------------*/
.border-rad {
    border-radius: 16px !important;
    overflow: hidden !important;
}
.box-home {
    padding: 30px 40px 40px 40px !important;
}
.box-home h3 {
    font-size: 20px !important;
}
.box-home p {
    color: #6C6A6A !important;
}
.box-home .elementor-icon {
    font-size: 20px !important;
    transition: transform .3s ease;
}
.box-home:hover .elementor-icon {
    transform: rotate(45deg);
}

/*--- Info avvocati ---*/
.info-law {
    padding: 20px 50px 30px 50px !important;
}
.info-law h3 {
    font-size: 24px !important;
}
.info-law h6 {
    font-size: 18px !important;
}

/*--- Info avvocati ---*/
.box-law-left {
    padding: 20px !important;
}
.box-law-left h3 {
    font-size: 28px;
}

/*--- Animazione titolo iniziale ---*/
.hero-split-title{
    margin: 0;
    line-height: 0.95;
    color: #fff;
}
.hero-split-title .word{
    display: inline-block;
    opacity: 0;
    will-change: transform, opacity;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-split-title .word.left{
    transform: translateX(-80px);
    animation-name: wordFromLeft;
}
.hero-split-title .word.right{
    transform: translateX(80px);
    animation-name: wordFromRight;
}
.hero-split-title .word:nth-child(1){
    animation-delay: 0.1s;
}
.hero-split-title .word:nth-child(2){
    animation-delay: 0.25s;
}
.hero-split-title .word:nth-child(4){
    animation-delay: 0.4s;
}
.hero-split-title .word:nth-child(5){
    animation-delay: 0.55s;
}

/*--- Animazione titolo iniziale ---*/
.hero-split-title{
    margin: 0;
    line-height: 0.95;
    color: #fff;
}

.hero-split-title .hero-line{
    display: flex;
    align-items: baseline;
    gap: 0.18em;
    flex-wrap: nowrap;
}

.hero-split-title .word{
    display: inline-block;
    opacity: 0;
    will-change: transform, opacity;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

.hero-split-title .word.left{
    transform: translateX(-80px);
    animation-name: wordFromLeft;
}

.hero-split-title .word.right{
    transform: translateX(80px);
    animation-name: wordFromRight;
}

.hero-split-title .hero-line:nth-child(1) .word.left{
    animation-delay: 0.2s;
}

.hero-split-title .hero-line:nth-child(1) .word.right{
    animation-delay: 0.35s;
}

.hero-split-title .hero-line:nth-child(2) .word.left{
    animation-delay: 0.6s;
}

.hero-split-title .hero-line:nth-child(2) .word.right{
    animation-delay: 0.75s;
}

@keyframes wordFromLeft{
    from{
        opacity: 0;
        transform: translateX(-80px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes wordFromRight{
    from{
        opacity: 0;
        transform: translateX(80px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

/*------------------------- Carosello il nostro metodo in home -------------------------*/
.method-slider-wrapper {
    position: relative;
    overflow: hidden;
}
.swiper-method-slider {
    overflow: visible !important;
    width: 100%;
    max-width: 100%;
}
.swiper-method-slider .swiper-wrapper {
    box-sizing: border-box;
}
.swiper-method-slider .swiper-slide {
    display: flex;
    height: auto;
    box-sizing: border-box;
}
.method-card {
    width: 100%;
    min-height: var(--method-card-min);
    background: #FFFFFF;
    border-radius: var(--method-card-radius);
    padding: var(--method-card-padding-y) var(--method-card-padding-x);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.method-card-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--method-content-gap);
}
.method-card-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 0;
}
.method-number {
    font-size: 32px;
    line-height: 1;
    font-weight: 500 !important;
    color: #8D8885;
    flex-shrink: 0;
}
.method-title {
    margin: 0 !important;
    font-size: 32px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    color: #333333;
}
.method-resume {
    display: block;
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.45;
    color: #6C6A6A;
}

/*------------------------- Frecce carosello a sinistra -------------------------*/
.swiper-controls {
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100% + var(--method-controls-extra-height));
    width: var(--method-controls-width);
    background: rgba(99, 99, 99, .6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 20;
}
.swiper-button-prev-method,
.swiper-button-next-method {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    display: block !important;
    cursor: pointer;
    color: transparent !important;
    outline: none !important;
}
.swiper-button-prev-method {
    top: 65%;
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/04/prev.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px 18px !important;
}
.swiper-button-next-method {
    top: 80%;
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/04/next.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px 18px !important;
}
.swiper-button-prev-method::before,
.swiper-button-next-method::before,
.swiper-button-prev-method::after,
.swiper-button-next-method::after {
    content: none !important;
    display: none !important;
}
.swiper-button-prev-method:hover,
.swiper-button-next-method:hover {
    opacity: .7;
}
.swiper-button-prev-method.swiper-button-disabled,
.swiper-button-next-method.swiper-button-disabled {
    opacity: .3;
    pointer-events: none;
}

/*------------------------- Colonna che resta solo da sinistra -------------------------*/
.grid-left-bleed-right {
    position: relative;
}
.grid-left-bleed-right .swiper-method-slider {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        transparent var(--gutter-left),
        #000 var(--gutter-left),
        #000 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        transparent var(--gutter-left),
        #000 var(--gutter-left),
        #000 100%
    );
    overflow: visible !important;
    padding-left: var(--gutter-left);
    box-sizing: border-box;
    margin-right: 0;
    margin-bottom: 80px;
}
@supports not (mask-image: linear-gradient(#000, #000)) {
    .grid-left-bleed-right .swiper-method-slider {
        clip-path: inset(0 0 0 var(--gutter-left));
    }
}

/*------------------------- CONTATTI -------------------------*/
.form-contact{
    background-color: #fff;
    padding: 40px!important;
    border-radius: 16px!important;
}
/*--- SUBMIT FORM ---*/
.form-btn-icon .elementor-field-type-submit .elementor-button{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity .25s ease;
}
.form-btn-icon .elementor-field-type-submit .elementor-button::before{
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-chiara.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.form-btn-icon .elementor-field-type-submit .elementor-button:hover{
    opacity: 0.8;
}
/*--- CHECKBOX ACCETTAZIONE ---*/
.form-btn-icon .elementor-field-type-acceptance .elementor-field-option{
    position: relative;
    display: inline-flex;
    align-items: center;
}
.form-btn-icon .elementor-field-type-acceptance .elementor-acceptance-field{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.form-btn-icon .elementor-field-type-acceptance .elementor-field-option label{
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding-left: 32px;
    line-height: 1.4;
}
.form-btn-icon .elementor-field-type-acceptance .elementor-field-option label::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #333333;
    border-radius: 3px;
    background: transparent;
    box-sizing: border-box;
}
.form-btn-icon .elementor-field-type-acceptance .elementor-field-option label::after{
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 5px;
    height: 9px;
    border: solid #333333;
    border-width: 0 2px 2px 0;
    transform: translateY(-58%) rotate(45deg);
    opacity: 0;
}
.form-btn-icon .elementor-field-type-acceptance .elementor-acceptance-field:checked + label::after{
    opacity: 1;
}
.form-btn-icon .elementor-field-type-acceptance .elementor-field-option label:hover::before{
    opacity: 0.8;
}
.form-btn-icon .elementor-field-type-acceptance .elementor-field-option label{
    font-size: 16px!important;
    line-height: 1!important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*------------------------- AREE DI ATTIVITÀ -------------------------*/
.dynamic-list h6{
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #333 !important;
}
.dynamic-list ul,
.dynamic-list ol{
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.dynamic-list li{
    position: relative;
    margin: 0;
    padding: 0 0 20px 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: #333333;
    transition: padding-left .25s ease, opacity .25s ease;
    cursor: pointer;
}
.dynamic-list li a{
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    transition: opacity .25s ease;
}
/* freccia */
.dynamic-list li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    opacity: 0;
    background-image: url("https://www.petraccapandolfozabeo.it//wp-content/uploads/2026/03/freccia-scura.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity .25s ease;
}
/* hover desktop */
.dynamic-list li:hover{
    padding-left: 25px;
}
.dynamic-list li:hover::before{
    opacity: 1;
}
.dynamic-list li a:hover{
    opacity: 0.8;
}
/* stato attivo da click/scroll */
.dynamic-list li.is-active{
    padding-left: 25px;
}
.dynamic-list li.is-active::before{
    opacity: 1;
}
.dynamic-list li.is-active a{
    opacity: 0.8;
}

/*------------------------- BOX SCROLL VERTICALE STILI -------------------------*/
.box-vertical-scroll{
    background: #F6F1EA;
    padding: 50px!important;
    margin-bottom: 20px;
    border-radius: 12px!important;
}
.box-vertical-scroll h2{
    font-weight: 500!important;
    font-size: 32px!important;
    margin: 0 0 30px 0;
}
.box-vertical-scroll h3{
    font-weight: 500!important;
    font-size: 21px!important;
    margin: 30px 0px;
}
.box-vertical-scroll ul{
    margin: 0;
}
.box-vertical-scroll ul li{
    margin-bottom: 10px;
}
/*------------------------- BOX CTA FINALE -------------------------*/
.box-cta-final{
    border-radius: 12px!important;
    padding: 60px!important;
    overflow: hidden;
}
.box-cta-final .elementor-background-overlay,
.box-cta-final::before{
    border-radius: 12px !important;
}

/*------------------------ LISTA METODI ------------------------*/
.box-vertical-scroll-method{
    background: #F6F1EA;
    padding: 100px!important;
    margin-bottom: 20px;
    border-radius: 12px!important;
}
.box-vertical-scroll-method h3{
    font-weight: 500!important;
    font-size: 32px!important;
    margin: 0 0 16px 0;
    color: #333333;
}
.method-number-pg{
    font-weight: 500;
    font-size: 240px;
    line-height: 1.1;
    color: #8E8782;
    margin-bottom: 30px;
}
.method-content p{
    margin: 0;
    color: #333333;
}

/*------------------------- Tablet -------------------------*/
@media (max-width: 1024px) {
    .padding-top {
        padding-top: 40px !important;
    }
    .padding-bottom {
        padding-bottom: 40px !important;
    }
    .info-law {
        padding: 15px !important;
    }
    .info-law p {
        font-size: 14px !important;
    }

    /*--- Carosello home ---*/
    :root {
        --method-controls-width: 52px;
        --method-controls-extra-height: 28px;
    }
    .method-card {
        min-height: 220px;
        padding: 26px 26px;
    }
    .method-title {
        font-size: 26px !important;
    }
    .method-number {
        font-size: 26px;
    }
    .method-resume {
        font-size: 15px;
    }
    .grid-left-bleed-right .swiper-method-slider {
        overflow: hidden !important;
        padding-left: 20px !important;
        margin-right: 0 !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        clip-path: none !important;
    }
    /*--- BOX SCROLL VERTICALE STILI ---*/
    .box-vertical-scroll{
        padding: 30px!important;
    }
    /*--- DIRITTO CIVILE E PENALE ---*/
    .dynamic-list ul{
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 0 0 8px 0;
        margin: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }
    .dynamic-list ul::-webkit-scrollbar{
        display: none;
    }
    .dynamic-list li{
        flex: 0 0 auto;
        padding: 0 !important;
        margin: 0;
        font-size: 16px;
        line-height: 1;
    }
    .dynamic-list li::before{
        display: none !important;
    }
    .dynamic-list li:hover{
        padding-left: 0 !important;
    }
    .dynamic-list li a{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 18px;
        /* border: 1px solid #333333; */
        border-radius: 999px;
        white-space: nowrap;
        font-size: 16px;
        line-height: 1;
        background: #F6F1EA;
    }
    .dynamic-list li.is-active a{
        background: #333!important;
        color: #F6F1EA!important;
        opacity: 1;
    }
    .dynamic-list li a:hover{
        opacity: 1;
    }
    .elementor-section[id],
    .e-con[id]{
        scroll-margin-top: 180px;
    }
    .box-vertical-scroll-method{
        scroll-margin-top: 180px;
    }
}

/*------------------------- Mobile -------------------------*/
@media (max-width: 767px) {
    .padding-top {
        padding-top: 40px !important;
    }
    .padding-bottom {
        padding-bottom: 40px !important;
    }
    #topbar .left-voice {
        padding-right: 0;
    }
    .info-law {
        padding: 10px !important;
    }
    .box-home {
        padding: 20px !important;
    }
    /*--- MENU DA MOBILE ---*/
    #head-menu {
        padding-top: 0;
        padding-bottom: 0;
    }
    .elementor-nav-menu--dropdown {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto;
        z-index: 9999;
    }
    #head.is-scrolled {
        box-shadow: none !important;
    }
    #head:has(.elementor-menu-toggle[aria-expanded="true"]),
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) a,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) p,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) span,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) li,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) h1 {
        color: #333 !important;
    }
    /* hamburger + close icon */
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) .elementor-menu-toggle svg,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) .elementor-menu-toggle svg *,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) .elementor-menu-toggle__icon--open svg,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) .elementor-menu-toggle__icon--open svg *,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) .elementor-menu-toggle__icon--close svg,
    #head:has(.elementor-menu-toggle[aria-expanded="true"]) .elementor-menu-toggle__icon--close svg * {
        fill: #333 !important;
        stroke: #333 !important;
    }
    /*--- CAROSELLO HOME ---*/
    :root {
        --method-controls-width: 48px;
        --method-controls-extra-height: 0px;
    }
    .method-slider-wrapper {
        overflow: hidden;
    }
    .grid-left-bleed-right {
        overflow: hidden;
    }
    .grid-left-bleed-right .swiper-method-slider {
        overflow: hidden !important;
        padding-left: 20px !important;
        margin-right: 0 !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        clip-path: none !important;
    }
    .swiper-method-slider .swiper-wrapper {
        overflow: visible;
    }
    .swiper-controls {
        right: 0;
        height: 100%;
    }
    .method-card {
        min-height: 200px;
        padding: 22px 20px;
    }
    .method-card-head {
        gap: 14px;
    }
    .method-card-inner {
        gap: 16px;
    }
    .method-title {
        font-size: 22px !important;
        line-height: 1.1 !important;
    }
    .method-number {
        font-size: 22px;
    }
    .method-resume {
        font-size: 14px;
        line-height: 1.45;
    }
    .swiper-button-prev-method,
    .swiper-button-next-method {
        width: 30px;
        height: 30px;
    }
    /*--- CONTATTI ---*/
    .page-hero-offset{
        padding-top: 100px;
    }
    .form-contact{
        padding: 20px!important;
    }
    /*--- BOX SCROLL VERTICALE STILI ---*/
    .box-vertical-scroll{
        padding: 30px!important;
    }
    .box-vertical-scroll-method{
        padding: 30px!important;
    }
    .method-number-pg{
        font-size: 120px;
    }

}