/* 시안 02 — 정보량 최대 · 좌우교차 블록
   섹션마다 영문 라벨을 달고, 제목 열과 내용 열을 좌우로 나눕니다.
   카드 안 글은 전부 좌측정렬입니다. */

/* ── 섹션 영문 라벨 ─────────────────────────── */
.label {
  font-size: var(--fs-xs);
  line-height: normal;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--primary);
  vertical-align: middle;
  margin-inline-end: 8px;
}

/* ── 좌우교차 블록 ──────────────────────────
   제목 열 380px + 내용 열. 짝수 섹션은 좌우를 뒤집습니다. */
.block__in {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.block--rev .block__in { grid-template-columns: minmax(0, 1fr) 380px; }
.block--rev .block__head { order: 2; }
.block--rev .block__body { order: 1; }

.block__head .h2 { letter-spacing: -0.02em; }
.block__sign { line-height: normal; margin-top: 12px; }

@media (max-width: 1040px) {
  /* .block--rev 규칙이 더 무거우니 여기서도 같은 무게로 되돌립니다. */
  .block__in,
  .block--rev .block__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .block--rev .block__head { order: 0; }
  .block--rev .block__body { order: 0; }
}

/* ── 1 헤더 ─────────────────────────────────── */
.hd { background: var(--surface); border-bottom: 1px solid var(--line); }

.hd__util {
  background: var(--primary-dk);
  color: rgba(255, 255, 255, 0.86);
}

.hd__util-in {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  justify-content: space-between;
  padding-block: 6px;
  line-height: normal;
}

.hd__dot { opacity: 0.5; }

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

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

.hd__logo-sub {
  display: block;
  line-height: normal;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.hd__call { text-align: right; }

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

.hd__hours { line-height: normal; color: var(--muted); }

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

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

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

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

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

/* 히어로에서부터 사실을 세 줄 깔아 둡니다 — 정보량이 이 시안의 성격입니다. */
.hero__facts {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.hero__facts li {
  display: flex;
  gap: 14px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  line-height: normal;
}

.hero__facts-k {
  flex: 0 0 84px;
  color: var(--muted);
}

.hero__facts-v { font-weight: 700; color: var(--heading); }

.hero__btns { display: flex; gap: 10px; margin-top: 22px; }

@media (max-width: 1040px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

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

/* ── 3 인사말 ───────────────────────────────── */
.greet__body { max-width: 760px; }

/* ── 4 지금 상황 ────────────────────────────── */
.now__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px var(--sp-card);
}

.now__label {
  line-height: normal;
  letter-spacing: 0.06em;
  color: var(--muted);
}

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

.now__unit { line-height: normal; }

.now__note {
  margin-top: 14px;
  line-height: normal;
}

/* ── 5 우리 센터 ────────────────────────────── */
.lead-person {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  align-items: flex-start;
}

.lead-person__photo { flex: 0 0 92px; }

.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 {
  margin-top: 6px;
  line-height: 1.7;
}

.about__note { margin-top: 10px; line-height: normal; }

/* 카드가 많은 시안이라 안쪽 패딩을 18px로 둡니다. */
.card { padding: 18px; }

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

.staff__law { line-height: normal; margin-top: 6px; }
.staff__law-v { font-weight: 700; color: var(--text); }

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

.staff__ours::after {
  content: " 우리 센터";
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.staff__note {
  line-height: 1.6;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.faces {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  max-width: 500px;
  margin-top: 18px;
}

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

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

/* ── 7 하루 일과 ────────────────────────────── */
.timeline__row:last-child { border-bottom: 0; }
.timeline .timeline__row { padding-block: 8px; }

/* ── 8 비용 안내 ────────────────────────────── */
.cost__sum {
  background: var(--table-sum);
  font-weight: 700;
  color: var(--primary-dk);
}

.cost__notes {
  margin-top: 10px;
  line-height: 1.6;
}

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

.worry__head { margin-bottom: 20px; }

.worry__no {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  vertical-align: middle;
  margin-inline-end: 10px;
}


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

.steps__no {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: normal;
  color: var(--accent);
  margin-bottom: 6px;
}

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

.papers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--primary-lt);
  border-radius: var(--radius-card);
}

.papers__title {
  flex: 0 0 auto;
  font-size: var(--fs-h3);
  line-height: normal;
  font-weight: 700;
  color: var(--primary-dk);
}

.papers__list {
  flex: 1 1 300px;
  line-height: 1.8;
  color: var(--text);
}

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

/* ── 11 유틸 4블록 ──────────────────────────── */
.util__head { margin-bottom: 18px; }

.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__head { margin-bottom: 18px; }
.contact { align-items: start; }

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

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

.contact__facts {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.contact__facts li {
  display: flex;
  gap: 14px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  line-height: normal;
}

.contact__facts-k { flex: 0 0 76px; color: var(--muted); }

.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; }

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

.ft__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  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__logo-sub {
  line-height: normal;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.ft__map {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-inline-start: auto;
  line-height: normal;
}

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

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

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

/* 제목도 Pretendard 를 굵게 씁니다 — 이 시안의 성격은 정보량입니다. */
.hero__title,
.h2 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* 영문 라벨만 Inter */
.label,
.hd__logo-sub,
.now__label,
.steps__no,
.worry__no,
.ft__logo-sub {
  font-family: var(--font-en);
}

/* 숫자는 전부 Pretendard */
.hd__tel,
.now__num,
.staff__ours,
.contact__tel,
.timeline__time,
.table,
.num,
.cost__sum {
  font-family: var(--font-body);
}

/* 사진 자리 — 각지게. 1px 테두리로 칸을 분명히 합니다. */
.photo-slot,
.photo-slot--round {
  border-radius: 0;
  background: var(--line);
  border: 1px solid var(--muted);
}

/* 대비 — 버튼과 링크는 진한 청록(--primary-dk #276771)만 씁니다. */
.btn--primary { background: var(--primary-dk); }
.btn--accent { background: var(--accent-dk); }
.label { color: var(--primary-dk); }
.util__link { color: var(--primary-dk); border-bottom-color: var(--primary-dk); }
.steps__no { color: var(--accent-dk); }

/* 색 면적 — 종이색 섹션을 절반 가까이 둡니다(11개 중 6개). */
#now.section,
#cost.section,
#steps.section { 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; }
}


.hd__call { white-space: nowrap; }
