/* Shared CTA — horizontal bar, minimal */

.cta-banner,
.ip-cta {
  --cta-accent: #3568c9;
  --cta-text: #0f172a;
  --cta-muted: #5a6b82;
  position: relative;
  color: var(--cta-text);
  border-radius: 16px;
  padding: 28px 36px;
  background: #eef3fa;
  border: 1px solid #d4deec;
  box-shadow: 0 6px 24px -12px rgba(30, 58, 110, 0.12);
}

.cta-banner {
  margin: 0 24px;
}

.ip-cta {
  margin: 0 24px 0;
}

.cta-banner-decor {
  display: none;
}

.cta-banner-inner.cta-banner-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

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

.cta-banner h2,
.ip-cta h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--cta-text);
  margin: 0 0 6px;
}

.cta-lead {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--cta-muted);
  margin: 0;
  max-width: 52ch;
}

.cta-meta {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
}

.cta-banner p:not(.cta-lead):not(.cta-meta),
.ip-cta p:not(.cta-lead):not(.cta-meta) {
  display: none;
}

.cta-trust {
  display: none;
}

.cta-eyebrow {
  display: none;
}

.cta-actions,
.ip-cta-actions.cta-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}

.cta-banner .btn-white,
.ip-cta .ip-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  background: linear-gradient(135deg, #3b6fd9 0%, #2f5fc4 100%);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 3px 12px rgba(47, 95, 196, 0.22);
}

.cta-banner .btn-white:hover,
.ip-cta .ip-btn-white:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(47, 95, 196, 0.28);
}

.cta-banner .btn-white svg,
.ip-cta .ip-btn-white svg {
  width: 16px;
  height: 16px;
}

.ip-cta .ip-btn-outline.cta-btn-secondary {
  background: #fff;
  color: var(--cta-text);
  border: 1px solid #c5d0e0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ip-cta .ip-btn-outline.cta-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.section.cta-section {
  padding: 40px 0 20px;
}

.cta-section + .footer {
  margin-top: 0;
}

.ip-cta + .ip-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .cta-banner,
  .ip-cta {
    padding: 22px 20px;
  }

  .cta-banner-inner.cta-banner-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: center;
  }

  .cta-lead,
  .cta-meta {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-actions,
  .ip-cta-actions.cta-actions {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .cta-banner,
  .ip-cta {
    margin-left: 12px;
    margin-right: 12px;
  }

  .section.cta-section {
    padding-top: 32px;
    padding-bottom: 16px;
  }
}
