:root {
  --porcelain: #fbfaf6;
  --warm: #f2eadc;
  --warm-2: #e6d8c3;
  --navy: #101d33;
  --ink: #252525;
  --muted: #666056;
  --sage: #66856f;
  --sage-dark: #496b55;
  --gold: #a88756;
  --line: rgba(16, 29, 51, 0.12);
  --shadow: 0 28px 70px rgba(16, 29, 51, 0.12);
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 29, 51, 0.08);
}

.header-inner,
.section,
.quick-actions,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0;
  color: var(--navy);
  line-height: 1.1;
}
.brand em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  color: #343434;
}
.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 6px;
}
.site-nav a:hover { background: rgba(102, 133, 111, 0.11); }
.site-nav .nav-cta {
  margin-left: 6px;
  background: var(--navy);
  color: #fff;
  padding-inline: 16px;
}
.site-nav .nav-cta:hover { background: #172844; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.section { padding: 96px 0; }
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
  gap: 54px;
  padding-top: 36px;
  padding-bottom: 52px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage-dark);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}
h1, h2 { font-family: var(--serif); line-height: 1.22; }
h1 {
  max-width: 590px;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 700;
}
h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 650;
}
h3 {
  font-size: 22px;
  line-height: 1.35;
}
.hero-lead {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: 22px;
  color: #3b3a36;
}

.hero-actions,
.inline-actions,
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid transparent;
}
.button.primary { background: var(--navy); color: #fff; }
.button.sage { background: var(--sage-dark); color: #fff; }
.button.ghost { border-color: var(--line); color: var(--navy); background: rgba(255,255,255,0.6); }
.button:hover { transform: translateY(-1px); }

.hero-visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--warm);
  aspect-ratio: 4 / 3;
}
.hero-visual picture { display: block; height: 100%; }
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(16, 29, 51, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(-28px);
}
.quick-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
  background: #fff;
}
.quick-card span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}
.quick-card strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.4;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.care-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.care-card p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 16px;
}
.care-card a {
  margin-top: auto;
  color: var(--sage-dark);
  font-weight: 800;
  font-size: 15px;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.92) 0 31%, transparent 32%),
    linear-gradient(135deg, rgba(102,133,111,.22), rgba(168,135,86,.22));
  border: 1px solid rgba(102,133,111,.24);
}
.chuna-icon { border-radius: 40% 60% 45% 55%; }
.sleep-icon { background: radial-gradient(circle at 65% 34%, var(--porcelain) 0 22%, transparent 23%), linear-gradient(135deg, rgba(16,29,51,.18), rgba(102,133,111,.24)); }
.recovery-icon { border-radius: 8px; }
.diet-icon { background: radial-gradient(ellipse at 55% 35%, rgba(255,255,255,.9) 0 27%, transparent 28%), linear-gradient(135deg, rgba(102,133,111,.28), rgba(242,234,220,.9)); }

.philosophy {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: end;
  background: transparent;
  padding-inline: 44px;
  border-radius: 8px;
}
.philosophy::before {
  content: "";
  position: absolute;
  inset: 0 0 0 8%;
  z-index: -1;
  border-radius: 8px;
  background: rgba(242, 234, 220, 0.75);
}
.text-block p:not(.eyebrow),
.section-copy p,
.feature-panel p {
  margin: 22px 0 0;
  color: #4e4a44;
  font-size: 20px;
}
.keyword-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.keyword-grid article {
  min-height: 170px;
  padding: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(16,29,51,.1);
  border-radius: 8px;
}
.keyword-grid strong {
  display: block;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 28px;
}
.keyword-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: start;
}
.feature-panel {
  padding: 46px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(16,29,51,.07);
}
.quiet-list {
  padding: 44px 0 0;
}
.quiet-list p {
  margin: 0 0 22px;
  color: var(--gold);
  font-weight: 800;
}
.quiet-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.quiet-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 22px;
  font-family: var(--serif);
}

.sleep-section,
.diet-section {
  border-top: 1px solid var(--line);
}
.recovery-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background: var(--navy);
}
.recovery-section .eyebrow,
.recovery-section h2,
.recovery-section p { color: #fff; }
.recovery-section .section-copy p { color: rgba(255,255,255,.82); }

.doctor {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 46px;
  align-items: stretch;
}
.doctor-image {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  min-height: 560px;
}
.doctor-image picture {
  display: block;
  height: 100%;
}
.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.doctor-card .eyebrow {
  font-size: 18px;
}
.doctor-card h2 span {
  display: inline-block;
}
.doctor-card ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.doctor-card li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: #4d4941;
  font-size: 19px;
}

.first-visit { background: rgba(242,234,220,.58); border-radius: 8px; padding-inline: 44px; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.steps li {
  min-height: 150px;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.steps strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

.reservation {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
}
.address {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
}
.info-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}
.hours-card,
.booking-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.hours-card h3,
.booking-card h3 { margin-bottom: 20px; }
dl { margin: 0; }
dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
dt { color: var(--muted); }
dd { margin: 0; color: var(--navy); font-weight: 800; text-align: right; }
.booking-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}

.site-footer {
  padding: 46px 0 104px;
  background: #111b2b;
  color: rgba(255,255,255,.78);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
}
.footer-brand strong { color: #fff; }
.footer-brand em { color: rgba(255,255,255,.62); }
.site-footer p { margin: 0; font-size: 15px; }

.mobile-sticky { display: none; }

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: center; }
  .menu-toggle { display: block; }
  .hero,
  .philosophy,
  .split,
  .doctor,
  .reservation { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .doctor-image { min-height: 440px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .header-inner,
  .section,
  .quick-actions,
  .footer-inner { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; }
  .brand strong { font-size: 19px; }
  .brand em { display: none; }
  .site-nav { inset-top: 70px; }
  .section { padding: 70px 0; }
  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 46px;
  }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero-lead,
  .text-block p:not(.eyebrow),
  .section-copy p,
  .feature-panel p { font-size: 18px; }
  .hero-actions,
  .inline-actions { flex-direction: column; }
  .button { width: 100%; min-height: 52px; font-size: 16px; }
  .quick-actions {
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 10px;
  }
  .quick-card { min-height: 88px; padding: 18px; }
  .care-grid,
  .keyword-grid,
  .steps,
  .booking-actions { grid-template-columns: 1fr; }
  .care-card { min-height: auto; }
  .philosophy,
  .first-visit,
  .feature-panel,
  .doctor-card { padding-inline: 22px; }
  .doctor-card h2 {
    max-width: 100%;
    line-height: 1.18;
  }
  .quiet-list { padding-top: 0; }
  .quiet-list li { font-size: 20px; }
  .doctor-image { min-height: 340px; }
  .recovery-section {
    width: 100%;
    padding: 70px 14px;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .mobile-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251,250,246,.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .mobile-sticky a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
  }
  .mobile-sticky a:nth-child(2) { background: var(--sage-dark); }
  .mobile-sticky a:nth-child(3) { background: #fff; color: var(--navy); border: 1px solid var(--line); }
}

@media (max-width: 420px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .header-inner,
  .section,
  .quick-actions,
  .footer-inner { width: min(100% - 22px, 1180px); }
  .doctor-card,
  .feature-panel,
  .hours-card,
  .booking-card { padding: 22px; }
}
