/* =========================================================================
   1. CONTENEDOR GENERAL Y TARJETAS (SWIPER)
   ========================================================================= */
.eco-process-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
/*padding: 40px 10px;*/
  box-sizing: border-box;
  background-color: transparent;
}

.steps-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1em 0;
}

.steps-carousel .swiper {
  width: 100%;
  overflow: visible !important;
}

/* Estilo Base de las Tarjetas de Texto */
.steps-text-left, .steps-text-right {
  background-color: #1a2229;
  border: 1.5px solid #e12b67; /* Rosa corporativo */
  border-radius: 14px;
  padding: 25px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
 /* height:280px;*/
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.steps-text-right {
  border-color: #55626d; /* Gris inactivo */
  background-color: #141b20;
}

/* Estilo de las Tarjetas de Imagen */
.step-image-card {
  width: 100%;
/*  height: 280px;*/
  border-radius: 14px;
  overflow: hidden;
  background-color: #141b20;
  box-sizing: border-box;
  transition: transform 0.4s ease, border-color 0.4s ease;
  border: 2px solid transparent;
}

.step-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Efecto Destacado para la Tarjeta Activa */
.swiper-slide-active .step-image-card {
  transform: scale(1.06);
 /* border-color: #e12b67;*/
  box-shadow: 0 10px 25px rgba(225, 43, 103, 0.2);
}

/* =========================================================================
   2. LÍNEA DE PROGRESO (STEPS NAVIGATION)
   ========================================================================= */
.steps-nav {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Línea horizontal de fondo */
.steps-nav-line {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3b4751;
  z-index: 1;
}

.steps-nav-inner {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: 100%;
}

.nav-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

/* Estructura Base de los Botones Numéricos */
.step-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-number-digit {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.step-text-label {
  color: #8a99a6;
  font-size: 14px;
  margin-top: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Cambio de color de la etiqueta de texto al activarse */
.step-btn.active + .step-text-label,
.step-btn.completed + .step-text-label {
  color: #ffffff;
}

/* =========================================================================
   3. PALETA DE COLORES EXCLUSIVA POR BOTÓN (NUEVO)
   ========================================================================= */

/* PASO 1: Frambuesa / Berry oscuro */
.nav-step-item:nth-child(1) .step-btn {
  background-color: #C72C59 !important;
}

/* PASO 2: Rosa Eléctrico / Magenta */
.nav-step-item:nth-child(2) .step-btn {
  background-color: #E12B67 !important;
}

/* PASO 3: Naranja Intenso */
.nav-step-item:nth-child(3) .step-btn {
  background-color: #F39211 !important;
  position: relative;
  z-index: 2; /* Necesario para que el número quede sobre la onda expansiva */
}

/* PASO 4: Amarillo Brillante */
.nav-step-item:nth-child(4) .step-btn {
  background-color: #FED700 !important;
}

/* =========================================================================
   4. EFECTO PUSH ANIMADO (PASO 3 EN NARANJA)
   ========================================================================= */
.nav-step-item:nth-child(3) .step-btn::before {
  content: '' !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-color: #F39211 !important; /* Combinado con tu nuevo color del paso 3 */
  z-index: -1;
  animation: eco-push-wave 2s infinite ease-out;
}

@keyframes eco-push-wave {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* =========================================================================
   5. ADAPTACIÓN RESPONSIVE (MÓVIL)
   ========================================================================= */
@media (max-width: 767px) {
  .steps-carousel {
    padding: 10px 0;
  }

  .slide-intro-text, .slide-step-img, .slide-outro-text {
    width: 290px !important;
  }

  .steps-text-left, .steps-text-right, .step-image-card {
    height: 240px;
  }

  .step-text-label {
    display: none;
  }

  .steps-nav {
    max-width: 90%;
  }
}
