/* ============================================================
   how-we-work.css — 운영 방식 페이지 전용 스타일
   (shared.css 위에 적재)
   ============================================================ */

/* ─── 바디 레이아웃 ─── */
.hww-body {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sec-py) var(--px) calc(var(--sec-py) * 1.5);
}
.hww-section { margin-bottom: 72px; }
.hww-section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--clr-primary); margin-bottom: 12px;
}
.hww-section-title {
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
  line-height: 1.2; margin: 0 0 16px;
}
.hww-section-body { font-size: 15px; color: var(--text2); line-height: 1.85; }
.hww-section-body p { margin: 0 0 16px; }
.hww-section-body strong { color: var(--text); font-weight: 700; }

/* ─── 타임라인 요약 바 ─── */
.timeline-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; margin: 32px 0;
}
.tl-item {
  padding: 20px 16px; text-align: center;
  border-right: 1px solid var(--border);
}
.tl-item:last-child { border-right: none; }
.tl-num {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--clr-primary); margin-bottom: 4px;
}
.tl-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.tl-time  { font-size: 11px; color: var(--muted2); }

/* ─── Step List (타임라인 연결선 방식) ─── */
.hww-step-list {
  display: flex; flex-direction: column;
  gap: 0; margin: 32px 0;
}
.hww-step-item {
  display: grid; grid-template-columns: 80px 1fr;
  position: relative;
}
.hww-step-item::before {
  content: '';
  position: absolute; left: 39px; top: 52px; bottom: -1px;
  width: 2px; background: var(--border);
}
.hww-step-item:last-child::before { display: none; }
.hww-step-left {
  display: flex; flex-direction: column;
  align-items: center; padding-top: 4px;
}
.hww-step-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--clr-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0; z-index: 1;
}
.hww-step-body { padding: 0 0 48px 24px; }
.hww-step-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-primary); background: var(--clr-primary-sub);
  border: 1px solid var(--clr-primary-mid);
  border-radius: var(--r-xs); padding: 3px 10px;
  display: inline-block; margin-bottom: 10px;
}
.hww-step-title {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 10px; line-height: 1.3;
}
.hww-step-desc {
  font-size: 14px; color: var(--muted2);
  line-height: 1.75; margin-bottom: 16px;
}
.hww-step-detail {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 20px;
}
.hww-step-detail ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.hww-step-detail li {
  font-size: 13px; color: var(--text2);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.6;
}
.hww-step-detail li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ─── 차별점 카드 ─── */
.diff-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin: 24px 0;
}
.diff-card {
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 24px; background: var(--bg);
}
.diff-icon {
  width: 40px; height: 40px; border-radius: var(--r-lg);
  background: var(--clr-primary-sub);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px; color: var(--clr-primary);
}
.diff-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.diff-desc  { font-size: 13px; color: var(--muted2); line-height: 1.65; }

/* ─── 인라인 FAQ ─── */
.hww-faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.hww-faq-item {
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px;
}
.hww-faq-q { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.hww-faq-a { font-size: 14px; color: var(--muted2); line-height: 1.75; }

/* ─── Related cards ─── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-top: 24px;
}
.related-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 20px;
  text-decoration: none; transition: all .2s; display: block;
}
.related-card:hover { border-color: var(--clr-primary-mid); box-shadow: var(--shadow-2); }
.related-cat {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--clr-primary); margin-bottom: 8px;
}
.related-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.45; }

/* ─── Info box ─── */
.info-box {
  padding: 18px 22px; border-radius: var(--r-lg);
  margin: 24px 0; line-height: 1.7; font-size: 14px;
}
.info-box--blue  { background: #eff6ff; border: 1.5px solid #bfdbfe; color: #1e40af; }
.info-box--green { background: #f0fdf4; border: 1.5px solid #86efac; color: #14532d; }
.info-box-title  {
  font-size: 13px; font-weight: 700; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .timeline-bar { grid-template-columns: 1fr; }
  .tl-item { border-right: none; border-bottom: 1px solid var(--border); }
  .tl-item:last-child { border-bottom: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .hww-step-item { grid-template-columns: 56px 1fr; }
  .hww-step-item::before { left: 27px; }
}
@media (max-width: 480px) {
  .hww-section { margin-bottom: 48px; }
  .hww-step-title { font-size: 16px; }
}
