/**
 * Homepage Elementor — hero jumbotron + layout (caricato dopo Elementor).
 */

body.furgoo-home-elementor .alignfull,
body.furgoo-home-elementor .furgoo-home--elementor {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  width: 100%;
}

body.furgoo-home-elementor .furgoo-home--elementor {
  color: #121212;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

body.furgoo-home-elementor .furgoo-page--home-elementor .furgoo-page__content--elementor {
  max-width: none;
  padding: 0;
}

body.furgoo-home-elementor .furgoo-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  min-height: 520px;
  position: relative;
  background: #0f1226;
}

body.furgoo-home-elementor .furgoo-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

body.furgoo-home-elementor .furgoo-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.2s ease,
    transform 7s ease;
}

body.furgoo-home-elementor .furgoo-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

body.furgoo-home-elementor .furgoo-hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0f1226;
  transform: translateZ(0);
}

body.furgoo-home-elementor .furgoo-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

body.furgoo-home-elementor .furgoo-overlay {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

body.furgoo-home-elementor .furgoo-hero-overlay {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 4rem 2rem clamp(2.5rem, 6vw, 4.5rem);
}

body.furgoo-home-elementor .furgoo-hero-content {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

body.furgoo-home-elementor .furgoo-hero-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  opacity: 1;
  transform: none;
  animation: furgooFadeUp 0.7s ease-out forwards;
}

body.furgoo-home-elementor .furgoo-hero-content .furgoo-subtitle {
  margin: 1rem 0 0;
  color: #fefa3e;
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  font-weight: 700;
  opacity: 1;
  transform: none;
  animation: furgooFadeUp 0.7s ease-out 0.15s forwards;
}

body.furgoo-home-elementor .furgoo-hero-content .furgoo-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 24px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  margin-top: 1.7rem;
  opacity: 1;
  transform: none;
  animation: furgooFadeUp 0.7s ease-out 0.35s forwards;
}

body.furgoo-home-elementor .furgoo-hero-content .furgoo-btn-accent {
  background: #fefa3e;
  color: #121212;
}

@keyframes furgooFadeDown {
  from {
    opacity: 0;
    transform: translate3d(0, -28px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes furgooFadeDownOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(0, -28px, 0);
  }
}

body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content h1 {
  opacity: 0;
  animation: furgooFadeDown 0.7s ease-out forwards;
}

body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content .furgoo-subtitle {
  opacity: 0;
  animation: furgooFadeDown 0.7s ease-out 0.15s forwards;
}

body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content .furgoo-btn {
  opacity: 0;
  animation: furgooFadeDown 0.7s ease-out 0.35s forwards;
}

body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content .furgoo-hero-contact {
  opacity: 0;
  animation: furgooFadeDown 0.7s ease-out 0.5s forwards;
}

body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content.is-titles-hiding h1,
body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content.is-titles-hiding .furgoo-subtitle {
  animation: furgooFadeDownOut 0.7s ease-in forwards;
  pointer-events: none;
}

body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content.is-titles-gone h1,
body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content.is-titles-gone .furgoo-subtitle {
  display: none;
  margin: 0;
}

body.furgoo-home-elementor .furgoo-hero-contact {
  margin-top: 0.95rem;
}

body.furgoo-home-elementor .furgoo-hero-contact-label {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
}

body.furgoo-home-elementor .furgoo-contact-item--hero {
  margin-top: 0.35rem;
  color: #fefa3e;
}

body.furgoo-home-elementor .furgoo-contact-item--hero .furgoo-contact-item-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #fefa3e;
  border-radius: 50%;
  padding: 7px;
}

body.furgoo-home-elementor .furgoo-contact-item--hero .furgoo-contact-item-text {
  font-size: clamp(1.38rem, 4.2vw, 2.68rem);
  line-height: 1.05;
  font-weight: 800;
  color: #fefa3e;
}

@media (max-width: 767px) {
  body.furgoo-home-elementor .furgoo-hero,
  body.furgoo-home-elementor .furgoo-hero-overlay {
    min-height: 460px;
  }

  body.furgoo-home-elementor .furgoo-hero-overlay {
    padding-top: 3rem;
    padding-left: var(--furgoo-gutter-mobile, 1.25rem);
    padding-right: var(--furgoo-gutter-mobile, 1.25rem);
  }

  body.furgoo-home-elementor .furgoo-hero-content {
    padding-inline: var(--furgoo-gutter-mobile, 1.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.furgoo-home-elementor .furgoo-hero-content h1,
  body.furgoo-home-elementor .furgoo-hero-content .furgoo-subtitle,
  body.furgoo-home-elementor .furgoo-hero-content .furgoo-btn,
  body.furgoo-home-elementor .furgoo-hero--video .furgoo-hero-content .furgoo-hero-contact {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
