.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  gap: 44px;
  overflow: hidden;
  margin-bottom: 0;
  padding: clamp(46px, 5vw, 72px);
  color: #111827;
  background:
    linear-gradient(90deg, rgba(15, 106, 68, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(15, 106, 68, 0.055) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 16% 78%, rgba(159, 224, 184, 0.34), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(201, 162, 74, 0.18), transparent 30%),
    linear-gradient(135deg, #fbfcf6 0%, #eef7ef 52%, #ffffff 100%);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  border: 1px solid rgba(31, 122, 77, 0.14);
  border-radius: 42px;
  box-shadow:
    0 34px 90px rgba(17, 24, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.final-cta::before {
  position: absolute;
  right: -120px;
  bottom: -92px;
  width: 520px;
  height: 240px;
  content: "";
  opacity: 0.2;
  background:
    radial-gradient(circle at 20% 82%, rgba(15, 106, 68, 0.9) 0 18px, transparent 19px),
    radial-gradient(circle at 78% 82%, rgba(15, 106, 68, 0.78) 0 18px, transparent 19px),
    linear-gradient(10deg, transparent 36%, rgba(15, 106, 68, 0.42) 37% 58%, transparent 59%);
  border-bottom: 3px solid rgba(15, 106, 68, 0.45);
}

.final-cta::after {
  position: absolute;
  inset: 22px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(31, 122, 77, 0.09);
  border-radius: 34px;
}

.cta-content {
  position: relative;
  z-index: 2;
  align-self: center;
}

.cta-content .eyebrow {
  color: #a77b1c;
}

.cta-content h2 {
  max-width: 680px;
  color: #101828;
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.cta-content p {
  max-width: 620px;
  color: #53627a;
  font-size: 18px;
}

.final-cta .btn-primary {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #1f9b62, #0f6a44);
  box-shadow:
    0 20px 52px rgba(31, 155, 98, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.38) inset;
  animation: whatsappPulse 3.2s ease-in-out infinite;
}

.final-cta .btn-primary::after {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -48%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(18deg);
  animation: buttonSheen 3.8s ease-in-out infinite;
}

.cta-flow {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: center;
  gap: 0;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(159, 224, 184, 0.38), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 242, 0.86));
  border: 1px solid rgba(31, 122, 77, 0.14);
  border-radius: 30px;
  box-shadow:
    0 28px 72px rgba(17, 24, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cta-flow::before {
  position: absolute;
  inset: auto 22px 22px auto;
  width: 120px;
  height: 120px;
  content: "";
  opacity: 0.16;
  background: conic-gradient(from 180deg, #0f6a44, #c9a24a, #0f6a44);
  border-radius: 50%;
  filter: blur(16px);
  animation: ctaGlowRotate 8s linear infinite;
}

.flow-line {
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 49px;
  width: 2px;
  background: linear-gradient(180deg, rgba(15, 106, 68, 0), rgba(15, 106, 68, 0.58), rgba(201, 162, 74, 0.72), rgba(15, 106, 68, 0));
}

.flow-line::after {
  position: absolute;
  top: 0;
  left: -6px;
  width: 14px;
  height: 14px;
  content: "";
  background:
    radial-gradient(circle, #ffffff 0 14%, #c9a24a 15% 40%, rgba(15, 106, 68, 0.22) 41% 72%, transparent 73%);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(201, 162, 74, 0.72),
    0 0 34px rgba(15, 106, 68, 0.24);
  animation: ctaFlowPulse 4.4s ease-in-out infinite;
}

.cta-flow div {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: transform 0.22s ease;
}

.cta-flow div:hover {
  transform: translateX(5px);
}

.cta-flow-final::after {
  position: absolute;
  top: 50%;
  left: 21px;
  z-index: -1;
  width: 56px;
  height: 56px;
  content: "";
  background: radial-gradient(circle, rgba(201, 162, 74, 0.38), rgba(31, 155, 98, 0.12) 54%, transparent 72%);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: ctaFinalGlow 4.4s ease-in-out infinite;
}

.cta-flow-final strong {
  animation: ctaFinalNode 4.4s ease-in-out infinite;
}

.cta-flow strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0f6a44, #1f9b62);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  font-size: 12px;
  box-shadow:
    0 0 0 8px rgba(31, 155, 98, 0.08),
    0 12px 28px rgba(31, 155, 98, 0.18);
}

.cta-flow p {
  margin: 0;
  color: #172033;
  font-size: 15px;
  font-weight: 900;
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 20px 52px rgba(31, 155, 98, 0.26),
      0 0 0 1px rgba(255, 255, 255, 0.38) inset;
  }

  50% {
    transform: translateY(-2px);
    box-shadow:
      0 26px 70px rgba(31, 155, 98, 0.38),
      0 0 0 8px rgba(31, 155, 98, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.42) inset;
  }
}

@keyframes buttonSheen {
  0%,
  42% {
    left: -52%;
    opacity: 0;
  }

  52% {
    opacity: 1;
  }

  78%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes ctaFlowPulse {
  0% {
    top: 0;
    opacity: 0;
    transform: scale(0.72);
  }

  12% {
    opacity: 1;
  }

  48% {
    top: calc(50% - 7px);
    opacity: 0.98;
    transform: scale(1);
  }

  86% {
    top: calc(100% - 14px);
    opacity: 0.9;
    transform: scale(0.9);
  }

  100% {
    top: calc(100% - 14px);
    opacity: 0;
    transform: scale(0.72);
  }
}

@keyframes ctaFinalGlow {
  0%,
  72%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.72);
  }

  84% {
    opacity: 1;
    transform: translateY(-50%) scale(1.18);
  }

  92% {
    opacity: 0.55;
    transform: translateY(-50%) scale(1.42);
  }
}

@keyframes ctaFinalNode {
  0%,
  72%,
  100% {
    box-shadow:
      0 0 0 8px rgba(31, 155, 98, 0.08),
      0 12px 28px rgba(31, 155, 98, 0.18);
  }

  84%,
  92% {
    box-shadow:
      0 0 0 12px rgba(201, 162, 74, 0.16),
      0 0 28px rgba(201, 162, 74, 0.44),
      0 16px 34px rgba(31, 155, 98, 0.24);
  }
}

@keyframes ctaGlowRotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .final-cta {
    grid-template-columns: 1fr;
    padding: 38px 26px;
  }
}
