/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*Mostra logo nel menu*/
.header{
    z-index:99;
}

/*Smooth logos carousel*/
@media (prefers-reduced-motion: reduce) {
    .elementor-element-740f329 .swiper-wrapper {
        transition-duration: 14000ms !important;
        transition-timing-function: linear !important;
    }
}

/*Opzione 2 - quella scelta!*/
.loghi-clienti-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 32px;
}

.loghi-clienti-track {
    display: flex;
    width: max-content;
    animation: scroll-loghi 60s linear infinite;
    align-items: center;
    gap: 60px;
}

.loghi-clienti-track img {
    height: 40px;
    width: 130px; /* larghezza fissa uguale per tutti */
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scroll-loghi {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/*Filtro case study*/
.case-study-card {
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 1;
    transform: scale(1);
}

.case-study-hidden {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

.case-study-hidden.fully-hidden {
    display: none !important;
}

.filter-btn.is-active {
    color: #FEB8F8;
    opacity: 1;
}

.filter-btn {
    cursor: pointer;
    user-select: none; /* opzionale: evita che il testo si selezioni per sbaglio cliccando */
}

.category-tag {
    display: none;
}

.category-tag.tag-visible {
    display: inline-flex; /* o inline-block, a seconda di come sono fatti i tuoi tag */
}

/*Sticky slide homepage*/
@media screen and (min-width: 1121px) {
/* Attiva l'effetto sticky sui contenitori */
    /*
    .sezione-reveal {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    transition: all 0.5s ease;
    }
     */
}

.elementor-widget-nav-menu {
    position: static !important;
}

/* --- DISPOSITIVI MOBILE (fino a 767px) --- */
@media (max-width: 767px) {
    /* Il codice si attiva SOLO se l'hamburger ha la classe .elementor-active */

    nav.elementor-nav-menu--dropdown {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: calc(100vw - 24px) !important;
        margin: 0 auto !important;
        transform: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1121px) {
    nav.elementor-nav-menu--dropdown {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: calc(100vw - 40px) !important;
        margin: 0 auto !important;
        transform: none !important;
    }
}


/*Form*/
.wpforms-container-full button[type=submit]:not(:hover):not(:active){
    border-radius: 999px;
    background-color: #0055DD;
    width: 100%;
    text-transform: uppercase;
}

.wpforms-container-full button[type=submit]:hover{
    border-radius: 999px;
    background-color: #0044B6;
    width: 100%;
    text-transform: uppercase;
}

/*.btn-form::before{
    content: "";
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-image: url(https://newsite.softweb.srl/wp-content/uploads/2026/07/send-01.svg);
    background-size: contain;
    background-repeat: no-repeat;
}*/

div.wpforms-container-full .wpforms-field-label{
    margin: 0 0 8px 0 !important;
}

.wpforms-container .wpforms-field-label{
    font-weight: 500 !important;
}

.wpforms-container .wpforms-field{
    padding: 8px 0 !important;
}

@media (min-width: 1025px) {
    html.fp-active:has(body.home),
    html.fp-active body.home {
        overflow-y: auto !important;
        overflow-x: hidden;
        height: auto !important;
        margin: 0;
        padding: 0;
        /* Rimuoviamo l'effetto nativo per non andare in conflitto con il JS cinematico */
        scroll-behavior: auto !important;
    }

    /*
    body.home .sezione-reveal,
    body.home .elementor-location-footer {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        box-sizing: border-box;
        overflow: hidden !important;
    }
     */
}

/*Recensioni Home*/
.recensioni .wp-more-toggle{
color: #808080 !important;
}
.recensioni .wp-google-time{
    display: none;
}
.recensioni .rpi-ltgt.rpi-gt.grw-next,
.recensioni .rpi-ltgt.rpi-lt.grw-prev{
    background-color: #777777 !important;
}
.recensioni .rpi-ltgt.rpi-gt.grw-next::after,
.recensioni .rpi-ltgt.rpi-lt.grw-prev::before{
    background-color: #f5f5f5 !important;
}
/*Parte per redere non scrollabile la recensione e al leggi tutto si ingrandisce*/
/*
.recensioni .grw-reviews-wrap .slick-track,
.recensioni .grw-reviews-wrap .swiper-wrapper,
.recensioni .grw-reviews-wrap .rpi-flx {
    display: flex !important;
    align-items: flex-start !important;
    height: auto !important;
}
.recensioni .grw-review-inner {
    height: auto !important;
    align-self: flex-start !important;
    max-height: fit-content;
}
.recensioni .grw-review-inner .wp-google-feedback.grw-scroll {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}
.recensioni .rpi-slide grw-review div{
    max-height: 100%;
}
 */
/*FINE Parte per redere non scrollabile la recensione e al leggi tutto si ingrandisce*/

/*FINE Recensioni Home*/

/*Animazione homepage
=========================================================
   HERO — Softweb
   =========================================================

.lw-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #b800c9 0%, #6a1fd0 45%, #2b4bf2 100%);
}

Il contenuto testuale (titolo, sottotitolo, bottoni) va sempre sopra ai Lottie
.lw-hero > .elementor-container {
    position: relative;
    z-index: 10;
}

=========================================================
   LOTTIE DECORATIVI — regole comuni
   =========================================================

.lw-hero-lottie--left,
.lw-hero-lottie--right {
    position: absolute !important;
    z-index: 1;
    pointer-events: none;
}

/* Elementor avvolge il widget in .elementor-widget-container:
   deve riempire tutto lo spazio del widget assoluto
.lw-hero-lottie--left .elementor-widget-container,
.lw-hero-lottie--right .elementor-widget-container,
.lw-hero-lottie--left .elementor-lottie,
.lw-hero-lottie--right .elementor-lottie {
    width: 100%;
    height: 100%;
}

/* =========================================================
   TURN / Segni_grafici-1 -> SINISTRA (viewBox 1307 x 645)
   =========================================================

.lw-hero-lottie--left {
    left: -14vw;
    bottom: 6%;
    width: clamp(320px, 42vw, 620px);
    aspect-ratio: 1307 / 645;
}

/* =========================================================
   AND_CURL / Segni_grafici -> DESTRA (viewBox 665 x 787)
   =========================================================

.lw-hero-lottie--right {
    right: -4vw;
    top: 6%;
    width: clamp(220px, 26vw, 400px);
    aspect-ratio: 665 / 787;
}

/* =========================================================
   RESPONSIVE — tablet
   =========================================================

@media (max-width: 1024px) {
    .lw-hero-lottie--left {
        width: clamp(280px, 38vw, 480px);
    }
    .lw-hero-lottie--right {
        width: clamp(180px, 24vw, 320px);
    }
}

/* =========================================================
   RESPONSIVE — mobile: più piccoli, discreti, dietro al testo
   =========================================================

@media (max-width: 640px) {
    .lw-hero-lottie--left,
    .lw-hero-lottie--right {
        opacity: .4;
    }
    .lw-hero-lottie--left {
        width: 60vw;
        left: -20vw;
        bottom: -2%;
    }
    .lw-hero-lottie--right {
        width: 46vw;
        right: -10vw;
        top: 3%;
    }
}

/* =========================================================
   ACCESSIBILITÀ — rispetta chi disattiva le animazioni
   =========================================================

@media (prefers-reduced-motion: reduce) {
    .lw-hero-lottie--left,
    .lw-hero-lottie--right {
        animation: none !important;
    }
}*/

/*WA Plugin*/
.ht-ctc{
    bottom: 10px !important;
    right: 5px !important;
}
.grecaptcha-badge{
    bottom: 90px !important;
}

/*FINE WA Plugin*/


/*Icona freccia per ancor in home*/

@keyframes apparizioneScroll {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    20% {
        opacity: 0;
        visibility: hidden;
    }
    30%, 100% {
        opacity: 1;
        visibility: visible;
    }
}
.scroll-home {
    opacity: 0;
    visibility: hidden;
    animation: apparizioneScroll linear both;
    animation-timeline: scroll();
    animation-range: 0 800px;
}
/*FINE Icona freccia per ancor in home*/

/*Riassunto fittizio per loop blog*/
.softweb-excerpt-text,
.softweb-excerpt-text .elementor-shortcode,
.softweb-excerpt-text * {
    color: #000000 !important;
}