.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(3, 18, 36, 0.96) 0%,
    rgba(4, 20, 39, 0.82) 35%,
    rgba(4, 20, 39, 0.12) 66%
  );
}

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

@media (max-width: 850px) {
  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(3, 18, 36, 0.95),
      rgba(3, 18, 36, 0.55)
    );
  }
}
