/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f8f8f6;
  --gray-100: #efefed;
  --gray-200: #e0e0dc;
  --gray-400: #9a9a96;
  --gray-600: #5a5a56;
  --dark: #111111;
  --font: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', -apple-system, sans-serif;
  --max-w: 1160px;
  --section-py: 140px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
  width: 100%;
}
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Scroll animations ─────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── Navigation ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 60px;
  display: flex; align-items: center;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,0.08); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
}

.nav-logo {
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
}

.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--gray-600);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }


.nav-mobile-btn {
  display: none; padding: 4px; font-size: 22px; color: var(--black);
}

.nav-mobile-menu {
  display: none;
  position: absolute; top: 60px; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  padding: 16px 40px 28px;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block; padding: 13px 0;
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  color: var(--black);
}
.nav-mobile-menu a:last-child { border-bottom: none; }

/* ─── Section 01: Hero ─────────────────────────────── */
#hero {
  min-height: 100vh;
  padding-top: 60px;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 40px;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  font-size: 20px; letter-spacing: 0.02em; color: var(--black);
  font-weight: 700; margin-bottom: 28px;
  display: block;
}

.hero-title {
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.hero-sub {
  font-size: 18px; color: var(--gray-600);
  line-height: 1.7; margin-bottom: 48px;
  font-weight: 300;
}

.hero-buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white);
  font-size: 15px; font-weight: 500;
  padding: 16px 28px;
  border-radius: 980px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #333; transform: scale(1.02); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--black);
  padding: 16px 28px;
  border-radius: 980px;
  border: 1.5px solid var(--gray-200);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--black); transform: scale(1.02); }

.hero-photo-wrap {
  display: flex; flex-direction: column; align-items: flex-end;
  height: 100%;
  padding: 60px 0;
}

.hero-photo {
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
}

.photo-caption {
  margin-top: 12px;
  font-size: 12px; color: var(--gray-400);
  letter-spacing: 0.05em;
}

/* ─── Section 02: Story ────────────────────────────── */
#story {
  background: var(--black); color: var(--white);
  padding: var(--section-py) 40px;
  text-align: center;
}

.story-quote {
  font-size: clamp(32px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 64px;
  max-width: 900px; margin-left: auto; margin-right: auto;
}

.story-body {
  max-width: 720px; margin: 0 auto;
  text-align: left;
  display: flex; flex-direction: column; gap: 24px;
  border-top: 1px solid #333;
  padding-top: 48px;
}

.story-body p {
  font-size: 18px; color: #aaa; line-height: 1.9; font-weight: 300;
}

/* ─── Section 03: About ────────────────────────────── */
#about { padding: var(--section-py) 40px; }

.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
  max-width: var(--max-w); margin: 0 auto;
}

.about-tag {
  font-size: 12px; letter-spacing: 0.15em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}

.about-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 40px;
}

.about-body {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 56px;
}
.about-body p { font-size: 17px; color: var(--gray-600); line-height: 1.85; font-weight: 300; }

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--gray-100);
}

.about-stat {
  padding: 32px 0;
  border-right: 1px solid var(--gray-100);
  padding-right: 32px; margin-right: 32px;
}
.about-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.stat-num {
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--gray-400); }

.about-photo {
  width: 100%;
  filter: grayscale(100%);
}

/* ─── Section 04: Impact ───────────────────────────── */
#impact {
  background: var(--gray-50);
  padding: var(--section-py) 40px;
}

.impact-inner {
  max-width: var(--max-w); margin: 0 auto;
}

.impact-label-top {
  font-size: 12px; letter-spacing: 0.15em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 80px; display: block;
}

.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.impact-item {
  padding: 48px 0 0;
  border-right: 1px solid var(--gray-200);
  padding-right: 40px; margin-right: 40px;
}
.impact-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.impact-num {
  font-size: clamp(44px, 4.5vw, 64px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 16px;
  display: block;
}

.impact-desc { font-size: 14px; color: var(--gray-400); line-height: 1.6; }

/* ─── Section 05: Care System ──────────────────────── */
#care {
  padding: var(--section-py) 40px;
}

.care-inner {
  max-width: var(--max-w); margin: 0 auto;
}

.care-header {
  margin-bottom: 80px;
}

.care-tag {
  font-size: 12px; letter-spacing: 0.15em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}

.care-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 16px;
}

.care-sub {
  font-size: 17px; color: var(--gray-400); font-weight: 300;
}

.care-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-100);
}

.care-card {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--gray-100);
  padding-right: 28px;
}
.care-card:last-child { border-right: none; }

.care-num {
  display: block;
  font-size: 52px; font-weight: 800;
  color: var(--gray-100);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 28px;
}

.care-card-title {
  font-size: 17px; font-weight: 700;
  margin-bottom: 10px;
}

.care-card-desc {
  font-size: 13px; color: var(--gray-400);
  line-height: 1.6;
}

/* ─── Section 06: 방문진료 ─────────────────────────── */
#homecare {
  background: var(--gray-50);
  padding: var(--section-py) 40px;
}

.homecare-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
  max-width: var(--max-w); margin: 0 auto;
}

.homecare-photo {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.homecare-tag {
  font-size: 12px; letter-spacing: 0.15em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}

.homecare-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 40px;
}

.homecare-desc {
  font-size: 17px; color: var(--gray-600);
  line-height: 1.85; margin-bottom: 40px; font-weight: 300;
}

.homecare-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.homecare-list li {
  list-style: none;
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--gray-600);
}

.homecare-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%; background: var(--black);
  flex-shrink: 0;
}

/* ─── Section 07: 진료과목 ─────────────────────────── */
#treatments {
  padding: var(--section-py) 40px;
}

.treat-inner { max-width: var(--max-w); margin: 0 auto; }

.treat-header {
  margin-bottom: 80px;
}

.treat-tag {
  font-size: 12px; letter-spacing: 0.15em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}

.treat-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}

.treat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-100);
}

.treat-card {
  display: block;
  padding: 40px 0 40px;
  border-right: 1px solid var(--gray-100);
  font-size: 18px; font-weight: 600;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.treat-card:last-child { border-right: none; }
.treat-card:hover { background: var(--gray-50); color: #1a6cff; }

/* ─── Section 08: 후기 ─────────────────────────────── */
#reviews {
  background: var(--gray-50);
  padding: var(--section-py) 40px;
}

.review-inner { max-width: var(--max-w); margin: 0 auto; }

.review-header { margin-bottom: 64px; }

.review-tag {
  font-size: 12px; letter-spacing: 0.15em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}

.review-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px;
}

.review-sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.75;
  font-weight: 300;
}

.review-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.review-photo {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(10,10,10,0.045);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.review-photo:hover {
  border-color: var(--gray-200);
  box-shadow: 0 18px 40px rgba(10,10,10,0.08);
  transform: translateY(-4px);
}

.review-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.52 / 1;
  object-fit: contain;
  background: var(--white);
}

.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 32px 32px;
  background: rgba(10,10,10,0.82);
}

.review-lightbox.open { display: flex; }

.review-lightbox img {
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.review-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--black);
  font-size: 28px;
  line-height: 1;
}

/* ─── Section 09: Vision ───────────────────────────── */
#vision {
  background: var(--black); color: var(--white);
  padding: 160px 40px;
  text-align: center;
}

.vision-tag {
  font-size: 12px; letter-spacing: 0.2em; color: #444;
  text-transform: uppercase; margin-bottom: 48px; display: block;
}

.vision-quote {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 64px;
  max-width: 860px; margin-left: auto; margin-right: auto;
}

.vision-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 15px; margin-bottom: 100px;
  color: #555;
}
.vision-flow span { font-weight: 600; color: var(--white); }
.vision-flow .arr { color: #333; }

.vision-divider {
  width: 1px; height: 60px; background: #222;
  margin: 0 auto 40px;
}

.vision-brand {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 10px;
}

.vision-brand-sub {
  font-size: 12px; color: #444; letter-spacing: 0.1em;
}

.vision-sc-story {
  font-size: 17px; color: #888;
  line-height: 1.8; margin-top: 48px; margin-bottom: 36px;
}

.vision-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.btn-vision {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #444;
  border-radius: 980px;
  font-size: 15px; font-weight: 600;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.btn-vision:hover { background: #fff; color: var(--black); border-color: #fff; }

.vision-contact-panel {
  width: min(100%, 520px);
  padding: 8px 24px;
  border: 1px solid #333;
  border-radius: 18px;
  background: #111;
}

.vision-contact-panel[hidden] { display: none; }

.vision-contact-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  text-align: left;
}

.vision-contact-item + .vision-contact-item { border-top: 1px solid #2a2a2a; }
.vision-contact-label { color: #777; font-size: 13px; }
.vision-contact-item strong { color: var(--white); font-size: 15px; overflow-wrap: anywhere; }

.vision-copy-btn {
  padding: 7px 12px;
  border: 1px solid #444;
  border-radius: 980px;
  color: #bbb;
  font-size: 12px;
}

.vision-copy-btn:hover { border-color: #888; color: var(--white); }

.vision-contact-status {
  min-height: 20px;
  margin: 0 0 10px;
  color: #888;
  font-size: 12px;
  text-align: center;
}

/* ─── Section 10: Contact ──────────────────────────── */
#contact {
  padding: var(--section-py) 40px;
}

.contact-inner { max-width: var(--max-w); margin: 0 auto; }

.contact-header { margin-bottom: 80px; }

.contact-tag {
  font-size: 12px; letter-spacing: 0.15em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}

.contact-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}

.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-100);
}

.contact-item {
  padding: 48px 48px 48px 0;
  border-right: 1px solid var(--gray-100);
  margin-right: 48px;
}
.contact-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.contact-item-title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 16px;
}

.contact-item-body {
  font-size: 17px; color: var(--black);
  line-height: 1.8; font-weight: 300;
}

.contact-sub {
  font-size: 12px; color: var(--gray-400);
  margin-left: 6px;
}

/* ─── Footer ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--gray-100);
  padding: 32px 40px;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto;
  flex-wrap: wrap; gap: 12px;
}

.footer-copy { font-size: 12px; color: var(--gray-400); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 12px; color: var(--gray-400);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--black); }

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 960px) {
  :root { --section-py: 100px; }
  .container, .nav-inner, .hero-inner,
  .about-inner, .homecare-inner, .contact-inner,
  .care-inner, .treat-inner, .review-inner, .impact-inner,
  .footer-inner { padding-left: 24px; padding-right: 24px; }

  #story, #vision, #impact, #homecare,
  #care, #contact, #about, #treatments, #reviews, #hero {
    padding-left: 24px; padding-right: 24px;
  }

  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .nav-mobile-menu { padding: 16px 24px 28px; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px 80px;
    min-height: auto;
    gap: 40px;
  }
  .hero-photo-wrap { align-items: center; order: -1; padding: 0; }
  .hero-photo { max-width: 300px; max-height: 420px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }

  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-photo { order: -1; max-width: 300px; margin: 0 auto; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stat { padding-right: 24px; margin-right: 24px; }

  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .impact-item {
    padding: 40px 24px 0 0;
    margin-right: 0;
  }
  .impact-item:nth-child(2) { border-right: none; }
  .impact-item:nth-child(3) { border-right: 1px solid var(--gray-200); margin-right: 0; }
  .impact-item:nth-child(3),
  .impact-item:nth-child(4) { border-top: 1px solid var(--gray-200); padding-top: 40px; margin-top: 40px; }

  .care-cards { grid-template-columns: repeat(3, 1fr); }
  .care-card:nth-child(3) { border-right: none; }
  .care-card:nth-child(4),
  .care-card:nth-child(5),
  .care-card:nth-child(6) { border-top: 1px solid var(--gray-100); }
  .care-card:nth-child(6) { border-right: none; }

  .homecare-inner { grid-template-columns: 1fr; gap: 48px; }
  .homecare-photo { order: -1; }

  .treat-grid { grid-template-columns: repeat(3, 1fr); }
  .treat-card:nth-child(3) { border-right: none; }
  .treat-card:nth-child(4),
  .treat-card:nth-child(5),
  .treat-card:nth-child(6) { border-top: 1px solid var(--gray-100); }

  .review-gallery { gap: 20px; }

  .contact-grid { grid-template-columns: 1fr; border-top: none; }
  .contact-item {
    padding: 32px 0;
    border-right: none;
    margin-right: 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .contact-item:last-child { border-bottom: none; }

  .vision-quote { margin-bottom: 48px; }
}

@media (max-width: 540px) {
  .footer-inner,
  .footer-links {
    justify-content: flex-start;
    width: 100%;
  }
  .footer-links { gap: 12px 18px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .care-cards { grid-template-columns: repeat(2, 1fr); }
  .care-card:nth-child(2) { border-right: none; }
  .care-card:nth-child(3) { border-right: 1px solid var(--gray-100); border-top: 1px solid var(--gray-100); }
  .care-card:nth-child(4) { border-right: none; }
  .care-card:nth-child(5) { border-right: 1px solid var(--gray-100); }
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
  .treat-card:nth-child(2) { border-right: none; }
  .treat-card:nth-child(3) { border-right: 1px solid var(--gray-100); border-top: 1px solid var(--gray-100); }
  .treat-card:nth-child(4) { border-right: none; border-top: 1px solid var(--gray-100); }
  .treat-card:nth-child(5) { border-top: 1px solid var(--gray-100); }
  .treat-card:nth-child(6) { border-right: none; border-top: 1px solid var(--gray-100); }
  .review-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .review-photo { padding: 5px; }
  .review-lightbox { padding: 68px 14px 24px; }
  .review-lightbox img { max-height: calc(100vh - 108px); }
  .review-lightbox-close {
    top: 14px;
    right: 14px;
  }
}


/* ══════════════════════════════════════════════════════
   서브페이지 공통 (/column/, /care/)
   ══════════════════════════════════════════════════════ */

/* 서브페이지는 hero가 없으므로 고정 네비 높이만큼 본문을 내린다 */
.subpage { padding-top: 60px; }

.page-head {
  border-bottom: 1px solid var(--gray-100);
  padding: 88px 0 56px;
}
.page-head .container { max-width: 860px; }

.page-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 20px;
}

.page-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.22;
}

.page-sub {
  margin-top: 20px;
  font-size: 17px; color: var(--gray-600); line-height: 1.7;
  max-width: 60ch;
}

/* 빵부스러기 */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--gray-400);
  margin-bottom: 24px;
}
.crumbs a { color: var(--gray-600); }
.crumbs a:hover { color: var(--black); text-decoration: underline; }
.crumbs .sep { color: var(--gray-200); }

/* ══════════════════════════════════════════════════════
   칼럼 목록 (/column/)
   ══════════════════════════════════════════════════════ */

.column-list {
  padding: 0 0 var(--section-py);
}
.column-list .container { max-width: 860px; }

.col-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 40px 0 8px;
}
.col-filter {
  font-size: 13px; font-weight: 500;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--gray-200); color: var(--gray-600);
  background: var(--white);
  transition: all 0.18s;
}
.col-filter:hover { border-color: var(--gray-400); color: var(--black); }
.col-filter.active { background: var(--black); border-color: var(--black); color: var(--white); }

.col-items { list-style: none; }

/* 칼럼 공통 진료 안내와 관련 주제 */
.column-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.column-tags a {
  display: inline-block; padding: 7px 13px; border-radius: 999px;
  background: var(--gray-100); font-size: 14px; text-decoration: none;
}
.column-tags a:hover { background: var(--gray-200); }
.clinic-guide {
  margin: 40px 0 28px; padding: 28px;
  border: 1px solid var(--gray-200); border-radius: 16px;
  background: #fafbf9;
}
.clinic-guide-heading .clinic-eyebrow { font-size: 12px; color: var(--gray-600); margin: 0 0 8px; }
.clinic-guide-heading h2 { margin: 0 0 8px; font-size: 24px; }
.clinic-guide-heading p { margin: 0 0 20px; font-size: 15px; }
.clinic-hours-wrap { overflow-x: auto; }
table.clinic-hours, .article-body table.clinic-hours { width: 100%; min-width: 0; border-collapse: collapse; font-size: 14px; margin: 0; }
.clinic-hours caption { text-align: left; font-weight: 600; margin: 0 0 8px; }
.clinic-hours th, .clinic-hours td, .article-body .clinic-hours th, .article-body .clinic-hours td {
  padding: 10px 6px; text-align: left; border: 0;
  border-bottom: 1px solid var(--gray-200); background: transparent; white-space: nowrap;
}
.clinic-hours thead th { color: var(--gray-600); font-size: 12px; font-weight: 500; }
.clinic-guide .clinic-note, .contact-item .clinic-note {
  font-size: 13px; line-height: 1.75; color: var(--gray-600); margin: 10px 0 0;
}
.clinic-guide figure.clinic-map { margin: 24px 0 16px; }
.clinic-map img { display: block; width: 100%; height: auto; border-radius: 10px; }
.clinic-map figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--gray-600); }
.clinic-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.clinic-actions a {
  padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: 8px;
  background: white; font-size: 14px; text-decoration: none;
}
.clinic-actions a:first-child { background: #174d35; border-color: #174d35; color: white; }
.clinic-actions a:hover { opacity: .8; }
.clinic-guide .clinic-home-care { margin-top: 16px; }
@media (max-width: 600px) {
  .clinic-guide { padding: 18px; }
  .clinic-guide-heading h2 { font-size: 22px; }
  .clinic-actions a { flex: 1 1 auto; text-align: center; }
}

.col-item { border-bottom: 1px solid var(--gray-100); }
.col-item[hidden] { display: none; }

.col-link {
  display: block;
  padding: 34px 0;
  transition: opacity 0.2s;
}
.col-link:hover { opacity: 0.62; }

.col-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--gray-400);
  margin-bottom: 12px;
}
.col-cat {
  font-weight: 600; color: var(--black);
  padding: 3px 9px; border-radius: 4px; background: var(--gray-100);
}

.col-title {
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.38;
}

.col-excerpt {
  margin-top: 10px;
  font-size: 15px; color: var(--gray-600); line-height: 1.7;
  max-width: 62ch;
}

.col-empty {
  padding: 72px 0; text-align: center;
  font-size: 15px; color: var(--gray-400);
}

/* ══════════════════════════════════════════════════════
   칼럼 본문 (/column/<slug>/)
   ══════════════════════════════════════════════════════ */

.article { padding: 72px 0 var(--section-py); }
.article .container { max-width: 720px; }

.article-head { margin-bottom: 44px; }

.article-title {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.28;
}

.article-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px; color: var(--gray-400);
}
.article-meta strong { color: var(--black); font-weight: 600; }

/* 핵심 요약 — AI·검색엔진이 가장 먼저 읽는 블록 */
.answer-box {
  border-left: 3px solid var(--black);
  background: var(--gray-50);
  padding: 26px 28px;
  margin-bottom: 44px;
}
.answer-box h2 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 12px;
}
.answer-box p {
  font-size: 17px; line-height: 1.75; font-weight: 500;
}
.answer-box p + p { margin-top: 10px; }

/* 목차 */
.toc {
  border: 1px solid var(--gray-100);
  padding: 22px 26px;
  margin-bottom: 48px;
}
.toc h2 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 12px;
}
.toc ol { margin-left: 18px; }
.toc li { font-size: 15px; line-height: 1.9; color: var(--gray-600); }
.toc a:hover { color: var(--black); text-decoration: underline; }

/* 본문 타이포 */
.article-body { font-size: 17px; line-height: 1.85; }

.article-body h2 {
  font-size: clamp(21px, 2.8vw, 26px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.4;
  margin: 56px 0 18px;
  scroll-margin-top: 80px;
}
.article-body h3 {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  margin: 34px 0 12px;
  scroll-margin-top: 80px;
}
.article-body p { margin-bottom: 20px; }
.article-body .article-ref { font-size: .75em; line-height: 0; margin-left: 3px; }
.article-body .article-ref a { padding: 2px; text-decoration-thickness: 1px; }
.article-references li { scroll-margin-top: 88px; overflow-wrap: anywhere; }
.article-body strong { font-weight: 700; }
.article-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gray-200);
}
.article-body a:hover { text-decoration-color: var(--black); }

.article-body ul,
.article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 9px; }
.article-body li::marker { color: var(--gray-400); }

.article-body blockquote {
  border-left: 3px solid var(--gray-200);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  color: var(--gray-600);
}

.article-body figure { margin: 32px 0; }
.article-body figcaption {
  margin-top: 10px;
  font-size: 13px; color: var(--gray-400);
}

/* 표는 좁은 화면에서 가로로만 스크롤 */
.table-wrap { overflow-x: auto; margin: 28px 0; }
.article-body table {
  width: 100%; min-width: 460px;
  border-collapse: collapse; font-size: 15px;
}
.article-body th,
.article-body td {
  text-align: left; padding: 13px 14px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.article-body th {
  font-weight: 600; font-size: 13px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

/* FAQ */
.faq { margin-top: 56px; }
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 22px 0;
}
.faq-q {
  font-size: 17px; font-weight: 700; line-height: 1.5;
  margin-bottom: 10px;
}
.faq-a { font-size: 16px; color: var(--gray-600); line-height: 1.8; }

/* 저자 — E-E-A-T 신호 */
.author-card {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 64px; padding: 28px;
  background: var(--gray-50);
}
.author-photo {
  width: 60px; height: 60px; flex: 0 0 60px;
  border-radius: 50%; object-fit: cover;
}
.author-name { font-size: 16px; font-weight: 700; }
.author-role { font-size: 13px; color: var(--gray-400); margin-top: 3px; }
.author-bio {
  font-size: 14px; color: var(--gray-600); line-height: 1.75;
  margin-top: 12px;
}

/* 의료 고지 */
.disclaimer {
  margin-top: 32px; padding: 20px 22px;
  border: 1px solid var(--gray-200);
  font-size: 13px; color: var(--gray-600); line-height: 1.75;
}
.disclaimer strong { color: var(--black); }

/* 하단 이동 */
.article-nav {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

/* ══════════════════════════════════════════════════════
   소망케어 소개 (/care/)
   ══════════════════════════════════════════════════════ */

.care-hero {
  padding: 128px 0 96px;
  border-bottom: 1px solid var(--gray-100);
}
.care-hero .container { max-width: 900px; }

.care-hero-title {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.16;
}
.care-hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 2vw, 19px); color: var(--gray-600); line-height: 1.75;
  max-width: 56ch;
}
.care-hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 40px;
}

.care-sec { padding: var(--section-py) 0; }
.care-sec + .care-sec { border-top: 1px solid var(--gray-100); }
.care-sec .container { max-width: 1000px; }

.care-sec-tag {
  display: block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 18px;
}
.care-sec-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.3;
  margin-bottom: 20px;
}
.care-sec-body {
  font-size: 17px; color: var(--gray-600); line-height: 1.85;
  max-width: 62ch;
}
.care-sec-body p + p { margin-top: 18px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-100);
  margin-top: 56px;
}
.feature-card {
  padding: 36px 28px 36px 0;
  border-bottom: 1px solid var(--gray-100);
}
.feature-num {
  font-size: 12px; font-weight: 600; color: var(--gray-400);
  letter-spacing: 0.06em;
}
.feature-title {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  margin: 14px 0 10px;
}
.feature-desc { font-size: 15px; color: var(--gray-600); line-height: 1.75; }

.care-cta {
  padding: var(--section-py) 0;
  background: var(--dark); color: var(--white);
  text-align: center;
}
.care-cta-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.32;
}
.care-cta-sub {
  margin-top: 20px;
  font-size: 16px; color: rgba(255,255,255,0.62); line-height: 1.75;
}
.care-cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.btn-invert {
  display: inline-block;
  padding: 15px 30px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 15px; font-weight: 600;
  transition: opacity 0.2s;
}
.btn-invert:hover { opacity: 0.82; }
.btn-ghost {
  display: inline-block;
  padding: 15px 30px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28); color: var(--white);
  font-size: 15px; font-weight: 600;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--white); }

/* ══════════════════════════════════════════════════════
   서브페이지 반응형
   ══════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .page-head { padding: 64px 0 44px; }
  .article { padding: 52px 0 96px; }
  .care-hero { padding: 96px 0 72px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { padding-right: 24px; }
}

@media (max-width: 540px) {
  .article-body { font-size: 16px; }
  .answer-box { padding: 22px 20px; }
  .answer-box p { font-size: 16px; }
  .toc { padding: 18px 20px; }
  .author-card { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding-right: 0; }
  .col-link { padding: 26px 0; }
}


/* ══════════════════════════════════════════════════════
   홈 화면 칼럼 미리보기
   ══════════════════════════════════════════════════════ */

#home-column {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--gray-100);
}
#home-column .container { max-width: var(--max-w); }

.hc-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hc-tag {
  display: block;
  font-size: 12px; letter-spacing: 0.2em; color: var(--gray-400);
  text-transform: uppercase; margin-bottom: 18px;
}
.hc-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.25;
}
.hc-sub {
  margin-top: 16px;
  font-size: 16px; color: var(--gray-600); line-height: 1.7;
  max-width: 46ch;
}
.hc-more {
  font-size: 15px; font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
  transition: border-color 0.2s;
}
.hc-more:hover { border-color: var(--black); }

.hc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.hc-card {
  display: block;
  padding: 38px 40px 38px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: opacity 0.2s;
}
.hc-card:hover { opacity: 0.6; }
.hc-card + .hc-card {
  padding-left: 40px;
  border-left: 1px solid var(--gray-100);
  padding-right: 0;
}

.hc-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--gray-400);
  margin-bottom: 14px;
}
.hc-cat {
  font-weight: 600; color: var(--black);
  padding: 3px 9px; border-radius: 4px; background: var(--gray-100);
}
.hc-card-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.4;
}
.hc-card-excerpt {
  margin-top: 12px;
  font-size: 15px; color: var(--gray-600); line-height: 1.72;
}

@media (max-width: 960px) {
  .hc-header { margin-bottom: 40px; }
  .hc-grid { grid-template-columns: 1fr; }
  .hc-card { padding: 30px 0; }
  .hc-card + .hc-card {
    padding-left: 0; border-left: none;
    border-top: 1px solid var(--gray-100);
  }
}
/* 칼럼 탐색: 텍스트 링크는 검색 봇과 키보드 사용자에게도 동일하게 제공한다. */
.column-topics { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; margin: 0 0 1.5rem; font-size: 1rem; }
.column-topics a, .column-related a { text-underline-offset: .2em; }
.column-related { margin: 2.5rem 0; padding: 1.5rem 0; border-top: 1px solid #d8dfdc; border-bottom: 1px solid #d8dfdc; }
.column-related h2 { font-size: 1.2rem; margin: 0 0 .8rem; }
.column-related ul { padding-left: 1.25rem; }
.column-related li { margin: .6rem 0; }
.column-review { font-size: .875rem; line-height: 1.7; color: #53625c; }

/* 외래 중심 홈페이지: 칼럼·소망케어 페이지의 공통 스타일은 유지한다. */
.homepage section[id] { scroll-margin-top: 80px; }
.homepage a:focus-visible,
.homepage button:focus-visible { outline: 3px solid #1a6cff; outline-offset: 5px; }
.homepage .nav-links { gap: 28px; align-items: center; }
.nav-care-mobile { display: none; }
.homepage .nav-links a[href="/care/"] { color: var(--black); font-weight: 700; }
.homepage .nav-links .nav-booking {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 600;
}
.homepage #hero { min-height: auto; }
.homepage .hero-inner {
  width: 100%;
  min-height: auto;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  padding-top: 36px;
  padding-bottom: 32px;
  gap: 28px 50px;
}
.homepage .hero-tag { font-size: 1rem; margin-bottom: 18px; }
.homepage .hero-title {
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-focus { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
.homepage .hero-sub { font-size: 1rem; font-weight: 400; margin-bottom: 22px; }
.homepage .hero-sub strong { color: var(--black); font-weight: 600; }
.homepage .hero-photo-wrap { height: auto; padding: 0; }
.homepage .hero-photo { max-width: 260px; max-height: none; }
.hero-pathways { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hero-pathway { display: block; padding: 24px 28px; background: var(--gray-50); color: var(--black); }
.pathway-audience { display: block; font-size: .75rem; letter-spacing: .04em; color: var(--gray-600); margin-bottom: 6px; }
.hero-pathway h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 1.5rem; line-height: 1.4; letter-spacing: -.03em; margin-bottom: 8px; }
.hero-pathway h2 span { font-size: .75rem; font-weight: 400; letter-spacing: .04em; }
.hero-pathway p { font-size: .875rem; line-height: 1.7; }
.hero-pathway p br { display: none; }
.pathway-link { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: .875rem; font-weight: 600; }
.hero-pathway:hover .pathway-link { text-decoration: underline; text-underline-offset: 4px; }
.hero-pathway-care { background: var(--dark); color: var(--white); }
.hero-pathway-care .pathway-audience, .hero-pathway-care h2 span { color: #b6b6b1; }
.homepage .photo-caption { font-size: .875rem; color: var(--gray-600); }
.hero-visit-info { margin-top: 24px; font-size: .875rem; color: var(--gray-600); line-height: 1.8; }
.hero-visit-info p { margin-bottom: 8px; }
.hero-visit-info p span { padding: 0 6px; }
.hero-visit-info a { display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: 5px; }
.homepage #treatments { background: var(--gray-50); padding-top: 96px; padding-bottom: 96px; }
.homepage .treat-header { margin-bottom: 48px; }
.homepage .treat-title { font-size: clamp(1.75rem, 3.6vw, 3.125rem); line-height: 1.35; }
.homepage .treat-tag,
.homepage .about-tag,
.homepage .contact-tag { font-size: .875rem; color: var(--gray-600); }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.focus-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.focus-number { color: var(--gray-600); font-size: .875rem; margin-bottom: 28px; }
.focus-card h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.3; letter-spacing: -.03em; margin-bottom: 20px; }
.focus-lead { font-size: 1.25rem; font-weight: 500; line-height: 1.6; margin-bottom: 16px; }
.focus-description { font-size: 1rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 32px; }
.focus-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.focus-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; }
.focus-actions a:hover { text-decoration: underline; text-underline-offset: 5px; }
.focus-booking { font-weight: 700; }
.other-treatments { margin-top: 40px; }
.other-treatments h3 { font-size: 1.125rem; margin-bottom: 8px; }
.other-treatments p { font-size: 1rem; color: var(--gray-600); line-height: 1.8; }
.other-treatment-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.other-treatment-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  font-size: 1rem;
}
.other-treatment-links a:hover { border-color: var(--black); }
.homepage .contact-title { line-height: 1.3; }
.homepage .contact-header { margin-bottom: 40px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.homepage .contact-grid { grid-template-columns: 1fr 1fr 1.35fr; }
.homepage .contact-item { padding-right: 24px; margin-right: 24px; }
.homepage .contact-item:last-child { padding-right: 0; margin-right: 0; }
.homepage .contact-item-title,
.homepage .contact-sub { font-size: .875rem; color: var(--gray-600); }
.homepage .contact-sub { display: block; margin-left: 0; }
.homepage .contact-item-body a { display: inline-block; padding: 4px 0; font-weight: 500; }
.homepage .contact-item-body a:hover { text-decoration: underline; text-underline-offset: 4px; }
.homepage .clinic-note { font-size: .875rem; }
.homepage #homecare { border-top: 1px solid var(--gray-200); }

@media (max-width: 960px) {
  .homepage #hero { padding-left: 24px; padding-right: 24px; }
  .homepage .hero-inner { padding: 32px 0; min-height: auto; gap: 28px; }
  .homepage .nav-care-mobile { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; margin-right: 20px; font-size: .875rem; font-weight: 600; }
  .homepage .hero-text { max-width: 600px; }
  .homepage .hero-photo-wrap { order: 0; align-items: flex-end; }
  .homepage .hero-photo { max-width: 240px; max-height: none; }
  .homepage .hero-buttons { flex-direction: row; }
  .homepage #treatments,
  .homepage #about,
  .homepage #contact { padding-left: 24px; padding-right: 24px; }
  .homepage .treat-inner,
  .homepage .about-inner,
  .homepage .contact-inner { padding-left: 0; padding-right: 0; }
  .homepage #treatments { padding-top: 64px; padding-bottom: 64px; }
  .focus-card { padding: 28px; }
  .homepage .contact-grid { grid-template-columns: 1fr; }
  .homepage .contact-item { padding: 28px 0; margin-right: 0; }
  .homepage .contact-sub { display: inline; margin-left: 8px; }
}

@media (max-width: 600px) {
  .homepage .hero-inner { grid-template-columns: 1fr; }
  .homepage .hero-photo-wrap { align-items: center; }
  .hero-pathways { grid-template-columns: 1fr; gap: 16px; }
  .hero-pathway { padding: 22px 24px; }
  .hero-focus { font-size: 1.125rem; }
  .homepage .hero-title { font-size: clamp(2.25rem, 8.2vw, 3rem); }
  .homepage .hero-sub { font-size: 1rem; }
  .homepage .hero-buttons { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; }
  .homepage .hero-buttons a { padding: 15px 10px; font-size: .9375rem; }
  .homepage .hero-photo { max-width: 200px; max-height: none; }
  .homepage .treat-header { margin-bottom: 32px; }
  .focus-grid { grid-template-columns: 1fr; gap: 20px; }
  .focus-card { padding: 28px 24px; }
  .focus-number { margin-bottom: 20px; }
  .focus-lead { font-size: 1.125rem; }
  .focus-description { margin-bottom: 24px; }
  .focus-actions { gap: 4px 20px; }
  .other-treatment-links a { flex: 1 1 calc(50% - 10px); }
  .contact-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.homepage) { scroll-behavior: auto; }
  .homepage .fade-up { opacity: 1; transform: none; transition: none; }
  .homepage .btn-primary,
  .homepage .btn-secondary { transition: none; }
}

/* 질환별 설명: 본문과 내부 링크는 자바스크립트 없이도 읽을 수 있다. */
.guide-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.guide-link-card { display: flex; flex-direction: column; padding: 28px; background: var(--white); border: 1px solid var(--gray-200); }
.guide-link-card:hover { border-color: var(--black); }
.guide-link-card h2, .guide-link-card h3 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.5; }
.guide-link-card p { margin: 0 0 20px; font-size: 1rem; line-height: 1.8; color: var(--gray-600); }
.guide-link-card > span { margin-top: auto; font-size: .9375rem; font-weight: 600; }
.guide-overview-link { display: inline-block; margin-top: 24px; padding: 10px 0; text-decoration: underline; text-underline-offset: 5px; font-size: 1rem; }
.treatment-page .page-head { padding-bottom: 48px; }
.treatment-page .container { max-width: 920px; }
.treatment-page .page-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.3; }
.treatment-page .page-sub { font-size: 1.125rem; line-height: 1.85; }
.treatment-page .crumbs { font-size: .875rem; }
.treatment-page a:focus-visible, .treatment-page button:focus-visible { outline: 3px solid #1a6cff; outline-offset: 5px; }
.treatment-page .nav-links { align-items: center; gap: 28px; }
.treatment-page .nav-booking { color: var(--white); background: var(--black); padding: 8px 18px; border-radius: 999px; }
.guide-main { padding-bottom: 80px; }
.guide-eyebrow { color: var(--gray-600); font-size: .875rem; margin-bottom: 16px; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 24px 0; border-block: 1px solid var(--gray-200); }
.guide-toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration: underline; text-underline-offset: 5px; }
.guide-section { padding-top: 48px; scroll-margin-top: 90px; }
.guide-section h2, .guide-important h2, .guide-visit h2 { font-size: 1.5rem; line-height: 1.5; letter-spacing: -.025em; margin: 0 0 20px; }
.guide-section p, .guide-section li, .guide-important p, .guide-visit > p { font-size: 1.0625rem; line-height: 1.95; }
.guide-section p + p { margin-top: 16px; }
.guide-section ul { padding-left: 24px; }
.guide-section li + li { margin-top: 10px; }
.guide-citation { color: var(--gray-600); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.guide-important { padding: 24px 28px; margin-bottom: 32px; border-left: 3px solid var(--black); background: var(--gray-50); }
.guide-important h2 { font-size: 1.125rem; margin-bottom: 10px; }
.guide-question { padding: 24px 0; border-top: 1px solid var(--gray-200); }
.guide-question h3 { font-size: 1.125rem; line-height: 1.65; margin: 0 0 12px; }
.guide-related a, .guide-sources a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.guide-sources { border-top: 1px solid var(--gray-200); padding-top: 28px; margin-top: 48px; }
.guide-sources h2 { font-size: 1.125rem; margin-bottom: 16px; }
.guide-sources ol { padding-left: 24px; font-size: .9375rem; line-height: 1.8; }
.guide-sources li { scroll-margin-top: 90px; }
.guide-small { margin-top: 20px; color: var(--gray-600); font-size: .875rem; line-height: 1.85; }
.guide-visit { padding: 32px; margin-top: 56px; border: 1px solid var(--gray-200); background: var(--gray-50); }
.guide-visit .guide-eyebrow { font-size: .875rem; }
.guide-visit .clinic-hours-wrap { margin-top: 24px; }
.guide-visit .clinic-hours thead th { font-size: .875rem; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 600px) {
  .guide-link-grid { grid-template-columns: 1fr; }
  .guide-link-card { padding: 24px; }
  .treatment-page .page-sub { font-size: 1rem; }
  .guide-section { padding-top: 36px; }
  .guide-section h2, .guide-visit h2 { font-size: 1.375rem; }
  .guide-important, .guide-visit { padding: 24px 20px; }
  .guide-actions { flex-direction: column; }
}

/* 첫 방문 안내와 원장 소개: 기존 흑백 디자인을 유지한다. */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1a6cff; outline-offset: 5px; }
.nav-links { gap: 26px; align-items: center; }
.nav-links a[aria-current="page"] { color: var(--black); text-decoration: underline; text-underline-offset: 6px; }
.nav-links a[aria-current="location"] { color: var(--black); text-decoration: underline; text-underline-offset: 6px; }
.nav-links .nav-booking { display: inline-flex; padding: 8px 18px; border-radius: 999px; background: var(--black); color: var(--white); font-weight: 600; }
.nav-mobile-menu { max-height: calc(100dvh - 60px); overflow-y: auto; }
.nav-mobile-menu a { min-height: 44px; }
.homepage #hero .fade-up { opacity: 1; transform: none; transition: none; }
.hero-photo, .about-photo, .homecare-photo { height: auto; }
.homepage .hero-photo { aspect-ratio: 1696 / 2528; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.about-more { margin: -28px 0 32px; }
.home-quicklinks { border-block: 1px solid var(--gray-200); background: var(--white); }
.home-quicklinks .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 32px; }
.home-quicklinks a { display: flex; flex-direction: column; gap: 10px; padding: 4px 28px; border-left: 1px solid var(--gray-200); }
.home-quicklinks a:first-child { border-left: 0; padding-left: 0; }
.home-quicklinks a:last-child { padding-right: 0; }
.home-quicklinks a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.home-quicklinks .quicklink-label { font-size: .8125rem; color: var(--gray-600); }
.home-quicklinks strong { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.home-quicklinks a > span:last-child { font-size: .8125rem; color: var(--gray-600); }
.home-quicklinks a > span:last-child > span { margin-left: 8px; }
.footer-inner { align-items: flex-start; gap: 32px; }
.footer-clinic { font-size: .8125rem; line-height: 1.9; color: var(--gray-600); }
.footer-brand { display: inline-block; font-size: 1.125rem; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.footer-clinic .footer-copy { margin-top: 10px; }
.footer-clinic a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links { max-width: 360px; gap: 12px 20px; }
.footer-links a { color: var(--gray-600); padding: 4px 0; font-size: .8125rem; }
.author-profile-link { color: var(--gray-600); font-size: .8125rem; font-weight: 400; margin-left: 12px; white-space: nowrap; }
.author-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.info-page .container { max-width: 1080px; }
.info-head { padding: 64px 0; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.info-head .crumbs { margin-bottom: 40px; }
.info-eyebrow { font-size: .875rem; color: var(--gray-600); margin-bottom: 18px; }
.info-head h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.2; letter-spacing: -.045em; }
.info-lead { font-size: 1.125rem; color: var(--gray-600); line-height: 1.85; margin-top: 24px; }
.info-content { padding-bottom: 80px; }
.info-jump { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.info-jump a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.info-jump a:hover { text-decoration: underline; text-underline-offset: 5px; }
.visit-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; padding: 64px 0; border-bottom: 1px solid var(--gray-200); scroll-margin-top: 80px; }
.info-section-heading > span { display: block; font-size: .8125rem; color: var(--gray-600); margin-bottom: 16px; }
.info-section-heading h2, .visit-faq h2, .profile-intro h2, .profile-areas h2, .info-contact h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); line-height: 1.45; letter-spacing: -.035em; }
.info-section-heading p { color: var(--gray-600); font-size: 1rem; line-height: 1.85; margin: 18px 0; }
.info-small { font-size: .875rem; color: var(--gray-600); line-height: 1.8; margin-top: 16px; }
.info-small a { text-decoration: underline; text-underline-offset: 4px; }
.closed-notice { padding: 18px 20px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: var(--gray-50); margin-top: 24px; }
.closed-notice span { font-size: .8125rem; color: var(--gray-600); }
.closed-notice strong { font-size: 1rem; font-weight: 600; }
.visit-map { display: block; background: var(--gray-50); border: 1px solid var(--gray-200); }
.visit-map img { display: block; width: 100%; height: auto; }
.visit-checklist { list-style: none; counter-reset: preparation; }
.visit-checklist li { counter-increment: preparation; position: relative; padding: 0 0 28px 44px; }
.visit-checklist li:last-child { padding-bottom: 0; }
.visit-checklist li::before { content: counter(preparation); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 26px; height: 26px; background: var(--gray-100); border-radius: 50%; font-size: .8125rem; }
.visit-checklist strong { font-size: 1.0625rem; font-weight: 600; line-height: 1.6; }
.visit-checklist p { color: var(--gray-600); font-size: 1rem; line-height: 1.85; margin-top: 8px; }
.visit-faq { padding: 64px 0 0; scroll-margin-top: 80px; }
.visit-faq h2 { margin-bottom: 32px; }
.visit-question { border-top: 1px solid var(--gray-200); }
.visit-question:last-child { border-bottom: 1px solid var(--gray-200); }
.visit-question summary { padding: 24px 36px 24px 0; position: relative; font-size: 1.0625rem; font-weight: 600; line-height: 1.7; cursor: pointer; list-style: none; }
.visit-question summary::-webkit-details-marker { display: none; }
.visit-question summary::after { content: '+'; position: absolute; right: 2px; top: 24px; font-size: 1.375rem; font-weight: 400; }
.visit-question[open] summary::after { content: '−'; }
.visit-question p { padding: 0 36px 24px 0; max-width: 780px; color: var(--gray-600); font-size: 1rem; line-height: 1.9; }
.info-contact { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 36px; margin-top: 64px; background: var(--gray-50); }
.info-contact .info-eyebrow { margin-bottom: 10px; }
.info-contact p:last-child { color: var(--gray-600); margin-top: 14px; line-height: 1.8; }
.info-contact > a { white-space: nowrap; }
.profile-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.profile-statement { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.6; letter-spacing: -.03em; font-weight: 600; margin-top: 32px; }
.profile-photo { margin: 0; }
.profile-photo img { display: block; width: 100%; height: auto; max-height: 490px; object-fit: cover; object-position: top; filter: grayscale(100%); }
.profile-photo figcaption { font-size: .8125rem; color: var(--gray-600); margin-top: 12px; }
.profile-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0 64px; padding: 72px 0; border-bottom: 1px solid var(--gray-200); }
.profile-intro .info-eyebrow { grid-column: 1 / -1; }
.profile-intro p:not(.info-eyebrow) { color: var(--gray-600); font-size: 1.0625rem; line-height: 1.9; }
.profile-intro p + p { margin-top: 18px; }
.profile-areas { padding-top: 64px; }
@media (max-width: 960px) {
  footer { padding-inline: 24px; }
  .footer-inner { padding-inline: 0; }
  .home-quicklinks a { padding-inline: 20px; }
  .visit-section { gap: 32px; grid-template-columns: 1fr 1.5fr; }
  .profile-grid { gap: 32px; }
  .profile-grid .guide-actions { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .home-quicklinks .container { grid-template-columns: 1fr; padding-block: 0; }
  .home-quicklinks a, .home-quicklinks a:first-child { padding: 22px 0; border-left: 0; border-top: 1px solid var(--gray-200); gap: 7px; }
  .home-quicklinks a:first-child { border-top: 0; }
  .home-quicklinks .quicklink-label { font-size: .75rem; }
  .info-head { padding: 40px 0; }
  .info-head .crumbs { margin-bottom: 32px; }
  .info-lead { font-size: 1rem; }
  .info-head .guide-actions { flex-direction: column; }
  .visit-section { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; }
  .visit-faq { padding-top: 40px; }
  .info-section-heading p { margin-bottom: 0; }
  .info-jump { column-gap: 22px; }
  .info-jump a { font-size: .875rem; }
  .info-contact { align-items: flex-start; flex-direction: column; padding: 28px 24px; margin-top: 40px; }
  .profile-grid, .profile-intro { grid-template-columns: 1fr; gap: 28px; }
  .profile-grid .guide-actions { align-items: stretch; }
  .profile-photo { max-width: 360px; }
  .profile-intro { padding-block: 48px; gap: 20px; }
  .profile-intro .info-eyebrow { margin-bottom: 0; }
  .profile-areas { padding-top: 40px; }
}

/* 휴진 공지: 등록일과 실제 휴진일을 구분해 읽을 수 있게 표시한다. */
#home-notices { padding: 52px 0; }
.home-notices-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.home-notices-heading .info-eyebrow { margin-bottom: 10px; }
.home-notices-heading h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -.03em; line-height: 1.4; }
.notice-list { list-style: none; border-top: 1px solid var(--gray-200); }
.notice-row { border-bottom: 1px solid var(--gray-200); }
.notice-row > a { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0; }
.notice-row > a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.notice-badge { display: inline-block; padding: 4px 9px; background: var(--gray-100); font-size: .75rem; font-weight: 600; line-height: 1.6; margin-bottom: 12px; }
.notice-row h3 { font-size: 1.125rem; letter-spacing: -.02em; line-height: 1.6; }
.notice-row-main > p { color: var(--gray-600); font-size: .9375rem; line-height: 1.8; margin-top: 8px; }
.notice-row-main .notice-dates { color: var(--black); margin-top: 12px; }
.notice-dates strong { margin-right: 8px; }
.notice-row-end { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.notice-posted { font-size: .8125rem; color: var(--gray-600); }
.notice-posted time { white-space: nowrap; }
.notice-arrow { font-size: 1.375rem; }
.notice-section { margin-top: 40px; }
.notice-list-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 18px; }
.notice-list-heading h2 { font-size: 1rem; font-weight: 600; }
.notice-list-heading > span { font-size: .8125rem; color: var(--gray-600); }
.notice-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 28px; background: var(--gray-50); }
.notice-help h2 { font-size: 1.0625rem; line-height: 1.7; }
.notice-help p { font-size: .9375rem; color: var(--gray-600); margin-top: 8px; line-height: 1.8; }
.notice-help > a { flex-shrink: 0; }
.notice-detail-head h1 { font-size: clamp(1.875rem, 4.5vw, 3rem); line-height: 1.4; }
.notice-detail-head .crumbs { flex-wrap: wrap; line-height: 1.8; }
.notice-meta { color: var(--gray-600); font-size: .8125rem; margin-top: 28px; }
.notice-article .container { max-width: 900px; }
.notice-closure { margin-top: 40px; border-left: 3px solid var(--black); padding: 24px 28px; background: var(--gray-50); }
.notice-closure h2 { font-size: .9375rem; color: var(--gray-600); margin-bottom: 14px; font-weight: 500; }
.notice-closure p, .notice-closure li { font-size: clamp(1.125rem, 2.2vw, 1.5rem); line-height: 1.8; font-weight: 600; }
.notice-closure ul { list-style: none; }
.notice-closure li + li { margin-top: 12px; }
.notice-body-section { margin-top: 40px; }
.notice-body-section h2 { font-size: 1.375rem; margin-bottom: 24px; }
.notice-body-section p { font-size: 1rem; line-height: 1.9; margin-top: 20px; }
.notice-body-section p a { text-decoration: underline; text-underline-offset: 4px; }
.notice-contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 0; margin-top: 40px; border-block: 1px solid var(--gray-200); }
.notice-contact p { color: var(--gray-600); font-size: .9375rem; }
.notice-contact a { font-size: 1.25rem; font-weight: 600; }
.notice-detail-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.notice-empty { padding: 32px 0; color: var(--gray-600); line-height: 1.9; }
.mobile-booking { display: none; }
@media (max-width: 960px) {
  .has-mobile-booking { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  html:has(.has-mobile-booking) { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .mobile-booking {
    position: fixed; inset: auto 0 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1.45fr; gap: 10px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 18px rgba(0,0,0,.04);
  }
  .mobile-booking a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; font-size: 1rem; font-weight: 600; border-radius: 8px; }
  .mobile-booking-phone { border: 1px solid var(--gray-200); background: var(--white); }
  .mobile-booking-reserve { background: var(--black); color: var(--white); gap: 12px; }
  .no-scroll .mobile-booking,
  body:has(.nav-mobile-menu.open) .mobile-booking { visibility: hidden; }
}
@media print {
  .mobile-booking { display: none; }
  .has-mobile-booking { padding-bottom: 0; }
}
@media (max-width: 700px) {
  #home-notices { padding: 36px 0; }
  .home-notices-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 12px; }
  .notice-row > a { align-items: stretch; flex-direction: column; gap: 20px; padding: 24px 0; }
  .notice-row-end { justify-content: space-between; }
  .notice-row h3 { font-size: 1.0625rem; }
  .notice-help { flex-direction: column; align-items: flex-start; padding: 24px; gap: 12px; }
  .notice-closure { padding: 20px; }
}
