/* ═══════════════════════════════════════════
   CTA Card — Brand Green Card on Cream
   ═══════════════════════════════════════════ */

.cta {
  padding: 80px 24px;
  text-align: center;
  position: relative;
  background: var(--light);
}

/* When .cta__inner is direct child (no card wrapper) — make it the card */
.cta > .cta__inner {
  position: relative;
  overflow: hidden;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 48px;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 92, 68, .18);
}

.cta > .cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../../images/iconmark.png") repeat;
  background-size: 100px;
  opacity: .015;
  pointer-events: none;
}

.cta > .cta__inner .cta__h,
.cta > .cta__inner .cta__p,
.cta > .cta__inner .btn {
  position: relative;
  z-index: 1;
}

/* When card wrapper exists */
.cta__card {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 92, 68, .18);
}

.cta__card .cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.cta__card .cta__inner::before {
  display: none;
}

.cta__card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta__card-bg .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.cta__card-bg .glow--1 {
  width: 50%;
  height: 80%;
  background: rgba(0, 184, 136, .22);
  top: -20%;
  right: -10%;
}
.cta__card-bg .glow--2 {
  width: 40%;
  height: 60%;
  background: rgba(0, 92, 68, .3);
  bottom: -20%;
  left: -5%;
}

.cta__card-pattern {
  position: absolute;
  inset: 0;
  background: url("../../images/iconmark.png") repeat;
  background-size: 100px;
  opacity: .012;
  pointer-events: none;
}

/* ── Typography ── */
.cta__h {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 50px);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta__p {
  font-size: 19px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 400;
}


/* ═══════════════════════════════════════════
   Responsive — CTA Card
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .cta {
    padding: 60px 20px;
  }
  .cta__card {
    padding: 56px 28px;
    border-radius: 20px;
  }
  .cta > .cta__inner {
    padding: 48px 24px;
    border-radius: 20px;
  }
}
