/* ================================================
   NOVA E-SALUD — PÁGINA CLIENTES POTENCIALES
   css/clientes.css
================================================ */

/* HERO */
.cp-hero {
  background: linear-gradient(145deg, #0d2e5e 0%, #1a4e9a 45%, #0e7a3e 100%);
  min-height: 60vh;
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.cp-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.cp-shape {
  position: absolute; border-radius: 50%;
  opacity: 0.07; background: white;
}
.cp-shape-1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.cp-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.cp-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cp-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 600;
  padding: 8px 16px; border-radius: 50px;
}
.cp-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: white; font-weight: 800;
  line-height: 1.15; margin: 14px 0 12px;
}
.cp-hero-highlight {
  background: linear-gradient(90deg, #00e080, #00c4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cp-hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem; line-height: 1.7;
}
.cp-hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 16px 24px;
  backdrop-filter: blur(8px);
  display: inline-flex;
}
.cp-hero-stat { text-align: center; padding: 0 20px; }
.cp-stat-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem; font-weight: 900; color: white;
  line-height: 1; margin-bottom: 3px;
}
.cp-stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.cp-hero-stat-div {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ROBOT GRANDE */
.cp-robot-img {
  width: 85%; max-width: 420px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3));
  animation: cpFloat 3s ease-in-out infinite;
}
@keyframes cpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* SECCIÓN CLIENTES */
.cp-clientes-section { background: #f8f9fa; }

/* TARJETA DE CLIENTE */
.cp-client-card {
  background: white;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid #e9ecef;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.cp-client-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a4e9a, #00a451);
  opacity: 0;
  transition: all 0.3s ease;
}
.cp-client-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(26,78,154,0.15);
  border-color: transparent;
}
.cp-client-card:hover::before { opacity: 1; }

/* FOTO REDONDA */
.cp-client-avatar-wrap {
  position: relative;
  margin-bottom: 14px;
}
.cp-client-avatar-img {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 25px rgba(26,78,154,0.2);
}
.cp-client-avatar-initials {
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem; font-weight: 900;
  color: white;
  border: 4px solid white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.cp-client-avatar-initials.blue {
  background: linear-gradient(135deg, #1a4e9a, #2563c5);
}
.cp-client-avatar-initials.green {
  background: linear-gradient(135deg, #007a3d, #00a451);
}
.cp-client-badge {
  position: absolute;
  bottom: 0; right: 0;
  width: 26px; height: 26px;
  background: #00a451;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.7rem;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,164,81,0.4);
}

/* INFO DEL CLIENTE */
.cp-client-nombre {
  font-size: 1rem; font-weight: 700;
  color: #1a1d23; margin: 0 0 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.cp-client-cargo {
  font-size: 0.75rem; color: #1a4e9a;
  font-weight: 600; display: block;
  margin-bottom: 5px;
}
.cp-client-entidad {
  font-size: 0.75rem; color: #6c757d;
  margin-bottom: 10px;
}
.cp-client-entidad i { color: #1a4e9a; }

/* ESTRELLAS */
.cp-client-stars {
  color: #ffc107; font-size: 0.85rem;
  margin-bottom: 12px;
  display: flex; gap: 2px; justify-content: center;
}

/* TESTIMONIO */
.cp-client-testimonio {
  font-size: 0.82rem; color: #6c757d;
  line-height: 1.6; font-style: italic;
  flex: 1; margin-bottom: 14px;
}

/* FOOTER DE LA TARJETA */
.cp-client-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}
.cp-client-ciudad {
  font-size: 0.72rem; color: #6c757d;
}
.cp-client-ciudad i { color: #1a4e9a; }
.cp-tipo-badge {
  font-size: 0.68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.cp-tipo-badge.blue { background: #e8f0fb; color: #1a4e9a; }
.cp-tipo-badge.green { background: #e6f7ef; color: #007a3d; }

/* CTA FINAL */
.cp-cta-inner {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1.5px solid #e9ecef;
  box-shadow: 0 8px 30px rgba(26,78,154,0.1);
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.cp-cta-robot {
  width: 150px;
  filter: drop-shadow(0 10px 20px rgba(26,78,154,0.2));
  animation: cpFloat 3s ease-in-out infinite;
}
.cp-cta-text { text-align: left; flex: 1; min-width: 250px; }
.cp-cta-text h3 { font-size: 1.3rem; color: #1a1d23; margin-bottom: 6px; }
.cp-cta-text p { font-size: 0.88rem; color: #6c757d; margin: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .cp-hero { min-height: auto; padding: 100px 0 50px; }
  .cp-hero-title { font-size: 1.8rem; }
  .cp-robot-img { width: 70%; max-width: 280px; margin-top: 30px; }
  .cp-hero-stats { flex-wrap: wrap; gap: 10px; }
  .cp-hero-stat-div { display: none; }
  .cp-cta-inner { flex-direction: column; text-align: center; }
  .cp-cta-text { text-align: center; }
}
