/* Base */
.cta-unit {
  --cta-border: #5f93d6;     /* default fallback */
  --cta-heading: #5f93d6;
  --cta-bg: #ffffff;
  --cta-text: #222222;

  --btn-bg: #42c45a;
  --btn-text: #111111;

  border: 6px solid var(--cta-border);
  border-radius: 16px;
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 18px;
  box-shadow: 0 11px 24px 0 rgba(0, 0, 0, 0.10);
  margin-bottom: 42px;
}

.cta-unit__inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cta-unit__content {
  flex: 1 1 auto;
  min-width: 0;
}

.cta-unit__heading {
  margin: 0 0 12px 0;
  color: var(--cta-heading);
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(21px, 3.4vw, 24px);
}

.cta-unit__body {
  font-size: 18px;
  line-height: 1.5;
}

.cta-unit__body p:last-child {
  margin-bottom: 0;
}

.cta-unit__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button */
.cta-unit__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  padding: 18px 34px;
  border-radius: 999px;

  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;

  border: 0;
  cursor: pointer;

  /* Breathing pulse */
  animation: ctaBreath 3.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes ctaBreath {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0,0,0,0.0);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta-unit__button {
    animation: none;
  }
}

/* Mobile friendly */
@media (max-width: 768px) {
  .cta-unit__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-unit__cta {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .cta-unit__button {
    width: 100%;
  }
}

/* ===== Theme: DCC (from your mock) ===== */
.cta-unit--dcc {
  --cta-border: #5f93d6;
  --cta-heading: #5f93d6;
  --cta-bg: #ffffff;
  --cta-text: #222222;
  --btn-bg: #42c45a;
  --btn-text: #111111;
}

.cta-unit--lifestylerx {
  --cta-border: rgb(88,152,54);
  --cta-heading: rgb(88,152,54);
  --cta-bg: rgb(240,248,236)
  --cta-text: #222222;
  --btn-bg: rgb(88,152,54);
  --btn-text: #fff;
}