/* Rehabilitation hero: responsive ambient video with a static, accessible fallback. */

.svc-hero--rehab {
  background: #09130f;
}

.svc-hero--rehab .svc-hero__ambient,
.svc-hero--rehab .svc-hero__ambient img,
.svc-hero--rehab .svc-hero__ambient-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.svc-hero--rehab .svc-hero__ambient {
  z-index: 0;
  display: block;
  overflow: hidden;
}

.svc-hero--rehab .svc-hero__ambient img,
.svc-hero--rehab .svc-hero__ambient-video {
  object-fit: cover;
  object-position: center;
}

.svc-hero--rehab .svc-hero__ambient-video {
  z-index: 0;
  display: block;
  background: transparent;
  pointer-events: none;
  filter: saturate(.92) contrast(1.04);
}

.svc-hero--rehab::before {
  background:
    linear-gradient(90deg, rgba(7, 15, 12, .95) 0%, rgba(8, 19, 15, .82) 48%, rgba(8, 19, 15, .34) 100%);
}

.svc-hero--rehab::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .42;
  background:
    radial-gradient(circle at 82% 22%, rgba(190, 224, 205, .12), transparent 27%),
    linear-gradient(112deg, transparent 0 60%, rgba(255, 255, 255, .04) 60.2%, transparent 60.5% 100%);
  pointer-events: none;
}

.svc-hero--rehab .svc-hero__body { z-index: 2; }

.svc-hero--rehab .svc-hero__price {
  border-color: rgba(207, 231, 218, .2);
  background: rgba(255, 255, 255, .065);
  backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .svc-hero--rehab::before {
    background:
      linear-gradient(180deg, rgba(7, 15, 12, .96) 0%, rgba(8, 18, 14, .86) 58%, rgba(8, 18, 14, .54) 100%);
  }

  .svc-hero--rehab::after {
    opacity: .28;
    background: radial-gradient(circle at 86% 70%, rgba(190, 224, 205, .14), transparent 32%);
  }

  .svc-hero--rehab .svc-hero__ambient img,
  .svc-hero--rehab .svc-hero__ambient-video {
    object-position: center bottom;
  }
}

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