/* Cada hito abre su propia tarjeta sin alterar el ritmo de avance. */
.process-journey .journey-panel.is-active,
.actia-workflow .actia-flow-panel.is-active {
  transition: none;
  animation: timelineCardPop .55s cubic-bezier(.22,.7,.32,1) both;
  transform-origin: 50% 50%;
}
@keyframes timelineCardPop {
  from { opacity: .9; transform: translate(var(--popup-from-x,0px),var(--popup-from-y,90px)) scale(.48); }
  to { opacity: 1; transform: translate(0,0) scale(1); }
}

.process-journey .journey-step.is-active .journey-bubble,
.actia-workflow .actia-flow-step.is-active .actia-flow-bubble {
  animation: timelineBubbleLaunch .55s ease-out both;
}
@keyframes timelineBubbleLaunch {
  0%,100% { filter: drop-shadow(0 0 0 rgba(207,226,241,0)); }
  25% { filter: drop-shadow(0 0 18px rgba(85,153,205,.9)); }
  55% { filter: drop-shadow(0 0 10px rgba(85,153,205,.55)); }
}

/* ACTIA muestra el ciclo de un activo con un acento propio. */
.actia-workflow .actia-flow-panel.is-active {
  border-color: rgba(207,226,241,.9);
  background: linear-gradient(145deg,#fff 50%,#f1f7fb);
  box-shadow: 0 18px 42px rgba(30,47,77,.1), inset 0 2px 2px #fff;
}
.actia-workflow .actia-flow-panel.is-active::before {
  content: "ACTIA · CICLO DEL ACTIVO";
  position: absolute;
  top: 10px;
  right: 20px;
  color: #7b9ab1;
  font: 700 9px/1 var(--display);
  letter-spacing: .12em;
}
@media (prefers-reduced-motion: reduce) {
  .process-journey .journey-panel.is-active,
  .actia-workflow .actia-flow-panel.is-active,
  .process-journey .journey-step.is-active .journey-bubble,
  .actia-workflow .actia-flow-step.is-active .actia-flow-bubble { animation: none; }
}
