/* 법무법인 서상 — 색과 글꼴은 아래 :root 값만 바꾸면 사이트 전체에 반영됩니다. */
:root {
  --paper: #F3F4F7;       /* 배경: 아주 옅은 회청색 */
  --surface: #FFFFFF;     /* 카드·본문 바탕 */
  --ink: #18213A;         /* 본문 글자 */
  --ink-soft: #4E5770;    /* 보조 글자 */
  --line: #D6DAE4;        /* 구분선 */
  --pine: #09215E;        /* 대표색: 서상 로고 남색 */
  --pine-deep: #061844;
  --pine-wash: #E3E8F3;
  --honey: #D99A2B;       /* 상담 버튼 전용 */
  --honey-deep: #B97E17;
  /* 글꼴: 사이트 전체를 프리텐다드 하나로 씁니다. 제목·본문은 굵기로만 구분합니다. */
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --wrap: 1120px;
  --radius-lg: 18px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 .5em; }
h2 { font-size: clamp(21px, 2.2vw, 26px); margin: 1.6em 0 .6em; }
h3 { font-size: 18px; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 244, 247, .95); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 164px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; }
.site-nav a:hover { background: var(--pine-wash); }
.site-nav a[aria-current="page"] { color: var(--pine); font-weight: 600; }
.site-nav .nav-call { margin-left: 8px; background: var(--pine); color: #fff; font-weight: 600; }
.site-nav .nav-call:hover { background: var(--pine-deep); color: #fff; }
.nav-toggle { display: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font); }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-honey:hover { background: var(--honey-deep); color: var(--ink); }
.btn-line { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-line:hover { background: var(--pine); color: #fff; }

/* 히어로 */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.hero-place { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.hero-place::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }
.hero h1 { text-wrap: balance; font-size: clamp(30px, 4vw, 44px); line-height: 1.3; margin-bottom: 22px; }
.hero-lede { font-size: 17px; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.hero-hours { font-size: 14.5px; color: var(--ink-soft); }
.hero-questions { background: var(--pine); color: #E6EAF4; border-radius: var(--radius-lg); padding: 30px 30px 24px; }
.hero-questions h2 { color: #fff; font-size: 21px; margin: 0 0 10px; }
.hero-questions ul { list-style: none; margin: 0; padding: 0; }
.hero-questions li + li { border-top: 1px solid rgba(255,255,255,.16); }
.hero-questions li a { display: block; padding: 16px 0; color: inherit; text-decoration: none; }
.hero-questions .q { display: block; font-family: var(--font); font-size: 18.5px; font-weight: 700; color: #fff; }
.hero-questions .a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.6; margin-top: 4px; color: #C3CCE2; }
.hero-questions li a:hover .q { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--honey); }
.hero-questions .more { color: var(--honey); }
.more { display: inline-block; margin-top: 14px; font-weight: 600; }

/* 섹션 */
.section { padding: 64px 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: baseline; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 40em; }

/* 업무분야 목록 */
.practice-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.practice-list li { border-bottom: 1px solid var(--line); }
.practice-list a { display: block; padding: 22px 0; text-decoration: none; color: var(--ink); }
.practice-title { display: block; font-family: var(--font); font-size: 19px; font-weight: 700; color: var(--pine); margin-bottom: 6px; }
.practice-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.practice-list a:hover .practice-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--honey); }
.practice-list-wide .practice-summary { -webkit-line-clamp: unset; display: block; }

/* 변호사 */
.lawyer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lawyer-card a { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); text-decoration: none; color: var(--ink); height: 100%; }
.section-tint .lawyer-card a { background: var(--paper); }
.lawyer-card a:hover { border-color: var(--pine); }
.lawyer-card .portrait { grid-row: 1 / 4; width: 72px; height: 88px; }
.lawyer-name { font-family: var(--font); font-size: 20px; font-weight: 700; }
.lawyer-role { font-size: 14.5px; color: var(--ink-soft); }
.lawyer-spec { font-size: 13.5px; color: var(--pine); margin-top: 6px; line-height: 1.5; }
.portrait { display: block; object-fit: cover; object-position: center top; border-radius: 12px; background: linear-gradient(180deg, #E9EDF6 0%, #D3DAEA 100%); }
.portrait-mono { display: grid; place-items: center; font-family: var(--font); font-weight: 700; font-size: 30px; color: var(--pine); background: var(--pine-wash); }

/* 칼럼 목록 */
.column-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.column-item { border-bottom: 1px solid var(--line); }
.column-item a { display: block; padding: 22px 0; text-decoration: none; color: var(--ink); }
.column-meta { display: block; font-size: 14px; color: var(--ink-soft); }
.column-title { display: block; font-family: var(--font); font-size: 19px; font-weight: 700; margin: 4px 0 6px; color: var(--ink); }
.column-summary { display: block; color: var(--ink-soft); font-size: 15.5px; max-width: 46em; }
.column-item a:hover .column-title { color: var(--pine); }

/* 사무소 */
.office-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office { padding: 22px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.office h3 { margin: 0 0 8px; color: var(--pine); }
.office p { font-size: 15.5px; margin-bottom: 8px; }
.office-note { color: var(--ink-soft); }

/* 상담 띠 */
.consult-band { background: var(--pine-deep); color: #D9DFEE; padding: 52px 0; }
.consult-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.consult-band h2 { color: #fff; margin: 0 0 8px; }
.consult-band p { margin: 0; max-width: 36em; }
.consult-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.consult-band .btn-line { border-color: #D9DFEE; color: #fff; }
.consult-band .btn-line:hover { background: #fff; color: var(--pine-deep); }

/* 일반 페이지 */
.crumbs { padding-top: 18px; font-size: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.page { padding-top: 28px; padding-bottom: 72px; }
.page-head { max-width: 760px; margin-bottom: 28px; }
.lede { font-size: 18.5px; color: var(--ink-soft); }
.summary-box { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: var(--radius-sm); padding: 18px 22px; font-size: 16px; }
.summary-box strong { color: var(--pine); margin-right: 6px; }
.summary-list h2 { font-size: 18px; margin: 0 0 8px; color: var(--pine); }
.summary-list ul { margin: 0; padding-left: 1.2em; }
.summary-list li + li { margin-top: 4px; }
.prose { max-width: 720px; font-size: 17.5px; line-height: 1.85; }
.prose h2 { font-size: 25px; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--honey); color: var(--ink-soft); }
.prose code { background: var(--pine-wash); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--pine-wash); }
.case-types { max-width: 760px; }
.case-types ul { padding-left: 1.2em; columns: 2; column-gap: 32px; }
.case-types li { break-inside: avoid; margin-bottom: 6px; }
.related { margin-top: 48px; max-width: 900px; }
.related .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
.laws { max-width: 720px; margin-top: 32px; font-size: 15.5px; }
.laws h2 { font-size: 19px; }
.notice { max-width: 720px; margin-top: 28px; font-size: 14.5px; color: var(--ink-soft); background: var(--pine-wash); padding: 14px 18px; border-radius: var(--radius-sm); }
.article-cat { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.article-cat a { text-decoration: none; }
.article-meta { color: var(--ink-soft); font-size: 15px; }
.author-box { max-width: 720px; display: grid; grid-template-columns: 72px 1fr; gap: 18px; margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.author-box .portrait { width: 72px; height: 88px; }
.author-box p { margin: 0 0 4px; font-size: 15.5px; }
.author-label { color: var(--ink-soft); font-size: 13.5px !important; }
.author-name { font-family: var(--font); font-size: 19px !important; font-weight: 700; }
.author-spec { color: var(--pine); }
.plain-links { padding-left: 1.2em; }

/* FAQ */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.faq-jump a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 15px; }
.faq-group { max-width: 760px; margin-top: 40px; }
.faq-item { padding: 6px 0 18px; border-bottom: 1px solid var(--line); }
.faq-item h3 a { color: var(--ink); text-decoration: none; }
.faq-item h3 a:hover { color: var(--pine); text-decoration: underline; }
.faq-short { font-weight: 500; color: var(--pine-deep); }
.faq-item .prose { font-size: 16px; color: var(--ink-soft); }

/* 변호사 상세 */
.lawyer-head { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; margin-bottom: 28px; }
.lawyer-head .portrait { width: 180px; height: 220px; font-size: 64px; }
.lawyer-head h1 { margin-bottom: 10px; }
.lawyer-head h1 span { font-size: .55em; color: var(--ink-soft); font-weight: 400; margin-left: 6px; }
.lawyer-office { margin: 0 0 6px; color: var(--ink-soft); }
.lawyer-quote { font-family: var(--font); font-size: 18px; color: var(--pine); }
.lawyer-head .lawyer-spec { font-size: 15.5px; margin: 0 0 4px; }
.lawyer-areas { font-size: 15.5px; margin: 0; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; margin-top: 12px; }
.cv-block h2 { font-size: 20px; margin: 24px 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--pine); }
.cv-block ul { padding-left: 1.1em; margin: 0; font-size: 16px; }
.cv-block li + li { margin-top: 4px; }
.office-group h2 { margin-top: 40px; }

/* 연혁: 실제 시간 순서이므로 세로선 타임라인 */
.timeline-wrap { max-width: 720px; margin-top: 40px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--pine); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--pine); }
.timeline .when { display: block; font-weight: 600; color: var(--pine); }

/* 상담 */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.contact-phone, .contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.contact-phone h2, .contact-form h2 { margin-top: 0; font-size: 22px; }
.phone-big { display: block; font-family: var(--font); font-size: 34px; font-weight: 700; color: var(--pine); text-decoration: none; margin-bottom: 4px; }
.small { font-size: 14.5px; color: var(--ink-soft); }
form label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 14px; }
form input, form select, form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid #B9C0D0; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px var(--pine-wash); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; }
.offices-detail { margin-top: 48px; }
.thanks { max-width: 640px; padding-top: 72px; }
.thanks .btn { margin: 6px 8px 0 0; }

/* 푸터 */
.site-footer { background: var(--ink); color: #B8C0D4; font-size: 14.5px; line-height: 1.7; padding: 44px 0 110px; }
.site-footer a { color: #E8ECF5; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 32px; }
.footer-logo img { display: block; width: 164px; height: auto; }
.footer-offices { list-style: none; margin: 0; padding: 0; }
.footer-offices li + li { margin-top: 6px; }
.footer-offices strong { color: #fff; font-weight: 500; margin-right: 6px; }
.footer-legal a { margin-right: 12px; }
.copy { color: #8A93AA; }

/* 사진 */
.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.story-grid h2 { margin-top: 0; }
.story-grid h3 { font-size: 19px; color: var(--pine); margin: 1.1em 0 .2em; }
.story-grid p { color: var(--ink-soft); margin: 0; }
.story-photo, .offices-map, .about-photo { margin: 0; }
.story-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.offices-map { margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; max-width: 760px; }
.offices-map img { display: block; width: 100%; height: auto; }
.office-map { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-bottom: 14px; background: #fff; }
.about-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin: 8px 0 36px; max-width: 980px; }
.about-photo img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-lg); }
.signature { max-width: 720px; text-align: right; margin-top: 8px; }
.signature img { display: inline-block; width: 221px; height: auto; }

/* 휴대폰 하단 상담 바 */
.callbar { display: none; }

@media (max-width: 960px) {
  .hero-grid, .section-head, .contact-grid, .story-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 28px; }
  .hero-grid { gap: 36px; }
  .lawyer-grid, .office-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 8px; border-radius: 8px; }
  .site-nav .nav-call { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero { padding: 32px 0 44px; }
  .hero-lede { font-size: 17.5px; }
  .hero-questions { padding: 22px 20px 18px; }
  .section { padding: 48px 0; }
  .practice-list, .lawyer-grid, .office-list, .related .lawyer-grid, .cv, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .case-types ul { columns: 1; }
  .about-photos { grid-template-columns: 1fr 1fr; }
  .about-photo-0 { grid-column: 1 / -1; }
  .about-photo img { height: 200px; }
  .brand img { width: 140px; }
  .lawyer-head { grid-template-columns: 110px 1fr; gap: 18px; align-items: start; }
  .lawyer-head .portrait { width: 110px; height: 134px; font-size: 42px; }
  .lawyer-quote { font-size: 17px; }
  .consult-actions .btn, .hero-actions .btn { flex: 1 1 100%; }
  .phone-big { font-size: 34px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { display: grid; place-items: center; min-height: 56px; font-weight: 600; text-decoration: none; }
  .callbar-phone { background: var(--honey); color: var(--ink); }
  .callbar-form { background: var(--pine); color: #fff; }
}


/* 홈: 한눈에 보기 */
.facts { background: var(--pine); color: #E6EAF4; border-radius: var(--radius-lg); padding: 28px 30px 20px; }
.facts h2 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.facts dl { margin: 0; }
.facts-lead { font-size: 15px; line-height: 1.65; color: #D3DAEA; margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.16); }
.facts dt small { font-size: 12px; color: #8E9BBE; }
.facts dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.16); }
.facts dl > div:first-child { border-top: 0; }
.facts dt { font-size: 14px; color: #AEB9D6; line-height: 1.6; }
.facts dd { margin: 0; font-size: 15px; line-height: 1.6; color: #fff; }
.facts a { color: #fff; text-decoration-color: var(--honey); }
.facts a:hover { color: var(--honey); }

/* 홈: 분야 카드 */
.practice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.practice-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 22px; }
.practice-card h3 { margin: 0 0 10px; font-size: 20px; }
.practice-card h3 a { color: var(--pine); text-decoration: none; }
.practice-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 5px; }
.practice-card-summary { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.practice-card-spec { font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; line-height: 1.6; }
.practice-card h4 { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--ink-soft); margin: 10px 0 4px; letter-spacing: .02em; }
.practice-card .more { margin-top: auto; padding-top: 14px; }

/* 사례 목록 */
.case-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.case-item { border-bottom: 1px solid var(--line); }
.case-item a { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); }
.case-cat { display: inline-block; font-size: 13px; font-weight: 600; color: var(--pine); background: var(--pine-wash); border-radius: 999px; padding: 1px 10px; margin-bottom: 4px; }
.case-title { display: block; font-weight: 600; line-height: 1.5; }
.case-result { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; line-height: 1.55; }
.case-item a:hover .case-title { color: var(--pine); text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 4px; }
.case-list-compact .case-item a { padding: 11px 0; }
.case-list-compact .case-title { font-size: 15.5px; }
.case-group { margin-top: 36px; }
.case-group .case-list { max-width: 820px; }
.case-result-box { max-width: 760px; background: var(--pine-wash); border-radius: var(--radius-sm); padding: 14px 22px; font-weight: 600; color: var(--pine-deep); }
.case-result-box strong { margin-right: 8px; }
.eyebrow { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.eyebrow a { text-decoration: none; }

/* 홈: 관할 안내 */
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.local-grid h2 { margin-top: 0; }
.local-grid p { color: var(--ink-soft); }
.local-list { list-style: none; margin: 0; padding: 0; }
.local-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 12px; }
.local-list strong { display: block; color: var(--pine); font-family: var(--font); font-size: 16.5px; }
.local-list span { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

/* 홈: 변호사 */
.lawyer-feature { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lawyer-feature a { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); text-decoration: none; color: var(--ink); height: 100%; }
.lawyer-feature a:hover { border-color: var(--pine); }
.lawyer-feature .portrait { width: 150px; height: 188px; font-size: 52px; }
.lf-body { display: flex; flex-direction: column; gap: 6px; }
.lawyer-feature .lawyer-name { font-family: var(--font); font-size: 21px; font-weight: 700; }
.lawyer-feature .lawyer-name small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.lawyer-feature .lawyer-spec { font-size: 14.5px; font-weight: 600; color: var(--pine); }
.lf-quote { font-family: var(--font); color: var(--ink); }
.lf-summary { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

/* 홈: 자주 묻는 질문 */
.home-faq { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.home-faq li { border-bottom: 1px solid var(--line); }
.home-faq a { display: block; padding: 20px 0; text-decoration: none; color: var(--ink); }
.home-faq .q { display: block; font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--pine); margin-bottom: 4px; }
.home-faq .a { display: block; font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.home-faq a:hover .q { text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 4px; }

/* 홈: 오시는 길 */
.office-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.office-feature h2 { margin-top: 0; }
.office-map-wrap { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; }
.office-map-wrap .office-map { margin: 0; border: 0; }
.office-postal { color: var(--ink-soft); font-size: 15px; margin-top: -8px; }
.office-addr { font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--ink); }

@media (max-width: 960px) {
  .practice-cards { grid-template-columns: 1fr; }
  .local-grid, .office-feature { grid-template-columns: 1fr; gap: 24px; }
  .lawyer-feature { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts { padding: 22px 20px 14px; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .lawyer-feature a { grid-template-columns: 96px 1fr; gap: 16px; padding: 18px; }
  .lawyer-feature .portrait { width: 96px; height: 120px; font-size: 36px; }
  .home-faq { grid-template-columns: 1fr; }
}


/* 홈: 사건 진행 그림 */
.flow-board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px 20px; }
.flow-row { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px dashed var(--line); }
.flow-row:first-child { border-top: 0; padding-top: 4px; }
.flow-label { align-self: stretch; display: grid; place-items: center; border-radius: 12px; background: var(--pine); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; min-height: 64px; }
.flow-label:hover { background: var(--pine-deep); color: #fff; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.flow-step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; }
.flow-step + .flow-step::before { content: ""; position: absolute; left: -28px; top: 15px; width: 22px; height: 14px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M0 7h19M14 2l5 5-5 5' fill='none' stroke='%23D99A2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.flow-icon { grid-row: 1 / 4; width: 44px; height: 44px; border-radius: 50%; background: var(--pine-wash); display: grid; place-items: center; }
.flow-icon svg, .flow-pin svg { width: 22px; height: 22px; fill: none; stroke: var(--pine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.is-court .flow-icon { background: var(--honey); }
.is-court .flow-icon svg { stroke: var(--ink); }
.flow-k { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.flow-no { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 11px; }
.flow-v { font-weight: 700; font-size: 15.5px; line-height: 1.45; color: var(--ink); margin-top: 2px; }
.is-court .flow-v { color: var(--pine); }
.flow-n { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 2px; }
.flow-office { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--paper); font-size: 15px; }
.flow-office strong { color: var(--pine); margin-right: 4px; }
.flow-pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--honey); flex: none; }
.flow-pin svg { stroke: var(--ink); }
@media (max-width: 960px) {
  .flow-row { grid-template-columns: 1fr; gap: 14px; }
  .flow-label { min-height: 40px; justify-self: start; padding: 0 18px; border-radius: 999px; }
}
@media (max-width: 720px) {
  .flow-board { padding: 18px 16px 14px; }
  .flow-steps { grid-template-columns: 1fr; gap: 22px; }
  .flow-step + .flow-step::before { left: 13px; top: -19px; width: 18px; height: 16px; transform: rotate(90deg); }
}


/* 홈: 일하는 방식 */
.story-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; margin-bottom: -48px; }
.story-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,24,68,.92) 0%, rgba(6,24,68,.7) 45%, rgba(6,24,68,.15) 100%); }
.story-banner-text { position: relative; z-index: 1; padding: 36px 40px 80px; max-width: 560px; }
.story-banner-text h2 { color: #fff; margin: 0 0 8px; }
.story-banner-text p { color: #D3DAEA; margin: 0; }
.principles { position: relative; z-index: 2; list-style: none; margin: 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: p; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 24px 22px; box-shadow: 0 10px 30px -18px rgba(9,33,94,.35); }
.principle-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.principle-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--pine); display: grid; place-items: center; }
.principle-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.principle:nth-child(2) .principle-icon { background: var(--honey); }
.principle:nth-child(2) .principle-icon svg { stroke: var(--ink); }
.principle-no { font-size: 34px; font-weight: 800; color: var(--pine-wash); letter-spacing: -0.03em; line-height: 1; }
.principle-label { display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px; background: #F8EBD3; font-size: 14px; font-weight: 700; color: #8A5B0C; }
.principle h3 { margin: 0 0 8px; font-size: 19px; color: var(--pine); }
.principle p:last-child { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.story .more { margin-left: 24px; }
@media (max-width: 960px) {
  .principles { grid-template-columns: 1fr; margin: 0 12px; }
  .story-banner-text { padding: 28px 24px 72px; }
  .story .more { margin-left: 12px; }
}


/* 업무분야 상세 */
.wrap.narrow { max-width: 860px; }
.practice-hero { background: var(--pine); color: #D3DAEA; padding: 52px 0 56px; }
.practice-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.eyebrow-light { color: var(--honey); font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.practice-hero h1 { color: #fff; margin: 0 0 16px; }
.practice-lede { font-size: 16.5px; line-height: 1.75; color: #D3DAEA; }
.btn-line-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-line-light:hover { background: #fff; color: var(--pine); }
.practice-facts { margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 8px 24px; }
.practice-facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); }
.practice-facts > div:first-child { border-top: 0; }
.practice-facts dt { font-size: 14px; color: #AEB9D6; line-height: 1.6; }
.practice-facts dt small { font-size: 12px; color: #8E9BBE; }
.practice-facts dd { margin: 0; color: #fff; font-size: 15px; line-height: 1.6; }
.practice-facts a { color: #fff; text-decoration-color: var(--honey); }
.group-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.group-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); }
.group-cards a:hover { border-color: var(--pine); }
.group-name { font-weight: 700; font-size: 17.5px; color: var(--pine); }
.group-text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.group-count { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 600; color: #8A5B0C; }
.timeline-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.timeline-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.timeline-steps li + li::before { content: ""; position: absolute; left: -12px; top: 32px; width: 10px; height: 10px; border-top: 2px solid var(--honey); border-right: 2px solid var(--honey); transform: rotate(45deg); }
.ts-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pine); color: #fff; font-weight: 700; font-size: 14px; }
.ts-title { font-weight: 700; font-size: 16.5px; color: var(--ink); margin-top: 4px; }
.ts-text { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.check-list { list-style: none; margin: 0 0 1em; padding: 0; }
.check-list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(-45deg); }
.case-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.case-block { scroll-margin-top: 90px; }
.case-block h3 { font-size: 17px; color: var(--pine); margin: 18px 0 6px; display: flex; align-items: center; gap: 8px; }
.case-block h3::before { content: ""; width: 4px; height: 16px; background: var(--honey); border-radius: 2px; }
.practice-notice { padding-bottom: 8px; }
@media (max-width: 960px) {
  .practice-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .timeline-steps { grid-template-columns: 1fr; }
  .timeline-steps li + li::before { left: 26px; top: -12px; transform: rotate(135deg); }
  .case-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .practice-hero { padding: 36px 0 40px; }
  .practice-facts > div { grid-template-columns: 1fr; gap: 2px; }
}


/* 업무분야: 알아두세요 카드 */
.qa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qa-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 24px 22px; scroll-margin-top: 90px; }
.qa-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.qa-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--pine-wash); display: grid; place-items: center; }
.qa-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--pine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qa-no { font-size: 13px; font-weight: 700; color: #8A5B0C; background: #F8EBD3; border-radius: 999px; padding: 2px 10px; }
.qa-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.45; color: var(--pine); }
.qa-body p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 .8em; }
.qa-body p:last-child { margin-bottom: 0; }
.qa-body .qa-answer { color: var(--ink); font-weight: 700; font-size: 15.5px; line-height: 1.6; padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--honey); border-radius: 6px; margin-bottom: 14px; }
.qa-body strong { color: var(--ink); }
.scope-panel { margin-top: 24px; background: var(--pine-wash); border-radius: var(--radius-lg); padding: 22px 26px; }
.scope-panel h3 { margin: 0 0 12px; font-size: 17px; color: var(--pine); }
.scope-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.scope-grid li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; }
.scope-grid li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(-45deg); }
@media (max-width: 960px) {
  .qa-cards { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
}


.qa-cards-2 { grid-template-columns: 1fr 1fr; }
.section-tint .qa-card { background: var(--paper); }
.section-tint .qa-card .qa-answer { background: var(--surface); }
.qa-card h3 a { color: inherit; text-decoration: none; }
.qa-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 4px; }
.qa-prose { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.qa-prose p, .qa-prose ul, .qa-prose ol { font-size: 15px; margin: 0 0 .8em; }
.qa-prose ul { padding-left: 1.2em; }
.qa-prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 6px 0 12px; }
.qa-prose th, .qa-prose td { border-bottom: 1px solid var(--line); padding: 7px 6px; text-align: left; vertical-align: top; }
.qa-prose th { color: var(--ink); font-weight: 600; background: var(--pine-wash); }
.qa-laws { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-soft); }
.qa-laws span { display: inline-block; font-weight: 700; color: var(--pine); margin-right: 6px; }
.qa-card .qa-body { display: flex; flex-direction: column; flex: 1; }
@media (max-width: 960px) { .qa-cards-2 { grid-template-columns: 1fr; } }


/* 성공사례 목록 */
.stat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-tiles li > a, .stat-tiles li.st-total { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); text-decoration: none; color: #fff; height: 100%; }
.stat-tiles li > a:hover { background: rgba(255,255,255,.13); }
.stat-tiles li.st-total { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.st-num { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.st-label { font-size: 14px; color: #C3CCE2; }
.st-total .st-label { color: var(--ink); font-weight: 600; }
.case-filter-bar { position: sticky; top: 68px; z-index: 30; background: rgba(243,244,247,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.cf-row, .cf-sub { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-sub { margin-top: 10px; }
.cf-sub[hidden] { display: none; }
.cf-btn { font-family: var(--font); font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.cf-btn span { color: var(--ink-soft); font-weight: 500; margin-left: 2px; }
.cf-btn.is-on { background: var(--pine); border-color: var(--pine); color: #fff; }
.cf-btn.is-on span { color: #C3CCE2; }
.cf-chip { font-family: var(--font); font-size: 13.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; }
.cf-chip.is-on { background: #F8EBD3; border-color: #EBCB8E; color: #8A5B0C; font-weight: 600; }
.case-sec[hidden], .cc[hidden] { display: none; }
.case-sec { scroll-margin-top: 140px; }
.section-head h2 small { font-size: 15px; font-weight: 600; color: var(--honey-deep); margin-left: 6px; }
.cc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cc a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); }
.section-tint .cc a { background: var(--paper); }
.cc a:hover { border-color: var(--pine); box-shadow: 0 10px 26px -18px rgba(9,33,94,.45); }
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-cat { font-size: 12.5px; font-weight: 700; color: #fff; background: var(--pine); border-radius: 999px; padding: 2px 10px; }
.cc-group { font-size: 12.5px; font-weight: 600; color: var(--pine); background: var(--pine-wash); border-radius: 999px; padding: 2px 10px; }
.cc-title { font-weight: 700; font-size: 16.5px; line-height: 1.45; }
.cc-result { font-size: 14px; font-weight: 600; color: var(--ink); background: var(--paper); border-left: 3px solid var(--honey); border-radius: 4px; padding: 7px 10px; line-height: 1.5; }
.section-tint .cc-result { background: var(--surface); }
.cc-summary { font-size: 14px; color: var(--ink-soft); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-more { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--pine); }
.cc a:hover .cc-more { text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 4px; }

/* 성공사례 상세 */
.case-hero { padding: 44px 0 46px; }
.case-hero h1 { max-width: 820px; }
.eyebrow-light a { color: inherit; text-decoration: none; }
.case-hero-result { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 10px 16px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: 15.5px; }
.case-hero-result span { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--honey); border-radius: 999px; padding: 2px 10px; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.case-summary { font-size: 16px; font-weight: 600; line-height: 1.7; padding: 16px 18px; background: var(--surface); border-left: 3px solid var(--honey); border-radius: 6px; color: var(--ink); margin: 0; }
.case-steps { list-style: none; margin: 24px 0; padding: 0; position: relative; }
.case-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.case-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 22px; }
.case-step-icon { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--pine); display: grid; place-items: center; }
.case-step-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.case-step:last-child .case-step-icon { background: var(--honey); }
.case-step:last-child .case-step-icon svg { stroke: var(--ink); }
.case-step-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px; }
.case-step-body h2 { font-size: 18px; margin: 0 0 8px; color: var(--pine); }
.case-step:last-child .case-step-body { border-color: #EBCB8E; background: #FFFBF3; }
.case-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.case-facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px 20px; }
.case-facts > div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.case-facts > div:first-child { border-top: 0; }
.case-facts dt { color: var(--ink-soft); }
.case-facts dd { margin: 0; }
.case-facts small { color: var(--ink-soft); font-size: 12.5px; }
.case-cta { background: var(--pine); color: #fff; border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.case-cta p { margin: 0 0 4px; font-weight: 600; }
.case-cta .btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.case-cta .btn-line:hover { background: #fff; color: var(--pine); }
@media (max-width: 960px) {
  .cc-grid { grid-template-columns: 1fr 1fr; }
  .case-layout { grid-template-columns: 1fr; }
  .case-side { position: static; }
}
@media (max-width: 640px) {
  .cc-grid { grid-template-columns: 1fr; }
  .case-filter-bar { top: 60px; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
}


/* 변호사 소개 */
.lawyer-profiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.lp-photo .portrait { width: 170px; height: 212px; font-size: 56px; }
.lp-body h2 { margin: 0 0 6px; font-size: 26px; }
.lp-body h2 a { color: var(--ink); text-decoration: none; }
.lp-body h2 small { font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.lp-quote { color: var(--pine); font-weight: 600; margin-bottom: 10px; }
.lp-spec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.lp-label { font-size: 13px; color: var(--ink-soft); margin-right: 4px; }
.spec-chip { font-size: 13.5px; font-weight: 700; color: #8A5B0C; background: #F8EBD3; border-radius: 999px; padding: 3px 12px; }
.lp-spec-light .lp-label { color: #AEB9D6; }
.lp-summary { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.lp-facts { margin: 0 0 16px; border-top: 1px solid var(--line); }
.lp-facts > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.lp-facts dt { color: var(--ink-soft); }
.lp-facts dd { margin: 0; }
.lawyer-hero { padding: 44px 0 48px; }
.lawyer-hero-grid { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.lh-photo .portrait { width: 200px; height: 250px; font-size: 64px; border-radius: 16px; }
.lawyer-hero h1 { color: #fff; margin: 0 0 8px; }
.lawyer-hero h1 span { font-size: .5em; font-weight: 500; color: #C3CCE2; margin-left: 6px; }
.lh-quote { font-size: 18px; color: #fff; font-weight: 500; margin-bottom: 12px; }
.lawyer-intro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.lawyer-intro h2 { margin-top: 0; }
.lawyer-summary { font-size: 16px; font-weight: 600; line-height: 1.75; padding: 16px 18px; background: var(--surface); border-left: 3px solid var(--honey); border-radius: 6px; color: var(--ink); }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.work-grid li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.55; }
.work-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pine-wash); display: grid; place-items: center; }
.work-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--pine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cv-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.cv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.cv-card h3 { margin: 0 0 12px; font-size: 17px; color: var(--pine); }
.cv-list { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.cv-list::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.cv-list li { position: relative; padding: 5px 0 5px 8px; font-size: 15px; line-height: 1.6; }
.cv-list li::before { content: ""; position: absolute; left: -18px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--pine); }
.cv-list li:first-child::before { background: var(--honey); border-color: var(--honey); }
.client-panel { margin-top: 20px; background: var(--pine-wash); border-radius: var(--radius-lg); padding: 20px 24px; }
.client-panel h3 { margin: 0 0 10px; font-size: 16px; color: var(--pine); }
.client-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.client-chips li { font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 960px) {
  .lawyer-profiles { grid-template-columns: 1fr; }
  .lawyer-intro, .cv-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp { grid-template-columns: 1fr; }
  .lp-photo .portrait { width: 140px; height: 175px; }
  .lawyer-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .lh-photo .portrait { width: 140px; height: 175px; }
}


/* 자주 묻는 질문 상세 */
.faq-meta { color: #C3CCE2; font-size: 14.5px; margin: 0; }
.faq-meta a { color: #fff; }
.short-answer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--honey); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 24px; }
.sa-label { display: inline-block; font-size: 13px; font-weight: 700; color: #8A5B0C; background: #F8EBD3; border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.short-answer p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--ink); }
.faq-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.faq-body p, .faq-body li { font-size: 16px; }
.laws-card { margin: 20px 0; background: var(--pine-wash); border-radius: var(--radius-lg); padding: 18px 22px; }
.laws-card h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 10px; color: var(--pine); }
.laws-card .qa-icon { width: 34px; height: 34px; background: var(--surface); }
.laws-card ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.q-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.q-links a { display: flex; gap: 14px; height: 100%; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); }
.q-links a:hover { border-color: var(--pine); }
.q-mark { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--pine); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.q-text strong { display: block; color: var(--pine); font-size: 16px; line-height: 1.45; margin-bottom: 4px; }
.q-text span { font-size: 14px; color: var(--ink-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 상담 · 오시는 길 */
.contact-hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; }
.chc-label { font-size: 14px; color: #AEB9D6; }
.chc-phone { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; line-height: 1.2; }
.chc-phone:hover { color: var(--honey); }
.chc-hours { color: #D3DAEA; font-size: 15px; }
.chc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.timeline-steps-4 { grid-template-columns: repeat(4, 1fr); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; }
.contact-form-card h2 { margin: 0 0 4px; }
.cf-note { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 16px; }
.contact-side .qa-card { background: var(--surface); }
.office-facts { margin-bottom: 16px; }
.office-facts > div { grid-template-columns: 80px 1fr; }
.map-links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .timeline-steps-4 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .q-links { grid-template-columns: 1fr; }
}


.transit-steps { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.transit-steps li { counter-increment: t; position: relative; padding: 2px 0 2px 28px; }
.transit-steps li::before { content: counter(t); position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--pine); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.home-transit { font-size: 15px; color: var(--ink-soft); margin-bottom: .6em; }
.home-transit strong { color: var(--pine); margin-right: 6px; }

/* 서상 소개 */
.about-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 440px; }
.ag-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.ag-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ag-0 { grid-row: 1 / 3; }
.ag-item figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13px; color: #fff; background: rgba(6,24,68,.7); padding: 3px 10px; border-radius: 999px; }
.history-line { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.history-line::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.history-line li { position: relative; padding: 34px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.hl-dot { position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 3px solid var(--pine); }
.is-now .hl-dot { background: var(--honey); border-color: var(--honey); box-shadow: 0 0 0 5px rgba(217,154,43,.2); }
.hl-when { font-weight: 800; font-size: 18px; color: var(--pine); }
.hl-what { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.promise-panel { background: var(--pine); color: #fff; border-radius: var(--radius-lg); padding: 34px 38px; }
.promise-panel h2 { color: #fff; margin: 0 0 16px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: pr; }
.promise-list li { counter-increment: pr; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); padding: 18px 18px 18px 56px; position: relative; font-size: 16px; line-height: 1.6; }
.promise-list li::before { content: counter(pr, decimal-leading-zero); position: absolute; left: 16px; top: 16px; font-weight: 800; color: var(--honey); font-size: 18px; }
.promise-panel .signature { max-width: none; margin: 22px 0 0; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.promise-panel .signature span { color: #C3CCE2; font-size: 15px; }
.promise-panel .signature img { display: block; width: 120px; height: auto; }
@media (max-width: 960px) {
  .about-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px; height: auto; }
  .ag-0 { grid-row: auto; grid-column: 1 / 3; }
  .history-line { grid-auto-flow: row; }
  .history-line::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .history-line li { padding: 0 0 22px 36px; }
  .promise-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
