:root {
  --ink: #1f2d2b;
  --muted: #586a68;
  --line: #d6e4e2;
  --brand: #14857c;
  --brand-dark: #0d6159;
  --mint: #e6f6f4;
  --sun: #f2b544;
  --bg: #ffffff;
  --soft: #f6faf9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
}
a { color: var(--brand-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand strong { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: 0.8rem; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.header-call { font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 4px; padding-bottom: 12px; margin: 0 auto; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 6px; }
main { padding-top: 28px; padding-bottom: 56px; }
h1 { font-size: 2rem; letter-spacing: -0.03em; line-height: 1.3; margin: 0 0 12px; }
h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 32px 0 10px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; }
.eyebrow { color: var(--brand); font-weight: 700; margin: 0 0 6px; }
.small { font-size: 0.9rem; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 12px 0 8px; }
.hero-art { width: 100%; height: auto; }
.book-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.btn-primary { background: #03a94d; color: #fff; }
.btn-kakao { background: #fee500; color: #191600; }
.btn-line { border: 1px solid var(--brand); color: var(--brand-dark); }
.card-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.card-list a { display: block; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--soft); }
.card-list strong { display: block; color: var(--brand-dark); font-size: 1.05rem; }
.card-list span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
table { border-collapse: collapse; width: 100%; margin: 8px 0; background: #fff; }
caption { text-align: left; font-weight: 700; padding-bottom: 6px; color: var(--muted); }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--mint); }
tr.closed td, tr.closed th { color: #b4332b; }
.facts li, .plain li { margin: 4px 0; }
.plain { padding-left: 18px; }
.doctor-list { display: grid; gap: 20px; margin-top: 20px; }
.doctor { display: flex; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.doctor h2 { margin-top: 0; }
.avatar { width: 80px; height: 80px; flex: none; }
.role { color: var(--brand-dark); font-weight: 600; }
.treatment { border-top: 1px solid var(--line); padding-top: 6px; }
.promise { display: inline-block; background: #fff4d6; border: 1px solid #f2d27c; border-radius: 10px; padding: 8px 14px; font-weight: 700; }
.map { width: 100%; height: auto; margin: 8px 0 16px; }
.info { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; }
.info dt { font-weight: 700; }
.info dd { margin: 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.post { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.post .date { color: var(--muted); font-size: 0.9rem; margin-top: -6px; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 28px 0 20px; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.notice-line { margin-top: 18px; font-weight: 600; color: #8a5a00; }
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .card-list { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .card-list { grid-template-columns: 1fr; }
  .header-call { display: none; }
  .info { grid-template-columns: 1fr; }
  .doctor { flex-direction: column; }
  th, td { padding: 8px; }
}
