/* ========== КАК МЫ РАБОТАЕМ — вариант C (13.10.2026) ==========
   Шаги собраны в 4 этапа «где сейчас ваш автомобиль». Над колонками тонкая линия этапов;
   точка этапа закрашивается, когда колонка показалась (.how-col.is-visible — js/modules/reveal.js). */
.how {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}
.how-cols { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 34px; margin-top: 8px; }
.how-cols::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-strong); }
.how-col { position: relative; padding: 0 24px; border-left: 1px solid var(--line); }
.how-col::before {
  content: '';
  position: absolute;
  top: -34px;
  left: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--ink-3);
  transition: background 0.5s ease 0.4s, border-color 0.5s ease 0.4s;
}
.how-col:first-child::before { left: 0; }
.how-col.is-visible::before { background: var(--accent, #2f3a4a); border-color: var(--accent, #2f3a4a); }
.how-col:first-child { padding-left: 0; border-left: 0; }
.how-where { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; }
.how-days { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.how-step + .how-step { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.how-step h3 {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}
.how-step h3 i { font-style: normal; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.how-step p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

@media (max-width: 900px) {
  .how-cols { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .how-col:nth-child(3) { padding-left: 0; border-left: 0; }
  .how-cols::before, .how-col::before { display: none; }
  .how-cols { padding-top: 0; }
}
@media (max-width: 560px) {
  .how-cols { grid-template-columns: 1fr; gap: 0; }
  .how-col { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .how-col:first-child { border-top: 0; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .how-col::before { transition: none; }
}
