@font-face {
  font-family: "Pretendard";
  src: url("/assets/PretendardVariable.woff2") format("woff2-variations"),
       url("/assets/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   덴탈 파인더 — 화면 스타일
   모바일 우선. 390px에서 먼저 읽히고 1280px에서 넓게 펼쳐진다.
   ========================================================================== */

:root {
  --bg: #f5f8f7;
  --paper: #ffffff;
  --ink: #0f1f1d;
  --ink-2: #33443f;
  --muted: #64766f;
  --line: #dfe7e3;
  --line-soft: #eaf0ed;
  --brand: #0e6b5f;
  --brand-2: #0a4f47;
  --brand-soft: #e6f2ee;
  --brand-softer: #f0f7f4;
  --accent: #bd5a25;
  --accent-soft: #fbeee5;
  --warn: #8a5a12;
  --warn-bg: #fdf5e4;
  --danger: #a33a2b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 40, 35, .05), 0 10px 30px -18px rgba(16, 40, 35, .25);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", "NanumGothic",
          "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: 0;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
h2 { font-size: clamp(21px, 2.5vw, 28px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: 0 0 .45em; }
code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .9em; background: var(--brand-soft); padding: 1px 5px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.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;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .15s;
}
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
:focus-visible { outline: 3px solid rgba(14, 107, 95, .35); outline-offset: 2px; border-radius: 6px; }

/* ---------------------------------------------------------------- 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 600; letter-spacing: -0.01em;
  border-radius: 10px; border: 1px solid transparent; background: transparent;
  color: var(--ink); padding: 12px 18px; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  line-height: 1.2; min-height: 44px;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #a04a1c; }
.btn-line { border-color: #c9d6d1; color: var(--brand-2); background: var(--paper); }
.btn-line:hover { border-color: var(--brand); background: var(--brand-softer); }
.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-sm { padding: 9px 14px; font-size: 14px; min-height: 38px; border-radius: 9px; }
.btn-xs { padding: 6px 11px; font-size: 12.5px; min-height: 32px; border-radius: 8px; }
.btn-block { display: flex; width: 100%; margin-top: 8px; }
.btn.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------------------------------------------------------------- 미리보기 */
.preview-bar {
  background: #1d2b28; color: #e8efec; font-size: 12.5px; line-height: 1.4;
  padding: 8px 16px; text-align: center; letter-spacing: 0;
}
.preview-bar b {
  display: inline-block; background: #f0c36b; color: #2b1d05; border-radius: 4px;
  padding: 1px 6px; margin-right: 6px; font-size: 11.5px;
}
.preview-bar a { color: #f6e2bd; text-decoration: underline; }

/* ---------------------------------------------------------------- 헤더 */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; color: var(--brand); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt strong { font-size: 17px; letter-spacing: -0.04em; }
.brand-txt em {
  font-style: normal; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  color: var(--ink-2); font-size: 14.5px; font-weight: 600; padding: 8px 11px;
  border-radius: 8px;
}
.nav a:hover { background: var(--brand-softer); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.head-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.head-actions .js-compare-count {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px;
  padding: 0 5px; margin-left: 2px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
}
.menu-btn {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); font-size: 18px; color: var(--ink);
}
.mobile-menu {
  border-top: 1px solid var(--line); background: var(--paper); padding: 8px 20px 14px;
  display: grid; gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 10px 4px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }

/* ---------------------------------------------------------------- 히어로 */
.hero {
  background:
    radial-gradient(1100px 420px at 78% -10%, rgba(14, 107, 95, .13), transparent 62%),
    linear-gradient(180deg, #eef5f2 0%, #f7faf8 62%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
  padding: 32px 0 26px;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 10px;
}
.eyebrow.on-dark { color: var(--brand); }
.hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.045em; margin-bottom: 10px; }
.hero .eyebrow { margin-bottom: 7px; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero-lead { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); max-width: 42em; margin-bottom: 14px; }
.search {
  display: flex; gap: 6px; background: var(--paper); padding: 5px;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  max-width: 560px;
}
.search .btn { min-height: 40px; padding: 9px 18px; border-radius: 8px; }
.search input {
  flex: 1; border: 0; font: inherit; padding: 6px 10px; background: transparent;
  min-width: 0; color: var(--ink);
}
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 107, 95, .12); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 8px; font-size: 13.5px; }
.hero-chips > span { color: var(--muted); font-weight: 600; }
.hero-chips a {
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--ink-2);
  padding: 5px 11px; border-radius: 999px;
}
.hero-chips a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact-tile {
  background: rgba(255, 255, 255, .86); border: 1px solid #d9e5e0; border-radius: var(--radius);
  padding: 18px 16px 15px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  min-width: 0;
}
.fact-tile b.none { font-size: 26px; letter-spacing: -0.03em; }
.fact-tile b { font-size: 30px; line-height: 1; letter-spacing: -0.05em; color: var(--brand-2); }
.fact-tile span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-top: 6px; }
.fact-tile small { font-size: 11.5px; color: var(--muted); }

/* ---------------------------------------------------------------- 섹션 */
.band { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 40px 0; }
.sec { padding-top: 40px; padding-bottom: 40px; }
.sec > h2 { font-size: 21px; margin: 0 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.sec > h2:first-child { padding-top: 0; border-top: 0; }
.method-body { max-width: 780px; }
.method-body p, .method-body li { font-size: 15.5px; }
.sec-list { padding-top: 28px; padding-bottom: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.sec-head h2 { margin-top: 0; }
.link-arrow { font-size: 14px; font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: " →"; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.area-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: var(--brand-softer); border: 1px solid #d8e7e2; border-radius: 10px;
  padding: 9px 6px; color: var(--ink); text-align: center;
  transition: border-color .15s, background .15s;
}
.area-card:hover { text-decoration: none; border-color: var(--brand); background: var(--paper); }
.area-name { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.area-count { font-size: 11.5px; font-weight: 700; color: var(--brand); line-height: 1.2; }
/* 넓은 화면에서는 한 줄에 구 이름과 곳 수를 좌우로 (2026-12-04) */
@media (min-width: 701px) {
  .area-card { flex-direction: row; justify-content: space-between; padding: 10px 18px; }
  .area-name { font-size: 16px; }
  .area-count { font-size: 13px; }
}

.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.treat-grid.wide { grid-template-columns: repeat(4, 1fr); }
.treat-card {
  display: flex; flex-direction: column; gap: 2px; padding: 13px 15px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.treat-card:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.treat-kicker { font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.treat-card strong, .treat-card b { font-size: 17px; letter-spacing: -0.03em; line-height: 1.25; }
.treat-short { font-size: 12.5px; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.treat-more { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--brand); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 8px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.ticks.big li { margin-bottom: 12px; font-size: 16.5px; }
.mini-compare {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); font-size: 14px;
}
.mc-head, .mc-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.mc-head { background: var(--brand-softer); font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.mc-row b { font-weight: 700; color: var(--ink); }
.mc-foot { padding: 12px 18px; font-size: 12px; color: var(--muted); background: #fbfdfc; }

.clinic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; }
.clinic-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; gap: 10px; transition: border-color .15s, box-shadow .15s;
}
.clinic-card:hover { border-color: #bcd2cb; box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card-top > div { min-width: 0; }
.card-top h3 { overflow-wrap: anywhere; }
/* 값이 있는 공통 항목 수 — 등급이 아니라 개수만 (2026-12-04) */
.info-score { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-softer);
  border: 1px solid #d5e6e0; border-radius: 999px; padding: 2px 8px; white-space: nowrap; line-height: 1.5; }
.card-top h3 { font-size: 17.5px; }
.card-top h3 a { color: var(--ink); }
.card-sub { margin: 4px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pill-type { background: #eef1f0; color: #46554f; }
.pill-ok { background: var(--brand-soft); color: var(--brand-2); }
.sample-chip {
  flex: none; font-size: 10.5px; font-weight: 700; color: #7a5a18; background: #fbf1d8;
  border: 1px solid #eddfb8; padding: 2px 7px; border-radius: 5px; letter-spacing: .02em;
}
.card-sum { margin: 0; font-size: 13.8px; color: var(--ink-2); line-height: 1.55; min-height: 2.9em; }
.card-facts { margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.card-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.card-facts dt { color: var(--muted); margin: 0; flex: none; }
.card-facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink-2); }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: 11.5px; color: #4c5c56; background: #f2f5f3; border-radius: 5px; padding: 2px 7px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-foot .link-arrow { font-size: 13.5px; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, #0c5f55, #0e6b5f 55%, #147a6b);
  color: #fff; border-radius: 18px; padding: 34px 36px;
}
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, .82); margin: 0; }
.cta .eyebrow { color: #9fd6c9; }
.cta .btn-primary { background: #fff; color: var(--brand-2); }
.cta .btn-primary:hover { background: #eaf5f1; }
.cta.soft { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.cta.soft h2 { color: var(--ink); }
.cta.soft p { color: var(--muted); }
.cta-actions { display: flex; gap: 8px; flex: none; }

/* ---------------------------------------------------------------- 페이지 머리 */
.crumbs { padding: 18px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 12.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b6c4bf; }
.crumbs a { color: var(--muted); }
.page-head { padding: 22px 0 34px; border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.page-head h1 { margin: 0 0 12px; }
.page-head .lead { font-size: 16.5px; color: var(--ink-2); max-width: 46em; margin: 0; }
.page-head.narrow .wrap { max-width: 860px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip-link {
  display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);
  padding: 6px 12px; border-radius: 999px;
}
.chip-link b { color: var(--brand); }
.chip-link:hover { border-color: var(--brand); text-decoration: none; }
.chip-link.static { background: #f3f6f5; }

/* ---------------------------------------------------------------- 필터 */
.filters {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 22px 0 18px;
}
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.filter-row + .filter-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.field span { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
.field select, .field input, .sort-wrap select {
  font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid #cfdad6;
  border-radius: 9px; background: var(--paper); color: var(--ink); min-height: 42px;
}
.field-grow { flex: 1; min-width: 200px; }
.toggles { align-items: center; }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.sort-wrap { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.adv-btn { display: none; }
.list-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 14px; flex-wrap: wrap; }
.list-meta p { margin: 0; font-size: 14px; }
.list-meta b { font-size: 18px; color: var(--brand-2); }
.scroll-hint { display: none; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------------------------------------------------------------- 표 */
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.data-table thead th { background: var(--brand-softer); font-size: 12px; color: var(--muted); letter-spacing: .03em; white-space: nowrap; }
.data-table tbody th { font-weight: 700; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfdfc; }
.row-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.bar { height: 8px; background: #edf2f0; border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #0e6b5f, #38a08d); border-radius: 999px; }
.bar.thin { height: 6px; min-width: 70px; }

/* ---------------------------------------------------------------- 병원 상세 */
.clinic-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 26px 0 34px; }
.clinic-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.clinic-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.clinic-title h1 { margin-bottom: 8px; }
.clinic-addr { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.clinic-sum { margin: 0 0 18px; color: var(--ink-2); max-width: 44em; }
.clinic-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.coverage-card, .info-card {
  border: 1px solid #cfe1db; background: linear-gradient(180deg, #f4faf7, #ffffff);
  border-radius: var(--radius); padding: 20px;
}
.info-list { list-style: none; padding: 0; margin: 4px 0 6px; }
.info-list li { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; border-bottom: 1px solid #e2ece8; }
.info-list li:last-child { border-bottom: 0; }
.info-list b { font-size: 13px; color: var(--ink); }
.info-list span { font-size: 11.5px; color: var(--muted); }
.fact-row .src a { color: #7d8f88; text-decoration: underline; text-underline-offset: 2px; }
.fact-row .src a:hover { color: var(--brand); }
.cov-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.cov-num { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
.cov-num b { font-size: 34px; letter-spacing: -0.05em; color: var(--brand-2); line-height: 1; }
.cov-num span { font-size: 12.5px; color: var(--muted); }
.cov-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 10px; line-height: 1.55; }

.clinic-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; margin-bottom: 16px; }
.block h2 { font-size: 19px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.facts { margin: 0; }
.fact-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.fact-row:last-child { border-bottom: 0; }
.fact-row dt { margin: 0; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.fact-row dd { margin: 0; font-size: 14.5px; color: var(--ink); }
.fact-row .src { display: block; font-size: 11.5px; color: #859690; margin-top: 4px; }
.facts.compact .fact-row { padding: 9px 0; }
.missing-val { color: #8a9993; font-style: normal; }
.missing-inline { color: #8a9993; font-size: 14px; }
.hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.hour-row { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fbfcfc; }
.hour-row span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.hour-row b { font-size: 13px; }
.hour-row.closed b { color: #a1afa9; font-weight: 500; }
.transit { list-style: none; padding: 0; margin: 0 0 12px; }
.transit li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.inline-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.inline-list li { margin: 0; font-size: 13.5px; background: #f3f6f5; border-radius: 6px; padding: 4px 9px; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; }
.map-links > span { color: var(--muted); font-weight: 600; }
.map-links a { border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; color: var(--ink-2); font-weight: 600; }
.map-links a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.caution { font-size: 12.5px; color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 10px 12px; margin: 14px 0 0; }
.source-list { list-style: none; padding: 0; margin: 0 0 14px; }
.source-list li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.source-list a { margin-left: 4px; font-size: 12.5px; }
.clinic-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h2 { font-size: 15.5px; margin-bottom: 10px; }
.side-card p { font-size: 13.5px; }
.nearby { list-style: none; padding: 0; margin: 0 0 10px; }
.nearby li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.nearby li:last-child { border-bottom: 0; }
.nearby a { display: block; padding: 9px 0; color: var(--ink); }
.nearby a b { display: block; font-size: 14px; }
.nearby a span { font-size: 12px; color: var(--muted); }
.nearby a:hover { color: var(--brand); text-decoration: none; }
.note-card { background: #fbf8f1; border: 1px solid #eadfc9; border-radius: 10px; padding: 12px 14px 13px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------------------------------------------------------------- Q&A */
.qna-list { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qna-list li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.qna-list li:last-child { border-bottom: 0; }
.qna-list a { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; color: var(--ink); }
.qna-list > a + a { border-top: 1px solid var(--line-soft); }
.qna-list a:hover { background: var(--brand-softer); text-decoration: none; }
.q-cat { flex: none; font-size: 11.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 5px; padding: 2px 8px; }
.qa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.qa-item { display: block; padding: 13px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.qa-item:hover { border-color: var(--brand); text-decoration: none; }
.qa-item .q-title { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; margin-top: 5px; color: var(--ink); }
.qa-body p:first-child { font-size: 17px; color: var(--ink); }
.q-title { font-size: clamp(24px, 3.4vw, 36px); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.prose { max-width: 44em; }
.prose h2 { font-size: 21px; margin: 30px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.src-line { font-size: 12.5px; color: var(--muted); }
.notice { background: var(--brand-softer); border: 1px solid #d5e6e0; border-radius: 10px; padding: 14px 16px; font-size: 14px; margin: 18px 0; }
.notice b { color: var(--brand-2); }
.notice.warn { background: var(--warn-bg); border-color: #ecdcb9; }
.notice.warn b { color: var(--warn); }
.notice p { margin: 6px 0 0; }

/* ---------------------------------------------------------------- 커뮤니티 */
.comm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.comm-card {
  display: flex; flex-direction: column; gap: 6px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: var(--ink);
}
a.comm-card:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); }
.comm-card.big { background: linear-gradient(160deg, #0e6b5f, #0a554b); color: #fff; border: 0; padding: 30px; }
.comm-card.big h2 { color: #fff; font-size: 26px; }
.comm-card.big p { color: rgba(255, 255, 255, .85); }
.comm-card.big .c-kicker { color: #a9dccf; }
.comm-card.big .link-arrow { color: #fff; margin-top: auto; }
.comm-card.dim { background: #f8faf9; border-style: dashed; }
.c-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--brand); text-transform: uppercase; }
.mini-rules { padding-left: 18px; margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); }
.guide-card:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); }
.g-kicker { font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: .05em; }
.guide-card h3 { font-size: 19px; }
.guide-card p { font-size: 13.8px; color: var(--muted); margin: 0; }
.g-meta { font-size: 12px; color: #93a29c; margin-top: 6px; }

/* ---------------------------------------------------------------- 방법론 */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.m-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.m-card b { font-size: 28px; color: var(--brand-2); letter-spacing: -0.04em; }
.m-card span { font-size: 13px; color: var(--muted); }
.method-table td:last-child, .method-table th:last-child { text-align: right; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.plain-list.num { counter-reset: n; list-style: none; }
.plain-list.num li { counter-increment: n; position: relative; padding-left: 30px; }
.plain-list.num li::before {
  content: counter(n); position: absolute; left: 0; top: 9px; width: 20px; height: 20px;
  display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand-2); font-size: 11px; font-weight: 700;
}
.plain-list.tight li { padding: 6px 0; font-size: 13.5px; }

/* ---------------------------------------------------------------- 비교 */
.compare-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pick {
  display: inline-flex; align-items: center; gap: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 13.5px;
}
.pick button { border: 0; background: #eef3f1; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; color: var(--muted); font-size: 13px; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-title { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.empty-state .btn { margin-top: 12px; }
.compare-table th[scope="row"] { position: sticky; left: 0; background: var(--paper); min-width: 130px; z-index: 1; }
.compare-table thead th:first-child { position: sticky; left: 0; background: var(--brand-softer); z-index: 2; }
.compare-table td { min-width: 180px; }
.compare-table .pct { font-weight: 700; color: var(--brand-2); }

/* ---------------------------------------------------------------- 하단 */
.site-foot { background: #101e1b; color: #c7d2ce; padding: 30px 0 26px; margin-top: 0; }
/* 안내 띠는 첫 화면에서 빼고 푸터 맨 위로 (2026-12-04) */
.site-foot .preview-bar {
  background: transparent; color: #b6c6c0; text-align: left; font-size: 12px; line-height: 1.5;
  padding: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .09); margin-bottom: 26px;
}
.site-foot .preview-bar b {
  background: rgba(240, 195, 107, .14); color: #f0c36b; border: 1px solid rgba(240, 195, 107, .28);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.foot-brand .logo-mark { color: #7fc4b4; width: 24px; height: 24px; }
.site-foot h3 { color: #fff; font-size: 13px; letter-spacing: .06em; margin-bottom: 10px; }
.site-foot a { color: #c7d2ce; display: block; font-size: 13.5px; padding: 3px 0; }
.site-foot a:hover { color: #fff; }
.foot-note, .foot-small { font-size: 13px; color: #93a39d; line-height: 1.6; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; }
.foot-bottom p { font-size: 11.5px; color: #8b9b95; margin: 0 0 4px; }
.foot-bottom a { display: inline; font-size: 11.5px; }
.copy { color: #6f8079 !important; }

.tabbar { display: none; }
.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(14, 32, 29, .95); color: #fff; backdrop-filter: blur(8px);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.compare-bar[hidden] { display: none; }
.compare-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.compare-in b { font-size: 18px; }
.compare-in small { color: #9fb3ac; margin-left: 4px; }
.compare-in .btn-primary { background: #f0c36b; color: #221703; }

/* ================================================================ 반응형 */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-side .stats { margin-top: 0; }
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clinic-head .wrap { grid-template-columns: 1fr; }
  .coverage-card { max-width: 420px; }
  .clinic-cols, .two-col { grid-template-columns: 1fr; }
  .clinic-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .treat-grid.wide { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .site-foot h3 { margin-bottom: 6px; }
  .site-foot a { padding: 2px 0; font-size: 13px; }
  .site-foot .foot-note, .site-foot .foot-small { font-size: 12.5px; line-height: 1.5; }
  .foot-bottom { margin-top: 18px; padding-top: 14px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .head-actions { display: none; }
  .menu-btn { display: block; }
  .head-in { height: 60px; gap: 12px; }
  .treat-grid, .treat-grid.wide { grid-template-columns: repeat(2, 1fr); }
  .comm-grid, .guide-grid { grid-template-columns: 1fr; }

  .cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .cta-actions { flex-wrap: wrap; }
  .hero { padding: 13px 0 15px; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 4px; }
  .hero h1 { font-size: 25px; margin-bottom: 8px; }
  .hero-lead { font-size: 13.5px; line-height: 1.58; margin-bottom: 10px; }
  .fact-tile { padding: 12px 13px; }
  .fact-tile b { font-size: 23px; }
  .fact-tile b.none { font-size: 19px; }
  .fact-tile span { font-size: 12px; margin-top: 3px; }
  .fact-tile small { display: none; }
  .clinic-head .wrap { gap: 20px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding-top: 26px; padding-bottom: 26px; }
  .band { padding: 26px 0; }
  .sec-head { align-items: flex-start; margin-bottom: 12px; }
  .clinic-cols { gap: 20px; }
  .block { padding: 20px 18px 16px; }
  .page-head { padding: 12px 0 22px; }
  .page-head h1 { font-size: 26px; }
  .page-head .lead { font-size: 14.5px; line-height: 1.6; }
  .crumbs { padding-top: 11px; }
  .filters { padding: 12px; margin: 14px 0 12px; }
  .sec-list { padding-top: 16px; }
  .fact-row { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
  .hours { grid-template-columns: repeat(2, 1fr); }
  .clinic-side { grid-template-columns: 1fr; }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around; backdrop-filter: blur(8px);
  }
  .tabbar a {
    flex: 1; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted);
    padding: 5px 0 4px; border-radius: 8px; position: relative;
  }
  .tabbar a::before {
    content: ""; display: block; width: 22px; height: 3px; border-radius: 2px;
    background: #cfdad6; margin: 0 auto 6px;
  }
  .tabbar a:hover { text-decoration: none; }
  .tabbar a.is-active { color: var(--brand); }
  .tabbar a.is-active::before { background: var(--brand); }
  body { padding-bottom: 0; }
  body.has-compare { padding-bottom: 0; }
  .compare-bar { bottom: 58px; }
  .site-foot { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.has-compare .site-foot { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
  .qa-body p:first-child { font-size: 16px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .clinic-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .clinic-actions .btn { width: 100%; padding: 12px 10px; }
  .clinic-actions [data-copy] { grid-column: 1 / -1; min-height: 34px; justify-content: center; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
  .treat-grid, .treat-grid.wide { grid-template-columns: 1fr; }
  .clinic-grid { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: 1fr; }
  .filter-row { flex-wrap: wrap; gap: 8px; }
  .filter-row .field { flex: 1 1 44%; min-width: 0; }
  .filter-row .field-grow { flex: 1 1 100%; }
  .filter-row.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .check { padding: 7px 9px; min-height: 38px; font-size: 13.5px; }
  .sort-wrap { grid-column: 1 / -1; margin-left: 0; justify-content: space-between; }
  .scroll-hint { display: block; font-size: 12px; color: var(--muted); margin: 8px 2px 0; }
  .adv-btn { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px;
    border: 1px solid var(--line); background: var(--paper); border-radius: 9px;
    padding: 9px 13px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); }
  .filter-row.toggles.is-collapsed { display: none; }
  .hide-sm { display: none; }
  .hero h1 { font-size: 24px; }
  .search { flex-direction: row; }
  .search input { padding: 5px 8px; font-size: 15px; }
  .search .btn { padding: 8px 16px; min-height: 40px; }
  .clinic-head { padding: 18px 0 26px; }
  .hero-chips { font-size: 12.5px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .m-card b { font-size: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .compare-table td { min-width: 150px; }
  .cta-actions .btn { flex: 1; }
}
@media print {
  .site-head, .tabbar, .compare-bar, .preview-bar, .site-foot, .clinic-actions, .js-compare { display: none !important; }
  body { background: #fff; }
  .block, .side-card { break-inside: avoid; }
}
