.animated-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eaf7ff;
}

.animated-hero .hero-animation {
  display: none !important;
}

.hero-background-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background-video {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
}

.hero-video-overlay {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(239, 249, 255, 0.97) 0%,
    rgba(239, 249, 255, 0.9) 32%,
    rgba(239, 249, 255, 0.38) 62%,
    rgba(239, 249, 255, 0.06) 100%
  );
  pointer-events: none;
}

.animated-hero .hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .hero-background-video {
    object-position: 62% center;
  }

  .hero-video-overlay {
    background: rgba(239, 249, 255, 0.84);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-video {
    display: none;
  }
}

.animated-hero::before { display: none; }
.hero-background-video { pointer-events: none; }
