/* 법무법인 윤 — site.css */
:root {
  --navy: #0f1e33;
  --navy-2: #16283f;
  --navy-3: #1f3554;
  --gold: #c9a45c;
  --gold-2: #e4cd93;
  --blue: #2f5c9a;
  --green: #3e7a4a;
  --paper: #ffffff;
  --stone: #f5f3ee;
  --stone-2: #ebe8e0;
  --line: #e0dcd3;
  --ink: #1e2530;
  --mute: #6b7280;
  --red: #c8362b;
  --serif: "Nanum Myeongjo", "NanumMyeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", Roboto, "Malgun Gothic", system-ui, sans-serif;
  --max: 1200px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; line-height: 1.35; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pre { white-space: pre-line; }

/* ---------- header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 34px; height: 36px; border-radius: 5px; object-fit: cover; }
.brand b { font-family: var(--serif); font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.brand small { font-family: var(--serif); font-size: 12px; letter-spacing: .28em; color: var(--gold-2); display: block; line-height: 1; margin-top: 2px; }
.brand .sep { color: rgba(255,255,255,.35); margin: 0 4px 0 8px; }
.brand .ctx { font-size: 16px; color: rgba(255,255,255,.82); }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 8px 14px; font-size: 16.5px; color: rgba(255,255,255,.85); border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav .call { margin-left: 8px; padding: 6px 16px; border: 1px solid var(--gold); color: var(--gold-2); font-weight: 600; line-height: 1.3; text-align: center; }
.nav .call small { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.8); }
.nav .call:hover { background: var(--gold); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ---------- footer */
.ftr { background: var(--navy-2); color: rgba(255,255,255,.75); padding: 56px 0 40px; font-size: 15.5px; line-height: 1.8; margin-top: 0; }
.ftr .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.ftr .brand { color: #fff; margin-bottom: 14px; }
.ftr h4 { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--gold-2); margin-bottom: 10px; }
.ftr li { padding: 2px 0; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-weight: 600; font-size: 17px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #25497a; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #2f5f39; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { background: transparent; border-color: currentColor; }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-line.dark { color: var(--navy); }
.btn-line.dark:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 18px 40px; font-size: 18px; }

/* ---------- section scaffolding */
.sec { padding: 88px 0; }
.sec.alt { background: var(--stone); }
.sec.dark { background: var(--navy); color: #fff; }
.sec-h { margin-bottom: 40px; }
.sec-h::before { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); margin-bottom: 18px; }
.sec-h h2 { font-size: 33px; }
.sec-h p { margin-top: 10px; color: var(--mute); font-size: 17.5px; }
.sec.dark .sec-h p { color: rgba(255,255,255,.7); }
.sec-h.center { text-align: center; }
.sec-h.center::before { margin-inline: auto; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.more .icon { width: 16px; height: 16px; }

/* ---------- HOME hero (split) */
.hero-home { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero-home .top { text-align: center; padding: 64px 20px 40px; position: relative; z-index: 2; }
.hero-home .top .mark { width: 64px; height: 67px; border-radius: 8px; margin: 0 auto 14px; }
.hero-home .top .name { font-family: var(--serif); font-weight: 800; font-size: 23px; letter-spacing: .06em; }
.hero-home .top .name small { display: block; font-size: 12px; letter-spacing: .3em; color: var(--gold-2); margin-top: 2px; }
.hero-home h1 { font-size: 47px; line-height: 1.32; margin-top: 26px; }
.hero-home .top p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.72); }
.split { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 1; }
.half { padding: 40px 32px 72px; text-align: center; position: relative; }
.half.blue { background: radial-gradient(120% 90% at 50% 100%, rgba(47,92,154,.55), transparent 65%), linear-gradient(180deg, var(--navy), #0c192c); }
.half.green { background: radial-gradient(120% 90% at 50% 100%, rgba(62,122,74,.5), transparent 65%), linear-gradient(180deg, var(--navy), #0d1a20); }
.half + .half::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(255,255,255,.12); }
.half .badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; }
.half .badge .icon { width: 40px; height: 40px; }
.half .badge.img, .half.blue .badge.img, .half.green .badge.img { width: 120px; height: 120px; background: none; border-radius: 0; }
.half .badge.img img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.45)); }
.half.blue .badge { background: var(--blue); }
.half.green .badge { background: var(--green); }
.half h2 { font-size: 35px; }
.half p { margin: 16px auto 0; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.78); max-width: 420px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 30px; }
.chips li { border: 1px solid rgba(255,255,255,.28); border-radius: 3px; padding: 5px 12px; font-size: 14.5px; color: rgba(255,255,255,.9); }
.half .btn { min-width: 220px; }
.half .art { position: absolute; inset: auto 0 0 0; height: 220px; pointer-events: none; opacity: .09; display: flex; justify-content: center; align-items: flex-end; }
.half .art .icon { width: 320px; height: 320px; stroke-width: .6; }

/* trust bar */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 16px; padding: 26px 20px; font-size: 16.5px; line-height: 1.5; font-weight: 500; }
.trust li + li { border-left: 1px solid var(--line); }
.trust .icon { width: 40px; height: 40px; flex: none; color: var(--navy); stroke-width: 1.3; }

/* approach */
.approach { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.approach .pic { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15,30,51,.5); }
.approach .lead { font-family: var(--serif); font-weight: 800; font-size: 29px; color: var(--navy); margin-bottom: 18px; }
.approach .txt p + p { margin-top: 10px; }
.approach .txt p { color: #3b4350; }
.points { margin-top: 32px; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.points .icon { width: 44px; height: 44px; color: var(--gold); stroke-width: 1.3; }
.points b { display: block; font-size: 18px; margin-bottom: 2px; }
.points span { color: var(--mute); font-size: 16px; line-height: 1.7; }

/* fields overview (home) */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 40px 40px 36px; display: flex; flex-direction: column; }
.field-card.green { border-top-color: var(--green); }
.field-card.blue { border-top-color: var(--blue); }
.field-card .fh { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.field-card .fh .icon { width: 36px; height: 36px; color: var(--navy); stroke-width: 1.3; }
.field-card h3 { font-size: 25px; }
.field-card .sub { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.field-card .desc { color: #3b4350; font-size: 16.5px; }
.field-card .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.field-card .cols h4 { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.field-card .cols li { font-size: 15.5px; padding: 3px 0 3px 14px; position: relative; color: #3b4350; }
.field-card .cols li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; background: var(--gold); }
.field-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- SUB hero */
.hero-sub { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero-sub .wrap { padding: 88px 0 96px; position: relative; z-index: 1; }
.hero-sub.compact .wrap { padding: 48px 0 56px; }
.hero-sub.compact h1 { font-size: 37px; }
.hero-sub h1 { font-size: 43px; line-height: 1.35; }
.hero-sub p { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.75); max-width: 560px; }
.hero-sub .art { position: absolute; right: -40px; bottom: -80px; opacity: .08; pointer-events: none; }
.hero-sub .art .icon { width: 520px; height: 520px; stroke-width: .5; }
.hero-sub.bg { background-size: cover; background-position: center 30%; }
.hero-sub.compact.bg { background-position: center 60%; }
.quote-banner { padding: 0 0 88px; background: #fff; }
.quote-banner img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.hero-sub .emblem { position: absolute; right: max(24px, calc((100% - var(--max)) / 2)); top: 50%; transform: translateY(-50%); width: 220px; height: 220px; object-fit: contain; filter: drop-shadow(0 14px 28px rgba(0,0,0,.5)); z-index: 1; }
.hero-sub.blue { background: radial-gradient(90% 100% at 100% 100%, rgba(47,92,154,.5), transparent 60%), var(--navy); }
.hero-sub.green { background: radial-gradient(90% 100% at 100% 100%, rgba(62,122,74,.45), transparent 60%), var(--navy); }
.crumb { font-size: 15px; color: rgba(255,255,255,.55); margin-bottom: 26px; display: flex; gap: 8px; align-items: center; }
.crumb .icon { width: 12px; height: 12px; }
.crumb a:hover { color: #fff; }

/* stage cards (dark) */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stage { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 16px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 176px; transition: background .15s, transform .15s; }
.stage:hover { background: var(--navy-3); transform: translateY(-2px); }
.stage .icon { width: 44px; height: 44px; color: var(--gold); stroke-width: 1.3; }
.stage b { font-size: 18px; font-weight: 600; line-height: 1.45; }
.stage .chev { margin-top: auto; color: var(--gold-2); }
.stage .chev .icon { width: 16px; height: 16px; stroke-width: 2; }

/* step cards (light, with arrows) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step { padding: 36px 22px 30px; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.step + .step { border-left: 1px solid var(--line); }
.step + .step::before { content: ""; position: absolute; left: -9px; top: 58px; width: 16px; height: 16px; background: #fff; border-right: 1px solid var(--gold); border-top: 1px solid var(--gold); transform: rotate(45deg); }
.step .ring { width: 74px; height: 74px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.step .ring .icon { width: 36px; height: 36px; color: var(--gold-2); stroke-width: 1.3; }
.step b { font-size: 19px; font-weight: 700; }
.step p { font-size: 15px; color: var(--mute); margin: 8px 0 18px; line-height: 1.6; }
.step .btn { margin-top: auto; }

/* issue chips */
.issues { display: flex; flex-wrap: wrap; gap: 10px; }
.issues a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 11px 18px; font-size: 16px; font-weight: 500; transition: border-color .15s, color .15s; }
.issues a .icon { width: 20px; height: 20px; color: var(--navy); }
.issues a:hover { border-color: var(--navy); color: var(--navy); }
.issues.icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.issues.icons a { flex-direction: column; border: 0; border-radius: 0; padding: 30px 12px; gap: 12px; font-size: 17px; }
.issues.icons a + a { border-left: 1px solid var(--line); }
.issues.icons a .icon { width: 44px; height: 44px; stroke-width: 1.2; }

/* ---------- cases */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cases.three { grid-template-columns: repeat(3, 1fr); }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.case:hover { box-shadow: 0 16px 40px -20px rgba(15,30,51,.4); }
.case .paper { position: relative; background: var(--stone); padding: 26px 24px 20px; min-height: 170px; border-bottom: 1px solid var(--line); overflow: hidden; }
.case .paper .doc { font-family: var(--serif); font-size: 14px; letter-spacing: .32em; text-align: center; color: #555; }
.case .paper .lines { margin-top: 18px; display: grid; gap: 9px; }
.case .paper .lines i { display: block; height: 5px; background: #d9d5cb; border-radius: 3px; }
.case .paper .lines i:nth-child(2) { width: 80%; } .case .paper .lines i:nth-child(3) { width: 90%; } .case .paper .lines i:nth-child(4) { width: 60%; }
.case .stamp { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-8deg); font-family: var(--serif); font-weight: 800; font-size: 27px; color: var(--red); border: 3px solid var(--red); border-radius: 4px; padding: 4px 14px; white-space: nowrap; background: rgba(245,243,238,.85); letter-spacing: .04em; }
.case .stamp.long { font-size: 21px; }
.case .paper.img { padding: 0; min-height: 0; aspect-ratio: 1 / 1; background: #e9e6df; }
.case .paper.img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.case .body b { font-size: 19px; font-weight: 700; }
.case .body .no { font-size: 13px; font-weight: 700; color: #fff; background: var(--navy); padding: 2px 8px; border-radius: 2px; margin-right: 6px; vertical-align: 2px; }
.case .body p { font-size: 15.5px; color: #4b5563; line-height: 1.65; }
.case .body .tag { margin-top: auto; padding-top: 10px; font-size: 14.5px; color: var(--gold); font-weight: 600; }
.case .body .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.case .body .tags span { font-size: 14px; color: var(--navy); background: var(--stone); padding: 3px 9px; border-radius: 2px; }
.case-notice { margin-top: 22px; font-size: 14.5px; color: var(--mute); text-align: center; }

/* ---------- consult form */
.consult { background: var(--stone); }
.consult .box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; }
.consult h2 { font-size: 29px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.fld label .req { color: var(--red); margin-left: 3px; }
.fld input, .fld select, .fld textarea { width: 100%; border: 1px solid #cfcbc2; border-radius: 4px; padding: 12px 14px; background: #fff; font-size: 16.5px; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.fld select:invalid, .fld select option[value=""] { color: #8a8f98; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld .count { text-align: right; font-size: 13.5px; color: var(--mute); margin-top: 4px; }
.fld .hint { font-size: 14px; color: var(--mute); margin-top: 6px; }
.fld input[type="file"] { padding: 9px 12px; font-size: 15px; }
.form-foot { margin-top: 30px; text-align: center; }
.form-foot .btn { min-width: 320px; }
.form-foot .note { margin-top: 14px; font-size: 14.5px; color: var(--mute); }
.form-rows { display: grid; gap: 18px; }
.form-rows .fld { display: grid; grid-template-columns: 120px 1fr; align-items: start; gap: 12px; }
.form-rows .fld label { margin: 12px 0 0; }
.consult .two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.side-panel { background: var(--stone); border-radius: var(--radius); padding: 32px 30px; }
.side-panel h3 { font-size: 18px; text-align: left; line-height: 1.7; margin-bottom: 24px; font-weight: 700; word-break: keep-all; }
.side-panel li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.side-panel li .icon { width: 42px; height: 42px; color: var(--navy); stroke-width: 1.2; }
.side-panel b { display: block; font-size: 17px; }
.side-panel span { font-size: 15px; color: var(--mute); line-height: 1.6; }
.sent { display: none; background: var(--stone); border: 1px solid var(--gold-2); border-radius: var(--radius); padding: 28px 30px; margin-top: 28px; }
.sent.show { display: block; }
.sent h3 { font-size: 21px; margin-bottom: 8px; }
.sent p { color: #3b4350; font-size: 16px; }
.sent .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sent pre { background: #fff; border: 1px solid var(--line); padding: 14px 16px; border-radius: 4px; font: 15px/1.6 var(--sans); white-space: pre-wrap; margin: 16px 0 0; }

/* ---------- lawyer (home) */
.lawyer { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; }
.lawyer .pic { border-radius: var(--radius); overflow: hidden; }
.lawyer .name { font-family: var(--serif); font-weight: 800; font-size: 37px; }
.lawyer .name small { font-size: 19px; font-weight: 700; margin-left: 10px; color: var(--gold); }
.lawyer .name .firm { display: block; font-size: 19px; font-weight: 700; color: var(--gold); letter-spacing: .06em; margin-bottom: 4px; }
.lawyer .reg { font-size: 16px; color: var(--mute); margin: 8px 0 22px; }
.lawyer .lead { font-family: var(--serif); font-weight: 700; font-size: 23px; color: var(--navy); margin-bottom: 14px; }
.lawyer .txt p + p { margin-top: 10px; }
.lawyer .txt p { color: #3b4350; }
.lawyer .btn { margin-top: 28px; }

/* ---------- contact (home) */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact .call-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 44px 44px 40px; display: flex; flex-direction: column; }
.contact .call-box .lbl { font-size: 16px; color: var(--gold-2); }
.contact .call-box .num { font-family: var(--serif); font-weight: 800; font-size: 47px; letter-spacing: .02em; line-height: 1.2; margin: 6px 0 4px; }
.contact .call-box .num a:hover { color: var(--gold-2); }
.contact .call-box .direct { margin-top: 8px; font-size: 17px; color: var(--gold-2); }
.contact .call-box .direct b { font-family: var(--serif); font-weight: 800; font-size: 30px; color: #fff; margin-left: 8px; letter-spacing: .02em; }
.contact .call-box .sub { color: rgba(255,255,255,.7); font-size: 16px; margin-top: 10px; }
.contact .call-box .acts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact .call-box .acts .kakao-btn { grid-column: 1 / -1; }
.btn-kakao { background: #fee500; color: #191919; }
.btn-kakao:hover { background: #f5dc00; }
.contact .map-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.contact .map-box iframe { width: 100%; height: 240px; border: 0; display: block; filter: saturate(.85); }
.contact .map-box .addr { padding: 22px 26px; font-size: 16px; display: grid; gap: 4px; }
.contact .map-box .addr b { font-size: 17.5px; }
.contact .map-box .links { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- detail page */
.detail { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.article { max-width: 760px; }
.article .intro { font-size: 20px; line-height: 1.8; color: #2b3340; border-left: 3px solid var(--gold); padding-left: 20px; margin-bottom: 44px; }
.article section { margin-top: 44px; }
.article h2 { font-size: 25px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.article .bul li { position: relative; padding: 5px 0 5px 20px; }
.article .bul li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 6px; height: 6px; background: var(--gold); }
.article table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--stone); font-weight: 600; white-space: nowrap; }
.article td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.article .tbl { overflow-x: auto; }
.article .stp { counter-reset: s; display: grid; gap: 10px; }
.article .stp li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; background: var(--stone); border-radius: 4px; padding: 12px 16px; }
.article .stp li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.article .note { background: var(--stone); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 0 4px 4px 0; color: #2b3340; }
.article details { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 8px; }
.article summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; gap: 10px; align-items: center; }
.article summary::-webkit-details-marker { display: none; }
.article summary::before { content: "Q"; color: var(--gold); font-family: var(--serif); font-weight: 800; }
.article details p { padding: 0 18px 16px 42px; color: #3b4350; }
.article details p::before { content: "A. "; color: var(--navy); font-weight: 700; }
.cta-box { margin-top: 56px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 44px; }
.cta-box h2 { font-size: 25px; border: 0; padding: 0; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,.75); margin-bottom: 24px; }
.cta-box .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.disclaimer { margin-top: 40px; font-size: 14.5px; color: var(--mute); line-height: 1.7; padding-top: 18px; border-top: 1px dashed var(--line); }
.aside { position: sticky; top: 90px; display: grid; gap: 24px; }
.aside .box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.aside .box h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; padding: 14px 18px; background: var(--stone); border-bottom: 1px solid var(--line); }
.aside .box li a { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; font-size: 16px; border-bottom: 1px solid var(--line); }
.aside .box li:last-child a { border-bottom: 0; }
.aside .box li a:hover { background: var(--stone); }
.aside .box li a[aria-current="page"] { color: var(--navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
.aside .box li a .icon { width: 14px; height: 14px; color: #a8a29a; }
.aside .call { background: var(--navy); color: #fff; padding: 24px 22px; border-radius: var(--radius); }
.aside .call .lbl { font-size: 14px; color: var(--gold-2); }
.aside .call .num { font-family: var(--serif); font-weight: 800; font-size: 29px; margin: 4px 0 6px; }
.aside .call p { font-size: 14.5px; color: rgba(255,255,255,.7); }
.aside .call .btn { width: 100%; margin-top: 16px; }
.related { margin-top: 56px; }
.related h2 { font-size: 23px; margin-bottom: 18px; }
.related .cases { grid-template-columns: repeat(2, 1fr); }
.next-link { margin-top: 24px; display: flex; justify-content: flex-end; }

/* ---------- about */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.certs figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.certs img { aspect-ratio: 1 / 1.25; object-fit: contain; background: #fafaf8; }
.certs figcaption { text-align: center; font-weight: 600; margin-top: 12px; font-size: 16px; }

/* ---------- 카카오톡 상담 */
.kakao { background: #fff; border-top: 1px solid var(--line); }
.kakao .box { background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kakao .box img { width: 100%; height: auto; }
.kakao .txt { padding: 36px 44px 40px; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "lbl id" "h2 id" "p steps"; gap: 12px 48px; align-items: start; }
.kakao .lbl { grid-area: lbl; justify-self: start; }
.kakao h2 { grid-area: h2; }
.kakao .txt > p { grid-area: p; }
.kakao .id { grid-area: id; align-self: center; }
.kakao .steps { grid-area: steps; align-self: start; }
.kakao .lbl { display: inline-block; background: #fee500; color: #191919; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 3px; margin-bottom: 14px; }
.kakao h2 { font-size: 30px; margin-bottom: 4px; }
.kakao p { color: #3b4350; }
.kakao .id { margin: 0; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.kakao .id span { font-size: 15px; color: var(--mute); }
.kakao .id b { font-family: var(--serif); font-weight: 800; font-size: 34px; color: var(--navy); letter-spacing: .02em; flex: 1; white-space: nowrap; overflow-wrap: normal; }
.kakao .steps { display: flex; gap: 8px; flex-wrap: wrap; }
.kakao .steps li { font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 6px 12px; }
.kakao .steps li b { color: var(--navy); margin-right: 6px; }

/* ---------- 사무실 사진 */
.office { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.office figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.office figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 주요 취급 사례 표 */
.case-types { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-types .ct { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.case-types .ct h3 { font-family: var(--sans); font-size: 19px; padding: 18px 24px; background: var(--navy); color: #fff; }
.case-types .ct.green h3 { background: var(--green); }
.case-types .ct .g { padding: 18px 24px; border-top: 1px solid var(--line); }
.case-types .ct h4 { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.case-types .ct li { font-size: 15.5px; padding: 3px 0 3px 14px; position: relative; color: #3b4350; line-height: 1.7; }
.case-types .ct li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; background: var(--gold); }

/* ---------- cases page */
.case-group + .case-group { margin-top: 64px; }
.case-group h2 { font-size: 25px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.case-group h2 .icon { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.3; }

/* ---------- privacy */
.prose { max-width: 800px; }
.prose h2 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose li { color: #3b4350; font-size: 16.5px; }
.prose ul { list-style: disc; padding-left: 20px; }

/* ---------- responsive */
@media (max-width: 1024px) {
  .stages { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .cases.three { grid-template-columns: repeat(2, 1fr); }
  .issues.icons { grid-template-columns: repeat(3, 1fr); }
  .issues.icons a + a { border-left: 0; }
  .issues.icons a { border: 1px solid var(--line); margin: -1px 0 0 -1px; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .lawyer { grid-template-columns: 300px 1fr; gap: 40px; }
  .approach { grid-template-columns: 1fr; gap: 36px; }
  .approach .pic { max-width: 520px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .consult .two { grid-template-columns: 1fr; }
  .brand .ctx, .brand .sep { display: none; }
  .nav a { padding: 8px 10px; font-size: 15px; }
  .hero-sub .emblem { width: 160px; height: 160px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .sec { padding: 60px 0; }
  .sec-h h2 { font-size: 27px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); padding: 10px 20px 18px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 12px 8px; font-size: 17px; }
  .nav .call { margin: 10px 0 0; text-align: center; }
  .hero-home h1 { font-size: 31px; }
  .hero-home .top { padding: 44px 20px 28px; }
  .split { grid-template-columns: 1fr; }
  .half + .half::before { left: 24px; right: 24px; top: 0; bottom: auto; width: auto; height: 1px; }
  .half { padding: 40px 20px 56px; }
  .half h2 { font-size: 29px; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 20px 12px; font-size: 15px; flex-direction: column; text-align: center; gap: 10px; }
  .trust li + li { border-left: 0; }
  .trust li:nth-child(2n) { border-left: 1px solid var(--line); }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fields { grid-template-columns: 1fr; }
  .field-card { padding: 28px 22px; }
  .field-card .cols { grid-template-columns: 1fr; gap: 14px; }
  .hero-sub .wrap { padding: 56px 0 64px; }
  .hero-sub h1 { font-size: 31px; }
  .hero-sub .art .icon { width: 320px; height: 320px; }
  .stages { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stage { min-height: 140px; padding: 22px 12px 18px; }
  .stage b { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .step + .step::before { left: 50%; top: -9px; margin-left: -8px; transform: rotate(135deg); }
  .issues.icons { grid-template-columns: repeat(2, 1fr); }
  .cases, .cases.three, .related .cases { grid-template-columns: 1fr; }
  .consult .box { padding: 26px 20px; }
  .consult h2 { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-rows .fld { grid-template-columns: 1fr; gap: 6px; }
  .form-rows .fld label { margin: 0; }
  .form-foot .btn { min-width: 0; width: 100%; }
  .lawyer { grid-template-columns: 1fr; gap: 28px; }
  .lawyer .pic { max-width: 360px; }
  .lawyer .name { font-size: 31px; }
  .contact { grid-template-columns: 1fr; }
  .kakao .txt { padding: 24px 22px 28px; grid-template-columns: 1fr; grid-template-areas: "lbl" "h2" "p" "id" "steps"; gap: 12px; }
  .kakao h2 { font-size: 24px; }
  .kakao .id { flex-wrap: wrap; }
  .kakao .id b { font-size: 26px; }
  .office { grid-template-columns: 1fr; }
  .quote-banner { padding-bottom: 60px; }
  .case-types { grid-template-columns: 1fr; }
  .hero-sub .emblem { width: 120px; height: 120px; top: auto; bottom: 20px; right: 20px; transform: none; opacity: .9; }
  .contact .call-box { padding: 30px 24px; }
  .contact .call-box .num { font-size: 37px; }
  .contact .call-box .acts { grid-template-columns: 1fr; }
  .article .intro { font-size: 18px; }
  .article h2 { font-size: 22px; }
  .cta-box { padding: 28px 22px; }
  .certs { grid-template-columns: 1fr; }
  .ftr .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
