/* 시안 01 — 원페이지 · 중앙정렬 · 알약 버튼
   컨테이너를 1120으로 좁혀 정보를 한 줄기로 읽히게 합니다. */


.theme-01 {
  --container: 1120px;

  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Malgun Gothic", sans-serif;   /* 본문, 표, 숫자 전부 */
  --font-heading: "Gowun Dodum", var(--font-body);        /* 섹션 제목, 히어로 */
  --font-quote: "Gowun Batang", serif;                    /* 인사말 딱 한 곳 */

  font-family: var(--font-body);
}

/* 제목용 글꼴 — 히어로와 섹션 제목에만 씁니다.
   카드 제목·표 머리·라벨은 본문 글꼴 그대로 둡니다. */
.hero__title,
.h2 {
  font-family: var(--font-heading);
  font-weight: 400;
}

/* 인사말 본문 한 곳에만 명조 */
.greet__body {
  font-family: var(--font-quote);
}

/* ── 1 헤더 ─────────────────────────────────── */
.hd {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hd__in {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 14px;
}

.hd__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  line-height: normal;
  white-space: nowrap;
}

.hd__nav a { color: var(--text); }
.hd__call { text-align: right; line-height: normal; }

.hd__tel {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  line-height: normal;
}

.hd__hours { line-height: normal; }

.hd__btns { display: flex; gap: 8px; }
.hd__btns .btn { padding: 10px 18px; font-size: var(--fs-sm); }

@media (max-width: 768px) {
  .hd { position: static; }
}

/* ── 공통 머리 ──────────────────────────────── */
.eyebrow {
  color: var(--primary);
  font-weight: 700;
  line-height: normal;
  margin-bottom: 6px;
}

.section > .container > .h2 { margin-bottom: 18px; }

/* ── 2 히어로 ───────────────────────────────── */
.hero { padding-top: 40px; }

.hero__eyebrow {
  color: var(--muted);
  line-height: normal;
  margin-bottom: 10px;
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: -0.02em;
}

.hero__lead {
  margin-top: 14px;
  color: var(--muted);
}

.hero__btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.hero__photo {
  max-width: 560px;
  margin-top: 24px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .hero__btns { flex-direction: column; }
}

/* ── 3 인사말 ───────────────────────────────── */
.greet__body {
  max-width: 720px;
  margin-inline: auto;
}

.greet__sign {
  margin-top: 18px;
  color: var(--muted);
  line-height: normal;
}

/* ── 4 지금 상황 ────────────────────────────── */
.now { margin-top: 4px; }

.now__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px var(--sp-card);
  text-align: center;
}

.now__num {
  font-size: 48px;
  font-weight: 700;
  line-height: normal;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.now__label {
  line-height: normal;
  color: var(--muted);
  margin-top: 4px;
}

.now__note { margin-top: 18px; }

/* ── 5 우리 센터 ────────────────────────────── */
.about { align-items: center; }

.lead-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lead-person__photo { width: 124px; }

.lead-person__name {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--heading);
  line-height: normal;
}

.lead-person__role { font-weight: 400; }

.lead-person__career {
  line-height: 1.8;
  color: var(--muted);
  margin-top: 6px;
}

.about__table { text-align: left; }
.about__note { margin-top: 12px; text-align: left; }

/* ── 6 인력 배치 ────────────────────────────── */
.staff__card { text-align: center; }

.staff__law { line-height: normal; margin-top: 6px; }

.staff__ours {
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.staff__note { line-height: 1.6; margin-top: 6px; }

.faces {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
}

.staff__tenure {
  line-height: normal;
  margin-top: 16px;
  font-weight: 700;
  color: var(--heading);
}

@media (max-width: 768px) {
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 320px; }
}

/* ── 7 하루 일과 ────────────────────────────── */
.day {
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.day .timeline__row { padding-block: 9px; }
.day .timeline__row:last-child { border-bottom: 0; }

/* ── 8 비용 안내 ────────────────────────────── */
.cost { text-align: left; }

.cost__sum {
  background: var(--table-sum);
  font-weight: 700;
  color: var(--heading);
}

.cost__notes {
  margin-top: 12px;
  text-align: left;
  line-height: 1.7;
}

/* ── 9 자주 묻는 걱정 ───────────────────────
   앞뒤 섹션과 다른 배경. 접지 않고 전부 펼쳐 둡니다. */
.worry { background: var(--primary-lt); }

.worry__list { margin-top: 4px; }

/* ── 10 상담 절차 ───────────────────────────── */
.steps__item { text-align: center; }

.steps__no {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--primary-lt);
  color: var(--primary-dk);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 34px;
}

.steps__desc { line-height: 1.6; margin-top: 6px; }

.papers {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 18px var(--sp-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
}

.papers__title { line-height: normal; flex: 0 0 auto; }

.papers__body { flex: 1 1 300px; }

.papers__list {
  line-height: 1.8;
  color: var(--muted);
}

.papers__list li { padding-inline-start: 14px; position: relative; }
.papers__list li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--primary);
}

/* ── 11 유틸 4블록 ──────────────────────────── */
.util__item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.util__desc { line-height: 1.6; margin-top: 6px; }

.util__link {
  margin-top: 12px;
  align-self: flex-start;
  color: var(--primary-dk);
  font-weight: 700;
  line-height: normal;
  border-bottom: 1px solid var(--primary);
}

/* ── 12 문의 ────────────────────────────────── */
.contact { align-items: start; text-align: left; }

.contact__call {
  padding-top: 4px;
}

.contact__tel {
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.contact__hours { line-height: normal; margin-top: 8px; }
.contact__addr { line-height: normal; margin-top: 4px; }
.contact__btn { margin-top: 18px; }

.field { display: block; margin-top: 10px; }

.field__label {
  display: block;
  line-height: normal;
  color: var(--muted);
  margin-bottom: 4px;
}

.field__input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  line-height: normal;
}

.field__area { resize: vertical; }

.contact__submit {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .contact__call { padding-bottom: 0; }
}

/* ── 13 푸터 ────────────────────────────────── */
.ft {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 34px;
}

.ft__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ft__logo {
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  color: #FFFFFF;
}

.ft__map {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-inline-start: auto;
  font-size: var(--fs-sm);
  line-height: normal;
}

.ft__addr {
  margin-top: 18px;
  line-height: normal;
}

.ft__legal {
  margin-top: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

/* ═══ 테마 01 — 서체 · 사진 자리 · 대비 · 색 면적 ═══════════
   구조 수치(컨테이너 1120 / 제목 40 / 히어로 48 / 섹션 72)는
   tokens.css 의 .theme-01 에 있습니다. */

/* 제목만 고운돋움. 인사말 한 곳만 고운바탕. 나머지는 Pretendard. */
.hero__title,
.h2 {
  font-family: var(--font-heading);
  font-weight: 400;
}

.greet__body { font-family: "Gowun Batang", serif; }

/* 숫자는 전부 Pretendard — 명조·둥근고딕은 자폭이 어긋나
   tabular-nums 가 듣지 않습니다. */
.hd__tel,
.now__num,
.staff__ours,
.contact__tel,
.timeline__time,
.table,
.num,
.cost__sum {
  font-family: var(--font-body);
}

/* 사진 자리 — 12px 둥근 네모, 배경은 선 색. 원형은 03 의 몫입니다. */
.photo-slot,
.photo-slot--round {
  border-radius: 12px;
  background: var(--line);
}

/* 대비 — 흰 글씨를 얹는 자리에는 어두운 짝만 씁니다. */
.btn--primary { background: var(--primary-dk); }
.btn--accent { background: var(--accent-dk); }
.util__link { color: var(--primary-dk); border-bottom-color: var(--primary-dk); }
.eyebrow { color: var(--primary-dk); }
.steps__no { color: var(--primary-dk); }

/* 색 면적 — 거의 흰색. paper 섹션은 인사말과 하루 일과 둘뿐입니다. */
.section--alt { background: var(--bg); }
#greeting.section--alt,
#day.section--alt { background: var(--paper); }

/* ── 인력 배치 카드를 2×2 로 ─────────────────────────
   한 줄에 넷을 늘어놓으면 칸이 좁아 법정 기준과 우리 센터가
   위아래로 눌립니다. 두 줄로 나눠 넓힌 뒤 좌우로 나란히 둡니다. */
.staff {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-2);
}

.staff__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "title title"
    "law   ours"
    "note  note";
  align-items: center;
  gap: 4px 24px;
  padding: 32px;
  text-align: left;
}

.staff__card .card__title { grid-area: title; }
.staff__law  { grid-area: law; margin-top: 0; }
.staff__ours { grid-area: ours; margin-top: 0; text-align: right; }
.staff__note { grid-area: note; margin-top: 10px; }

@media (max-width: 768px) {
  .staff { grid-template-columns: minmax(0, 1fr); }
  .staff__card { padding: 22px; }
}

/* 소식 섹션 머리도 다른 섹션과 같이 가운데로 둡니다.
   카드 안쪽 글은 읽기 쉽도록 왼쪽 정렬 그대로입니다. */
#news .sec__head { text-align: center; }
#news .news__more { text-align: center; }

.hd__call { white-space: nowrap; }
.hd__btns .btn { padding: 10px 14px; }
