/* Estilos para la sección de progresión */
.progression-section {
    width: 100%;
    padding: 60px 0;
    color: white;
    background-color: #000;
    background-image: url('images/animations/progression/background.png');
    background-size: cover;
    background-position: center;
    text-align: center;
  }
  
  .progression-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .progression-section h2 {
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  
  /* Indicador de progreso */
  .progress-indicator {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
  }
  
  /* Contenedor de la línea de tiempo */
  .timeline-container {
    margin: 40px 0 70px;
  }
  
  /* Línea de tiempo */
  .timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }
  
  /* Nodos */
  .node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #555;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
  }
  
  .node.active {
    background-color: #2196F3;
    box-shadow: 0 0 20px #2196F3;
  }
  
  /* Líneas conectoras */
  .line {
    height: 6px;
    background-color: #555;
    flex-grow: 1;
    margin: 0 10px;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
  }
  
  .line.active {
    background-color: #2196F3;
    box-shadow: 0 0 15px #2196F3;
  }
  
  /* Botones de servicio */
  .service-buttons {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 80px auto 0; /* Espacio amplio para las etiquetas */
  }
  
  .service-button-item {
    position: relative;
    width: 220px;
    padding: 25px 15px;
    margin-top: 50px; /* Espacio para las etiquetas */
    background-color: rgba(16, 42, 67, 0.8);
    border: 2px solid;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transición suave con efecto bouncy */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible; /* Para que las etiquetas puedan sobresalir */
  }
  
  /* Animaciones hover para los botones */
  .service-button-item:hover {
    transform: translateY(-8px) scale(1.03); /* Elevación y ligero aumento de tamaño */
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.3); /* Sombra al elevarse */
  }
  
  .service-button-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px; /* Ligeramente menor que el botón */
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }
  
  .service-button-item:hover:before {
    opacity: 1; /* Mostrar resplandor interior */
  }
  
  .service-button-item:after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 17px; /* Ligeramente mayor que el botón */
    border: 2px solid transparent;
    background: linear-gradient(45deg, #0088ff, #ff3e9a, #00a7ff) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .service-button-item:hover:after {
    opacity: 0.7; /* Mostrar borde brillante */
    animation: borderPulse 1.5s infinite alternate;
  }
  
  @keyframes borderPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
  }
  
  /* Colores específicos para los bordes según el tipo */
  .service-button-item[data-progress="25"] {
    border-color: #0088ff;
  }
  
  .service-button-item[data-progress="50"] {
    border-color: #ff3e9a;
  }
  
  .service-button-item[data-progress="100"] {
    border-color: #00a7ff;
  }
  
  /* Etiquetas como imágenes */
 /* Etiquetas como imágenes - VERSIÓN MÁS GRANDE */
.service-tag {
    position: absolute;
    top: -50px; /* Ajustado para compensar el mayor tamaño */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    transition: transform 0.3s ease;
  }
  
  .service-tag img {
    height: 80px; /* AUMENTADO de 40px a 60px */
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); /* Sombra más pronunciada */
  }
  
  /* Ajuste en el botón para compensar etiquetas más grandes */
  .service-button-item {
    margin-top: 65px; /* Aumentado para dar más espacio a las etiquetas */
  }
  
  /* Ajuste en el contenedor de botones */
  .service-buttons {
    margin: 90px auto 0; /* Aumentado el margen superior */
  }
  
  /* Icono de servicio */
  .service-icon {
    margin: 15px 0;
    position: relative;
    z-index: 2;
  }
  
  .service-icon img {
    width: 100px;
    height: 100px;
    filter: brightness(0.8);
    transition: all 0.3s ease;
  }
  
  .service-button-item:hover .service-icon img {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(33, 150, 243, 0.5));
    transform: scale(1.1) rotate(5deg); /* Rotación ligera para más dinamismo */
  }
  
  /* Nombre del servicio */
  .service-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-top: 10px;
    transition: color 0.3s ease;
  }
  
  .service-button-item:hover .service-name {
    color: #2196F3; /* Cambio de color al hacer hover */
  }
  
  /* Estado activo del botón */
  .service-button-item.active {
    background-color: rgba(33, 150, 243, 0.3);
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
  }
  
  .service-button-item.active .service-icon img {
    filter: brightness(1.2);
    transform: scale(1.1);
  }
  
  /* Responsive */
  @media (max-width: 850px) {
    .service-buttons {
      flex-direction: column;
      align-items: center;
    }
    
    .service-button-item {
      width: 80%;
      max-width: 280px;
      margin-bottom: 60px; /* Espacio suficiente entre botones */
    }
    
    .service-tag {
      top: -35px;
    }
  }