/* ============================================================
   ZERO 변호사 v2 — Trust & Authority 디자인 시스템 (모바일 퍼스트)
   navy #1B2B4B · slate bg #F8FAFC · brand red #E8001E
   ============================================================ */

/* 로컬 서브셋 폰트 (외부 CDN 의존 없음) */
@font-face {
  font-family: "Noto Serif KR"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/noto700.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif KR"; font-weight: 900; font-style: normal; font-display: swap;
  src: url("../fonts/noto900.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/instr.woff2") format("woff2");
}
@font-face {
  font-family: "Pretendard Variable"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("../fonts/pret.woff2") format("woff2");
}

:root {
  --bg: #f8fafc;
  --bg-soft: #eef2f7;
  --navy: #1b2b4b;
  --navy-deep: #0f1c36;
  --ink: #0f172a;
  --ink-soft: #3f4a63;
  --ink-mute: #64748b;
  --red: #e8001e;
  --red-deep: #c00019;
  --red-tint: #fdeef0;
  --gold: #b45309;
  --line: #dde4ee;
  --white: #fff;
  --serif: "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --en: "Instrument Serif", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sh-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 30px -12px rgba(15, 23, 42, 0.15);
  --sh-lift: 0 2px 4px rgba(15, 23, 42, 0.06), 0 22px 44px -16px rgba(15, 23, 42, 0.25);
  --header-h: 64px;
  --stickybar-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--stickybar-h); /* 모바일 하단 고정바 공간 */
}
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a, button { cursor: pointer; touch-action: manipulation; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* 고정 헤더가 앵커 대상 상단을 가리지 않도록 */
section[id], footer { scroll-margin-top: calc(var(--header-h) + 12px); }

#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--red); z-index: 1200;
}

/* ---------- 헤더 ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -14px rgba(15, 23, 42, 0.3); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); max-width: 1160px; margin: 0 auto; padding: 0 20px;
}
.nav-logo { display: flex; align-items: center; min-height: 44px; padding: 4px 0; }
.nav-logo img { height: 26px; width: auto; }
/* 로고는 항상 원본 비율 유지 (HTML width 속성이 CSS height를 이겨 늘어나는 것 방지) */
.nav-logo img, .foot-brand img { width: auto; max-width: none; }
.nav-links { display: none; }
.nav-burger {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 48px; height: 48px; background: none; border: 0; gap: 5px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴: 전체 오버레이 */
.menu {
  position: fixed; inset: 0; z-index: 990;
  background: var(--navy-deep); color: #fff;
  padding: calc(var(--header-h) + 24px) 24px 32px;
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0.3s;
}
.menu.open { visibility: visible; opacity: 1; }
body.menu-locked { overflow: hidden; }
.menu a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; font-size: 19px; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}
.menu a .no { font-family: var(--en); font-size: 14px; color: rgba(255, 255, 255, 0.4); }
.menu .menu-cta {
  margin-top: auto; justify-content: center;
  background: var(--red); border: 0; border-radius: 14px;
  min-height: 56px; font-weight: 800; color: #fff;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  border-radius: 14px; border: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(232, 0, 30, 0.55); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- 히어로 ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 48px) 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--red-deep); background: var(--red-tint);
  border: 1px solid rgba(232, 0, 30, 0.25);
  padding: 9px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(31px, 7.4vw, 62px);
  line-height: 1.3; letter-spacing: -0.02em;
  margin-bottom: 20px; word-break: keep-all; text-wrap: balance;
}
.hero h1 .u { color: var(--red); }
.hero-sub {
  font-size: 17px; color: var(--ink-soft);
  max-width: 520px; margin-bottom: 30px; word-break: keep-all;
}
.hero-sub strong { color: var(--ink); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
/* 신뢰 지표 스트립 */
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.proof {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 12px; text-align: center;
}
.proof b { display: block; font-family: var(--serif); font-weight: 900; font-size: 16px; line-height: 1.45; color: var(--navy); word-break: keep-all; }
.proof span { font-size: 13px; color: var(--ink-mute); word-break: keep-all; }
.hero-visual { position: relative; max-width: 460px; padding-top: 22px; }
.hero-photo {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--sh-lift); position: relative;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 18px 12px; color: #fff; font-size: 13px; letter-spacing: 0.05em;
  background: linear-gradient(transparent, rgba(15, 28, 54, 0.8));
}
.hero-seal {
  position: absolute; right: 8px; top: 0; width: 92px; height: 92px;
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 마퀴 ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; overflow: hidden; padding: 14px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee span { font-family: var(--en); font-size: 19px; letter-spacing: 0.05em; color: var(--ink-soft); padding-right: 48px; }
.marquee em { font-style: normal; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 섹션 공통 ---------- */
section { padding: 72px 0; position: relative; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em;
  color: var(--red-deep); text-transform: uppercase; margin-bottom: 14px;
}
.sec-tag::before { content: ""; width: 24px; height: 2px; background: var(--red); }
.sec-head h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(25px, 5.4vw, 42px);
  line-height: 1.4; letter-spacing: -0.02em; word-break: keep-all; text-wrap: balance;
}
.sec-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; word-break: keep-all; }
.sec-head .red { color: var(--red); }

html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .rv.on { opacity: 1; transform: none; }
html.js .rv-d1.on { transition-delay: 0.08s; } html.js .rv-d2.on { transition-delay: 0.16s; }

/* ---------- 문제 제기 ---------- */
.problem { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); }
.problem .sec-tag { color: #ff8a97; }
.problem .sec-tag::before { background: #ff8a97; }
.problem .sec-head h2 { color: #fff; }
.problem .sec-head p { color: rgba(255, 255, 255, 0.6); }
.problem-list { display: grid; gap: 12px; }
.problem-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px; padding: 20px;
}
.problem-item svg { width: 24px; height: 24px; color: #ff8a97; flex-shrink: 0; margin-top: 2px; }
.problem-item b { color: #fff; display: block; margin-bottom: 2px; }
.problem-item p { font-size: 14.5px; color: rgba(255, 255, 255, 0.6); word-break: keep-all; }
.problem-answer {
  margin-top: 28px; text-align: center;
  font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 4.6vw, 27px);
  color: #fff; line-height: 1.6; word-break: keep-all;
  border: 1.5px dashed rgba(232, 60, 80, 0.6); border-radius: 18px;
  padding: 26px 20px; background: rgba(232, 0, 30, 0.08);
}
.problem-answer .red { color: #ff8a97; }

/* ---------- 약속 ---------- */
.promise-grid { display: grid; gap: 16px; }
.promise-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 24px; position: relative;
  border-top: 3px solid var(--red);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.promise-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.promise-card .num { font-family: var(--en); font-size: 40px; line-height: 1; color: var(--red); opacity: 0.85; margin-bottom: 16px; }
.promise-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; word-break: keep-all; }
.promise-card p { font-size: 15px; color: var(--ink-soft); word-break: keep-all; }
.promise-note {
  margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: var(--navy); color: rgba(255, 255, 255, 0.85);
  border-radius: 18px; padding: 28px 24px; text-align: center;
  font-size: 15.5px; word-break: keep-all;
}
.promise-note strong { color: #fff; }
.stamp-box { width: 88px; height: 88px; flex-shrink: 0; overflow: hidden; border-radius: 50%; }
.stamp {
  width: 100%; height: 100%; border-radius: 50%;
  border: 3px solid var(--red); color: #ff8a97;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 900; font-size: 16px;
  line-height: 1.35; letter-spacing: 0.06em; text-align: center;
  background: rgba(232, 0, 30, 0.1);
  transform: scale(2.2) rotate(-16deg); opacity: 0;
}
.stamp.hit { animation: stamp-hit 0.5s cubic-bezier(0.2, 1.5, 0.35, 1) forwards; }
@keyframes stamp-hit {
  0% { transform: scale(2.2) rotate(-16deg); opacity: 0; }
  60% { transform: scale(0.95) rotate(-6deg); opacity: 1; }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}

/* ---------- 제로요금제 ---------- */
.zerofee { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fee-layout { display: grid; gap: 36px; }
.fee-toggle {
  display: flex; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px; margin-bottom: 24px; position: relative; width: 100%;
}
.fee-toggle button {
  position: relative; z-index: 2; flex: 1; border: 0; background: none;
  font-family: var(--sans); font-size: 15.5px; font-weight: 700;
  min-height: 48px; border-radius: 999px; color: var(--ink-mute);
  transition: color 0.3s;
}
.fee-toggle button.active { color: #fff; }
.fee-toggle .pill {
  position: absolute; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px); border-radius: 999px;
  background: var(--navy); transition: transform 0.35s var(--ease), background 0.35s;
}
.fee-toggle.lose .pill { transform: translateX(100%); background: var(--red); }
.fee-diagram {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 22px; box-shadow: var(--sh-card);
}
.fee-step { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; }
.fee-step + .fee-step { border-top: 1px dashed var(--line); }
.fee-step .ic {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-tint); color: var(--red);
}
.fee-step .ic svg { width: 22px; height: 22px; }
.fee-step h4 { font-size: 16px; font-weight: 700; }
.fee-step p { font-size: 14px; color: var(--ink-mute); word-break: keep-all; }
.fee-result {
  margin-top: 20px; border-radius: 16px; padding: 22px 24px;
  font-family: var(--serif); font-weight: 700; font-size: 18px;
  line-height: 1.55; word-break: keep-all; transition: background 0.35s, color 0.35s;
}
.fee-result.win { background: var(--navy); color: #fff; }
.fee-result.lose { background: var(--red-tint); color: var(--red-deep); border: 1.5px dashed rgba(232, 0, 30, 0.4); }
.fee-result small { display: block; font-family: var(--sans); font-weight: 500; font-size: 13.5px; margin-top: 8px; opacity: 0.8; }
.fee-points { display: grid; gap: 12px; }
.fee-point { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-soft); word-break: keep-all; }
.fee-point svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.fee-point strong { color: var(--ink); }

/* ---------- 변호사 ---------- */
.lawyers { background: var(--bg); }
.lawyers-grid { display: grid; gap: 18px; }
.lawyer-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.lawyer-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lift); border-color: #cdd8e8; }

/* 스튜디오 배경 — 세 인물 모두 동일한 흰 배경 위 컷아웃 */
.lawyer-photo {
  position: relative; height: 300px; overflow: hidden;
  background: #fff;
  display: flex; align-items: flex-end; justify-content: center;
}
/* 인물 뒤 은은한 조명 */
.lawyer-photo::after {
  content: ""; position: absolute; left: 50%; bottom: -14%;
  width: 96%; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 55%, #eaf0f8 0%, #f4f7fb 46%, rgba(255,255,255,0) 72%);
  transition: transform 0.6s var(--ease), opacity 0.45s var(--ease);
}
.lawyer-photo::before {
  content: attr(data-en);
  position: absolute; top: 14px; left: 18px; z-index: 2;
  font-family: var(--en); font-size: 14px; letter-spacing: 0.12em;
  color: rgba(15, 23, 42, 0.42); text-transform: uppercase;
}
.lawyer-photo img {
  position: relative; z-index: 1;
  height: 94%; width: auto; max-width: 100%;
  object-fit: contain; object-position: bottom;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 14px 20px rgba(15, 23, 42, 0.16));
  transition: transform 0.5s var(--ease), filter 0.45s var(--ease);
}
/* hover: 인물이 커지며 앞으로 나오고, 뒤 조명이 함께 번짐 */
.lawyer-card:hover .lawyer-photo img {
  transform: scale(1.07);
  filter: drop-shadow(0 22px 30px rgba(15, 23, 42, 0.24));
}
.lawyer-card:hover .lawyer-photo::after { transform: translateX(-50%) scale(1.1); opacity: 0.85; }
/* 키보드 포커스에도 동일한 피드백 */
.lawyer-card:focus-within { transform: translateY(-8px); box-shadow: var(--sh-lift); }
.lawyer-card:focus-within .lawyer-photo img { transform: scale(1.07); }
.lawyer-body { padding: 24px 22px 26px; }
.lawyer-role { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--red); margin-bottom: 4px; }
.lawyer-body h3 { font-family: var(--serif); font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.lawyer-creds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lawyer-creds span {
  font-size: 13px; color: var(--navy); font-weight: 600;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px;
}
.lawyer-body > p { font-size: 15px; color: var(--ink-soft); word-break: keep-all; margin-bottom: 16px; }
.lawyer-fields { border-top: 1px dashed var(--line); padding-top: 14px; font-size: 14px; color: var(--ink-mute); word-break: keep-all; }
.lawyer-fields b { display: block; color: var(--ink); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 5px; }

/* ---------- 요금표 ---------- */
.pricing { background: #fff; border-top: 1px solid var(--line); }
.price-table-wrap { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.price-table-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 20px 22px; border-bottom: 1px solid var(--line); background: #fff;
}
.price-table-head h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.price-table-head span { font-size: 13.5px; color: var(--ink-mute); }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.price { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
table.price th, table.price td { padding: 15px 22px; text-align: left; font-size: 15px; }
table.price thead th {
  background: var(--bg-soft); font-size: 13px; font-weight: 800;
  letter-spacing: 0.08em; color: #556075; border-bottom: 1px solid var(--line);
}
table.price tbody tr + tr td { border-top: 1px solid var(--line); }
table.price td.amt b { font-family: var(--serif); font-weight: 900; font-size: 17px; color: var(--navy); }
table.price td .nego { color: var(--ink-mute); font-size: 14px; }
.price-notes { padding: 18px 22px 22px; background: #fff; border-top: 1px solid var(--line); }
.price-notes li { font-size: 13.5px; color: var(--ink-mute); display: flex; gap: 8px; word-break: keep-all; }
.price-notes li + li { margin-top: 6px; }
.price-notes li::before { content: "※"; color: var(--red); flex-shrink: 0; }
.price-etc { display: grid; gap: 14px; margin-top: 18px; }
.price-etc-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; display: flex; align-items: center; gap: 16px;
}
.price-etc-card .ic {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.price-etc-card .ic svg { width: 21px; height: 21px; }
.price-etc-card h4 { font-size: 16.5px; font-weight: 700; }
.price-etc-card p { font-size: 14px; color: var(--ink-mute); word-break: keep-all; }

/* ---------- 무송사 ---------- */
.musongsa { background: var(--navy-deep); color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.musongsa::before {
  content: "無訟事";
  position: absolute; right: -2%; top: 3%;
  font-family: var(--serif); font-weight: 900; font-size: min(30vw, 240px);
  color: rgba(255, 255, 255, 0.035); line-height: 1; pointer-events: none;
}
.musongsa .sec-tag { color: #ff8a97; }
.musongsa .sec-tag::before { background: #ff8a97; }
.musongsa .sec-head h2 { color: #fff; }
.musongsa .sec-head p { color: rgba(255, 255, 255, 0.65); }
.mu-big {
  font-family: var(--en); font-size: clamp(56px, 15vw, 110px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 138, 151, 0.7);
  margin-bottom: 6px;
}
.mu-grid { display: grid; gap: 40px; }
.mu-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.mu-type {
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px;
  padding: 16px; font-size: 13.5px; word-break: keep-all;
  background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.6);
}
.mu-type b { display: block; color: #fff; margin-bottom: 3px; font-size: 15px; }
.mu-steps { counter-reset: step; }
.mu-step {
  counter-increment: step;
  display: flex; gap: 18px; padding: 16px 0; align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mu-step::before {
  content: "0" counter(step);
  font-family: var(--en); font-size: 20px; color: #ff8a97;
  flex-shrink: 0; width: 34px;
}
.mu-step h4 { color: #fff; font-size: 16px; font-weight: 700; }
.mu-step p { font-size: 14px; color: rgba(255, 255, 255, 0.55); word-break: keep-all; }
.mu-fee { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.mu-fee-chip {
  border-radius: 999px; padding: 11px 18px; font-size: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18);
}
.mu-fee-chip b { color: #ff8a97; }

/* ---------- 상담 신청 (재설계) ---------- */
.consult { background: var(--bg); }
/* 1단계: 무료 카톡 문의 히어로 카드 */
.consult-main {
  background: var(--navy); color: rgba(255, 255, 255, 0.85);
  border-radius: 22px; padding: 32px 24px;
  position: relative; overflow: hidden; margin-bottom: 20px;
}
.consult-main::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 0, 30, 0.25), transparent 70%);
}
.consult-main .step-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: #ffd43b;
  margin-bottom: 12px;
}
.consult-main h3 { font-family: var(--serif); font-size: clamp(21px, 5vw, 27px); font-weight: 900; color: #fff; line-height: 1.45; margin-bottom: 8px; word-break: keep-all; }
.consult-main > p { font-size: 15px; color: rgba(255, 255, 255, 0.65); margin-bottom: 20px; word-break: keep-all; }
.consult-check { display: grid; gap: 8px; margin-bottom: 24px; }
.consult-check li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; word-break: keep-all; }
.consult-check svg { width: 20px; height: 20px; color: #ffd43b; flex-shrink: 0; margin-top: 2px; }
.consult-check b { color: #fff; }
.btn-kakao {
  background: #fee500; color: #191919; font-weight: 800;
  min-height: 56px; width: 100%;
}
.btn-kakao:hover { background: #ffd900; transform: translateY(-2px); }
.btn-kakao svg { width: 22px; height: 22px; }
/* 2단계: 유료 심층 상담 */
.consult-sub { display: grid; gap: 14px; }
.consult-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.consult-card:hover { transform: translateY(-5px); box-shadow: var(--sh-card); border-color: rgba(232, 0, 30, 0.3); }
.consult-card .top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.consult-card .ic {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: var(--red-tint); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.consult-card .ic svg { width: 22px; height: 22px; }
.consult-card h4 { font-family: var(--serif); font-size: 19px; font-weight: 900; }
.consult-price { font-size: 14px; color: var(--ink-mute); }
.consult-price b { font-family: var(--serif); font-size: 19px; font-weight: 900; color: var(--navy); margin-right: 2px; }
.consult-card ul { margin-bottom: 18px; }
.consult-card li { font-size: 14.5px; color: var(--ink-soft); display: flex; gap: 8px; padding: 3px 0; word-break: keep-all; }
.consult-card li::before { content: "·"; color: var(--red); font-weight: 900; }
.consult-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 13px; font-size: 15px; font-weight: 700;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.consult-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 오시는 길 */
.consult-info {
  margin-top: 20px; display: grid; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 22px; font-size: 15px; color: var(--ink-soft);
}
.consult-info .item { display: flex; align-items: flex-start; gap: 10px; word-break: keep-all; }
.consult-info .item a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.consult-info svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.consult-info b { color: var(--ink); }

/* ---------- 오시는 길 ---------- */
.directions { background: #fff; border-top: 1px solid var(--line); }
.dir-grid { display: grid; gap: 22px; }

/* 약도 */
.dir-map {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; position: relative; overflow: hidden;
}
.dir-map svg { width: 100%; height: auto; display: block; }
.dir-map .legend {
  margin-top: 14px; font-size: 13px; color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px;
}
.dir-map .legend .pin { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* 정보 패널 */
.dir-panel { display: grid; gap: 14px; align-content: start; }
.dir-block {
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.dir-block h3 {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--ink); margin-bottom: 14px;
}
.dir-block h3 svg { width: 19px; height: 19px; color: var(--red); flex-shrink: 0; }
.dir-addr { font-size: 17px; font-weight: 700; line-height: 1.55; word-break: keep-all; margin-bottom: 4px; }
.dir-addr-sub { font-size: 14px; color: var(--ink-mute); margin-bottom: 16px; }
.dir-copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-family: var(--sans); font-size: 14.5px; font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dir-copy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.dir-copy svg { width: 17px; height: 17px; }
.dir-copy.done { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 지하철 */
.subway { display: grid; gap: 10px; }
.subway-row {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 13px 15px;
}
.lines { display: flex; gap: 4px; flex-shrink: 0; }
.line {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;
}
.line-2 { background: #00a84d; } .line-3 { background: #ef7c1c; }
.line-4 { background: #00a5de; } .line-5 { background: #996cac; }
.subway-row .st { flex: 1; font-size: 15px; font-weight: 700; }
.subway-row .walk {
  font-size: 13.5px; color: var(--ink-mute); font-weight: 600;
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
}
.subway-row .walk svg { width: 15px; height: 15px; }

/* 안내 항목 */
.dir-facts { display: grid; gap: 12px; }
.dir-fact { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); word-break: keep-all; }
.dir-fact svg { width: 19px; height: 19px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.dir-fact b { color: var(--ink); }

/* 지도앱 바로가기 */
.map-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.map-app {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px; font-size: 14.5px; font-weight: 700;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.map-app:hover { border-color: var(--navy); transform: translateY(-2px); }
.map-app .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.map-app.kakao .dot { background: #fee500; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.map-app.naver .dot { background: #03c75a; }

/* ---------- 파이널 CTA ---------- */
.final { background: linear-gradient(160deg, var(--red) 0%, #a50016 90%); color: #fff; text-align: center; overflow: hidden; }
.final::before {
  content: "Ø"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--en); font-size: min(70vw, 480px); line-height: 1;
  color: rgba(255, 255, 255, 0.07); pointer-events: none;
}
.final h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(26px, 6vw, 48px); line-height: 1.45;
  margin-bottom: 14px; word-break: keep-all; position: relative; text-wrap: balance;
}
.final p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; word-break: keep-all; position: relative; }
.final-actions { display: flex; flex-direction: column; gap: 12px; position: relative; max-width: 420px; margin: 0 auto; }
.btn-white { background: #fff; color: var(--red-deep); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.4); }
.btn-white:hover { transform: translateY(-2px); }
.btn-line { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; }

/* ---------- 푸터 ---------- */
footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.6); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; gap: 32px; margin-bottom: 36px; }
.foot-brand img { height: 24px; width: auto; margin-bottom: 16px; }
.foot-brand p { max-width: 380px; word-break: keep-all; line-height: 1.8; }
.foot-col b { display: block; color: #fff; font-size: 14px; margin-bottom: 8px; letter-spacing: 0.04em; }
.foot-col a, .foot-col span { display: flex; align-items: center; min-height: 44px; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-col span { line-height: 1.6; }
.foot-notice {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 26px;
  font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.5); word-break: keep-all;
}
.foot-notice b { color: rgba(255, 255, 255, 0.75); }
.foot-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: rgba(255, 255, 255, 0.58);
}

/* ---------- 모바일 하단 고정 CTA 바 ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: flex; gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.stickybar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 13px; font-size: 15px; font-weight: 800;
}
.stickybar .sb-tel { background: var(--navy); color: #fff; }
.stickybar .sb-kakao { background: #fee500; color: #191919; }
.stickybar svg { width: 19px; height: 19px; }

/* ============================================================
   태블릿 이상 (768px+)
   ============================================================ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .stickybar { display: none; }
  .wrap { padding: 0 28px; }
  section { padding: 96px 0; }
  .hero { padding: calc(var(--header-h) + 70px) 0 80px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .promise-grid { grid-template-columns: repeat(3, 1fr); }
  .promise-note { flex-direction: row; text-align: left; }
  .problem-list { grid-template-columns: repeat(3, 1fr); }
  .consult-sub { grid-template-columns: 1fr 1fr; }
  .consult-main { padding: 44px 40px; }
  .consult-info { grid-template-columns: 1fr 1fr 1fr; }
  .price-etc { grid-template-columns: 1fr 1fr; }
  .final-actions { flex-direction: row; justify-content: center; max-width: none; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-legal { flex-direction: row; justify-content: space-between; }
  .mu-grid { grid-template-columns: 1fr 1fr; }
  .lawyers-grid { grid-template-columns: repeat(3, 1fr); }
  .lawyer-photo { height: 280px; }
  .dir-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ============================================================
   데스크톱 (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .nav-burger { display: none; }
  .menu { display: none; }
  .nav-links { display: flex; gap: 8px; align-items: center; }
  .nav-links a {
    display: inline-flex; align-items: center;
    min-height: 44px; padding: 0 14px;
    font-size: 15px; font-weight: 600; color: var(--ink-soft);
    border-radius: 10px; transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
  .nav-links .nav-cta {
    margin-left: 10px; background: var(--red); color: #fff; font-weight: 700;
    padding: 0 20px; border-radius: 999px;
  }
  .nav-links .nav-cta:hover { background: var(--red-deep); color: #fff; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
  .hero-visual { justify-self: end; width: 100%; padding-top: 34px; }
  .hero-photo { aspect-ratio: 0.95; border-radius: 200px 200px 22px 22px; }
  .hero-seal { right: -18px; top: 6px; width: 108px; height: 108px; }
  .fee-layout { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .fee-diagram { padding: 36px 34px; }
  .lawyer-photo { height: 320px; }
  .consult-main { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 48px; }
  .consult-main .cta-side { display: flex; flex-direction: column; gap: 12px; }
  .dir-grid { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
  .dir-map { padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }
  .lawyer-photo { height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; }
  .stamp { opacity: 1; transform: rotate(-8deg); }
}

/* ---------- 무송사 상세 (전체 원문) ---------- */
.mu-q { margin-top: 44px; }
.mu-q > h3 {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serif); font-size: clamp(19px, 3.4vw, 25px); font-weight: 700;
  color: #fff; margin-bottom: 20px; word-break: keep-all;
}
.mu-q > h3::before { content: "Q."; color: #ff8a97; font-family: var(--en); font-size: 0.9em; flex-shrink: 0; }
.mu-lede {
  font-size: 16px; color: rgba(255,255,255,0.72); word-break: keep-all;
  padding: 20px 22px; border-radius: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
}
.mu-lede b { color: #fff; }
.mu-lede .hl { color: #ff8a97; font-weight: 700; }

/* 소송 vs 무송사 비교 */
.mu-vs { display: grid; gap: 14px; }
.mu-vs-col { border-radius: 18px; padding: 24px 22px; }
.mu-vs-col.court { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); }
.mu-vs-col.ours { background: rgba(255,138,151,0.08); border: 1px solid rgba(255,138,151,0.34); }
.mu-vs-col h4 {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-size: 17px; font-weight: 700; margin-bottom: 16px;
}
.mu-vs-col.court h4 { color: rgba(255,255,255,0.62); }
.mu-vs-col.ours h4 { color: #ff8a97; }
.mu-vs-col h4 svg { width: 19px; height: 19px; flex-shrink: 0; }
.mu-vs-col li {
  display: flex; gap: 10px; font-size: 14.5px; padding: 7px 0;
  color: rgba(255,255,255,0.6); word-break: keep-all;
}
.mu-vs-col.ours li { color: rgba(255,255,255,0.82); }
.mu-vs-col li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 9px; background: currentColor; opacity: 0.5; }

/* 요금 등급 */
.mu-tier { display: grid; gap: 14px; }
.mu-tier-box {
  border-radius: 18px; padding: 22px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
}
.mu-tier-box > b {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: #ff8a97; margin-bottom: 14px;
}
.mu-role {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 0; flex-wrap: wrap;
}
.mu-role + .mu-role { border-top: 1px dashed rgba(255,255,255,0.12); }
.mu-role .who { font-size: 15.5px; font-weight: 700; color: #fff; }
.mu-role .who small { display: block; font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,0.5); margin-top: 2px; word-break: keep-all; }
.mu-role .rate { font-family: var(--en); font-size: 19px; color: #ff8a97; white-space: nowrap; }
.mu-bonus { display: grid; gap: 8px; margin-top: 14px; }
.mu-bonus-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 15px; border-radius: 12px; font-size: 14.5px;
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.75);
}
.mu-bonus-row b { font-family: var(--en); font-size: 17px; color: #ff8a97; }
.mu-fine {
  margin-top: 16px; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.5);
  display: flex; gap: 8px; word-break: keep-all;
}
.mu-fine::before { content: "※"; color: #ff8a97; flex-shrink: 0; }

@media (min-width: 768px) {
  .mu-vs { grid-template-columns: 1fr 1fr; }
  .mu-tier { grid-template-columns: 1fr 1fr; align-items: start; }
}
