/* yulmaru-divorce.co.kr 창원이혼전문변호사 (2026-11-07 새로 제작, 랜딩 공용 스타일) */
@font-face {
  font-family: "Gowun Batang";
  src: url("/assets/fonts/GowunBatang-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #0a1630;
  --navy-2: #13244d;
  --ink: #131a2e;
  --text: #3b4259;
  --muted: #6b7289;
  --line: #e2e6f0;
  --bg: #f4f6fb;
  --white: #fff;
  --brand: #4d63e6;
  --brand-dark: #3a4dc4;
  --grad: linear-gradient(135deg, #21c8f6 0%, #5b8cff 50%, #9144fa 100%);
  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; padding: 10px 14px; background: var(--navy); color: #fff; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* 머리글 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 36px; height: 36px; }
.brand strong { display: block; color: var(--navy); font: 700 19px/1.2 var(--serif); letter-spacing: -0.03em; }
.brand small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.3; letter-spacing: 0.02em; }
.gnb { display: flex; gap: 26px; margin-left: auto; }
.gnb a { color: var(--ink); font-size: 15px; font-weight: 600; padding: 6px 0; }
.gnb a:hover { color: var(--brand); }
.header-tel {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 999px;
  color: #fff; background: var(--navy);
  font-size: 15px; font-weight: 700; white-space: nowrap;
}
.header-tel:hover { background: var(--navy-2); }
.header-tel svg { width: 15px; height: 15px; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; color: #fff; background: #070d1d; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% top; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 29, 0.96) 0%, rgba(7, 13, 29, 0.86) 38%, rgba(7, 13, 29, 0.2) 68%, rgba(7, 13, 29, 0) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 92px 0 116px; }
.hero-copy { max-width: 580px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  color: #9fc4ff; font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1 { font: 700 clamp(44px, 7vw, 76px)/1.12 var(--serif); letter-spacing: -0.045em; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 22px; color: rgba(255, 255, 255, 0.86); font-size: 17.5px; line-height: 1.8; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badges li {
  padding: 6px 13px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
  color: rgba(255, 255, 255, 0.92); font-size: 13.5px; font-weight: 600; line-height: 1.5;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 14px 26px; border-radius: 12px;
  font-size: 16.5px; font-weight: 700; line-height: 1.3; cursor: pointer; border: 0;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #4d7cff 0%, #7a55f2 100%); box-shadow: 0 10px 26px rgba(77, 99, 230, 0.36); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-line { color: var(--navy); border: 1px solid #c9d0e2; background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.hero-caption { position: absolute; z-index: 2; right: max(20px, calc((100% - var(--wrap)) / 2)); bottom: 132px; text-align: right; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.hero-caption strong { display: block; color: #fff; font: 700 21px/1.3 var(--serif); }

/* 한눈에 */
.summary { position: relative; z-index: 3; margin-top: -64px; }
.summary dl {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(10, 22, 48, 0.12);
}
.summary dl > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.summary dl > div:first-child { border-left: 0; }
.summary dt { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.summary dd { margin-top: 6px; color: var(--ink); font-size: 15.5px; font-weight: 700; line-height: 1.55; }

/* 공통 구역 */
.section { padding: clamp(68px, 9vw, 108px) 0; }
.section.alt { background: var(--bg); }
.section.dark { color: rgba(255, 255, 255, 0.84); background: linear-gradient(140deg, #0a1630 0%, #14275a 100%); }
.kicker { display: block; margin-bottom: 12px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
.dark .kicker { color: #9fc4ff; }
.section h2 { color: var(--navy); font: 700 clamp(28px, 3.8vw, 42px)/1.3 var(--serif); letter-spacing: -0.04em; }
.dark h2 { color: #fff; }
.section-lead { max-width: 760px; margin-top: 16px; font-size: 17px; }
.prose p { margin-top: 16px; font-size: 16.5px; line-height: 1.85; }
.prose p:first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 68px); align-items: start; }
.split .prose { margin-top: 22px; }

.checkbox {
  padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: 0 10px 30px rgba(10, 22, 48, 0.06);
}
.checkbox h3 { color: var(--navy); font-size: 18px; font-weight: 800; }
.checkbox ul { margin-top: 14px; }
.checkbox li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.checkbox li:first-child { border-top: 0; }
.checkbox li::before {
  content: ""; position: absolute; left: 2px; top: 18px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg);
}
.checkbox .note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #cfd5e6; color: var(--muted); font-size: 14.5px; }

/* 표 */
.table-wrap { margin-top: 36px; overflow-x: auto; }
.court-table { width: 100%; min-width: 540px; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(10, 22, 48, 0.06); }
.court-table caption { padding: 0 0 14px; color: var(--navy); font-size: 18px; font-weight: 800; text-align: left; }
.court-table th, .court-table td { padding: 15px 20px; text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.65; border-bottom: 1px solid var(--line); }
.court-table thead th { color: #fff; background: var(--navy); font-weight: 700; border-bottom: 0; }
.court-table tbody th { width: 44%; color: var(--navy); font-weight: 700; }
.court-table tbody tr:first-child th, .court-table tbody tr:first-child td { background: #eef2ff; }
.court-table tbody tr:last-child th, .court-table tbody tr:last-child td { border-bottom: 0; }
.fineprint { margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* 절차 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; counter-reset: step; }
.steps li { position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 12px; font: 700 26px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { color: var(--navy); font-size: 18px; font-weight: 800; }
.steps p { margin-top: 8px; font-size: 15px; line-height: 1.75; }

/* 카드 4장 */
.cards4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.cards4 article { padding: 26px 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.cards4 h3 { color: var(--navy); font-size: 18px; font-weight: 800; }
.cards4 p { margin-top: 8px; font-size: 15.5px; line-height: 1.8; }

/* 압류 */
.dark .prose p { color: rgba(255, 255, 255, 0.86); }
.docbox { padding: 28px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); }
.docbox h3 { color: #fff; font-size: 17px; font-weight: 800; }
.docbox li { position: relative; margin-top: 12px; padding-left: 18px; color: rgba(255, 255, 255, 0.88); font-size: 15.5px; line-height: 1.7; }
.docbox li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #7fb0ff; }
.docbox .btn { margin-top: 22px; width: 100%; }

/* 변호사 */
.lawyer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lawyer-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 22, 48, 0.22); }
.lawyer-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.lawyer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.lawyer-cols h3 { color: var(--brand); font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; }
.lawyer-cols li { margin-top: 8px; color: var(--ink); font-size: 15px; line-height: 1.65; }

/* 사례 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.case-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.case-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10, 22, 48, 0.12); }
.case-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf7; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; color: var(--brand-dark); background: #e8ecff; font-size: 12.5px; font-weight: 700; line-height: 1.6; }
.case-card h3 { color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.5; }
.case-result { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14.5px; font-weight: 700; }
.case-card.featured { grid-column: 1 / -1; flex-direction: row; }
.case-card.featured .case-thumb { flex: 0 0 38%; aspect-ratio: auto; max-height: 300px; }
.case-card.featured .case-body { justify-content: center; padding: 30px 32px; }
.case-card.featured h3 { font: 700 24px/1.4 var(--serif); letter-spacing: -0.03em; }
.case-card.featured .tag { color: #fff; background: var(--navy); }
.case-card.featured p.excerpt { font-size: 15px; line-height: 1.75; color: var(--text); }

/* 사무소 */
.office-photos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-top: 36px; }
.office-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.facts { margin-top: 30px; border-top: 2px solid var(--navy); }
.facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--navy); font-size: 15px; font-weight: 800; }
.facts dd { color: var(--ink); font-size: 15.5px; line-height: 1.7; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* FAQ */
.faq-list { margin-top: 34px; border-top: 2px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 48px 22px 4px; color: var(--navy); font-size: 17.5px; font-weight: 700; line-height: 1.55; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 26px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { padding: 0 48px 24px 4px; font-size: 16px; line-height: 1.85; }

/* 상담 */
.consult { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.consult .section-lead { color: rgba(255, 255, 255, 0.84); }
.tel-big { display: block; margin-top: 28px; color: #fff; font: 700 clamp(38px, 5vw, 56px)/1.15 var(--serif); letter-spacing: -0.02em; }
.tel-sub { margin-top: 6px; color: rgba(255, 255, 255, 0.72); font-size: 14.5px; }
.chat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chat-row a { padding: 11px 18px; border-radius: 10px; font-size: 15px; font-weight: 700; }
.chat-row .naver { color: #fff; background: #03c75a; }
.chat-row .kakao { color: #191919; background: #fee500; }
.chat-row .book { color: var(--navy); background: #fff; }
.lead-form { padding: 30px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.lead-form h3 { color: var(--navy); font: 700 22px/1.35 var(--serif); }
.lead-form p.hint { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.lead-form label.field { display: block; margin-top: 20px; color: var(--ink); font-size: 14.5px; font-weight: 700; }
.lead-form input[type="tel"] { display: block; width: 100%; margin-top: 8px; padding: 15px 16px; border: 1px solid #c9d0e2; border-radius: 10px; font: inherit; font-size: 17px; color: var(--ink); }
.lead-form input[type="tel"]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.lead-form .agree { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: 14.5px; color: var(--text); cursor: pointer; }
.lead-form .agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.lead-form .btn { width: 100%; margin-top: 18px; }
.form-msg { min-height: 22px; margin-top: 12px; font-size: 14.5px; font-weight: 700; color: #c0392b; }
.form-msg.ok { color: #1a7f4b; }

/* 바닥글 */
.site-footer { padding: 52px 0 108px; color: rgba(255, 255, 255, 0.72); background: #070d1d; font-size: 14px; line-height: 1.75; }
.footer-top { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr) minmax(0, 0.6fr); gap: 36px; }
.footer-brand strong { display: block; color: #fff; font: 700 20px/1.3 var(--serif); }
.footer-brand small { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; font-size: 13.5px; }
.footer-social a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; text-underline-offset: 3px; }
.footer-branches li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 5px 0; }
.footer-branches b { color: #fff; font-weight: 700; }
.site-footer h3 { margin-bottom: 10px; color: #fff; font-size: 14px; font-weight: 800; }
.footer-links a { display: block; padding: 3px 0; color: rgba(255, 255, 255, 0.8); }
.footer-links a:hover, .footer-social a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; }
.footer-bottom b { color: rgba(255, 255, 255, 0.92); font-weight: 700; margin-right: 6px; }
.footer-copy { width: 100%; margin-top: 8px; color: rgba(255, 255, 255, 0.5); }

/* 모바일 하단 고정 버튼 */
.dock { display: none; }

/* 하위 페이지 */
.page-hero { padding: 54px 0 46px; color: #fff; background: linear-gradient(140deg, #0a1630 0%, #14275a 100%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255, 255, 255, 0.7); font-size: 13.5px; }
.crumbs a { color: rgba(255, 255, 255, 0.86); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.4); }
.page-hero h1 { margin-top: 16px; font: 700 clamp(28px, 4.2vw, 44px)/1.32 var(--serif); letter-spacing: -0.04em; }
.page-hero .tag { display: inline-block; margin-top: 18px; color: #fff; background: rgba(255, 255, 255, 0.16); }
.page-hero .result { margin-top: 14px; color: #bcd3ff; font-size: 17px; font-weight: 700; }
.page-hero p.lead { max-width: 760px; margin-top: 14px; color: rgba(255, 255, 255, 0.84); font-size: 16.5px; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.case-article section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-article section:first-child { padding-top: 0; }
.case-article small { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; }
.case-article h2 { margin-top: 6px; font-size: clamp(22px, 2.8vw, 28px); }
.case-article section p { margin-top: 12px; font-size: 16.5px; line-height: 1.9; }
.case-notice { margin-top: 24px; padding: 18px 20px; border-radius: 12px; color: var(--muted); background: var(--bg); font-size: 14.5px; line-height: 1.75; }
.case-home { margin-top: 18px; font-size: 15.5px; }
.case-home a, .text-link { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.case-side { position: sticky; top: 92px; display: grid; gap: 18px; }
.doc-figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.doc-figure img { width: 100%; }
.doc-figure figcaption { padding: 10px 14px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.side-lawyer { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-lawyer small { color: var(--brand); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; }
.side-lawyer strong { display: block; margin-top: 4px; color: var(--navy); font: 700 20px/1.35 var(--serif); }
.side-lawyer p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; }
.side-lawyer .btn { width: 100%; margin-top: 16px; min-height: 48px; font-size: 15.5px; color: #fff; background: var(--navy); }
.more-cases { margin-top: 30px; }
.more-cases h2 { font-size: 24px; }
.more-cases .case-grid { margin-top: 22px; }
.branch-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.branch-list li { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.branch-list b { display: block; color: var(--navy); font-size: 17px; }
.branch-list span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.65; }
.branch-list a { display: inline-block; margin-top: 10px; }
.plan-group { margin-top: 44px; }
.plan-group:first-of-type { margin-top: 0; }
.plan-group h2 { font-size: 28px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; align-items: start; }
.plan-grid article { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.plan-grid h3 { color: var(--navy); font: 700 22px/1.3 var(--serif); }
.plan-grid .type { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; color: var(--brand-dark); background: #e8ecff; font-size: 12.5px; font-weight: 700; }
.plan-grid ul { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-grid li { position: relative; padding: 5px 0 5px 20px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.plan-grid li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.center-cta { margin-top: 40px; padding: 30px; border-radius: 18px; text-align: center; background: var(--bg); }
.center-cta p { font-size: 16.5px; color: var(--ink); font-weight: 600; }
.center-cta .link-row { justify-content: center; }
.notfound { padding: 110px 0; text-align: center; }
.notfound h1 { color: var(--navy); font: 700 34px/1.3 var(--serif); }
.notfound p { margin-top: 12px; }
.notfound .btn { margin-top: 26px; color: #fff; background: var(--navy); }

/* 요약 5칸, 지도, 칼럼 (2026-11-06 추가) */
.summary dl { grid-template-columns: repeat(5, 1fr); }
.summary dl > div { padding: 20px 20px; }
.map-embed { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.map-embed iframe, .kakao-map { display: block; width: 100%; height: 340px; border: 0; }
.kakao-map { display: flex; align-items: center; justify-content: center; }
.map-fallback { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.recent-list { margin-top: 30px; border-top: 2px solid var(--navy); }
.recent-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 17px 4px; border-bottom: 1px solid var(--line); }
.recent-list a { color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.55; }
.recent-list a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.recent-list time, .post-list time { flex: 0 0 auto; color: var(--muted); font-size: 14px; }
.post-list { border-top: 2px solid var(--navy); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding: 22px 4px; }
.post-list strong { display: block; color: var(--navy); font-size: 18.5px; line-height: 1.5; }
.post-list a:hover strong { color: var(--brand); }
.post-list span { display: block; margin-top: 6px; color: var(--text); font-size: 15.5px; line-height: 1.7; }
.post-list time { display: block; margin-top: 8px; }
.post-wrap { max-width: 820px; }
.post-meta { margin-top: 16px; color: rgba(255, 255, 255, 0.76); font-size: 14.5px; }
.post-lead { padding: 22px 24px; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; color: var(--ink); background: #eef2ff; font-size: 17.5px; font-weight: 600; line-height: 1.85; }
.post-body { margin-top: 34px; color: var(--text); font-size: 17px; line-height: 1.95; }
.post-body p { margin-top: 16px; }
.post-body h2, .post-faq h2 { margin-top: 52px; color: var(--navy); font: 700 clamp(23px, 3vw, 28px)/1.4 var(--serif); letter-spacing: -0.035em; }
.post-body h3 { margin-top: 28px; color: var(--navy); font-size: 18.5px; font-weight: 800; line-height: 1.55; }
.post-body ul, .post-body ol { margin-top: 14px; padding-left: 22px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-top: 8px; padding-left: 2px; }
.post-body li::marker { color: var(--brand); }
.post-body a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--ink); }
.post-body table { display: block; width: 100%; margin-top: 20px; border-collapse: collapse; overflow-x: auto; font-size: 15.5px; line-height: 1.65; }
.post-body th, .post-body td { min-width: 110px; padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-body thead th { color: #fff; background: var(--navy); font-weight: 700; border-color: var(--navy); }
.post-body tbody th { color: var(--navy); background: #f4f6fb; font-weight: 700; }
.post-body .column-note { margin-top: 44px; padding: 18px 20px; border-radius: 12px; color: var(--muted); background: var(--bg); font-size: 14.5px; line-height: 1.75; }
.post-faq .faq-list { margin-top: 22px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.post-nav-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-nav-item.next { text-align: right; grid-column: 2; }
.post-nav-item small { display: block; color: var(--brand); font-size: 13px; font-weight: 800; }
.post-nav-item span { display: block; margin-top: 4px; color: var(--navy); font-size: 15.5px; font-weight: 700; line-height: 1.55; }
.post-nav-item:hover { border-color: var(--brand); }

@media (max-width: 1000px) {
  .gnb { display: none; }
  .header-tel { margin-left: auto; }
  .summary dl { grid-template-columns: repeat(2, 1fr); }
  .summary dl > div:nth-child(odd) { border-left: 0; }
  .summary dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .summary dl > div:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .case-layout { grid-template-columns: 1fr; }
  .case-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  html { scroll-padding-top: 64px; }
  .site-header .wrap { height: 58px; gap: 12px; }
  .brand img { width: 30px; height: 30px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 10.5px; }
  .header-tel { padding: 8px 14px; font-size: 14px; }
  .hero { display: flex; flex-direction: column; }
  .hero-photo { position: relative; inset: auto; order: 1; height: 220px; object-position: 80% top; }
  .hero::after { inset: 0 0 auto 0; height: 220px; background: linear-gradient(180deg, rgba(7, 13, 29, 0.1) 40%, #070d1d 100%); }
  .hero .wrap { order: 2; padding: 6px 0 96px; }
  .hero h1 { font-size: clamp(42px, 13vw, 56px); }
  .hero-lead { font-size: 16px; }
  .hero-caption { right: 20px; top: 150px; bottom: auto; }
  .hero-caption strong { font-size: 18px; }
  .cta-row .btn { flex: 1 1 100%; }
  .summary { margin-top: -56px; }
  .summary dl > div { padding: 16px 16px; }
  .summary dd { font-size: 14.5px; }
  .split, .lawyer, .consult { grid-template-columns: 1fr; }
  .split .prose { margin-top: 18px; }
  .prose p, .section-lead { font-size: 15.5px; }
  .steps, .cards4, .case-grid, .plan-grid, .branch-list { grid-template-columns: 1fr; }
  .case-card.featured { grid-column: auto; flex-direction: column; }
  .case-card.featured .case-thumb { flex: none; aspect-ratio: 16 / 10; }
  .case-card.featured .case-body { padding: 22px; }
  .case-card.featured h3 { font-size: 20px; }
  .case-card:not(.featured) { flex-direction: row; }
  .case-card:not(.featured) .case-thumb { flex: 0 0 104px; aspect-ratio: auto; }
  .case-card:not(.featured) .case-body { padding: 16px 16px 16px 14px; gap: 6px; }
  .case-card:not(.featured) h3 { font-size: 15.5px; }
  .case-card:not(.featured) .case-result { padding-top: 8px; font-size: 13.5px; }
  .office-photos { grid-template-columns: 1fr 1fr; }
  .office-photos img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .facts > div { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .court-table { min-width: 0; }
  .court-table th, .court-table td { padding: 12px 12px; font-size: 14.5px; }
  .faq-list summary { font-size: 16px; padding-right: 40px; }
  .faq-list p { padding-right: 8px; font-size: 15.5px; }
  .lawyer-cols { grid-template-columns: 1fr; gap: 18px; }
  .lead-form { padding: 24px 20px; }
  .recent-list li { flex-direction: column; gap: 4px; padding: 15px 2px; }
  .recent-list a { font-size: 16px; }
  .map-embed iframe, .kakao-map { height: 280px; }
  .post-lead { padding: 18px 18px; font-size: 16.5px; }
  .post-body { font-size: 16.5px; }
  .post-body table { font-size: 14.5px; }
  .post-body th, .post-body td { padding: 10px 10px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { grid-column: auto; text-align: left; }
  .case-side { grid-template-columns: 1fr; }
  .footer-branches li { grid-template-columns: 1fr; gap: 0; padding: 7px 0; }
  .site-footer { padding-bottom: 120px; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1.3fr 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(10, 22, 48, 0.12);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; font-size: 15px; font-weight: 800; color: var(--navy); border-left: 1px solid var(--line); }
  .dock a:first-child { color: #fff; background: var(--navy); border-left: 0; }
  .dock svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case-card { transition: none; }
}

/* divorce: 키워드가 9글자라 한 줄에 들어가게 (2026-11-07) */
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); }
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(28px, 8.6vw, 38px); overflow-wrap: anywhere; }
  .hero-caption strong { font-size: 15px; }
}
