@charset "UTF-8";
/* ========================================
   STATS SECTION - VARIABLES MODERNAS
   ======================================== */
:root {
  --stats-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --stats-card-bg: rgba(255, 255, 255, 0.95);
  --stats-card-border: rgba(148, 163, 184, 0.1);
  --stats-number-primary: #0f172a;
  --stats-number-accent: var(--color-primary);
  --stats-label-color: #475569;
  --stats-description-color: #64748b;
  --stats-icon-bg: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --stats-shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --stats-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ========================================
   STATS SECTION CONTAINER AVANZADO
   ======================================== */
.stats-section {
  background: var(--stats-bg);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(93, 163, 160, 0.05) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(157, 187, 70, 0.05) 0%, transparent 50%);
  z-index: 1;
}
.stats-section::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, var(--color-primary-light), transparent);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

/* ========================================
   HEADER MEJORADO
   ======================================== */
.stats-header {
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.stats-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--stats-number-primary);
  margin-bottom: 1rem;
  position: relative;
  background: linear-gradient(135deg, var(--stats-number-primary) 0%, var(--color-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--stats-icon-bg);
  border-radius: 2px;
}

/* ========================================
   GRID MODERNO CON EFECTOS AVANZADOS
   ======================================== */
.stats-grid {
  position: relative;
  z-index: 2;
  justify-content: center;
  width: 90vw;
  margin-inline: auto;
}

.stat-card {
  background: var(--stats-card-bg);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid var(--stats-card-border);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--stats-shadow-light);
  margin-bottom: 2rem;
  height: 100%;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--stats-icon-bg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.stat-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s ease;
}
.stat-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--stats-shadow-hover);
  border-color: rgba(93, 163, 160, 0.2);
}
.stat-card:hover::before {
  transform: scaleX(1);
}
.stat-card:hover::after {
  transform: translateX(0) translateY(0) rotate(45deg);
}
.stat-card:hover .stat-number {
  transform: scale(1.1);
  background: var(--stats-icon-bg);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card:hover .stat-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 20px 40px rgba(93, 163, 160, 0.3);
}

/* ========================================
   ELEMENTOS REDISEÑADOS PROFESIONALMENTE
   ======================================== */
.stat-icon {
  width: 80px;
  height: 80px;
  background: var(--stats-icon-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 30px rgba(93, 163, 160, 0.2);
  position: relative;
}
.stat-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 18px;
  z-index: 1;
}
.stat-icon i {
  font-size: 2.2rem;
  color: var(--color-white);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--stats-number-primary);
  margin-bottom: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: -2px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  color: var(--stats-label-color);
  line-height: 1.3;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-description {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: var(--stats-description-color);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* ========================================
   CTA MODERNIZADO
   ======================================== */
.stats-cta {
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.btn-stats {
  padding: 1.2rem 3rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  position: relative;
  overflow: hidden;
}
.btn-stats.btn-primary {
  background: var(--stats-icon-bg);
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(93, 163, 160, 0.3);
}
.btn-stats.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.btn-stats.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(93, 163, 160, 0.4);
}
.btn-stats.btn-primary:hover::before {
  left: 100%;
}
.btn-stats i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.btn-stats:hover i {
  transform: translateX(5px);
}

/* ========================================
   ANIMACIONES AVANZADAS
   ======================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(3deg);
  }
  66% {
    transform: translateY(5px) rotate(-2deg);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.stat-card.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.stat-number.animate {
  animation: pulse 0.6s ease-out;
  letter-spacing: 3px;
}

/* ========================================
   RESPONSIVE DESIGN PROFESIONAL
   ======================================== */
@media (max-width: 1200px) {
  .stats-grid {
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .stats-section {
    padding: 4rem 0;
  }
  .stats-header {
    margin-bottom: 3rem;
  }
  .stat-card {
    padding: 2.5rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 20px;
  }
  .stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
  }
  .stat-icon i {
    font-size: 1.8rem;
  }
  .stats-cta {
    margin-top: 3rem;
  }
  .btn-stats {
    padding: 1rem 2rem;
    min-width: 200px;
  }
}
@media (max-width: 480px) {
  .stats-section {
    padding: 3rem 0;
  }
  .stat-card {
    padding: 2rem 1rem;
    border-radius: 16px;
  }
  .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .stat-icon i {
    font-size: 1.6rem;
  }
  .stats-grid .col-12 {
    padding: 0 0.5rem;
  }
}
/* ========================================
   MODO OSCURO (OPCIONAL)
   ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --stats-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --stats-card-bg: rgba(30, 41, 59, 0.8);
    --stats-card-border: rgba(71, 85, 105, 0.3);
    --stats-number-primary: #f1f5f9;
    --stats-label-color: #cbd5e1;
    --stats-description-color: #94a3b8;
  }
}
/* ========================================
   UTILIDADES PARA ACCESIBILIDAD
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .stat-number,
  .stat-icon,
  .btn-stats {
    transition: none !important;
    animation: none !important;
  }
  .stats-section::after {
    animation: none !important;
  }
}/*# sourceMappingURL=stats.css.map */