/* 법률사무소 백헌 민사 홈페이지 — 공통 스타일
   색: 남색(ink) 바탕 + 미색(paper) + 주황(seal) 강조. 지식재산 홈페이지의 프렌드 로고 색과 맞춤 */
:root {
  --ink: #12233F;
  --ink-2: #1B3155;
  --ink-line: rgba(255, 255, 255, .14);
  --paper: #F6F2EA;
  --paper-2: #EDE7DA;
  --white: #FFFFFF;
  --line: #DED6C7;
  --text: #1A2331;
  --muted: #5A6372;
  --seal: #B84A08;
  --seal-dk: #8F3A06;
  --seal-soft: #FBEBDD;
  --orange: #E5772A;
  --gold: linear-gradient(135deg, #B8892F 0%, #E9CC7A 38%, #F6E3A1 50%, #D9B255 64%, #A9781F 100%);
  --gold-tx: #2A1D05;
  --navy: #1D3557;
  --ok: #1E6B3A;
  --err: #B42318;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'Batang', serif;
  --sans: 'Noto Sans KR', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --r: 10px;
  --hd-h: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.m-only { display: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-seal { background: var(--gold); background-size: 160% 100%; background-position: 0 0; color: var(--gold-tx); box-shadow: inset 0 0 0 1px rgba(122, 84, 14, .35); transition: background-position .25s; }
.btn-seal:hover { background-position: 100% 0; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-line { border-color: var(--line); background: #fff; color: var(--text); }
.btn-line:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn[disabled] { opacity: .6; cursor: default; }
.lnk { color: var(--seal-dk); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font-weight: 500; }

/* 머리 */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 24px; height: var(--hd-h); }
.logo { display: flex; flex-direction: column; gap: 3px; flex: none; line-height: 1; }
.logo-office { font-size: 12px; color: var(--muted); letter-spacing: .04em; padding-left: 2px; }
.logo-row { display: flex; align-items: flex-end; gap: 5px; font-family: 'IBM Plex Sans KR', var(--sans); font-weight: 700; font-size: 23px; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.logo-mark { width: 25px; height: 28px; flex: none; color: var(--navy); margin-right: 1px; }
.logo-fr { background: linear-gradient(135deg, #1D3557 0%, #0E8C8C 20%, #2E9E4F 40%, #8BC34A 50%, #4FB6E8 61%, #2F7FD0 76%, #0E8C8C 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #1D3557; }
.logo-nm { font-size: .78em; padding-bottom: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 11px; border-radius: 6px; font-size: 15px; font-weight: 500; color: #2B3545; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--paper); color: var(--seal-dk); }
.hd-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.hd-tel { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.hd-tel small { font-size: 11px; color: var(--muted); }
.hd-tel b { font-size: 19px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* 첫 화면 */
.hero { background: linear-gradient(100deg, rgba(14, 26, 48, .93) 0%, rgba(14, 26, 48, .84) 48%, rgba(14, 26, 48, .66) 100%), var(--bg, none) center 62% / cover no-repeat, var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% 0%, rgba(233, 204, 122, .14), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 518px; gap: 40px; align-items: end; padding-top: 34px; }
.hero-tx { padding-bottom: 72px; align-self: center; }
.eyebrow { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: .02em; background: linear-gradient(135deg, #F08A24 0%, #E5661A 50%, #C94A0C 100%); text-shadow: 0 1px 2px rgba(90, 30, 0, .45); box-shadow: 0 6px 18px -8px rgba(229, 102, 26, .85); }
.hero h1 { margin-top: 24px; font-family: 'Hahmlet', var(--serif); font-weight: 800; font-size: clamp(32px, 4.1vw, 51px); line-height: 1.3; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: 0 1px; }
.hero-lead { margin-top: 24px; font-size: 18px; color: #C9D0DB; line-height: 1.75; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-btns-m { display: none; }
.hero-note { margin-top: 22px; font-size: 14px; color: #A9B2C0; }
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-ph { position: relative; align-self: end; }
.hero-ph::before { content: ''; position: absolute; left: -8%; right: -8%; top: 2%; bottom: 0; background: radial-gradient(closest-side at 50% 46%, rgba(246, 227, 161, .26), rgba(150, 175, 215, .16) 52%, transparent 76%); pointer-events: none; }
.hero-ph img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 22px 34px rgba(0, 0, 0, .5)) saturate(.96) brightness(1.04); -webkit-mask-image: linear-gradient(#000 80%, transparent 100%); mask-image: linear-gradient(#000 80%, transparent 100%); }
.hero-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 8px 16px; text-align: right; text-shadow: 0 1px 8px rgba(8, 14, 24, .9); }
.hero-ph b { display: block; font-family: var(--serif); font-size: 22px; }
.hero-ph b span { font-family: var(--sans); font-size: 14px; font-weight: 700; color: #E6EAF0; margin-left: 4px; }
.hero-ph small { font-size: 13px; font-weight: 700; color: #E6EAF0; }
.creds { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-line); }
.creds li { padding: 22px 20px 26px; border-left: 1px solid var(--ink-line); }
.creds li:first-child { border-left: 0; padding-left: 0; }
.creds small { display: block; font-size: 13px; color: #A9B2C0; }
.creds b { font-size: 16px; font-weight: 700; }

/* 구역 공통 */
.sec { padding: 96px 0; }
.sec-paper { background: var(--paper); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-hd { max-width: 720px; margin-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--seal); margin-bottom: 10px; }
.sec-ink .kicker { color: #F2A35E; }
.sec h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.35; letter-spacing: -.02em; }
.sec-hd p:not(.kicker) { margin-top: 14px; font-size: 17px; color: var(--muted); }
.sec-ink .sec-hd p:not(.kicker) { color: #C9D0DB; }
.num { font-family: var(--serif); font-weight: 700; color: var(--seal); font-size: 20px; }

/* 상황별 안내: 사진 위에 어두운 막을 깐 카드 */
.sit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sit { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: var(--r); color: #fff; overflow: hidden; --tint: 16, 30, 68; background: linear-gradient(180deg, rgba(var(--tint), .64) 0%, rgba(var(--tint), .84) 50%, rgba(var(--tint), .93) 100%), var(--bg) center / cover no-repeat, var(--ink); text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.sit:nth-child(1) { --tint: 18, 32, 76; }   /* 남색 */
.sit:nth-child(2) { --tint: 62, 32, 102; }  /* 보라색 */
.sit:nth-child(3) { --tint: 6, 82, 86; }    /* 청록색 */
.sit:nth-child(4) { --tint: 82, 46, 24; }   /* 고동색 */
.sit:nth-child(5) { --tint: 148, 40, 30; }  /* 다홍색 */
.sit:nth-child(6) { --tint: 20, 66, 148; }  /* 파랑색 */
.sit-go { text-shadow: none; }
.sit:nth-child(5) li::before { background: #FFD9A8; }
.sit-top { display: flex; align-items: center; gap: 10px; }
.sit .num { color: #FFB877; font-size: 24px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #E6EAF0; }
.sit h3 { margin-top: 14px; font-size: 20px; line-height: 1.42; letter-spacing: -.01em; min-height: 2.84em; }
.sit ul { margin: 16px 0 22px; display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sit li { position: relative; padding-left: 16px; color: #EEF1F5; font-size: 14.5px; line-height: 1.6; }
.sit li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.sit-go { margin-top: auto; display: block; padding: 12px 14px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.sit-go::after { content: ' →'; color: var(--seal); }
.sit-go:hover { background: #FCE9D6; }
.more { align-self: flex-start; font-weight: 700; color: var(--seal-dk); padding: 6px 0; border-bottom: 1px solid currentColor; }
.more::after { content: ' →'; }
.more:hover { color: var(--ink); }

/* 업무 분야: 두 갈래, 각 칸에 세부 분야 표 */
.pr-no { flex: none; white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--seal); letter-spacing: .04em; }
.pb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pb { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pb-hd { padding: 30px 28px 26px; color: #fff; background: linear-gradient(90deg, rgba(14, 26, 48, .95) 0%, rgba(14, 26, 48, .8) 60%, rgba(14, 26, 48, .55) 100%), var(--bg) center / cover no-repeat, var(--ink); }
.pb-hd .pr-no { color: #F2A35E; }
.pb:nth-child(2) .pb-hd { background: linear-gradient(90deg, rgba(74, 24, 72, .95) 0%, rgba(92, 30, 88, .82) 60%, rgba(110, 38, 104, .58) 100%), var(--bg) center / cover no-repeat, #4A1848; }  /* 계약상 분쟁: 자주색 */
.pb:nth-child(2) .pb-tbl th { background: #F6EEF5; }
.pb:nth-child(2) .pb-tbl th a:hover { color: #7A2A74; }
.pb:nth-child(2) .btn-ink { background: #5C1E58; }
.pb:nth-child(2) .btn-ink:hover { background: #4A1848; }
.pb-hd h3 { margin-top: 2px; font-family: var(--serif); font-size: 27px; }
.pb-hd p { margin-top: 8px; font-size: 15px; color: #D5DBE5; }
.pb-tbl { width: 100%; border-collapse: collapse; flex: 1 1 auto; }
.pb-tbl th, .pb-tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-size: 14.5px; line-height: 1.6; }
.pb-tbl th { width: 148px; padding-left: 28px; background: var(--paper); font-size: 15.5px; }
.pb-tbl th a { border-bottom: 1px solid transparent; }
.pb-tbl th a:hover { color: var(--seal-dk); border-color: currentColor; }
.pb-tbl th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.pb-tbl td { color: #3B4657; padding-right: 24px; }
.pb-ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 20px 28px 24px; margin-top: auto; }

/* 기한 */
.dl { border-top: 2px solid #fff; }
.dl-row { display: grid; grid-template-columns: 1fr 1.25fr 1.5fr; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--ink-line); align-items: baseline; }
.dl-head { padding: 12px 4px; font-size: 13px; color: #A9B2C0; letter-spacing: .06em; }
.dl-row b { font-size: 17px; }
.dl-row strong { color: #fff; background: linear-gradient(transparent 60%, rgba(229, 119, 42, .6) 60% 94%, transparent 94%); padding: 0 2px; }
.dl-row span:nth-child(2) { color: #E6EAF0; }
.dl-row span:nth-child(3) { color: #B9C1CE; font-size: 15px; }
.dl-row cite { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: #8E98A8; }
.dl-note { margin-top: 20px; font-size: 14px; color: #A9B2C0; }

/* 변호사 소개 */
.view-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.view { padding: 28px; background: var(--paper); border-radius: var(--r); border-left: 3px solid var(--seal); }
.view-k { font-size: 13px; font-weight: 700; color: var(--seal-dk); letter-spacing: .04em; }
.view h3 { margin-top: 6px; font-family: var(--serif); font-size: 21px; }
.view p { margin-top: 10px; font-size: 15px; color: #3B4657; }
.bio { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 40px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.bio h3 { font-size: 14px; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.bio-col li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.bio-col li b { color: var(--seal-dk); font-weight: 700; margin-right: 2px; }
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cert { display: block; padding: 8px 8px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.cert:hover { border-color: var(--ink); }
.cert img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 0; border-radius: 4px; background: #fff; }
.cert span { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; }

/* 상담 절차 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.steps h3 { margin-top: 8px; font-size: 20px; }
.steps p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* 상담 신청 */
.consult { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
.consult-info { position: sticky; top: calc(var(--hd-h) + 24px); padding: 32px 28px; border-radius: 14px; color: #fff; background: linear-gradient(180deg, rgba(14, 26, 48, .58) 0%, rgba(14, 26, 48, .74) 45%, rgba(14, 26, 48, .86) 100%), var(--bg) center top / cover no-repeat, var(--ink); }
.consult-info .kicker { color: #F2A35E; }
.consult-lead { margin-top: 14px; color: #C9D0DB; }
.info { margin-top: 28px; border-top: 2px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { font-size: 14px; color: var(--muted); padding-top: 2px; }
.info dd { font-weight: 500; }
.info dd small { font-weight: 400; color: var(--muted); font-size: 14px; }
.info .big { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--seal-dk); font-variant-numeric: tabular-nums; }
.consult-info .info { border-top-color: rgba(255, 255, 255, .5); }
.consult-info .info > div { border-bottom-color: rgba(255, 255, 255, .16); }
.consult-info .info dt { color: #A9B2C0; }
.consult-info .info .big { color: #FFC38A; }
.consult-info .lnk { color: #FFC38A; }
.fee { margin-top: 18px; background: var(--paper); border-radius: 8px; padding: 0 18px; }
.consult-info .fee { background: rgba(255, 255, 255, .1); }
.consult-info .fee .sm { color: #C9D0DB; }
.fee summary, .faq summary { cursor: pointer; list-style: none; position: relative; font-weight: 700; }
.fee summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.fee summary { padding: 14px 24px 14px 0; }
.fee summary::after, .faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.fee[open] summary::after, .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fee p { padding-bottom: 12px; font-size: 15px; }
.sm { font-size: 14px; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: 0 18px 40px -28px rgba(18, 35, 63, .35); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > span, .fld > legend { font-size: 14px; font-weight: 700; padding: 0; }
.fld > legend { margin-bottom: 6px; }
.fld small { font-weight: 400; color: var(--muted); font-size: 13px; }
.fld i { font-style: normal; font-size: 12px; color: var(--seal); margin-left: 2px; }
.fld input[type=text], .fld input[type=tel], .fld input[type=date], .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #CFC7B8; border-radius: 8px; background: #fff; font-size: 16px; }
.fld textarea { resize: vertical; line-height: 1.6; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 35, 63, .12); }
.fld input[type=file] { padding: 12px; border: 1px dashed #BDB4A3; border-radius: 8px; background: var(--paper); width: 100%; font-size: 14px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modes legend { grid-column: 1 / -1; }
.mode { position: relative; display: block; cursor: pointer; }
.mode input { position: absolute; opacity: 0; inset: 0; }
.mode span { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid #CFC7B8; border-radius: 8px; line-height: 1.4; }
.mode input:checked + span { border-color: var(--seal); background: var(--seal-soft); box-shadow: inset 0 0 0 1px var(--seal); }
.mode input:focus-visible + span { outline: 3px solid var(--seal); outline-offset: 2px; }
.hint { font-size: 13px; color: var(--muted); margin-top: -8px; }
.fld .hint { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--seal); flex: none; }
.status { min-height: 1.6em; font-size: 15px; font-weight: 700; text-align: center; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

/* 자주 묻는 질문 */
.faq-wrap { max-width: 860px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 36px 20px 0; font-size: 18px; }
.faq summary::after { right: 8px; }
.faq p { padding: 0 36px 22px 0; color: #3B4657; }

/* 오시는 길 */
.loc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.loc-info { margin-top: 0; }
.info > .loc-btns { display: flex; flex-wrap: wrap; gap: 10px; border-bottom: 0; padding-top: 20px; }

/* 바닥 */
.ft { background: #0A1320; color: #AEB7C4; padding: 48px 0 56px; font-size: 14px; }
.ft-in { display: flex; gap: 48px; align-items: flex-start; }
.ft .logo-row, .ft .logo-mark { color: #fff; }
.ft .logo-office { color: #8E98A8; }
.ft .logo-fr { background: linear-gradient(135deg, #7FD6D6 0%, #8BC34A 45%, #4FB6E8 70%, #7FD6D6 100%); -webkit-background-clip: text; background-clip: text; }
.ft-tx p { line-height: 1.9; }
.ft-links { margin-top: 10px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ft-links a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ft-disc { margin-top: 12px; font-size: 13px; color: #7F8A9B; max-width: 620px; }

/* 휴대폰 아래 고정 버튼 */
.dock { display: none; }
.ft-top { display: none; }

/* 창 */
.dlg { border: 0; border-radius: 14px; padding: 28px; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.dlg::backdrop { background: rgba(5, 10, 20, .7); }
.dlg h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }
.consent { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; font-size: 15px; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.consent dt { color: var(--muted); font-size: 14px; }
.dlg .btn { margin-top: 18px; width: 100%; }
.dlg-img { width: min(640px, calc(100vw - 32px)); padding: 16px; }
.dlg-img img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }

/* 개인정보처리방침 페이지 */
.doc { max-width: 820px; padding-top: 64px; padding-bottom: 96px; }
.doc h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); }
.doc .doc-lead { margin-top: 16px; color: var(--muted); }
.doc h2 { font-family: var(--sans); font-size: 19px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); letter-spacing: 0; }
.doc p, .doc ul { margin-top: 10px; }
.doc ul { display: grid; gap: 6px; }
.doc li { padding-left: 16px; position: relative; }
.doc li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--seal); }
.doc .doc-end { margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--ink); font-size: 14px; color: var(--muted); }

/* ───── 하위 페이지 공통 ───── */
.sec-tight { padding: 56px 0 80px; }
.sec-hd-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-hd-row > div { max-width: 720px; }
.ph { color: #fff; padding: 44px 0 52px; background: linear-gradient(90deg, rgba(14, 26, 48, .96) 0%, rgba(14, 26, 48, .86) 55%, rgba(14, 26, 48, .6) 100%), var(--bg, none) center / cover no-repeat, var(--ink); }
.ph h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.3; letter-spacing: -.02em; }
.ph .kicker { color: #F2A35E; margin-top: 22px; }
.ph-lead { margin-top: 14px; max-width: 760px; font-size: 17px; color: #D5DBE5; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: #A9B2C0; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .6; }
.list-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 48px 0 20px; }
.list-hd:first-child { margin-top: 0; }
.list-hd h2 { font-family: var(--sans); font-size: 22px; letter-spacing: -.01em; }
.list-hd h2 small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--paper); border-radius: var(--r); }

/* 글 카드 */
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.gcard:hover { box-shadow: 0 14px 30px -18px rgba(18, 35, 63, .45); transform: translateY(-2px); }
.gcard[hidden] { display: none; }
.gcard-ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gcard-bd { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.gcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.gcard-meta time { margin-left: auto; }
.gcard strong { font-size: 18px; line-height: 1.45; letter-spacing: -.01em; }
.gcard-sum { font-size: 14.5px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 4px; background: var(--seal-soft); color: var(--seal-dk); font-size: 12.5px; font-weight: 700; line-height: 1.6; }
a.chip:hover { background: #F6D9BE; }

/* 글 검색 */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gsearch { margin-bottom: 26px; }
.cat-grid + .gsearch, .tags + .gsearch { margin-top: 30px; }
.gsearch-form { position: relative; display: flex; align-items: center; max-width: 640px; margin: 0 auto; }
.gsearch-form svg { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.gsearch-form input { width: 100%; height: 54px; padding: 0 48px 0 50px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--text); box-shadow: 0 10px 26px -20px rgba(18, 35, 63, .5); -webkit-appearance: none; appearance: none; }
.gsearch-form input::placeholder { color: #8A919D; }
.gsearch-form input::-webkit-search-cancel-button { display: none; }
.gsearch-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 35, 63, .12); }
.gsearch-x { position: absolute; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.gsearch-x:hover { background: var(--paper-2); color: var(--text); }
.gsearch-x[hidden], .gsearch-out[hidden] { display: none; }
.gsearch-out { margin-top: 26px; }
.gsearch-out .list-hd { margin-top: 0; }
.gsearch-out mark { background: #FBE7A8; color: inherit; padding: 0 1px; border-radius: 2px; }
.gsearch-none { padding: 34px 20px; text-align: center; background: var(--paper); border-radius: var(--r); color: var(--muted); }
.gsearch-none b { color: var(--text); }
.chip-kind { background: var(--ink); color: #fff; }
[data-search-rest][hidden] { display: none !important; }
/* 대응가이드 분류 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { display: flex; flex-direction: column; justify-content: flex-end; min-height: 132px; padding: 18px; border-radius: var(--r); color: #fff; background: linear-gradient(180deg, rgba(14, 26, 48, .5), rgba(14, 26, 48, .93)), var(--bg) center / cover no-repeat, var(--ink); border: 2px solid transparent; }
.cat strong { font-size: 16.5px; line-height: 1.4; }
.cat small { margin-top: 4px; font-size: 13px; color: #C9D0DB; }
.cat:hover, .cat.on { border-color: var(--orange); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter button, .tagchip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--text); }
.filter button:hover, a.tagchip:hover { border-color: var(--ink); }
.filter button.on, .tagchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tagchip small { opacity: .7; margin-left: 2px; }
.tagchip.off { color: #A3A9B3; background: var(--paper); border-style: dashed; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { padding: 28px; background: var(--paper); border-radius: var(--r); }
.box h2 { font-family: var(--sans); font-size: 19px; margin-bottom: 14px; }
.dots { display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 16px; font-size: 15px; color: #333D4C; }
.dots li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--seal); }
.flow { counter-reset: f; display: grid; gap: 12px; }
.flow li { counter-increment: f; position: relative; padding-left: 40px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.flow b { display: block; font-size: 15.5px; }
.flow span { font-size: 14.5px; color: var(--muted); }

/* 글 본문 */
.art-hd { background: var(--ink); color: #fff; padding: 40px 0 44px; }
.art-wrap { max-width: 820px; }
.art-hd h1 { margin-top: 20px; font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.35; letter-spacing: -.02em; }
.art-sum { margin-top: 14px; font-size: 17px; color: #D5DBE5; }
.art-meta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: #A9B2C0; }
.art-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r); margin-top: 32px; }
.prose { padding: 36px 0 8px; font-size: 17px; line-height: 1.85; color: #222B38; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 23px; line-height: 1.4; letter-spacing: -.01em; }
.prose h3 { margin-top: 30px; font-size: 19px; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--seal); font-weight: 700; }
.prose a { color: var(--seal-dk); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; background: linear-gradient(transparent 62%, #FBDDBF 62%); }
.prose blockquote { margin: 28px 0 0; padding: 18px 22px; background: var(--paper); border-left: 3px solid var(--seal); border-radius: 0 8px 8px 0; font-size: 16px; }
.prose img { border-radius: 8px; }
.tbl { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.prose th, .prose td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper); white-space: nowrap; }
.art-note { margin-top: 36px; font-size: 14px; color: var(--muted); }
.byline { display: flex; gap: 18px; align-items: center; margin: 28px 0 72px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.byline img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; flex: none; }
.byline b { display: block; font-size: 17px; }
.byline span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }

/* 업무분야 */
.pi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pi { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-bottom: 8px; }
.pi-ph { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; min-height: 220px; padding: 26px; border-radius: var(--r); color: #fff; background: linear-gradient(180deg, rgba(14, 26, 48, .35), rgba(14, 26, 48, .92)), var(--bg) center / cover no-repeat, var(--ink); }
.pi-ph .pr-no { color: #F2A35E; }
.pi-ph h2 { font-size: 30px; }
.pi > p { color: #3B4657; }
.pi-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.pi-fields a { display: block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.pi-fields a:hover { border-color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.jump a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; background: #fff; }
.jump a:hover { border-color: var(--ink); background: var(--paper); }
.fd { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hd-h) + 8px); }
.fd-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.fd h2 { font-family: var(--serif); font-size: 26px; }
.fd h2 small { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.fd-lead { margin-top: 10px; font-size: 16.5px; color: #333D4C; }
.fd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.fd-cols > div { padding: 20px; background: var(--paper); border-radius: 8px; }
.fd-cols h3 { font-size: 15px; margin-bottom: 10px; color: var(--seal-dk); }
.fd-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.fd-other { margin-top: 40px; text-align: center; }

/* 하위 페이지 아래 상담 안내 띠 */
.cta { background: #0A1320; color: #fff; padding: 52px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta h2 { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); }
.cta h2 em { font-style: normal; color: #FFC38A; }
.cta p { margin-top: 8px; color: #C9D0DB; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-kw { margin-top: 18px; font-size: 16px; font-weight: 500; color: #FFC38A; letter-spacing: .01em; }

/* 시안 표시 띠 (미리보기 파일에만 들어갑니다) */
.draft-bar { background: #FFF4CC; color: #5C4400; font-size: 13px; padding: 8px 16px; text-align: center; border-bottom: 1px solid #E8D48A; }

/* ───── 좁은 화면 ───── */
/* 2026-11-23 수정분 */
.sec-photo { background: linear-gradient(180deg, rgba(14, 26, 48, .9) 0%, rgba(14, 26, 48, .8) 50%, rgba(14, 26, 48, .92) 100%), var(--bg) center / cover no-repeat, var(--ink); }
.sec-photo .dl-row { border-bottom-color: rgba(255, 255, 255, .22); }
.gcards-4 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcards-4 .gcard-sum { -webkit-line-clamp: 2; font-size: 14px; }
.sec-more { margin-top: 36px; text-align: center; }
.chip-top { background: var(--gold); color: var(--gold-tx); }
.law-hd { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: end; }
.law-hd > div { max-width: 760px; }
.law-hd h2 { line-height: 1.5; }
.law-hd p:not(.kicker) { margin-top: 22px; line-height: 2; }
.law-ph { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.law-ph img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 0; }
.law-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; font-size: 13px; color: #E6EAF0; background: linear-gradient(transparent, rgba(8, 14, 24, .85)); }
.law-ph figcaption b { font-family: var(--serif); font-size: 17px; color: #fff; margin-right: 4px; }
.creds b { display: block; line-height: 1.45; margin-top: 2px; }

@media (max-width: 1180px) {
  .nav a { padding: 8px 7px; font-size: 14px; }
  .sit-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hd-tel { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 414px; gap: 28px; }
  .gcards-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --hd-h: 64px; }
  .pc-only { display: none; }
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--hd-h); flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--paper-2); }
  .hd-cta { margin-left: auto; gap: 10px; }
  .consult { grid-template-columns: 1fr; gap: 32px; }
  .consult-info { position: static; }
  .view-grid, .bio { grid-template-columns: 1fr; }
  .bio { gap: 32px; }
  .certs { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { padding: 24px 20px 16px; border-bottom: 1px solid var(--line); }
  .steps li:first-child { padding-left: 20px; }
  .steps li:nth-child(2n) { border-right: 0; }
  .loc { grid-template-columns: 1fr; gap: 24px; }
  .gcards, .gcards-4 { grid-template-columns: repeat(2, 1fr); }
  .law-hd { grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; }
  .fd { grid-template-columns: 1fr; gap: 20px; }
  .fd-ph img { aspect-ratio: 16 / 7; }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .creds li { padding: 16px; border-top: 1px solid var(--ink-line); }
  .creds li:nth-child(-n+2) { border-top: 0; }
  .creds li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 767px) {
  body { font-size: 15.5px; padding-bottom: 64px; }
  .wrap { padding: 0 18px; }
  .m-only { display: inline; }
  .sec { padding: 64px 0; }
  .sec-hd { margin-bottom: 32px; }
  .sec-hd p:not(.kicker) { font-size: 16px; }
  .hd .btn-seal { display: none; }
  .hero-in { grid-template-columns: 1fr; gap: 0; padding-top: 44px; }
  .hero-tx { padding-bottom: 36px; }
  .eyebrow { font-size: 12.5px; padding: 5px 12px; }
  .hero-lead { font-size: 16px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-tx .hero-btns { display: none; }
  .hero-btns-m { display: flex; margin-top: 8px; padding: 20px 0 32px; border-top: 1px solid var(--ink-line); }
  .hero-tx { padding-bottom: 20px; }
  .hero-ph { max-width: 330px; margin: 0 auto; }
  .gcards-4 { grid-template-columns: 1fr; }
  .law-hd { grid-template-columns: 1fr; }
  .law-ph { width: 170px; order: -1; }
  .law-hd p:not(.kicker) { line-height: 1.85; }
  .creds b { font-size: 14.5px; }
  .creds small { font-size: 12px; }
  .sit-grid, .steps, .row2, .gcards, .two, .pi-grid, .fd-cols { grid-template-columns: 1fr; }
  .sit { padding: 22px 20px 20px; }
  .sit h3 { font-size: 19px; min-height: 0; }
  .pb-hd { padding: 24px 20px 22px; }
  .pb-hd h3 { font-size: 23px; }
  .pb-tbl th, .pb-tbl td { display: block; width: auto; padding: 12px 20px; }
  .pb-tbl th { border-bottom: 0; padding-bottom: 8px; }
  .pb-tbl th small { display: inline; margin-left: 6px; }
  .pb-ft { padding: 18px 20px 22px; }
  .pb-ft .btn { width: 100%; white-space: normal; text-align: center; padding: 10px 14px; }
  .consult-info { padding: 26px 20px; }
  .logo-row { font-size: 19px; }
  .logo-mark { width: 21px; height: 24px; }
  .logo-office { font-size: 11px; }
  .ph { padding: 30px 0 36px; }
  .ph-lead, .art-sum, .prose { font-size: 16px; }
  .sec-tight { padding: 40px 0 56px; }
  .box { padding: 22px 20px; }
  .byline { margin-bottom: 48px; }
  .cta { padding: 40px 0; }
  .cta-btns .btn { flex: 1 1 100%; }
  .steps li, .steps li:first-child { border-right: 0; padding: 22px 0 18px; }
  .dl-head { display: none; }
  .dl-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .form { padding: 22px 18px; border-radius: 12px; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .faq summary { font-size: 16.5px; }
  .faq p { padding-right: 0; }
  .map iframe { height: 300px; }
  .ft-in { flex-direction: column; gap: 24px; }
  .ft { padding-bottom: 40px; }
  .consent { grid-template-columns: 1fr; gap: 2px; }
  .consent dd { margin-bottom: 10px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; transform: translateY(110%); transition: transform .25s ease; }
  .dock.show { transform: none; }
  .ft-top { display: flex; justify-content: center; padding: 8px 0 28px; }
  .ft-top a { display: inline-flex; align-items: center; gap: 6px; padding: 11px 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 15px; font-weight: 700; background: rgba(255, 255, 255, .06); }
  .ft-top a::before { content: '↑'; font-size: 16px; }
  .dock a { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 8px; font-weight: 700; border: 1px solid var(--ink); color: var(--ink); }
  .dock a.on { background: var(--gold); border-color: #B8892F; color: var(--gold-tx); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── 2026-11-25 수정 ── */
/* 증서 크게 보기: 3초 뒤 자동으로 닫힘. 아래 금색 줄이 남은 시간을 보여 줌 */
.dlg-img { cursor: pointer; }
.zoom-bar { display: block; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--gold); transform-origin: left; }
.dlg-img.run .zoom-bar { animation: zoombar 3s linear forwards; }
@keyframes zoombar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 767px) {
  /* 첫 화면: 스펙 4칸 아래 상담 버튼을 뺀 자리 여백 */
  .creds { padding-bottom: 20px; }
  /* 메인 대응가이드: 8편, 한 줄에 2편, 제목만 */
  .gcards-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gcards-4 .gcard:nth-child(n+9) { display: none; }
  .gcards-4 .gcard-sum, .gcards-4 .gcard-meta time { display: none; }
  .gcards-4 .gcard-bd { padding: 11px 12px 14px; gap: 6px; }
  .gcards-4 .gcard strong { font-size: 14.5px; line-height: 1.42; }
  .gcards-4 .gcard-meta { gap: 4px; }
  .gcards-4 .chip { font-size: 11px; padding: 2px 7px; }
  /* 변호사 소개 약력: 글자 10% 작게, 제목은 금색 칸 */
  .bio-col li { font-size: 13.5px; }
  .bio h3 { display: block; padding: 9px 14px; border-radius: 8px; background: var(--gold); color: var(--gold-tx); font-size: 14.5px; letter-spacing: .06em; box-shadow: inset 0 0 0 1px rgba(122, 84, 14, .35); }
}
@media (max-width: 767px) {
  /* 첫 화면을 짧게: 분야 문구를 빼고 사진을 위로 당김 */
  .hero-kw { display: none; }
  .hero-in { padding-top: 30px; }
  .hero-tx { padding-bottom: 0; }
  .hero h1 { margin-top: 16px; }
  .hero-lead { margin-top: 14px; }
  .hero-ph { margin-top: -6px; }
}
