/* 예스서울치과 공통 스타일 v2
   읽기 쉬운 글꼴·크기, 카드형 구성, 절제된 움직임 */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&family=Gowun+Batang:wght@400;700&display=swap");

:root {
  --ink: #16213b;
  --text: #2c3651;
  --muted: #5f6a82;
  --paper: #f4f7fb;
  --surface: #ffffff;
  --blue: #2457b8;
  --blue-deep: #173d86;
  --sky: #e6eefb;
  --sky-2: #d3e1f8;
  --line: #e1e6ef;
  --navy: #142445;

  --sans: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --serif: "Gowun Batang", "Noto Serif KR", serif;

  --wide: 72rem;
  --measure: 38rem;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(22,33,59,.04), 0 8px 24px rgba(22,33,59,.06);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
strong { color: var(--ink); font-weight: 700; }
h1, h2, h3 { color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 50;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }

/* ---------- 머리글 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.brand { color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand span { color: var(--muted); font-weight: 500; font-size: .85rem; margin-left: .5rem; letter-spacing: 0; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.header-cta {
  display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.1rem;
  background: var(--blue); color: #fff; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none;
}
.header-cta:hover { background: var(--blue-deep); color: #fff; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: 0 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(36,87,184,.25); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- 첫 화면 ---------- */
.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--sky) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 3.5rem; align-items: center;
}
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .45rem; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: #b9c2d3; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--sky-2); color: var(--blue-deep);
  padding: .35rem .85rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.tag::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); }
.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.5rem);
  line-height: 1.12; letter-spacing: -0.045em; font-weight: 900;
  margin: 1.1rem 0 1.25rem;
}
.hero .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.7; color: var(--text); margin: 0 0 1.75rem; max-width: 32rem; }
.hero .lead strong { color: var(--blue-deep); }

.key-points { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .65rem; }
.key-points li { display: flex; align-items: center; gap: .75rem; font-weight: 500; color: var(--ink); }
.key-points li svg { flex: none; width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--sky); color: var(--blue); }
.hero .actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-visual { position: relative; }
.portrait {
  border-radius: var(--r-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); aspect-ratio: 4 / 5; max-width: 26rem; margin-left: auto;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.name-card {
  position: absolute; left: 0; bottom: 6.5rem;
  background: var(--surface); border-radius: var(--r-md); padding: .85rem 1.1rem; box-shadow: var(--shadow);
}
.name-card strong { display: block; font-size: 1.05rem; }
.name-card span { font-size: .85rem; color: var(--muted); }

.week-card {
  position: absolute; right: -0.5rem; bottom: -1.75rem; width: min(22rem, 92%);
  background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 1.1rem 1.2rem 1rem; box-shadow: 0 18px 40px rgba(20,36,69,.28);
}
.week-card p { margin: 0 0 .7rem; font-size: .9rem; color: #c8d3ea; }
.week-card p strong { color: #fff; }
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.week li {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px;
  font-weight: 700; font-size: 1rem; color: #8193b8; background: rgba(255,255,255,.06);
}
.week li.on { background: #fff; color: var(--navy); }
.week li.off { color: #55658a; }

/* ---------- 섹션 이동 메뉴 ---------- */
.section-nav {
  position: sticky; top: 4.25rem; z-index: 20;
  background: rgba(244,247,251,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a {
  display: block; padding: .9rem .9rem; white-space: nowrap; text-decoration: none;
  color: var(--muted); font-weight: 500; font-size: .95rem; border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.section-nav a:hover { color: var(--ink); }
.section-nav a.active { color: var(--blue); border-color: var(--blue); font-weight: 700; }

/* ---------- 본문 구역 공통 ---------- */
.block { padding: 5.5rem 0; }
.block + .block { padding-top: 1rem; }
.block-head { max-width: 40rem; margin-bottom: 2.5rem; }
.block-head h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.25; letter-spacing: -0.035em;
  font-weight: 900; margin: 0 0 .75rem;
}
.block-head p { margin: 0; font-size: 1.1rem; color: var(--muted); }

/* 한눈에 보기 */
.summary {
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 2.25rem; display: grid; gap: 2rem;
}
.summary-intro { font-size: 1.1rem; color: var(--text); margin: 0; max-width: 46rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.stat { background: var(--paper); border-radius: var(--r-md); padding: 1.25rem; }
.stat dt { font-size: .875rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: .45rem; }
.stat dt svg { width: 1.1rem; height: 1.1rem; color: var(--blue); }
.stat dd { margin: .4rem 0 0; font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.stat dd small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); margin-top: .2rem; }
.info-rows { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.info-rows > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.info-rows dt { font-weight: 700; color: var(--ink); font-size: .95rem; }
.info-rows dd { margin: 0; font-size: .98rem; }

/* 고민별 안내 */
.concern-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.concern {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.4rem 1.4rem 1.25rem; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.concern:hover { border-color: var(--sky-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.concern h3 { font-size: 1.1rem; line-height: 1.45; margin: 0 0 .9rem; font-weight: 700; }
.concern h3 span { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: .15rem; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pills li { background: var(--sky); color: var(--blue-deep); font-size: .875rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; }
.note { margin-top: 1.25rem; font-size: .95rem; color: var(--muted); }

/* 교정 종류 */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.type {
  background: var(--surface); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .6rem;
}
.type .icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.type .icon svg { width: 1.5rem; height: 1.5rem; }
.type h3 { margin: .4rem 0 0; font-size: 1.2rem; font-weight: 700; }
.type p { margin: 0; font-size: 1rem; color: var(--text); }
.type.feature { background: var(--navy); color: #d6deef; grid-column: span 1; }
.type.feature h3 { color: #fff; }
.type.feature p { color: #c8d3ea; }
.type.feature .icon { background: rgba(255,255,255,.12); color: #fff; }
.type .badge { align-self: flex-start; font-size: .8rem; font-weight: 700; background: #fff; color: var(--navy); padding: .2rem .6rem; border-radius: 999px; }

/* 진행 과정 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 1.4rem; height: 3px;
  background: var(--line); border-radius: 3px;
}
.steps::after {
  content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 1.4rem; height: 3px;
  background: var(--blue); border-radius: 3px; transform-origin: left; transform: scaleX(1);
}
.steps li { position: relative; }
.steps .num {
  width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue);
  color: var(--blue); font-weight: 900; display: grid; place-items: center; position: relative; z-index: 1;
}
.steps h3 { font-size: 1.05rem; margin: 1rem 0 .35rem; font-weight: 700; }
.steps p { margin: 0; font-size: .95rem; color: var(--text); line-height: 1.7; }

/* 원장 */
.doctor-band { background: var(--navy); color: #d6deef; border-radius: 28px; padding: 3.5rem; display: grid; grid-template-columns: 17rem 1fr; gap: 3rem; align-items: center; }
.doctor-band img { border-radius: var(--r-lg); }
.doctor-band h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.03em; margin: 0 0 1.25rem; font-weight: 900; }
.doctor-band blockquote { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.65; color: #fff; }
.doctor-band blockquote footer { font-family: var(--sans); font-size: .95rem; color: #9fb0d2; margin-top: .6rem; }
.doctor-band p { margin: 0 0 1rem; max-width: 40rem; }
.cred { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cred li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e6ecf8; font-size: .875rem; padding: .35rem .8rem; border-radius: 999px; }
.doctor-band a { color: #fff; font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--sky-2); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 3.5rem 1.2rem 1.4rem; font-weight: 700; color: var(--ink);
  position: relative; font-size: 1.05rem; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--blue); font-weight: 900; margin-right: .6rem; }
.faq summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%; width: .6rem; height: .6rem;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 1.4rem 1.3rem 3.05rem; color: var(--text); }
.faq .answer p { margin: 0; }

/* 예약 */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; border-radius: 28px; padding: 3rem; display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center;
}
.cta-band h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 900; letter-spacing: -0.03em; }
.cta-band p { margin: 0; color: #dbe5fa; }
.cta-band .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--sky); color: var(--blue-deep); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }


/* ---------- 움직임 (자바스크립트가 켜졌을 때만) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-group.in > * { opacity: 1; transform: none; }
.js .reveal-group.in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-group.in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-group.in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-group.in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-group.in > *:nth-child(6) { transition-delay: .40s; }
.js .reveal-group.in > *:nth-child(7) { transition-delay: .48s; }
.js .reveal-group.in > *:nth-child(8) { transition-delay: .56s; }

.js .hero-text > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero-text > *:nth-child(2) { animation-delay: .08s; }
.js .hero-text > *:nth-child(3) { animation-delay: .16s; }
.js .hero-text > *:nth-child(4) { animation-delay: .26s; }
.js .hero-text > *:nth-child(5) { animation-delay: .36s; }
.js .hero-text > *:nth-child(6) { animation-delay: .46s; }
.js .portrait { opacity: 0; transform: scale(.96); animation: settle 1.1s .2s var(--ease) forwards; }
.js .name-card, .js .week-card { opacity: 0; animation: rise .9s var(--ease) forwards; }
.js .name-card { animation-delay: .6s; }
.js .week-card { animation-delay: .75s; }
.js .week li.on { background: rgba(255,255,255,.06); color: #8193b8; animation: dayon .5s var(--ease) forwards; }
.js .week li.on, .js .week li.flex { animation-delay: 1.3s; }
.js .week li:nth-child(2) { animation-delay: 1.4s; }
.js .week li:nth-child(3) { animation-delay: 1.5s; }
.js .week li:nth-child(4) { animation-delay: 1.6s; }
.js .week li:nth-child(5) { animation-delay: 1.7s; }
.js .week li:nth-child(6) { animation-delay: 1.8s; }
.js .steps::after { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .steps.in::after { transform: scaleX(1); }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes dayon { 0% { transform: scale(.85); } 60% { transform: scale(1.08); background: #fff; color: var(--navy); } 100% { transform: scale(1); background: #fff; color: var(--navy); } }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 1.35rem; right: auto; top: 1.4rem; bottom: 1.4rem; width: 3px; height: auto; }
  .steps::after { transform-origin: top; }
  .js .steps::after { transform: scaleY(0); }
  .js .steps.in::after { transform: scaleY(1); }
  .steps li { display: grid; grid-template-columns: 2.8rem 1fr; gap: 0 1.1rem; padding-bottom: 1.5rem; }
  .steps .num { grid-row: span 2; }
  .steps h3 { margin: .45rem 0 .2rem; }
}

@media (max-width: 760px) {
  body { font-size: 1.0625rem; padding-bottom: 4.5rem; }
  .site-nav, .header-cta, .header-tel, .site-header .status { display: none; }
  .site-header .wrap { min-height: 3.75rem; }
  .section-nav { top: 3.75rem; }
  html { scroll-padding-top: 7.5rem; }
  .hero { padding: 2rem 0 3.5rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 3.5rem; }
  .portrait { margin: 0 auto; max-width: 20rem; }
  .name-card { left: .25rem; bottom: 5rem; }
  .week-card { left: 4%; right: auto; bottom: -2.25rem; width: 92%; }
  .block { padding: 4rem 0; }
  .summary { padding: 1.5rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat dd { font-size: 1.05rem; }
  .info-rows { grid-template-columns: 1fr; }
  .info-rows > div { grid-template-columns: 5.5rem 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .doctor-band { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.75rem; }
  .doctor-band img { max-width: 12rem; }
  .cta-band { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-group > *, .js .hero-text > *, .js .portrait, .js .name-card, .js .week-card { opacity: 1 !important; transform: none !important; }
  .js .week li.on { background: #fff; color: var(--navy); }
  .js .steps::after { transform: none; }
}

/* =====================================================================
   2차: 공통 상담 요소, 페이지 구성 요소
   ===================================================================== */
:root { --kakao: #fee500; --kakao-ink: #191600; --naver: #03c75a; --green: #12a150; --amber: #e6a100; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 스크롤 진행 막대 */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #4f86e8); transform-origin: left; transform: scaleX(0); }

/* ---------- 머리글: 하위 메뉴, 진료 상태, 전화 ---------- */
.site-header .wrap { gap: 1.5rem; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: inline-flex; align-items: center; min-height: 4.25rem; }
.has-sub > a::after { content: ""; width: .4rem; height: .4rem; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .45rem; opacity: .6; }
.site-nav .sub {
  position: absolute; left: -1rem; top: calc(100% - .5rem); min-width: 17rem;
  display: grid; gap: .15rem; padding: .6rem; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 40px rgba(22,33,59,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { display: block; padding: .6rem .8rem; border-radius: 10px; line-height: 1.4; }
.site-nav .sub a:hover { background: var(--paper); }
.site-nav .sub strong { display: block; color: var(--ink); font-size: .95rem; }
.site-nav .sub small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }

.status { margin: 0; display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--paper); border-radius: 999px; padding: .3rem .75rem; white-space: nowrap; }
.status .dot, .m-status .dot { width: .5rem; height: .5rem; border-radius: 50%; background: #9aa4b8; flex: none; }
.is-open .dot { background: var(--green); box-shadow: 0 0 0 0 rgba(18,161,80,.5); animation: ping 1.8s infinite; }
.is-open { color: #0d7a3d; background: #e8f6ee; }
.is-lunch .dot, .is-soon .dot { background: var(--amber); }
.is-lunch, .is-soon { color: #8a6100; background: #fdf4dc; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18,161,80,.45); } 70% { box-shadow: 0 0 0 .5rem rgba(18,161,80,0); } 100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); } }
.header-tel { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 700; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.header-tel svg { width: 1.05rem; height: 1.05rem; color: var(--blue); }
.menu-btn { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); place-items: center; cursor: pointer; }
.menu-btn svg { width: 1.4rem; height: 1.4rem; }
.menu-btn .i-shut { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-shut { display: block; }
.m-menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 3.75rem); overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease); }
.m-menu.show { opacity: 1; transform: none; }
.m-menu .wrap { padding: 1rem 0 1.5rem; }
.m-status { margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; padding: .6rem .9rem; border-radius: 12px; background: var(--paper); }
.m-label { margin: 1rem 0 .3rem; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.m-list a { display: block; padding: .65rem .2rem; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.m-solo { margin-top: 1rem; }
.m-actions { display: grid; gap: .5rem; margin-top: 1.25rem; }
.m-actions .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- 버튼 추가 ---------- */
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-kakao:hover { background: #f5da00; color: var(--kakao-ink); }
.btn-naver { background: var(--naver); color: #fff; }
.btn-naver:hover { background: #02b351; color: #fff; }

/* ---------- 첫 화면 변형 ---------- */
.hero .actions .btn { min-height: 3.1rem; padding: 0 1.35rem; }
.week li.flex { background: rgba(255,255,255,.06); color: #c8d3ea; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.js .week li.flex { animation: dayflex .5s var(--ease) forwards; }
@keyframes dayflex { 0% { transform: scale(.85); } 60% { transform: scale(1.06); background: rgba(255,255,255,.18); color: #fff; } 100% { transform: scale(1); background: rgba(255,255,255,.16); color: #fff; } }
.week-card.soon .week li { opacity: .5; }
.portrait-empty { display: grid; place-items: center; align-content: center; gap: .5rem; background: linear-gradient(160deg, var(--sky) 0%, #fff 70%); }
.portrait-empty span { width: 7rem; height: 7rem; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-deep); font-size: 3rem; font-weight: 900; box-shadow: var(--shadow); }
.portrait-empty small { color: var(--muted); font-size: .9rem; }
.band-empty { aspect-ratio: 4/5; border-radius: var(--r-lg); background: rgba(255,255,255,.08); display: grid; place-items: center; color: #9fb0d2; }

.hero-lite .hero-visual, .hero-home .hero-visual { display: flex; justify-content: flex-end; }
.hero-stack { width: 100%; max-width: 30rem; display: grid; gap: 1rem; }
.board-card { background: #fff; border-radius: var(--r-lg); box-shadow: 0 20px 50px rgba(22,33,59,.10); padding: 1.4rem 1.4rem 1.1rem; }
.board-title { margin: 0 0 .9rem; display: flex; align-items: center; gap: .5rem; font-weight: 900; color: var(--ink); font-size: 1.05rem; }
.board-title svg { width: 1.2rem; height: 1.2rem; color: var(--blue); }
.board-title span { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--blue); background: var(--sky); padding: .15rem .6rem; border-radius: 999px; }
.board-title span:empty { display: none; }
.board { width: 100%; border-collapse: separate; border-spacing: 0 .35rem; }
.board thead th { font-size: .82rem; color: var(--muted); font-weight: 700; padding: 0 0 .2rem; text-align: center; }
.board tbody th { text-align: left; font-weight: 700; font-size: .92rem; padding: .45rem .5rem .45rem 0; line-height: 1.3; }
.board tbody th a { color: var(--ink); text-decoration: none; }
.board tbody th a:hover { color: var(--blue); }
.board tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.board td { text-align: center; padding: 0; }
.board .today { background: var(--sky); }
.board thead .today { color: var(--blue); border-radius: 10px 10px 0 0; }
.board tbody tr:last-child td.today { border-radius: 0 0 10px 10px; }
.board .dot { display: inline-block; width: .85rem; height: .85rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(36,87,184,.12); }
.board .none { display: inline-block; width: .4rem; height: .4rem; border-radius: 50%; background: #d9dfea; }
.board-note { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }
.js .board .dot { transform: scale(0); animation: pop .45s var(--ease) forwards; }
.js .board tr:nth-child(1) .dot { animation-delay: .7s; }
.js .board tr:nth-child(2) .dot { animation-delay: .9s; }
.js .board tr:nth-child(3) .dot { animation-delay: 1.1s; }
.js .board tr:nth-child(4) .dot { animation-delay: 1.3s; }
@keyframes pop { 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.js .board-card, .js .team-card, .js .hours-card { opacity: 0; animation: rise .9s .25s var(--ease) forwards; }
.js .team-card { animation-delay: .5s; }

.team-card { display: flex; align-items: center; gap: 1rem; background: var(--navy); color: #c8d3ea; border-radius: var(--r-md); padding: 1rem 1.2rem; box-shadow: 0 18px 40px rgba(20,36,69,.22); }
.faces { display: flex; flex: none; }
.faces img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--navy); background: #fff; }
.faces img + img { margin-left: -.7rem; }
.team-card p { margin: 0; line-height: 1.45; font-size: .9rem; }
.team-card strong { display: block; color: #fff; font-size: 1rem; }

.hours-card { width: 100%; max-width: 28rem; background: #fff; border-radius: var(--r-lg); box-shadow: 0 20px 50px rgba(22,33,59,.10); padding: 1.5rem; }
.hc-status { margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 12px; background: var(--paper); color: var(--ink); }
.hc-status .pulse { width: .65rem; height: .65rem; border-radius: 50%; background: #9aa4b8; flex: none; }
.hc-status.is-open { background: #e8f6ee; color: #0d7a3d; }
.hc-status.is-open .pulse { background: var(--green); animation: ping 1.8s infinite; }
.hc-status.is-lunch, .hc-status.is-soon { background: #fdf4dc; color: #8a6100; }
.hc-status.is-lunch .pulse, .hc-status.is-soon .pulse { background: var(--amber); }
.hc-rows { margin: 0; display: grid; gap: .5rem; }
.hc-rows > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; padding: .8rem .9rem; border-radius: 12px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.hc-rows > div.today { border-color: var(--blue); background: var(--sky); }
.hc-rows dt { font-weight: 900; color: var(--ink); }
.hc-rows dd { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.1rem; line-height: 1.4; }
.hc-rows dd small { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); }
.hc-rows .closed dd { color: var(--muted); }
.hc-foot { margin-top: 1rem; display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.hc-foot svg { width: 1.1rem; height: 1.1rem; color: var(--blue); flex: none; }

/* ---------- 카드 묶음 ---------- */
.type-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.type-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.type-link { text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s; }
.type-link:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22,33,59,.12); color: inherit; }
.type .more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .95rem; color: var(--blue); }
.type .more svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.type-link:hover .more svg { transform: translateX(4px); }
.type.feature .more { color: #fff; }
.concern-link { position: relative; text-decoration: none; color: inherit; display: block; padding-right: 2.75rem; }
.concern-link .go { position: absolute; right: 1.1rem; top: 1.5rem; width: 1.2rem; height: 1.2rem; color: var(--blue); transition: transform .25s var(--ease); }
.concern-link:hover .go { transform: translateX(4px); }
.concern-link:hover { color: inherit; }

.steps.n5 { grid-template-columns: repeat(5, 1fr); }
.steps.n7 { grid-template-columns: repeat(7, 1fr); }
.sub-head { margin: 3rem 0 1rem; }
.sub-head h3 { margin: 0; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; }
.block.tight { padding: 0 0 1rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { flex: none; width: 1.5rem; height: 1.5rem; padding: .28rem; margin-top: .15rem; border-radius: 50%; background: var(--sky); color: var(--blue); }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); gap: .8rem 2rem; background: #fff; border-radius: var(--r-lg); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); }

.callout { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 2rem; background: #fff; border-left: 4px solid var(--blue); border-radius: var(--r-md); padding: 1.4rem 1.6rem; box-shadow: var(--shadow); }
.callout .icon, .side-card .icon, .dir .icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.callout .icon svg, .side-card .icon svg, .dir .icon svg { width: 1.45rem; height: 1.45rem; }
.callout h3 { margin: 0 0 .35rem; font-size: 1.15rem; font-weight: 900; }
.callout p { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.split-text p { margin: 0 0 1rem; max-width: var(--measure); }
.split-text p.big, .prose p.big { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.6; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
.split-text h3 { margin: 1.75rem 0 .9rem; font-size: 1.15rem; font-weight: 900; }
.prose p { max-width: 46rem; margin: 0 0 1rem; }
.side-card { background: #fff; border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow); display: grid; gap: .9rem; }
.side-card h3 { margin: 0; font-size: 1.15rem; font-weight: 900; }
.side-card p { margin: 0; }
.alert { display: grid; gap: .2rem; background: #fff6e0; border-radius: 12px; padding: .9rem 1rem; color: #6d4c00; font-size: .95rem; }
.alert strong { color: #5a3e00; font-size: 1.05rem; }
.side-price { font-weight: 700; color: var(--ink); }
.link-list { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .25rem; }
.link-list a { display: flex; align-items: center; justify-content: space-between; padding: .7rem .2rem; border-top: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.link-list a svg { width: 1rem; height: 1rem; color: var(--blue); transition: transform .25s var(--ease); }
.link-list a:hover svg { transform: translateX(4px); }

.quote { margin: 0 0 2rem; padding: 2rem 2.25rem; background: var(--navy); color: #fff; border-radius: var(--r-lg); font-family: var(--serif); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); line-height: 1.6; position: relative; overflow: hidden; }
.quote::before { content: "“"; position: absolute; right: 1.5rem; top: -1.5rem; font-size: 9rem; color: rgba(255,255,255,.07); font-family: var(--serif); line-height: 1; }
.quote p { margin: 0; max-width: 46rem; }
.quote footer { font-family: var(--sans); font-size: .95rem; color: #9fb0d2; margin-top: .75rem; }

/* 표 */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.data-table th, .data-table td { text-align: left; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--paper); font-size: .9rem; color: var(--muted); font-weight: 700; }
.data-table tbody th { color: var(--ink); font-weight: 700; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr { transition: background .2s; }
.data-table tbody tr:hover { background: #f9fbfe; }
.data-table.price td { font-size: 1.05rem; }
.data-table.price td strong { color: var(--blue-deep); font-size: 1.2rem; }
.data-table.price tbody tr:nth-child(-n+3) th::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); margin-right: .6rem; vertical-align: middle; }
.data-table.spec td:last-child { font-weight: 700; color: var(--blue-deep); white-space: nowrap; }
.data-table a { font-weight: 700; }

/* 의료진 카드 */
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.doc-cards.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 48rem; }
.doc-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.doc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(22,33,59,.14); color: inherit; }
.doc-pic { position: relative; aspect-ratio: 4/4.2; overflow: hidden; background: linear-gradient(160deg, var(--sky), #fff); }
.doc-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.doc-card:hover .doc-pic img { transform: scale(1.04); }
.doc-pic .ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: .4rem; }
.doc-pic .ph span { width: 5rem; height: 5rem; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 2.2rem; font-weight: 900; color: var(--blue-deep); box-shadow: var(--shadow); }
.doc-pic .ph small { color: var(--muted); }
.doc-pic .soon { position: absolute; left: .9rem; top: .9rem; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; }
.doc-body { padding: 1.1rem 1.3rem 1.3rem; }
.doc-role { margin: 0; font-size: .85rem; font-weight: 700; color: var(--blue); }
.doc-body h3 { margin: .15rem 0 .4rem; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; }
.doc-body h3 span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.doc-days { margin: 0; display: flex; align-items: center; gap: .4rem; font-size: .92rem; color: var(--text); }
.doc-days svg { width: 1rem; height: 1rem; color: var(--blue); }

/* 나이별 가이드 */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11.5rem; top: .5rem; bottom: .5rem; width: 3px; background: var(--sky-2); border-radius: 3px; }
.timeline li { display: grid; grid-template-columns: 10.5rem 1fr; gap: 2.25rem; align-items: center; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 11.5rem; top: 50%; width: 1rem; height: 1rem; margin: -.5rem 0 0 -.4rem; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-when { text-align: right; line-height: 1.4; }
.tl-when strong { display: block; color: var(--ink); font-size: 1.05rem; }
.tl-when small { color: var(--muted); font-size: .85rem; }
.tl-what { background: #fff; border-radius: var(--r-md); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.tl-what p { margin: 0; color: var(--ink); font-weight: 500; }
.tl-what span { display: inline-block; margin-top: .35rem; font-size: .8rem; font-weight: 700; color: var(--blue-deep); background: var(--sky); padding: .15rem .6rem; border-radius: 999px; }

/* 약력 */
.bio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.bio-card { background: #fff; border-radius: var(--r-md); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.bio-card h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem; font-size: 1rem; font-weight: 900; color: var(--blue-deep); }
.bio-card h3 svg { width: 1.2rem; height: 1.2rem; }
.bio-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.bio-card li { position: relative; padding-left: 1rem; line-height: 1.6; color: var(--ink); }
.bio-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--sky-2); }

/* 오시는 길 */
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.dir { background: #fff; border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; }
.dir h3 { margin: .2rem 0 0; font-size: 1.05rem; font-weight: 900; }
.dir p { margin: 0; color: var(--ink); }
.copy-btn { cursor: pointer; font: inherit; }
.dir .copy-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; font-weight: 700; color: var(--ink); }
.dir .copy-btn svg, .loc-actions .copy-btn svg { width: 1rem; height: 1rem; }
.map-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.loc-band { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 2.25rem 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.loc-band h3 { margin: 0 0 .3rem; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 900; letter-spacing: -0.02em; }
.loc-band > div > p { margin: 0 0 1rem; color: var(--muted); }
.loc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.loc-list li { display: flex; gap: .6rem; align-items: center; }
.loc-list svg { width: 1.15rem; height: 1.15rem; color: var(--blue); flex: none; }
.loc-actions { display: grid; gap: .6rem; }

.big-stats .stat dd { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; }

/* ---------- 상담·예약 구역 ---------- */
.contact { padding-top: 3rem; }
.contact-card { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); border-radius: 28px; padding: 3rem; display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; color: #dbe5fa; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 26rem; height: 26rem; right: -8rem; top: -12rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); pointer-events: none; }
.contact-head h2 { color: #fff; margin: 0 0 .75rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.3; }
.contact-head > p { margin: 0 0 1.5rem; }
.mini-hours { margin: 0; display: grid; gap: .4rem; }
.mini-hours > div { display: grid; grid-template-columns: 5rem 1fr; gap: .5rem; }
.mini-hours dt { color: #fff; font-weight: 700; }
.mini-hours dd { margin: 0; }
.mini-hours small { color: #a9bde6; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; position: relative; z-index: 1; }
.ch { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.15rem; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.ch:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(8,22,60,.25); color: var(--ink); }
.ch-ic { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; }
.ch-ic svg { width: 1.4rem; height: 1.4rem; }
.ch-book .ch-ic { background: #e6f8ee; color: var(--naver); }
.ch-kakao .ch-ic { background: var(--kakao); color: var(--kakao-ink); }
.ch-tel .ch-ic { background: var(--sky); color: var(--blue); }
.ch-map .ch-ic { background: #f0ecfb; color: #5b47b8; }
.ch-tx strong { display: block; font-size: 1.02rem; }
.ch-tx small { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.ch .go { width: 1.1rem; height: 1.1rem; color: #9aa4b8; transition: transform .25s var(--ease); }
.ch:hover .go { transform: translateX(4px); color: var(--blue); }

/* ---------- 바닥글 ---------- */
.site-footer { margin-top: 4rem; background: var(--navy); color: #a9b6d1; padding: 3.5rem 0 2rem; font-size: .93rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer a { color: #dce4f4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer p { margin: 0 0 .4rem; }
.f-brand { font-size: 1.2rem; font-weight: 900; color: #fff; margin-bottom: .9rem !important; }
.f-title { color: #fff; font-weight: 700; margin-bottom: .7rem !important; }
.f-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.f-actions a { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .4rem .85rem; font-size: .88rem; font-weight: 700; }
.f-actions a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.f-actions svg { width: 1rem; height: 1rem; }
.site-footer .hours th { color: #fff; }
.site-footer .hours td small { display: block; color: #7f8fb0; font-size: .82rem; }
.site-footer .hours th, .site-footer .hours td { padding: .35rem 1.25rem .35rem 0; vertical-align: top; }
.f-note { margin-top: .6rem !important; font-size: .85rem; color: #7f8fb0; }
.f-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.f-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer .f-bottom { display: block; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #7f8fb0; }

/* ---------- 퀵메뉴 (넓은 화면) ---------- */
.quick { position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 35; display: grid; gap: .5rem; transform: translateX(130%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.quick.scrolled { transform: none; opacity: 1; }
.q { width: 4.4rem; height: 4.4rem; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: .15rem; text-decoration: none; border: 0; cursor: pointer; font: inherit; box-shadow: 0 10px 26px rgba(22,33,59,.18); transition: transform .25s var(--ease); }
.q:hover { transform: translateY(-3px) scale(1.03); }
.q svg { width: 1.45rem; height: 1.45rem; }
.q span { font-size: .7rem; font-weight: 700; line-height: 1.1; }
.q-kakao { background: var(--kakao); color: var(--kakao-ink); }
.q-tel { background: #fff; color: var(--blue-deep); }
.q-book { background: var(--naver); color: #fff; }
.q-map { background: #fff; color: var(--ink); }
.q-top { background: var(--navy); color: #fff; }
.q-kakao:hover { color: var(--kakao-ink); } .q-book:hover { color: #fff; } .q-tel:hover, .q-map:hover { color: var(--blue); }

.mobile-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: 2rem; z-index: 70; transform: translate(-50%, 20px); opacity: 0; transition: opacity .3s, transform .35s var(--ease); max-width: min(92vw, 30rem); background: var(--ink); color: #fff; padding: .9rem 1.2rem; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.25); font-size: .95rem; line-height: 1.5; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 반응형 (2차) ---------- */
@media (max-width: 1180px) {
  .header-tel { display: none; }
  .site-nav ul { gap: 1.25rem; }
}
@media (max-width: 1024px) {
  .site-nav, .header-cta, .site-header .status { display: none; }
  .menu-btn { display: grid; }
  .type-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps.n5, .steps.n7 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .doc-cards { grid-template-columns: repeat(2, 1fr); }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .f-links { grid-column: 1 / -1; }
  .quick { display: none; }
  body { padding-bottom: 4.75rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr; gap: .4rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(22,33,59,.06);
  }
  .mobile-bar a { display: grid; place-items: center; gap: .1rem; padding: .45rem .2rem; border-radius: 12px; text-decoration: none; color: var(--ink); font-size: .74rem; font-weight: 700; }
  .mobile-bar svg { width: 1.35rem; height: 1.35rem; }
  .mobile-bar .mb-kakao { background: var(--kakao); color: var(--kakao-ink); }
  .mobile-bar .mb-book { background: var(--naver); color: #fff; }
  .toast { bottom: 5.5rem; }
}
@media (max-width: 760px) {
  .site-header .wrap { gap: .75rem; }
  .type-grid.cols-2, .type-grid.cols-3 { grid-template-columns: 1fr; }
  .doc-cards, .doc-cards.cols-2 { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .doc-body { padding: .85rem .9rem 1rem; }
  .doc-body h3 { font-size: 1.1rem; }
  .doc-body h3 span { display: block; font-size: .85rem; }
  .doc-role { font-size: .78rem; }
  .doc-days { font-size: .82rem; }
  .checklist.cols-2 { grid-template-columns: 1fr; padding: 1.25rem; }
  .dir-grid { grid-template-columns: 1fr; }
  .loc-band { grid-template-columns: 1fr; padding: 1.5rem; }
  .contact-card { padding: 2rem 1.25rem; }
  .channels { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .timeline::before { left: .45rem; }
  .timeline li { grid-template-columns: 1fr; gap: .4rem; padding-left: 1.75rem; }
  .timeline li::before { left: .45rem; top: .6rem; margin: 0 0 0 -.4rem; }
  .tl-when { text-align: left; }
  .hero-lite .hero-visual, .hero-home .hero-visual { justify-content: stretch; }
  .board-card { padding: 1.1rem; }
  .board tbody th { font-size: .85rem; }
  .quote { padding: 1.5rem; }
  .data-table th, .data-table td { padding: .85rem 1rem; }
  .callout { padding: 1.2rem; }
  .hero .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .board .dot { transform: none; }
  .js .board-card, .js .team-card, .js .hours-card { opacity: 1 !important; }
  .js .week li.flex { background: rgba(255,255,255,.16); color: #fff; }
  .quick { transition: none; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 1rem; min-width: 0; }
  .big-stats .stat dd { font-size: 1.2rem; }
  .data-table.spec { min-width: 0; }
  .data-table.spec thead { display: none; }
  .data-table.spec tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
  .data-table.spec tbody tr:last-child { border-bottom: 0; }
  .data-table.spec th, .data-table.spec td { padding: 0; border: 0; }
  .data-table.spec td:nth-of-type(1) { grid-column: 1 / -1; grid-row: 2; font-size: .92rem; }
  .data-table.spec td:last-child { grid-column: 2; grid-row: 1; text-align: right; }
}
.site-header .m-menu .wrap { display: block; min-height: 0; }

/* ---------- 언어 전환 ---------- */
.lang { display: inline-flex; align-items: center; height: 2.1rem; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 1024px) { .lang { margin-left: auto; } .menu-btn { margin-left: .25rem; } }
.week li.en { font-size: .72rem; }

/* ---------- 소개 영상 ---------- */
.film-block { padding-top: 3.5rem; }
.film { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #0e1830; box-shadow: 0 30px 70px rgba(20,36,69,.25); aspect-ratio: 16 / 9; }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-video::cue { background: rgba(10,18,40,.72); color: #fff; font-size: .95em; line-height: 1.45; }
.film-btn { position: absolute; right: 1.25rem; bottom: 1.5rem; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .25s var(--ease), background .2s; }
.film-btn:hover { transform: scale(1.06); background: #fff; }
.film-btn svg { width: 1.35rem; height: 1.35rem; }
.film-btn .i-pause { display: none; }
.film.playing .film-btn .i-pause { display: block; }
.film.playing .film-btn .i-play { display: none; }
.film:not(.playing) .film-btn { width: 5rem; height: 5rem; right: 50%; bottom: 50%; transform: translate(50%, 50%); }
.film:not(.playing) .film-btn svg { width: 2rem; height: 2rem; margin-left: .2rem; }
.film:not(.playing) .film-btn:hover { transform: translate(50%, 50%) scale(1.06); }
.film-tag { position: absolute; left: 1.25rem; top: 1.25rem; background: rgba(10,18,40,.55); color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.18); }
.film-bar span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.js .film.reveal { transform: translateY(40px) scale(.97); }
.js .film.reveal.in { transform: none; transition-duration: 1.1s; }
.transcript { margin-top: 1rem; max-width: 52rem; }
.transcript summary { cursor: pointer; font-weight: 700; color: var(--blue); padding: .5rem 0; }
.transcript ol { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.transcript li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; background: #fff; border-radius: 12px; padding: .8rem 1rem; }
.transcript time { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.transcript p { margin: 0; color: var(--ink); }
@media (max-width: 760px) {
  .film-block { padding-top: 2.5rem; }
  .film { border-radius: 18px; }
  .film-btn { width: 3rem; height: 3rem; right: .9rem; bottom: 1rem; }
  .film:not(.playing) .film-btn { width: 4rem; height: 4rem; }
  .film-tag { left: .8rem; top: .8rem; }
}
.brand, .site-nav a, .header-cta { white-space: nowrap; }
@media (max-width: 1320px) { html[lang="en"] .brand span { display: none; } html[lang="en"] .site-nav ul { gap: 1.1rem; } }
@media (max-width: 1240px) { html[lang="en"] .site-header .status { display: none; } }
.film { max-width: 66rem; margin-inline: auto; }
.film.playing .film-btn { right: auto; left: 1.25rem; }
.film-tag { left: auto; right: 1.25rem; }
@media (max-width: 760px) { .film-tag { right: .8rem; } }

/* ---------- 사진 ---------- */
.photo { margin: 0; }
.ph-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #e9eef6; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.ph-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover .ph-frame img { transform: scale(1.035); }
.photo.real .ph-frame { aspect-ratio: 16 / 9; }
.photo figcaption { margin-top: .7rem; font-size: .92rem; color: var(--muted); line-height: 1.55; display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: baseline; }
.ptag { font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: var(--sky); color: var(--blue-deep); white-space: nowrap; }
.photo.real .ptag { background: #e8f6ee; color: #0d7a3d; }
.photo.banner { margin-bottom: 2rem; }
.photo.banner .ph-frame { aspect-ratio: auto; height: clamp(9rem, 18vw, 15rem); }
.photo.in-card { margin: -1.75rem -1.75rem .25rem; }
.photo.in-card .ph-frame { border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: none; aspect-ratio: 16 / 9; }
.photo.in-card figcaption { padding: 0 1.75rem; }
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.photo-row.n1 { grid-template-columns: 1fr; max-width: 36rem; }
.photo-row.n3 { grid-template-columns: repeat(3, 1fr); }
.block.figs { padding-top: 1.5rem; }
.photo-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.75rem; align-items: center; margin-bottom: 2.5rem; }
.photo-split.flip > :first-child { order: 2; }
.photo-split .split-text h3 { margin: 0 0 1rem; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 900; letter-spacing: -0.02em; }
.photo-split .split-text p { margin: 0 0 .9rem; }
.timeline.compact::before { left: 8.5rem; }
.timeline.compact li { grid-template-columns: 7.5rem 1fr; gap: 2.25rem; }
.timeline.compact li::before { left: 8.5rem; }
.timeline.compact .tl-when strong { font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.gallery .g-big { grid-column: span 3; }
.gallery .g-small { grid-column: span 2; }
.gallery .g-small .ph-frame { aspect-ratio: 4 / 3; }
.gallery .g-small img { object-position: center top; }
.js .photo .ph-frame img { transform: scale(1.08); }
.js .in .photo .ph-frame img, .js .photo.in .ph-frame img, .js .reveal.in .photo .ph-frame img { transform: scale(1); transition: transform 1.4s var(--ease); }
@media (max-width: 1024px) {
  .photo-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .photo-split.flip > :first-child { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-big { grid-column: span 2; }
  .gallery .g-small { grid-column: span 1; }
  .gallery .g-small:last-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  .photo-row, .photo-row.n3 { grid-template-columns: 1fr; }
  .gallery .g-small { grid-column: span 2; }
  .timeline.compact::before { left: .45rem; }
  .timeline.compact li { grid-template-columns: 1fr; gap: .4rem; }
  .timeline.compact li::before { left: .45rem; }
  .photo.in-card { margin: -1.75rem -1.75rem .25rem; }
}
@media (prefers-reduced-motion: reduce) { .js .photo .ph-frame img { transform: none; } }

/* ---------- 채널톡·구글 버튼 ---------- */
:root { --channel: #6f42ff; }
.btn-channel { background: var(--channel); color: #fff; }
.btn-channel:hover { background: #5a31e6; color: #fff; }
.btn-google { background: #fff; color: #1a73e8; border-color: #d2e3fc; }
.btn-google:hover { border-color: #1a73e8; color: #1a73e8; }
.q-channel { background: var(--channel); color: #fff; }
.q-channel:hover { color: #fff; }
.ch-form .ch-ic { background: #fff1e6; color: #d4630a; }
.ch-channel .ch-ic { background: #efe9ff; color: var(--channel); }
.channels { grid-template-columns: 1fr 1fr; }
.contact-card { grid-template-columns: 1fr 1.3fr; }

/* ---------- 지도 ---------- */
.map-embed { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #e9eef6; box-shadow: var(--shadow); aspect-ratio: 21 / 9; margin-bottom: 1.25rem; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: .95rem; padding: 1rem; text-align: center; }
.after-map { margin-top: 2rem; }

/* ---------- 병원 가치 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.pillar { position: relative; background: #fff; border-radius: var(--r-lg); padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow); overflow: hidden; }
.pillar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), #6aa0ff); transform-origin: left; }
.js .pillar::after { transform: scaleX(0); transition: transform 1.1s var(--ease) .3s; }
.js .in .pillar::after { transform: scaleX(1); }
.p-num { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.04em; color: var(--sky-2); line-height: 1; }
.pillar h3 { margin: .8rem 0 .5rem; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; }
.pillar p { margin: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.why { background: #fff; border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .7rem; }
.why-top { display: flex; align-items: center; justify-content: space-between; }
.why-n { font-weight: 900; color: var(--blue); background: var(--sky); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; }
.why .icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--paper); color: var(--blue-deep); display: grid; place-items: center; }
.why .icon svg { width: 1.45rem; height: 1.45rem; }
.why h3 { margin: .3rem 0 0; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.why p { margin: 0; }
.why .checklist { margin-top: .3rem; gap: .5rem; font-size: .97rem; }
.promise { background: var(--navy); color: #c8d3ea; border-radius: 28px; padding: 3.25rem; display: grid; grid-template-columns: 1fr 1.35fr; gap: 2.5rem 3rem; position: relative; overflow: hidden; }
.promise::before { content: ""; position: absolute; width: 30rem; height: 30rem; left: -10rem; bottom: -16rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(79,134,232,.25), transparent); }
.eyebrow { margin: 0 0 .5rem; font-weight: 700; color: #8fb2f5; font-size: .95rem; }
.promise h2 { color: #fff; margin: 0 0 1.25rem; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; }
.team-quote { margin: 0; font-family: var(--serif); color: #fff; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.7; border-left: 3px solid #6aa0ff; padding-left: 1.1rem; }
.no-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; position: relative; }
.no-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 1.2rem 1.25rem; }
.no-word { display: inline-block; font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: .35rem; }
.no-word s { text-decoration: none; position: relative; }
.no-word s::after { content: ""; position: absolute; left: -.15rem; right: -.15rem; top: 52%; height: 3px; background: #ff7a7a; border-radius: 2px; transform-origin: left; }
.js .no-word s::after { transform: scaleX(0); transition: transform .6s var(--ease); }
.js .in .no-word s::after { transform: scaleX(1); }
.js .in li:nth-child(1) .no-word s::after { transition-delay: .5s; }
.js .in li:nth-child(2) .no-word s::after { transition-delay: .7s; }
.js .in li:nth-child(3) .no-word s::after { transition-delay: .9s; }
.js .in li:nth-child(4) .no-word s::after { transition-delay: 1.1s; }
.no-list p { margin: 0; font-size: .97rem; }
.strengths { grid-column: 1 / -1; list-style: none; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.strengths li { display: flex; align-items: center; gap: .7rem; color: #fff; font-weight: 700; }
.strengths svg { width: 1.5rem; height: 1.5rem; color: #8fb2f5; flex: none; }
.scope-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.scope-item { position: relative; background: #fff; border-radius: var(--r-md); padding: 1.4rem 1.25rem 1.3rem; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .4rem; transition: transform .25s var(--ease), box-shadow .25s; }
a.scope-item:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22,33,59,.12); color: inherit; }
.scope-item .icon { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.scope-item .icon svg { width: 1.4rem; height: 1.4rem; }
.scope-item h3 { margin: .4rem 0 0; font-size: 1.1rem; font-weight: 900; }
.scope-item p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.scope-item .go { position: absolute; right: 1rem; top: 1.4rem; width: 1.1rem; height: 1.1rem; color: var(--blue); }

/* ---------- 예약 신청서 ---------- */
.book-form { margin-top: 2rem; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 2.25rem; scroll-margin-top: 8rem; }
.bf-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.bf-head .icon { flex: none; width: 3rem; height: 3rem; border-radius: 14px; background: #fff1e6; color: #d4630a; display: grid; place-items: center; }
.bf-head .icon svg { width: 1.5rem; height: 1.5rem; }
.bf-head h3 { margin: 0 0 .3rem; font-size: 1.4rem; font-weight: 900; }
.bf-head p { margin: 0; color: var(--muted); }
.bf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
.f { display: grid; gap: .4rem; }
.f.full { grid-column: 1 / -1; }
.f span { font-weight: 700; color: var(--ink); font-size: .95rem; }
.f b { color: #d43b3b; }
.f input, .f select, .f textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem .95rem; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.f textarea { resize: vertical; min-height: 7rem; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(36,87,184,.12); }
.consent { margin-top: 1.25rem; padding: 1rem 1.1rem; background: var(--paper); border-radius: 14px; }
.chk { display: flex; gap: .6rem; align-items: center; font-weight: 700; color: var(--ink); cursor: pointer; }
.chk input { width: 1.25rem; height: 1.25rem; accent-color: var(--blue); }
.consent details { margin-top: .5rem; }
.consent summary { cursor: pointer; color: var(--blue); font-size: .9rem; font-weight: 700; }
.consent dl { margin: .6rem 0 0; display: grid; gap: .35rem; font-size: .9rem; }
.consent dl > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; }
.consent dt { font-weight: 700; color: var(--ink); }
.consent dd { margin: 0; color: var(--text); }
.bf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.4rem; }
.bf-or { color: var(--muted); font-size: .9rem; }
.bf-result { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 12px; font-weight: 700; }
.bf-result.ok { background: #e8f6ee; color: #0d7a3d; }
.bf-result.err { background: #fdecec; color: #b42323; }
@media (max-width: 1024px) {
  .pillars, .why-grid { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; padding: 2.25rem; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .map-embed { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .no-list, .strengths { grid-template-columns: 1fr; }
  .promise { padding: 1.75rem 1.25rem; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .bf-grid { grid-template-columns: 1fr; }
  .book-form { padding: 1.5rem 1.15rem; }
  .bf-actions .btn { flex: 1 1 100%; }
  .bf-or { display: none; }
  .map-embed { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .js .pillar::after, .js .no-word s::after { transform: none; } }

/* ---------- 진료비 ---------- */
.f-gap { margin-top: 1.25rem !important; }
.why-more, .text-link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--blue); text-decoration: none; margin-top: auto; padding-top: .4rem; }
.why-more svg, .text-link svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.why-more:hover svg, .text-link:hover svg { transform: translateX(4px); }
.price-card { width: 100%; max-width: 27rem; background: var(--navy); color: #c8d3ea; border-radius: var(--r-lg); padding: 1.9rem; box-shadow: 0 24px 50px rgba(20,36,69,.28); position: relative; overflow: hidden; }
.price-card::after { content: "₩"; position: absolute; right: -1rem; top: -2.5rem; font-size: 11rem; font-weight: 900; color: rgba(255,255,255,.05); }
.pc-label { margin: 0; font-weight: 700; color: #8fb2f5; font-size: .9rem; }
.pc-big { margin: .3rem 0 1rem; font-size: 2.6rem; font-weight: 900; color: #fff; letter-spacing: -0.04em; position: relative; display: inline-block; }
.pc-big::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: .5rem; background: rgba(106,160,255,.45); z-index: -1; transform-origin: left; }
.pc-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.pc-list li { display: flex; gap: .55rem; align-items: center; color: #fff; }
.pc-list svg { width: 1.3rem; height: 1.3rem; padding: .22rem; border-radius: 50%; background: rgba(255,255,255,.12); color: #8fb2f5; flex: none; }
.pc-sample { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1rem; display: grid; gap: .2rem; }
.pc-sample span { font-size: .85rem; }
.pc-sample strong { color: #fff; font-size: 1.4rem; }
.js .price-card { opacity: 0; animation: rise .9s .25s var(--ease) forwards; }
.nodiscount { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; background: linear-gradient(135deg, #fff 0%, var(--sky) 100%); border: 1px solid var(--sky-2); border-radius: 28px; padding: 3rem; }
.nd-badge { width: 10rem; height: 10rem; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--blue); color: #fff; font-weight: 900; font-size: 1.45rem; line-height: 1.3; box-shadow: 0 0 0 10px rgba(36,87,184,.12), 0 18px 40px rgba(36,87,184,.3); }
.js .nodiscount .nd-badge { transform: scale(.6) rotate(-12deg); opacity: 0; transition: transform .9s var(--ease) .2s, opacity .6s .2s; }
.js .nodiscount.in .nd-badge { transform: none; opacity: 1; }
.nd-text h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.35; font-weight: 900; letter-spacing: -0.03em; }
.nd-text p { margin: 0 0 .8rem; max-width: 44rem; }
.nodiscount .eyebrow { color: var(--blue); }
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.cat-nav a { padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; transition: border-color .2s, color .2s; }
.cat-nav a:hover { border-color: var(--blue); color: var(--blue); }
.fee-group { margin-bottom: 2rem; scroll-margin-top: 8.5rem; }
.fg-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.fg-head .icon { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.fg-head .icon svg { width: 1.4rem; height: 1.4rem; }
.fg-head h3 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.fg-head a { margin-left: auto; display: inline-flex; align-items: center; gap: .25rem; font-weight: 700; font-size: .92rem; text-decoration: none; }
.fg-head a svg { width: 1rem; height: 1rem; }
.fee-table td.fee strong { color: var(--blue-deep); font-size: 1.15rem; display: block; }
.fee-table td.fee small { color: var(--muted); font-size: .82rem; }
.fee-table td:last-child { color: var(--muted); font-size: .94rem; }
.coming { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.5rem 1.75rem; }
.coming p { margin: 0 0 .8rem; }
.coming ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.coming li { background: var(--paper); border: 1px dashed var(--sky-2); color: var(--ink); padding: .4rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ins-col { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.6rem 1.75rem; }
.ins-col h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; font-size: 1.1rem; font-weight: 900; }
.dot-ok, .dot-no { width: .75rem; height: .75rem; border-radius: 50%; background: var(--green); flex: none; }
.dot-no { background: #c3cad8; }
.ins-list { display: grid; gap: .5rem; }
.ins-item { position: relative; display: grid; gap: .1rem; padding: .85rem 2.5rem .85rem 1rem; border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); transition: background .2s; }
.ins-item:hover { background: var(--sky); color: var(--ink); }
.ins-item span { font-size: .9rem; color: #0d7a3d; font-weight: 700; }
.ins-item .go { position: absolute; right: 1rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%); color: var(--blue); }
.ins-plain { margin: 0 0 1rem; padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--ink); }
@media (max-width: 1024px) { .ins-grid { grid-template-columns: 1fr; } .nodiscount { grid-template-columns: 1fr; padding: 2rem; justify-items: start; } }
@media (max-width: 760px) {
  .nd-badge { width: 7.5rem; height: 7.5rem; font-size: 1.15rem; }
  .fee-table { min-width: 0; }
  .fee-table thead { display: none; }
  .fee-table tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); }
  .fee-table th, .fee-table td { padding: 0; border: 0; }
  .fee-table td.fee { text-align: right; }
  .fee-table td:last-child { grid-column: 1 / -1; font-size: .88rem; }
  .fg-head { flex-wrap: wrap; }
  .fg-head a { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .js .price-card { opacity: 1; } .js .nodiscount .nd-badge { transform: none; opacity: 1; } }

/* ---------- 로그인·회원가입 ---------- */
.login-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.login-link svg { width: 1.1rem; height: 1.1rem; color: var(--blue); }
.login-link:hover, .login-link[aria-current] { color: var(--blue); }
@media (max-width: 1240px) { .login-link span { display: none; } }
@media (max-width: 1024px) { .login-link { display: none; } }
.auth-wrap { padding: 2.5rem 0 4rem; background: radial-gradient(50rem 26rem at 90% -10%, var(--sky) 0%, transparent 60%), var(--paper); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 2.5rem; align-items: start; }
.auth-card { background: #fff; border-radius: 28px; box-shadow: 0 20px 50px rgba(22,33,59,.10); padding: 2.5rem; }
.auth-card h1 { margin: .4rem 0 .4rem; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem); font-weight: 900; letter-spacing: -0.04em; }
.auth-sub { margin: 0 0 1.25rem; color: var(--muted); }
.auth-notice { display: flex; gap: .7rem; align-items: flex-start; background: #fff6e0; color: #6d4c00; border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1.5rem; font-size: .93rem; }
.auth-notice svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .2rem; }
.auth-notice p { margin: 0; }
.social { display: grid; gap: .6rem; }
.sbtn { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.2rem; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .2s var(--ease), filter .2s; }
.sbtn:hover { transform: translateY(-2px); filter: brightness(.97); }
.sbtn-kakao { background: #fee500; color: #191600; }
.sbtn-naver { background: #03c75a; color: #fff; }
.sbtn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.s-logo { width: 1.25rem; height: 1.25rem; display: inline-grid; place-items: center; font-weight: 900; font-size: .95rem; line-height: 1; }
.s-kakao::before { content: ""; width: 1.2rem; height: 1rem; background: #191600; border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%; display: block; }
.s-naver::before { content: "N"; }
.s-google::before { content: "G"; color: #4285f4; }
.or { display: flex; align-items: center; gap: .8rem; margin: 1.5rem 0; color: var(--muted); font-size: .88rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 1rem; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.chk.small { font-weight: 500; font-size: .95rem; }
.btn-block { width: 100%; }
.auth-msg { margin: 0; padding: .8rem 1rem; border-radius: 12px; font-weight: 700; font-size: .93rem; }
.auth-msg.ok { background: #e8f6ee; color: #0d7a3d; }
.auth-msg.err { background: #fdecec; color: #b42323; }
.auth-switch { margin: 1.25rem 0 0; text-align: center; color: var(--muted); }
.auth-switch a { font-weight: 700; }
.note.center { text-align: center; margin-top: .6rem; }
.consents { border: 0; margin: 0; padding: 1.1rem; background: var(--paper); border-radius: 14px; display: grid; gap: .6rem; }
.chk.all { padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.c-row { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.c-row details { font-size: .85rem; flex: none; }
.c-row details[open] { flex: 1 1 100%; }
.c-row summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.c-row details p { margin: .4rem 0 0; color: var(--text); }
.c-row:has(details[open]) { flex-wrap: wrap; }
.chk em { font-style: normal; font-size: .82rem; font-weight: 700; }
.chk em.req { color: #d43b3b; }
.chk em.opt { color: var(--muted); }
.auth-side { padding: 1rem .5rem; }
.auth-side h2 { margin: 0 0 1.25rem; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; }
.benefits { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.benefits li { display: flex; gap: .9rem; align-items: flex-start; }
.benefits .icon { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow); color: var(--blue); display: grid; place-items: center; }
.benefits .icon svg { width: 1.3rem; height: 1.3rem; }
.benefits strong { display: block; color: var(--ink); }
.benefits p { margin: .1rem 0 0; font-size: .95rem; }
.side-photo { margin-bottom: 1rem; }
.acct { display: grid; gap: 1.5rem; }
.acct-hello { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 1.5rem 1.75rem; }
.acct-hello h2 { margin: 0; font-size: 1.5rem; font-weight: 900; }
.acct-hello .btn { margin-left: auto; }
.avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; }
.muted { color: var(--muted); margin: 0; }
.acct-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.acct-box { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 1.75rem; }
.acct-box h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .3rem; font-size: 1.2rem; font-weight: 900; }
.acct-box h3 svg { width: 1.2rem; height: 1.2rem; color: var(--blue); }
.acct-box .book-form { box-shadow: none; padding: 0; margin-top: 1rem; }
.acct-box .book-form .bf-head { display: none; }
.acct-box hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.bf-grid.one { grid-template-columns: 1fr; margin-top: .9rem; }
.acct-del { margin: 1.25rem 0 0; font-size: .88rem; }
.acct-del a { color: var(--muted); }
.toggle { display: flex; align-items: center; gap: .8rem; margin: .9rem 0; cursor: pointer; font-weight: 500; color: var(--ink); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { width: 2.9rem; height: 1.65rem; border-radius: 999px; background: #cfd6e3; position: relative; transition: background .25s; flex: none; }
.knob { position: absolute; top: .18rem; left: .18rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.toggle input:checked + .track { background: var(--blue); }
.toggle input:checked + .track .knob { transform: translateX(1.25rem); }
.toggle input:focus-visible + .track { outline: 3px solid var(--blue); outline-offset: 2px; }
[data-notify] .btn { margin-top: .5rem; }
[data-notify] .auth-msg { margin-top: .8rem; }
@media (max-width: 1024px) { .auth-grid, .acct-grid { grid-template-columns: 1fr; } .auth-side { padding: 0; } }
@media (max-width: 760px) { .auth-card { padding: 1.6rem 1.2rem; } .acct-hello { flex-wrap: wrap; } .acct-hello .btn { margin-left: 0; } .acct-box { padding: 1.3rem; } }

/* ---------- 첫 화면 배너 ---------- */
.top-banner { background: #263157; display: flex; justify-content: center; line-height: 0; }
.top-banner img { width: 100%; max-width: 1180px; height: auto; display: block; }

/* ---------- 첫 화면 강조 (전원 서울대 · 분야별 전문의) ---------- */
.pledge { background: var(--paper); padding: 3rem 0 3.5rem; text-align: center; }
.pledge h1 { margin: 0 0 1.6rem; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 900; color: var(--ink); }
.pledge h1 em { font-style: normal; color: var(--blue); }
.pledge-name { display: block; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); font-weight: 700; letter-spacing: 0; color: var(--muted); margin-bottom: .5rem; }
.pledge-specs { list-style: none; margin: 0 auto 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; max-width: 62rem; }
.pledge-specs li { background: #fff; border: 1px solid var(--sky-2); border-radius: var(--r-md); padding: 1.1rem .6rem 1rem; display: grid; justify-items: center; gap: .3rem; box-shadow: 0 10px 26px rgba(22,33,59,.06); }
.pledge-specs svg { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 50%; background: var(--sky); color: var(--blue); margin-bottom: .25rem; }
.pledge-specs strong { font-size: 1.05rem; color: var(--ink); line-height: 1.3; word-break: keep-all; }
.pledge-specs span { font-size: .85rem; font-weight: 700; color: var(--blue); }
.pledge-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--text); margin: 0 auto 1.6rem; word-break: keep-all; }
.pledge-lead strong { color: var(--blue-deep); }
.pledge .actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.pledge .actions .btn { min-height: 3.1rem; padding: 0 1.35rem; }

/* ---------- 요일별 전문의 보드 ---------- */
.dayboard { --ortho: #2f6fde; --endo: #0f9d8a; --pedo: #e8833a; }
.db-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.db-today { margin: 0; font-weight: 900; color: var(--blue-deep); background: var(--sky); padding: .35rem .9rem; border-radius: 999px; }
.db-today:empty { display: none; }
.db-legend { list-style: none; display: flex; gap: 1rem; flex-wrap: wrap; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); font-weight: 600; }
.db-legend i { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .4rem; vertical-align: -.05rem; }
.lg-ortho i { background: var(--ortho); } .lg-endo i { background: var(--endo); } .lg-pedo i { background: var(--pedo); }
.db-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; }
.dcard { --c: var(--muted); background: #fff; border-radius: var(--r-md); border: 1px solid var(--line, #e3e8f1); border-top: 5px solid var(--c); padding: .8rem .75rem .9rem; display: flex; flex-direction: column; gap: .7rem; position: relative; transition: transform .2s var(--ease), box-shadow .2s; }
.d-ortho { --c: var(--ortho); } .d-endo { --c: var(--endo); } .d-pedo { --c: var(--pedo); } .d-sun { --c: #c3cad6; background: #f6f7fa; }
.dcard.today { box-shadow: 0 0 0 3px var(--c), 0 16px 34px rgba(22,33,59,.14); transform: translateY(-3px); }
.dc-head { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.dc-head b { font-size: 1.6rem; font-weight: 900; color: var(--ink); line-height: 1; }
.dc-head span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.dc-today { display: none; font-style: normal; position: absolute; top: .6rem; right: .6rem; font-size: .72rem; font-weight: 800; color: #fff; background: var(--c); padding: .1rem .5rem; border-radius: 999px; }
.dcard.today .dc-today { display: inline-block; }
.dc-spec { display: grid; gap: .55rem; text-decoration: none; color: inherit; }
.dc-spec img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 18%; border-radius: .7rem; background: var(--sky); }
.dc-spec strong { display: block; font-size: 1rem; color: var(--c); line-height: 1.3; word-break: keep-all; }
.dc-spec small { display: block; font-size: .82rem; color: var(--ink); line-height: 1.4; }
.dc-spec small + small { color: var(--muted); font-size: .76rem; }
.dc-spec:hover strong { text-decoration: underline; }
.dc-off { margin: auto 0; font-size: .85rem; color: var(--muted); line-height: 1.5; word-break: keep-all; }
.db-daily { margin-top: 1rem; display: flex; gap: .9rem; align-items: flex-start; background: var(--sky); border-radius: var(--r-md); padding: 1rem 1.2rem; }
.db-daily svg { flex: none; width: 2.2rem; height: 2.2rem; padding: .45rem; border-radius: 50%; background: #fff; color: var(--blue); }
.db-daily p { margin: 0; line-height: 1.6; color: var(--text); }
.db-daily strong { color: var(--blue-deep); margin-right: .3rem; }
.dayboard .note { margin-top: .8rem; }

@media (max-width: 960px) {
  .pledge-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .db-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pledge { padding: 2rem 0 2.5rem; }
  .pledge-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .pledge-specs li:last-child { grid-column: 1 / -1; }
  .pledge .actions .btn { flex: 1 1 100%; justify-content: center; }
  .db-days { grid-template-columns: 1fr; gap: .5rem; }
  .dcard { flex-direction: row; align-items: center; border-top-width: 1px; border-left: 6px solid var(--c); padding: .6rem .75rem; gap: .9rem; }
  .dc-head { flex-direction: column; align-items: flex-start; gap: .15rem; width: 4.6rem; flex: none; }
  .dc-spec { grid-template-columns: 3.4rem 1fr; align-items: center; gap: .75rem; flex: 1; }
  .dc-spec img { border-radius: 50%; }
  .dc-today { top: 50%; transform: translateY(-50%); right: .75rem; }
  .dcard.today { transform: none; }
  .dc-off { margin: 0; }
}
@media (max-width: 640px) {
  .pledge h1 { font-size: 1.85rem; }
  .pledge h1 em { display: block; }
  .pledge-specs li { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; padding: .65rem .75rem; gap: .1rem .6rem; }
  .pledge-specs svg { grid-row: span 2; width: 2rem; height: 2rem; padding: .4rem; margin: 0; }
  .pledge-specs strong { font-size: .95rem; }
  .pledge-specs span { font-size: .78rem; }
  .pledge-specs li:last-child { grid-column: 1 / -1; }
  .pledge .actions { display: none; }
}
@media (max-width: 1400px) { html[lang="en"] .site-header .status { display: none; } html[lang="en"] .login-link span { display: none; } }
.dc-today { position: static; margin-left: auto; }
@media (max-width: 640px) { .db-legend { display: none; } .dc-today { position: absolute; margin: 0; } }
.dc-head { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: .25rem; }
.dc-head b { grid-column: 1; grid-row: 1; }
.dc-head .dc-today { grid-column: 2; grid-row: 1; }
.dc-head span { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 640px) { .dc-head { display: flex; } }

/* ================= 블로그 ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-search { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--sky-2); border-radius: 999px; padding: .2rem .4rem .2rem 1.1rem; max-width: 34rem; box-shadow: 0 10px 26px rgba(22,33,59,.07); }
.blog-search svg { width: 1.2rem; height: 1.2rem; color: var(--blue); flex: none; }
.blog-search input { border: 0; outline: 0; background: transparent; font: inherit; padding: .8rem 0; width: 100%; color: var(--ink); }
.blog-search:focus-within { border-color: var(--blue); }
.topic-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; width: 100%; max-width: 30rem; }
.topic-list li { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border-radius: var(--r-md); padding: .9rem; box-shadow: 0 10px 26px rgba(22,33,59,.06); }
.topic-list svg { flex: none; width: 2.1rem; height: 2.1rem; padding: .45rem; border-radius: 50%; background: var(--sky); color: var(--blue); }
.topic-list strong { display: block; font-size: .95rem; color: var(--ink); }
.topic-list span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; margin: .1rem 0 .25rem; word-break: keep-all; }
.topic-list small { font-size: .74rem; font-weight: 700; color: var(--blue); }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: .9rem; padding: .5rem .95rem; border-radius: 999px; cursor: pointer; }
.chip span { color: var(--muted); font-weight: 600; margin-left: .2rem; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on span { color: #c8d3ea; }
.chip:disabled { opacity: .45; cursor: default; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 12px 32px rgba(22,33,59,.07); transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(22,33,59,.12); }
.post-card[hidden] { display: none; }
.pc-pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.pc-pic img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pc-cat { align-self: flex-start; font-size: .78rem; font-weight: 800; color: var(--blue); background: var(--sky); padding: .2rem .65rem; border-radius: 999px; }
.pc-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.4; color: var(--ink); word-break: keep-all; }
.pc-body > p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
.pc-meta strong { display: block; color: var(--ink); font-size: .85rem; }
.pc-meta small { display: block; font-size: .74rem; }
.pc-meta time { margin-left: auto; }
.pc-av { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; overflow: hidden; background: var(--sky); display: inline-grid; place-items: center; }
.pc-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.post-card-big { grid-column: 1 / -1; flex-direction: row; }
.post-card-big .pc-pic { flex: 0 0 48%; aspect-ratio: auto; min-height: 20rem; }
.post-card-big .pc-body { padding: 2rem 2.2rem; justify-content: center; }
.post-card-big h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.post-card-big .pc-body > p { -webkit-line-clamp: 5; font-size: 1rem; }
.blog-empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* 글 */
.post-head { background: var(--paper); padding: 2.5rem 0 2rem; }
.post-head .wrap { max-width: 52rem; }
.post-head h1 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); line-height: 1.25; letter-spacing: -.035em; margin: 1rem 0 1.2rem; word-break: keep-all; color: var(--ink); }
.byline { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; }
.byline .pc-av { width: 3rem; height: 3rem; }
.byline p { margin: 0; }
.byline a { font-weight: 800; color: var(--ink); text-decoration: none; }
.byline a:hover { color: var(--blue); }
.byline p span { color: var(--muted); font-size: .9rem; margin-left: .2rem; }
.bl-meta { font-size: .85rem; color: var(--muted); margin-top: .15rem !important; }
.post-summary { background: #fff; border-left: 5px solid var(--blue); border-radius: var(--r-md); padding: 1.1rem 1.3rem; box-shadow: 0 10px 26px rgba(22,33,59,.06); }
.post-summary p { margin: 0; line-height: 1.8; color: var(--text); }
.ps-label { display: flex; align-items: center; gap: .4rem; font-weight: 900; color: var(--blue-deep) !important; margin-bottom: .4rem !important; }
.ps-label svg { width: 1.1rem; height: 1.1rem; }
.post-layout { display: grid; grid-template-columns: 14rem minmax(0, 46rem); gap: 3rem; justify-content: center; padding-top: 2.5rem; padding-bottom: 3rem; }
.post-toc { position: sticky; top: 6rem; align-self: start; font-size: .9rem; }
.post-toc p { font-weight: 900; color: var(--ink); margin: 0 0 .6rem; }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.post-toc li a { display: block; padding: .35rem 0 .35rem .9rem; color: var(--muted); text-decoration: none; line-height: 1.45; margin-left: -2px; border-left: 2px solid transparent; }
.post-toc li a:hover { color: var(--blue); border-left-color: var(--blue); }
.post-cover { margin: 0 0 2rem; }
.post-cover img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.post-cover figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.prose { font-size: 1.06rem; line-height: 1.9; color: var(--text); }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); line-height: 1.4; color: var(--ink); margin: 2.8rem 0 1rem; letter-spacing: -.02em; scroll-margin-top: 6rem; word-break: keep-all; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; color: var(--ink); margin: 1.8rem 0 .6rem; }
.prose p { margin: 0 0 1.1rem; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose ul.tasks { list-style: none; padding: 1rem 1.2rem; background: var(--sky); border-radius: var(--r-md); }
.prose li.task { display: flex; gap: .6rem; }
.prose li.task::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .4rem; border: 2px solid var(--blue); border-radius: .3rem; background: #fff; }
.prose .table-wrap { margin: 0 0 1.5rem; }
.prose blockquote { margin: 0 0 1.3rem; padding: .8rem 1.2rem; border-left: 4px solid var(--sky-2); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.post-note { font-size: .88rem; color: var(--muted); background: #f3f5f9; padding: .7rem 1rem; border-radius: .6rem; }
.post-faq { margin-top: 2.8rem; }
.post-faq h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); color: var(--ink); margin: 0 0 1rem; scroll-margin-top: 6rem; }
.post-sources { margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.post-sources p { margin: 0 0 .3rem; }
.post-sources ul { margin: 0; padding-left: 1.2rem; }
.post-disclaimer { font-size: .85rem; color: var(--muted); margin: 1.2rem 0; }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 2rem; }
.post-tags li { font-size: .85rem; color: var(--blue-deep); background: var(--sky); padding: .25rem .7rem; border-radius: 999px; }
.author-box { display: flex; gap: 1.2rem; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 1.3rem 1.5rem; box-shadow: 0 12px 30px rgba(22,33,59,.07); margin-bottom: 1rem; }
.ab-pic { flex: none; width: 5rem; height: 5rem; border-radius: 50%; overflow: hidden; background: var(--sky); }
.ab-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.author-box p { margin: 0; }
.ab-label { font-size: .78rem; font-weight: 800; color: var(--blue); }
.ab-name a { font-size: 1.15rem; font-weight: 900; color: var(--ink); text-decoration: none; }
.ab-spec { font-size: .88rem; color: var(--muted); margin: .15rem 0 .4rem !important; }
.ab-link { font-size: .88rem; font-weight: 700; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: .2rem; }
.ab-link svg { width: 1rem; height: 1rem; }
.post-cta { display: flex; align-items: center; gap: 1rem; background: var(--navy); color: #c8d3ea; border-radius: var(--r-lg); padding: 1.3rem 1.5rem; text-decoration: none; }
.post-cta > span svg { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.post-cta small { font-size: .8rem; font-weight: 700; }
.post-cta strong { display: block; color: #fff; font-size: 1.1rem; margin: .1rem 0; }
.post-cta p { margin: 0; font-size: .88rem; }
.post-cta .go { margin-left: auto; width: 1.4rem; height: 1.4rem; color: #fff; flex: none; }
.post-related { padding: 1rem 0 3rem; }
.post-related h2 { font-size: 1.5rem; color: var(--ink); margin: 0 0 1.2rem; }
.post-related .post-card-big { grid-column: auto; flex-direction: column; }

/* 글쓰기 도우미 */
.write-head { background: var(--paper); padding: 2.2rem 0 1.5rem; }
.write-head h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin: .8rem 0 .6rem; color: var(--ink); }
.write-head .lead { margin: 0 0 1rem; color: var(--text); max-width: 48rem; line-height: 1.7; }
.write-warn { margin: 0; background: #fff7e6; border: 1px solid #f3d9a4; color: #7a5310; padding: .75rem 1rem; border-radius: .7rem; font-size: .92rem; }
.write { padding: 1.5rem 0 4rem; background: var(--paper); }
.write-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.write-form fieldset { border: 0; margin: 0 0 1.2rem; padding: 1.3rem; background: #fff; border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; box-shadow: 0 10px 26px rgba(22,33,59,.05); }
.write-form legend { font-weight: 900; color: var(--ink); font-size: 1.05rem; padding: 0; float: left; grid-column: 1 / -1; margin-bottom: .2rem; }
.write-form label { display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; color: var(--ink); }
.write-form label small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.write-form .f-full, .write-form .md-toolbar, .write-form .md-input, .write-form .md-help { grid-column: 1 / -1; }
.write-form input, .write-form select, .write-form textarea { font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: .6rem; padding: .65rem .8rem; background: #fbfcfe; color: var(--ink); width: 100%; }
.write-form input:focus, .write-form select:focus, .write-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); background: #fff; }
.md-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; font-size: .9rem !important; line-height: 1.7; min-height: 30rem; }
.md-toolbar { display: flex; flex-wrap: wrap; gap: .35rem; }
.md-toolbar button { font: inherit; font-size: .82rem; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: .4rem .7rem; border-radius: .5rem; cursor: pointer; }
.md-toolbar button:hover { border-color: var(--blue); color: var(--blue); }
.md-help { font-size: .85rem; color: var(--muted); }
.md-help summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.md-help code { background: var(--sky); padding: .05rem .35rem; border-radius: .3rem; color: var(--ink); }
.write-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.write-actions .btn { cursor: pointer; }
.write-side { position: sticky; top: 5.5rem; display: grid; gap: 1rem; max-height: calc(100vh - 6.5rem); overflow: auto; }
.check-card, .preview-card { background: #fff; border-radius: var(--r-lg); padding: 1.2rem 1.3rem; box-shadow: 0 10px 26px rgba(22,33,59,.05); }
.cc-title { margin: 0 0 .6rem; font-weight: 900; color: var(--ink); display: flex; justify-content: space-between; }
.cc-title span { color: var(--blue); }
.cc-list, .cc-warn { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .35rem; font-size: .88rem; }
.cc-list li { display: flex; gap: .5rem; align-items: baseline; }
.cc-list li span { flex: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 900; color: #fff; background: #1aa36f; }
.cc-list li.no span { background: #e8833a; }
.cc-list li.no { color: var(--ink); }
.cc-list small { color: var(--muted); }
.cc-warn li { background: #fff4ef; border-radius: .5rem; padding: .5rem .7rem; }
.cc-warn li strong { display: block; color: #c0461a; }
.cc-warn li span { color: var(--text); font-size: .82rem; }
.cc-warn li.none { background: #eefaf4; color: #1a7a55; }
.cc-foot { margin: 0; font-size: .78rem; color: var(--muted); }
.pv-label { margin: 0 0 .8rem; font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: .05em; }
.preview .pv-title { font-size: 1.6rem; line-height: 1.3; margin: .7rem 0 1rem; color: var(--ink); word-break: keep-all; }
.preview .pv-ph { color: #b5bdcb; }
.preview .pv-toc { position: static; margin: 1.2rem 0; background: #f6f8fb; padding: .9rem 1rem; border-radius: .7rem; }
.preview .prose { font-size: 1rem; }
.preview .post-cover img { aspect-ratio: 16 / 9; }

@media (max-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-toc { position: static; background: #fff; border-radius: var(--r-md); padding: 1rem 1.2rem; margin-bottom: 1.5rem; box-shadow: 0 8px 22px rgba(22,33,59,.05); }
  .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .write-grid { grid-template-columns: minmax(0,1fr); }
  .write-side { position: static; max-height: none; }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: minmax(0,1fr); }
  .post-card-big { flex-direction: column; }
  .post-card-big .pc-pic { min-height: 0; aspect-ratio: 16 / 10; }
  .post-card-big .pc-body { padding: 1.2rem 1.3rem 1.3rem; }
  .topic-list { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .topic-list span { display: none; }
  .write-form fieldset { grid-template-columns: minmax(0,1fr); }
  .author-box { align-items: flex-start; }
  .post-cta p { display: none; }
}
@media (max-width: 1400px) { html[lang="ko"] .site-header .status { display: none; } }
@media (max-width: 1180px) { html[lang="ko"] .login-link span { display: none; } html[lang="ko"] .brand span { display: none; } }
.blog-staff { text-align: right; font-size: .8rem; margin: 1.5rem 0 0; } .blog-staff a { color: var(--muted); }

/* ---------- 언어 메뉴 ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; height: 2.1rem; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink); cursor: pointer; white-space: nowrap; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 1rem; height: 1rem; color: var(--blue); }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--blue); color: var(--blue); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + .4rem); list-style: none; margin: 0; padding: .35rem; background: #fff; border-radius: .8rem; box-shadow: 0 16px 40px rgba(22,33,59,.16); min-width: 8.5rem; z-index: 60; }
.lang-menu a { display: block; padding: .55rem .8rem; border-radius: .5rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.lang-menu a:hover { background: var(--sky); color: var(--blue); }
.lang-menu a[aria-current] { color: var(--blue); font-weight: 800; }
.lang-menu a[aria-current]::after { content: " ✓"; }
@media (max-width: 1024px) { .lang-menu { margin-left: auto; } }
.m-langs { display: flex !important; flex-wrap: wrap; gap: .4rem; padding: .4rem 0; }
.m-langs a { flex: 1 1 auto; text-align: center; padding: .55rem .6rem !important; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.m-langs a[aria-current] { border-color: var(--blue); color: var(--blue); font-weight: 800; }

/* ---------- 중국어·일본어 ---------- */
html[lang="zh-Hans"] { --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans KR", system-ui, sans-serif; }
html[lang="ja"] { --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans KR", system-ui, sans-serif; }
html[lang="zh-Hans"] body, html[lang="zh-Hans"] *, html[lang="ja"] body, html[lang="ja"] * { word-break: normal !important; line-break: strict; overflow-wrap: anywhere; }
html[lang="zh-Hans"] h1, html[lang="ja"] h1, html[lang="zh-Hans"] h2, html[lang="ja"] h2 { letter-spacing: -.01em; }
.tr-note { background: #fff7e6; color: #7a5310; font-size: .85rem; text-align: center; padding: .5rem 1rem; margin: 0; }
@media (max-width: 1400px) { html[lang="ja"] .site-header .status, html[lang="zh-Hans"] .site-header .status { display: none; } }
@media (max-width: 1320px) { html[lang="ja"] .brand span, html[lang="zh-Hans"] .brand span { display: none; } html[lang="ja"] .site-nav ul, html[lang="zh-Hans"] .site-nav ul { gap: 1.1rem; } }
@media (max-width: 1180px) { html[lang="ja"] .header-tel, html[lang="zh-Hans"] .header-tel { display: none; } }
@media (max-width: 1680px) { html[lang="en"] .site-header .status, html[lang="ja"] .site-header .status, html[lang="zh-Hans"] .site-header .status { display: none; } }
html[lang="en"] .site-header .status, html[lang="ja"] .site-header .status, html[lang="zh-Hans"] .site-header .status { display: none; }

/* 첫 화면 영상: 화면 가로에 꽉 차게 */
.film.film-full { max-width: none; width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
.film-block .block-head { margin-bottom: 2rem; }
.film-block .transcript { margin-top: 1.5rem; }
.js .film.film-full.reveal { transform: none; }
.fg-badge { font-size: .78rem; font-weight: 800; color: var(--blue); background: var(--sky); padding: .2rem .65rem; border-radius: 999px; margin-left: .4rem; white-space: nowrap; }
.fee-table { table-layout: fixed; } .fee-table th[scope="col"]:nth-child(1) { width: 38%; } .fee-table th[scope="col"]:nth-child(2) { width: 30%; } @media (max-width: 760px) { .fee-table { table-layout: auto; } }

/* ---------- 진료비: 두 가지 기준 ---------- */
.pc-two { list-style: none; margin: .4rem 0 1.2rem; padding: 0; display: grid; gap: .5rem; position: relative; }
.pc-two li { display: flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.08); border-radius: .8rem; padding: .7rem .9rem; }
.pc-two b { font-size: .85rem; color: #8fb2f5; font-weight: 900; }
.pc-two span { font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.promise2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.p2 { background: #fff; border-radius: var(--r-lg); padding: 2rem 2rem 1.8rem; box-shadow: 0 16px 40px rgba(22,33,59,.08); position: relative; overflow: hidden; }
.p2::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--blue); }
.p2-quality::before { background: var(--navy); }
.p2-num { margin: 0; font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--sky-2); letter-spacing: -.04em; }
.p2 h3 { margin: .5rem 0 .6rem; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); line-height: 1.3; color: var(--ink); letter-spacing: -.03em; word-break: keep-all; }
.p2-lead { margin: 0 0 1.2rem; color: var(--text); line-height: 1.75; word-break: keep-all; }
.p2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.p2 li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.6; color: var(--text); word-break: keep-all; }
.p2 li svg { flex: none; width: 1.7rem; height: 1.7rem; padding: .35rem; border-radius: 50%; background: var(--sky); color: var(--blue); margin-top: .05rem; }
.p2 li strong { color: var(--ink); }
.p2-quality li svg { background: #e8ecf6; color: var(--navy); }
.q-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.q-card { display: flex; flex-direction: column; gap: .45rem; background: #fff; border-radius: var(--r-md); padding: 1.3rem 1.3rem 1.1rem; text-decoration: none; color: inherit; box-shadow: 0 10px 26px rgba(22,33,59,.06); transition: transform .25s var(--ease), box-shadow .25s; }
.q-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(22,33,59,.11); }
.q-ic svg { width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: .8rem; background: var(--sky); color: var(--blue); }
.q-card strong { font-size: 1.1rem; color: var(--ink); }
.q-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; word-break: keep-all; flex: 1; }
.q-more { display: inline-flex; align-items: center; gap: .2rem; font-size: .85rem; font-weight: 700; color: var(--blue); margin-top: .3rem; }
.q-more svg { width: 1rem; height: 1rem; }
@media (max-width: 960px) { .promise2 { grid-template-columns: minmax(0, 1fr); } .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .q-grid { grid-template-columns: minmax(0, 1fr); } .p2 { padding: 1.6rem 1.3rem 1.4rem; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } .bf-policy { margin: .6rem 0 0; font-size: .85rem; } .bf-policy a { color: var(--blue); font-weight: 700; } .f-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: .6rem !important; } .f-legal a { color: #fff; text-decoration: none; } .f-legal a strong { font-weight: 800; color: #fff; } .f-legal a:hover { text-decoration: underline; }
.legal-head .lg-meta { margin: 0; font-size: .88rem; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 14rem minmax(0, 48rem); gap: 3rem; justify-content: center; padding-top: 2.5rem; padding-bottom: 4rem; }
.prose.legal { font-size: 1rem; line-height: 1.85; }
.lg-sec { padding-bottom: .5rem; }
.lg-sec h2 { counter-increment: lg; }
.prose.legal { counter-reset: lg; }
.lg-sec h2::before { content: "제" counter(lg) "조 "; color: var(--blue); }
@media (max-width: 1080px) { .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ===== 모바일 메뉴 정돈 (2026-11-13) ===== */
.m-menu .wrap { padding: .9rem 0 1.75rem; }
.m-sec { margin-top: 1.35rem; }
.m-sec:first-of-type { margin-top: .4rem; }
.m-menu .m-label { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); }
.m-menu .m-label::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.m-sec-tr .m-label { color: var(--blue); }
.m-sec-dr .m-label { color: #0f7a6c; }
.m-sec-info .m-label { color: #8a5a12; }
.m-sec-lang .m-label { color: var(--muted); }
.m-menu .m-list { gap: .5rem; }
.m-menu .m-list a { border-bottom: 0; }

/* 진료 과목: 가장 크고 굵게, 파란 카드 */
.m-tr a { display: flex !important; align-items: center; gap: .6rem; padding: .85rem .8rem !important; border-radius: 14px; background: var(--sky); color: var(--blue-deep) !important; font-size: 1.02rem; font-weight: 800 !important; letter-spacing: -.01em; line-height: 1.3; }
.m-tr .m-ic { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 10px; background: #fff; color: var(--blue); }
.m-tr .m-ic svg { width: 1.15rem; height: 1.15rem; }
.m-tr a:active { background: var(--sky-2); }

/* 의료진: 이름 굵게 + 직함 작게, 초록 계열 */
.m-dr a { display: flex !important; flex-direction: column; gap: .15rem; padding: .7rem .85rem !important; border-radius: 14px; background: #fff; border: 1px solid var(--line) !important; border-left: 3px solid #14a08c !important; }
.m-dr b { font-size: 1rem; font-weight: 700; color: var(--ink); }
.m-dr small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.m-dr small.lead { color: #0f7a6c; font-weight: 700; }
.m-dr a:active { background: #effaf7; }

/* 병원 안내: 아이콘 + 보통 굵기, 회색 줄 */
.m-info { gap: 0 .9rem !important; }
.m-info a { display: flex !important; align-items: center; gap: .55rem; padding: .75rem .1rem !important; border-bottom: 1px solid var(--line) !important; color: var(--text) !important; font-size: .95rem; font-weight: 500 !important; }
.m-info svg { width: 1.1rem; height: 1.1rem; flex: none; color: #b07a1f; }

/* 언어: 한 줄 알약 버튼 */
.m-lang-list { grid-template-columns: 1fr !important; }
.m-lang-list .m-langs { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: .4rem; padding: 0; }
.m-lang-list .m-langs a { padding: .5rem .3rem !important; font-size: .85rem; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid transparent !important; border-radius: 999px; text-align: center; }
.m-lang-list .m-langs a[aria-current] { background: #fff; border-color: var(--blue) !important; color: var(--blue); font-weight: 800; }

/* 상담 버튼과 계정 링크 */
.m-menu .m-actions { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.m-account { display: flex; justify-content: center; align-items: center; gap: .6rem; margin: 1.1rem 0 0; font-size: .85rem; color: var(--muted); }
.m-account a { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); text-decoration: none; }
.m-account svg { width: .95rem; height: .95rem; }
@media (max-width: 360px) { .m-tr a { font-size: .95rem; padding: .75rem .6rem !important; } .m-tr .m-ic { width: 1.75rem; height: 1.75rem; } }
.m-dr a { flex-direction: row !important; align-items: baseline; gap: .45rem; padding: .7rem .8rem !important; }
.m-menu .wrap { padding-bottom: 6rem; }
.m-dr a { flex-wrap: wrap; column-gap: .45rem; row-gap: .1rem; }
.m-dr b, .m-dr small { white-space: nowrap; }
.m-dr a { flex-direction: column !important; align-items: flex-start; flex-wrap: nowrap; row-gap: .05rem; padding: .6rem .85rem !important; }
.m-dr b { line-height: 1.35; }

/* ===== 집중 진료 카드 (2026-11-13) ===== */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.focus-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.focus-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(22,33,59,.05), 0 16px 36px rgba(22,33,59,.10); }
.fc-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.fc-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.fc-sedation .fc-pic img { object-position: center; }
.fc-who { position: absolute; left: .8rem; bottom: .8rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(20,36,69,.82); color: #fff; font-size: .78rem; font-weight: 700; }
.fc-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.fc-tag { font-size: .8rem; font-weight: 800; letter-spacing: .02em; color: var(--blue); }
.fc-sedation .fc-tag { color: #5b47c7; }
.fc-aesthetic .fc-tag { color: #b2477a; }
.fc-body h3 { margin: 0; font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.fc-body p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--muted); flex: 1; }
.fc-more { display: inline-flex; align-items: center; gap: .25rem; margin-top: .4rem; font-weight: 700; font-size: .9rem; color: var(--blue); }
.fc-more svg { width: 1rem; height: 1rem; }
.focus-intl { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--navy); color: #fff; text-decoration: none; }
.focus-intl > svg:first-child { width: 1.6rem; height: 1.6rem; flex: none; }
.focus-intl span { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.focus-intl strong { font-size: 1.05rem; }
.focus-intl small { font-size: .85rem; opacity: .8; }
.focus-intl > svg:last-child { width: 1.1rem; height: 1.1rem; }
@media (max-width: 900px) { .focus-grid { grid-template-columns: 1fr; } .fc-pic { aspect-ratio: 16 / 9; } }
.focus-intl strong, .focus-intl small { color: #fff !important; }
.m-dr small em { font-style: normal; font-weight: 700; color: var(--ink); }
.m-dr small.lead em { color: #0f7a6c; }

/* ===== 원장 소개 문단 (2026-11-13) ===== */
.intro-rich { max-width: 46rem; margin: 0 0 .4rem; }
.intro-rich p { margin: 0; }
.intro-rich .ir-lead { font-size: 1.32rem; font-weight: 800; line-height: 1.5; color: var(--ink); letter-spacing: -.02em; margin-bottom: 1.1rem; }
.intro-rich .ir-p { font-size: 1.06rem; line-height: 1.85; color: var(--text); margin-bottom: .85rem; }
.intro-rich .ir-p:last-child { margin-bottom: 0; }
.intro-rich .ir-hl { margin-top: 1.1rem; font-weight: 600; color: var(--ink); }
.intro-rich .hl-mark { background: linear-gradient(transparent 55%, #fde68a 55%, #fde68a 92%, transparent 92%); padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 640px) { .intro-rich .ir-lead { font-size: 1.15rem; } .intro-rich .ir-p { font-size: 1rem; } }

/* ===== 사이트 전체 가독성 (2026-11-13) ===== */
main p { line-height: 1.8; }
:lang(ko) main p { word-break: keep-all; }
.answer .a-lead { font-weight: 700; color: var(--ink); margin: 0 0 .6rem; line-height: 1.7; }
.answer .a-lead::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin: 0 .5rem .15rem 0; border-radius: 50%; background: var(--blue); vertical-align: middle; }
.answer .a-p { margin: 0 0 .55rem; color: var(--text); }
.answer .a-p:last-child { margin-bottom: 0; }
.answer { padding-bottom: .4rem; }
p.sp { margin: 0 0 .75rem; }
p.sp:last-child { margin-bottom: 0; }
p.sp-first { margin-top: 0; }
.split-text p.sp-first:not(.big) { font-weight: 600; color: var(--ink); }
.block-head p.sp { margin-bottom: .35rem; }
section.lg-sec p.sp { margin-bottom: .6rem; }
strong.num { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, #fde68a 62%, #fde68a 92%, transparent 92%); padding: 0 .05em; white-space: nowrap; }
.side-card strong.num, .note strong.num { background: none; color: var(--blue-deep); }
.intro-rich + .stats, .intro-rich { margin-bottom: 1.4rem; }
.prose p { margin: 0 0 1rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.8rem; }
