/* Desktop scroll snap and full-page Spline background */
.abra-spline-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(192, 38, 211, .22), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(6, 182, 212, .2), transparent 30rem),
    linear-gradient(145deg, #fff8fd 0%, #efe8ff 42%, #e6f8ff 100%);
  transition: opacity .8s ease;
}

.abra-spline-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.abra-spline-bg.is-loaded {
  opacity: 1;
}

html.abra-spline-loaded body {
  background: #fff !important;
}

.abra-page,
.abra-page.abra-home,
.abra-page.abra-services,
.abra-page.abra-service-websites,
.abra-page.abra-service-eshop,
.abra-page.abra-service-marketing-seo,
.abra-page.abra-service-email-marketing,
.abra-page.abra-service-social-ads,
.abra-page.abra-about,
.abra-page.abra-contact {
  position: relative;
  z-index: 2;
  isolation: auto !important;
  background: transparent !important;
  background-image: none !important;
}

.abra-page::before {
  content: none !important;
  display: none !important;
}

.abra-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.68), transparent 26rem),
    radial-gradient(circle at 84% 8%, rgba(255,255,255,.48), transparent 26rem),
    rgba(255,255,255,.18);
  backdrop-filter: blur(.35px);
}

.abra-page > .abra-hero,
.abra-page > .abra-section {
  position: relative;
  z-index: 2;
  background: transparent !important;
  background-image: none !important;
}

.abra-page > .abra-hero .abra-wrap,
.abra-page > .abra-section .abra-wrap {
  position: relative;
  z-index: 3;
}

@media (min-width: 1024px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
  }

  body {
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
  }

  html.abra-section-snapping,
  html.abra-section-snapping body {
    scroll-behavior: auto !important;
  }

  .abra-page > .abra-hero,
  .abra-page > .abra-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
  }

  .abra-page > .abra-section .abra-wrap,
  .abra-page > .abra-hero .abra-wrap {
    width: min(100%, 1440px);
    max-height: none;
  }
}

@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .abra-spline-bg {
    display: none;
  }

  html {
    scroll-snap-type: none;
  }
}
