/*
  restaurant-commercial-sink.css — /service/restaurant-commercial-sink/ 전용
  세로 타임라인(도입 절차) 컴포넌트. 공통 토큰(tokens.css) 색상만 사용, 새 값은 이 페이지 클래스에만 적용.
*/

.rt-timeline{ position: relative; margin-top: 8px; }
.rt-timeline::before{
  content: "";
  position: absolute;
  left: 27px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--teal));
  border-radius: 3px;
}
.rt-step{ position: relative; padding-left: 72px; margin-bottom: 30px; }
.rt-step:last-child{ margin-bottom: 0; }
.rt-step__marker{
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; color: var(--white);
  box-shadow: 0 0 0 5px var(--paper);
  z-index: 1;
}
.rt-step:nth-child(4n+1) .rt-step__marker{ background: var(--accent); }
.rt-step:nth-child(4n+2) .rt-step__marker{ background: var(--teal); }
.rt-step:nth-child(4n+3) .rt-step__marker{ background: var(--navy); }
.rt-step:nth-child(4n+4) .rt-step__marker{ background: var(--accent-deep); }
.rt-step__content{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 22px; box-shadow: var(--sh-1);
}
.rt-step__phase{
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: var(--accent-deep); background: var(--accent-soft); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.rt-step__content h3{ margin-bottom: 6px; }
.rt-step__content p{ margin: 0; color: var(--ink-2); font-size: 14.5px; }

@media (min-width: 860px){
  .rt-timeline{ padding-top: 4px; }
  .rt-timeline::before{ left: 50%; transform: translateX(-50%); }
  .rt-step{
    width: 50%; padding-left: 0; padding-right: 0; margin-bottom: 44px;
    box-sizing: border-box;
  }
  .rt-step:nth-child(odd){ padding-right: 52px; text-align: right; margin-left: 0; }
  .rt-step:nth-child(even){ padding-left: 52px; text-align: left; margin-left: 50%; }
  .rt-step__marker{ top: 0; }
  .rt-step:nth-child(odd) .rt-step__marker{ right: -28px; left: auto; }
  .rt-step:nth-child(even) .rt-step__marker{ left: -28px; }
  .rt-step:nth-child(odd) .rt-step__content{ margin-left: auto; }
  .rt-step:nth-child(odd) .rt-step__phase,
  .rt-step:nth-child(even) .rt-step__phase{ display: inline-block; }
}
