
/* --- HEADER / MENU FIX PER REOBIZ + ELEMENTOR --- */

/* 1) Header sempre sopra e solido */
.elementor-location-header,
.site-header,
.rt-header { 
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #fff !important;
  will-change: auto !important;
  transform: none !important;
}

/* 2) Evita il "salto" dello sticky di Elementor */
.elementor-sticky--effects { 
  transform: none !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.elementor-sticky__spacer { height: auto !important; }

/* 3) Altezza e allineamento del blocco header */
.elementor-location-header .elementor-container,
.site-header .container,
.rt-header .container {
  min-height: 72px;
  align-items: center;
}
.hero, .hero-section, [classe-hero], body.home .prima-sezione {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}

/* 4) Menu visibile e cliccabile sopra a tutto */
.elementor-nav-menu,
.elementor-nav-menu--dropdown,
.elementor-menu-toggle {
  z-index: 100000 !important;
}

/* 5) Spaziatura link menu per evitare restringimenti */
.elementor-nav-menu--main .elementor-item,
.site-header nav ul li a {
  padding: 18px 14px !important;
  line-height: 1.4 !important;
  color: #0a0a0a !important;
}

/* 6) Niente header trasparente in home (se attivo nel tema) */
.home .elementor-location-header { 
  background: #fff !important;
}

/* 7) Evita che il contenuto finisca sotto l'header quando si salta a un'ancora */
html { scroll-padding-top: 90px; }

/* 8) Admin bar WordPress: sposta giù lo sticky */
body.admin-bar .elementor-location-header,
body.admin-bar .rt-header { top: 32px; }

/* 9) Mobile / tablet: hamburger e dropdown sopra tutto */
@media (max-width: 1024px) {
  .elementor-menu-toggle { display: flex !important; align-items: center; }
  .elementor-nav-menu--dropdown { 
    position: relative;
    z-index: 100000 !important;
  }
}

/* Rimuove spazio bianco sotto l'header Reobiz */
.rt-sticky-placeholder,
.rt-sticky-spacer,
.menu-area .sticky-wrapper,
.menu-area .rt-sticky-placeholder {
  height: 0 !important;
  min-height: 0 !important;
  display: none !important;
}

/* Prima sezione Elementor attaccata all'header */
.elementor-section:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Versione più conservativa */
*,
*::before,
*::after {
  animation-duration: 0.001s !important;
  animation-delay: 0s !important;
  transition-duration: 0.001s !important;
  transition-delay: 0s !important;
}
.elementor-top-section:first-child { min-height: 100vh !important; }
/* 1) Evita micro-salti: immagini sempre block */
.elementor img{
  display:block;
  height:auto;
}

/* 2) Wrapper stabile per immagini nelle card (image-box / cards) */
.elementor .elementor-image-box-img,
.elementor .elementor-widget-image .elementor-widget-container{
  aspect-ratio: 16 / 9;   /* cambia se serve */
  overflow:hidden;
}

/* 3) Le immagini si adattano senza cambiare layout */
.elementor .elementor-image-box-img img,
.elementor .elementor-widget-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.moschitta-hero{ min-height: 60vh; }

/* Blocca l'altezza dell'header all'apertura per evitare il salto visivo */
.site-header, #masthead, .header-wrapper {
    min-height: 90px; /* Sostituisci con l'altezza reale del tuo header */
}


/* --- SD Digital Lab: fix sezione Partner e tecnologie (fluido, senza media query) --- */
.mos-partners-section{overflow-x:clip}
.mos-partners-container{display:flex!important;flex-wrap:wrap;align-items:center;gap:42px;width:min(calc(100% - 32px),1200px);margin:0 auto;box-sizing:border-box}
.mos-partners-copy{flex:0.9 1 340px;min-width:0}
.mos-partners-title{max-width:100%;overflow-wrap:normal;word-break:normal;hyphens:none;font-size:clamp(1.85rem,6.2vw,3.6rem)}
.mos-partners-copy p{max-width:100%;overflow-wrap:break-word}
.mos-partners-grid{flex:1.1 1 320px;min-width:0;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:18px}
.mos-partner-card{min-width:0;max-width:100%}
.mos-partner-card img{max-width:100%;height:auto}


/* --- SD Digital Lab: anticipo sezione trust in head (fix flash caratteri grandi) --- */

  .moschitta-trust-section {
    backdrop-filter;kground: #ffffff;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
  }

  .moschitta-trust-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .moschitta-trust-intro {
    text-align: center;
    margin-bottom: 35px;
  }

  .moschitta-trust-intro h2 {
    font-size: 32px;
    line-height: 1.2;
    color: #0d2f6f;
    margin-bottom: 12px;
  }

  .moschitta-trust-intro p {
    font-size: 17px;
    color: #333333;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .moschitta-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 35px 0 45px 0;
  }

  .moschitta-trust-card {
    background: #f7f9fc;
    border: 1px solid #e3e8f2;
    border-radius: 12px;
    padding: 25px 18px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  }

  .moschitta-trust-card h3 {
    font-size: 30px;
    color: #f37021;
    margin: 0 0 10px 0;
  }

  .moschitta-trust-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #222222;
  }

  .moschitta-method-wrap {
    background: linear-gradient(135deg, #0d2f6f 0%, #123d8b 100%);
    border-radius: 16px;
    padding: 35px 28px;
    color: #ffffff;
  }

  .moschitta-method-wrap h2 {
    font-size: 30px;
    margin: 0 0 12px 0;
    line-height: 1.2;
 color:#ffffff
 ; }

  .moschitta-method-wrap > p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px 0;
    color: #f2f5fb
    max-width: 850px;
  }

  .moschitta-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .moschitta-method-step {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 22px 18px;
  }

  .moschitta-method-step span {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #f37021;
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 14px;
    font-size: 16px;
  }

  .moschitta-method-step h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #ffffff;
  }

  .moschitta-method-step p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: #eef3ff;
  }

  .moschitta-method-cta {
    margin-top: 28px;
    text-align: center;
  }

  .moschitta-method-cta a {
    display: inline-block;
    background: #f37021;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
  }

  .moschitta-method-cta a:hover {
    background: #d95f17;
  }

  @media (max-width: 991px) {
    .moschitta-trust-grid,
    .moschitta-method-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .moschitta-trust-intro h2,
    .moschitta-method-wrap h2 {
      font-size: 28px;
    }
  }

  @media (max-width: 600px) {
    .moschitta-trust-grid,
    .moschitta-method-grid {
      grid-template-columns: 1fr;
    }

    .moschitta-trust-section {
      padding: 35px 15px;
    }

    .moschitta-trust-intro h2,
    .moschitta-method-wrap h2 {
      font-size: 24px;
    }

    .moschitta-trust-intro p,
    .moschitta-method-wrap > p {
      font-size: 15px;
    }
  }



/* --- SD Digital Lab: fix sfondo hero Safari (indipendente dal lazy load JS) --- */
.elementor-element-58822aa{background-image:url("/wp-content/uploads/2026/07/ChatGPT-Image-1-lug-2026-14_45_51-2-2-2.webp")!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}


/* --- HERO: colori dei titoli gia al primo caricamento (evita il lampo) --- */
.elementor-element.elementor-element-aa1f4a5 .elementor-heading-title { color: #ffffff !important; }
.elementor-element.elementor-element-0cc80f6 .elementor-heading-title { color: #edf5f5 !important; }
.elementor-element.elementor-element-3897edb .elementor-heading-title { color: #f6f6f6 !important; }
.elementor-element.elementor-element-6d2fc86,
.elementor-element.elementor-element-6d2fc86 p { color: #ffffff !important; }

