/* ========================================
   CALL TO ACTION - DISEÑO MODERNO
   Speck Developers - Paleta Azul y Blanco
   ======================================== */

/* Sección principal */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 50%, #1E5F8C 100%);
  position: relative;
  overflow: hidden;
}

/* Efecto de fondo con patrón */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Contenedor del contenido */
.cta-content {
  position: relative;
  z-index: 1;
}

/* Icono decorativo */
.cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  backdrop-filter: blur(10px);
}

.cta-icon i {
  font-size: 40px;
  color: #ffffff;
}

/* Título */
.cta-title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.3;
}

/* Descripción */
.cta-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 35px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contenedor de botones */
.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botón primario */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: #ffffff;
  color: #1E5F8C;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #1E5F8C;
}

.btn-cta-primary i {
  font-size: 18px;
}

/* Botón secundario */
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  text-decoration: none;
  border: 2px solid #ffffff;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: #ffffff;
  color: #1E5F8C;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary i {
  font-size: 18px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 991px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 30px;
  }

  .cta-description {
    font-size: 16px;
  }

  .cta-icon {
    width: 70px;
    height: 70px;
  }

  .cta-icon i {
    font-size: 35px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .cta-section {
    padding: 50px 0;
  }

  .cta-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .cta-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .cta-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .cta-icon i {
    font-size: 30px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 30px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .cta-title {
    font-size: 24px;
  }

  .cta-description {
    font-size: 14px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    font-size: 15px;
    padding: 12px 25px;
  }
}

/* ========================================
   ANIMACIONES
   ======================================== */

.cta-icon {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.btn-cta-primary,
.btn-cta-secondary {
  position: relative;
  overflow: hidden;
}

.btn-cta-primary::before,
.btn-cta-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cta-primary:hover::before,
.btn-cta-secondary:hover::before {
  width: 300px;
  height: 300px;
}