/* =====================================================
   TRUST BADGES - Banda de confianza para homepage
   Sprint 3: Mejoras de Homepage
   ===================================================== */

/* =====================================================
   TRUST SECTION
   ===================================================== */

.trust-section {
  padding: 3rem 0;
  background: white;
  border-top: 1px solid var(--color-gray-100, #f1f5f9);
  border-bottom: 1px solid var(--color-gray-100, #f1f5f9);
}

.trust-section .trust-container {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

.trust-section .trust-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1.5rem !important;
  flex: 1 1 180px !important;
  min-width: 180px !important;
  max-width: 220px !important;
  background: var(--color-gray-50, #f8fafc) !important;
  border-radius: var(--radius-lg, 1rem) !important;
  transition: all var(--transition-normal, 300ms ease) !important;
}

.trust-section .trust-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1)) !important;
  background: white !important;
}

.trust-section .trust-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  margin-bottom: 1rem !important;
  transition: transform var(--transition-normal, 300ms ease) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.trust-section .trust-item:hover .trust-icon {
  transform: scale(1.1) !important;
}

.trust-section .trust-icon img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
}

.trust-title {
  font-family: var(--font-display, 'Lexend Giga', sans-serif);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--color-gray-800, #1e293b);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.trust-description {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-gray-500, #64748b);
  margin: 0;
  line-height: 1.4;
}

/* =====================================================
   STATS COUNTER (Prueba Social)
   ===================================================== */

.stats-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--color-primary, #667eea) 0%, var(--color-primary-dark, #5a52e0) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: white;
  padding: 1rem 2rem;
}

.stat-number {
  font-family: var(--font-display, 'Lexend Giga', sans-serif);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.3);
}

/* =====================================================
   BENEFITS LIST (Para CTA)
   ===================================================== */

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-base, 1rem);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.benefit-icon i {
  color: white;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
  .trust-section .trust-container {
    gap: 1rem !important;
  }

  .trust-section .trust-item {
    min-width: 140px !important;
    padding: 1rem !important;
  }

  .trust-section .trust-icon,
  .trust-section .trust-icon img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }

  .stats-container {
    gap: 1.5rem;
  }

  .stat-item {
    padding: 0.75rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-divider {
    display: none;
  }

  .benefits-list {
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
  .trust-section {
    padding: 2rem 0 !important;
  }

  .trust-section .trust-container {
    flex-direction: column !important;
    align-items: center !important;
  }

  .trust-section .trust-item {
    flex-direction: row !important;
    max-width: 100% !important;
    width: 100% !important;
    text-align: left !important;
    gap: 1rem !important;
  }

  .trust-section .trust-icon {
    margin-bottom: 0 !important;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: var(--text-xs, 0.75rem);
  }
}
