/* ==========================================================================
   divorce.seoyullaw.com — 이혼 광고 랜딩 스타일 (2차 2026-10-08: 요점 카드·이미지 블록·등장 애니메이션)
   기준: 신규 홈페이지 디자인 가이드(01_개발/newHome/design-guide/guide.md · tokens.css) + 가사 사이트(newHome/gasa/css)
     · 메인 #2976a8 · 네이비 #1a2845 · 연블루 #f1f7fc · Pretendard 자간 -3% · 행간 1.4
     · 본문 폭 1200px · 1199px 이하 = 모바일 레이아웃 · 버튼은 모서리 직각(가이드) · 20px SemiBold · 안쪽 여백 16×32
   스킬 redesign-skill·soft-skill 에서 가져온 것: 섹션마다 다른 배치(숫자 타일·비교 띠·지그재그 사진 블록·태그 카드·연결선 단계),
     스프링 이징 cubic-bezier(.16,1,.3,1), 네이비 색을 띤 그림자, 화면에 들어올 때 올라오는 등장 애니메이션(transform·opacity 만),
     아이브로 태그. 가이드와 충돌하는 것(둥근 알약 버튼·영문 디스플레이 폰트)은 가이드를 따랐다.
   🔴 자간은 em 이라도 상속되면 px 로 굳는다 → body 가 아니라 모든 요소(*)에 직접 준다(가이드 tokens.css 와 같은 이유).
   🔴 서버가 CSS 를 6개월 캐시한다 → index.php 가 ?v=수정시각 을 붙인다.
   🔴 휴대폰 가로 넘침: 세로로 쌓는 flex 상자에 align-items:flex-start 가 남으면 안쪽 표 최소 폭만큼 화면이 밀린다 → 모바일은 stretch + min-width:0
   🔴 <img width height> 를 둔 그림은 CSS 에 height:auto 를 같이 줘야 비율이 유지된다(등록증서 왜곡 사고 2026-10-08)
   연관 파일: public/index.php(마크업) · public/assets/js/main.js(동작)
   ========================================================================== */

:root {
  --main: #2976a8;
  --main-dark: #1f5f8a;
  --p50: #f1f7fc;
  --p100: #a2daff;
  --navy: #1a2845;
  --navy-400: #1a364e;
  --info-100: #d9f0ff;
  --alert: #ff0808;
  --kakao: #fee500;
  --n900: #313131;
  --n800: #434343;
  --n700: #5d5d5d;
  --n600: #727272;
  --n500: #969696;
  --n400: #d5d5d5;
  --n300: #d9d9d9;
  --n200: #e9e9e9;
  --light: #fafafa;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 20px 60px -20px rgba(26, 40, 69, .18);   /* 네이비를 띤 확산 그림자 */
  --shadow-sm: 0 8px 24px -12px rgba(26, 40, 69, .16);
}

*, *::before, *::after { box-sizing: border-box; letter-spacing: -0.03em; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); line-height: 1.4; color: var(--n900); background: #fff; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--p100); outline-offset: 2px; }

/* ---------- 등장 애니메이션 (JS 가 있을 때만 숨긴다 · transform/opacity 만 · 움직임 줄이기면 끈다) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 버튼 (가이드: 직각 · 20 SemiBold · 16×32 + 스프링 호버) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 216px; padding: 16px 32px; font-weight: 600; font-size: 20px; line-height: 1.4; white-space: nowrap; transition: transform .5s var(--ease), background .3s var(--ease), color .3s, border-color .3s, box-shadow .5s var(--ease); }
.btn .arrow { font-weight: 400; transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--main { background: var(--main); color: #fff; box-shadow: 0 10px 24px -12px rgba(41, 118, 168, .6); }
.btn--main:hover { background: var(--main-dark); }
.btn--white { background: #fff; color: var(--main); }
.btn--white:hover { background: var(--p50); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #111c33; }
.btn--line { border: 1px solid rgba(255, 255, 255, .8); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .12); }
.btn--block { width: 100%; }
.btn--sm { min-width: 0; padding: 13px 24px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ---------- 공통 조각 ---------- */
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 100px; background: rgba(41, 118, 168, .1); color: var(--main); font-weight: 600; font-size: 12px; line-height: 1; letter-spacing: .04em; }
.sec-head { margin-bottom: 52px; }
.sec-head h2 { font-weight: 700; font-size: 44px; line-height: 1.25; color: #000; }
.sec-head h2 span { display: block; font-weight: 300; }
.sec-head p:not(.eyebrow) { margin-top: 16px; font-weight: 500; font-size: 20px; color: var(--n800); }
.sec-head--center { text-align: center; }
.sec-head--center h2 { font-size: 40px; }
.answer { font-size: 18px; line-height: 1.75; color: var(--n900); }
.tbl-note { margin-top: 14px; font-size: 13px; line-height: 1.65; color: var(--n600); }
.dot-list li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.6; color: var(--n800); margin-bottom: 8px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--main); }
.chk { position: relative; display: flex; gap: 10px; align-items: flex-start; }
.chk::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; background: url(/assets/images/ico_check_blue.svg) center / contain no-repeat; }
.chk--white::before { filter: brightness(0) invert(1); margin-top: 3px; }

/* ---------- GNB ---------- */
.gnb { position: fixed; top: 0; left: 0; right: 0; height: 91px; padding: 0 20px; display: flex; align-items: center; z-index: 40; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.gnb.is-solid { background: rgba(26, 40, 69, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 2px 14px rgba(0, 0, 0, .22); }
.gnb__row { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; gap: 24px; }
.gnb__brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.gnb__brand img { width: 196px; height: 39px; }
.gnb__field { font-weight: 600; font-size: 20px; color: #fff; letter-spacing: -0.04em; white-space: nowrap; }
.gnb__menu { display: flex; align-items: center; gap: 32px; }
.gnb__menu a { font-weight: 700; font-size: 17px; color: #fff; white-space: nowrap; opacity: .7; transition: opacity .3s; }
.gnb__menu a:hover { opacity: 1; }
.gnb__tel { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 20px; white-space: nowrap; flex-shrink: 0; padding: 10px 0; }
.gnb__tel img { width: 18px; height: 20px; filter: brightness(0) invert(1); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 820px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 40, 69, .95) 0%, rgba(26, 40, 69, .82) 45%, rgba(26, 40, 69, .45) 100%); }
.hero__inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 141px 20px 80px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero__copy { flex: 1; min-width: 0; color: #fff; }
.hero__eyebrow { display: inline-block; font-weight: 600; font-size: 17px; color: var(--p100); margin-bottom: 20px; }
.hero__title { font-weight: 700; font-size: 50px; line-height: 1.25; }
.hero__sub { margin-top: 24px; font-weight: 400; font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .88); max-width: 620px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.hero__points li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; color: #fff; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__badges li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 100px; background: rgba(255, 255, 255, .08); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .92); }
.hero__form { flex: 0 0 400px; background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); }

/* ---------- 상담 폼 (히어로·하단 공통) ---------- */
.consult-form { display: flex; flex-direction: column; gap: 16px; }
.consult-form__title { font-weight: 700; font-size: 26px; color: #000; }
.consult-form__lead { font-size: 15px; color: var(--n600); margin-top: -8px; line-height: 1.5; }
.consult-form__note { font-size: 13px; color: var(--n500); text-align: center; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-weight: 600; font-size: 15px; color: var(--n900); }
.field b { color: var(--alert); font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--n500); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: #000; padding: 14px 16px; border: 1px solid var(--n300); border-radius: 2px; background: #fff; resize: vertical; transition: border-color .3s, box-shadow .3s; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23727272' stroke-width='1.6'/></svg>") right 16px center no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #b1b1b1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--main); box-shadow: 0 0 0 3px rgba(41, 118, 168, .15); }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--n700); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--main); flex-shrink: 0; }
.agree button { color: var(--main); text-decoration: underline; font-size: 14px; display: inline-block; padding: 8px 0; }
.form-error { font-size: 14px; color: var(--alert); }
.form-success { text-align: center; padding: 48px 8px; }
.form-success strong { display: block; font-weight: 700; font-size: 24px; color: var(--main); margin-bottom: 12px; }
.form-success p { font-size: 16px; color: var(--n700); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* 스팸가드 허니팟 — 화면 밖으로 */

/* ---------- 3줄 요약 · 핵심 숫자 · 한눈에 보는 답 ---------- */
.summary { background: var(--p50); padding: 64px 0 80px; }
.crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 36px; font-size: 13px; color: var(--n600); }
.crumb a:hover { color: var(--main); text-decoration: underline; }
.crumb span:last-child { color: var(--navy); font-weight: 600; }
.summary__top { max-width: 900px; }
.summary__title { font-weight: 700; font-size: 40px; line-height: 1.25; color: #000; margin-bottom: 28px; }
.tldr { display: flex; flex-direction: column; gap: 14px; }
.tldr li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.tldr__n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.tldr p { font-size: 17px; line-height: 1.65; color: var(--n900); }
.keynums { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.keynums li { position: relative; background: #fff; border-radius: 20px; padding: 28px 24px 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.keynums li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.keynums li::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(162, 218, 255, .35), rgba(162, 218, 255, 0) 70%); }
.keynum__num { display: block; font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--main), var(--navy)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.keynum__num small { font-size: 22px; font-weight: 700; margin-left: 4px; letter-spacing: -0.03em; }
.keynums strong { display: block; margin-top: 14px; font-weight: 700; font-size: 17px; color: #000; }
.keynums p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--n700); }
.keynums em { display: block; margin-top: 10px; font-style: normal; font-size: 12px; }
.keynums em a, .track__steps em a, .src-list a, .courts a, .team__note a { color: var(--main); text-decoration: underline; text-underline-offset: 2px; }
.summary__list { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.summary__item { background: #fff; border-radius: 16px; padding: 22px 22px 20px; border-top: 3px solid var(--main); }
.summary__item dt { font-weight: 700; font-size: 18px; color: var(--main); margin-bottom: 8px; }
.summary__item dd { font-size: 15px; line-height: 1.7; color: var(--n800); }
.summary__meta { margin-top: 24px; font-size: 14px; color: var(--n600); }
.summary__meta a { color: var(--main); text-decoration: underline; display: inline-block; padding: 8px 0; }
.toc { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 9px 16px; background: #fff; border: 1px solid var(--n300); border-radius: 100px; font-weight: 500; font-size: 14px; color: var(--navy); transition: border-color .3s, color .3s, transform .5s var(--ease); }
.toc a:hover { border-color: var(--main); color: var(--main); transform: translateY(-1px); }

/* ---------- 지금 이런 상황이라면 ---------- */
.situ { padding: 120px 0; background: #fff; }
.situ__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.situ__card { height: 100%; background: var(--light); border: 1px solid var(--n200); border-radius: 20px; padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease), background .4s; }
.situ__card:hover { border-color: rgba(41, 118, 168, .4); background: #fff; box-shadow: var(--shadow); transform: translateY(-4px); }
.situ__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--n200); display: flex; align-items: center; justify-content: center; }
.situ__card img { width: 28px; height: 28px; }
.situ__card h3 { font-weight: 700; font-size: 21px; color: #000; line-height: 1.3; }
.situ__card p { font-size: 15px; line-height: 1.6; color: var(--n700); flex: 1; }
.situ__more { display: inline-flex; gap: 4px; font-weight: 600; font-size: 14px; color: var(--main); }
.situ__more .arrow { transition: transform .5s var(--ease); }
.situ__card:hover .arrow { transform: translateX(4px); }

/* ---------- 분야 소개 ---------- */
.intro { background: #fff; padding: 0 0 120px; }
.intro__wrap { display: flex; align-items: center; gap: 64px; }
.intro__text { flex: 1.15; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.intro__title { font-weight: 600; font-size: 40px; line-height: 1.35; color: var(--main); }
.intro__text p { font-weight: 400; font-size: 19px; line-height: 1.75; color: #000; max-width: 62ch; }
.intro__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.intro__chips span { background: var(--p50); border-radius: 2px; padding: 9px 16px; font-weight: 500; font-size: 16px; color: var(--main); line-height: 1.4; white-space: nowrap; }
.intro__photo { flex: 1; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1deg); }
.intro__photo img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; transform: rotate(1deg) scale(1.04); }

/* ---------- 통계 띠 (떠다니는 빛 2개) ---------- */
.stats { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 0; }
.stats::before, .stats::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; animation: float 8s ease-in-out infinite; pointer-events: none; }
.stats::before { width: 320px; height: 320px; left: -80px; top: -140px; background: radial-gradient(circle, rgba(41, 118, 168, .9), rgba(41, 118, 168, 0) 70%); }
.stats::after { width: 260px; height: 260px; right: 8%; bottom: -140px; background: radial-gradient(circle, rgba(162, 218, 255, .6), rgba(162, 218, 255, 0) 70%); animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.stats__wrap { position: relative; display: flex; align-items: center; gap: 56px; }
.stats__num { flex-shrink: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.stats__num strong { font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #fff, var(--p100)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stats__num span { font-weight: 700; font-size: 26px; color: var(--p100); }
.stats__num em { flex-basis: 100%; font-style: normal; font-size: 15px; color: rgba(255, 255, 255, .7); }
.stats__desc { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .85); max-width: 680px; }

/* ---------- 절차 3트랙 ---------- */
.routes { padding: 120px 0; background: var(--light); }
.routes__answer { max-width: 900px; margin: -16px auto 40px; text-align: center; }
.rcompare { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.rcompare__row { display: grid; grid-template-columns: 120px repeat(3, 1fr); border-top: 1px solid var(--n200); }
.rcompare__row--head { border-top: 0; background: var(--navy); color: #fff; }
.rcompare__row > span { padding: 16px 20px; font-size: 15px; line-height: 1.55; color: var(--n800); }
.rcompare__h { font-weight: 700; font-size: 17px; color: #fff; }
.rcompare__h--agree { box-shadow: inset 0 -3px 0 var(--main); }
.rcompare__h--mediate { box-shadow: inset 0 -3px 0 var(--p100); }
.rcompare__h--trial { box-shadow: inset 0 -3px 0 #fff; }
.rcompare__label { font-weight: 700; color: var(--navy); background: var(--p50); }
.routes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.track { background: #fff; border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; border-top: 4px solid var(--main); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.track:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.track--mediate { border-top-color: var(--navy-400); }
.track--trial { border-top-color: var(--navy); }
.track__title { font-weight: 700; font-size: 26px; color: #000; }
.track__when { font-size: 14px; line-height: 1.55; color: var(--n600); margin-top: -10px; }
.track__steps { position: relative; display: flex; flex-direction: column; gap: 16px; padding-left: 2px; }
.track__steps::before { content: ""; position: absolute; left: 14px; top: 14px; bottom: 14px; width: 2px; background: var(--n200); }
.track__steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.track__steps .num { position: relative; z-index: 1; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--main); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 0 0 4px #fff; }
.track--mediate .num { background: var(--navy-400); }
.track--trial .num { background: var(--navy); }
.track__steps strong { display: block; font-weight: 700; font-size: 16px; color: #000; line-height: 1.35; }
.track__steps p { margin-top: 3px; font-size: 13.5px; line-height: 1.6; color: var(--n700); }
.track__steps em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; }
.track__docs { margin-top: auto; border-top: 1px solid var(--n200); padding-top: 14px; }
.track__docs summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--main); display: flex; align-items: center; gap: 6px; }
.track__docs summary::after { content: ""; width: 12px; height: 12px; background: url(/assets/images/ico_faq_closed.svg) center / contain no-repeat; transform: rotate(-90deg); transition: transform .4s var(--ease); }
.track__docs[open] summary::after { transform: rotate(90deg); }
.track__docs .dot-list { margin-top: 10px; }
.track__docs .dot-list li { font-size: 13.5px; margin-bottom: 5px; }

/* ---------- 분야별 블록 (사진 + 수치 + 답, 지그재그) ---------- */
.fields { padding: 120px 0 72px; background: #fff; }
.fblock { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; padding: 64px 0; border-top: 1px solid var(--n200); scroll-margin-top: 100px; }
.fblock:nth-of-type(even) .fblock__media { order: 2; }
.fblock__media { position: sticky; top: 120px; }
.fblock__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.fblock__facts { display: flex; gap: 12px; margin: -34px 20px 0; position: relative; }
.fblock__facts li { flex: 1; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(26, 40, 69, .08); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.fblock__facts span { display: block; font-size: 12px; color: var(--n600); }
.fblock__facts strong { display: block; margin-top: 2px; font-weight: 700; font-size: 17px; color: var(--navy); letter-spacing: -0.04em; }
.fblock__body { min-width: 0; }
.fblock__tag { font-weight: 700; font-size: 14px; color: var(--main); letter-spacing: 0; margin-bottom: 12px; }
.fblock__body h3 { font-weight: 700; font-size: 30px; line-height: 1.3; color: #000; margin-bottom: 16px; }
.fblock__points { margin: 22px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.fblock__points li { font-size: 15px; line-height: 1.55; color: var(--n800); background: var(--light); border-radius: 12px; padding: 12px 14px 12px 12px; }
.fblock__points .chk::before { margin-top: 4px; }
.fblock__faq { background: var(--p50); border-radius: 16px; padding: 6px 20px; margin-bottom: 22px; }
.mini-faq { border-top: 1px solid rgba(26, 40, 69, .08); padding: 13px 0; }
.mini-faq:first-child { border-top: 0; }
.mini-faq summary { cursor: pointer; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15.5px; line-height: 1.5; color: #000; }
.mini-faq summary::before { content: "Q"; flex-shrink: 0; font-weight: 700; color: var(--main); }
.mini-faq summary::after { content: ""; margin-left: auto; flex-shrink: 0; width: 12px; height: 12px; margin-top: 6px; background: url(/assets/images/ico_faq_closed.svg) center / contain no-repeat; transform: rotate(-90deg); transition: transform .4s var(--ease); }
.mini-faq[open] summary::after { transform: rotate(90deg); }
.mini-faq p { margin-top: 10px; padding-left: 22px; font-size: 14.5px; line-height: 1.7; color: var(--n800); }

/* ---------- 체크리스트 · 증거 ---------- */
.check { padding: 120px 0; background: var(--p50); }
.check__answer { max-width: 900px; margin: -16px 0 36px; }
.check__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.check__card { background: #fff; border-radius: 18px; padding: 22px 18px 18px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.check__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.check__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--p50); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.check__card h3 { font-weight: 700; font-size: 19px; color: #000; margin-bottom: 12px; }
.check__card li { font-size: 13.5px; line-height: 1.5; color: var(--n800); margin-bottom: 9px; }
.check__card .chk::before { width: 13px; height: 13px; margin-top: 3px; }
.evid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.evid__col { border-radius: 18px; padding: 26px 28px; }
.evid__col--ok { background: #e7f0f7; }
.evid__col--no { background: #fbeaea; }
.evid__col h3 { font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.evid__col--ok h3 { color: var(--main); }
.evid__col--no h3 { color: #b02a2a; }
.evid__col li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.6; color: var(--n800); margin-bottom: 8px; }
.evid__col--ok li::before { content: "✓"; position: absolute; left: 0; color: var(--main); font-weight: 700; }
.evid__col--no li::before { content: "✕"; position: absolute; left: 0; color: #b02a2a; font-weight: 700; }

/* ---------- 관할 가정법원 (글 + 표 나란히) ---------- */
.courts { padding: 120px 0; background: #fff; }
.courts__wrap { display: flex; gap: 56px; align-items: flex-start; }
.courts__text { flex: 0 0 400px; position: sticky; top: 120px; }
.courts__text h2 { font-weight: 700; font-size: 34px; line-height: 1.3; color: #000; margin-bottom: 16px; }
.courts__text .answer { font-size: 16px; }
.courts .tbl-wrap { flex: 1; min-width: 0; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; background: #fff; border: 1px solid var(--n200); box-shadow: var(--shadow-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl caption { caption-side: top; text-align: left; font-weight: 700; font-size: 17px; color: #000; padding: 18px 20px; }
.tbl th, .tbl td { padding: 13px 18px; border-top: 1px solid var(--n200); text-align: left; vertical-align: top; line-height: 1.55; }
.tbl thead th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
.tbl tbody th { font-weight: 600; color: var(--n900); background: var(--light); white-space: nowrap; }
.tbl td { color: var(--n800); }
.tbl tbody tr { transition: background .3s; }
.tbl tbody tr:hover td { background: var(--p50); }
.tbl--courts { min-width: 540px; }
.tbl--cost { font-size: 14px; min-width: 520px; }
.tbl--cost th, .tbl--cost td { padding: 11px 14px; }

/* ---------- 사건을 맡는 방식 (연결선 단계) ---------- */
.way { padding: 120px 0; background: var(--light); }
.way__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.way__grid::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 2px; background: linear-gradient(90deg, var(--main), var(--p100)); }
.way__card { position: relative; background: #fff; padding: 28px 24px 30px; border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.way__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.way__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 0; box-shadow: 0 0 0 6px var(--light); }
.way__card h3 { margin-top: 18px; font-weight: 700; font-size: 20px; color: #000; line-height: 1.35; }
.way__card p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--n700); }

/* ---------- 담당 변호사 ---------- */
.team { padding: 120px 0; background: #fff; }
.team__wrap { display: flex; gap: 56px; align-items: center; }
.team__photo { flex: 1.1; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--n200); box-shadow: var(--shadow); }
.team__photo img { width: 100%; height: auto; }
.team__info { flex: 1; min-width: 0; }
.team__lead { font-size: 18px; line-height: 1.7; color: var(--n800); }
.team__members { margin-top: 24px; display: flex; flex-direction: column; }
.team__members li { display: grid; grid-template-columns: 104px 1fr; gap: 2px 16px; padding: 18px 0; border-top: 1px solid var(--n200); align-items: baseline; }
.team__members .role { font-size: 15px; color: var(--n500); }
.team__members .name { font-weight: 600; font-size: 26px; color: #000; letter-spacing: -0.05em; }
.team__members .cred, .team__members .etc { grid-column: 2; font-size: 14px; line-height: 1.55; color: var(--n700); }
.team__members .cred { color: var(--main); font-weight: 500; }
/* 등록증서 — 🔴 height:auto 필수(세로 비율 유지). 종이 느낌의 얇은 테두리 + 떠 있는 그림자 */
.team__certs { margin-top: 44px; display: grid; grid-template-columns: 220px 220px 1fr; gap: 24px; align-items: end; }
.team__certs figure { background: var(--p50); border-radius: 18px; padding: 14px; }
.team__certs img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 12px 30px -12px rgba(26, 40, 69, .35); border: 1px solid rgba(26, 40, 69, .08); background: #fff; }
.team__certs figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--navy); text-align: center; }
.team__note { align-self: center; font-size: 14px; line-height: 1.7; color: var(--n600); }

/* ---------- 수행 사례 (태그 카드) ---------- */
.cases { padding: 120px 0; background: var(--p50); }
.cases__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.case-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-card__tag { align-self: flex-start; padding: 5px 10px; border-radius: 100px; background: rgba(41, 118, 168, .1); color: var(--main); font-weight: 600; font-size: 12px; line-height: 1; }
.case-card strong { font-weight: 600; font-size: 18px; line-height: 1.45; color: #000; }
.case-card__date { font-size: 13px; color: var(--n500); }

/* ---------- 비용 · 기간 ---------- */
.prep { padding: 120px 0; background: #fff; border-top: 1px solid var(--n200); }
.prep__wrap { display: flex; gap: 48px; align-items: flex-start; }
.prep__col { flex: 1; min-width: 0; }
.prep h2 { font-weight: 700; font-size: 28px; line-height: 1.35; color: #000; margin-bottom: 14px; }
.prep .answer { font-size: 16px; margin-bottom: 20px; }

/* ---------- 자주 묻는 질문 ---------- */
.faq { padding: 120px 0; background: var(--light); }
.faq__wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.faq__head { position: sticky; top: 120px; }
.faq__title { font-weight: 700; font-size: 48px; line-height: 1.25; color: #000; white-space: nowrap; }
.faq__list { flex: 0 1 800px; display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 10px 28px; box-shadow: var(--shadow-sm); }
.faq__item { border-bottom: 1px solid var(--n200); padding: 22px 0; }
.faq__item:last-child { border-bottom: 0; }
.faq__q { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.faq__q .num { font-weight: 600; font-size: 20px; line-height: 1.4; background: linear-gradient(to bottom, var(--main), var(--navy)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; min-width: 46px; }
.faq__q .txt { flex: 1; font-weight: 600; font-size: 19px; line-height: 1.4; color: #000; }
.faq__q::after { content: ""; width: 16px; height: 16px; margin-top: 7px; flex-shrink: 0; background: url(/assets/images/ico_faq_closed.svg) center / contain no-repeat; transform: rotate(-90deg); transition: transform .4s var(--ease); }
.faq__item[open] .faq__q::after { background-image: url(/assets/images/ico_faq_open.svg); transform: rotate(90deg); }
.faq__a { margin-top: 14px; padding-left: 56px; padding-right: 24px; font-weight: 300; font-size: 16.5px; line-height: 1.75; color: var(--navy); }

/* ---------- 용어 풀이·근거 법령 ---------- */
.refs { padding: 100px 0; background: #fff; border-top: 1px solid var(--n200); }
.refs__wrap { display: flex; gap: 64px; align-items: flex-start; }
.refs__glossary { flex: 1.2; min-width: 0; }
.refs__sources { flex: 1; min-width: 0; }
.refs h2 { font-weight: 700; font-size: 28px; color: #000; margin-bottom: 24px; }
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gloss > div { background: var(--light); border-radius: 12px; padding: 16px 18px; }
.gloss dt { font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.gloss dd { font-size: 14px; line-height: 1.7; color: var(--n700); }
.src-list { display: flex; flex-direction: column; gap: 14px; }
.src-list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--n200); }
.src-list a { font-weight: 600; font-size: 15.5px; display: inline-block; padding: 6px 0; }
.src-org { font-size: 13px; color: var(--n600); }
.src-note { font-size: 13px; line-height: 1.6; color: var(--n700); }

/* ---------- 상담 신청 ---------- */
.contact { padding: 120px 0; background: var(--p50); }
.contact__wrap { display: flex; gap: 80px; align-items: flex-start; justify-content: space-between; }
.contact__info { flex: 1; min-width: 0; }
.contact__info h2 { font-weight: 700; font-size: 48px; color: #000; }
.contact__lead { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--n800); max-width: 500px; }
.contact__list { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.contact__list li, .loc__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list img, .loc__list img { width: 20px; height: 22px; object-fit: contain; margin-top: 3px; flex-shrink: 0; }
.contact__list span, .loc__list span { display: block; font-size: 14px; color: var(--n600); margin-bottom: 2px; }
.contact__list strong, .contact__list a, .loc__list strong, .loc__list a { font-weight: 600; font-size: 19px; color: #000; }
.contact__list a, .loc__list a { color: var(--main); font-weight: 700; }
.contact__list small { display: block; margin-top: 4px; font-size: 14px; color: var(--n600); }
.contact__form { flex: 0 0 520px; background: #fff; border-radius: 24px; padding: 44px 40px; box-shadow: var(--shadow); }

/* ---------- 오시는 길 ---------- */
.loc { padding: 120px 0; background: #fff; }
.loc__wrap { display: flex; gap: 48px; align-items: stretch; }
.loc__map { flex: 1; min-height: 420px; border-radius: 24px; overflow: hidden; background: var(--n200); box-shadow: var(--shadow-sm); }
.loc__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.loc__list { flex: 0 0 400px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.loc__list strong { font-size: 17px; }

/* ---------- 푸터 ---------- */
.footer { background: var(--navy); padding: 60px 0; }
.footer__wrap { display: flex; flex-direction: column; gap: 28px; }
.footer__logo { width: 196px; height: 39px; }
.footer__info { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--n400); }
.footer__info .lbl { color: #b1b1b1; margin-right: 4px; }
.footer__info .bar { color: #55607a; margin: 0 8px; }
.footer__disc { margin-top: 8px; color: #b1b1b1; line-height: 1.6; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--n400); }
.footer__links { display: flex; gap: 16px; }
.footer__links button { font-weight: 700; font-size: 13px; color: #fff; }
.footer__links a, .footer__links button { display: inline-block; padding: 8px 0; }
.footer__links a:hover, .footer__links button:hover { text-decoration: underline; }

/* ---------- 퀵메뉴 (PC) ---------- */
.quick { position: fixed; right: 24px; bottom: 80px; width: 68px; z-index: 30; filter: drop-shadow(0 4px 15px rgba(26, 40, 69, .14)); }
.quick__label { background: var(--main); color: #fff; font-weight: 700; font-size: 12px; line-height: 1; text-align: center; padding: 10px 0; border-radius: 30px 30px 0 0; }
.quick__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #fff; border-bottom: 1px solid #f0f0f0; padding: 11px 0 9px; width: 100%; transition: background .3s; }
.quick__item img { width: 33px; height: 33px; }
.quick__item--phone img { width: 25px; height: 28px; }
.quick__item:last-child { border-bottom: 0; border-radius: 0 0 30px 30px; }
.quick__item:hover { background: var(--p50); }
.quick__name { font-size: 12px; font-weight: 500; color: #000; line-height: 1; white-space: nowrap; }

/* ---------- 아래 고정 버튼 (모바일 전용) ---------- */
.mbar { display: none; }

/* ---------- 개인정보처리방침 창 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10, 16, 30, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); background: #fff; border-radius: 20px; padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.modal__title { font-weight: 700; font-size: 24px; color: #000; }
.modal__close { position: absolute; top: 20px; right: 20px; }
.modal__close img { width: 28px; height: 28px; filter: brightness(0); }
.modal__body { overflow-y: auto; font-size: 15px; line-height: 1.7; color: var(--n700); padding-right: 8px; }
.modal__h { margin: 18px 0 4px; font-weight: 700; font-size: 16px; color: var(--n900); }
.modal__panel .btn { align-self: center; }
body.is-locked { overflow: hidden; }

/* ==========================================================================
   모바일·태블릿 (1199px 이하 — 가이드의 브레이크포인트)
   ========================================================================== */
@media (max-width: 1199px) {
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 60px; } /* 아래 고정 버튼 자리 */
  .btn { font-size: 17px; padding: 14px 24px; min-width: 0; }
  .btn--sm { font-size: 15px; padding: 12px 18px; }

  .gnb { height: 60px; }
  .gnb__brand { gap: 10px; }
  .gnb__brand img { width: 140px; height: 28px; }
  .gnb__field { font-size: 15px; }
  .gnb__menu { display: none; }
  .gnb__tel { font-size: 16px; }
  .gnb__tel img { width: 15px; height: 17px; }

  .hero { min-height: 0; }
  .hero__bg img { object-position: center top; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(26, 40, 69, .9) 0%, rgba(26, 40, 69, .84) 60%, rgba(26, 40, 69, .95) 100%); }
  .hero__inner { flex-direction: column; align-items: stretch; gap: 32px; padding: 92px 20px 44px; }
  .hero__eyebrow { font-size: 14px; margin-bottom: 12px; }
  .hero__title { font-size: 30px; line-height: 1.3; }
  .hero__title br { display: none; }
  .hero__sub { margin-top: 14px; font-size: 16px; }
  .hero__btns { margin-top: 24px; gap: 10px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__points { margin-top: 22px; gap: 10px 18px; }
  .hero__points li { font-size: 14px; }
  .hero__badges { margin-top: 16px; gap: 8px; }
  .hero__badges li { font-size: 12px; padding: 7px 11px; }
  .hero__form { flex: none; width: 100%; max-width: 520px; margin: 0 auto; padding: 28px 22px; border-radius: 16px; }
  .consult-form__title { font-size: 22px; }

  .eyebrow { margin-bottom: 10px; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2, .sec-head--center h2 { font-size: 26px; }
  .sec-head p:not(.eyebrow) { font-size: 16px; margin-top: 10px; }
  .answer { font-size: 16px; }

  .summary { padding: 40px 0 48px; }
  .crumb { margin-bottom: 24px; font-size: 12px; }
  .summary__title { font-size: 24px; margin-bottom: 18px; }
  .tldr li { padding: 14px 16px; border-radius: 12px; gap: 12px; }
  .tldr__n { width: 26px; height: 26px; font-size: 13px; }
  .tldr p { font-size: 15px; }
  .keynums { margin-top: 28px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .keynums li { padding: 20px 16px 16px; border-radius: 14px; }
  .keynum__num { font-size: 40px; }
  .keynum__num small { font-size: 16px; }
  .keynums strong { font-size: 15px; margin-top: 10px; }
  .keynums p { font-size: 13px; }
  .summary__list { margin-top: 28px; grid-template-columns: 1fr; gap: 10px; }
  .summary__item { padding: 18px 16px; border-radius: 12px; }
  .summary__item dt { font-size: 16px; }
  .summary__item dd { font-size: 14px; }
  .summary__meta { font-size: 13px; }
  .toc a { font-size: 13px; padding: 8px 12px; }

  .situ, .routes, .fields, .check, .courts, .way, .team, .cases, .prep, .faq, .contact, .loc { padding: 64px 0; }
  .situ__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .situ__card { padding: 18px 16px; border-radius: 14px; gap: 10px; }
  .situ__icon { width: 42px; height: 42px; border-radius: 10px; }
  .situ__card img { width: 22px; height: 22px; }
  .situ__card h3 { font-size: 16px; }
  .situ__card p { font-size: 13.5px; }
  .situ__more { font-size: 13px; }

  .intro { padding: 0 0 56px; }
  .intro__wrap { flex-direction: column; align-items: stretch; gap: 28px; }
  .intro__title { font-size: 26px; }
  .intro__text { gap: 16px; }
  .intro__text p { font-size: 15.5px; }
  .intro__chips { gap: 8px; }
  .intro__chips span { font-size: 14px; padding: 8px 12px; }
  .intro__photo { border-radius: 14px; transform: none; }
  .intro__photo img { transform: none; }

  .stats { padding: 40px 0; }
  .stats__wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stats__num strong { font-size: 48px; }
  .stats__num span { font-size: 20px; }
  .stats__desc { font-size: 14.5px; }

  .routes__answer { margin: -6px 0 24px; text-align: left; }
  .rcompare { border-radius: 14px; margin-bottom: 18px; }
  .rcompare__row { grid-template-columns: 76px repeat(3, 1fr); }
  .rcompare__row > span { padding: 10px 8px; font-size: 12px; line-height: 1.45; }
  .rcompare__h { font-size: 13.5px; }
  .routes__grid { grid-template-columns: 1fr; gap: 12px; }
  .track { padding: 22px 18px; border-radius: 14px; gap: 14px; }
  .track__title { font-size: 21px; }
  .track__steps { gap: 12px; }
  .track__steps strong { font-size: 15px; }

  .fields { padding: 56px 0 20px; }
  .fblock { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; scroll-margin-top: 70px; }
  .fblock:nth-of-type(even) .fblock__media { order: 0; }
  .fblock__media { position: static; }
  .fblock__media img { border-radius: 16px; aspect-ratio: 16 / 9; }
  .fblock__facts { margin: -26px 12px 0; gap: 8px; }
  .fblock__facts li { padding: 9px 10px; border-radius: 10px; }
  .fblock__facts span { font-size: 11px; }
  .fblock__facts strong { font-size: 14px; }
  .fblock__body h3 { font-size: 21px; }
  .fblock__points { grid-template-columns: 1fr; gap: 8px; margin: 16px 0 16px; }
  .fblock__points li { font-size: 14px; padding: 10px 12px; }
  .fblock__faq { padding: 2px 14px; border-radius: 12px; margin-bottom: 16px; }
  .mini-faq summary { font-size: 14.5px; }
  .mini-faq p { font-size: 13.5px; }
  .fblock__body .btn { width: 100%; }

  .check__answer { margin: -6px 0 22px; }
  .check__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .check__card { padding: 16px 14px; border-radius: 12px; }
  .check__icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .check__card h3 { font-size: 16px; margin-bottom: 8px; }
  .check__card li { font-size: 13px; }
  .evid { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .evid__col { padding: 18px 16px; border-radius: 12px; }
  .evid__col h3 { font-size: 17px; }
  .evid__col li { font-size: 14px; }

  .courts__wrap { flex-direction: column; gap: 20px; align-items: stretch; }
  .courts__text { flex: none; position: static; }
  .courts__text h2 { font-size: 24px; }
  .courts__text .answer { font-size: 15px; }
  .courts .tbl-wrap { min-width: 0; }
  .tbl { font-size: 14px; }
  .tbl caption { font-size: 15px; padding: 14px 14px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl--courts { min-width: 500px; }

  .way__grid { grid-template-columns: 1fr; gap: 10px; }
  .way__grid::before { display: none; }
  .way__card { padding: 18px 16px 20px; border-radius: 12px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; }
  .way__num { width: 40px; height: 40px; font-size: 14px; box-shadow: none; grid-row: 1 / span 2; }
  .way__card h3 { margin-top: 0; font-size: 17px; }
  .way__card p { margin-top: 4px; font-size: 13.5px; }

  .team__wrap { flex-direction: column; gap: 20px; align-items: stretch; }
  .team__photo { border-radius: 14px; }
  .team__lead { font-size: 15px; }
  .team__members { margin-top: 12px; }
  .team__members li { grid-template-columns: 86px 1fr; padding: 12px 0; }
  .team__members .name { font-size: 21px; }
  .team__members .cred, .team__members .etc { font-size: 13px; }
  .team__certs { margin-top: 24px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .team__certs figure { padding: 10px; border-radius: 12px; }
  .team__certs figcaption { font-size: 12px; }
  .team__note { grid-column: 1 / -1; font-size: 13px; }

  .cases__grid { grid-template-columns: 1fr; gap: 10px; }
  .case-card { padding: 16px 16px; border-radius: 12px; gap: 8px; }
  .case-card strong { font-size: 15.5px; }

  .prep__wrap { flex-direction: column; gap: 32px; align-items: stretch; }
  .prep__wrap > * { min-width: 0; }
  .prep h2 { font-size: 21px; }

  .faq__wrap { flex-direction: column; gap: 18px; }
  .faq__head { position: static; }
  .faq__title { font-size: 26px; }
  .faq__title br { display: none; }
  .faq__list { flex: none; width: 100%; padding: 4px 16px; border-radius: 14px; }
  .faq__item { padding: 16px 0; }
  .faq__q .num, .faq__q .txt { font-size: 16px; }
  .faq__q .num { min-width: 34px; }
  .faq__q::after { width: 13px; height: 13px; margin-top: 5px; }
  .faq__a { padding-left: 44px; padding-right: 0; font-size: 14.5px; margin-top: 10px; }

  .refs { padding: 56px 0; }
  .refs__wrap { flex-direction: column; gap: 32px; align-items: stretch; }
  .refs__wrap > * { min-width: 0; }
  .refs h2 { font-size: 21px; margin-bottom: 16px; }
  .gloss { grid-template-columns: 1fr; gap: 10px; }

  .contact__wrap { flex-direction: column; gap: 28px; align-items: stretch; }
  .contact__info h2 { font-size: 27px; }
  .contact__lead { font-size: 15px; margin-top: 12px; }
  .contact__list { margin-top: 22px; gap: 14px; }
  .contact__list strong, .contact__list a, .loc__list strong, .loc__list a { font-size: 16px; }
  .contact__list small { font-size: 13px; }
  .contact__form { flex: none; padding: 28px 22px; border-radius: 16px; }

  .loc__wrap { flex-direction: column; gap: 22px; }
  .loc__map, .loc__map iframe { min-height: 280px; }
  .loc__map { border-radius: 14px; }
  .loc__list { flex: none; gap: 14px; }

  .footer { padding: 40px 0 48px; }
  .footer__logo { width: 150px; height: 30px; }
  .footer__info { font-size: 12px; gap: 8px; }
  .footer__info .bar { display: none; }
  .footer__info p { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .quick { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 60px; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); box-sizing: content-box; }
  .mbar__btn { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; white-space: nowrap; }
  .mbar__btn--tel { background: #fff; color: var(--navy); }
  .mbar__btn--kakao { background: var(--kakao); color: #191919; }
  .mbar__btn--form { background: var(--main); color: #fff; }

  .modal { padding: 12px; }
  .modal__panel { padding: 28px 20px 20px; }
}

@media (max-width: 380px) {
  .gnb__field { display: none; }
  .situ__grid, .keynums, .check__grid { grid-template-columns: 1fr; }
  .rcompare__row { grid-template-columns: 64px repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
