/* ================================
   SECCIÓN BENEFICIOS - DISEÑO MODERNO
================================ */

.benefits {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fondo con patrón sutil */
.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(62, 26, 78, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(91, 54, 121, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.benefits-container {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

/* Título principal */
.benefits-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

.benefits-title .highlight {
  background: linear-gradient(135deg, #3e1a4e, #5b3679);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtítulo */
.benefits-subtitle {
  font-size: 1.25rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Grid de beneficios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Tarjetas de beneficios */
.benefit-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.02);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent,
    rgba(214, 179, 255, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(62, 26, 78, 0.1);
  border-color: rgba(214, 179, 255, 0.3);
}

/* Icono del beneficio */
.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3e1a4e, #5b3679);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  position: relative;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(62, 26, 78, 0.3);
}

/* Título del beneficio */
.benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Descripción del beneficio */
.benefit-description {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Animaciones de entrada */
.benefit-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:nth-child(1) { transition-delay: 0.1s; }
.benefit-card:nth-child(2) { transition-delay: 0.2s; }
.benefit-card:nth-child(3) { transition-delay: 0.3s; }
.benefit-card:nth-child(4) { transition-delay: 0.4s; }
.benefit-card:nth-child(5) { transition-delay: 0.5s; }
.benefit-card:nth-child(6) { transition-delay: 0.6s; }

/* Responsividad */
@media (max-width: 768px) {
  .benefits {
    min-height: auto;
    padding: 60px 0;
  }
  
  .benefits-container {
    padding: 40px 0;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  
  .benefit-card {
    padding: 2rem 1.5rem;
  }
  
  .benefit-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .benefits-subtitle {
    margin-bottom: 3rem;
  }
}

@media (max-width: 576px) {
  .benefits-grid {
    padding: 0 1rem;
  }
  
  .benefit-card {
    padding: 1.5rem 1rem;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .benefit-title {
    font-size: 1.2rem;
  }
  
  .benefit-description {
    font-size: 0.95rem;
  }
}
