/* ===================================================================
   덕계더바른의원 — 디자인 시스템
   방향: 밝은 블루톤 / 명확 / 조잡하지 않게 / 화려한 애니메이션 배제
   =================================================================== */

/* ---------- 토큰 ---------- */
:root {
  /* 블루톤 — 밝고 신뢰감 있는 계열 */
  --blue-50:  #eef8ff;
  --blue-100: #d4ecff;
  --blue-200: #a9dcff;
  --blue-300: #70c4ff;
  --blue-400: #3aa9f5;
  --blue-500: #0d8ede;
  --blue-600: #0075bf;  /* 메인 컬러 */
  --blue-700: #0061a0;
  --blue-800: #004d81;
  --blue-900: #033a60;

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  --accent: #f5a623; /* 포인트 — 시술/강점 배지 */

  --brand:      var(--blue-600);
  --brand-deep: var(--blue-800);
  --bg:         var(--white);
  --bg-soft:    var(--ink-50);
  --text:       var(--ink-900);
  --text-muted: var(--ink-600);
  --line:       var(--ink-200);

  /* 타이포 — 모바일 기준, clamp 로 데스크톱까지 연속 스케일 */
  --fs-hero:    clamp(2rem, 1.35rem + 2.8vw, 3.5rem);
  --fs-h1:      clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h2:      clamp(1.4rem, 1.15rem + 1.1vw, 2.125rem);
  --fs-h3:      clamp(1.15rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-lead:    clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.875rem;

  --lh-tight: 1.28;
  --lh-snug:  1.45;
  --lh-body:  1.75;

  /* 레이아웃 */
  --container: 1200px;
  --container-narrow: 800px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow:    0 4px 16px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);

  --header-h: 68px;
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Malgun Gothic', system-ui, sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: -0.015em;
  /* 한국어 어절 단위 줄바꿈 */
  word-break: keep-all;
  /* CJK·긴 영문이 컨테이너를 넘치지 않도록. break-word 는 flex/grid 에서 무력함 */
  overflow-wrap: anywhere;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* 키보드 포커스만 표시 */
:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.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-link {
  position: absolute; top: 0; left: 0; z-index: 200;
  transform: translateY(-120%);
  padding: 0.75rem 1.25rem;
  background: var(--brand); color: var(--white);
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 레이아웃 ---------- */
.container {
  width: 100%;
  /* 100vw 는 스크롤바를 포함해 어긋남 — 100% 사용 */
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--brand { background: var(--blue-50); }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.875rem;
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section__title { font-size: var(--fs-h2); }
.section__lead {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--blue-700); }

.btn--ghost {
  background: transparent;
  color: var(--brand-deep);
  border-color: var(--blue-200);
}
.btn--ghost:hover { background: var(--blue-50); border-color: var(--blue-300); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- 헤더 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 1rem;
  height: 100%;
}
.header__logo {
  display: flex; align-items: baseline; gap: 0.4rem;
  font-size: 1.1875rem; font-weight: 700;
  letter-spacing: -0.04em; color: var(--brand-deep);
  white-space: nowrap;
}
.header__logo span { color: var(--brand); }

.gnb { display: none; margin-inline: auto; }
.gnb__list { display: flex; gap: clamp(0.5rem, 1.6vw, 1.75rem); }
.gnb__link {
  display: block; padding: 0.5rem 0.5rem;
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-700);
  transition: color 0.18s ease;
}
.gnb__item { position: relative; }
.gnb__item:hover > .gnb__link,
.gnb__link[aria-current='page'] { color: var(--brand); }

.gnb__sub {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 12rem; padding: 0.625rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}
.gnb__item:hover > .gnb__sub,
.gnb__item:focus-within > .gnb__sub {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.gnb__sub a {
  display: block; padding: 0.5rem 0.75rem;
  font-size: var(--fs-sm); color: var(--ink-600);
  border-radius: var(--radius-sm);
}
.gnb__sub a:hover { background: var(--blue-50); color: var(--brand); }

.header__tel {
  display: none;
  font-size: 1.0625rem; font-weight: 700;
  color: var(--brand-deep); letter-spacing: -0.02em;
}

.nav-toggle {
  margin-left: auto;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle__bars { display: block; width: 22px; height: 15px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after,
.nav-toggle__bars span {
  content: ''; position: absolute; left: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--ink-900);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 6.5px; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .gnb { display: block; }
  .header__tel { display: block; }
  .nav-toggle { display: none; }
}

/* 모바일 드로어 */
.drawer {
  position: fixed; inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--white);
  overflow-y: auto;
  padding: 1.5rem var(--gutter) 4rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s ease;
}
.drawer[data-open='true'] { transform: translateX(0); visibility: visible; }
.drawer__group + .drawer__group { margin-top: 0.5rem; }
.drawer__title {
  display: block; padding: 0.875rem 0;
  font-size: 1.0625rem; font-weight: 700;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.drawer__sub { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.875rem 0; }
.drawer__sub a {
  padding: 0.5rem 0.875rem;
  background: var(--ink-100); border-radius: 999px;
  font-size: var(--fs-sm); color: var(--ink-700);
}
.drawer__cta { margin-top: 2rem; display: grid; gap: 0.75rem; }

@media (min-width: 1024px) { .drawer { display: none; } }

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(78svh, 640px);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(96, 165, 250, 0.28) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(168deg, var(--blue-50) 0%, var(--white) 58%);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-xs); font-weight: 600; color: var(--brand-deep);
}
.hero__badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.hero__title em {
  font-style: normal;
  color: var(--brand);
}
.hero__lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--ink-600);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__fact { padding: 1.25rem 1.375rem; background: var(--white); }
.hero__fact dt {
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500);
}
.hero__fact dd {
  margin: 0.375rem 0 0;
  font-size: 1.0625rem; font-weight: 700;
  color: var(--ink-900); letter-spacing: -0.03em;
  line-height: 1.4;
}
.hero__fact dd small {
  display: block; margin-top: 0.25rem;
  font-size: var(--fs-xs); font-weight: 500; color: var(--ink-500);
}

@media (min-width: 900px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }
  .hero__facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }
}

/* ---------- 강점 3종 ---------- */
.strengths { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .strengths { grid-template-columns: repeat(3, 1fr); } }

.strength {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.strength:hover { border-color: var(--blue-300); box-shadow: var(--shadow); }
.strength__no {
  display: block; margin-bottom: 1rem;
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--brand); letter-spacing: 0.1em;
}
.strength__label {
  font-size: var(--fs-h3);
  letter-spacing: -0.035em;
}
.strength__headline {
  margin-top: 0.5rem;
  color: var(--brand-deep);
  font-size: var(--fs-sm); font-weight: 600;
}
.strength__body {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}

/* ---------- 클리닉 카드 ---------- */
.clinics { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .clinics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .clinics { grid-template-columns: repeat(3, 1fr); } }

.clinic-card {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.clinic-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.clinic-card__title {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: var(--fs-h3); letter-spacing: -0.035em;
}
.clinic-card__title::before {
  content: ''; width: 4px; height: 1.125em;
  border-radius: 2px; background: var(--brand);
}
.clinic-card__desc {
  margin-top: 0.875rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}
.clinic-card__list {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
}
.clinic-card__list a {
  padding: 0.375rem 0.75rem;
  background: var(--blue-50);
  border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 500;
  color: var(--blue-800);
  transition: background-color 0.16s ease;
}
.clinic-card__list a:hover { background: var(--blue-100); }

/* ---------- FAQ (AEO: 화면 노출 + FAQPage 스키마 동시) ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--blue-300); }
.faq__q {
  display: flex; align-items: flex-start; gap: 0.875rem;
  padding: 1.25rem 1.375rem;
  font-size: var(--fs-lead); font-weight: 600;
  letter-spacing: -0.03em;
  line-height: var(--lh-snug);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: 'Q'; flex: none;
  color: var(--brand); font-weight: 700;
}
.faq__q::after {
  content: ''; flex: none; margin-left: auto; margin-top: 0.4em;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-400);
  border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a {
  padding: 0 1.375rem 1.375rem 3.1rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}

/* ---------- 진료시간 표 ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours-table th, .hours-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.hours-table th { width: 34%; font-weight: 600; color: var(--ink-700); }
.hours-table td { color: var(--text-muted); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }

/* 가로로 긴 표는 자체 스크롤 — body 가로 스크롤 금지 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 미확정 정보 표시 (배포 전 제거 대상) */
.todo {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: #fef3c7; color: #92400e;
  border-radius: 4px;
  font-size: var(--fs-xs); font-weight: 600;
}

/* ---------- 하단 CTA ---------- */
.cta {
  background: linear-gradient(140deg, var(--blue-700) 0%, var(--blue-900) 100%);
  color: var(--white);
}
.cta__title { font-size: var(--fs-h2); }
.cta__lead {
  margin-top: 1rem;
  color: var(--blue-100);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
}
.cta__tel {
  display: inline-block; margin-top: 2rem;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  font-weight: 700; letter-spacing: -0.04em;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- 모바일 고정 CTA 바 ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px;
  font-size: var(--fs-sm); font-weight: 600;
}
.mobile-bar a:first-child { color: var(--brand-deep); }
.mobile-bar a:last-child { background: var(--brand); color: var(--white); }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
body { padding-bottom: 56px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---------- 스크롤 등장 (마운트 시점 요소만 대상) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
/* JS 미실행 시에도 반드시 보이도록 */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 서브 페이지 히어로 ---------- */
.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(165deg, var(--blue-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero__title {
  margin-top: 1.25rem;
  font-size: var(--fs-h1);
}
.page-hero__lede {
  max-width: 44rem;
  margin-top: 1.25rem;
  color: var(--ink-700);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
}

/* 빵부스러기 */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs); color: var(--ink-500);
}
.crumb > * + *::before {
  content: '›'; margin-right: 0.5rem; color: var(--ink-400);
}
.crumb a:hover { color: var(--brand); }
.crumb [aria-current] { color: var(--ink-700); font-weight: 600; }

/* ---------- 본문 ---------- */
.prose__block + .prose__block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.prose__h2 {
  font-size: var(--fs-h2);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--blue-100);
}
.prose p + p { margin-top: 1.125rem; }
.prose p { color: var(--ink-700); }

/* 소제목 바로 다음에 오는 결론 문장.
   답변 엔진은 문단 하나를 떼어 가므로 뗄 자리를 눈에도 보이게 만들어 둡니다.
   ⚠️ `.prose p` 가 색을 정하고 있어 특정도를 맞추지 않으면 색만 안 먹습니다. */
.prose p.prose__answer {
  font-size: var(--fs-lead); font-weight: 600; line-height: 1.65;
  color: var(--ink-900); letter-spacing: -0.02em;
}

.check-list { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.check-list li {
  position: relative;
  padding: 1rem 1.25rem 1rem 3rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  color: var(--ink-700);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}
.check-list li::before {
  content: ''; position: absolute;
  left: 1.25rem; top: 1.35em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.steps {
  counter-reset: step;
  display: grid; gap: 1px;
  margin-top: 1.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps__item {
  counter-increment: step;
  padding: 1.5rem 1.5rem 1.625rem;
  background: var(--white);
}
.steps__item::before {
  content: 'STEP ' counter(step);
  display: block; margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em;
}
.steps__title { font-size: 1.0625rem; letter-spacing: -0.035em; }
.steps__desc {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}

/* 수정일 — GEO 에서 최신성 신호로 작용하므로 화면에도 노출합니다 */
.page-updated {
  padding: 1.5rem var(--gutter) 2.5rem;
  text-align: center;
  color: var(--ink-400);
  font-size: var(--fs-xs);
}

/* 푸터 링크 터치 타깃 확보 — 18px 높이는 모바일에서 누르기 어렵습니다 */
.footer__links a,
.footer__addr a {
  display: inline-block;
  padding-block: 0.4375rem;
}
.footer__links li + li { margin-top: 0; }
.header__logo { padding-block: 0.375rem; }

/* 표 안의 전화번호 링크도 탭 영역 확보 */
.hours-table a {
  display: inline-block;
  padding-block: 0.4375rem;
  color: var(--brand);
  font-weight: 600;
}

/* ---------- 공지 목록 · 글 ---------- */
.post-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.post-item { background: var(--white); }
.post-item > a { display: block; padding: 1.5rem 0.25rem; transition: background-color 0.16s ease; }
.post-item > a:hover { background: var(--blue-50); }
.post-item--empty { padding: 3rem 0.25rem; color: var(--ink-500); text-align: center; }
.post-item__date { display: block; color: var(--ink-500); font-size: var(--fs-xs); font-weight: 600; }
.post-item__title { margin-top: 0.5rem; font-size: var(--fs-h3); letter-spacing: -0.035em; }
.post-item__sum { margin-top: 0.5rem; color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }

.post__date { margin-top: 1.25rem; color: var(--ink-500); font-size: var(--fs-sm); }
.prose--post h2 { font-size: var(--fs-h2); margin: 2.5rem 0 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--blue-100); }
.prose--post h3 { font-size: var(--fs-h3); margin: 2rem 0 0.75rem; }
.prose--post h4 { font-size: 1.0625rem; margin: 1.5rem 0 0.5rem; }
.prose--post p { margin-bottom: 1.125rem; color: var(--ink-700); }
.prose--post ul, .prose--post ol { margin: 1rem 0 1.5rem; padding-left: 1.25rem; }
.prose--post ul { list-style: disc; }
.prose--post ol { list-style: decimal; }
.prose--post li { margin-bottom: 0.5rem; color: var(--ink-700); }
.prose--post img { margin: 1.5rem 0; border-radius: var(--radius); }
.prose--post a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose--post code { padding: 0.125rem 0.375rem; background: var(--ink-100); border-radius: 4px; font-size: 0.9em; }

/* 시안 띠가 모바일 고정 바를 가리지 않도록 */
body { padding-bottom: 56px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---------- 대표원장 카드 (히어로) ---------- */
.director-card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.director-card__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.625rem; }
.director-card__role {
  padding: 0.25rem 0.75rem; border-radius: 999px;
  background: var(--brand); color: var(--white);
  font-size: var(--fs-xs); font-weight: 700;
}
.director-card__spec { color: var(--ink-600); font-size: var(--fs-sm); font-weight: 600; }
.director-card__name {
  margin-top: 0.875rem;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  font-weight: 700; letter-spacing: -0.045em;
}
.director-card__career { margin-top: 1.25rem; display: grid; gap: 0.625rem; }
.director-card__career li {
  position: relative; padding-left: 0.9375rem;
  color: var(--ink-600); font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.director-card__career li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-300);
}
.director-card__career strong { color: var(--brand-deep); font-weight: 700; }
.director-card__more {
  display: inline-block; margin-top: 1.25rem; padding-block: 0.375rem;
  color: var(--brand); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- 의료진 카드 (메인) ---------- */
.doctors { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .doctors { grid-template-columns: 1fr 1fr; } }
.doctor {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.doctor__role { color: var(--brand); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; }
.doctor__name { margin-top: 0.5rem; font-size: var(--fs-h2); letter-spacing: -0.04em; }
.doctor__spec { margin-top: 0.375rem; color: var(--ink-600); font-size: var(--fs-sm); font-weight: 600; }
.doctor__career { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); display: grid; gap: 0.5rem; }
.doctor__career li { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.doctor__more {
  display: inline-block; margin-top: 1rem; padding-block: 0.375rem;
  color: var(--brand); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- 의료진 페이지 ---------- */
.doctor-full + .doctor-full { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.doctor-full__head { padding-bottom: 1.5rem; border-bottom: 2px solid var(--blue-100); }
.doctor-full__role { color: var(--brand); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; }
.doctor-full__name { margin-top: 0.5rem; font-size: var(--fs-h1); letter-spacing: -0.045em; }
.doctor-full__spec { margin-top: 0.5rem; color: var(--ink-600); font-size: var(--fs-lead); font-weight: 600; }
.doctor-full__cols { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 768px) { .doctor-full__cols { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; } }
.doctor-full__sub { font-size: var(--fs-h3); letter-spacing: -0.03em; margin-bottom: 1rem; }
.doctor-full__list { display: grid; gap: 0.625rem; }
.doctor-full__list li {
  position: relative; padding-left: 1rem;
  color: var(--ink-700); font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.doctor-full__list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.doctor-full__list--muted li { color: var(--text-muted); }
.doctor-full__list--muted li::before { background: var(--ink-400); }

/* ---------- 인사말 ---------- */
.greeting {
  margin: 0; padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0;
}
.greeting p { color: var(--ink-700); font-size: var(--fs-sm); line-height: var(--lh-body); }
.greeting p + p { margin-top: 1.125rem; }
.greeting__lead {
  font-size: var(--fs-lead) !important; font-weight: 600;
  color: var(--ink-900) !important; line-height: var(--lh-snug) !important;
}
.greeting__sign { margin-top: 1.75rem; color: var(--ink-500); font-size: var(--fs-xs); font-weight: 600; }

/* ---------- 질환 페이지 ---------- */
.page-hero__aka {
  display: block; margin-top: 0.5rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-500);
  letter-spacing: -0.02em;
}
.callout {
  margin-top: 1.5rem; padding: 1.125rem 1.375rem;
  background: var(--blue-50); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--brand-deep) !important; font-size: var(--fs-sm); font-weight: 500;
  line-height: var(--lh-snug);
}
.clinics--inline { margin-top: 1.5rem; }
@media (min-width: 640px) { .clinics--inline { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); } }

.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.sibling__title { font-size: var(--fs-h3); margin-bottom: 1rem; letter-spacing: -0.03em; }
.sibling { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sibling a {
  padding: 0.5rem 0.9375rem;
  background: var(--ink-100); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-700);
  transition: background-color 0.16s ease, color 0.16s ease;
}
.sibling a:hover { background: var(--blue-100); color: var(--brand-deep); }

/* ---------- 사진 ---------- */
.photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; background: var(--ink-100); }
.photo--hero { box-shadow: var(--shadow-lg); }
.photo-figure { margin: 0; }
.photo-figure figcaption {
  margin-top: 0.75rem; color: var(--ink-500);
  font-size: var(--fs-xs); line-height: var(--lh-snug);
}
.hero__media { position: relative; }
.hero__media .director-card {
  position: relative; margin-top: -3.5rem; margin-inline: 1rem; z-index: 2;
}
@media (min-width: 900px) {
  .hero__media .director-card { margin-top: -4rem; margin-inline: 1.5rem; }
}

/* ---------- 약도 ---------- */
/* 지도 API 대신 SVG. 글자가 <text> 라 검색·AI 가 읽고 확대해도 안 깨집니다. */
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.map {
  display: block; width: 100%; height: auto;
  /* 🔴 이 아래로 줄이면 <text> 가 읽을 수 없게 작아집니다.
     통째로 축소하는 대신 가로 스크롤로 둡니다. */
  min-width: 34rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.map-hint {
  margin-top: 0.625rem; font-size: var(--fs-xs); color: var(--ink-500);
}
@media (min-width: 600px) { .map-hint { display: none; } }
.map-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- 비급여 표 ---------- */
.fee-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 46rem; }
.fee-table th, .fee-table td { padding: 0.75rem 0.875rem; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink-900); white-space: nowrap; }
.fee-table tbody th { font-weight: 600; color: var(--ink-900); }
.fee-table td { color: var(--text-muted); }
/* 숫자가 세로로 줄 맞게 */
.fee-table__num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-900) !important; font-weight: 600; }
.fee-table__code { font-family: ui-monospace, Consolas, monospace; font-size: var(--fs-xs); color: var(--ink-400) !important; white-space: nowrap; }
.fee__range { white-space: nowrap; }
.fee-table tbody tr:hover { background: var(--blue-50); }

/* ---------- 병원 둘러보기 ---------- */
.rooms { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room {
  margin: 0; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.room:hover { border-color: var(--blue-300); box-shadow: var(--shadow); }
.room__photo { width: 100%; aspect-ratio: 3 / 2 !important; object-fit: cover; background: var(--ink-100); }
.room__body { padding: 1.25rem 1.375rem 1.5rem; }
.room__name { font-size: var(--fs-h3); letter-spacing: -0.035em; }
.room__desc { margin-top: 0.625rem; color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-body); }
.room__link {
  display: inline-block; margin-top: 0.875rem; padding-block: 0.375rem;
  color: var(--brand); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- 어두운 섹션 — 화면에 대비를 만듭니다 ---------- */
.section--dark {
  background: linear-gradient(140deg, var(--blue-800) 0%, var(--ink-900) 100%);
  color: var(--white);
}
.section__eyebrow--on-dark { color: var(--blue-300); }
.section__title--on-dark { color: var(--white); }
.dark-lead {
  max-width: 44rem; margin-top: 1.25rem;
  color: var(--blue-100); font-size: var(--fs-lead); line-height: var(--lh-snug);
}
.clinics--on-dark { margin-top: clamp(2rem, 4vw, 3rem); }
.clinics--on-dark .clinic-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.clinics--on-dark .clinic-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.4);
}
.clinics--on-dark .clinic-card__title { color: var(--white); }
.clinics--on-dark .clinic-card__title::before { background: var(--blue-300); }
.clinics--on-dark .clinic-card__desc { color: var(--blue-100); }

/* ---------- 위험군 태그 ---------- */
.tag-list { display: grid; gap: 0.625rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .tag-list { grid-template-columns: 1fr 1fr; } }
.tag-list li {
  position: relative; padding: 0.875rem 1.125rem 0.875rem 2.75rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink-700); font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.tag-list li::before {
  content: ''; position: absolute; left: 1.125rem; top: 1.15em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

/* 번호만 있고 STEP 라벨은 없는 목록 */
.steps--plain { grid-template-columns: 1fr !important; }
.steps--plain .steps__item { display: grid; grid-template-columns: auto 1fr; gap: 0.875rem; align-items: start; }
.steps--plain .steps__item::before {
  content: counter(step); display: grid; place-items: center;
  width: 1.625rem; height: 1.625rem; margin: 0;
  background: var(--blue-50); color: var(--brand);
  border-radius: 50%; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0;
}
.steps--plain .steps__desc { margin: 0; padding-top: 0.15rem; color: var(--ink-700); }

/* ---------- 가운데 정렬 섹션 헤드 ---------- */
.section__head--center { max-width: 46rem; margin-inline: auto; text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- 신뢰 스트립 ---------- */
.trust { background: var(--brand-deep); color: var(--white); }
.trust__grid {
  display: grid; gap: 1px; margin: 0;
  background: rgba(255, 255, 255, 0.16);
}
@media (min-width: 640px) { .trust__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item { padding: clamp(1.5rem, 3vw, 2rem) 0.25rem; background: var(--brand-deep); }
@media (min-width: 640px) { .trust__item { padding-inline: clamp(1rem, 2vw, 1.75rem); } }
.trust__item dt {
  color: var(--blue-300); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em;
}
.trust__item dd { margin: 0.625rem 0 0; }
.trust__item strong {
  display: block; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.35;
}
.trust__item span {
  display: block; margin-top: 0.375rem;
  color: var(--blue-200); font-size: var(--fs-xs); line-height: var(--lh-snug);
}

/* ---------- 풀블리드 특징 섹션 ---------- */
.feature { display: grid; align-items: stretch; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature__media { position: relative; min-height: 18rem; overflow: hidden; }
.feature__photo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.feature__body {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  background: var(--bg-soft);
}
@media (min-width: 900px) {
  .feature__body { padding-inline: clamp(2.5rem, 5vw, 4.5rem); }
}
.feature__lead {
  margin-top: 1.25rem; max-width: 34rem;
  color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-body);
}
.feature__list { margin: 1.5rem 0 2rem; display: grid; gap: 0.625rem; }
.feature__list li {
  position: relative; padding-left: 1.375rem;
  color: var(--ink-700); font-size: var(--fs-sm); font-weight: 500;
}
.feature__list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- 비수술 치료 그리드 ---------- */
.proc-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .proc-grid { grid-template-columns: repeat(4, 1fr); } }
.proc {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.125rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.proc:hover { border-color: var(--blue-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.proc__no {
  font-family: ui-monospace, Consolas, monospace;
  font-size: var(--fs-xs); font-weight: 700; color: var(--blue-300); letter-spacing: 0.1em;
}
.proc__name { margin-top: 0.875rem; font-size: var(--fs-h3); letter-spacing: -0.035em; }
.proc__desc {
  margin-top: 0.75rem; flex: 1;
  color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-body);
}
.proc__more {
  margin-top: 1.25rem; color: var(--brand);
  font-size: var(--fs-sm); font-weight: 600;
}
.proc__more::after { content: ' →'; }

/* ---------- 자주 찾는 질환 ---------- */
.popular {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.popular__title { font-size: var(--fs-h3); letter-spacing: -0.03em; margin-bottom: 1rem; }

/* ---------- 어두운 섹션의 의료진 카드 ---------- */
.doctor--on-dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.doctor--on-dark .doctor__role { color: var(--blue-300); }
.doctor--on-dark .doctor__name { color: var(--white); }
.doctor--on-dark .doctor__spec { color: var(--blue-100); }
.doctor--on-dark .doctor__career { border-top-color: rgba(255, 255, 255, 0.2); }
.doctor--on-dark .doctor__career li { color: var(--blue-100); }
.doctor--on-dark .doctor__more { color: var(--blue-300); }

/* ---------- 오시는 길 블록 ---------- */
.visit { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.visit__media .photo { border-radius: var(--radius-lg); }

/* ==========================================================
   기존 사이트 UI 패턴 — 파란 짧은 선 + 영문 소제목 + 국문 제목
   dgthebarun.com 의 섹션 머리 구성을 그대로 가져왔습니다.
   ========================================================== */
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__lead { margin-inline: auto; }
.sec-head__rule {
  display: block; width: 34px; height: 4px;
  background: var(--brand); border-radius: 2px;
  margin-bottom: 1.125rem;
}
.sec-head--center .sec-head__rule { margin-inline: auto; }
.sec-head__eng {
  display: block; margin-bottom: 0.625rem;
  color: var(--ink-400); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.sec-head__title {
  font-size: var(--fs-h2); letter-spacing: -0.035em; line-height: 1.35;
}
.sec-head__title em { font-style: normal; color: var(--brand); }
.sec-head__lead {
  max-width: 46rem; margin-top: 1.125rem;
  color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-snug);
}
.sec-head--on-dark .sec-head__rule { background: var(--blue-300); }
.sec-head--on-dark .sec-head__eng { color: rgba(255,255,255,.55); }
.sec-head--on-dark .sec-head__title { color: var(--white); }
.sec-head--on-dark .sec-head__title em { color: var(--blue-300); }
.sec-head--on-dark .sec-head__lead { color: var(--blue-100); }

/* ---------- 원형 클리닉 카드 (기존 사이트 방식) ---------- */
.round-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 480px) { .round-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .round-grid { grid-template-columns: repeat(5, 1fr); } }
.round { display: block; text-align: center; }
.round__media {
  /* 🔴 <span> 이라 display 를 주지 않으면 인라인으로 남습니다.
     인라인 요소는 width·max-width·aspect-ratio 를 무시해서 원이 찌그러지고,
     카드가 자식 높이를 품지 못해 아래 「자주 찾는 질환」과 겹칩니다. */
  display: block;
  position: relative; width: 100%; max-width: 11.5rem; margin: 0 auto;
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--blue-50);
  border: 1px solid var(--line);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.round__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 !important; }
.round:hover .round__media {
  border-color: var(--blue-300); transform: translateY(-4px); box-shadow: var(--shadow);
}
.round__name {
  margin-top: 1.125rem; font-size: var(--fs-h3);
  letter-spacing: -0.035em; color: var(--ink-900);
}
.round__desc {
  margin-top: 0.5rem; color: var(--text-muted);
  font-size: var(--fs-xs); line-height: var(--lh-snug);
}

/* ---------- 원인 카드 (기존 사이트 방식: 하늘색 테두리 + 체크) ---------- */
.cause-grid { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .cause-grid { grid-template-columns: repeat(3, 1fr); } }
.cause {
  position: relative;
  padding: 2.5rem 1.25rem 1.75rem;
  background: var(--white);
  border: 2px solid var(--blue-300);
  border-radius: 18px;
  text-align: center;
}
/* 왼쪽 위 체크 표시 — 기존 사이트의 주황 체크를 옮겼습니다 */
.cause::before {
  content: ''; position: absolute; left: 1.125rem; top: 1rem;
  width: 15px; height: 9px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.cause__no {
  display: block; margin-bottom: 0.75rem;
  color: var(--blue-300); font-family: ui-monospace, Consolas, monospace;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em;
}
.cause__text {
  color: var(--ink-900); font-size: var(--fs-lead);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.5;
}

/* ---------- 번호 증상 카드 (01~04) ---------- */
.symptom-grid { display: grid; gap: 1px; margin-top: 1.75rem; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .symptom-grid { grid-template-columns: 1fr 1fr; } }
.symptom {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  align-items: start; padding: 1.375rem 1.5rem; background: var(--white);
}
.symptom__no {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.375rem; font-weight: 700; color: var(--blue-300);
  line-height: 1.1; letter-spacing: -0.02em;
}
.symptom__text {
  color: var(--ink-700); font-size: var(--fs-sm); line-height: var(--lh-snug);
  padding-top: 0.15rem;
}

/* ==========================================================
   영상 히어로
   ========================================================== */
.hero--video {
  position: relative;
  min-height: min(82svh, 700px);
  background: var(--ink-900);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__video { position: absolute; inset: 0; z-index: -2; }
.hero__poster,
.hero__vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__vid { opacity: 0; transition: opacity 0.6s ease; }
.hero__vid[data-playing='true'] { opacity: 1; }

/* 글자가 읽히도록 어둡게 덮습니다 — 영상 위 흰 글씨는 이게 없으면 안 읽힙니다 */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(3, 58, 96, 0.92) 0%, rgba(3, 58, 96, 0.72) 42%, rgba(3, 58, 96, 0.30) 100%),
    linear-gradient(0deg, rgba(3, 58, 96, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
}
@media (max-width: 899px) {
  .hero__scrim { background: linear-gradient(0deg, rgba(3,58,96,.95) 12%, rgba(3,58,96,.72) 60%, rgba(3,58,96,.55) 100%); }
}

.hero--video .hero__inner { display: block; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero--video .hero__copy { max-width: 40rem; }

.hero--video .hero__badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.hero--video .hero__badge::before { background: var(--accent); }

.hero__eng {
  margin-bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.22em;
}
.hero--video .hero__title { color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero--video .hero__title em { color: var(--blue-300); }
.hero--video .hero__lead { color: rgba(255, 255, 255, 0.88); }

/* 히어로 안 진료시간 요약 */
.hero__hours {
  display: flex; flex-wrap: wrap; gap: 1px;
  margin: 2.25rem 0 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__hours > div {
  flex: 1 1 8rem; padding: 0.875rem 1.125rem;
  background: rgba(3, 58, 96, 0.55);
  backdrop-filter: blur(4px);
}
.hero__hours dt {
  color: var(--blue-300); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em;
}
.hero__hours dd {
  margin: 0.3125rem 0 0;
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 로고 ---------- */
.header__logo { display: block; padding-block: 0.375rem; }
.header__logo img { height: 34px; width: auto; }
@media (min-width: 1024px) { .header__logo img { height: 38px; } }
.footer__logo-img { height: 34px; width: auto; }

/* ==========================================================
   의료진 소개 — 프로필 사진 중심
   ========================================================== */
.dr { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) {
  .dr { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); }
  /* 뒤집을 때 열 너비도 함께 바꿉니다.
     order 만 바꾸면 사진이 넓은 쪽 칸에 들어가 첫 번째 원장님보다 커집니다. */
  .dr--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); }
  .dr--flip .dr__media { grid-column: 2; grid-row: 1; }
  .dr--flip .dr__body { grid-column: 1; grid-row: 1; }
}
.dr + .dr {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.dr__media { position: relative; }
.dr__photo {
  width: 100%;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover; object-position: center 18%;
  border-radius: var(--radius-lg);
  background: var(--blue-50);
}
/* 사진이 없는 원장님 — 남의 사진을 쓰지 않고 머리글자로 자리를 지킵니다 */
.dr__placeholder {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--blue-50) 0%, var(--blue-100) 100%);
  border: 1px dashed var(--blue-200);
  border-radius: var(--radius-lg);
}
.dr__placeholder span {
  font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 800;
  color: var(--blue-200); letter-spacing: -0.05em;
}
.dr__note {
  margin-top: 0.75rem; text-align: center;
  color: var(--ink-400); font-size: var(--fs-xs);
}

.dr__role {
  display: inline-block; padding: 0.3125rem 0.875rem;
  background: var(--brand); color: var(--white);
  border-radius: 999px; font-size: var(--fs-xs); font-weight: 700;
}
.dr__name {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  letter-spacing: -0.045em; line-height: 1.2;
}
.dr__spec {
  display: block; margin-top: 0.625rem;
  font-size: var(--fs-lead); font-weight: 600; color: var(--ink-600);
  letter-spacing: -0.025em;
}
/* 이름 아래 강조 조각 3개.
   띠 하나로는 눈에 안 들어와 조각으로 나눴습니다. 숫자를 크게 둡니다.
   홈 상단의 신뢰 배너와 같은 결이라 사이트가 하나로 읽힙니다. */
.dr__facts {
  display: grid; gap: 0.625rem; margin-top: 1.25rem; padding: 0; list-style: none;
  /* auto-fit 은 항목이 3개여도 공간이 남으면 빈 칸을 만듭니다. 열 수를 고정합니다. */
  grid-template-columns: 1fr;
}
.fact {
  display: flex; flex-direction: column; gap: 0.1875rem;
  padding: 0.875rem 1rem;
  background: var(--blue-50); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.fact__big {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  color: var(--brand-deep); font-variant-numeric: tabular-nums;
}
.fact__small { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-600); line-height: 1.45; }
.dr__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dr__cols { display: grid; gap: 1.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .dr__cols { grid-template-columns: 1.1fr 0.9fr; gap: 2rem; } }
.dr__sub--gap { margin-top: 1.75rem; }
.dr__sub {
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink-900);
  letter-spacing: -0.02em; padding-bottom: 0.625rem; margin-bottom: 0.875rem;
  border-bottom: 2px solid var(--blue-100);
}
.dr__list { display: grid; gap: 0.5rem; }
.dr__list li {
  position: relative; padding-left: 0.9375rem;
  color: var(--ink-700); font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.dr__list li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.dr__list--muted li { color: var(--text-muted); }
.dr__list--muted li::before { background: var(--ink-400); }

/* ---------- 글자 로고 ---------- */
/* 🔴 기존 사이트의 로고 이미지 파일은 제작사 저작물이라 쓰지 않습니다.
      병원이 보유한 원본(AI·SVG)을 받으면 교체합니다. */
.header__logo { display: block; padding-block: 0.3125rem; line-height: 1.1; }
.header__logo-ko {
  display: block; font-size: 1.1875rem; font-weight: 800;
  letter-spacing: -0.045em; color: var(--brand-deep);
}
.header__logo-ko span { color: var(--brand); }
.header__logo-en {
  display: block; margin-top: 0.1875rem;
  font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--ink-400);
}
@media (min-width: 1024px) {
  .header__logo-ko { font-size: 1.3125rem; }
  .header__logo-en { font-size: 0.625rem; }
}
.footer__logo span {
  display: block; margin-top: 0.3125rem;
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--ink-500);
}

/* 광고주 확인 전 초안 표시 */
.draft-flag {
  display: inline-flex; align-items: center; gap: 0.4375rem;
  margin-bottom: 1rem; padding: 0.375rem 0.75rem;
  background: #fef3c7; color: #92400e;
  border-radius: 999px; font-size: var(--fs-xs); font-weight: 600;
}

/* ==========================================================
   로고 — 병원 로고 원본(간판·포스터와 같은 로고)을 씁니다.
   2026-08-27 원장님 확인 — 기존 홈페이지 재사용 금지 규칙의 예외입니다.
   ========================================================== */
.logo { display: inline-flex; align-items: center; }
.logo picture { display: block; }
.logo__img {
  display: block; width: auto; height: auto;
  /* 350x74 원본이라 고정 높이를 주고 폭은 비율로 따라가게 둡니다 */
  max-width: 100%;
}

/* 헤더 */
.logo--header .logo__img { height: 30px; }
@media (min-width: 1024px) {
  .logo--header .logo__img { height: 34px; }
}
.header__logo { display: block; padding-block: 0.3125rem; }

/* 푸터 */
.logo--footer .logo__img { height: 36px; }

/* ==========================================================
   푸터 — 기존 사이트 배치
   상단 파란 선 → 가운데 로고 → 「|」 한 줄 정보 → 저작권
   ========================================================== */
.footer {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 5vw, 4rem);
  background: var(--white);
  border-top: 2px solid var(--blue-300);
  text-align: center;
}

/* 아래 메뉴 — 내부 링크는 검색에도 도움이 되어 한 줄로 남겼습니다 */
.footer__nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.25rem 0;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.footer__nav a {
  position: relative; padding: 0.4375rem 0.875rem;
  color: var(--ink-600); font-size: var(--fs-sm); font-weight: 500;
  transition: color 0.16s ease;
}
.footer__nav a:hover { color: var(--brand); }
/* 항목 사이 얇은 구분선 */
.footer__nav a + a::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1px; height: 11px; margin-top: -5.5px;
  background: var(--line);
}

.footer__logo { display: flex; justify-content: center; }
.footer__logo .logo { gap: 0.625rem; }

.footer__info {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.375rem 0;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  font-style: normal;
}
.footer__info span {
  position: relative; padding: 0 0.75rem;
  color: var(--ink-500); font-size: var(--fs-sm); line-height: 1.7;
}
/* 「|」 구분 — 줄이 바뀌는 지점에서는 자연스럽게 사라지지 않으므로
   구분선을 왼쪽에 두고 첫 항목만 뺍니다 */
.footer__info span + span::before {
  content: '|'; position: absolute; left: -0.15em; top: 0;
  color: var(--ink-200); font-weight: 300;
}
.footer__copy {
  margin-top: 0.625rem;
  color: var(--ink-400); font-size: var(--fs-sm); line-height: 1.7;
}

/* 푸터는 밝은 배경이라 로고를 조금 크게 씁니다 */
.logo--footer .logo__img { height: clamp(38px, 3.2vw, 48px); }

/* ==========================================================
   적용 부위 카드 (페인케어 등)
   🔴 아이콘은 직접 그린 SVG 입니다. 부위 이름·설명은 글자로 두어
      검색엔진과 AI 가 읽을 수 있게 했습니다.
   ========================================================== */
.area-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 1.5rem; padding: 0; list-style: none;
}
.area {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.375rem 1rem 1.25rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.area__icon { width: auto; height: 74px; color: var(--brand); }
.area__spot { opacity: 0.95; }
.area__name {
  margin-top: 0.875rem;
  font-size: var(--fs-body); font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink-900);
}
.area__desc {
  margin-top: 0.375rem;
  font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-600);
}

/* ── 팝업 ─────────────────────────────────────────────────────────
   🔴 **동경하이치과 `app/popup-slider.tsx` · `app/globals.css` 를 그대로 옮긴 것입니다.**
      클래스 이름도 원본 그대로 둡니다 — 두 프로젝트를 대조하기 쉽게.
      고칠 일이 있으면 **원본을 먼저 보고** 거기 맞춰 고치세요. 새로 설계하지 않습니다.
   🔴 팝업은 검색에 잡히지 않습니다 — 중요한 공지는 본문에도 있어야 합니다. */
.popup-back {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(3, 58, 96, 0.55);
}
.popup {
  display: flex; flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(3, 58, 96, 0.28);
  overflow: hidden;
}

/* 손가락 스와이프는 CSS 가 합니다 — overflow-x:auto + scroll-snap 이면 브라우저 기본 동작이
   그대로 먹습니다. JS 로 흉내 내면 관성·경계를 다시 만들어야 하고 대개 더 뻑뻑해집니다. */
.popup-slider { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; }
.popup-track {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.popup-track::-webkit-scrollbar { display: none; }
.popup-slide-link {
  flex: 0 0 100%; scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
  min-width: 0; position: relative; overflow: hidden;
}
/* 그림보다 칸이 높을 때 남는 위아래를, 그 그림의 **맨 윗줄·맨 아랫줄 색을 늘려** 메웁니다
   (색은 site.js 가 캔버스로 읽어 style 로 넣습니다). 가장자리를 그대로 이으니 경계가 안 보입니다.
   ⚠️ 흐린 사본을 깔면 가운데 내용이 비쳐 유령처럼 보입니다. 되돌리지 말 것. */
.popup-slide-band { position: absolute; left: 0; right: 0; z-index: 0; height: 50%; }
.popup-slide-band.top { top: 0; }
.popup-slide-band.bottom { bottom: 0; }
/* 마우스로 끌 때 글자·그림이 선택되거나 끌려 나가지 않게 합니다 */
.popup-slider.many .popup-track { cursor: grab; user-select: none; -webkit-user-drag: none; }
.popup-slider.many .popup-track:active { cursor: grabbing; }
.popup-track img { -webkit-user-drag: none; user-select: none; }
/* 그림 한 장이 화면 안에 통째로 들어가게 합니다.
   ⚠️ 높이를 flex 로 나눠 주면 그림 높이와 칸 높이가 서로를 물어 필요 이상으로 작아집니다.
      화면 높이에서 직접 뺍니다.
   190px = 창 여백 32 + 안내 줄 52 + 발 68 에 여유를 더한 값. */
.popup-track img {
  display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto;
  max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px);
}
/* 그림마다 비율이 달라도 팝업 크기는 **첫 장의 비율로 고정**합니다.
   뒤 그림은 이 칸 안에서 contain 으로 축소되므로 넘겨도 팝업 크기가 변하지 않습니다.
   ⚠️ 비율에 transition 을 걸지 말 것. 크롬이 값을 중간에 물고 있어 칸 높이가 첫 장 값에서 안 움직입니다. */
.popup-slider.fit .popup-track { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); }
.popup-slider.fit .popup-track img {
  position: relative; z-index: 1; width: 100%; height: 100%; max-height: none; object-fit: contain;
}
/* 화살표는 그림 위에 얹습니다. 한 장일 때는 아예 그리지 않습니다 */
.popup-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .42); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .15s, opacity .15s;
}
.popup-arrow:hover { background: rgba(0, 0, 0, .62); }
.popup-arrow:disabled { opacity: .25; cursor: default; }
.popup-arrow.prev { left: 8px; }
.popup-arrow.next { right: 8px; }
.popup-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
  display: flex; justify-content: center; gap: 7px;
}
.popup-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
  cursor: pointer; transition: background .15s, width .15s;
}
.popup-dots button.on { width: 18px; border-radius: 5px; background: #fff; }

/* 그림 아래 안내 글 (그림 안의 글자는 검색·AI가 못 읽습니다) */
.popup__note {
  padding: 0.875rem 1.25rem;
  font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-700);
  overflow-y: auto;
}
.popup__note p { margin: 0; }
.popup__note a { color: var(--blue-700); text-decoration: underline; }

/* 그림 없이 글만 있는 팝업 */
.popup__text { padding: 1.25rem; }
.popup__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem; font-weight: 700; line-height: 1.4;
  color: var(--ink-900); letter-spacing: -0.02em;
}
.popup__body { font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-700); }
.popup__body > :first-child { margin-top: 0; }
.popup__body > :last-child { margin-bottom: 0; }
.popup__body p { margin: 0 0 0.75rem; }
.popup__body h2, .popup__body h3, .popup__body h4 {
  margin: 1.125rem 0 0.5rem;
  font-size: 1.0625rem; font-weight: 700; line-height: 1.45;
  color: var(--ink-900); letter-spacing: -0.01em;
}
/* 🔴 전역에서 ul·ol 의 불릿을 지워 두었으므로 여기서 되살립니다. */
.popup__body ul, .popup__body ol { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.popup__body ul { list-style: disc; }
.popup__body ol { list-style: decimal; }
.popup__body li { margin-bottom: 0.25rem; }
.popup__body blockquote {
  margin: 1rem 0 0; padding: 0.75rem 1rem;
  border-left: 3px solid var(--blue-400);
  background: var(--blue-50); border-radius: 0 8px 8px 0;
  font-size: var(--fs-xs); color: var(--ink-700);
}
.popup__body a { color: var(--blue-700); text-decoration: underline; }

/* 발 — 스크롤해도 늘 보이게 아래에 고정 */
.popup__foot {
  display: flex; align-items: center; gap: 0.75rem;
  flex: none;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--blue-100);
  background: var(--blue-50);
}
.popup__today {
  display: flex; align-items: center; gap: 0.5rem;
  min-height: 44px; margin-right: auto;
  font-size: var(--fs-xs); color: var(--ink-600); cursor: pointer;
}
.popup__today input { width: 18px; height: 18px; }
.popup__close {
  min-height: 44px; min-width: 88px;
  padding: 0 1.25rem;
  border: 0; border-radius: 8px;
  background: var(--blue-600); color: #fff;
  font-size: var(--fs-sm); font-weight: 700; cursor: pointer;
}
.popup__close:hover { background: var(--blue-700); }
.popup__close:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }

@media (max-width: 760px) {
  /* 손가락으로 넘기면 되므로 화살표는 자리만 차지합니다 */
  .popup-arrow { display: none; }
  .popup-dots { bottom: 8px; }
}
@media (max-width: 480px) {
  .popup__title { font-size: 1.125rem; }
  .popup__foot { flex-wrap: wrap; }
  .popup__close { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .popup-track { scroll-behavior: auto; }
  .popup-dots button { transition: none; }
}

/* ── 개인정보처리방침 (/privacy) ── */
.footer__nav-privacy { font-weight: 700; }
.legal-intro { color: var(--ink-700); margin-bottom: clamp(2rem, 4vw, 3rem); }
.prose--legal .prose__block + .prose__block { margin-top: clamp(2rem, 4vw, 3rem); }
.prose--legal .prose__h2 + p, .prose--legal .prose__h2 + ul, .prose--legal .prose__h2 + .table-scroll { margin-top: 0.75rem; }
.legal-list { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0 0; color: var(--ink-700); }
.legal-list li + li { margin-top: 0.5rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-top: 1rem; }
.legal-table + p { margin-top: 1rem; }
.legal-table th, .legal-table td { padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table thead th { background: var(--blue-50); color: var(--ink-900); font-weight: 700; }
.legal-table tbody th { width: 30%; font-weight: 600; color: var(--ink-700); }
.legal-table td { color: var(--text-muted); }
.legal-table a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* 푸터 공식 채널 — clinic.sameAs 와 같은 목록. 크롤러가 따라갈 수 있는 실제 링크 */
.footer__channels { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1rem 0 1.25rem; font-size: var(--fs-sm); }
.footer__channels a { display: inline-block; padding: 0.5rem 0; color: var(--ink-700); text-decoration: underline; text-underline-offset: 3px; }
.footer__channels a:hover { color: var(--brand); }
