/* ==========================================================================
   VANTIX SYSTEMS — pages/home-cta.css
   Closing call to action: centred heading, a line of text and two buttons on
   a light, softly moving blue background. Sits right above the footer.
   ========================================================================== */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 10rem) 0;
  text-align: center;
  background: #eaf1fb;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(54, 120, 212, 0.18) 1px, transparent 1.2px);
  background-size: 26px 26px;
}

.cta__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.cta__blob--a {
  width: 38rem;
  height: 38rem;
  left: -10%;
  top: -35%;
  background: #8fb8f0;
  animation: cta-drift-a 16s ease-in-out infinite alternate;
}
.cta__blob--b {
  width: 32rem;
  height: 32rem;
  right: -8%;
  bottom: -40%;
  background: #6fd0f5;
  animation: cta-drift-b 19s ease-in-out infinite alternate;
}
.cta__blob--c {
  width: 24rem;
  height: 24rem;
  left: 40%;
  top: 30%;
  background: #c3d6f7;
  animation: cta-drift-a 22s ease-in-out infinite alternate-reverse;
}

@keyframes cta-drift-a {
  to { transform: translate3d(14vw, 8vh, 0) scale(1.15); }
}
@keyframes cta-drift-b {
  to { transform: translate3d(-12vw, -10vh, 0) scale(1.1); }
}

.cta__inner {
  position: relative;
}

.cta__title {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.cta__text {
  max-width: 38rem;
  margin: 1.5rem auto 2.25rem;
  color: var(--slate);
  font-size: var(--step-1);
  line-height: 1.55;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.btn--outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(10, 20, 36, 0.35);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .cta__blob {
    animation: none;
  }
}
