/* ==========================================================================
   곁 법률·노무 — DREXLY 템플릿
   00-디자인보드.png 의 색·활자·UI 상태 + 02-페이지시안.png 의 면별 조판을 옮겼다.
   레이아웃 원형: Progressive Disclosure + Decision Tree + Split
   ========================================================================== */

:root {
  /* 색 — 디자인보드 「컬러 시스템」 */
  --navy: #0f182e;          /* Ink Navy */
  --navy-soft: #27354a;     /* 시안의 푸터·활성 레일 */
  --ink: #1f2328;           /* Warm Gray 900 */
  --gray: #6b7280;          /* Warm Gray */
  --gray-2: #8b9199;
  --line: #e5e7eb;          /* Warm Gray 200 */
  --line-soft: #eeeeec;
  --bg: #f7f7f6;            /* Warm Gray 50 */
  --bg-2: #f1f1ef;
  --surface: #ffffff;

  /* 브라스 — 스와치 #BA9A59 를 용도별로 나눈다(작은 글자는 AA 대비 확보) */
  --brass: #a9884e;
  --brass-deep: #8b6e2e;
  --brass-press: #6f5722;
  --brass-tint: #f3eee2;
  --brass-line: #e3d7be;

  /* 상태색 — 디자인보드 「UI STATES」 */
  --ok: #2e7d5b;
  --ok-bg: #eef6f1;
  --warn: #a06a12;
  --warn-bg: #fdf5e6;
  --err: #c0392b;
  --err-bg: #fdeeec;
  --info: #2c5fa8;
  --info-bg: #eef3fb;

  /* 활자 — 디자인보드 「타이포그래피」 */
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  /* 8px 간격 체계 */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 56px; --s7: 72px; --s8: 96px;

  --wrap: 1180px;
  --gutter: 24px;
  --section: 96px;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 24, 46, 0.05);
  --shadow: 0 2px 6px rgba(15, 24, 46, 0.05), 0 14px 32px rgba(15, 24, 46, 0.06);
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);

  --z-header: 60;
  --z-scrim: 80;
  --z-drawer: 90;
  --z-tabbar: 70;
  --z-toast: 120;
}

*, *::before, *::after { box-sizing: border-box; }

/* display 를 지정한 요소도 hidden 이면 반드시 사라지게 한다(탭 필터·아코디언 패널) */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  /* 한국어는 어절 단위로 끊는다 — 「노무」·「3개월」이 갈라지지 않게 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--serif); }
h3, h4 { font-family: var(--sans); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--info);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: var(--r);
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 18px; height: 18px; stroke-width: 1.7; }
.ico-lg { width: 34px; height: 34px; stroke-width: 1.3; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-tight { padding: var(--s7) 0; }
.bg-soft { background: var(--bg); }
.bg-tint { background: var(--brass-tint); }

/* --------------------------------------------------------------- 활자 층 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-deep);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--brass);
}
.sec-head { margin-bottom: var(--s5); max-width: 700px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-title {
  font-size: clamp(24px, 1.1vw + 20px, 30px);
  line-height: 1.45;
  margin-top: 14px;
}
.sec-lead {
  margin-top: 14px; color: var(--gray); font-size: 16px;
}
.text-sm { font-size: 14px; line-height: 1.7; }
.text-cap { font-size: 12.5px; line-height: 1.5; color: var(--gray-2); }
.serif { font-family: var(--serif); }

/* --------------------------------------------------------------- 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700; line-height: 1.4;
  cursor: pointer; background: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brass-deep); color: #fff; }
.btn-primary:hover { background: var(--brass-press); }
.btn-primary:active { background: var(--navy); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-deep); }
.btn-outline { border-color: var(--brass-line); color: var(--brass-deep); background: transparent; }
.btn-outline:hover { background: var(--brass-tint); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); }
.btn-on-dark { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled {
  background: var(--line); color: var(--gray-2); border-color: transparent;
  cursor: not-allowed; transform: none;
}
.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--brass-deep);
  min-height: 44px;
}
.btn-text:hover { color: var(--brass-press); }
.btn-text .ico { transition: transform 0.25s var(--ease); }
.btn-text:hover .ico { transform: translateX(3px); }

.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- 헤더 */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav {
  display: flex; align-items: center; gap: var(--s4);
  height: 76px;
}
.brand { display: flex; align-items: baseline; gap: 9px; flex: none; }
.brand b {
  font-family: var(--serif); font-size: 27px; font-weight: 700;
  line-height: 1; letter-spacing: -0.03em;
}
.brand span {
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink);
}
.navlinks { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.navlinks a {
  position: relative; font-size: 15px; font-weight: 600; padding: 6px 0;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.navlinks a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.navlinks a:hover { color: var(--brass-deep); }
.navlinks a:hover::after, .navlinks a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-tel {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; color: var(--ink);
}
.nav-tel:hover { color: var(--brass-deep); }
.menu-btn {
  display: none; width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer;
}

/* 홈은 잉크 네이비 히어로와 이어지는 어두운 헤더(디자인보드 홈 면) */
.p-home .site-header {
  background: var(--navy); border-bottom-color: rgba(255, 255, 255, 0.12);
}
.p-home .site-header .brand,
.p-home .site-header .brand span,
.p-home .navlinks a,
.p-home .nav-tel { color: #fff; }
.p-home .navlinks a:hover, .p-home .nav-tel:hover { color: var(--brass); }
.p-home .menu-btn { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.p-home .site-header.is-stuck { background: rgba(15, 24, 46, 0.97); }
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------- 서랍 */
.scrim {
  position: fixed; inset: 0; z-index: var(--z-scrim);
  background: rgba(15, 24, 46, 0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: var(--z-drawer);
  width: min(340px, 88vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 20px 22px 40px;
  transform: translateX(101%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.drawer-close {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  padding: 16px 2px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer nav a[aria-current="page"] { color: var(--brass-deep); }
.drawer-foot { margin-top: var(--s3); display: grid; gap: 10px; }
.drawer-foot .btn { justify-content: flex-start; }
.drawer-note { margin-top: 18px; font-size: 12.5px; color: var(--gray-2); line-height: 1.6; }

/* --------------------------------------------------------------- 모바일 탭바 */
.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-tabbar);
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.tabbar a {
  min-height: 58px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: 11.5px; font-weight: 700; color: var(--gray);
}
.tabbar a[aria-current="page"] { color: var(--brass-deep); }
.tabbar a[aria-current="page"] .ico { color: var(--brass-deep); }

/* --------------------------------------------------------------- 홈 히어로 */
.hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s6);
  align-items: center;
  min-height: 560px; padding-top: var(--s7); padding-bottom: var(--s7);
}
.hero-copy { max-width: 560px; }
.hero-copy .eyebrow { color: var(--brass); }
.hero-copy .eyebrow::before { background: var(--brass); }
.hero h1 {
  font-size: clamp(30px, 2.3vw + 18px, 44px);
  line-height: 1.34; margin: 20px 0 22px;
}
.hero-lead { color: rgba(255, 255, 255, 0.78); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.hero-marks {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--s5);
  padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px; color: rgba(255, 255, 255, 0.72);
}
.hero-marks li { display: flex; align-items: center; gap: 7px; }
.hero-marks .ico { color: var(--brass); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: var(--r); filter: saturate(0.94);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r);
  background: linear-gradient(100deg, rgba(15, 24, 46, 0.72) 0%, rgba(15, 24, 46, 0.05) 46%);
}

/* --------------------------------------------------------------- 안쪽 면 히어로 */
.hero-sub { background: var(--bg); border-bottom: 1px solid var(--line); }
.hero-sub .wrap {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s6);
  align-items: center; padding-top: var(--s6); padding-bottom: var(--s6);
}
.crumb {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: var(--gray-2);
  letter-spacing: 0.06em;
}
.crumb a:hover { color: var(--brass-deep); }
.crumb .ico { width: 13px; height: 13px; }
.hero-sub h1 {
  font-size: clamp(26px, 1.8vw + 18px, 36px);
  line-height: 1.4; margin: 18px 0 16px;
}
.hero-sub .hero-lead { color: var(--gray); font-size: 16px; max-width: 520px; }
.hero-figure { flex: none; }
.hero-figure img {
  width: 330px; height: 250px; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--line);
}
.hero-mark {
  display: grid; place-items: center; gap: 6px;
  width: 330px; height: 190px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.hero-mark b { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--navy); }
.hero-mark span { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--gray); }

/* --------------------------------------------------------------- 홈 · 갈래 선택 */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.choice-card {
  display: block; position: relative;
  padding: var(--s5) var(--s4) var(--s4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}
.choice-card:hover {
  border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow);
}
.choice-card .ico-lg { color: var(--brass); }
.choice-card h3 { font-size: 20px; margin: var(--s3) 0 10px; }
.choice-card p { color: var(--gray); font-size: 15px; }
.choice-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--s3); font-size: 14px; font-weight: 700; color: var(--brass-deep);
}
.choice-card:hover .choice-more .ico { transform: translateX(4px); }
.choice-more .ico { transition: transform 0.25s var(--ease); }

/* --------------------------------------------------------------- 홈 · 약속 3 */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.promise.four { grid-template-columns: repeat(4, 1fr); }
.promise li {
  padding: var(--s4); background: var(--brass-tint); border-radius: var(--r);
  border: 1px solid var(--brass-line);
}
.promise .ico-lg { color: var(--brass-deep); }
.promise h3 { font-size: 18px; margin: 18px 0 8px; }
.promise p { font-size: 14.5px; color: var(--gray); line-height: 1.7; }

/* --------------------------------------------------------------- 홈 · 상황 띠 */
.band-dark { background: var(--navy); color: #fff; }
.band-dark .sec-title { color: #fff; }
.band-dark .sec-lead { color: rgba(255, 255, 255, 0.7); }
.band-dark .eyebrow { color: var(--brass); }
.band-dark .eyebrow::before { background: var(--brass); }
.situations { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.situations a {
  display: flex; flex-direction: column; gap: 14px;
  min-height: 168px; padding: var(--s3) 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r);
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.situations a:hover { background: rgba(169, 136, 78, 0.18); border-color: var(--brass); }
.situations .ico { color: var(--brass); }
.situations b { font-size: 15.5px; line-height: 1.55; font-weight: 700; }
.situations span {
  margin-top: auto; font-size: 12.5px; color: rgba(255, 255, 255, 0.6);
  display: inline-flex; align-items: center; gap: 5px;
}

/* --------------------------------------------------------------- 홈 · 의뢰인의 말 */
.voices { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s6); align-items: center; }
.voice-stage { position: relative; min-height: 232px; }
.voice {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.voice.on { opacity: 1; visibility: visible; position: relative; }
.voice blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(19px, 0.9vw + 15px, 23px);
  line-height: 1.75; color: var(--ink);
}
.voice blockquote::before {
  content: "“"; display: block; font-size: 46px; line-height: 0.8;
  color: var(--brass); margin-bottom: 12px;
}
.voice cite {
  display: block; margin-top: 20px; font-style: normal;
  font-size: 13.5px; color: var(--gray);
}
.voice-nav { display: flex; align-items: center; gap: 14px; margin-top: var(--s3); }
.voice-count { font-size: 13px; font-weight: 700; color: var(--gray); letter-spacing: 0.08em; }
.voice-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  cursor: pointer; transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.voice-btn:hover { border-color: var(--brass); color: var(--brass-deep); }
.voice-prev .ico { transform: rotate(180deg); }

/* --------------------------------------------------------------- CTA 띠 */
.cta-band { background: var(--brass-tint); }
.cta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s4); padding-top: var(--s6); padding-bottom: var(--s6);
}
.cta-band h2 { font-size: clamp(22px, 1vw + 18px, 28px); line-height: 1.5; }
.cta-band p { margin-top: 12px; color: var(--gray); }
.cta-dark { background: var(--navy); color: #fff; }
.cta-dark .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s4); padding-top: var(--s6); padding-bottom: var(--s6);
}
.cta-dark h2 { font-size: clamp(21px, 0.9vw + 17px, 26px); line-height: 1.55; }
.cta-dark p { margin-top: 10px; color: rgba(255, 255, 255, 0.72); font-size: 15px; }

/* --------------------------------------------------------------- 전화 안내 띠 */
.callbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
}
.callbar h3 { font-size: 17px; }
.callbar p { font-size: 13.5px; color: var(--gray); margin-top: 4px; }
.callbar-tel {
  display: flex; align-items: center; gap: 9px; margin-left: auto;
  font-size: 21px; font-weight: 700; font-family: var(--sans); letter-spacing: -0.02em;
}
.callbar-tel .ico { color: var(--brass-deep); }
.callbar-hours { font-size: 12.5px; color: var(--gray-2); }

/* --------------------------------------------------------------- 자가진단 */
.step-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--brass-deep);
}
.step-label b { font-family: var(--sans); }
.step-label i {
  font-style: normal; font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink); font-family: var(--serif);
}
.cats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: var(--s3);
}
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  min-height: 128px; padding: 22px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14.5px; font-weight: 700; text-align: center; cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.cat .ico-lg { color: var(--gray); transition: color 0.25s var(--ease); }
.cat:hover { border-color: var(--brass); }
.cat:hover .ico-lg { color: var(--brass-deep); }
.cat[aria-pressed="true"] {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.cat[aria-pressed="true"] .ico-lg { color: var(--brass); }

.flow-arrow { display: grid; place-items: center; padding: var(--s3) 0; color: var(--brass); }

.flow {
  scroll-margin-top: 92px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.flow-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 20px var(--s4); border-bottom: 1px solid var(--line);
}
.flow-head .step-label { flex: 1 1 auto; }
.flow-body { padding: var(--s5) var(--s4); }

.progress { display: flex; align-items: center; gap: 12px; }
.progress-track {
  width: 148px; height: 5px; border-radius: 99px; background: var(--line);
  overflow: hidden;
}
.progress-fill {
  display: block; height: 100%; width: 20%; border-radius: 99px;
  background: var(--brass-deep);
  transition: width 0.45s var(--ease);
}
.progress-text { font-size: 13px; font-weight: 700; color: var(--gray); }
.progress-text b { color: var(--brass-deep); }

.q-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 99px;
  background: var(--brass-tint); border: 1px solid var(--brass-line);
  font-size: 13px; font-weight: 700; color: var(--brass-deep);
}
.q-title {
  font-family: var(--serif); font-size: clamp(20px, 1vw + 16px, 25px);
  line-height: 1.55; margin: 18px 0 10px;
}
.q-help { color: var(--gray); font-size: 14.5px; margin-bottom: var(--s3); }
.q-options { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%;
  min-height: 62px; padding: 14px 18px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
    transform 0.22s var(--ease);
}
.opt:hover { border-color: var(--brass); background: var(--brass-tint); }
.opt:active { transform: translateY(1px); }
.opt-mark {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  border: 2px solid var(--line); display: grid; place-items: center;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.opt:hover .opt-mark { border-color: var(--brass); }
.opt-mark .ico { width: 12px; height: 12px; color: #fff; opacity: 0; stroke-width: 3; }
.opt b { font-size: 15.5px; font-weight: 700; display: block; }
.opt small { display: block; font-size: 13px; color: var(--gray); line-height: 1.6; }
.opt-arrow { margin-left: auto; color: var(--gray-2); }
.opt:hover .opt-arrow { color: var(--brass-deep); }

.q-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line-soft);
}
.q-foot .spacer { margin-left: auto; }

.answers { display: flex; flex-wrap: wrap; gap: 8px; }
.answers li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 8px 6px 14px; border-radius: 99px;
  background: var(--bg); border: 1px solid var(--line); font-size: 12.5px;
}
.answers b { font-weight: 700; }
.answers span { color: var(--gray); }
.answers button {
  min-height: 44px; padding: 0 14px; border-radius: 99px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--brass-deep);
}
.answers button:hover { border-color: var(--brass); background: var(--brass-tint); }

.flow-empty { display: grid; gap: 10px; justify-items: center; text-align: center; padding: var(--s5) 0; }
.flow-empty .ico-lg { color: var(--line); }
.flow-empty p { color: var(--gray); font-size: 15px; }

/* 진단 결과 */
.result { display: grid; gap: var(--s3); }
.result-top {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s4);
  align-items: center;
  padding: var(--s4); border-radius: var(--r);
  background: var(--brass-tint); border: 1px solid var(--brass-line);
}
.result-top .eyebrow { color: var(--brass-deep); }
.result-top h3 { font-family: var(--serif); font-size: clamp(20px, 1vw + 16px, 25px); margin: 12px 0 10px; line-height: 1.5; }
.result-top p { color: var(--gray); font-size: 15px; }
.result-scale { color: var(--brass); }
.result-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s3); align-items: start; }
.panel-box {
  padding: var(--s4); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
}
.panel-box h4 {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; margin-bottom: 6px;
}
.panel-box h4 .ico { color: var(--brass-deep); }
.panel-note { font-size: 13px; color: var(--gray-2); margin-bottom: 18px; }
.checklist { display: grid; gap: 4px; }
.checklist label {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 9px 8px; border-radius: var(--r-sm); cursor: pointer;
  font-size: 14.5px; line-height: 1.65;
  transition: background-color 0.2s var(--ease);
}
.checklist label:hover { background: var(--bg); }
.checklist input {
  width: 20px; height: 20px; margin: 4px 0 0; flex: none;
  accent-color: var(--brass-deep); cursor: pointer;
}
.checklist input:checked + span { color: var(--gray); text-decoration: line-through; }
.check-count { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--brass-deep); }
.limits { display: grid; gap: 14px; }
.limits li { display: flex; gap: 12px; }
.limits .ico { color: var(--warn); margin-top: 3px; }
.limits b { display: block; font-size: 14.5px; }
.limits p { font-size: 13.5px; color: var(--gray); line-height: 1.65; }
.match { display: flex; gap: 16px; align-items: center; }
.match img {
  width: 88px; height: 112px; object-fit: cover;
  border-radius: var(--r-sm); border: 1px solid var(--line); flex: none;
}
.match b { display: block; font-size: 16px; }
.match b span { font-size: 13px; font-weight: 600; color: var(--gray); margin-left: 6px; }
.match p { font-size: 13.5px; color: var(--gray); margin-top: 6px; line-height: 1.6; }
.notice {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r);
  background: var(--info-bg); border: 1px solid #d7e2f3;
  font-size: 13.5px; line-height: 1.7; color: #2b4a75;
}
.notice .ico { color: var(--info); flex: none; margin-top: 2px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- 업무분야 */
.areas { display: grid; grid-template-columns: 260px 1fr; gap: var(--s5); align-items: start; }
.rail { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rail button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 58px; padding: 14px 18px; text-align: left;
  background: var(--surface); border: 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}
.rail button:last-child { border-bottom: 0; }
.rail button:hover { background: var(--bg); color: var(--brass-deep); }
.rail button .ico { opacity: 0; }
.rail button[aria-selected="true"] {
  background: var(--navy); color: #fff; font-weight: 700;
}
.rail button[aria-selected="true"] .ico { opacity: 1; color: var(--brass); }

.area-panel > h2 { scroll-margin-top: 110px; font-family: var(--serif); font-size: clamp(24px, 1.3vw + 18px, 31px); line-height: 1.4; }
.area-lead { margin-top: 14px; color: var(--gray); font-size: 15.5px; }
.area-quad {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: var(--s4); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.area-quad li {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 12px; text-align: center;
  border-right: 1px solid var(--line-soft); font-size: 13.5px; font-weight: 700;
}
.area-quad li:last-child { border-right: 0; }
.area-quad .ico-lg { color: var(--gray); }
.area-quad li:first-child .ico-lg { color: var(--brass); }
.area-sub { margin-top: var(--s5); }
.area-sub h3 { font-size: 19px; margin-bottom: 18px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; font-size: 15px; line-height: 1.7; }
.ticks .ico { color: var(--brass-deep); flex: none; margin-top: 4px; }
.docs-box {
  padding: var(--s4); background: var(--bg); border-radius: var(--r);
  border: 1px solid var(--line);
}
.docs-box h3 { display: flex; align-items: center; gap: 9px; }
.docs-box h3 .ico { color: var(--brass-deep); }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.docs li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.65; }
.docs li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); flex: none; margin-top: 11px;
}

/* 사건 타임라인 */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.timeline::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 19px; height: 1px;
  background: var(--brass-line);
}
.timeline li { position: relative; text-align: center; }
.timeline em {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--brass);
  font-style: normal; font-size: 12px; font-weight: 700; color: var(--brass-deep);
}
.timeline b { display: block; font-size: 14px; line-height: 1.6; }
.timeline p { font-size: 12.5px; color: var(--gray); margin-top: 6px; line-height: 1.6; }

/* 아코디언 */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 66px; padding: 18px 20px; text-align: left;
  background: none; border: 0; cursor: pointer;
}
.acc-trigger b { font-size: 15.5px; font-weight: 700; }
.acc-trigger .ico { color: var(--brass-deep); transition: transform 0.3s var(--ease); flex: none; }
.acc-item.open .acc-trigger .ico { transform: rotate(180deg); }
.acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-body { padding: 0 20px 20px; color: var(--gray); font-size: 14.5px; line-height: 1.8; }
.acc-body dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 14px; margin: 0 0 14px; }
.acc-body dt { font-weight: 700; color: var(--ink); font-size: 13.5px; }
.acc-body dd { margin: 0; font-size: 14px; }
.case-note { font-size: 12.5px; color: var(--gray-2); border-top: 1px dashed var(--line); padding-top: 12px; }

/* --------------------------------------------------------------- 전문가 */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: var(--s5); }
.tab {
  min-height: 52px; padding: 12px 26px; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--gray);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.tab:hover { color: var(--brass-deep); background: var(--bg); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }

.people { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); }
.person {
  display: grid; grid-template-columns: 176px 1fr auto; gap: var(--s4);
  padding: var(--s4); border-bottom: 1px solid var(--line-soft);
}
.person:last-child { border-bottom: 0; }
.person img {
  width: 176px; height: 224px; object-fit: cover;
  border-radius: var(--r-sm); background: var(--bg-2);
}
.person-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.person-name h3 { font-family: var(--serif); font-size: 22px; }
.person-name span { font-size: 14px; color: var(--gray); font-weight: 600; }
.badge {
  padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700;
  background: var(--brass-tint); color: var(--brass-deep); border: 1px solid var(--brass-line);
}
.career { display: grid; gap: 6px; margin: 18px 0 20px; }
.career li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink); line-height: 1.65; }
.career li::before { content: "·"; color: var(--brass); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tags-label { font-size: 13px; font-weight: 700; color: var(--gray); margin-right: 4px; }
.tag {
  padding: 5px 12px; border-radius: var(--r-sm); background: var(--bg);
  border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.person-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; justify-content: flex-end; }
.icon-link {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--brass-deep);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.icon-link:hover { border-color: var(--brass); background: var(--brass-tint); }
.person-links { display: flex; gap: 8px; }

.empty {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: var(--s8) var(--s4); border: 1px dashed var(--line); border-radius: var(--r);
  background: var(--bg);
}
.empty .ico-lg { color: var(--line); }
.empty h3 { font-size: 18px; }
.empty p { color: var(--gray); font-size: 14.5px; max-width: 420px; }

.verify-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: var(--s4); padding: 20px var(--s3);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
}
.verify-note .ico { color: var(--brass-deep); flex: none; }
.verify-note p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* --------------------------------------------------------------- 상담 신청 */
.consult { display: grid; grid-template-columns: 1fr 360px; gap: var(--s5); align-items: start; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: var(--s6); }
.steps li { position: relative; text-align: center; }
.steps li::after {
  content: ""; position: absolute; top: 24px; left: 50%; width: 100%; height: 1px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps em {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--line);
  color: var(--gray-2);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.steps b { font-size: 13.5px; font-weight: 600; color: var(--gray); }
.steps li.done em { border-color: var(--brass); color: var(--brass-deep); }
.steps li.done b { color: var(--ink); }
.steps li.on em { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }
.steps li.on b { color: var(--ink); font-weight: 700; }

.form-block { margin-bottom: var(--s6); }
.form-block > h2 { font-size: 21px; font-family: var(--sans); margin-bottom: 6px; }
.form-block > p.text-sm { color: var(--gray); margin-bottom: var(--s3); }

.pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pick .opt-tile { position: relative; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick label {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-height: 104px; padding: 18px 10px; text-align: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14px; font-weight: 700;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
    color 0.22s var(--ease);
}
.pick label small { font-weight: 500; font-size: 12px; color: var(--gray); }
.pick label .ico { color: var(--gray); }
.pick label:hover { border-color: var(--brass); }
.pick input:checked + label {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.pick input:checked + label .ico { color: var(--brass); }
.pick input:checked + label small { color: rgba(255, 255, 255, 0.7); }
.pick input:focus-visible + label { outline: 2px solid var(--info); outline-offset: 2px; }

.field { display: grid; gap: 8px; margin-bottom: var(--s3); }
.field > label { font-size: 14px; font-weight: 700; }
.field .req { color: var(--err); margin-left: 3px; }
.control {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.control::placeholder { color: #b6bac0; }
.control:hover { border-color: #d3d7dd; }
.control:focus {
  outline: none; border-color: var(--info);
  box-shadow: 0 0 0 3px rgba(44, 95, 168, 0.14);
}
textarea.control { min-height: 168px; resize: vertical; line-height: 1.8; }
select.control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field.invalid .control { border-color: var(--err); background: var(--err-bg); }
.field.invalid .control:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14); }
.err {
  display: none; align-items: center; gap: 6px;
  font-size: 13px; color: var(--err);
}
.err .ico { width: 15px; height: 15px; }
.field.invalid .err { display: flex; }
.counter { text-align: right; font-size: 12.5px; color: var(--gray-2); }

.drop {
  display: grid; place-items: center; gap: 8px; text-align: center; width: 100%;
  padding: var(--s5) var(--s3); cursor: pointer;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.drop:hover, .drop.over { border-color: var(--brass); background: var(--brass-tint); }
.drop .ico-lg { color: var(--gray-2); }
.drop b { font-size: 14.5px; }
.drop small { font-size: 12.5px; color: var(--gray-2); }
.files { display: grid; gap: 8px; margin-top: 14px; }
.files li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 16px; font-size: 13.5px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.files .ico { color: var(--brass-deep); flex: none; }
.files span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files em { font-style: normal; color: var(--gray-2); font-size: 12.5px; flex: none; }
.files button {
  margin-left: auto; min-height: 44px; padding: 0 12px; cursor: pointer;
  background: none; border: 0; color: var(--gray); font-size: 12.5px; font-weight: 700;
}
.files button:hover { color: var(--err); }
.file-count { margin-top: 12px; font-size: 13px; color: var(--gray); }
.file-count b { color: var(--brass-deep); }

.agree {
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  padding: 18px 20px; margin-top: var(--s3);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
}
.agree input { width: 22px; height: 22px; accent-color: var(--brass-deep); cursor: pointer; }
.agree label { font-size: 14px; font-weight: 600; cursor: pointer; }
.agree .btn-text { margin-left: auto; }
.form-actions { display: flex; gap: 12px; margin-top: var(--s4); }
.form-actions .btn { flex: 1; }

.aside-card {
  padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); margin-bottom: var(--s3);
}
.aside-card h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; margin-bottom: 16px; }
.aside-card h3 .ico { color: var(--brass-deep); }
.aside-list { display: grid; gap: 12px; }
.aside-list li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; font-size: 13.5px; line-height: 1.6; }
.aside-list dt, .aside-list b { color: var(--gray); font-weight: 600; }
.sum-empty { display: grid; gap: 12px; justify-items: start; }
.sum-empty p { font-size: 13.5px; color: var(--gray); line-height: 1.7; }
.sum-answers { display: grid; gap: 10px; margin-bottom: 16px; }
.sum-answers li { font-size: 13px; line-height: 1.6; padding-left: 14px; position: relative; color: var(--gray); }
.sum-answers li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brass);
}
.sum-answers b { color: var(--ink); }
.sum-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  padding: 6px 12px; border-radius: 99px;
  background: var(--brass-tint); border: 1px solid var(--brass-line);
  font-size: 12.5px; font-weight: 700; color: var(--brass-deep);
}
.aside-steps { display: grid; gap: 14px; }
.aside-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.aside-steps em {
  font-style: normal; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brass-tint); color: var(--brass-deep);
  font-size: 12px; font-weight: 700;
}
.aside-steps b { display: block; font-size: 14px; }
.aside-steps p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.success-card {
  display: none; gap: var(--s3);
  padding: var(--s5) var(--s4); text-align: center; justify-items: center;
  background: var(--ok-bg); border: 1px solid #cfe4d8; border-radius: var(--r);
}
.success-card.on { display: grid; }
.success-card .ico-lg { color: var(--ok); }
.success-card h2 { font-size: 24px; }
.success-card p { color: #35604f; font-size: 15px; }
.success-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  padding: 16px 20px; background: rgba(255, 255, 255, 0.7); border-radius: var(--r);
  font-size: 13.5px;
}
.success-meta b { color: var(--gray); font-weight: 600; margin-right: 6px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------------------------------------------- 푸터 */
.site-footer { background: var(--navy-soft); color: rgba(255, 255, 255, 0.8); }
.site-footer .wrap { padding-top: var(--s7); padding-bottom: var(--s5); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s5); }
.foot-brand .brand b, .foot-brand .brand span { color: #fff; }
.foot-info { display: grid; gap: 8px; margin-top: var(--s3); font-size: 13.5px; line-height: 1.7; }
.foot-info a:hover { color: var(--brass); }
.foot-col h3 {
  font-size: 14px; color: #fff; margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { font-size: 13.5px; }
.foot-col a:hover { color: var(--brass); }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  margin-top: var(--s6); padding-top: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px; color: rgba(255, 255, 255, 0.6);
}
.foot-legal { display: flex; gap: 18px; }
.foot-legal a:hover { color: var(--brass); }
.foot-sns { display: flex; gap: 10px; margin-left: auto; }
.foot-sns a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%;
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.foot-sns a:hover { border-color: var(--brass); color: var(--brass); }

/* --------------------------------------------------------------- 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: var(--z-toast);
  transform: translate(-50%, 16px);
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: calc(100vw - 32px);
  padding: 15px 20px; border-radius: var(--r);
  background: var(--navy); color: #fff; font-size: 14px; line-height: 1.6;
  box-shadow: 0 16px 40px rgba(15, 24, 46, 0.28);
  opacity: 0; visibility: hidden;
  /* 알림이 폭 전체 제출 버튼을 덮어 클릭을 삼키지 않게 한다 */
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { color: var(--brass); flex: none; }

/* --------------------------------------------------------------- 등장 */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =============================================================== 반응형 */
@media (max-width: 1100px) {
  :root { --section: 80px; --wrap: 960px; }
  .hero .wrap { min-height: 0; grid-template-columns: 1fr 0.85fr; gap: var(--s4); }
  .hero-media img { height: 380px; }
  .situations { grid-template-columns: repeat(3, 1fr); }
  .areas { grid-template-columns: 220px 1fr; gap: var(--s4); }
  .consult { grid-template-columns: 1fr 300px; gap: var(--s4); }
  .person { grid-template-columns: 148px 1fr; }
  .person img { width: 148px; height: 190px; }
  .person-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
}

@media (max-width: 900px) {
  :root { --section: 72px; --gutter: 20px; }
  .navlinks, .nav-tel { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { height: 68px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: var(--s6); padding-bottom: 0; }
  .hero-media { margin: 0 calc(var(--gutter) * -1); }
  .hero-media img { height: 300px; border-radius: 0; }
  .hero-media::after { border-radius: 0; background: linear-gradient(180deg, rgba(15,24,46,.55) 0%, rgba(15,24,46,0) 45%); }
  .hero-marks { margin-top: var(--s4); }
  .hero-sub .wrap { grid-template-columns: 1fr; gap: var(--s4); }
  .hero-figure img, .hero-mark { width: 100%; height: 190px; }
  .choice, .promise, .voices, .result-grid, .docs { grid-template-columns: 1fr; }
  .promise.four { grid-template-columns: 1fr 1fr; }
  .voice-stage { min-height: 0; }
  .voice { position: relative; }
  .voice:not(.on) { display: none; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .areas { grid-template-columns: 1fr; }
  .rail { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .rail button { border-bottom: 1px solid var(--line-soft); }
  .area-quad { grid-template-columns: repeat(2, 1fr); }
  .area-quad li:nth-child(2) { border-right: 0; }
  .area-quad li:nth-child(-n + 2) { border-bottom: 1px solid var(--line-soft); }
  .timeline { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .timeline::before { left: 19px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; row-gap: 4px; text-align: left; padding-bottom: 22px; }
  .timeline em { margin: 0; grid-column: 1; grid-row: 1; }
  .timeline li b, .timeline li p { grid-column: 2; }
  .consult { grid-template-columns: 1fr; }
  .aside { display: grid; gap: var(--s3); }
  .result-top { grid-template-columns: 1fr; }
  .result-scale { display: none; }
}

@media (max-width: 720px) {
  :root { --section: 60px; }
  body { padding-bottom: 62px; }
  .tabbar { display: block; }
  .toast { bottom: 78px; }
  .hero h1 { font-size: 29px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .promise.four { grid-template-columns: 1fr; }
  .cat { flex-direction: row; justify-content: flex-start; text-align: left; min-height: 68px; padding: 14px 16px; }
  .cat .ico-lg { width: 26px; height: 26px; }
  .situations { grid-template-columns: 1fr; }
  .situations a { min-height: 0; flex-direction: row; align-items: center; gap: 14px; }
  .situations span { margin-left: auto; margin-top: 0; }
  .flow-body { padding: var(--s4) 18px; }
  .flow-head { padding: 16px 18px; }
  .progress-track { width: 96px; }
  .pick { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps b { font-size: 11.5px; }
  .steps em { width: 40px; height: 40px; }
  .steps li::after { top: 20px; }
  .person { grid-template-columns: 1fr; gap: var(--s3); }
  .person img { width: 116px; height: 148px; }
  .person-side { grid-column: 1; }
  .tabs { overflow-x: auto; }
  .tab { padding: 12px 18px; white-space: nowrap; }
  .rail { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .foot-brand { grid-column: 1 / -1; }
  .form-actions { flex-direction: column-reverse; }
  .cta-band .wrap, .cta-dark .wrap { display: block; }
  .cta-band .btn, .cta-dark .btn { margin-top: var(--s3); width: 100%; }
  .callbar-tel { margin-left: 0; }
  .match { flex-direction: column; align-items: flex-start; }
  .acc-body dl { grid-template-columns: 1fr; gap: 2px 0; }
  .acc-body dd { margin-bottom: 10px; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .brand b { font-size: 24px; }
  .brand span { font-size: 13px; }
  .cats { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .pick label { flex-direction: row; justify-content: flex-start; min-height: 64px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .voice { transition: none; }
}

@media print {
  .site-header, .drawer, .scrim, .tabbar, .toast, .cta-band, .cta-dark { display: none !important; }
  body { padding-bottom: 0; }
}
