/* مساندة — تبويب «كيف تشتغل»: الخطوات السبع
   نصوص الخطوات في js/how-steps.js. */

.timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.dot{border:0;cursor:pointer;text-align:center;border-radius:14px;padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:10px;background:transparent;color:var(--muted);transition:all .4s ease;font-size:15px;font-weight:600;line-height:1.4}
.dot .n{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;background:var(--accent);color:#fff;transition:all .4s ease}
.dot.done{background:#E4EEE9;color:var(--body)}
.dot.on{background:#fff;box-shadow:0 8px 22px rgba(27,43,38,.14);color:var(--ink)}
.dot.on .n{background:var(--gold);color:var(--ink)}
.stage{flex:1;background:var(--accent);color:#fff;border-radius:20px;padding:44px 52px;display:flex;flex-direction:column;justify-content:center;gap:14px;min-height:260px}
.stage .count{font-size:17px;color:var(--gold);font-weight:600;margin-bottom:10px}
.stage .t{font-size:clamp(26px,2.8vw,40px);font-weight:700;margin-bottom:10px}
.stage .d{font-size:clamp(18px,1.6vw,23px);line-height:1.8;color:#E3EEE9;max-width:1000px}
.stage-in{animation:fade .45s ease}

@media (max-width:1150px){
  .timeline{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:760px){
  .timeline{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .dot{font-size:12.5px;padding:10px 4px}
  .stage{padding:28px 24px}
}
@media (prefers-reduced-motion: reduce){.stage-in{animation:none}.dot,.dot .n{transition:none}}
