﻿/* ===========================================
   COMPONENT: CTA Sections
   =========================================== */

/* Full-width CTA banner */
.cta-section {
  background: var(--gradient-hero);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,139,127,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%; right: 5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(94,234,212,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 { color: var(--color-white); margin-bottom: var(--space-4); }
.cta-section p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto var(--space-8);
}
.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Inline CTA (within content sections) */
.cta-inline {
  background: rgba(14,139,127,0.06);
  border: 1px solid rgba(14,139,127,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.cta-inline-text h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.cta-inline-text p  { font-size: var(--text-sm); }

/* Home page CTA block */
.final-cta-section *,
.final-cta-section *::before,
.final-cta-section *::after { box-sizing: border-box; }
.final-cta-text h2,
.final-cta-text p { margin: 0; }
.final-cta-section {
  background:
    radial-gradient(ellipse 70% 60% at 10% 50%, rgba(14,139,127,.38) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 90% 50%, rgba(124,58,237,.30) 0%, transparent 55%),
    radial-gradient(ellipse 50% 44% at 50% 96%, rgba(15,118,110,.28) 0%, transparent 52%),
    radial-gradient(ellipse 40% 36% at 50% 0%, rgba(255,255,255,.06) 0%, transparent 50%),
    var(--gradient-navy);
  padding: var(--section-py) 0;
}
.final-cta-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}
.final-cta-text p {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-6);
}
.final-cta-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.final-cta-point {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}
.final-cta-point i { color: var(--color-teal-light); }
.final-cta-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.final-cta-section .final-cta-form .lead-form .form-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  background: linear-gradient(135deg, #0a7b6e 0%, #0E8B7F 100%);
  box-shadow: 0 10px 24px rgba(14, 139, 127, 0.35);
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.final-cta-section .final-cta-form .lead-form .form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 139, 127, 0.45);
}

@media (max-width: 640px) {
  .cta-inline { flex-direction: column; text-align: center; }
  .final-cta-section { padding: var(--space-12) 0; }
  .final-cta-text h2 { font-size: 1.55rem; line-height: 1.2; }
  .final-cta-text p { font-size: 0.88rem; line-height: 1.55; }
  .final-cta-points { gap: 0.55rem; }
  .final-cta-point { font-size: 0.82rem; }
}

