/* Mantener la posición del contenido del hero de la etapa anterior. */
.hero.variant-b .hero-copy { padding-top: 158px; }

@media (max-width: 700px) {
  .hero.variant-b .hero-copy { padding-top: 143px; }
}

/* Indicador inferior 8A.5. No ocupa espacio en el documento. */
html { scroll-padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }

.route-indicator {
  --route-progress: 0%;
  position: fixed;
  z-index: 18;
  left: 50%;
  bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  transform: translateX(-50%);
  width: min(148px, calc(100% - 32px));
  padding: 4px 9px 7px;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 10px;
  color: #153c2c;
  background: rgb(247 252 248 / 90%);
  box-shadow: 0 3px 14px #123a221c;
  pointer-events: none;
  transition: opacity .16s ease-out;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .route-indicator {
    background: rgb(246 253 248 / 72%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
  }
}
.route-indicator[data-over-control] { opacity: 0; transition: none; }

.route-label {
  display: block;
  margin-bottom: 5px;
  text-align: center;
  font-size: 11px;
  line-height: 14px;
  font-weight: 720;
}
.route-progress {
  position: relative;
  height: 3px;
  margin-inline: 4px;
  border-radius: 99px;
  background: rgb(255 255 255 / 74%);
  box-shadow: inset 0 0 0 1px #12483226;
}
.route-fill {
  display: block;
  width: var(--route-progress);
  height: 100%;
  border-radius: inherit;
  background: #0D8541;
}
.route-marker {
  position: absolute;
  top: 50%;
  left: var(--route-progress);
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border: 1px solid #0d854188;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #123a2240;
}

@media (prefers-reduced-motion: reduce) {
  .route-indicator { transition: none; }
}
