/* =====================================================================
   [C-06] 02 · PROCESO — cinco barras que crecen con contador odómetro,
   panel de detalle con número grande (Mobbin Trawelt / FLORA), píldoras
   con progreso del autoplay (patrón "Connected Carousel").
   ===================================================================== */
.sota .container { padding: 85px 0 123px; }
.bench { margin: 80px 181px 0 183px; border-top: 1px solid var(--rule); }
.bench__row {
  display: flex; align-items: center; height: 71.4px; border-bottom: 1px solid var(--rule);
  font-size: 20px; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .2s ease;
}
.bench__row:hover { background: rgba(246, 248, 250, .9); }
.bench__name { width: 275px; flex: none; display: flex; align-items: center; gap: 14px; color: var(--ink); white-space: nowrap; }
.bench__name .num {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--s2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-3);
  font-variant-numeric: tabular-nums; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.bench__row:hover .num { transform: scale(1.06); }
.bench__row.is-active .num { background: var(--ac-hi); color: #fff; border-color: var(--ac-hi); }
.bench__track { width: 720px; max-width: 100%; height: 32px; }
.bench__bar {
  position: relative; height: 32px; width: 0; border-radius: 4px; background: var(--bar-soft);
  transition: width 1.3s var(--ease-soft), background-color .25s ease;
}
.bench__row.is-active .bench__bar { background: var(--bar-lead); }
.bench__val {
  position: absolute; right: 10px; top: 0; height: 32px; display: flex; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ac-hi);
  opacity: 0; transition: opacity .4s ease .5s, color .25s ease;
}
.bench__row.is-active .bench__val { color: #fff; }
.bench.is-run .bench__val { opacity: 1; }
.bench__pct { flex: 1; text-align: right; color: var(--ink-3); font-size: 18px; transition: color .25s ease; }
.bench__row.is-active .bench__pct { color: var(--ink); }

/* [C-06b] Detalle de la fase activa */
.phase {
  margin: 56px 181px 0 183px; display: grid; grid-template-columns: 210px 1fr; gap: 40px; align-items: center;
  min-height: 150px; transition: opacity .3s ease, transform .3s var(--ease-out);
}
html.js .phase[data-reveal].is-in.is-swapping { opacity: 0; transform: translateY(8px); }
html.js .phase[data-reveal].is-in { transition: opacity .3s ease, transform .3s var(--ease-out); }
.phase__num {
  font-size: 150px; line-height: .9; font-weight: 700; letter-spacing: -0.06em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--blue-pale) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.phase__title { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.phase__desc { margin-top: 10px; max-width: 780px; font-size: 20px; line-height: 31px; color: var(--ink-3); letter-spacing: -0.005em; }
.phase__deliv {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--blue-pale); border: 1px solid var(--blue-soft); color: var(--ac-hi); font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
}
.phase__deliv::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.phase__deliv-l { color: var(--ac); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; padding-right: 10px; border-right: 1px solid var(--blue-soft); }

/* [C-06c] Píldoras con barra de progreso */
.pills {
  margin: 48px auto 0; width: max-content; padding: 4px; border-radius: 999px; background: var(--s2);
  display: flex; align-items: center;
}
.pill {
  position: relative; overflow: hidden;
  height: 41px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-3); font-size: 18px; letter-spacing: -0.015em; cursor: pointer;
  transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.pill:hover { color: var(--ink); }
.pill.is-active { background: #fff; color: var(--ink); padding: 0 20px; box-shadow: 0 1px 3px rgba(var(--shadow), 0.12), 0 0 0 1px rgba(var(--shadow), 0.05); }
.pill::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--ac); transform: scaleX(0); transform-origin: 0 50%;
}
.pill.is-active::after { animation: tabfill var(--auto) linear forwards; }
.sota.is-paused .pill.is-active::after { animation-play-state: paused; }

@media (max-width: 1719px) {
  .bench { margin: 80px 11% 0; }
  .bench__track { flex: 1 1 auto; width: auto; }
  .bench__pct { flex: none; width: 220px; }
  .phase { margin: 56px 11% 0; }
}
@media (max-width: 1100px) {
  .bench { margin: 48px 20px 0; }
  .bench__row { flex-wrap: wrap; height: auto; padding: 14px 0 16px; font-size: 17px; }
  .bench__name { width: 100%; font-size: 17px; }
  .bench__track { width: 100%; margin-top: 10px; height: 26px; }
  .bench__bar, .bench__val { height: 26px; }
  .bench__val { font-size: 12px; }
  .bench__pct { width: 100%; flex: none; text-align: left; margin-top: 8px; font-size: 14px; }
  .phase { margin: 40px 20px 0; grid-template-columns: 1fr; gap: 8px; }
  .phase__num { font-size: 96px; }
  .phase__title { font-size: 24px; }
  .phase__desc { font-size: 17px; line-height: 27px; }
  .pills { flex-wrap: wrap; justify-content: center; width: auto; margin: 32px 20px 0; border-radius: 24px; }
  .pill { font-size: 15px; height: 36px; }
}
