/* CTA section — index.html.
   Depends on shared page tokens (--green, --white, --yellow) and custom
   properties set inline by the template (--landing-cta-cover, --landing-cta-position). */

.cta {
  padding: 120px 0;
  background-color: var(--green);
  background-image: var(--landing-cta-cover, none);
  background-position: var(--landing-cta-position, center 35%);
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 30%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.2) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}
.cta::after {
  display: none;
}
.cta-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta h2 {
  color: var(--white);
  margin: 14px 0 20px;
  font-size: clamp(2rem, 4vw, 2.9rem);
}
.cta h2 em {
  font-style: normal;
  color: var(--yellow);
  font-weight: 700;
}
.cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .cta {
    padding: 96px 0;
  }
}
@media (max-width: 640px) {
  .cta {
    padding: 64px 0;
  }
}
