/* ─── CTA Section ───────────────────────────────────── */
#cta {
  background: var(--primary);
  padding: 5rem var(--section-padding-x);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  #cta {
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
  }
}

#cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
  transform: translate(-50%, -50%) rotate(25deg);
  pointer-events: none;
}

.cta__inner {
  max-width: 48rem;
  margin: 0 auto;
}

.cta__heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-light);
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta__subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons Container ─────────────────────────────── */
.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta__buttons {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* ─── Button ────────────────────────────────────────── */
.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-light);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 140px;
}

.cta__btn:hover {
  background: #fff8f3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.cta__btn-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.cta__btn:hover .cta__btn-arrow {
  transform: translateX(4px);
}

/* ─── Mobile Responsive Styles ───────────────────────────── */
@media (max-width: 768px) {
  #cta {
    padding: 3rem 1.25rem;
  }

  .cta__heading {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .cta__subtext {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .cta__btn {
    width: 100%;
    max-width: 280px;
    height: 44px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #cta {
    padding: 2.5rem 1rem;
  }

  .cta__heading {
    font-size: 1.25rem;
  }

  .cta__subtext {
    font-size: 0.85rem;
  }

  .cta__btn {
    max-width: 240px;
    height: 40px;
    font-size: 0.85rem;
  }
}
