.elementor-2035 .elementor-element.elementor-element-49e1f40{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-2035 .elementor-element.elementor-element-49e1f40{--margin-top:-50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for html, class: .elementor-element-7d484a8 */html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Contenitore hero a pieno schermo */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;        /* fullscreen “classico” */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video di sfondo */
.hero-video {
  position: absolute;
  inset: 0;                  /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;         /* riempie senza deformare (ritaglia un po') */
  object-position: 50% 50%;
  pointer-events: none;
}

/* Di default: mostro solo quello desktop */
.video-mobile {
  display: none;
}

/* Overlay scuro sopra il video (opzionale) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Contenuto sopra il video */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 1.5rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 4rem;
  }

  /* Su mobile: nascondo il desktop e mostro il mobile */
  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: block;
  }
}/* End custom CSS */