/* ========================================
   SECCIÓN VENTAJAS - DISEÑO MODERNO
   Speck Developers - Paleta Azul y Blanco
   ======================================== */

/* Contenedor de la sección */
.about-ventajas {
  padding: 80px 0;
  background-color: #f8f9fa;
}

/* Header de la sección */
.about-ventajas .section-header h2 {
  color: #1E5F8C !important;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 15px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  text-align: center;
}

.about-ventajas .section-header p {
  color: #555555;
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  text-align: center;
  margin-bottom: 50px;
}

/* Contenedor del contenido */
.content-ventajas {
  padding-right: 20px;
}

/* Título principal */
.ventajas-title {
  font-size: 28px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 20px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.4;
}

.ventajas-title .brand-name {
  color: #1E5F8C;
  font-weight: 700;
}

/* Descripción */
.ventajas-description {
  color: #666666;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 35px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Lista de ventajas */
.ventajas-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Item individual de ventaja */
.ventaja-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  border-left: 4px solid #1E5F8C;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ventaja-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(30, 95, 140, 0.15);
  border-left-width: 6px;
}

/* Icono de ventaja */
.ventaja-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ventaja-item:hover .ventaja-icon {
  transform: scale(1.1) rotate(5deg);
}

.ventaja-icon i {
  font-size: 24px;
  color: #ffffff;
}

/* Texto de ventaja */
.ventaja-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1E5F8C;
  margin-bottom: 8px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.ventaja-text p {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Imagen - COMPLETAMENTE ESTÁTICA */
.ventajas-image {
  position: relative;
}

.ventajas-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: block;
  pointer-events: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.ventajas-image:hover img {
  transform: none !important;
  scale: 1 !important;
}

/* ========================================
   SECCIÓN ESTADÍSTICAS
   ======================================== */

.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  position: relative;
  overflow: hidden;
}

.stats-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.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stats-wrapper {
  position: relative;
  z-index: 1;
}

/* Card de estadística */
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 35px 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Card destacada */
.stat-card.featured {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.stat-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Icono de estadística */
.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(10deg);
}

.stat-card.featured .stat-icon {
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
}

.stat-icon i {
  font-size: 32px;
  color: #ffffff;
}

.stat-card.featured .stat-icon i {
  color: #ffffff;
}

/* Número de estadística */
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1;
}

.stat-card.featured .stat-number {
  color: #1E5F8C;
}

.stat-plus {
  font-size: 40px;
  margin-left: 5px;
}

/* Título de estadística */
.stat-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.stat-card.featured .stat-title {
  color: #1E5F8C;
}

/* Descripción de estadística */
.stat-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.5;
}

.stat-card.featured .stat-description {
  color: #666666;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 991px) {
  .about-ventajas {
    padding: 60px 0;
  }

  .about-ventajas .section-header h2 {
    font-size: 28px;
  }

  .about-ventajas .section-header p {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .ventajas-title {
    font-size: 24px;
  }

  .content-ventajas {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .stats-section {
    padding: 60px 0;
  }

  .stat-number {
    font-size: 42px;
  }

  .stat-title {
    font-size: 17px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .about-ventajas {
    padding: 50px 0;
  }

  .about-ventajas .section-header h2 {
    font-size: 26px;
  }

  .about-ventajas .section-header p {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .ventajas-title {
    font-size: 22px;
    text-align: center;
  }

  .ventajas-description {
    font-size: 15px;
    text-align: center;
  }

  .ventaja-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px 15px;
  }

  .ventaja-item:hover {
    transform: translateY(-5px);
  }

  .ventaja-icon {
    margin-bottom: 10px;
  }

  .ventajas-list {
    gap: 15px;
  }

  .stats-section {
    padding: 50px 0;
  }

  .stat-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .stat-card.featured {
    transform: scale(1);
  }

  .stat-card.featured:hover {
    transform: translateY(-10px) scale(1);
  }

  .stat-number {
    font-size: 38px;
  }

  .stat-title {
    font-size: 16px;
  }

  .stat-description {
    font-size: 13px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .about-ventajas .section-header h2 {
    font-size: 24px;
  }

  .ventajas-title {
    font-size: 20px;
  }

  .ventaja-text h4 {
    font-size: 16px;
  }

  .ventaja-text p {
    font-size: 14px;
  }

  .ventaja-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  .ventaja-icon i {
    font-size: 20px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
  }

  .stat-icon i {
    font-size: 28px;
  }

  .stat-number {
    font-size: 34px;
  }

  .stat-title {
    font-size: 15px;
  }
}

/* ========================================
   ANIMACIONES
   ======================================== */

.ventaja-item {
  animation: fadeInLeft 0.6s ease-out;
  animation-fill-mode: both;
}

.ventaja-item:nth-child(1) { animation-delay: 0.1s; }
.ventaja-item:nth-child(2) { animation-delay: 0.2s; }
.ventaja-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animación para las estadísticas */
.stat-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}