.page-with-overlay {
  position: relative;
  min-height: 100vh;
  z-index: 0;
}

/**
 * PageOverlayBackground — reusable per-page overlay layer.
 * Sits above fixed global .svc-page-bg; keep real content in siblings with higher z-index.
 * Variant classes are placeholders for future animations (no motion yet).
 */

.page-with-overlay {
  position: relative;
  isolation: isolate;
}

.page-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: rgba(8, 14, 26, 0.2);
  overflow: hidden;
}

/* Website Design & Management — animated grid overlay */
.page-overlay-bg.website-design {
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  animation: wdm-grid-drift 28s linear infinite;
  opacity: 0.25;
}

@keyframes wdm-grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 200px 200px, 200px 200px;
  }
}

.svc-hero, .page-content, main, section {
  position: relative;
  z-index: 3;
}

/* Animation variant hooks (empty — add per-variant rules later) */
.page-overlay-bg.website-design {
  position: relative;
}
.page-overlay-bg.website-design::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background:
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 44px
    );
  opacity: 0.8;
  animation: website-design-grid-drift 28s linear infinite;
}
.page-overlay-bg.website-design::after {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) 10% 18% / 210px 130px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)) 58% 32% / 260px 150px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) 22% 64% / 240px 140px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 72% 70% / 190px 110px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) 12% 24% / 170px 1px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.09)) 60% 38% / 210px 1px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) 24% 70% / 190px 1px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) 74% 76% / 150px 1px no-repeat;
  animation: website-design-boxes-float 34s ease-in-out infinite;
}
@keyframes website-design-grid-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(40px, 40px);
  }
}
@keyframes website-design-boxes-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-1.5%, 1.5%, 0);
  }
}
.page-overlay-bg.social-media {
}
.page-overlay-bg.logo-branding {
}
.page-overlay-bg.domain-setup {
}
.page-overlay-bg.email-setup {
}
.page-overlay-bg.booking-system {
}
.page-overlay-bg.it-support {
}
.page-overlay-bg.camera-install {
}
.page-overlay-bg.network-engineering {
}
.page-overlay-bg.content-creation {
}
.page-overlay-bg.flier-design {
}
.page-overlay-bg.digital-presence {
}
.page-overlay-bg.security-monitoring {
}
.page-overlay-bg.seo {
}
.page-overlay-bg.hosting {
}
.page-overlay-bg.google-business {
}
.page-overlay-bg.automation {
}
.page-overlay-bg.data-backup {
}
.page-overlay-bg.small-business-it {
}
.page-overlay-bg.home-office {
}
