/* ================================
   Sysbasic CTA Component
================================ */

/* Main CTA wrapper */
.sys-cta {
  max-width: 1180px;
  margin: 70px auto;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(44, 116, 179, 0.32), transparent 34%),
    linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(10, 38, 71, 0.22);
}

/* Decorative glow */
.sys-cta::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

/* CTA content should stay above decorative layer */
.sys-cta > * {
  position: relative;
  z-index: 2;
}

/* CTA title */
.sys-cta h2,
.sys-cta .cta-title {
  margin: 0 0 14px;
  color: var(--color-white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
}

/* CTA text */
.sys-cta p,
.sys-cta .cta-text {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

/* CTA actions */
.sys-cta .cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary CTA button */
.sys-cta .cta-btn,
.sys-cta .button,
.sys-cta a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-primary) !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Button hover */
.sys-cta .cta-btn:hover,
.sys-cta .button:hover,
.sys-cta a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

/* Secondary CTA link */
.sys-cta .cta-link {
  color: var(--color-white);
  font-weight: 800;
  text-decoration: none;
  opacity: 0.92;
}

/* Secondary CTA link hover */
.sys-cta .cta-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Home page spacing override */
.path-frontpage .sys-cta {
  margin-top: 80px;
  margin-bottom: 90px;
}

/* Responsive */
@media (max-width: 768px) {
  .sys-cta {
    margin: 48px 18px;
    padding: 38px 26px;
    border-radius: 24px;
  }

  .sys-cta p,
  .sys-cta .cta-text {
    font-size: 16px;
  }

  .sys-cta .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sys-cta .cta-btn,
  .sys-cta .button,
  .sys-cta a.button {
    width: 100%;
  }
}