/* ==========================================================================
   CTA-SECTION.CSS — OranjeLift.nl
   Mid-page + einde CTA section
   ========================================================================== */

/* ---------- Basis CTA section ---------- */
.cta-section {
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    padding: var(--space-3xl) 0;
  }
}

.cta-section h2 {
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 1.75rem;
  }
}

.cta-section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- CTA knoppen ---------- */
.cta-section-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-lg);
}

@media (min-width: 480px) {
  .cta-section-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

.cta-section-buttons .btn {
  padding: 18px 36px;
  font-size: 1.0625rem;
  min-width: 220px;
  border-radius: var(--radius-md, 10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.01em;
}

.cta-section-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 479px) {
  .cta-section-buttons .btn {
    width: 100%;
  }
}

/* ---------- Trust elementen ---------- */
.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-xl);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
}

.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cta-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  stroke-width: 2.5;
}

/* ---------- Mid-page variant ---------- */
.cta-section--mid {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
}

.cta-section--mid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  opacity: 0.5;
}

.cta-section--mid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  opacity: 0.5;
}

/* ---------- Einde variant (dark professional) ---------- */
.cta-section--end {
  background: var(--color-secondary);
  color: #fff;
  padding: var(--space-2xl) 0;
  border-top: none;
  position: relative;
}

.cta-section--end::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
}

.cta-section--end::before {
  display: none;
}

@media (min-width: 768px) {
  .cta-section--end {
    padding: var(--space-2xl) 0;
  }
}

.cta-section--end h2 {
  color: #fff;
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .cta-section--end h2 {
    font-size: 1.375rem;
  }
}

.cta-section--end .cta-section-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.cta-section--end .cta-section-buttons {
  margin-bottom: var(--space-sm);
}

.cta-section--end .cta-section-buttons .btn {
  padding: 12px 24px;
  font-size: 0.9375rem;
  min-width: 220px;
}

/* Override inline white bg on "Bel direct" — make it oranje on dark */
.cta-section--end .cta-section-buttons .btn-primary {
  background: linear-gradient(145deg, #ff8000 0%, #F07010 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(255, 128, 0, 0.4);
}

.cta-section--end .cta-section-buttons .btn-primary:hover {
  background: linear-gradient(145deg, #ff9933 0%, #ff8000 100%) !important;
  box-shadow: 0 8px 30px rgba(255, 128, 0, 0.5);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 128, 0, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(255, 128, 0, 0.6); }
}
.cta-section--end .btn-primary {
  animation: pulseGlow 2.5s ease-in-out infinite;
}
.cta-section--end .btn-primary:hover {
  animation: none;
}

.cta-section--end .cta-trust {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.cta-section--end .cta-trust-item svg {
  color: var(--color-primary);
  width: 18px;
  height: 18px;
}
