/* 수오재 — 남색(로고) + 흰 바탕, 물결선(로고 모티프). 중국어 화면은 웹폰트 없이 시스템 글꼴 */
:root {
  --navy: #0f1f4d; --navy-2: #0a1536; --ink: #18213a; --sub: #4a5368; --line: #e3e7ef;
  --bg: #ffffff; --bg-2: #f4f6fa; --sand: #c9a46b; --sand-2: #f6efe3; --ok: #1f7a4d; --err: #b3261e;
  --r: 14px; --w: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65; word-break: keep-all; overflow-wrap: break-word;
  font: 17px/1.75 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
body.lang-zh { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", "Apple SD Gothic Neo", sans-serif; word-break: normal; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
.lang-zh h1, .lang-zh h2, .lang-zh h3 { letter-spacing: 0; }
.wrap { width: min(var(--w), 100% - 40px); margin: 0 auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--sand); text-transform: uppercase; margin: 0 0 10px; }
b.pt { color: var(--sand); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

/* 언어 팝업 */
.langpop { position: fixed; inset: 0; z-index: 90; background: rgba(10, 21, 54, .72); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }
.langpop[hidden] { display: none; }
.langpop-box { background: #fff; border-radius: 18px; padding: 36px 32px 30px; width: min(460px, 100%); text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.langpop-logo { margin: 0 auto 14px; width: 110px; }
.langpop-title { font-size: 21px; font-weight: 700; margin: 0 0 6px; }
.langpop-sub { font-size: 14px; color: var(--sub); margin: 0 0 22px; line-height: 1.6; }
.langpop-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.langpop-btns a { text-decoration: none; border: 1px solid var(--line); border-radius: 12px; padding: 16px 6px; display: grid; gap: 2px; transition: .15s; }
.langpop-btns a:hover, .langpop-btns a:focus-visible { border-color: var(--navy); background: var(--bg-2); }
.langpop-btns b { font-size: 17px; }
.langpop-btns span { font-size: 12px; color: var(--sub); }

/* 머리글 */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.logo .wave { width: 46px; height: 18px; }
.logo b { display: block; font-size: 18px; }
.logo small { display: block; font-size: 12px; color: var(--sub); margin-top: -2px; }
.gnb { display: flex; gap: 22px; margin-left: auto; }
.gnb a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); }
.gnb a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.langs a { text-decoration: none; font-size: 13px; padding: 6px 11px; color: var(--sub); }
.langs a.on { background: var(--navy); color: #fff; }
.top-call { text-decoration: none; background: var(--navy); color: #fff; border-radius: 10px; padding: 7px 14px; line-height: 1.2; flex: none; }
.top-call span { display: block; font-size: 11px; opacity: .8; }
.top-call b { font-size: 16px; }

/* 첫 화면 */
.hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; padding: 64px 0 72px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 24px; width: 100%; height: 200px; color: rgba(255,255,255,.12); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: start; }
.hero .kicker { color: #d8bd8f; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.hero h1 b { color: #e7c98f; }
.hero-sub { font-size: 18px; opacity: .88; margin: 18px 0 26px; }
.badges { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.badges li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.badges i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); font-size: 13px; }
.hero-photo { margin: 0; max-width: 300px; border-radius: var(--r); overflow: hidden; filter: grayscale(1) contrast(1.05); box-shadow: 0 20px 50px rgba(0,0,0,.3); }

/* 상담 신청 카드 */
.consult { background: #fff; color: var(--ink); border-radius: 20px; padding: 30px 30px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.steps { display: flex; gap: 8px; margin-bottom: 18px; }
.steps span { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--bg-2); color: #9aa3b5; }
.steps span.on { background: var(--navy); color: #fff; }
.consult fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.consult legend { font-size: 23px; font-weight: 800; margin-bottom: 16px; padding: 0; }
.choices { display: grid; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input, .chips input { position: absolute; opacity: 0; }
.choices span { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px 13px 46px; font-weight: 600; transition: .12s; }
.choices span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #c3c9d6; border-radius: 50%; }
.choices input:checked + span { border-color: var(--navy); background: #eef2fb; }
.choices input:checked + span::before { border-color: var(--navy); background: radial-gradient(var(--navy) 45%, transparent 50%); }
.choices input:focus-visible + span { outline: 3px solid var(--sand); outline-offset: 2px; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.btn-next, .btn-prev { border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; }
.btn-next { background: var(--navy); color: #fff; margin-left: auto; }
.btn-next:disabled { opacity: .6; cursor: wait; }
.btn-prev { background: var(--bg-2); color: var(--sub); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.f { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--sub); }
.f.full { grid-column: 1 / -1; }
.f em { font-style: normal; font-weight: 400; }
.f input, .f select, .f textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(15,31,77,.12); }
.f.want input { border-color: var(--sand); background: var(--sand-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips span { display: block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sand); outline-offset: 2px; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.agree input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--navy); }
.agree-detail { font-size: 12px; color: var(--sub); margin: 4px 0 0 25px; }
.done { text-align: center; padding: 30px 6px; }
.done b { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #e6f4ec; color: var(--ok); font-size: 28px; }
.done p { font-size: 17px; font-weight: 600; }
.form-msg { color: var(--err); font-size: 14px; font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.form-note { font-size: 12px; color: var(--sub); margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* 공통 구역 */
.sec { padding: 96px 0; }
.sec h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.sec h2 b { color: var(--navy); background: linear-gradient(transparent 62%, var(--sand-2) 62%); }
.desc { color: var(--sub); margin: 12px 0 0; }

.reasons { background: var(--bg-2); }
.reason-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.reason { background: #fff; border-radius: var(--r); padding: 32px 28px; border-top: 4px solid var(--navy); }
.reason .no { font-size: 40px; font-weight: 800; color: var(--sand); line-height: 1; }
.reason h3 { font-size: 20px; margin: 14px 0 10px; }
.reason p { color: #3b4458; margin: 0; }
.reason p b { color: var(--navy); }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.area { border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; background: #fff; }
.area .tag { font-size: 13px; font-weight: 800; color: var(--sand); }
.area h3 { font-size: 21px; margin: 6px 0 10px; color: var(--navy); }
.area .lead { margin: 0 0 12px; font-weight: 600; }
.area .lead b { color: var(--navy); }
.area ul { margin: 0; padding-left: 18px; color: var(--sub); font-size: 15px; display: grid; gap: 6px; }
.area-cta { background: var(--navy); color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: center; border: 0; }
.area-cta h3 { color: #fff; }
.area-cta p { opacity: .85; }
.area-cta b { color: #e7c98f; margin-top: 8px; }

.lawyer { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.lawyer-in { display: grid; grid-template-columns: 340px 1fr 230px; gap: 44px; align-items: start; }
.lawyer-photo img { border-radius: var(--r); filter: grayscale(1); }
.lawyer-text h2 small { font-size: 18px; color: var(--sub); font-weight: 600; margin-left: 6px; }
.lawyer-title { font-size: 18px; font-weight: 700; margin: 10px 0 18px; }
.lawyer-title b { color: var(--navy); }
.lawyer-text p { color: #3b4458; }
.creds { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.creds li { padding-left: 22px; position: relative; font-weight: 600; }
.creds li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--sand); }
.cert { margin: 0; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: 0 10px 30px rgba(15,31,77,.1); }
.cert figcaption { font-size: 13px; color: var(--sub); text-align: center; margin-top: 8px; }

.flow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; }
.flow li { background: var(--bg-2); border-radius: var(--r); padding: 26px 20px; position: relative; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--sand); font-weight: 800; z-index: 1; }
.flow .no { font-size: 13px; font-weight: 800; color: var(--sand); }
.flow b { display: block; font-size: 18px; margin: 4px 0 6px; color: var(--navy); }
.flow p { margin: 0; font-size: 14px; color: var(--sub); }

.facts { background: var(--navy); color: #fff; }
.facts .kicker { color: #d8bd8f; }
.facts h2 b { color: #fff; background: linear-gradient(transparent 62%, rgba(201,164,107,.45) 62%); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.fact { border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 24px 22px; }
.fact h3 { font-size: 18px; margin-bottom: 8px; color: #e7c98f; }
.fact p { margin: 0; opacity: .88; font-size: 15px; }
.fine { font-size: 13px; opacity: .7; margin-top: 22px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 32px; }
.gallery img { border-radius: var(--r); height: 340px; width: 100%; object-fit: cover; }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 18px 34px 18px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--sand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: #3b4458; }
.faq h2 { margin-bottom: 18px; }

.cta { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; text-align: center; }
.cta h2 b { color: #e7c98f; background: none; }
.cta p { opacity: .85; margin: 14px 0 26px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-light, .btn-line, .btn-navy { text-decoration: none; border-radius: 999px; padding: 14px 26px; font-weight: 700; display: inline-block; }
.btn-light { background: #fff; color: var(--navy); }
.btn-line { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; margin-top: 18px; }

/* 오시는 길 — 직접 그린 지도 + 걷는 길 애니메이션 */
.route-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 16px; }
.route-tabs button { font: inherit; font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: #fff; color: var(--sub); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.route-tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.route-in { display: grid; grid-template-columns: 1.45fr 1fr; gap: 32px; align-items: start; }
.map { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(15,31,77,.14); aspect-ratio: 1000 / 732; background: #e8ecf4; }
.map-svg { display: block; width: 100%; height: 100%; }
.map-svg .bg { fill: #e8ecf4; }
.map-svg .roads-casing path { fill: none; stroke: #c9d1e2; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .roads path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .roads .mj { stroke: #fbfcfe; }
.map-svg .rd { font-size: 17px; font-weight: 700; fill: #7c879f; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: #fbfcfe; stroke-width: 5px; letter-spacing: .02em; }
.map-svg .osm { font-size: 12px; fill: #8a93a8; text-anchor: end; }
.map-svg .rt { opacity: 0; transition: opacity .3s; }
.map-svg .rt.on { opacity: 1; }
.map-svg .rt-under { fill: none; stroke: rgba(201,164,107,.35); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .rt-line { fill: none; stroke: var(--sand); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .rt-start circle { fill: #fff; stroke: var(--navy); stroke-width: 5; }
.map-svg .rt-start .dot { fill: var(--navy); stroke: none; }
.map-svg .rt-tag rect, .map-svg .office rect { fill: var(--navy); }
.map-svg .rt-tag text, .map-svg .office text { fill: #fff; font-size: 19px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.map-svg .office > circle { fill: var(--sand); stroke: #fff; stroke-width: 5; }
.map-svg .office .dot { fill: #fff; stroke: none; }
.map-svg .office .pulse { fill: rgba(201,164,107,.45); stroke: none; transform-origin: center; transform-box: fill-box; animation: pulse 1.8s ease-out infinite; }
.map-svg .office rect { fill: var(--sand); }
.map-svg .office text { fill: var(--navy); }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.route-steps { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.route-steps li { display: flex; gap: 16px; padding: 20px 22px; border-top: 1px solid var(--line); opacity: .35; transition: opacity .4s; }
.route-steps li:first-child { border-top: 0; }
.route-steps li.lit { opacity: 1; }
.route-steps .no { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--navy); font-weight: 800; }
.route-steps li.lit .no { background: var(--navy); color: #fff; }
.route-steps b { display: block; font-size: 17px; color: var(--navy); }
.route-steps p { margin: 4px 0 0; color: var(--sub); font-size: 15px; }
.route-side .fine { opacity: 1; color: var(--sub); margin: 12px 0 0; }
.map-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.map-btns .btn-navy { margin-top: 0; }
.btn-out { font: inherit; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 13px 22px; cursor: pointer; }
.btn-out:hover { border-color: var(--navy); }
.loc-dl { display: grid; grid-template-columns: 80px 1fr; gap: 8px 14px; margin: 22px 0 0; font-size: 15px; }
.loc-dl dt { color: var(--sub); font-weight: 600; }
.loc-dl dd { margin: 0; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .map-svg .office .pulse { animation: none; } }


/* 예시(샘플) 표시 — 실제 자료로 바꾸기 전까지 공개 점검에서 막힘 */
.sample { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #9a3412; background: #ffedd5; border: 1px dashed #f59e0b; border-radius: 6px; padding: 2px 7px; }

/* 위챗 */
.wechat { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 12px 14px; margin: 0 0 22px; max-width: 420px; }
.wechat img { border-radius: 8px; background: #fff; flex: none; }
.wechat b { display: block; }
.wechat span { display: block; font-size: 14px; margin: 2px 0 6px; }
.wechat code { font-size: 15px; font-weight: 700; }
.wechat small { display: block; font-size: 12px; opacity: .75; margin-top: 6px; }
.btn-out.sm { padding: 6px 14px; font-size: 13px; }
.urgent { font-size: 13px; font-weight: 600; color: #9a3412; background: #fff7ed; border-radius: 10px; padding: 8px 12px; margin: -6px 0 12px; }

/* 처리 사례 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.case { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-top { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; padding: 22px 22px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 120px; }
.case-top b { font-size: 26px; flex-basis: 100%; }
.case-top em { font-style: normal; font-size: 13px; font-weight: 700; border: 1px solid #e7c98f; color: #e7c98f; border-radius: 6px; padding: 2px 8px; }
.case-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.case-no { font-size: 12px; letter-spacing: .14em; color: var(--sub); font-weight: 700; }
.case h3 { font-size: 18px; margin: 8px 0; color: var(--navy); }
.case p { margin: 0; color: var(--sub); font-size: 15px; flex: 1; }
.case-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; font-size: 14px; color: var(--sub); }
.case-foot span { font-weight: 700; color: var(--navy); }

/* 영상 */
.videos { background: var(--bg-2); }
.video-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-top: 32px; }
.video { margin: 0; }
.tube { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; cursor: pointer; background: linear-gradient(135deg, var(--navy) 0%, #24346b 100%); display: grid; place-items: center; }
.tube .sample { position: absolute; left: 12px; top: 12px; }
.tube .play { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.95); position: relative; }
.tube .play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 18px solid var(--navy); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.tube .len { position: absolute; right: 10px; bottom: 10px; font-size: 12px; color: #fff; background: rgba(0,0,0,.55); border-radius: 4px; padding: 1px 6px; }
.tube.soon::before { content: attr(data-msg); position: absolute; inset: auto 0 18px; text-align: center; color: #fff; font-weight: 700; }
.tube iframe { width: 100%; height: 100%; border: 0; display: block; }
.video figcaption { font-weight: 700; margin-top: 10px; }

/* 후기 */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; }
.review-top { display: flex; align-items: center; gap: 8px; }
.review .stars { color: #e0a93b; letter-spacing: 2px; }
.review-top em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--bg-2); border-radius: 999px; padding: 3px 10px; }
.review p { flex: 1; border-left: 3px solid var(--sand-2); padding-left: 14px; margin: 16px 0; color: #3b4458; }
.review footer { font-size: 14px; color: var(--sub); display: flex; gap: 6px; align-items: center; }
.review .src { margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12px; }

/* 상담 신청 현황 */
.status { background: var(--bg-2); }
.status-box { background: #fff; border-radius: var(--r); margin-top: 28px; overflow-x: auto; box-shadow: 0 8px 28px rgba(15,31,77,.06); }
.status-table { width: 100%; border-collapse: collapse; }
.status-table th, .status-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.status-table th { font-size: 14px; color: var(--sub); }
.status-table td.empty { text-align: center; color: var(--sub); }
.st { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; background: var(--bg-2); color: var(--navy); }
.st-new, .st-hold { background: #fff7ed; color: #9a3412; }
.st-contact { background: #eef2fb; color: var(--navy); }
.st-contract, .st-closed { background: var(--navy); color: #fff; }

.cta-em { font-size: 15px; opacity: 1 !important; margin: 12px 0 0 !important; }
.cta-em b { color: #e7c98f; }
.cta .wechat { margin: 26px auto 0; text-align: left; }

@media (max-width: 1100px) { .case-grid, .review-grid { grid-template-columns: 1fr 1fr; } .video-grid { grid-template-columns: 1fr 1fr; } .video:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .case-grid, .review-grid, .video-grid { grid-template-columns: 1fr; } }


/* 체포 대응 가이드 */
.guide-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0 50px; }
.guide-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.guide-hero h1 b { color: #e7c98f; }
.guide-hero p { opacity: .88; font-size: 17px; margin: 16px 0 0; }
.crumb { font-size: 14px; opacity: .8; margin-bottom: 14px; }
.crumb a { color: #fff; }
.guide-body { padding: 40px 0 80px; }
.g-sec { border-bottom: 1px solid var(--line); padding: 28px 0; }
.g-sec h2 { font-size: 23px; display: flex; gap: 12px; align-items: center; color: var(--navy); }
.g-sec h2 span { font-size: 14px; color: var(--sand); font-weight: 800; }
.g-sec ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; color: #3b4458; }
.g-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; counter-reset: g; }
.g-steps li { background: var(--bg-2); border-radius: 12px; padding: 18px 20px 18px 62px; position: relative; counter-increment: g; }
.g-steps li::before { content: counter(g); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.g-steps b { color: var(--navy); font-size: 17px; }
.g-steps p { margin: 4px 0 0; color: #3b4458; }
.guide-body > p { margin: 28px 0; }
.g-cta { background: var(--navy); color: #fff; border-radius: 18px; padding: 36px 30px; text-align: center; }
.g-cta h2 { font-size: 24px; }
.g-cta p { opacity: .85; margin: 10px 0 22px; }


/* ── 읽기 쉽게 (2026-11-23): 긴 문단 → 굵은 한 줄 + 짧은 설명, 분야는 탭으로 하나씩 ── */
.desc { font-size: 17px; max-width: 680px; }
.reason { display: flex; flex-direction: column; padding: 34px 30px; }
.reason h3 { font-size: 23px; font-weight: 800; margin: 14px 0 8px; }
.reason .sum { font-size: 16px; font-weight: 600; color: var(--navy); margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.reason ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reason li { position: relative; padding-left: 24px; color: #3b4458; font-size: 16px; line-height: 1.7; }
.reason li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--sand); border-bottom: 2px solid var(--sand); transform: rotate(-45deg); }

.area-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 34px 0 0; }
.area-tabs button { font: inherit; font-size: 16px; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 11px 20px; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.area-tabs button span { font-size: 12px; color: var(--sand); font-weight: 800; }
.area-tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.area-tabs button.on span { color: #e7c98f; }
.area-panel { display: grid; grid-template-columns: 360px 1fr; gap: 44px; margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.ap-head .tag { font-size: 14px; font-weight: 800; color: var(--sand); }
.ap-head h3 { font-size: 28px; color: var(--navy); margin: 6px 0 16px; }
.ap-head .lead { font-size: 19px; line-height: 1.65; font-weight: 600; margin: 0 0 24px; }
.ap-head .lead b { color: var(--navy); background: linear-gradient(transparent 60%, var(--sand-2) 60%); }
.ap-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-points li { background: var(--bg-2); border-radius: 14px; padding: 20px 22px; }
.ap-points b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.ap-points p { margin: 0; font-size: 16px; color: #3b4458; line-height: 1.7; }
.area-more { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 14px; padding: 18px 26px; margin: 16px 0 0; font-weight: 600; }
.area-more a { color: #e7c98f; font-weight: 800; text-decoration: none; }

.bio { margin: 6px 0 0; display: grid; gap: 4px; }
.bio div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.bio dt { font-weight: 800; color: var(--navy); }
.bio dd { margin: 0; color: #3b4458; font-size: 16px; line-height: 1.7; }
.lawyer-in { grid-template-columns: 300px 1fr 210px; }

.fact p, .flow p, .case p, .review p, .faq details p { font-size: 16px; line-height: 1.7; }
.faq details p { color: #3b4458; }

@media (max-width: 1100px) { .area-panel { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 760px) {
  .area-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .area-tabs button { flex: none; }
  .area-panel { padding: 24px 20px; }
  .ap-points { grid-template-columns: 1fr; }
  .ap-head h3 { font-size: 24px; }
  .bio div { grid-template-columns: 1fr; gap: 4px; }
}


/* ── 참고 레이아웃을 수오재식으로 (좌우 바꿈·남색·물결) ── */
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.sec-head h2 b.pt { color: var(--navy); background: linear-gradient(transparent 62%, var(--sand-2) 62%); }
.sec-head .desc { margin: 0; }
.wave-k { display: flex; align-items: center; gap: 10px; }
.more-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--sand); padding-bottom: 2px; }

/* 처리 사례 */
.case-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; }
.case-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.case-list li { display: flex; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.cl-no { font-size: 26px; font-weight: 800; color: var(--sand); width: 40px; flex: none; }
.case-list li > div { flex: 1; min-width: 0; }
.cl-area { display: inline-block; font-size: 12px; font-weight: 800; color: var(--navy); background: #eef2fb; border-radius: 6px; padding: 2px 8px; }
.case-list b { display: block; font-size: 16px; margin: 6px 0 2px; }
.case-list time { font-size: 13px; color: var(--sub); }
.case-feature { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(15,31,77,.12); display: flex; flex-direction: column; }
.cf-visual { position: relative; background: linear-gradient(140deg, var(--navy-2), var(--navy) 60%, #24346b); color: #fff; padding: 30px 32px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.cf-visual .sample { position: absolute; top: 18px; left: 20px; }
.cf-visual b { font-size: 40px; letter-spacing: -.02em; }
.cf-visual em { font-style: normal; align-self: flex-start; font-size: 13px; font-weight: 700; border: 1px solid #e7c98f; color: #e7c98f; border-radius: 6px; padding: 2px 10px; }
.cf-wave { position: absolute; right: -20px; top: 40px; width: 420px; color: rgba(255,255,255,.14); }
.cf-body { padding: 26px 32px 22px; display: flex; flex-direction: column; flex: 1; }
.cf-body h3 { font-size: 21px; color: var(--navy); margin: 10px 0 8px; }
.cf-body p { color: #3b4458; margin: 0; flex: 1; }

/* 영상 */
.vid-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.tube.big { border-radius: 18px; box-shadow: 0 18px 46px rgba(15,31,77,.2); }
.vid-feature { margin: 0; }
.vid-feature figcaption b { display: block; font-size: 19px; margin-top: 14px; }
.vid-feature figcaption p { margin: 4px 0 0; color: var(--sub); font-size: 15px; }
.vid-intro h2 { margin: 4px 0 14px; }
.vid-intro h2 b.pt { color: var(--navy); }
.vid-stats { display: flex; gap: 0; margin: 22px 0 18px; }
.vid-stats div { padding: 0 22px; border-left: 1px solid var(--line); }
.vid-stats div:first-child { padding-left: 0; border-left: 0; }
.vid-stats dt { font-size: 26px; font-weight: 800; color: var(--navy); }
.vid-stats dd { margin: 0; font-size: 13px; color: var(--sub); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.tags span { font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; }
.vid-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.vid-btns .btn-navy { margin: 0; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; margin: 54px 0 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.row-head h3 { font-size: 20px; }
.row-head small { color: var(--sand); font-weight: 800; margin-left: 4px; }
.row-head .more-link { margin: 0; }
.vid-strip, .shorts-strip { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.vid-strip { grid-auto-columns: calc((100% - 48px) / 4); }
.shorts-strip { grid-auto-columns: calc((100% - 80px) / 6); }
.vid-card, .short { margin: 0; scroll-snap-align: start; }
.vid-card .tube { border-radius: 12px; align-items: end; justify-items: start; padding: 14px; }
.vc-title { color: #fff; font-weight: 800; font-size: 17px; line-height: 1.35; max-width: 85%; }
.vid-card figcaption b { display: block; font-size: 15px; margin-top: 10px; line-height: 1.5; }
.vid-card small { color: var(--sub); font-size: 13px; }
.short-in { aspect-ratio: 9 / 15; border-radius: 16px; background: linear-gradient(180deg, #24346b, var(--navy-2)); color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.short-in .sv { font-size: 12px; font-weight: 700; opacity: .8; }
.short-in b { font-size: 17px; line-height: 1.4; }
.short-in svg { width: 46px; color: #e7c98f; }

/* 후기 */
.chips3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 0; }
.chips3 div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.chips3 dt { font-size: 12px; color: var(--sub); }
.chips3 dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.reviews { background: #f7f4ee; }
.rev-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rev-feature { margin: 0; position: relative; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 44px 34px 28px; display: flex; flex-direction: column; overflow: hidden; }
.rev-feature .q { position: absolute; right: 24px; top: -18px; font-size: 140px; line-height: 1; color: rgba(231,201,143,.35); font-family: Georgia, serif; }
.rev-feature .review-top em { margin-left: auto; font-style: normal; font-size: 13px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px 10px; }
.rev-feature p { flex: 1; font-size: 21px; line-height: 1.7; font-weight: 600; border-left: 3px solid #e7c98f; padding-left: 18px; margin: 24px 0; }
.rev-feature footer { display: flex; gap: 6px; align-items: center; font-size: 14px; opacity: .85; }
.rev-feature .src { margin-left: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px 10px; font-size: 12px; }

/* 현황판 */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: 20px; box-shadow: 0 14px 40px rgba(15,31,77,.1); overflow: hidden; }
.board-col { padding: 30px 30px 20px; overflow-x: auto; }
.board-col + .board-col { border-left: 1px solid var(--line); }
.board-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.board-head h3 { font-size: 24px; }
.cnt { font-weight: 800; color: #fff; background: var(--navy); border-radius: 999px; padding: 4px 14px; font-size: 16px; }
.cnt:empty { display: none; }
.cnt .sample { background: #ffedd5; }
.board .status-table { min-width: 420px; }
.board .status-table th { border-bottom: 2px solid var(--navy); }
.status-table td.ttl { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status .status-box { display: none; }

/* 사무실 */
.office { background: #f7f4ee; }
.mosaic { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; }
.mosaic-small { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; }
.mosaic figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(15,31,77,.1); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic-small figure { aspect-ratio: 4 / 3.2; }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(15,31,77,.78); border-radius: 6px; padding: 4px 9px; }
.office-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.office-info div { background: #fff; border-radius: 14px; padding: 18px 20px; border-top: 3px solid var(--sand); }
.office-info span { font-size: 13px; color: var(--sub); font-weight: 700; }
.office-info b { display: block; font-size: 18px; margin: 4px 0 2px; color: var(--navy); }
.office-info small { font-size: 14px; color: var(--sub); }
.office-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; }
.office-btns .btn-navy { margin: 0; }

@media (max-width: 1100px) {
  .sec-head, .vid-top, .case-wrap, .rev-wrap, .board, .mosaic { grid-template-columns: 1fr; }
  .board-col + .board-col { border-left: 0; border-top: 1px solid var(--line); }
  .vid-strip { grid-auto-columns: 40%; } .shorts-strip { grid-auto-columns: 26%; }
}
@media (max-width: 760px) {
  .sec-head { gap: 12px; }
  .rev-grid, .chips3, .office-info { grid-template-columns: 1fr; }
  .mosaic-small { grid-template-columns: 1fr 1fr; }
  .vid-strip { grid-auto-columns: 78%; } .shorts-strip { grid-auto-columns: 44%; }
  .cf-visual b { font-size: 32px; }
  .rev-feature p { font-size: 18px; }
  .board-col { padding: 22px 16px; }
}

/* 오른쪽 고정 (넓은 화면) · 아래 고정 (휴대폰) */
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 6px; width: 132px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 10px 34px rgba(15,31,77,.18); }
.rail a { text-decoration: none; font-size: 14px; font-weight: 700; text-align: center; padding: 10px 6px; border-radius: 10px; color: var(--navy); }
.rail a:hover { background: var(--bg-2); }
.rail .rail-call { background: var(--navy); color: #fff; line-height: 1.3; }
.rail .rail-call:hover { background: var(--navy-2); }
.rail-call small { display: block; font-size: 11px; opacity: .8; font-weight: 600; }
.rail-call b { font-size: 13px; }
.rail .rail-top { color: var(--sub); font-size: 18px; padding: 4px; }
.mbar { display: none; }

.foot { background: #0b1430; color: rgba(255,255,255,.75); padding: 44px 0 110px; font-size: 14px; }
.foot p { margin: 4px 0; }
.foot-firm b { color: #fff; font-size: 16px; margin-right: 8px; }
.foot a { color: #fff; }

@media (max-width: 1440px) { .rail { display: none; } .foot { padding-bottom: 44px; } }
@media (max-width: 1100px) {
  .gnb { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .lawyer-in { grid-template-columns: 260px 1fr; }
  .route-in { grid-template-columns: 1fr; }
  .cert { grid-column: 1 / -1; max-width: 280px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .top-in { height: 60px; gap: 10px; }
  .logo small, .top-call span { display: none; }
  .logo { flex: 1 1 auto; min-width: 0; }
  .logo span { min-width: 0; }
  .logo b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo .wave { width: 34px; }
  .logo b { font-size: 16px; }
  .top-call { display: none; }
  .langs { margin-left: auto; }
  .langs a { padding: 5px 9px; }
  .hero { padding: 36px 0 40px; }
  .hero-sub { font-size: 16px; }
  .consult { padding: 22px 18px 16px; }
  .consult legend { font-size: 20px; }
  .fields { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .reason-list, .area-grid, .fact-grid, .flow { grid-template-columns: 1fr; }
  .lawyer-in, .route-in { grid-template-columns: 1fr; }
  .lawyer-photo { max-width: 300px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
  .langpop-btns { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .mbar a { text-align: center; padding: 15px 8px calc(15px + env(safe-area-inset-bottom)); font-weight: 800; text-decoration: none; background: #fff; color: var(--navy); }
  .mbar a.on { background: var(--navy); color: #fff; }
  .foot { padding-bottom: 96px; }
}
.cf-body .cl-area { align-self: flex-start; }
.rev-feature .review-top em { color: #fff; }

/* ── 배경에 깊이 (2026-11-23): 사무실 사진·로고 물결 무늬·은은한 빛, 밝은 구역과 어두운 구역을 번갈아 ── */
:root {
  --wave-light: linear-gradient(transparent, transparent);
  --wave-dark: linear-gradient(transparent, transparent);
}
.sec { position: relative; isolation: isolate; }

/* 첫 화면 — 사무실 사진 위에 남색 */
.hero { background:
  radial-gradient(900px 500px at 85% 10%, rgba(201,164,107,.18), transparent 60%),
  linear-gradient(100deg, rgba(10,21,54,.97) 0%, rgba(15,31,77,.92) 48%, rgba(15,31,77,.72) 100%),
  url("/assets/img/bg-hero.webp") center / cover no-repeat; }
.hero-in { z-index: 1; }

/* 선임 이유 — 물결 무늬 + 위아래 빛 */
.reasons { background:
  radial-gradient(700px 360px at 0% 0%, rgba(201,164,107,.16), transparent 70%),
  radial-gradient(700px 400px at 100% 100%, rgba(15,31,77,.08), transparent 70%),
  var(--wave-light), var(--bg-2); }

/* 사건 분야 — 흰 바탕에 옅은 남색 띠 */
.areas { background: linear-gradient(180deg, #fff 0%, #fff 55%, #eef2fa 100%); }
.areas::before { content: ""; position: absolute; right: -120px; top: 60px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(15,31,77,.07), transparent 65%); z-index: -1; }

/* 처리 사례 — 따뜻한 회색 + 무늬 */
.cases { background: linear-gradient(180deg, #eef2fa 0%, #f7f4ee 100%); }

/* 변호사 — 사진 뒤에 금빛 */
.lawyer { background: radial-gradient(600px 500px at 18% 45%, rgba(201,164,107,.22), transparent 65%), linear-gradient(180deg, #f7f4ee, #fff); }

/* 영상 — 어두운 구역 */
.videos { background: radial-gradient(800px 420px at 90% 0%, rgba(201,164,107,.16), transparent 65%), var(--wave-dark), linear-gradient(170deg, #0a1536, #0f1f4d 55%, #16285c); color: #fff; }
.videos .kicker, .videos .row-head small { color: #e7c98f; }
.videos h2, .videos .row-head h3, .videos .vid-feature figcaption b, .videos .vid-card figcaption b { color: #fff; }
.videos h2 b.pt { color: #e7c98f; }
.videos .desc, .videos .vid-feature figcaption p, .videos .vid-card small, .videos .vid-stats dd { color: rgba(255,255,255,.72); }
.videos .vid-stats dt { color: #fff; }
.videos .vid-stats div { border-color: rgba(255,255,255,.18); }
.videos .tags span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
.videos .row-head { border-color: rgba(255,255,255,.15); }
.videos .more-link { color: #fff; }
.videos .btn-navy { background: #e7c98f; color: var(--navy); }
.videos .btn-out { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.videos .tube { background: linear-gradient(135deg, #24346b, #33487f); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.videos .short-in { background: linear-gradient(180deg, #2a3c78, #101c45); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }

/* 진행 절차 — 흰 바탕 + 물결 */
.process { background: var(--wave-light), #fff; }
.flow li { background: #fff; box-shadow: 0 8px 24px rgba(15,31,77,.08); }

/* 꼭 알아야 할 것 — 남색 + 무늬 + 빛 */
.facts { background: radial-gradient(700px 380px at 10% 100%, rgba(201,164,107,.2), transparent 65%), var(--wave-dark), linear-gradient(160deg, var(--navy), var(--navy-2)); }

/* 후기 — 종이 느낌 */
.reviews { background: radial-gradient(800px 420px at 100% 0%, rgba(201,164,107,.18), transparent 65%), linear-gradient(180deg, #f7f4ee, #f1ece2); }
.reviews::before { content: "“"; position: absolute; left: 3%; top: 20px; font: 360px/1 Georgia, serif; color: rgba(15,31,77,.05); z-index: -1; }

/* 현황판 — 흐린 사무실 사진 위에 판 */
.status { background: linear-gradient(180deg, rgba(244,246,250,.86), rgba(244,246,250,.7)), url("/assets/img/bg-status.webp") center / cover no-repeat; }

/* 사무실 — 따뜻한 바탕 + 무늬 */
.office { background: var(--wave-light), linear-gradient(180deg, #f7f4ee, #efe9de); }

/* 자주 묻는 질문 — 옆에서 들어오는 빛 */
.faq { background: radial-gradient(600px 400px at 0% 50%, rgba(15,31,77,.06), transparent 70%), radial-gradient(500px 400px at 100% 0%, rgba(201,164,107,.12), transparent 70%), #fff; }

/* 마무리 — 입구 간판 사진 위에 남색 */
.cta { background: radial-gradient(700px 360px at 50% 0%, rgba(201,164,107,.22), transparent 70%), linear-gradient(180deg, rgba(10,21,54,.9), rgba(15,31,77,.94)), url("/assets/img/bg-cta.webp") center / cover no-repeat; }

/* 오시는 길 — 옅은 남색 바탕 */
.location { background: linear-gradient(180deg, #fff, #eef2fa); }
.videos h2 b, .facts h2 b { background: none; }

/* 머리글 로고 — 실제 로고 그림 */
.logo-img { height: 46px; width: auto; display: block; }
.logo-sub { font-size: 12px; color: var(--sub); border-left: 1px solid var(--line); padding-left: 10px; white-space: nowrap; }
@media (max-width: 760px) { .logo-img { height: 36px; } .logo-sub { display: none; } }
@media (max-width: 760px) {
  .board .status-table { min-width: 0; font-size: 14px; }
  .board .status-table th, .board .status-table td { padding: 11px 6px; }
  .board-col[data-sample] .status-table th:nth-child(3), .board-col[data-sample] .status-table td:nth-child(3) { display: none; }
  .status-table td.ttl { max-width: 190px; }
  .st { padding: 3px 8px; font-size: 12px; white-space: nowrap; }
  .lawyer-photo { max-width: 260px; margin: 0 auto; }
  .more-link { padding: 8px 0 4px; }
  .area-more a { padding: 6px 0; }
}

/* 휴대폰: 지도 글자·이름표 크게 (SVG 단위라 화면이 좁으면 작아짐) */
@media (max-width: 760px) {
  .map-svg .rd { font-size: 34px; stroke-width: 8px; }
  .map-svg .rt-tag text, .map-svg .office text { font-size: 38px; }
  .map-svg .rt-tag rect { x: -215px; y: -36px; width: 430px; height: 72px; rx: 36px; }
  .map-svg .office rect { x: -230px; y: -36px; width: 460px; height: 72px; rx: 36px; }
  .map-svg .rt-line { stroke-width: 12px; }
  .map-svg .rt-under { stroke-width: 28px; }
  .map-svg .osm { font-size: 17px; }
}
.board-col:not([data-sample]) .status-table td:nth-child(3) { white-space: nowrap; }
/* 머리글 메뉴 한 줄로 (영어·중국어는 글자가 길어 두 줄이 되던 것) */
.gnb { gap: 18px; }
.gnb a { white-space: nowrap; }
.top-call { white-space: nowrap; }
@media (max-width: 1380px) { .logo-sub { display: none; } .gnb a { font-size: 14px; } .gnb { gap: 14px; } }
@media (max-width: 1240px) { .gnb { display: none; } }
.sec { overflow-x: clip; }

/* ── 움직임 (2026-11-23): 스크롤하면 차례로 떠오름, 첫 화면 등장, 카드 마우스 효과, 탭·단계 전환 ──
   html.anim 은 스크립트가 켤 때만 붙음 → 스크립트가 없거나 움직임 줄이기 설정이면 처음부터 다 보임 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes softZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.anim .rv { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .85s cubic-bezier(.2,.75,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.anim .rv.in { opacity: 1; transform: none; }
.anim .rv-left { transform: translateX(-36px); }
.anim .rv-right { transform: translateX(36px); }
.anim .rv-zoom { transform: scale(.94); }
.anim .rv-left.in, .anim .rv-right.in, .anim .rv-zoom.in { transform: none; }

/* 첫 화면 */
.anim .hero-copy > * { animation: fadeUp .8s cubic-bezier(.2,.75,.2,1) both; }
.anim .hero-copy > :nth-child(1) { animation-delay: .05s; }
.anim .hero-copy > :nth-child(2) { animation-delay: .15s; }
.anim .hero-copy > :nth-child(3) { animation-delay: .28s; }
.anim .hero-copy > :nth-child(4) { animation-delay: .4s; }
.anim .hero-copy > :nth-child(n+5) { animation-delay: .52s; }
.anim .hero-side { animation: slideIn .9s .3s cubic-bezier(.2,.75,.2,1) both; }
.anim .badges li { animation: fadeUp .6s cubic-bezier(.2,.75,.2,1) both; }
.anim .badges li:nth-child(1) { animation-delay: .45s; } .anim .badges li:nth-child(2) { animation-delay: .55s; } .anim .badges li:nth-child(3) { animation-delay: .65s; }
.anim .hero-photo img { animation: softZoom 1.6s ease-out both; }

/* 탭·단계 바뀔 때 */
.anim .area-panel:not([hidden]) { animation: fadeUp .5s cubic-bezier(.2,.75,.2,1) both; }
.anim .area-panel:not([hidden]) .ap-points li { animation: fadeUp .5s cubic-bezier(.2,.75,.2,1) both; }
.anim .area-panel:not([hidden]) .ap-points li:nth-child(2) { animation-delay: .06s; }
.anim .area-panel:not([hidden]) .ap-points li:nth-child(3) { animation-delay: .12s; }
.anim .area-panel:not([hidden]) .ap-points li:nth-child(4) { animation-delay: .18s; }
.anim .area-panel:not([hidden]) .ap-points li:nth-child(5) { animation-delay: .24s; }
.anim .area-panel:not([hidden]) .ap-points li:nth-child(6) { animation-delay: .3s; }
.anim .consult .step:not([hidden]) { animation: slideIn .4s cubic-bezier(.2,.75,.2,1) both; }
.anim .consult .done:not([hidden]) { animation: fadeUp .5s both; }
.anim .route-steps:not([hidden]) { animation: fadeIn .4s both; }
.steps span { transition: background .3s, color .3s; }

/* 마우스를 올리면 */
.reason, .area-panel .ap-points li, .case-list li, .case-feature, .review, .rev-feature, .flow li, .fact, .office-info div, .vid-card .tube, .short-in, .board, .g-steps li { transition: transform .3s cubic-bezier(.2,.75,.2,1), box-shadow .3s, background .3s; }
@media (hover: hover) {
  .reason:hover, .case-feature:hover, .review:hover, .flow li:hover, .office-info div:hover, .g-steps li:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,31,77,.14); }
  .ap-points li:hover { transform: translateY(-3px); background: #e9eef8; }
  .case-list li:hover { transform: translateX(6px); }
  .fact:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); }
  .rev-feature:hover { transform: translateY(-4px); }
  .vid-card .tube:hover, .short-in:hover { transform: translateY(-5px) scale(1.015); }
  .tube .play { transition: transform .3s; }
  .tube:hover .play { transform: scale(1.12); }
  .btn-navy, .btn-light, .btn-line, .btn-out, .btn-next, .top-call, .area-tabs button, .route-tabs button { transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
  .btn-navy:hover, .btn-next:hover, .top-call:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,31,77,.28); }
  .btn-light:hover, .btn-line:hover, .btn-out:hover { transform: translateY(-2px); }
  .choices span:hover { border-color: var(--navy); background: #f6f8fd; }
}
.choices span { transition: border-color .2s, background .2s; }

/* 꼭 누르게: 상담 버튼에 은은한 맥박 */
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(231,201,143,.55); } 70% { box-shadow: 0 0 0 14px rgba(231,201,143,0); } 100% { box-shadow: 0 0 0 0 rgba(231,201,143,0); } }
.anim .mbar a.on, .anim .rail-call { animation: ring 2.4s ease-out 2s infinite; }

@media (prefers-reduced-motion: reduce) {
  .anim .rv { opacity: 1; transform: none; transition: none; }
  .anim *, .anim *::before { animation: none !important; }
}

/* 분야별 페이지 */
.area-hero { padding-top: 44px; }
.area-hero .crumb a { color: #fff; }
.area-hero h1 b { color: #e7c98f; }
.area-lead { font-size: 18px; font-weight: 600; background: rgba(255,255,255,.08); border-left: 3px solid #e7c98f; border-radius: 8px; padding: 14px 18px; margin: 0 0 24px; }
.area-lead b { color: #e7c98f; }
.form-head { color: #fff; margin: 0 0 12px; }
.form-head b { display: block; font-size: 19px; }
.form-head span { font-size: 14px; opacity: .8; }
.ap-wide { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.ap-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.ap-btns .btn-navy { margin: 0; }
.other-areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 26px; }
.other-areas a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; transition: transform .25s, box-shadow .25s; }
.other-areas a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,31,77,.12); }
.other-areas span { font-size: 12px; font-weight: 800; color: var(--sand); }
.other-areas b { font-size: 17px; color: var(--navy); }
.other-areas em { font-style: normal; font-size: 13px; color: var(--sub); margin-top: auto; }
.others { background: var(--bg-2); }
.foot-areas a { margin-right: 2px; }
@media (max-width: 1100px) { .ap-wide { grid-template-columns: 1fr 1fr; } .other-areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .ap-wide { grid-template-columns: 1fr; } .area-lead { font-size: 16px; } }

/* 앞에는 변호사 개인 이름, 법무법인은 소속으로 (2026-11-23) */
.brand { display: flex; flex-direction: column; line-height: 1.15; color: var(--navy); }
.brand em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--sand); }
.brand b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand small { font-size: 11px; color: var(--sub); margin-top: 1px; }
.hero-brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 14px; }
.hero-brand em { font-style: normal; font-size: 14px; font-weight: 800; color: var(--navy); background: #e7c98f; border-radius: 6px; padding: 3px 10px; align-self: center; }
.hero-brand b { font-size: 26px; font-weight: 800; color: #fff; }
.hero-brand small { font-size: 14px; color: rgba(255,255,255,.75); }
.foot-notice { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.85); }
@media (max-width: 760px) {
  .brand b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand small { display: none; }
  .hero-brand b { font-size: 22px; }
}
/* 한국어 1단계 — 선택지가 10개라 두 줄로 나란히 */
.step[data-step="1"] .choices { grid-template-columns: 1fr 1fr; }
.step[data-step="1"] .choices span { padding: 12px 10px 12px 40px; font-size: 15px; }
.step[data-step="1"] .choices span::before { left: 12px; width: 16px; height: 16px; margin-top: -8px; }
.step[data-step="1"] .choices label { display: flex; }
.step[data-step="1"] .choices span { flex: 1; display: flex; align-items: center; line-height: 1.35; }
@media (max-width: 760px) { .step[data-step="1"] .choices span { font-size: 14px; padding: 12px 8px 12px 36px; } .step[data-step="1"] .choices span::before { left: 11px; } }
.step[data-step="1"] .choices label:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* 숨김(hidden)이 배치(display) 설정에 지지 않게 — 분야 탭 패널이 모두 펼쳐져 보이던 문제 */
[hidden] { display: none !important; }

/* ══ 세련되게 (2026-11-23, 참고: 큰 제목·세리프 소제목·투명 머리글·숫자 정보·어두운 변호사 구역) ══ */
:root { --navy: #0d1834; --navy-2: #070e22; --ink: #15171c; --sand: #b8996a; --line: #e6e8ee; --bg-2: #f5f4f1; --r: 18px; }
body { color: #2b2f38; letter-spacing: -0.005em; }
.kicker { font-family: "Cormorant Garamond", "Pretendard Variable", serif; font-weight: 600; font-size: 15px; letter-spacing: .26em; color: var(--sand); }
.lang-zh .kicker { font-family: inherit; letter-spacing: .12em; }
.sec { padding: 128px 0; }
.sec h2 { font-size: clamp(30px, 3.5vw, 48px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.22; color: var(--ink); }
.lang-zh .sec h2 { letter-spacing: 0; }
.sec h2 b, .sec-head h2 b.pt { background: none; color: var(--sand); }
.desc { font-size: 17px; color: #59606f; }

/* 머리글: 첫 화면 위에서는 투명 + 흰 글자, 내려가면 흰 바탕 */
.has-hero .top { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: background .35s, border-color .35s, box-shadow .35s; }
.has-hero .top-in { height: 84px; }
.has-hero .top:not(.scrolled) .brand b, .has-hero .top:not(.scrolled) .gnb a { color: #fff; }
.has-hero .top:not(.scrolled) .brand em { color: #e3c690; }
.has-hero .top:not(.scrolled) .langs { border-color: rgba(255,255,255,.3); }
.has-hero .top:not(.scrolled) .langs a { color: rgba(255,255,255,.8); }
.has-hero .top:not(.scrolled) .langs a.on { background: #fff; color: var(--navy); }
.has-hero .top:not(.scrolled) .top-call { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); }
.has-hero .top.scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,24,52,.06); backdrop-filter: blur(10px); }
.has-hero .top.scrolled .top-in { height: 72px; }
.top-in { transition: height .35s; }
.brand b { font-size: 21px; }
.gnb a { font-weight: 600; letter-spacing: -0.01em; }
.top-call { border-radius: 999px; padding: 8px 18px; }

/* 첫 화면 */
.hero { padding: 150px 0 96px; min-height: 92vh; display: flex; align-items: center; background:
  radial-gradient(900px 520px at 80% 0%, rgba(184,153,106,.20), transparent 60%),
  linear-gradient(100deg, rgba(7,14,34,.96) 0%, rgba(13,24,52,.88) 50%, rgba(13,24,52,.62) 100%),
  url("/assets/img/bg-hero.webp") center / cover no-repeat; }
.hero > .wrap { width: min(var(--w), 100% - 40px); }
.hero-in { align-items: center; grid-template-columns: 1fr 500px; gap: 64px; }
.hero h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.16; }
.lang-zh .hero h1 { letter-spacing: 0; line-height: 1.3; }
.hero h1 b { color: #e3c690; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.78); opacity: 1; line-height: 1.8; margin: 22px 0 34px; }
.hero-brand { margin-bottom: 22px; }
.hero-brand em { background: transparent; color: #e3c690; border: 1px solid rgba(227,198,144,.6); }
.hero-brand b { font-size: 22px; }
.hero .kicker { color: #d9bd8b; }
.hero-stats { display: flex; gap: 0; margin: 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); max-width: 620px; }
.hero-stats div { flex: 1; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.hero-stats dd { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }
.consult { border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.consult legend { letter-spacing: -0.03em; }

/* 버튼: 둥근 알약 + 화살표 원 */
.btn-navy, .btn-next { background: var(--navy); }
.btn-navy, .btn-light, .btn-out, .btn-line { padding: 14px 26px; letter-spacing: -0.01em; }

/* 카드 */
.reason { border-top: 0; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 0 rgba(13,24,52,.02); }
.reason .no { font-family: "Cormorant Garamond", serif; font-size: 52px; font-weight: 600; }
.reasons { background: var(--bg-2); }
.ap-points li { background: var(--bg-2); border: 1px solid transparent; }
.area-panel { border-radius: 26px; }
.area-tabs button { padding: 12px 22px; }

/* 변호사 — 어두운 구역 */
.lawyer { background: radial-gradient(700px 520px at 15% 50%, rgba(184,153,106,.16), transparent 65%), linear-gradient(160deg, #0b1430, #070e22); color: rgba(255,255,255,.82); }
.lawyer .kicker { color: #d9bd8b; }
.lawyer h2 { color: #fff; }
.lawyer h2 small { color: rgba(255,255,255,.6); }
.lawyer-title { color: #fff; }
.lawyer-title b { color: #e3c690; }
.lawyer-photo img { border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.bio div { border-top-color: rgba(255,255,255,.12); }
.bio dt { color: #e3c690; }
.bio dd { color: rgba(255,255,255,.78); }
.creds { border-top-color: rgba(255,255,255,.12); }
.creds li { color: #fff; }
.cert { background: #fff; }
.cert figcaption { color: #59606f; }

/* 영상 구역이 변호사 바로 뒤라 경계를 살짝 */
.videos { border-top: 1px solid rgba(255,255,255,.06); }

@media (max-width: 1100px) { .hero-in { grid-template-columns: 1fr; } .hero { min-height: 0; } }
@media (max-width: 760px) {
  .sec { padding: 84px 0; }
  .has-hero .top-in, .has-hero .top.scrolled .top-in { height: 64px; }
  .hero { padding: 104px 0 56px; }
  .hero-stats div { padding: 0 12px; }
  .hero-stats dt { font-size: 20px; }
  .hero-stats dd { font-size: 12px; }
  .reason .no { font-size: 42px; }
}
.guide-hero { padding: 140px 0 64px; }
@media (max-width: 760px) { .guide-hero { padding: 100px 0 44px; } }

/* '실시간 상담 현황' 카드 — 첫 화면 상담 신청 칸 아래 */
.hero-side { display: grid; gap: 16px; }
.live { background: rgba(250,250,251,.97); border-radius: 22px; box-shadow: 0 24px 60px rgba(7,14,34,.28); overflow: hidden; }
.anim .live:not([hidden]) { animation: fadeUp .7s .2s cubic-bezier(.2,.75,.2,1) both; }
.live-head { display: flex; align-items: center; gap: 8px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.live-head b { font-size: 15px; color: var(--ink); }
.live-dot { margin-left: auto; font-size: 12px; font-weight: 800; color: #c0392b; display: flex; align-items: center; gap: 6px; letter-spacing: .04em; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d9534f; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.live-x { border: 0; background: none; font-size: 20px; line-height: 1; color: #9aa1ae; cursor: pointer; padding: 0 0 2px 4px; }
.live-x:hover { color: var(--ink); }
.live-win { height: 138px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.live-list { list-style: none; margin: 0; padding: 0; }
.live-list.roll { animation: liveRoll calc(var(--n, 6) * 3.2s) linear infinite; }
.live:hover .live-list.roll { animation-play-state: paused; }
@keyframes liveRoll { to { transform: translateY(-50%); } }
.live-list li { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-bottom: 1px solid #eef0f4; font-size: 14px; }
.lv-tag { flex: none; font-size: 12px; font-weight: 700; color: var(--navy); background: #eceef5; border-radius: 6px; padding: 3px 8px; max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-who { color: #3b4050; font-weight: 600; }
.lv-st { margin-left: auto; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lv-st.done { color: #2e7d4f; }
.lv-st.ing { color: var(--navy); }
.lv-st.ago { color: #9aa1ae; font-weight: 600; }
.live-cta { display: block; text-align: center; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; padding: 14px; }
.live-cta:hover { background: var(--navy-2); }
.live-tel { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; text-decoration: none; color: var(--ink); }
.live-tel span { font-size: 13px; color: #7a8090; }
.live-tel b { font-size: 17px; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) { .live-list.roll { animation: none; } }

/* ══ 두 참고 사이트를 섞은 효과 (2026-11-23) ══ */
/* 맨 위 안내 띠 — 첫 화면 위에서만, 내려가면 접힘 */
.top-note { margin: 0; background: #070e22; color: rgba(255,255,255,.86); text-align: center; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; max-height: 40px; overflow: hidden; transition: max-height .35s, opacity .35s; }
.top-note span { display: block; padding: 10px 16px; }
.top.scrolled .top-note { max-height: 0; opacity: 0; }
.hero { padding-top: 186px; }
@media (max-width: 760px) { .top-note { display: none; } .hero { padding-top: 104px; } }

/* ☰ 버튼 */
.ham { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-content: center; gap: 4px; cursor: pointer; }
.ham i { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s; }
.ham:hover i:nth-child(2) { transform: translateX(3px); }
.has-hero .top:not(.scrolled) .ham { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.has-hero .top:not(.scrolled) .ham i { background: #fff; }

/* 전체 메뉴 덮개 */
.allmenu { position: fixed; inset: 0; z-index: 80; background: radial-gradient(800px 500px at 85% 10%, rgba(184,153,106,.16), transparent 60%), #070e22; color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; }
.allmenu.open { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.am-x { position: absolute; top: 24px; right: 28px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 26px; cursor: pointer; transition: transform .35s, background .25s, color .25s; }
.am-x:hover { background: #fff; color: var(--navy); transform: rotate(90deg); }
.am-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; padding: 140px 0 80px; }
.am-in > div { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s cubic-bezier(.2,.75,.2,1); }
.allmenu.open .am-in > div { opacity: 1; transform: none; }
.allmenu.open .am-in > div:nth-child(2) { transition-delay: .07s; } .allmenu.open .am-in > div:nth-child(3) { transition-delay: .14s; } .allmenu.open .am-in > div:nth-child(4) { transition-delay: .21s; }
.am-brand em { font-style: normal; font-size: 13px; font-weight: 800; color: #e3c690; letter-spacing: .08em; }
.am-brand b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; margin: 6px 0; }
.am-brand p { color: rgba(255,255,255,.55); margin: 0 0 28px; }
.am-tel { display: inline-block; font-size: 26px; font-weight: 800; color: #fff; text-decoration: none; }
.am-tel small { display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); }
.am-col h3 { font-family: "Cormorant Garamond", serif; font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #e3c690; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.am-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.am-col a { display: inline-block; color: rgba(255,255,255,.78); text-decoration: none; font-size: 18px; font-weight: 600; padding: 7px 0; transition: color .2s, padding .25s; }
.am-col a:hover { color: #fff; padding-left: 8px; }
.am-langs { display: flex; gap: 6px; margin-top: 26px; }
.am-langs a { font-size: 13px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.am-langs a.on { background: #fff; color: var(--navy); }
@media (max-width: 900px) { .am-in { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 100px 0 60px; } .am-brand { grid-column: 1 / -1; } .am-brand b { font-size: 30px; } }
@media (max-width: 760px) { .top-in .ham { width: 40px; height: 40px; } .langs { margin-left: auto; } }

/* 오른쪽 버튼 묶음 — 어두운 알약 + 원형 아이콘 + 말풍선 */
.rail { position: fixed; right: 20px; top: 50%; transform: translateY(-46%); z-index: 40; width: 92px; display: grid; gap: 4px; padding: 14px 8px 10px; background: #0b1430; border-radius: 46px; box-shadow: 0 20px 50px rgba(7,14,34,.35); }
.rail .rq { display: grid; justify-items: center; gap: 6px; padding: 8px 0; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; border-radius: 20px; position: relative; overflow: hidden; transition: background .25s; }
.rail .rq:hover { background: rgba(255,255,255,.07); }
.ring { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 2px solid; transition: transform .3s, box-shadow .3s; }
.ring svg { width: 22px; height: 22px; }
.ring.r1 { border-color: #e3c690; color: #e3c690; box-shadow: 0 0 14px rgba(227,198,144,.35); }
.ring.r2 { border-color: #9fb6ff; color: #9fb6ff; box-shadow: 0 0 14px rgba(159,182,255,.3); }
.ring.r3 { border-color: #ffffff; color: #ffffff; box-shadow: 0 0 14px rgba(255,255,255,.25); }
.rail .rq:hover .ring { transform: scale(1.08); }
.rail .rail-top { color: rgba(255,255,255,.7); text-align: center; text-decoration: none; font-size: 18px; padding: 4px 0 2px; }
.rail-bubble { position: absolute; right: 2px; bottom: calc(100% + 14px); white-space: nowrap; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--sand); box-shadow: 0 10px 24px rgba(7,14,34,.18); animation: bob 2.6s ease-in-out infinite; }
.rail-bubble::after { content: ""; position: absolute; right: 38px; top: 100%; border: 7px solid transparent; border-top-color: var(--sand); }
@keyframes bob { 50% { transform: translateY(-5px); } }
@media (max-width: 1440px) { .rail { display: grid; } }
@media (max-width: 1100px) { .rail { display: none; } }

/* 사건 분야 — 아이콘 타일, 마우스를 올리면 아래에서 남색이 차오름 */
.area-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.area-tabs button { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 10px; padding: 22px 20px; border-radius: 18px; text-align: left; font-size: 17px; isolation: isolate; }
.area-tabs button::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.75,.2,1); z-index: -1; }
.area-tabs button::after { content: "→"; position: absolute; right: 18px; bottom: 18px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; color: #e3c690; font-weight: 800; }
.area-tabs button span { font-size: 12px; }
.area-tabs .ic { width: 34px; height: 34px; background: currentColor; color: var(--navy); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; transition: color .3s; }
.area-tabs button:hover, .area-tabs button.on { color: #fff; border-color: transparent; }
.area-tabs button:hover::before, .area-tabs button.on::before { transform: none; }
.area-tabs button:hover::after, .area-tabs button.on::after { opacity: 1; transform: none; }
.area-tabs button:hover .ic, .area-tabs button.on .ic { color: #e3c690; }
.area-tabs button.on { background: transparent; }
.area-tabs button[data-slug="voice-phishing"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18h3'/%3E%3Cpath d='M9 7.5l6 5M15 7.5l-6 5'/%3E%3C/svg%3E"); }
.area-tabs button[data-slug="drug-courier"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16v10a2 2 0 01-2 2H6a2 2 0 01-2-2z'/%3E%3Cpath d='M9 9V6a3 3 0 016 0v3'/%3E%3Cpath d='M10 15h4'/%3E%3C/svg%3E"); }
.area-tabs button[data-slug="sex-crime"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 012-2h2.5l1.5-2h6l1.5 2H19a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }
.area-tabs button[data-slug="assault"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.area-tabs button[data-slug="theft"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 01-2 1.8H8.2a2 2 0 01-2-1.8z'/%3E%3Cpath d='M9 8V6a3 3 0 016 0v2'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) { .area-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .area-tabs { display: flex; } .area-tabs button { flex: none; width: 150px; padding: 16px; font-size: 15px; } }

/* 물결 클릭 */
.btn-navy, .btn-light, .btn-next, .btn-out, .btn-line, .live-cta, .top-call, .route-tabs button { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); pointer-events: none; transform: scale(0); animation: ripple .65s ease-out forwards; }
.btn-out .ripple, .btn-light .ripple, .route-tabs button:not(.on) .ripple { background: rgba(13,24,52,.14); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* 자주 묻는 질문 — ＋ 원이 열리면 ×로 */
.faq summary::after { content: "+"; top: 50%; right: 0; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .3s, background .3s, color .3s; color: var(--navy); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.faq summary { padding-right: 48px; }
.faq summary:hover { color: var(--navy); }
@media (max-width: 1360px) { .rail { display: none !important; } }
/* 첫 화면 큰 숫자 (참고 화면처럼 숫자 크게 + 단위 작게, 사이에 세로선) */
.hero-stats { max-width: 680px; padding-top: 30px; }
.hero-stats div { text-align: left; padding: 0 30px; }
.hero-stats dt { display: flex; align-items: baseline; gap: 6px; font-size: 54px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.hero-stats dt small { font-size: 20px; font-weight: 700; letter-spacing: 0; color: rgba(255,255,255,.85); }
.hero-stats dd { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.66); }
.hero-stats .sample { vertical-align: 2px; margin-left: 4px; }
@media (max-width: 760px) { .hero-stats div { padding: 0 12px; } .hero-stats dt { font-size: 32px; } .hero-stats dt small { font-size: 14px; } .hero-stats dd { font-size: 12px; margin-top: 8px; } }

/* ══ 첫 화면이 한 화면에 들어오게 (창 높이에 맞춰 줄어듦) ══ */
.has-hero .top-in { height: 68px; }
.has-hero .top.scrolled .top-in { height: 64px; }
.hero { padding: 128px 0 40px; min-height: 100vh; min-height: 100svh; box-sizing: border-box; }
.hero-in { gap: 48px; }
.hero h1 { font-size: clamp(32px, min(4.6vw, 7vh), 64px); }
.hero-brand { margin-bottom: 1.6vh; }
.hero .kicker { margin-bottom: 1vh; }
.hero-sub { font-size: clamp(15px, 2vh, 18px); margin: 2.2vh 0 3vh; }
.hero-stats { padding-top: 2.6vh; }
.hero-stats dt { font-size: clamp(30px, 6vh, 54px); }
.hero-stats dd { margin-top: 1vh; }
/* 상담 신청 칸을 낮게 */
.hero .consult { padding: 22px 24px 16px; }
.hero .consult legend { font-size: 20px; margin-bottom: 12px; }
.hero .steps { margin-bottom: 12px; }
.hero .step[data-step="1"] .choices { grid-template-columns: repeat(3, 1fr); gap: 7px; }
.lang-en .hero .step[data-step="1"] .choices { grid-template-columns: 1fr 1fr; }
.hero .choices span { padding: 10px 8px 10px 34px; font-size: 14px; }
.hero .choices span::before { left: 10px; width: 15px; height: 15px; margin-top: -7.5px; }
.hero .step-nav { margin-top: 12px; }
.hero .btn-next { padding: 10px 20px; }
.hero .form-note { font-size: 11.5px; }
.hero-side { gap: 12px; }
/* 실시간 상담 현황 — 한 줄씩 바뀜 */
.live-head { padding: 12px 16px 10px; }
.live-win { height: 46px; -webkit-mask-image: none; mask-image: none; }
.live-list.roll { animation: none; transition: transform .6s cubic-bezier(.2,.75,.2,1); }
.live-foot { display: flex; }
.live-foot .live-cta { flex: 1; padding: 12px; font-size: 14px; }
.live-foot .live-tel { flex: none; padding: 0 16px; background: #eef0f5; gap: 8px; }
.live-foot .live-tel span { display: none; }
.live-foot .live-tel b { font-size: 15px; }
@media (max-height: 760px) and (min-width: 1101px) { .hero .form-note { display: none; } .hero-brand { display: none; } }
@media (max-width: 1100px) { .hero { min-height: 0; padding-top: 120px; } .hero .step[data-step="1"] .choices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .hero { padding-top: 92px; } }

/* 실시간 상담 현황 — 상담 칸 아래 한 줄 띠 (첫 화면 높이를 아끼려고 머리·바닥 없앰) */
.live { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 18px; border-radius: 14px;
  background: rgba(12,20,44,.62); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 32px rgba(7,14,34,.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; overflow: hidden; }
.live[hidden] { display: none !important; }
.live .live-dot { flex: none; width: 8px; height: 8px; margin: 0; padding: 0; border-radius: 50%; background: #ff5b57; box-shadow: 0 0 0 4px rgba(255,91,87,.18); animation: blink 1.4s ease-in-out infinite; }
.live .live-dot::before { display: none; }
.live-title { flex: none; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.78); padding-right: 12px; border-right: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
.live .live-win { flex: 1; min-width: 0; height: 44px; overflow: hidden; -webkit-mask-image: none; mask-image: none; }
.live .live-list li { height: 44px; padding: 0; border: 0; gap: 8px; font-size: 14px; }
.live .lv-tag { color: #fff; background: rgba(255,255,255,.14); }
.live .lv-who { color: #fff; }
.live .lv-st.ago { color: rgba(255,255,255,.6); }
.live .lv-st.done { color: #7fe0a6; }
.live .lv-st.ing { color: #c9b27a; }
.live .live-x { flex: none; width: 32px; height: 32px; padding: 0; border-radius: 50%; color: rgba(255,255,255,.55); font-size: 18px; }
.live .live-x:hover { color: #fff; background: rgba(255,255,255,.1); }
@media (max-width: 760px) { .live { height: 48px; padding-left: 14px; } .live-title { font-size: 12px; padding-right: 10px; } .live .live-list li { font-size: 13px; } }
/* 실시간 상담 현황 — 여러 줄 카드 (화면이 낮으면 1줄) */
.live { display: block; height: auto; padding: 0; border-radius: 18px; }
.live-top { display: flex; align-items: center; gap: 10px; padding: 12px 10px 10px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.live-top .live-title { border: 0; padding: 0; font-size: 14px; color: #fff; }
.live-badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #ff8d89; border: 1px solid rgba(255,141,137,.45); border-radius: 999px; padding: 2px 8px; }
.live-top .live-x { margin-left: auto; }
.live .live-win { height: 126px; padding: 0 18px; }
.live .live-list li { height: 42px; border-bottom: 1px solid rgba(255,255,255,.07); }
@media (max-height: 800px) and (min-width: 1101px) { .live .live-win { height: 42px; } .live-top { padding-top: 8px; padding-bottom: 6px; } }

/* 첫 화면 오른쪽 — 변호사 사진 (상담 칸은 consult/ 페이지로) */
.hero-in { grid-template-columns: 1fr minmax(360px, 520px); }
.hero-photo { position: relative; display: block; align-self: end; justify-self: stretch; width: 100%; max-width: none; filter: none; overflow: visible; border-radius: 0; box-shadow: none; margin-bottom: -40px; min-height: 0; }
.hero-photo::before { content: ""; position: absolute; left: 50%; bottom: 8%; width: 86%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(227,198,144,.28), rgba(227,198,144,0) 68%); }
.hero-face { position: relative; display: block; width: auto; height: min(calc(100svh - 150px), 820px); max-width: 100%; object-fit: contain; object-position: bottom; margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(4,9,24,.45)); -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.hero-photo .live { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); width: min(440px, 100%); }
.anim .hero-photo .live:not([hidden]) { animation: none; }
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-photo { margin: 24px auto -40px; width: min(420px, 100%); justify-self: center; }
  .hero-face { height: auto; width: 100%; }
  .hero-photo .live { bottom: 28px; }
}
/* 상담 신청 페이지 */
.consult-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.consult-points li { position: relative; padding-left: 26px; color: rgba(255,255,255,.82); }
.consult-points li::before { content: "✓"; position: absolute; left: 0; color: var(--sand); font-weight: 800; }
.consult-tel { display: inline-flex; flex-direction: column; padding: 14px 22px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; }
.consult-tel span { font-size: 13px; opacity: .75; }
.consult-tel b { font-size: 24px; letter-spacing: -.01em; }
.consult-page .hero { min-height: 0; }
.rail .rail-top:hover { background: rgba(255,255,255,.1); color: #fff; }
/* 실시간 현황은 왼쪽 숫자 아래, 사진은 오른쪽에 크게 바닥에 붙여 */
.hero-copy .live { position: static; transform: none; width: min(480px, 100%); margin-top: 3.2vh; }
.hero-photo { align-self: stretch; display: flex; align-items: flex-end; justify-content: flex-end; }
.hero-face { height: min(calc(100svh - 120px), 880px); margin: 0 40px 0 auto; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent);
  filter: drop-shadow(0 0 1px rgba(255,255,255,.25)) drop-shadow(-24px 30px 40px rgba(4,9,24,.5)); }
.hero-photo::before { left: 58%; bottom: 18%; width: 110%; background: radial-gradient(circle, rgba(227,198,144,.22), rgba(159,182,255,.06) 45%, transparent 70%); }
@media (max-width: 1100px) { .hero-face { margin: 0 auto; height: auto; } .hero-photo { justify-content: center; } }

/* 첫 화면 사진 — 누끼 대신 원본 사진을 액자형 카드로 */
.hero-photo { align-self: center; display: flex; justify-content: center; align-items: center; margin-bottom: 0; }
.hero-photo::before { display: none; }
.hero-card { position: relative; margin: 0; width: min(100%, calc((100svh - 190px) * .8), 460px); aspect-ratio: 4 / 5; }
.hero-card::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(227,198,144,.55); border-radius: 26px; }
.hero-card .hero-face { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; margin: 0; border-radius: 24px;
  filter: none; -webkit-mask-image: none; mask-image: none; box-shadow: 0 30px 70px rgba(4,9,24,.5); }
.hero-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 22px; border-radius: 0 0 24px 24px; color: #fff;
  background: linear-gradient(transparent, rgba(11,20,48,.92)); display: grid; gap: 2px; }
.hero-card figcaption em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--sand); letter-spacing: .06em; }
.hero-card figcaption b { font-size: 26px; letter-spacing: -.01em; }
.hero-card figcaption small { font-size: 13px; opacity: .75; }
@media (max-width: 1100px) { .hero-photo { margin: 32px auto 0; } .hero-card { width: min(100%, 380px); } .hero-card::before { inset: 12px -12px -12px 12px; } }

/* 실시간 상담 현황 — 밝은 카드로 눈에 띄게 */
.hero-copy .live { background: #fff; color: var(--ink); border: 0; border-top: 4px solid #e5484d; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 22px 50px rgba(4,9,24,.45); border-radius: 16px; }
.hero-copy .live-top { border-bottom: 1px solid #eef0f4; padding: 14px 12px 12px 18px; }
.hero-copy .live-top .live-title { color: var(--ink); font-size: 16px; font-weight: 800; }
.hero-copy .live .live-dot { background: #e5484d; box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.55); } 100% { box-shadow: 0 0 0 10px rgba(229,72,77,0); } }
.hero-copy .live-badge { color: #fff; background: #e5484d; border: 0; }
.hero-copy .live .live-x { color: #9aa1ae; }
.hero-copy .live .live-x:hover { color: var(--ink); background: #f1f3f7; }
.hero-copy .live .live-list li { border-bottom: 1px solid #f1f3f7; font-size: 15px; }
.hero-copy .live .lv-tag { color: var(--navy); background: #eef1f8; }
.hero-copy .live .lv-who { color: var(--ink); font-weight: 700; }
.hero-copy .live .lv-st.ago { color: #e5484d; font-weight: 700; }
.hero-copy .live .lv-st.done { color: #2e7d4f; }
.hero-copy .live .lv-st.ing { color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .hero-copy .live .live-dot { animation: none; } }

/* ── 첫 화면 다시: 사진을 오른쪽 배경에 깔고 남색으로 녹임, 장식 줄임 ── */
.home-hero { background: radial-gradient(1000px 700px at 18% 60%, #13224a, #0a1330 70%); }
.home-hero .hero-in { position: static; grid-template-columns: minmax(0, 640px) 1fr; }
.home-hero .hero-copy { position: relative; z-index: 2; }
.home-hero .hero-photo { position: absolute; inset: 0 0 0 auto; align-self: stretch; justify-self: stretch; height: auto; width: 54%; margin: 0; z-index: 0; display: block; filter: none; overflow: hidden; }
.home-hero .hero-photo::before { display: none; }
.home-hero .hero-face { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: 60% 0%;
  filter: grayscale(1) brightness(.86) contrast(1.12); -webkit-mask-image: none; mask-image: none; border-radius: 0; box-shadow: none; }
.home-hero .hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, #0a1330 0%, rgba(10,19,48,.82) 18%, rgba(10,19,48,.25) 46%, rgba(10,19,48,0) 70%),
  linear-gradient(0deg, #0a1330 0%, rgba(10,19,48,0) 30%),
  linear-gradient(180deg, rgba(10,19,48,.9) 0%, rgba(10,19,48,0) 26%),
  linear-gradient(90deg, rgba(23,40,92,.35), rgba(23,40,92,.35)); }
/* 이름 한 줄 — 사진 아래 오른쪽 */
.home-hero .hero-photo .hp-name { position: absolute; right: 7%; bottom: 9%; z-index: 1; text-align: right; color: #fff; }
/* 실시간 현황 — 흰 카드, 장식 빼고 단정하게 */
.home-hero .live { border-top: 0; border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.home-hero .live-top .live-title { font-size: 15px; }
.home-hero .live .lv-st.ago { color: #8a8f9c; font-weight: 600; }
.home-hero .hero-stats { border-top-color: rgba(255,255,255,.14); }
@media (max-width: 1100px) {
  .home-hero { padding-bottom: 0; }
  .home-hero .hero-in { grid-template-columns: 1fr; }
  .home-hero .hero-photo { position: relative; inset: auto; width: calc(100% + 40px); margin: 24px -20px 0; height: 120vw; max-height: 560px; }
  .home-hero .hero-photo::after { background: linear-gradient(0deg, #0a1330 0%, rgba(10,19,48,0) 35%), linear-gradient(180deg, #0a1330 0%, rgba(10,19,48,0) 30%), linear-gradient(rgba(23,40,92,.3), rgba(23,40,92,.3)); }
}
@media (max-width: 1100px) {
  .home-hero .hero-photo { -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
  .home-hero .hero-photo::after { background: linear-gradient(rgba(23,40,92,.3), rgba(23,40,92,.3)); }
}
@media (max-width: 1100px) { .home-hero .hero-face { filter: grayscale(1) brightness(.72) contrast(1.15); } }
/* 모바일 첫 화면 — 사진을 위쪽 배경으로, 제목은 사진 아래쪽에서 시작 */
@media (max-width: 1100px) {
  .home-hero { background: #0a1330; padding-top: min(78vw, 420px); padding-bottom: 48px; }
  .home-hero .hero-photo { position: absolute; inset: 0 0 auto 0; width: 100%; height: min(112vw, 600px); max-height: none; margin: 0;
    -webkit-mask-image: none; mask-image: none; }
  .home-hero .hero-face { object-position: 62% 0%; filter: grayscale(1) brightness(.8) contrast(1.15); }
  .home-hero .hero-photo::after { background:
    linear-gradient(180deg, rgba(10,19,48,.75) 0%, rgba(10,19,48,0) 22%, rgba(10,19,48,0) 45%, rgba(10,19,48,.85) 75%, #0a1330 100%),
    linear-gradient(rgba(23,40,92,.28), rgba(23,40,92,.28)); }
}
/* 모바일 첫 화면이 한 화면(아래 버튼 줄 위)에 들어오게 */
@media (max-width: 760px) {
  .home-hero { padding-top: min(58vw, 300px); padding-bottom: 28px; }
  .home-hero .hero-photo { height: min(96vw, 480px); }
  .home-hero .kicker { margin-bottom: 8px; }
  .home-hero .hero-sub { font-size: 15px; line-height: 1.65; margin: 12px 0 18px; }
  .home-hero .hero-stats { padding-top: 16px; }
  .home-hero .hero-stats dt { font-size: 34px; }
  .home-hero .hero-copy .live { margin-top: 18px; }
  .home-hero .live .live-win { height: 42px; }
  .home-hero .live-top { padding-top: 10px; padding-bottom: 8px; }
}
@media (max-width: 760px) {
  .home-hero { --ph: clamp(200px, calc(100svh - 600px), 380px); padding-top: var(--ph); }
  .home-hero .hero-photo { height: calc(var(--ph) + 200px); }
}

/* 한국어 분야 7개 — 교통사고·이혼 아이콘, 한 줄 칸 수 자동 */
.area-tabs button[data-slug="traffic"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16v-4l2-5h10l2 5v4'/%3E%3Cpath d='M3 16h18v-4H3z'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.5'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.5'/%3E%3C/svg%3E"); }
.area-tabs button[data-slug="divorce"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3Cpath d='M12 7.4l-1.6 3.6 3 2-1.4 3.5'/%3E%3C/svg%3E"); }
.area-tabs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 760px) { .area-tabs { display: flex; } }

/* 어두운 구역 제목 — 뒤에 온 .sec h2(어두운 글씨)가 덮어써서 안 보이던 것 */
.videos h2, .facts h2, .cta h2 { color: #fff; }
.videos h2 b, .facts h2 b, .cta h2 b, .videos h2 b.pt { color: #e3c690; }

/* 모든 페이지 — 단색 대신 재질: 고운 종이 입자 + 아주 옅은 리넨 결 (어두운 구역엔 천 느낌) */
body::after { content: ""; position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .12; mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); }
@media print { body::after { display: none; } }
/* 변호사 소개 — 어두운 배경 위 부제목이 안 보이던 것 */
.lawyer .lawyer-title { color: rgba(255,255,255,.78); }
.lawyer .lawyer-title b { color: #e3c690; }
.lawyer h2 small { color: rgba(255,255,255,.75); }

/* 모바일 첫 화면은 첫 섹션만 — 화면 높이를 꽉 채우고 내용은 아래 버튼 줄 바로 위에 */
@media (max-width: 760px) {
  .home-hero { min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: 84px; box-sizing: border-box; }
  .home-hero .hero-photo { height: max(calc(var(--ph) + 200px), calc(100svh - 420px)); }
}
/* PC 첫 화면 사진 — 왼쪽·아래를 색 덧칠 대신 투명하게 지워서 배경과 이음새(세로줄) 없이 */
@media (min-width: 1101px) {
  .home-hero .hero-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%), linear-gradient(0deg, transparent 0, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 42%), linear-gradient(0deg, transparent 0, #000 22%);
    mask-composite: intersect; }
  .home-hero .hero-photo::after { background: linear-gradient(180deg, rgba(10,19,48,.85) 0%, rgba(10,19,48,0) 24%), linear-gradient(rgba(23,40,92,.32), rgba(23,40,92,.32)); }
}

/* 모바일 분야 탭 — 옆으로 넘기라는 표시: 안내 글씨 + 오른쪽 끝 흐림 + 다음 칸 살짝 보이기 */
.swipe-hint { display: none; }
@media (max-width: 760px) {
  .swipe-hint { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin: 22px 0 -18px; font-size: 13px; font-weight: 700; color: var(--sand); transition: opacity .3s; }
  .swipe-hint i { font-style: normal; display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
  @keyframes nudge { 50% { transform: translateX(6px); } }
  .swiped .swipe-hint { opacity: 0; }
  .area-tabs { scroll-snap-type: x mandatory; scroll-padding-left: 20px;
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
  .area-tabs button { width: 136px; scroll-snap-align: start; }
  .area-tabs button::after { display: none; }   /* 좁은 칸에서 → 가 글자와 겹침 */
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .swipe-hint i { animation: none; } }
/* 모바일 실시간 상담 현황 — 세 줄 (늘어난 만큼 사진 자리를 줄여 첫 화면에 그대로 들어오게) */
@media (max-width: 760px) {
  .home-hero .live .live-win { height: 126px; }
  .home-hero { --ph: clamp(120px, calc(100svh - 690px), 300px); }
}
/* 실시간 상담 현황 — 흰 카드가 튀어서 반투명 유리 카드로 (색 포인트는 빨간 점·LIVE·금색만) */
.home-hero .hero-copy .live { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-top: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.25); color: #fff; }
.home-hero .hero-copy .live-top { border-bottom-color: rgba(255,255,255,.1); }
.home-hero .hero-copy .live-top .live-title { color: #fff; font-size: 15px; font-weight: 700; }
.home-hero .hero-copy .live-badge { background: transparent; color: #ff8d89; border: 1px solid rgba(255,141,137,.5); }
.home-hero .hero-copy .live .live-x { color: rgba(255,255,255,.5); }
.home-hero .hero-copy .live .live-x:hover { color: #fff; background: rgba(255,255,255,.08); }
.home-hero .hero-copy .live .live-list li { border-bottom-color: rgba(255,255,255,.07); }
.home-hero .hero-copy .live .lv-tag { color: #e3c690; background: rgba(227,198,144,.12); }
.home-hero .hero-copy .live .lv-who { color: #fff; }
.home-hero .hero-copy .live .lv-st.ago { color: rgba(255,255,255,.55); font-weight: 600; }
.home-hero .hero-copy .live .lv-st.done { color: #7fe0a6; }
.home-hero .hero-copy .live .lv-st.ing { color: #9fb6ff; }
.live.is-empty .live-win { height: auto; }
.live .lv-empty { display: block; padding: 14px 0; font-size: 14px; font-weight: 600; color: #e3c690; text-decoration: none; }
.live .lv-empty:hover { text-decoration: underline; }
.live.is-empty .live-list li { height: auto; border: 0; }

/* 첫 화면 배경 — 단색 남색 대신 흐린 사무실 사진 위에 남색 막 */
.home-hero { background: linear-gradient(100deg, rgba(10,19,48,.9) 0%, rgba(10,19,48,.78) 45%, rgba(10,19,48,.7) 100%), url("/assets/img/blur-0.webp") center / cover no-repeat; }
@media (max-width: 1100px) { .home-hero { background: linear-gradient(rgba(10,19,48,.78), rgba(10,19,48,.9)), url("/assets/img/blur-0.webp") center / cover no-repeat; } }

/* 종이 질감 — 고운 입자 + 얼룩덜룩한 종이 결 (앞서 넣은 리넨 격자 대신) */
body::after { opacity: .55; mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='.45' intercept='.66'/%3E%3CfeFuncG type='linear' slope='.45' intercept='.65'/%3E%3CfeFuncB type='linear' slope='.45' intercept='.62'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .02' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='.5' intercept='.66'/%3E%3CfeFuncG type='linear' slope='.5' intercept='.63'/%3E%3CfeFuncB type='linear' slope='.5' intercept='.56'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"); }
body::after { z-index: 30; }   /* 머리글(50)·오른쪽 버튼(40)·아래 버튼 줄(45)·팝업 아래에 — 질감이 버튼을 칙칙하게 만들지 않게 */
/* 모바일 첫 화면 사진 — 아래 끝이 가로줄로 끊겨 보여서 서서히 사라지게 */
@media (max-width: 1100px) {
  .home-hero .hero-photo { -webkit-mask-image: linear-gradient(#000 45%, transparent 92%); mask-image: linear-gradient(#000 45%, transparent 92%); }
  .home-hero .hero-photo::after { background: linear-gradient(180deg, rgba(10,19,48,.6) 0%, rgba(10,19,48,0) 22%), linear-gradient(rgba(23,40,92,.28), rgba(23,40,92,.28)); }
}
/* 모바일 첫 화면 — 변호사 얼굴이 글씨에 가리지 않게: 사진을 오른쪽 위로 작게, 글씨는 그 아래에서 시작 */
@media (max-width: 760px) {
  .home-hero { --ph: clamp(190px, calc(100svh - 620px), 330px); }
  .home-hero .hero-photo { inset: 64px 0 auto auto; width: 72%; height: calc(var(--ph) - 10px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(transparent 0, #000 16%, #000 70%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(transparent 0, #000 16%, #000 70%, transparent); mask-composite: intersect; }
  .home-hero .hero-face { object-fit: cover; object-position: 55% 6%; }
  .home-hero .hero-photo::after { background: linear-gradient(rgba(23,40,92,.22), rgba(23,40,92,.22)); }
  .home-hero h1 { font-size: 27px; }
  .home-hero .hero-sub { font-size: 14px; margin: 10px 0 14px; }
  .home-hero .hero-stats { padding-top: 12px; }
  .home-hero .hero-stats dt { font-size: 30px; }
  .home-hero .hero-stats dd { margin-top: 4px; }
  .home-hero .hero-copy .live { margin-top: 14px; }
  .home-hero .live .live-list li { height: 40px; }
  .home-hero .live .live-win { height: 120px; }
}
/* 모바일 첫 화면 — 사진을 화면 폭 꽉 찬 배경으로 (가장자리 상자 없이). 얼굴은 위쪽, 몸통 위로 글씨 */
@media (max-width: 760px) {
  .home-hero .hero-photo { inset: 0 0 auto 0; width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(#000 60%, transparent 100%); mask-image: linear-gradient(#000 60%, transparent 100%); }
  .home-hero .hero-face { position: static; display: block; width: 100%; height: auto; object-fit: initial; }
  .home-hero .hero-photo::after { background:
    linear-gradient(180deg, rgba(10,19,48,.6) 0%, rgba(10,19,48,0) 14%, rgba(10,19,48,0) 36%, rgba(10,19,48,.72) 58%, rgba(10,19,48,.9) 100%),
    linear-gradient(rgba(23,40,92,.25), rgba(23,40,92,.25)); }
  .home-hero { --ph: clamp(220px, calc(100svh - 600px), 340px); }
}

/* 실제 처리 사례 — 판결문 사진 + 상황·대응 */
.real-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.rc { display: grid; grid-template-columns: 200px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 14px 36px rgba(15,31,77,.08); }
.rc-doc { margin: 0; }
.rc-doc a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(15,31,77,.12); transition: transform .3s; }
.rc-doc a:hover { transform: translateY(-3px); }
.rc-doc img { display: block; width: 100%; height: auto; }
.rc-doc figcaption { font-size: 12px; color: var(--sub); margin-top: 8px; text-align: center; }
.rc-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: var(--sub); margin: 0; }
.rc-body h3 { font-size: 19px; color: var(--navy); margin: 10px 0 8px; line-height: 1.4; }
.rc-result { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.rc-result b { font-size: 26px; color: #b0893e; letter-spacing: -.01em; }
.rc-result small { font-size: 13px; color: var(--sub); }
.rc-body h4 { font-size: 13px; font-weight: 800; color: var(--navy); margin: 12px 0 4px; letter-spacing: .02em; }
.rc-body p, .rc-body li { font-size: 14.5px; line-height: 1.7; color: #3b4458; }
.rc-body ul { margin: 0; padding-left: 18px; }
.rc-note { font-size: 13px; color: var(--sub); margin-top: 18px; }
.status-table .ttl a { color: inherit; text-decoration: none; }
@media (max-width: 1100px) { .real-cases { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .rc { grid-template-columns: 1fr; } .rc-doc { max-width: 220px; } }
/* 처리 사례 — 작게: 판결문 썸네일 + 제목·결과, 상황·대응은 펼쳐 보기 */
.real-cases { gap: 18px; margin-top: 26px; }
.rc { grid-template-columns: 96px 1fr; gap: 18px; padding: 18px; border-radius: 16px; align-items: start; }
.rc-doc figcaption { display: none; }
.rc-doc a { border-radius: 6px; }
.rc-body h3 { font-size: 17px; margin: 6px 0 4px; }
.rc-result { margin: 0 0 6px; }
.rc-result b { font-size: 21px; }
.rc-more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy); list-style: none; }
.rc-more summary::-webkit-details-marker { display: none; }
.rc-more summary::after { content: " +"; color: var(--sand); }
.rc-more[open] summary::after { content: " −"; }
.rc-more h4 { margin-top: 10px; }
@media (max-width: 760px) { .rc { grid-template-columns: 80px 1fr; } .rc-doc { max-width: none; } }
.real-cases { align-items: start; }   /* 한 카드를 펼쳐도 옆 카드는 그대로 */

/* 변호사 소개 — 한 화면에 들어오게: 경력은 2열 카드, 자격은 한 줄 칩, 사진·증서 높이 제한 */
@media (min-width: 1101px) {
  .sec.lawyer { padding-top: 72px; padding-bottom: 72px; }
  .lawyer-in { grid-template-columns: minmax(240px, 300px) 1fr 200px; gap: 40px; align-items: center; }
  .lawyer-photo img { width: 100%; max-height: calc(100vh - 180px); object-fit: cover; object-position: top; }
  .lawyer-text h2 { font-size: clamp(34px, 3.2vw, 46px); margin: 4px 0 0; }
  .lawyer .lawyer-title { margin: 6px 0 18px; font-size: 17px; }
  .lawyer .bio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; border: 0; }
  .lawyer .bio > div { display: block; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); }
  .lawyer .bio dt { font-size: 14.5px; margin: 0 0 4px; }
  .lawyer .bio dd { font-size: 13.5px; line-height: 1.6; margin: 0; }
  .lawyer .bio > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lawyer .creds { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 16px 0 0; padding: 0; }
  .lawyer .creds li { font-size: 13px; }
  .lawyer .cert { padding: 10px; }
  .lawyer .cert figcaption { font-size: 12px; }
}
/* 변호사 소개 — 사진 크게 2열 (등록증서는 아래 별도 구역) */
@media (min-width: 1101px) {
  .lawyer-in { grid-template-columns: minmax(320px, 420px) 1fr; gap: 56px; }
  .lawyer-photo img { max-height: calc(100vh - 150px); }
}
/* 전문분야 등록 구역 — 증서 + 등록 내용 */
.certsec { padding: 88px 0; }
.certsec-in { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 64px; align-items: center; }
.certsec-doc { margin: 0; transform: rotate(-2deg); }
.certsec-doc a { display: block; background: #fff; padding: 12px; border-radius: 10px; box-shadow: 0 30px 60px rgba(15,31,77,.18), 0 2px 0 rgba(0,0,0,.04); transition: transform .35s; }
.certsec-doc a:hover { transform: rotate(2deg) scale(1.02); }
.certsec-doc img { display: block; width: 100%; height: auto; }
.certsec-text .desc { max-width: 560px; }
.certsec-rows { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 26px 0 28px; border-top: 2px solid var(--navy); }
.certsec-rows div { padding: 16px 28px 16px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.certsec-rows div:last-child { border-right: 0; }
.certsec-rows dt { font-size: 12.5px; color: var(--sub); font-weight: 700; }
.certsec-rows dd { margin: 4px 0 0; font-size: 18px; font-weight: 800; color: var(--navy); }
@media (max-width: 1100px) { .certsec-in { grid-template-columns: 1fr; gap: 36px; } .certsec-doc { max-width: 320px; margin: 0 auto; } }
@media (max-width: 760px) {
  .certsec { padding: 60px 0; }
  .certsec-rows { grid-template-columns: 1fr 1fr; }
  .certsec-rows div { margin: 0; padding: 14px 12px 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* 분야 페이지 — 작성·감수 표시, 질문형 본문 */
.byline { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 12px; }
.guide-hero .byline { color: var(--sub); }
.area-qa .qa { padding: 22px 0; border-top: 1px solid var(--line); }
.area-qa .qa:first-of-type { border-top: 2px solid var(--navy); }
.area-qa .qa h3 { font-size: 19px; color: var(--navy); margin: 0 0 8px; }
.area-qa .qa p { color: #3b4458; line-height: 1.8; margin: 0; }
.qa-case { margin-top: 18px; }
.qa-case a { font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--sand); text-decoration: none; }
@media (max-width: 760px) { .area-qa .qa h3 { font-size: 17px; } }
/* 처리 사례 개별 페이지 */
.case-hero h1 { font-size: clamp(28px, 3.4vw, 44px); }
.case-result { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 0; }
.case-result b { font-size: 34px; color: var(--sand); }
.case-result small { color: rgba(255,255,255,.7); font-size: 15px; }
.case-in { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 48px; align-items: start; }
.case-doc { margin: 0; }
.case-doc a { display: block; background: #fff; padding: 8px; border-radius: 10px; box-shadow: 0 20px 44px rgba(15,31,77,.14); }
.case-doc img { display: block; width: 100%; height: auto; }
.case-doc figcaption { font-size: 12.5px; color: var(--sub); text-align: center; margin-top: 8px; }
.case-text h2 { font-size: 21px; color: var(--navy); margin: 0 0 10px; }
.case-text h2 + p, .case-text ol { margin-bottom: 28px; line-height: 1.8; color: #3b4458; }
.case-text ol { padding-left: 20px; }
.case-note { font-size: 13px; color: var(--sub); }
.case-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.case-links a { font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--sand); text-decoration: none; }
@media (max-width: 760px) { .case-in { grid-template-columns: 1fr; gap: 28px; } .case-doc { max-width: 260px; } .case-result b { font-size: 28px; } }
.rc-body h3 a { color: inherit; text-decoration: none; } .rc-body h3 a:hover { text-decoration: underline; }
.hero.case-hero { min-height: 0; padding: 150px 0 56px; display: block; } @media (max-width: 760px) { .hero.case-hero { padding: 110px 0 40px; } }
.case-result { flex-wrap: wrap; row-gap: 2px; } @media (max-width: 760px) { .case-result b { font-size: 24px; } }
.sec.cta p { max-width: 820px; margin-left: auto; margin-right: auto; line-height: 1.8; }
