.method-guide{
  position:relative;
  margin-top:34px;
  padding:24px 22px 20px;
  border:1px solid rgba(246,239,227,.14);
  border-radius:16px;
  background:rgba(0,22,39,.22);
  overflow:hidden;
}
.method-guide::before{
  content:"Recorrido de implementación";
  display:block;
  margin-bottom:20px;
  color:rgba(246,239,227,.62);
  font:600 .6rem/1.2 'JetBrains Mono',monospace;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.method-guide-track{
  position:absolute;
  top:66px;
  left:calc(10% + 22px);
  right:calc(10% + 22px);
  height:2px;
  background:rgba(246,239,227,.13);
}
.method-guide-track span{
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(90deg,#f59e3b,#e2702a);
  box-shadow:0 0 15px rgba(245,158,59,.42);
  transform:scaleX(var(--method-progress,0));
  transform-origin:left center;
  transition:transform .5s cubic-bezier(.22,1,.36,1);
}
.method-guide-list{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  list-style:none;
}
.method-marker{
  display:grid;
  justify-items:center;
  gap:10px;
  min-width:0;
  color:rgba(246,239,227,.54);
  text-align:center;
  transition:color .28s ease,transform .28s ease;
}
.method-marker span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(246,239,227,.2);
  border-radius:50%;
  background:#002a50;
  font:600 .59rem/1 'JetBrains Mono',monospace;
  transition:color .28s,border-color .28s,background .28s,box-shadow .28s,transform .28s;
}
.method-marker strong{
  max-width:120px;
  font-size:.7rem;
  line-height:1.3;
}
.method-marker.is-complete{color:rgba(246,239,227,.82)}
.method-marker.is-complete span{color:#f59e3b;border-color:rgba(245,158,59,.6)}
.method-marker.is-active{color:#f6efe3;transform:translateY(-2px)}
.method-marker.is-active span{
  color:#1a0e00;
  border-color:#f59e3b;
  background:linear-gradient(135deg,#f59e3b,#e2702a);
  box-shadow:0 0 0 5px rgba(245,158,59,.1),0 0 22px rgba(245,158,59,.38);
  transform:scale(1.08);
}
[data-method-stage]{
  transition:opacity .3s ease,transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
[data-method-stage].is-method-pending{opacity:.62}
[data-method-stage].is-method-complete{opacity:.88;border-color:rgba(245,158,59,.26)}
[data-method-stage].is-method-active{
  opacity:1;
  transform:translateY(-5px);
  border-color:rgba(245,158,59,.68);
  box-shadow:0 18px 42px rgba(0,10,20,.24),0 0 0 3px rgba(245,158,59,.07);
}
@media(max-width:700px){
  .method-guide{padding:20px 14px 17px}
  .method-guide::before{margin-bottom:16px}
  .method-guide-track{top:59px;left:calc(10% + 14px);right:calc(10% + 14px)}
  .method-guide-list{gap:4px}
  .method-marker{gap:8px}
  .method-marker span{width:28px;height:28px;font-size:.53rem}
  .method-marker strong{font-size:.58rem;overflow-wrap:anywhere}
  [data-method-stage].is-method-active{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .method-guide-track span,.method-marker,.method-marker span,[data-method-stage]{transition:none!important}
  .method-marker.is-active,[data-method-stage].is-method-active{transform:none!important}
  [data-method-stage].is-method-pending,[data-method-stage].is-method-complete{opacity:1!important}
}
