/* 법무사사무소 위로 — 개인회생 · 파산 안내
   색은 세 가지(남색 · 흰색 · 금색)만 쓴다. 제목은 명조, 본문은 Pretendard. */
:root {
  --navy: #0F2A4A;
  --navy-deep: #0A1E36;
  --navy-ink: #071628;
  --gold: #C9A961;
  --gold-soft: #E6D3A3;
  --gold-text: #8A6D2B;   /* 흰 바탕 위 글자용(대비 AA) */
  --ivory: #F7F4EE;
  --white: #FFFFFF;
  --text: #1F2933;
  --text-sub: #5B6673;
  --line: #E7E2D7;
  --radius: 14px;
  --wrap: 1180px;
  --header-h: 76px;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --shadow-sm: 0 1px 2px rgba(10, 30, 54, .04), 0 4px 14px rgba(10, 30, 54, .05);
  --shadow-md: 0 2px 4px rgba(10, 30, 54, .04), 0 16px 40px rgba(10, 30, 54, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* 모바일 하단 연락 막대 자리 */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.4; color: var(--navy); letter-spacing: -0.02em; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(30px, 5.2vw, 50px); margin: 0 0 18px; }
h2 { font-size: clamp(25px, 3.4vw, 34px); margin: 0 0 22px; }
h3 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; margin: 0 0 16px; }
li { margin-bottom: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* 입력 대기 자리 표시 — 공개 전에 모두 채운다 */
.todo { background: #FFF3C4; color: #6B4E00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-ink); box-shadow: 0 6px 18px rgba(201, 169, 97, .28); }
.btn-gold:hover { background: #D6B872; }
.btn-kakao { background: #FEE500; color: #191919; }
.btn-kakao:hover { background: #F2D900; }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-white { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-white:hover { border-color: #fff; background: rgba(255, 255, 255, .10); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 머리글 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }

.nav-toggle { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--navy); content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle .bar { top: 23px; }
.nav-toggle .bar::before { left: 0; top: -7px; }
.nav-toggle .bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-7px) rotate(-45deg); }

.gnb { display: none; }
.gnb ul { list-style: none; margin: 0; padding: 0; }
.gnb a { text-decoration: none; color: var(--text); font-weight: 600; }
.gnb.open {
  display: block; position: absolute; left: 0; right: 0; top: var(--header-h);
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px 16px 20px;
}
.gnb.open > ul > li { border-bottom: 1px solid var(--line); }
.gnb.open > ul > li > a { display: block; padding: 14px 0; font-size: 18px; color: var(--navy); }
.gnb.open li ul { padding: 0 0 12px 12px; }
.gnb.open li ul a { display: block; padding: 6px 0; color: var(--text-sub); font-weight: 500; }
.gnb-cta { display: flex; gap: 8px; margin-top: 16px; }
.gnb-cta .btn { flex: 1; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .gnb { display: flex; align-items: center; gap: 22px; }
  .gnb > ul { display: flex; gap: 2px; }
  .gnb > ul > li { position: relative; }
  .gnb > ul > li > a { display: block; padding: 26px 9px; font-size: 15px; white-space: nowrap; position: relative; }
  .gnb > ul > li > a::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .gnb > ul > li > a:hover, .gnb > ul > li > a[aria-current="page"] { color: var(--navy); }
  .gnb > ul > li > a:hover::after, .gnb > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .gnb li ul {
    position: absolute; top: calc(100% - 6px); left: 0; min-width: 210px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 8px; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .gnb li:hover > ul, .gnb li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
  .gnb li ul li { margin: 0; }
  .gnb li ul a { display: block; padding: 9px 14px; font-size: 15px; font-weight: 500; border-radius: 8px; }
  .gnb li ul a:hover { background: var(--ivory); color: var(--navy); }
  .gnb-cta { margin: 0; }
  .gnb-cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1479px) {
  .gnb-cta .btn-line { display: none; }
}

/* ---------- 남색 배경 공통 무늬 ---------- */
.hero, .page-head, .cta-band, .check-band {
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 169, 97, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 120%, rgba(30, 72, 120, .55), transparent 60%),
    linear-gradient(160deg, #0F2A4A 0%, #0A1E36 60%, #071628 100%);
}

/* ---------- 홈 첫 화면 ---------- */
.hero { position: relative; color: #fff; padding: 72px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; z-index: -2; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
.hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 54px); line-height: 1.32; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 18.5px; max-width: 32em; color: #D5DEE9; margin-bottom: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-soft); font-size: 14px; font-weight: 700; letter-spacing: .14em; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero .btn-row .btn { min-width: 150px; }
.hero-trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #AFBDCD; font-size: 15px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
@media (min-width: 768px) { .hero { padding: 120px 0 112px; } }

/* 첫 화면 오른쪽 빠른 안내 */
.hero-panel {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 20px; padding: 26px;
}
.hero-panel h2 { color: #fff; font-size: 21px; margin: 0 0 4px; }
.hero-panel > p { color: #AFBDCD; font-size: 15px; margin-bottom: 18px; }
.panel-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.panel-links li { margin: 0; }
.panel-links a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .96); color: var(--navy); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.panel-links a:hover { transform: translateX(4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.panel-links .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--ivory); color: var(--gold-text); display: grid; place-items: center; flex: none; }
.panel-links .ico svg { width: 22px; height: 22px; }
.panel-links strong { display: block; font-size: 16.5px; }
.panel-links small { display: block; color: var(--text-sub); font-size: 13.5px; line-height: 1.5; }
.panel-links .arrow { margin-left: auto; color: var(--gold-text); font-weight: 700; }
.panel-call { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); color: #AFBDCD; font-size: 14px; }
.panel-call a { color: #fff; font-family: var(--serif); font-size: 24px; font-weight: 700; text-decoration: none; letter-spacing: 0; }

/* ---------- 구역 ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section.alt { background: var(--ivory); }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--text-sub); font-size: 17.5px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-text); font-size: 13px; font-weight: 800; letter-spacing: .2em; margin-bottom: 12px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.section-head.center .kicker::after { content: ""; width: 22px; height: 1px; background: var(--gold); }

.cards { display: grid; gap: 18px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card h3 { margin-top: 0; font-size: 21px; }
.card p { color: var(--text-sub); flex: 1; }
.card .more { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }
.card-ico {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--gold);
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
}
.card-ico svg { width: 28px; height: 28px; }
.card-num { position: absolute; top: 24px; right: 26px; font-family: var(--serif); font-size: 15px; color: var(--gold-text); letter-spacing: .1em; }

/* 단계 그림 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 72px; box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft); font-family: var(--serif); font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}
.steps strong { display: block; color: var(--navy); font-size: 17.5px; }
.steps span { color: var(--text-sub); font-size: 15.5px; }
.steps .optional::before { background: #fff; color: var(--navy); border: 2px dashed var(--navy); }
@media (min-width: 900px) {
  .steps.row { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; position: relative; }
  .steps.row::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 47px; height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .7;
  }
  .steps.row li { padding: 84px 22px 24px; text-align: center; background: transparent; border: 0; box-shadow: none; }
  .steps.row li::before { left: 50%; top: 20px; transform: translateX(-50%); width: 54px; height: 54px; font-size: 17px; box-shadow: 0 0 0 8px var(--ivory); }
  .section:not(.alt) .steps.row li::before { box-shadow: 0 0 0 8px #fff; }
}

/* 서브 페이지 머리 */
.page-head { position: relative; color: #fff; padding: 56px 0 48px; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, .25); box-shadow: 0 0 0 40px rgba(201, 169, 97, .04), 0 0 0 80px rgba(201, 169, 97, .03);
}
@media (min-width: 768px) { .page-head { padding: 84px 0 72px; } }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: 10px; }
.page-head p { color: #CBD5E1; margin: 0; max-width: 40em; font-size: 17.5px; }
.crumb { font-size: 14px; color: #93A3B8; margin-bottom: 14px !important; letter-spacing: .02em; }
.crumb a { color: #B9C4D2; text-decoration: none; }
.crumb a:hover { color: #fff; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { margin: 0; flex: none; }
.subnav a { display: block; padding: 15px 14px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--text-sub); border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--navy); border-bottom-color: var(--gold); }

.prose { max-width: 840px; }
.prose section + section { margin-top: 72px; padding-top: 8px; }
.prose h2 { position: relative; padding-bottom: 14px; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }

.box { border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }
.box-summary { background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.box-note { background: #F3F6FA; border: 1px solid #E2E8F0; border-left: 3px solid var(--navy); }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

.source { font-size: 14px; color: var(--text-sub); }
.source a { color: var(--text-sub); }

/* 표 */
.table-wrap { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
th, td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 700; }
tbody th { background: #FBF9F5; color: var(--navy); width: 22%; font-weight: 700; white-space: nowrap; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg);
}

/* 자주 묻는 질문 */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 15px; font-size: 26px; font-weight: 400; color: var(--gold-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--text); border-top: 1px dashed var(--line); padding-top: 16px; }

/* 자가 점검 띠 (홈) */
.check-band { color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.check-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .check-inner { grid-template-columns: 1fr auto; } }
.check-band h2 { color: #fff; margin-bottom: 8px; }
.check-band p { color: #CBD5E1; margin: 0; }
.check-band .kicker { color: var(--gold-soft); }

/* 인사말 (홈) */
.greeting { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .greeting { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.greeting blockquote {
  margin: 0; position: relative; padding-top: 44px;
  font-family: var(--serif); font-size: clamp(20px, 2.4vw, 25px); line-height: 1.75; color: var(--navy);
}
.greeting blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-size: 88px; line-height: 1; color: var(--gold); }
.greeting .sign { margin-top: 22px; font-size: 15.5px; color: var(--text-sub); font-family: inherit; }
.greeting .sign strong { color: var(--navy); }
.info-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 22px; margin: 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.info-list li:last-child { border-bottom: 0; }
.info-list b { color: var(--gold-text); font-weight: 700; }

/* 상담 띠 */
.cta-band { color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, .22); box-shadow: 0 0 0 50px rgba(201, 169, 97, .03);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #CBD5E1; margin-bottom: 26px; }
.cta-band.center { text-align: center; }
.cta-band.center .btn-row { justify-content: center; }

/* 양식 */
.form { display: grid; gap: 22px; max-width: 680px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .form { padding: 40px; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.field .req { color: #A33A2B; font-weight: 700; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px;
  border: 1px solid #D6D0C3; border-radius: 10px; background: #FCFBF8; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(15, 42, 74, .08); }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 14px; color: var(--text-sub); margin-top: 6px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--text);
  border: 1px solid #D6D0C3; border-radius: 999px; padding: 10px 18px; cursor: pointer; background: #fff;
  transition: border-color .2s, background-color .2s;
}
.radios label:hover { border-color: var(--navy); }
.radios label:has(input:checked) { border-color: var(--navy); background: #F1F4F8; color: var(--navy); font-weight: 700; }
.radios input { accent-color: var(--navy); width: 18px; height: 18px; }
.consent { background: var(--ivory); border-radius: var(--radius); padding: 20px 22px; }
.consent table { min-width: 0; font-size: 14.5px; background: #fff; }
.consent .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; margin-top: 14px; }
.consent .check input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn-navy { min-height: 56px; font-size: 17px; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { background: #E8F3EC; color: #1E5B34; }
.form-msg.err { background: #FBECEA; color: #8A2A1E; }

/* 자가 점검 */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .quiz { padding: 36px; } }
.quiz fieldset { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px dashed var(--line); }
.quiz legend { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.quiz-result { margin-top: 8px; }
.quiz-result[hidden] { display: none; }

/* 바닥글 */
.site-footer { background: var(--navy-ink); color: #93A3B8; font-size: 14.5px; padding: 56px 0 40px; }
.site-footer p { margin: 0 0 4px; }
.site-footer a { color: #E2E8F0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 !important; }
.foot-note { margin-top: 14px !important; color: #7E8DA1; }
.copy { margin-top: 18px !important; color: #64748B; font-size: 13.5px; }

/* PC 오른쪽 빠른 연락 */
.quickside {
  display: none; position: fixed; right: 20px; bottom: 28px; z-index: 55;
  flex-direction: column; gap: 10px;
}
@media (min-width: 900px) { .quickside { display: flex; } }
.quickside a {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 8px 22px rgba(10, 30, 54, .22); transition: transform .2s; position: relative;
}
.quickside a:hover { transform: scale(1.06); }
.quickside a svg { width: 26px; height: 26px; }
.quickside .q-kakao { background: #FEE500; color: #191919; }
.quickside .q-form { background: var(--gold); color: var(--navy-ink); }
.quickside .q-tel { background: var(--navy); color: #fff; }
.quickside a span {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--navy-ink); color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.quickside a:hover span, .quickside a:focus-visible span { opacity: 1; }

/* 모바일 하단 연락 막대 */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 64px;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(15, 42, 74, .06);
}
.quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--navy); }
.quickbar a svg { width: 19px; height: 19px; }
.quickbar a.primary { background: var(--navy); color: #fff; }
.quickbar a.kakao { background: #FEE500; color: #191919; }
@media (min-width: 900px) { .quickbar { display: none; } }

.map-box { aspect-ratio: 16 / 9; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--text-sub); text-align: center; padding: 16px; }

/* 스크롤하면 부드럽게 나타나기 (자바스크립트가 켜진 경우만) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* 원래 누리집 로고 */
.logo { flex: none; }
.logo img { height: 50px; width: auto; max-width: none; }
.site-footer .logo img { height: 42px; }

/* 메뉴 사이 구분선 */
@media (min-width: 1200px) {
  .gnb > ul > li + li::before {
    content: ""; position: absolute; left: -1px; top: 50%; width: 1px; height: 14px;
    background: #CFC7B6; transform: translateY(-50%);
  }
}

/* 구성원 사진 */
.cards.members { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card.member { padding: 0 0 26px; overflow: hidden; }
.card.member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; margin-bottom: 22px; background: var(--ivory); }
.card.member h3, .card.member ul { margin-left: 26px; margin-right: 26px; }
.card.member ul { margin-bottom: 0; }
.greeting.single { grid-template-columns: 1fr; max-width: 860px; text-align: center; }
.greeting.single blockquote::before { left: 50%; transform: translateX(-50%); }
.greeting.single .kicker::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
