/* 변호사 김세환 법률사무소 — 공통 스타일 */
:root {
  --navy: #15233b;
  --navy-2: #1e3152;
  --navy-soft: #eef1f6;
  --ink: #1d2230;
  --text: #333a47;
  --muted: #5d6573;
  --line: #e2e5ea;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --gold: #b3924f;
  --gold-text: #86672b;
  --gold-on-navy: #d2b678;
  --radius: 10px;
  --wrap: 1080px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1, h2, h3 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

section[id], main [id] { scroll-margin-top: 84px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand span { white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-header .header-tel { display: none; }
@media (min-width: 960px) { .site-header .header-tel { display: inline-flex; } }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-desktop li { margin: 0; }
.nav-desktop a { display: block; padding: 8px 12px; text-decoration: none; color: var(--text); font-size: 1rem; border-radius: 6px; }
.nav-desktop a:hover { background: var(--bg-soft); color: var(--navy); }
.nav-desktop a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.header-tel { display: none; }

.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; color: var(--navy); font-weight: 600; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile ul { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 40px)); list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(21,35,59,.12); }
.nav-mobile li { margin: 0; }
.nav-mobile a { display: block; padding: 11px 12px; text-decoration: none; color: var(--text); border-radius: 6px; }
.nav-mobile a:hover { background: var(--bg-soft); }
.nav-mobile .menu-tel { margin-top: 6px; background: var(--navy); color: #fff; text-align: center; font-weight: 700; }

@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
  .header-tel { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 8px; font-size: 1.02rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; line-height: 1.3; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); color: #1d1a12; }
.btn-gold:hover { background: #c3a463; }
.btn-line { background: #fff; color: var(--navy); border-color: #c9ced8; }
.btn-line:hover { border-color: var(--navy); }
.btn-on-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-on-navy:hover { border-color: #fff; }
.btn.is-disabled { background: var(--bg-soft); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.header-tel.btn { min-height: 42px; padding: 8px 16px; font-size: .98rem; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #e8ecf3; padding: 64px 0 72px; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero .eyebrow { color: var(--gold-on-navy); font-weight: 600; font-size: 1rem; margin-bottom: 14px; letter-spacing: .01em; }
.hero .lead { font-size: 1.12rem; max-width: 40em; color: #d6dce7; }
.hero .slogan { margin-top: 1.6em; padding-left: 14px; border-left: 2px solid var(--gold-on-navy); color: #fff; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }

.page-hero { background: var(--navy); color: #d6dce7; padding: 48px 0 52px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { font-size: 1.08rem; max-width: 42em; margin-bottom: 0; }
.breadcrumb { font-size: .95rem; margin-bottom: 16px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #8d99ad; }
.breadcrumb a { color: #c3ccdb; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 32px; max-width: 44em; }
.section-head p { color: var(--muted); margin: 0; }
.kicker { display: block; color: var(--gold-text); font-weight: 700; font-size: .95rem; margin-bottom: 8px; letter-spacing: .02em; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.point { border-top: 3px solid var(--gold); }
.point strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 6px; }

.area-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s ease; }
.area-card:hover { border-color: var(--navy); }
.area-card h3 { color: var(--navy); }
.area-card .more { margin-top: auto; padding-top: 14px; color: var(--navy-2); font-weight: 600; font-size: .98rem; }
.badge { display: inline-block; align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--gold-text); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; line-height: 1.5; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { color: var(--ink); white-space: nowrap; }
.note { font-size: .95rem; color: var(--muted); margin-top: 14px; }

/* Stacked table on small screens */
@media (max-width: 639px) {
  .stack-table thead { display: none; }
  .stack-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .stack-table tbody tr:last-child { border-bottom: 0; }
  .stack-table th, .stack-table td { display: flex; gap: 12px; padding: 4px 0; border: 0; }
  .stack-table td::before { content: attr(data-label); flex: 0 0 6.5em; color: var(--muted); font-weight: 600; }
  .stack-table tbody th { font-size: 1.08rem; padding-bottom: 6px; }
}

/* ---------- Profile ---------- */
.profile { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .profile { grid-template-columns: 300px 1fr; gap: 48px; } }
.photo-placeholder { aspect-ratio: 4 / 5; max-width: 300px; width: 100%; border-radius: var(--radius); background: var(--navy-soft); border: 1px dashed #b9c1cf; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: .95rem; padding: 16px; }
.cred-list { list-style: none; padding: 0; }
.cred-list li { position: relative; padding-left: 18px; margin-bottom: .5em; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--gold); border-radius: 1px; }
.cred-group + .cred-group { margin-top: 24px; }
.cred-group h3 { font-size: 1.05rem; color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 12px; }

.todo { color: #9a3b1f; background: #fff4ef; border: 1px dashed #e0b3a2; border-radius: 4px; padding: 0 6px; font-size: .95em; }

/* ---------- Consult ---------- */
.consult-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .consult-grid { grid-template-columns: 1.25fr 1fr 1fr; } }
.consult-card { display: flex; flex-direction: column; gap: 10px; }
.consult-card .btn { margin-top: auto; width: 100%; }
.consult-card.featured { background: var(--navy); border-color: var(--navy); color: #d6dce7; }
.consult-card.featured h3 { color: #fff; }
.consult-card.featured p { color: #d6dce7; }
.consult-card .big { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; margin: 0; }
.hours { margin-top: 20px; padding: 16px 20px; border-left: 3px solid var(--gold); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.hours p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-text); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 20px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Location ---------- */
.info-list { display: grid; gap: 0; margin: 0; }
.info-list div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--muted); font-weight: 600; }
.info-list dd { margin: 0; color: var(--ink); min-width: 0; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.map-links .btn { flex: 1 1 160px; }

/* ---------- Content pages ---------- */
.prose { max-width: 46em; }
.issue-list { display: grid; gap: 16px; }
@media (min-width: 760px) { .issue-list { grid-template-columns: repeat(2, 1fr); } }
.issue-list .card p { color: var(--text); }
.disclaimer { font-size: .95rem; color: var(--muted); margin-top: 20px; }
.cta-band { background: var(--navy); color: #d6dce7; border-radius: var(--radius); padding: 32px 28px; }
.cta-band h2 { color: #fff; }
.cta-band .hero-actions { margin-top: 20px; }
.related { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.related li { margin: 0; }
.related a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); background: #fff; font-size: .98rem; }
.related a:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: #10192b; color: #b7c0cf; padding: 48px 0 120px; font-size: .97rem; }
.site-footer a { color: #dfe4ec; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.footer-name { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.footer-info { list-style: none; padding: 0; margin: 0; }
.footer-info li { margin-bottom: 4px; }
.footer-info span { color: #8792a5; margin-right: 6px; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.channels li { margin: 0; }
.channels a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; text-decoration: none; font-size: .95rem; }
.channels a:hover { border-color: rgba(255,255,255,.5); }
.channels svg { width: 18px; height: 18px; flex: none; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; color: #8792a5; }
.footer-legal p { margin: 0 0 .4em; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.footer-nav li { margin: 0; }
.footer-nav a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-nav a:hover { text-decoration: underline; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 10px; bottom: 14px; z-index: 60; display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fab li { margin: 0; }
.fab a, .fab span.fab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 54px; height: 54px; border-radius: 12px; text-decoration: none; font-size: .68rem; font-weight: 700; line-height: 1.2; box-shadow: 0 6px 18px rgba(16,25,43,.22); }
.fab svg { width: 20px; height: 20px; }
@media (min-width: 960px) { .fab svg { width: 22px; height: 22px; } }
.fab .fab-tel { background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.fab .fab-kakao { background: #fee500; color: #191600; }
.fab .fab-lawtalk { background: #fff; color: var(--navy); border: 1px solid #c9ced8; }
.fab span.fab-item { background: #f1f2f4; color: #7a808b; box-shadow: none; border: 1px dashed #c4c8cf; cursor: not-allowed; }
@media (min-width: 960px) {
  .fab { right: 20px; bottom: 28px; }
  .fab a, .fab span.fab-item { width: 76px; height: 72px; font-size: .82rem; }
}

/* ---------- Profile photo ---------- */
.profile-photo { width: 100%; max-width: 300px; aspect-ratio: 600 / 840; object-fit: cover; border-radius: var(--radius); background: var(--navy-soft); }
.home-photo { margin: 0 auto 24px; max-width: 240px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-photo { width: 100%; max-width: 320px; aspect-ratio: 600 / 840; object-fit: cover; border-radius: var(--radius); justify-self: end; border: 1px solid rgba(210,182,120,.45); }
.only-desktop { display: none; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 320px; }
  .only-desktop { display: block; }
  .only-mobile { display: none; }
}

/* ---------- AI 요약 · Q&A · 블로그 박스 ---------- */
.page-hero .lead, .hero .lead { margin: 0 0 .45em; }
.badge-navy { border-color: var(--gold-on-navy); color: var(--gold-on-navy); }
.qa { padding: 28px 0; border-top: 1px solid var(--line); }
.qa:first-child { border-top: 0; padding-top: 0; }
.qa h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
.qa p:last-child, .qa ul:last-child { margin-bottom: 0; }
.mt { margin-top: 40px; }
.more-link { margin-top: 24px; }
.consult-tables { margin-top: 20px; }
.consult-tables h3 { margin-bottom: 4px; }
.btn-stack { flex-direction: column; gap: 4px; padding-top: 10px; padding-bottom: 10px; }
.btn-stack .btn-row { display: inline-flex; align-items: center; gap: 8px; }
.btn-stack .btn-sub { font-size: .82rem; font-weight: 500; color: #d6dce7; }
.fab .fab-map { background: #fff; color: var(--navy); border: 1px solid #c9ced8; }

/* ---------- 메인 첫 화면: 증명사진 · 핵심 문구 · 버튼 3개 병렬 ---------- */
.hero-grid .hero-photo { max-width: 150px; justify-self: start; }
.hero-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-facts li { margin: 0; padding: 4px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .95rem; color: #e8ecf3; }
.cta3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.cta3-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 100px; padding: 14px 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; text-align: center; line-height: 1.3; }
.cta3-item:hover { border-color: #fff; }
.cta3-item svg { width: 24px; height: 24px; margin-bottom: 4px; }
.cta3-item strong { font-size: 1rem; }
.cta3-item span { font-size: .8rem; color: #d6dce7; }
.cta3-tel { background: var(--gold); border-color: var(--gold); color: #1d1a12; }
.cta3-tel span { color: #2e2715; }
.cta3-tel:hover { background: #c3a463; border-color: #c3a463; }
.cta3-note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 12px 16px; border: 1.5px solid var(--gold-on-navy); border-radius: 10px; background: rgba(210,182,120,.12); color: #fff; text-decoration: none; text-align: center; line-height: 1.4; }
.cta3-note:hover { background: rgba(210,182,120,.22); }
.cta3-note svg { width: 22px; height: 22px; flex: none; }
.cta3-note strong { font-size: 1.02rem; font-weight: 700; }
.cta3-note .cn-go { color: var(--gold-on-navy); font-weight: 700; font-size: .95rem; white-space: nowrap; }
@media (max-width: 639px) {
  .cta3 { gap: 8px; }
  .cta3-item { padding: 12px 2px; min-height: 92px; }
  .cta3-item strong { font-size: .9rem; white-space: nowrap; letter-spacing: -0.02em; }
  .cta3-item span { font-size: .72rem; white-space: nowrap; letter-spacing: -0.01em; }
}
@media (min-width: 640px) {
  .cta3-item span { font-size: .88rem; }
}
@media (min-width: 860px) {
  .hero-grid .hero-text { order: 1; }
  .hero-grid .hero-photo { order: 2; max-width: 320px; justify-self: end; }
}

/* ---------- 분야별 키워드 태그 ---------- */
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--navy-soft); color: var(--ink); font-size: 1rem; font-weight: 600; }
.area-card .count { color: var(--gold-text); font-weight: 600; white-space: nowrap; }

/* ---------- 증명 자료 ---------- */
.proof-grid { align-items: start; }
.proof-card h3 { color: var(--navy); }
.proof-figure { margin: 0 0 16px; }
.proof-figure a { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.proof-figure a:hover { border-color: var(--navy); }
.proof-figure img { width: 100%; height: auto; }
.proof-figure figcaption { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.proof-card .info-list div { padding: 10px 0; }
.proof-wide { max-width: 760px; }

.btn-row-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* wrap + prose 조합: 좌측 정렬은 다른 섹션과 맞추고, 글 폭만 제한 */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 46em; }

/* ---------- 맨 위 띠: 핵심 문구 + 공식 채널 ---------- */
.topbar { background: #0e1626; color: #c9d1de; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar-text { margin: 0; color: var(--gold-on-navy); font-weight: 600; letter-spacing: .01em; }
.topbar-social { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.topbar-social li { margin: 0; }
.topbar-social a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: #dfe4ec; text-decoration: none; border-radius: 6px; line-height: 1.2; }
.topbar-social a:hover { background: rgba(255,255,255,.08); color: #fff; }
.topbar-social svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 639px) {
  .topbar-text { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-social a { padding: 6px 7px; font-size: .8rem; }
}

/* ---------- 첫 화면 등록 전문변호사 배지 ---------- */
.hero h1 { margin-bottom: .35em; }
.hero-badge { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 18px; padding: 10px 18px; border: 1.5px solid var(--gold-on-navy); border-radius: 8px; background: rgba(210,182,120,.1); }
.hero-badge .hb-org { color: #e8ecf3; font-size: 1rem; font-weight: 600; }
.hero-badge strong { color: var(--gold-on-navy); font-size: clamp(1.15rem, 1rem + .8vw, 1.45rem); font-weight: 800; letter-spacing: -0.01em; }

/* ---------- 상단 메뉴: 업무 분야 하위 메뉴 ---------- */
.nav-desktop .has-sub { position: relative; }
.nav-desktop .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 7px; }
.nav-desktop ul.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(21,35,59,.12); z-index: 70; }
.nav-desktop .has-sub:hover > ul.sub, .nav-desktop .has-sub:focus-within > ul.sub { display: block; }
.nav-desktop ul.sub a { padding: 9px 12px; white-space: nowrap; font-weight: 400; }
.nav-mobile > nav > ul { max-height: calc(100vh - 140px); overflow-y: auto; }
.nav-mobile .sub-mobile { position: static; width: auto; max-height: none; overflow: visible; background: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; list-style: none; margin: 0 0 4px 14px; padding: 0 0 0 8px; }
.nav-mobile .sub-mobile a { padding: 7px 12px; font-size: .95rem; color: var(--muted); }
.nav-mobile .menu-social { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding: 8px 0 2px; border-top: 1px solid var(--line); }
.nav-mobile .menu-social a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; font-size: .92rem; }
.nav-mobile .menu-social svg { width: 18px; height: 18px; }

/* 대표변호사 인사말 */
.greeting p { margin-bottom: 1.1em; }
.greeting .greeting-sign { text-align: right; font-weight: 700; color: var(--ink); margin-top: 1.4em; }

/* ---------- 업무 분야 페이지: 분야별 사건 목록 ---------- */
.area-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.area-index li { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.area-index a { font-weight: 700; color: var(--navy); text-decoration: none; }
.area-index a:hover { text-decoration: underline; }
.area-index span { color: var(--text); }
@media (max-width: 639px) { .area-index li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 공식 채널 카드 ---------- */
.social-grid { gap: 14px; }
.social-card { display: flex; align-items: center; gap: 16px; padding: 22px 22px; text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.social-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(21,35,59,.08); }
.social-card > svg { width: 44px; height: 44px; flex: none; }
.social-card.sc-insta > svg { color: #c13584; }
.social-card .sc-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.social-card .sc-text strong { font-size: 1.15rem; color: var(--ink); }
.social-card .sc-text span { color: var(--muted); font-size: .95rem; }
.social-card .sc-go { font-size: 1.3rem; color: var(--navy-2); }
/* 맨 위 띠 링크를 조금 더 크게 */
.topbar { font-size: .9rem; }
.topbar-social svg { width: 20px; height: 20px; }
.topbar-social a { padding: 7px 12px; }

/* 표 안의 전화번호·시간이 중간에서 끊기지 않도록: 꼭 필요할 때만 줄바꿈 */
.info-list dd { overflow-wrap: break-word; }
a[href^="tel:"] { white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* Netlify 무료 요금제의 'Powered by Netlify' 배지(오른쪽 아래, 높이 약 64px)와 겹치지 않도록 플로팅 버튼을 위로 올림 */
.fab { bottom: 84px; }
@media (min-width: 960px) { .fab { bottom: 92px; } }
