/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.4.1762824812
Updated: 2025-11-11 01:33:32

*/

/* === TARJETAS DE FASES CON ANIMACIÓN ACTIVA FIX === */

.stages-grid {
  display: grid;
  align-items: stretch;
}

/* Tarjeta base */
.stage-card {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 32px 18px 20px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: left;
  overflow: visible; /* necesario para que el pulse no se corte */
}

/* PUNTO ARRIBA */
.stage-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 12%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1; /* gris por defecto */
  transition: all 0.3s ease;
}

/* Título */
.stage-card h3 {
  margin: 8px 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  padding-bottom: 4px;
}

/* Descripción */
.stage-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

/* === NUEVA LÓGICA DE ESTADOS (ACF) === */

/* PASADA → gris */
.estado-pasada {
  background-color: #f8fafc;
  opacity: 0.75;
}
.estado-pasada::before {
  background-color: #cbd5e1;
}

/* ACTIVA → verde con pulsación */
.estado-activa {
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}
.estado-activa::before {
  background-color: #10b981 !important;
  animation: pulse 1.75s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* EN ESPERA → ámbar */
.estado-espera {
  border-color: #f4a623;
  background-color: #fff7e6;
}
.estado-espera::before {
  background-color: #f4a623;
}

/* FUTURA → blanca */
.estado-futura {
  background-color: #ffffff;
}
.estado-futura::before {
  background-color: #94a3b8;
}

/* Animación pulse */
@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    transform: translateX(-50%) scale(1.4);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}



/* Las tarjetas ahora ocupan todo el ancho disponible */
.stage-card {
    width: 100%;
}








