/* ============================================================
   17-progress-dots.css — sticky page progress bar + section dots
   Global feature. Pairs with js/progress-dots.js.
   ============================================================ */

/* Top progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-yellow) 100%);
  z-index: 200;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* Side dots — vertical nav */
.section-dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-dots a {
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
}
.section-dots a:hover { background: var(--c-blue); transform: scale(1.35); }
.section-dots a.is-active {
  background: var(--c-green);
  transform: scale(1.5);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.18);
}

/* Hover label */
.section-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translate(8px, -50%);
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.section-dots a:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 980px) { .section-dots { display: none; } }
