/* ─── CTA — lilac card with floating shapes and a big centred heading ──── */

.cta {
  padding: 0 0 var(--sec-y);
}

.cta__in {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--lilac);
  border: var(--bw) solid var(--line);
  border-radius: 40px;
  padding: 60px 20px;
  box-shadow: var(--shd-lg);
}

.cta__in h2 {
  position: relative;
  font-size: clamp(28px, 4.4vw, 58px);
}

.cta__in p {
  position: relative;
  font-weight: 700;
}

.cta__in .btn {
  position: relative;
}

.cta__shape {
  position: absolute;
  border: var(--bw) solid var(--line);
  animation: ddm-float 6s ease-in-out infinite;
}

.cta__shape--1 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--butter);
  left: 6%;
  top: 18%;
}

.cta__shape--2 {
  width: 50px;
  height: 50px;
  border-radius: 20px;
  background: var(--mint);
  right: 8%;
  top: 14%;
  rotate: 18deg;
  animation-delay: -2s;
}

.cta__shape--3 {
  width: 110px;
  height: 56px;
  border-radius: 999px;
  background: var(--acc);
  right: 16%;
  bottom: 12%;
  animation-delay: -4s;
}

@keyframes ddm-float {
  50% {
    transform: translateY(-16px) rotate(8deg);
  }
}

@media (min-width: 640px) {
  .cta__in {
    padding: 80px 30px;
  }

  .cta__shape--1 {
    width: 90px;
    height: 90px;
  }

  .cta__shape--2 {
    width: 70px;
    height: 70px;
  }
}
