/* 시안 05 — 각진 기업형 · 다크 히어로
   인사말을 두지 않습니다. 감성적 도입 없이 숫자로 시작합니다.
   모서리는 거의 없고(카드 4 / 버튼 2), 제목은 자간을 조입니다. */


/* 라틴 글자만 Inter 로 분리합니다. 한글 본문과 숫자 눈금은 Pretendard 그대로입니다. */
.en {
  font-family: "Inter", "Pretendard Variable", Pretendard, sans-serif;
  font-feature-settings: "tnum" 1;
}

.hero__title,
.h2,
.key__num,
.card__title {
  letter-spacing: -0.02em;
}

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

.sec__head { margin-bottom: 15px; }

/* ── 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: 18px;
  padding-block: 11px;
}

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

.hd__call { text-align: right; }

.hd__tel {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: normal;
}

.hd__hours { line-height: normal; }

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

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

/* ── 2 히어로 ─────────────────────────────
   배경이 짙습니다. 한 줄만 두고 부제는 두지 않습니다. */
.hero {
  background: var(--dark);
  color: #FFFFFF;
}

.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);
  color: #FFFFFF;
}

.hero__photo {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

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

/* ── 3 핵심 숫자 4개 ────────────────────────
   인사말 자리를 대신하는 한 문장을 위에 둡니다. */
.key__line {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.key__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px var(--sp-card);
}

.key__num {
  font-size: 46px;
  font-weight: 700;
  line-height: normal;
  color: var(--dark);
}

.key__unit {
  font-size: 18px;
  font-weight: 700;
  margin-inline-start: 2px;
}

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

.key__sub { line-height: normal; margin-top: 4px; }

.key__note { margin-top: 12px; line-height: normal; }

/* ── 4 인력 배치 ────────────────────────────── */
.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;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.staff__tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary-lt);
  color: var(--primary-dk);
  font-weight: 700;
  line-height: normal;
  border-radius: var(--radius-btn);
}

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

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

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

/* ── 5 비용 안내 ────────────────────────────── */
.cost {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.cost .table th:first-child,
.cost .table td:first-child { padding-inline-start: 20px; }

.cost .table th:last-child,
.cost .table td:last-child { padding-inline-end: 20px; }

.cost .table tbody tr:last-child th,
.cost .table tbody tr:last-child td { border-bottom: 0; }

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

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

/* ── 6 하루 일과 — 오전과 오후를 좌우로 ────── */
.day .timeline__row { padding-block: 8px; }
.day .timeline__row:last-child { border-bottom: 0; }
.timeline__time { color: var(--primary-dk); }

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

.lead-person {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

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

.lead-person__role { font-weight: 400; letter-spacing: 0; }
.lead-person__career { margin-top: 6px; line-height: 1.7; }

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

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

/* ── 9 상담 절차 ────────────────────────────── */
.steps__no {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: normal;
  color: var(--primary);
  margin-bottom: 6px;
}

.steps__desc { line-height: 1.55; margin-top: 4px; }

.papers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--dark);
  border-radius: var(--radius-card);
}

.papers__title {
  flex: 0 0 auto;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

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

/* ── 10 유틸 4블록 ──────────────────────────── */
.util__item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
}

.util__item:hover { border-color: var(--primary-dk); }

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

.util__go {
  margin-top: auto;
  padding-top: 12px;
  color: var(--primary-dk);
  font-weight: 700;
  line-height: normal;
}

.util__go::after { content: " →"; }

/* ── 11 문의 ────────────────────────────────── */
.contact { align-items: start; }

.contact__tel {
  font-size: 42px;
  font-weight: 700;
  line-height: normal;
  color: var(--dark);
  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: 16px; }

.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: var(--radius-btn);
  line-height: normal;
}

.field__area { resize: vertical; }

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

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

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

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

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

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

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

/* 390px 에서는 "303,000원"이 두 칸 폭에 들어가지 않습니다.
   숫자를 줄이는 대신 한 줄에 하나씩 세웁니다. */
@media (max-width: 520px) {
  .key__list { grid-template-columns: minmax(0, 1fr); }
}

/* ═══ 테마 05 — 서체 · 사진 자리 · 대비 · 다크 면적 ═════════
   구조 수치(제목 64 / 히어로 76 / 섹션 100)는 tokens.css 의
   .theme-05 에 있습니다. 컨테이너는 1320 이고, 히어로와 CTA 만
   화면 폭 전체(100vw)로 터집니다. */

/* 제목도 Pretendard. 자간만 조입니다. */
.hero__title,
.h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* 라틴 글자만 Inter */
.en { font-family: var(--font-en); }

/* 숫자는 전부 Pretendard 자폭을 씁니다 — Inter 는 라틴 라벨용입니다. */
.key__num,
.staff__ours,
.timeline__time,
.table,
.num,
.cost__sum {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}

/* 사진 자리 — 각지고 짙게. */
.photo-slot,
.photo-slot--round {
  border-radius: 0;
  background: var(--dark);
  color: #FFFFFF;
}

/* 대비 — 버튼과 링크는 진한 주황(--primary-dk #AF5D00)만 씁니다. */
.btn--primary { background: var(--primary-dk); }
.btn--accent { background: var(--primary-dk); }
.eyebrow { color: var(--primary-dk); }
.util__go { color: var(--primary-dk); }
.timeline__time { color: var(--primary-dk); }
.staff__tag { color: var(--primary-dk); }

/* ── 다크 풀블리드 — 히어로와 CTA(문의) ──────────────
   컨테이너를 벗어나 화면 폭을 다 씁니다. */
.hero,
#contact {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.86);
}

.hero .container,
#contact .container {
  max-width: calc(1320px + var(--sp-side) * 2);
  margin-inline: auto;
}

#contact .h2,
#contact .contact__tel { color: #FFFFFF; }
#contact .eyebrow { color: var(--primary); }
#contact .muted { color: rgba(255, 255, 255, 0.6); }
#contact .contact__facts { border-top-color: rgba(255, 255, 255, 0.2); }
#contact .contact__facts li { border-bottom-color: rgba(255, 255, 255, 0.2); }
#contact .contact__facts-k { color: rgba(255, 255, 255, 0.6); }

/* 폼은 흰 상자로 남겨 입력 칸을 또렷하게 둡니다. */
#contact .contact__form { background: var(--surface); color: var(--text); }
#contact .contact__form .card__title { color: var(--heading); }

/* 히어로 안 사진 자리는 배경이 이미 짙으므로 한 톤 밝게. */
.hero .photo-slot { background: rgba(255, 255, 255, 0.12); }

/* ── 인력 배치 카드를 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"
    "law   tag"
    "note  note";
  align-content: start;
  gap: 2px 24px;
  padding: 32px;
  text-align: left;
}

.staff__card .card__title { grid-area: title; margin-bottom: 6px; }
.staff__law  { grid-area: law; align-self: center; margin-top: 0; }
.staff__ours { grid-area: ours; margin-top: 0; text-align: right; }
.staff__tag  { grid-area: tag; justify-self: end; margin-top: 0; }
.staff__note { grid-area: note; margin-top: 12px; }

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