:root {
  --brand: #a61832;
  --brand-deep: #7c0f24;
  --ink: #1d1a1b;
  --muted: #6b6466;
  --line: #e6e0e1;
  --page: #f2eeee;
  --surface: #ffffff;
  --kakao: #fee500;
  --kakao-ink: #191600;
  --w: 800px;
  --bar-h: 76px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--ink);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-text-size-adjust: 100%;
  word-break: keep-all;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* 상단 분야 메뉴 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.topics {
  max-width: var(--w); margin: 0 auto;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px max(12px, env(safe-area-inset-left, 0px));
  -webkit-overflow-scrolling: touch;
}
.topics::-webkit-scrollbar { display: none; }
.topics a {
  flex: none; padding: 7px 13px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--muted); background: var(--page);
}
.topics a:hover { color: var(--ink); }
.topics a[aria-current="page"] { background: var(--brand); color: #fff; }

/* 상세 이미지 */
.detail { max-width: var(--w); margin: 0 auto; background: var(--surface); }
.detail img { display: block; width: 100%; height: auto; }

/* 하단 고정 상담 바 */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 8px; justify-content: center;
  padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.cta {
  height: 48px; border-radius: 10px; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
}
.cta svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.cta-call { flex: 1.3; max-width: 340px; background: var(--ink); color: #fff; }
.cta-call span, .cta-kakao span, .cta-honors span { display: grid; line-height: 1.15; text-align: left; }
.cta-call small, .cta-kakao small, .cta-honors small { font-size: 11px; font-weight: 500; opacity: .75; }
.cta-call strong, .cta-kakao strong, .cta-honors strong { white-space: nowrap; font-size: 16px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.cta-kakao { flex: 1; max-width: 300px; background: var(--kakao); color: var(--kakao-ink); }
.cta-form { flex: 1; max-width: 260px; background: var(--brand); color: #fff; }
.cta-form:hover { background: var(--brand-deep); }
@media (max-width: 380px) {
  .cta { font-size: 15px; }

}

/* 상담 신청서 */
.sheet {
  width: min(480px, 100%); max-height: 92dvh; margin: auto; padding: 0;
  border: 0; border-radius: 16px; color: var(--ink); background: var(--surface);
}
.sheet::backdrop { background: rgba(20, 10, 12, .55); }
@media (max-width: 560px) {
  .sheet { margin: auto 0 0; max-width: 100%; border-radius: 16px 16px 0 0; }
}
.sheet-body {
  display: grid; gap: 14px;
  padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px));
}
.sheet-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.eyebrow { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--brand); }
.sheet h2 { margin: 0; font-size: 22px; }
.close { width: 40px; height: 40px; border: 0; background: var(--page); border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; }
.sheet-lead { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.sheet-lead a { color: var(--brand); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; font-size: 14px; }
.consent input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; }
.consent details { grid-column: 2; font-size: 13px; color: var(--muted); }
.consent summary { cursor: pointer; }
.consent details p { margin: 6px 0 0; line-height: 1.6; }
.form-error { margin: 0; color: var(--brand); font-size: 14px; font-weight: 600; }
.submit {
  height: 54px; border: 0; border-radius: 12px; background: var(--brand); color: #fff;
  font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.submit:disabled { opacity: .6; cursor: wait; }
.done { padding: 14px; border-radius: 10px; background: #f6eef0; color: var(--brand-deep); font-size: 15px; line-height: 1.6; }
@media (min-width: 900px) {
  .topics { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

/* 상단 메뉴: 1줄 분류, 2줄 세부 분야 */
.cats {
  max-width: var(--w); margin: 0 auto;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px max(12px, env(safe-area-inset-left, 0px)) 8px;
}
.cats::-webkit-scrollbar { display: none; }
.cats a {
  flex: none; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  color: var(--muted); background: var(--page);
}
.cats a:hover { color: var(--ink); }
.cats a[aria-current] { background: var(--brand); color: #fff; }
.topics { gap: 18px; padding-top: 2px; padding-bottom: 0; border-top: 1px solid var(--line); }
.topics a {
  padding: 10px 2px; border-radius: 0; background: none;
  font-size: 14px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent;
}
.topics a[aria-current="page"] { background: none; color: var(--brand); border-bottom-color: var(--brand); }
@media (min-width: 900px) {
  .cats { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

/* 하단 바: 24시 상담 접수 · 카카오톡 · 대륜 아너스 (3개) */
.cta-bar { gap: 6px; }
.cta-call { flex: 1.35; max-width: 300px; }
.cta-kakao { flex: 1; max-width: 220px; }
.cta-honors { flex: 1; max-width: 220px; background: var(--brand); color: #fff; }
.cta-honors:hover { background: var(--brand-deep); }
@media (max-width: 440px) {
  .cta { gap: 5px; padding: 0 6px; height: 52px; }
  .cta svg { width: 17px; height: 17px; }
  .cta-call strong, .cta-kakao strong, .cta-honors strong { font-size: 14px; }
  .cta-call small, .cta-kakao small, .cta-honors small { font-size: 10.5px; }
}


/* 하단 배너 · 푸터 */
.banners { display: grid; gap: 0; background: #fff; }
.banners a { display: block; line-height: 0; }
.banners img { width: 100%; height: auto; display: block; }
.site-footer { padding: 22px 20px 26px; text-align: center; background: #fff; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.site-footer strong { color: var(--ink); }

/* 하단 바 v3: 가운데 정렬, 위 줄(아이콘+이름) / 아래 줄(번호·행동) */
.cta-bar .cta {
  flex-direction: column; justify-content: center; align-items: center; gap: 3px;
  height: 60px; padding: 0 6px; text-align: center; line-height: 1.15;
}
.cta-bar .cta-top { display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 13.5px; font-weight: 700; opacity: .92; white-space: nowrap; }
.cta-bar .cta-top svg { width: 15px; height: 15px; }
.cta-bar .cta-top img { width: 18px; height: 18px; border-radius: 4px; display: block; }
.cta-bar .cta strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cta-honors { background: var(--brand); color: #fff; box-shadow: none; }
.cta-honors:hover { background: var(--brand-deep); }

@media (max-width: 440px) {
  .cta-bar .cta { height: 58px; }
  .cta-bar .cta-top { font-size: 12px; gap: 4px; }
  .cta-bar .cta-top svg { width: 13px; height: 13px; }
  .cta-bar .cta-top img { width: 16px; height: 16px; }
  .cta-bar .cta strong { font-size: 15px; }
}
@media (max-width: 360px) {
  .cta-bar .cta-top { font-size: 11px; }
  .cta-bar .cta strong { font-size: 14px; }
}

/* 하단 바 글씨 크게 */
:root { --bar-h: 80px; }
.cta-bar .cta { height: 64px; gap: 4px; }
.cta-bar .cta-top { font-size: 15px; gap: 6px; }
.cta-bar .cta-top svg { width: 17px; height: 17px; }
.cta-bar .cta-top img { width: 21px; height: 21px; border-radius: 5px; box-shadow: none; }
.cta-bar .cta strong { font-size: 19.5px; }
@media (max-width: 440px) {
  .cta-bar .cta { height: 62px; padding: 0 4px; }
  .cta-bar .cta-top { font-size: 13.5px; gap: 4px; }
  .cta-bar .cta-top svg { width: 15px; height: 15px; }
  .cta-bar .cta-top img { width: 18px; height: 18px; }
  .cta-bar .cta strong { font-size: 17px; }
}
@media (max-width: 360px) {
  .cta-bar .cta-top { font-size: 12px; }
  .cta-bar .cta strong { font-size: 15px; }
}

/* 하단 바 글씨 한 단계 더 크게, 가운데 정렬 */
.cta-bar { justify-content: center; }
.cta-bar .cta { height: 68px; }
.cta-bar .cta-top { font-size: 16px; }
.cta-bar .cta strong { font-size: 21px; }
:root { --bar-h: 84px; }
@media (max-width: 440px) {
  .cta-bar .cta { height: 64px; }
  .cta-bar .cta-top { font-size: 14px; }
  .cta-bar .cta strong { font-size: 18px; }
}
@media (max-width: 360px) {
  .cta-bar .cta-top { font-size: 12.5px; }
  .cta-bar .cta strong { font-size: 15.5px; }
}
.site-footer { font-size: 14px; }

.site-footer .copy { display: inline-block; margin-top: 6px; font-size: 12px; opacity: .8; }

/* 하단 고정 바: 고급형 (어두운 바탕 + 금색 선) */
.cta-bar { background: rgba(18, 13, 15, .96); border-top: 1px solid rgba(200,164,106,.45); }
.cta-bar .cta { border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.cta-bar .cta-call { background: linear-gradient(180deg, #8c1c33, #5e0f21); color: #fff; }
.cta-bar .cta-call .cta-top { color: #d8b77e; opacity: 1; }
.cta-bar .cta-kakao { background: #fee500; color: #191600; }
.cta-bar .cta-honors { background: #2a2224; color: #fff; box-shadow: inset 0 0 0 1px rgba(200,164,106,.45); }
.cta-bar .cta-honors .cta-top { color: #d8b77e; opacity: 1; }

/* 하단 바 색 교체: 전화 = 실버, 대륜 아너스 = 버건디 */
.cta-bar .cta-call { background: linear-gradient(180deg, #f2f2f4 0%, #d4d5da 55%, #b9bbc1 100%); color: #1d1a1b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.12); }
.cta-bar .cta-call .cta-top { color: #55565c; }
.cta-bar .cta-honors { background: linear-gradient(180deg, #8c1c33, #5e0f21); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.cta-bar .cta-honors .cta-top { color: #d8b77e; }

/* 실버 전화 버튼 글씨 선명하게 */
.cta-bar .cta-call { color: #0e0c0d; }
.cta-bar .cta-call .cta-top { color: #26262a; }
.cta-bar .cta-call strong { color: #0e0c0d; }

/* 하단 바 확정: B안 (블랙+금색 / 카카오 옐로 / 버건디) */
.cta-bar .cta-call { background: linear-gradient(180deg, #2b2b2e, #151416); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(200,164,106,.35); }
.cta-bar .cta-call .cta-top { color: #d8b77e; }
.cta-bar .cta-call strong { color: #fff; }

/* 하단 바 변경 (11/19): 대륜톡 = 버건디 / 빠른상담 = 아이보리 / 전화 = 블랙+금색 */
.cta-bar .cta-talk, .cta-bar .cta-quick { flex: 1; max-width: 220px; }
.cta-talk span, .cta-quick span { display: grid; line-height: 1.15; text-align: left; }
.cta-bar .cta-talk { background: linear-gradient(180deg, #8c1c33, #5e0f21); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.cta-bar .cta-talk .cta-top { color: #d8b77e; opacity: 1; }
.cta-bar .cta-talk .cta-top img { border-radius: 4px; }
.cta-bar .cta-quick { background: linear-gradient(180deg, #fbf6ee, #efe3cf); color: #5e0f21; box-shadow: inset 0 0 0 1px rgba(140,28,51,.18); }
.cta-bar .cta-quick .cta-top { color: #8c1c33; opacity: 1; }
.cta-bar .cta-quick svg { fill: none; }
.cta-bar .cta-talk strong, .cta-bar .cta-quick strong { white-space: nowrap; }

/* v2: 세부 분야 구간 */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sec { scroll-margin-top: 110px; }
#lawyers { scroll-margin-top: 60px; }
.sec-label {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; background: var(--page);
  border-top: 6px solid var(--brand);
  font-size: 20px; font-weight: 800; color: var(--ink);
}
.sec-label span {
  font-size: 13px; font-weight: 700; color: #fff; background: var(--brand);
  padding: 4px 10px; border-radius: 999px;
}
.detail img { display: block; width: 100%; height: auto; }

/* 분류 메뉴 중 안내 페이지(상담 진행 방식, 사무소 안내)는 테두리 버튼 */
.cats a.info { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.cats a.info[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }

/* 분야 페이지 안 안내 상자 */
.guide { padding: 40px 20px; background: var(--page); text-align: center; }
.guide p { margin: 0 0 20px; font-size: clamp(21px, 5.6vw, 28px); line-height: 1.4; font-weight: 800; color: var(--ink); text-wrap: balance; }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.guide-links a {
  padding: 13px 22px; border-radius: 999px; background: #fff; color: var(--brand);
  font-size: clamp(17px, 4.4vw, 20px); font-weight: 800; text-decoration: none; box-shadow: inset 0 0 0 2px var(--brand);
}
.guide-links a:hover { background: var(--brand); color: #fff; }

/* 강점 비교안 전환 버튼 */
.variant-switch { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 14px 12px; background: var(--page); position: sticky; top: 64px; z-index: 5; }
.variant-switch button { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--brand); background: #fff; color: var(--brand); cursor: pointer; }
.variant-switch button[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* ── 상담 창구 배너 (고급형) ── */
.consult {
  --gold: #c8a46a; --gold-soft: rgba(200,164,106,.35);
  padding: 56px 20px 48px; background: #120d0f; color: #f4ece6; text-align: center;
  display: grid; gap: 14px;
}
.consult-eyebrow { margin: 0; font-size: 12px; letter-spacing: .32em; color: var(--gold); font-weight: 600; }
.consult-title { margin: 0 0 18px; font-family: "Noto Serif KR", "Nanum Myeongjo", serif; font-weight: 700;
  font-size: clamp(26px, 7vw, 36px); line-height: 1.35; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.cbn {
  position: relative; display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 30px 22px 26px; border-radius: 18px; text-decoration: none; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.cbn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .cbn { transition: none; } .cbn:hover { transform: none; } }
.cbn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line-c, rgba(255,255,255,.12)); }
.cbn-kicker { font-size: 14px; font-weight: 600; letter-spacing: .04em; opacity: .85; }
.cbn-num { font-family: "Noto Serif KR", serif; font-weight: 700; font-size: clamp(34px, 10vw, 46px); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.cbn-head { font-size: clamp(21px, 5.6vw, 26px); font-weight: 800; line-height: 1.4; letter-spacing: -.01em; }
.cbn-head b { font-weight: 800; }
.cbn-desc { font-size: 15px; opacity: .8; }
.cbn-btn { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  border-radius: 999px; font-size: 16px; font-weight: 800; }
.cbn-btn svg { width: 18px; height: 18px; fill: currentColor; }
.cbn-btn .arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
/* 전화: 버건디 + 금색 */
.cbn-call { color: #fff; --line-c: var(--gold-soft);
  background: radial-gradient(120% 90% at 50% 0%, #8c1c33 0%, #5e0f21 55%, #3a0914 100%); }
.cbn-call .cbn-kicker { color: var(--gold); }
.cbn-call .cbn-num { color: #fff; }
.cbn-call .cbn-btn { background: linear-gradient(180deg, #d8b77e, #b8925a); color: #2b1610; }
/* 카카오톡: 아이보리 + 카카오 옐로 */
.cbn-talk { color: #1f1a17; --line-c: rgba(0,0,0,.06); background: linear-gradient(180deg, #fbf8f2, #f1ebe0); }
.cbn-talk .cbn-kicker { color: #8a6b3a; }
.cbn-talk .cbn-btn { background: #fee500; color: #191600; }
/* 대륜 아너스: 차콜 + 아이콘 */
.cbn-honors { color: #f4ece6; background: linear-gradient(180deg, #2a2224, #1b1517); }
.cbn-honors .cbn-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.4); margin-bottom: 4px; }
.cbn-honors .cbn-kicker { color: var(--gold); }
.cbn-honors .cbn-head b { color: #fff; border-bottom: 2px solid #a61832; }
.cbn-honors .cbn-btn { background: #a61832; color: #fff; }
@media (min-width: 700px) {
  .consult { padding: 72px 40px 64px; }
  .cbn { padding: 36px 28px 30px; }
}

/* 상담 접수 페이지 */
.consult-intro { padding: 44px 20px 28px; text-align: center; background: #fff; }
.ci-eyebrow { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; }
.consult-intro h2 { margin: 0 0 10px; font-size: clamp(24px, 6.4vw, 34px); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.consult-intro p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.banners { display: grid; gap: 10px; padding: 0 0 24px; background: #fff; }
.banners a { display: block; line-height: 0; }
.banners img { width: 100%; height: auto; display: block; }
.cats a.info[href$="consult.html"], .cats a.info[href="#consult"] { background: var(--brand); color: #fff; box-shadow: none; }

/* 해결사례 안내 */
.case-note { margin: 0; padding: 18px 20px; background: var(--page); color: var(--muted); font-size: 14px; line-height: 1.7; text-align: center; word-break: keep-all; }
.site-footer .privacy-link a { margin-left: 8px; color: inherit; font-weight: 700; text-decoration: underline; }

/* ── 11/19 디자인 정리: 상단을 가볍게, 안내 버튼 정돈 ── */
/* 상단 메뉴: 글씨·높이 한 단계 축소 */
.cats { padding: 8px max(12px, env(safe-area-inset-left, 0px)) 6px; gap: 5px; }
.cats a { padding: 6px 12px; font-size: 13.5px; font-weight: 700; }
.topics { gap: 16px; }
.topics a { padding: 8px 2px; font-size: 13px; }
/* 분야 구간 제목: 탭과 겹치는 정보라 작고 얇게 */
.sec-label { padding: 12px 18px; gap: 8px; border-top-width: 3px; font-size: 16px; }
.sec-label span { font-size: 11.5px; padding: 3px 9px; }
/* 안내 상자: 제목 축소, 버튼은 2열로 같은 너비 */
.guide { padding: 32px 20px 34px; }
.guide p { font-size: clamp(18px, 4.8vw, 23px); margin-bottom: 16px; }
.guide-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin: 0 auto; }
.guide-links a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 10px;
  font-size: clamp(14.5px, 3.9vw, 16px); text-align: center; word-break: keep-all; }
/* 하단 정보: 주소가 어색하게 끊기지 않게 */
.site-footer { font-size: 13px; line-height: 1.75; }
.site-footer .nb { white-space: nowrap; }
.case-note { font-size: 13px; padding: 16px 22px; }

/* 안내 버튼이 홀수일 때 마지막 버튼은 한 줄 전체 */
.guide-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* 주제 끝 '다음 주제' 버튼 */
.next-topic { padding: 26px 20px 30px; background: var(--page); text-align: center; }
.next-topic a { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 800; text-decoration: none; box-shadow: 0 6px 14px rgba(140,28,51,.22); }
.next-topic small { font-size: 12px; font-weight: 600; opacity: .8; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.35); }
.sec[hidden] { display: none; }

/* 11/19 피드백: 상단 메뉴 2줄 (윗줄 안내 4개, 아랫줄 분야) */
.infos { max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 8px max(10px, env(safe-area-inset-left, 0px)) 0; }
.infos a { display: flex; align-items: center; justify-content: center; height: 32px; border-radius: 8px; text-decoration: none;
  font-size: 13px; font-weight: 700; color: var(--ink); background: var(--page); white-space: nowrap; letter-spacing: -.02em; }
.infos a[aria-current] { background: var(--ink); color: #fff; }
.infos a[href="./"], .infos a[href="#consult"] { background: var(--brand); color: #fff; }
.infos a[href="./"][aria-current], .infos a[href="#consult"][aria-current] { background: var(--brand-deep); box-shadow: inset 0 0 0 2px #d8b77e; }
.cats { padding-top: 7px; }
@media (max-width: 359px) { .infos a { font-size: 12px; } }

/* 11/19 피드백: 분야 메뉴를 한눈에 (3x2 버튼, 가로 스크롤 없음) */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; overflow: visible;
  padding: 8px max(10px, env(safe-area-inset-left, 0px)) 9px; }
.cats a { display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 4px; border-radius: 10px;
  font-size: 14.5px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap;
  color: var(--brand-deep); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(140,28,51,.28); }
.cats a[aria-current] { background: linear-gradient(180deg, #a61832, #7e1428); color: #fff; box-shadow: 0 4px 10px rgba(140,28,51,.28); }
.infos a { height: 30px; font-size: 12.5px; font-weight: 700; color: #4a4245; background: var(--page); border-radius: 7px; }
@media (max-width: 359px) { .cats a { font-size: 13px; } }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(6, 1fr); } }
