:root {
  --ink: #213433;
  --muted: #627674;
  --deep: #123c3b;
  --teal: #267a74;
  --rose: #c86b61;
  --sage: #758b68;
  --plum: #766091;
  --gold: #b68b35;
  --cloud: #f5fbf9;
  --paper: #ffffff;
  --warm: #f4efe7;
  --line: #dbe8e4;
  --shadow: 0 24px 70px rgba(18, 60, 59, .16);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

#about,
#doctor,
#clinic-guide,
#location,
#space,
#news,
.program-card {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cloud);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 120;
  padding: 12px 18px;
  color: #fff;
  background: #514740;
  border-radius: 4px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #9f6f57;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-height);
  color: #51463d;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(230, 221, 212, .85);
  backdrop-filter: blur(18px);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 40px rgba(18, 60, 59, .08);
}

.header-inner {
  width: min(1500px, calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-family: Georgia, "Times New Roman", serif;
}

.brand-name {
  font-size: 20px;
}

.brand-dark {
  color: var(--deep);
}

.logo-brand {
  gap: 0;
  flex: 0 0 auto;
}

.site-header .logo-brand {
  width: 235px;
  justify-content: center;
  transform: translateX(10px);
}

.brand-logo {
  width: 212px;
  height: auto;
  display: block;
}

.brand-logo-on-dark {
  display: none;
}

.brand-logo-on-light {
  display: block;
}

.mega-top .brand-logo {
  width: 222px;
}

.site-footer .brand-logo {
  width: 247px;
}

.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 26px 14px;
  font-weight: 700;
  font-size: 15px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 210px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
}

.nav-list > li:hover .dropdown,
.nav-list > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-list > li.is-dropdown-suppressed .dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

.dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.dropdown a:hover,
.dropdown a:focus {
  color: var(--deep);
  background: var(--cloud);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.phone-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle,
.menu-close {
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.menu-close {
  display: inline-grid;
  place-items: center;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform .2s ease;
}

.mobile-menu-button {
  display: none;
}

.menu-close {
  position: relative;
}

.menu-close span {
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--ink);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(18, 60, 59, .54);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mega-panel {
  width: min(1120px, 100%);
  max-height: calc(100svh - 52px);
  overflow: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  transition: transform .25s ease;
}

.mega-menu.is-open .mega-panel {
  transform: translateY(0);
}

.mega-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 34px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(420px, .78fr);
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 28px 22px;
  padding: 38px;
}

.mega-links h2 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: 22px;
  line-height: 1.25;
}

.mega-links h2 a {
  padding: 0;
  color: inherit;
  font: inherit;
}

.mega-links a {
  display: block;
  padding: 7px 0;
  color: #4f6664;
  font-size: 14px;
  font-weight: 700;
}

.mega-info {
  padding: 38px;
  color: #fffaf3;
  background:
    radial-gradient(circle at 18% 10%, rgba(246, 231, 211, .2), transparent 34%),
    radial-gradient(circle at 92% 92%, rgba(184, 139, 95, .22), transparent 38%),
    linear-gradient(145deg, #7a6c5f 0%, #62564c 54%, #80685d 100%);
}

.mega-title {
  margin: 0 0 28px;
  font-size: 27px;
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
}

.schedule-box {
  padding: 24px;
  border: 1px solid rgba(244, 239, 231, .26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.box-title {
  margin: 0 0 14px;
  font-weight: 800;
}

.schedule-box dl,
.footer-schedule dl {
  display: grid;
  margin: 0;
}

.schedule-box dl {
  gap: 10px;
}

.footer-schedule dl {
  gap: 8px;
}

.schedule-box dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
}

.footer-schedule dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
}

.schedule-box dt,
.footer-schedule dt {
  font-weight: 800;
}

.schedule-box dd,
.footer-schedule dd {
  margin: 0;
}

.schedule-box dd span {
  display: block;
}

.schedule-box .schedule-time {
  white-space: nowrap;
}

.footer-schedule .schedule-highlight {
  position: relative;
  margin: -2px -8px;
  padding: 2px 8px;
  border-radius: 8px;
  background: linear-gradient(transparent 46%, rgba(214, 183, 149, .42) 0);
}

.footer-schedule .schedule-highlight dt,
.footer-schedule .schedule-highlight dd {
  color: #5a4030;
  font-weight: 900;
}

.small-note {
  margin: 14px 0 0;
  color: rgba(255, 250, 243, .78);
  font-size: 14px;
}

.mega-cta {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.mega-cta a {
  flex: 1;
  padding: 13px 14px;
  text-align: center;
  border: 1px solid rgba(244, 239, 231, .44);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  z-index: -3;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  background: #9b8574;
  transform: translateZ(0);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 47% 38%, rgba(255, 255, 255, .08), transparent 29%),
    linear-gradient(90deg, rgba(18, 60, 59, .72), rgba(18, 60, 59, .26) 46%, rgba(18, 60, 59, .54));
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  padding-top: var(--header-height);
  text-align: center;
}

.hero-kicker,
.eyebrow,
.modal-kicker {
  margin: 0 0 18px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, .82);
}

.hero-symbol {
  position: relative;
  width: 512px;
  height: 168px;
  margin: 0 auto 26px;
}

.hero-symbol span {
  position: absolute;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  font-size: 74px;
  line-height: 1;
  font-weight: 300;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.hero-symbol span:nth-child(1) {
  left: 16px;
}

.hero-symbol span:nth-child(2) {
  left: 172px;
}

.hero-symbol span:nth-child(3) {
  left: 328px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 22px;
  font-size: 58px;
  line-height: 1.18;
  font-weight: 700;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .9);
  font-size: 21px;
  line-height: 1.75;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 7px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.scroll-cue i {
  width: 1px;
  height: 46px;
  background: currentColor;
  opacity: .85;
}

.section {
  padding: 110px 0;
}

.has-scroll-fade .scroll-fade {
  opacity: var(--scroll-fade-opacity, 1);
  transform: translate3d(0, var(--scroll-fade-y, 0), 0);
  transition:
    opacity .44s ease-out,
    transform .44s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.has-scroll-fade .scroll-fade:not(.is-scroll-visible) {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .has-scroll-fade .scroll-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .7fr);
  gap: 80px;
  align-items: center;
}

.section-copy h2,
.section-head h2,
.doctor-copy h2,
.contact-panel h2,
.space-copy h2,
.news-layout h2 {
  margin: 0;
  color: var(--deep);
  font-size: 44px;
  line-height: 1.28;
  font-weight: 760;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.section-copy p:last-child,
.doctor-message,
.space-copy p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--cloud) 100%);
}

.intro-panel {
  display: grid;
  gap: 14px;
}

.intro-stat {
  min-height: 116px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(18, 60, 59, .07);
}

.intro-stat strong {
  color: var(--teal);
  font-size: 30px;
  font-family: Georgia, "Times New Roman", serif;
  white-space: nowrap;
}

.intro-stat span {
  color: var(--muted);
  text-align: right;
}

.doctor-section {
  background: #fff;
}

.doctor-layout {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.doctor-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--warm);
  box-shadow: var(--shadow);
}

.doctor-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: var(--radius);
  pointer-events: none;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-career-image-wrap {
  aspect-ratio: 1600 / 1933;
  background: #f8f3ed;
}

.doctor-career-image-wrap::after {
  content: none;
}

.doctor-career-image-wrap img {
  object-fit: contain;
}

.doctor-name {
  margin: 34px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.doctor-name strong {
  color: var(--deep);
  font-size: 34px;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.doctor-name span {
  color: var(--rose);
  font-weight: 800;
}

.doctor-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
}

.doctor-list li {
  position: relative;
  padding-left: 18px;
}

.doctor-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.programs-section {
  background:
    linear-gradient(135deg, rgba(38, 122, 116, .09), transparent 32%),
    linear-gradient(315deg, rgba(200, 107, 97, .1), transparent 30%),
    var(--cloud);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.section-head.compact {
  display: block;
  margin-bottom: 0;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  min-height: 380px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(18, 60, 59, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(18, 60, 59, .13);
}

.program-visual {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
}

.program-visual svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.program-card h3 {
  margin: 0 0 14px;
  color: var(--deep);
  font-size: 25px;
  line-height: 1.25;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.program-card a {
  margin-top: auto;
  padding-top: 26px;
  color: var(--deep);
  font-weight: 900;
}

.accent-rose .program-visual {
  color: var(--rose);
  background: rgba(200, 107, 97, .12);
}

.accent-teal .program-visual {
  color: var(--teal);
  background: rgba(38, 122, 116, .13);
}

.accent-sage .program-visual {
  color: var(--sage);
  background: rgba(117, 139, 104, .15);
}

.accent-plum .program-visual {
  color: var(--plum);
  background: rgba(118, 96, 145, .13);
}

.accent-gold .program-visual {
  color: var(--gold);
  background: rgba(182, 139, 53, .14);
}

.values-section {
  color: #fff;
  background: linear-gradient(140deg, #123c3b, #1d6b68 57%, #6a536f);
}

.values-layout {
  display: grid;
  grid-template-columns: minmax(300px, .52fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.values-section .section-head h2,
.values-section .eyebrow {
  color: #fff;
}

.slider-control {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
}

.slider-control button {
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 0;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.slider-control span {
  min-width: 72px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.value-slider {
  position: relative;
  overflow: hidden;
  min-height: 390px;
}

.value-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding: 26px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.value-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.value-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .55) 0 4px, transparent 5px),
    linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08)),
    var(--teal);
}

.value-two {
  background:
    radial-gradient(circle at 70% 26%, rgba(255, 255, 255, .52) 0 4px, transparent 5px),
    linear-gradient(145deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08)),
    var(--rose);
}

.value-three {
  background:
    radial-gradient(circle at 42% 70%, rgba(255, 255, 255, .52) 0 5px, transparent 6px),
    linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .08)),
    var(--plum);
}

.value-num {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.value-slide h3 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.25;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.value-slide p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .65fr);
  padding: 0;
  background: #fff;
}

.location-map {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 60, 59, .08) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(18, 60, 59, .08) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(135deg, #dcece8, #f7fbfa 50%, #f6e5de);
}

.map-lines {
  position: absolute;
  inset: 11%;
  border: 2px solid rgba(38, 122, 116, .38);
  border-radius: var(--radius);
  transform: rotate(-5deg);
}

.map-lines::before,
.map-lines::after {
  content: "";
  position: absolute;
  background: rgba(200, 107, 97, .55);
}

.map-lines::before {
  width: 70%;
  height: 2px;
  left: 8%;
  top: 42%;
  transform: rotate(28deg);
}

.map-lines::after {
  width: 2px;
  height: 72%;
  right: 28%;
  top: 8%;
  transform: rotate(17deg);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  display: block;
  max-width: 310px;
  padding: 22px;
  color: var(--deep);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.map-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 20px;
  height: 20px;
  background: var(--rose);
  border: 4px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.map-pin span {
  display: block;
  margin-bottom: 5px;
  color: var(--rose);
  font-weight: 900;
}

.map-pin strong {
  font-size: 18px;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(34px, 5vw, 72px);
  background: var(--paper);
}

.location-desc {
  max-width: 470px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.map-info-list {
  display: grid;
  gap: 16px;
  margin: 4px 0 34px;
}

.map-info-list div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.map-info-list dt {
  color: var(--deep);
  font-weight: 900;
}

.map-info-list dd {
  margin: 0;
  color: var(--ink);
}

.map-info-list a {
  color: inherit;
  font-weight: 900;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-actions a {
  flex: 1 1 180px;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
}

.primary-button {
  color: #fff;
  background: var(--deep);
  border: 1px solid var(--deep);
}

.secondary-button {
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
}

.space-section {
  background: var(--cloud);
}

.space-layout {
  display: grid;
  grid-template-columns: minmax(280px, .48fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.space-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1.15fr .85fr;
  min-height: 500px;
  gap: 12px;
}

.space-strip div {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--teal), #edf7f5);
}

.space-strip div:nth-child(2) {
  grid-column: 1;
  margin-top: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--rose), #f9ece8);
}

.space-strip div:nth-child(3) {
  grid-column: 2;
  margin-top: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--sage), #eef4eb);
}

.news-section {
  padding-top: 80px;
  background: #fff;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(220px, .35fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.news-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-list a {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--cloud);
}

.news-list span {
  flex: 0 0 auto;
  padding: 5px 12px;
  color: var(--paper);
  background: var(--teal);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.notice-main {
  background: #fff;
}

.notice-hero {
  padding: 170px 0 86px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .9), rgba(255, 255, 255, 1)),
    #f7efe7;
}

.notice-hero-inner {
  text-align: center;
}

.notice-hero h1 {
  margin: 14px 0 16px;
  color: #5c4435;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: 0;
}

.notice-hero p:last-child {
  width: min(680px, 100%);
  margin: 0 auto;
  color: #6e625a;
  font-size: 18px;
  line-height: 1.85;
  word-break: keep-all;
}

.notice-board-section {
  padding: 86px 0 128px;
}

.board-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.board-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.board-count {
  margin: 0;
  color: #4d3d33;
  font-size: 20px;
  font-weight: 900;
}

.board-source {
  margin: 8px 0 0;
  color: #8b7a6d;
  font-size: 14px;
}

.board-search {
  display: flex;
  gap: 8px;
}

.board-search input {
  width: 260px;
  height: 48px;
  padding: 0 16px;
  color: #4d3d33;
  background: #fff;
  border: 1px solid #ded0c3;
  border-radius: 0;
  font-size: 15px;
}

.board-search button {
  height: 48px;
  padding: 0 24px;
  color: #fff;
  background: #5a4b41;
  border: 0;
  font-size: 15px;
  font-weight: 800;
}

.admin-login-button,
.admin-logout-button,
.admin-panel-head button,
.admin-editor-actions button,
.board-action-cell button,
.notice-detail-actions button {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: #73533d;
  border: 0;
  font-size: 14px;
  font-weight: 800;
}

.admin-login-button,
.admin-logout-button {
  height: 48px;
  background: #8a7667;
}

.admin-login-panel,
.admin-panel {
  margin: 0 0 30px;
  padding: 24px;
  background: #fbf6f0;
  border: 1px solid #eadfd5;
}

.admin-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.admin-login-form label,
.admin-editor label {
  display: block;
  margin-bottom: 8px;
  color: #73533d;
  font-size: 14px;
  font-weight: 900;
}

.admin-login-form input,
.admin-editor input,
.admin-editor textarea {
  width: 100%;
  padding: 0 14px;
  color: #4d3d33;
  background: #fff;
  border: 1px solid #ded0c3;
  border-radius: 0;
  font-size: 15px;
}

.admin-login-form input,
.admin-editor input {
  height: 46px;
}

.admin-editor textarea {
  min-height: 180px;
  padding: 14px;
  line-height: 1.7;
  resize: vertical;
}

.admin-attachment-field {
  display: grid;
  gap: 10px;
}

.admin-attachment-field input[type="file"] {
  height: auto;
  padding: 12px 14px;
  line-height: 1.4;
}

.admin-attachment-field p {
  margin: 0;
  color: #8b7a6d;
  font-size: 13px;
  line-height: 1.6;
}

.admin-attachment-list {
  display: grid;
  gap: 8px;
}

.attachment-empty {
  margin: 0;
  color: #9a8a7d;
  font-size: 14px;
}

.admin-attachment-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eadfd5;
}

.admin-attachment-item.is-pending {
  grid-template-columns: minmax(0, 1fr) auto;
  background: #f8f0e8;
}

.admin-attachment-item.is-error {
  border-color: rgba(162, 87, 79, .45);
}

.admin-attachment-item img {
  width: 54px;
  height: 42px;
  object-fit: cover;
  background: #f5eee6;
}

.admin-attachment-item span {
  overflow: hidden;
  color: #5f554d;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-attachment-item.is-error span {
  color: #a2574f;
}

.admin-attachment-item button {
  min-height: 34px;
  padding: 0 12px;
  color: #73533d;
  background: #efe4d9;
  border: 0;
  font-size: 13px;
  font-weight: 900;
}

.admin-login-form button {
  height: 46px;
  padding: 0 24px;
  color: #fff;
  background: #5a4b41;
  border: 0;
  font-weight: 800;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-panel-head p {
  margin: 0;
  color: #5f554d;
  font-size: 15px;
}

.admin-panel-head strong {
  color: #5a4030;
}

.admin-editor {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-editor-grid > div:last-child {
  grid-column: 1 / -1;
}

.admin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-editor-actions button:nth-child(2) {
  color: #5a4b41;
  background: #efe4d9;
}

.admin-editor-actions .danger,
.board-action-cell .danger,
.notice-detail-actions .danger {
  background: #a2574f;
}

.admin-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: #73533d;
  font-size: 14px;
  font-weight: 700;
}

.admin-message.is-error {
  color: #a2574f;
}

.board-list-wrap {
  min-height: 280px;
}

.board-table {
  border-top: 2px solid #5a4b41;
}

.board-row {
  display: grid;
  grid-template-columns: 84px 112px minmax(0, 1fr) 142px 80px;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 16px 18px;
  color: #5f554d;
  border-bottom: 1px solid #e7dbcf;
}

.board-table.is-admin .board-row {
  grid-template-columns: 72px 96px minmax(0, 1fr) 130px 70px 132px;
}

.board-row:not(.board-head):hover,
.board-row:not(.board-head):focus {
  background: #fbf6f0;
}

.board-head {
  min-height: 58px;
  color: #73533d;
  background: #f5eee6;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.board-number,
.board-category,
.board-date,
.board-views {
  text-align: center;
}

.board-category {
  color: #8a6047;
  font-weight: 900;
}

.board-title-cell {
  min-width: 0;
}

.board-title-cell a {
  display: block;
  color: inherit;
}

.board-title-cell strong {
  display: block;
  overflow: hidden;
  color: #3d342e;
  font-size: 18px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-title-cell small {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #8b7a6d;
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-action-cell,
.notice-detail-actions {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.board-action-cell button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.board-loading,
.board-empty {
  margin: 0;
  padding: 72px 20px;
  color: #7b6b5f;
  background: #fbf6f0;
  border: 1px solid #eadfd5;
  text-align: center;
  font-size: 17px;
}

.notice-detail {
  padding: 48px 54px;
  border-top: 2px solid #5a4b41;
  border-bottom: 1px solid #e7dbcf;
  background: #fff;
}

.notice-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: #73533d;
  font-size: 15px;
  font-weight: 900;
}

.notice-detail h2 {
  margin: 0;
  color: #3d342e;
  font-size: 34px;
  line-height: 1.45;
  word-break: keep-all;
}

.notice-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 18px;
  padding-bottom: 28px;
  color: #8b7a6d;
  border-bottom: 1px solid #e7dbcf;
  font-size: 15px;
}

.notice-detail-actions {
  margin-left: auto;
}

.notice-detail-body {
  margin-top: 34px;
}

.notice-detail-body p {
  margin: 0;
  color: #4f463f;
  font-size: 18px;
  line-height: 1.95;
  word-break: keep-all;
}

.notice-detail-body p + p {
  margin-top: 14px;
}

.notice-attachment-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.notice-attachment-gallery a {
  display: block;
  overflow: hidden;
  color: #4d3d33;
  background: #fbf6f0;
  border: 1px solid #eadfd5;
}

.notice-attachment-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.notice-attachment-gallery span {
  display: block;
  overflow: hidden;
  padding: 12px 14px;
  color: #5f554d;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-links {
  position: fixed;
  right: 34px;
  bottom: 42px;
  z-index: 35;
  display: grid;
  gap: 12px;
}

.quick-links a {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: #fff;
  background: var(--deep);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(18, 60, 59, .18);
  font-size: 12px;
  font-weight: 900;
}

.quick-links a:nth-child(1) {
  background: #6b625d;
}

.quick-links a:nth-child(2) {
  background: #20b35b;
}

.quick-links a:nth-child(3) {
  background: var(--rose);
}

.quick-links span {
  font-size: 21px;
  line-height: 1;
}

.site-footer {
  background: #f1f7f5;
}

.footer-top {
  border-bottom: 1px solid var(--line);
}

.footer-top,
.footer-inner,
.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  gap: 26px;
  padding: 18px 0;
  color: var(--deep);
  font-weight: 900;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
  gap: 48px;
  padding: 48px 0 28px;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 28px 0 0;
  color: var(--muted);
}

.footer-info div {
  display: flex;
  gap: 12px;
}

.footer-info dt {
  flex: 0 0 auto;
  color: var(--deep);
  font-weight: 900;
  white-space: nowrap;
}

.footer-info dd {
  margin: 0;
}

.footer-info .footer-address {
  grid-column: 1 / -1;
}

.footer-info .footer-address dd {
  white-space: nowrap;
}

.footer-schedule {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.footer-schedule p {
  margin: 0 0 14px;
  color: var(--deep);
  font-weight: 900;
}

.footer-schedule span {
  display: block;
  margin-top: 12px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 900;
}

.copyright {
  padding: 0 0 32px;
  color: var(--muted);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(18, 60, 59, .58);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 44px);
  overflow: auto;
  padding: 34px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.notice-card {
  border-top: 7px solid var(--teal);
}

.long-modal {
  width: min(720px, 100%);
}

.image-modal-card {
  width: min(900px, calc(100vw - 36px));
  padding: 0;
  overflow: hidden;
  background: #fbf7f1;
  border: 1px solid rgba(231, 217, 203, .72);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.modal-card h2 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: 32px;
  line-height: 1.25;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.modal-card h3 {
  margin: 22px 0 8px;
  color: var(--deep);
  font-size: 18px;
}

.modal-card p {
  color: var(--muted);
}

.modal-lead {
  margin-top: 0;
}

.modal-scroll {
  max-height: 50svh;
  overflow: auto;
  padding-right: 8px;
}

.modal-image-scroll {
  max-height: calc(100svh - 44px);
  overflow: auto;
  padding: 18px;
}

.modal-guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(61, 52, 45, .13);
}

.today-close {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.today-close input {
  accent-color: var(--teal);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
}

.price-table th,
.price-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  color: var(--deep);
  background: var(--cloud);
}

@media (max-width: 1240px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    width: min(100% - 34px, 1180px);
  }

  .program-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .brand-name {
    font-size: 18px;
  }

  .phone-link span {
    display: none;
  }

  .mega-grid,
  .split,
  .doctor-layout,
  .values-layout,
  .location-section,
  .space-layout,
  .news-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .mega-links {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .mega-info {
    padding: 28px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    width: min(100% - 32px, 680px);
  }

  .hero-symbol {
    width: 390px;
    height: 134px;
  }

  .hero-symbol span {
    width: 134px;
    height: 134px;
    font-size: 56px;
  }

  .hero-symbol span:nth-child(1) {
    left: 0;
  }

  .hero-symbol span:nth-child(2) {
    left: 128px;
  }

  .hero-symbol span:nth-child(3) {
    left: 256px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .section-copy h2,
  .section-head h2,
  .doctor-copy h2,
  .contact-panel h2,
  .space-copy h2,
  .news-layout h2 {
    font-size: 34px;
  }

  .section-head {
    display: block;
  }

  .program-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-card {
    min-height: 320px;
  }

  .value-slider {
    min-height: 620px;
  }

  .value-slide {
    grid-template-columns: 1fr;
  }

  .location-map {
    min-height: 420px;
  }

  .contact-panel {
    padding: 58px 24px;
  }

  .footer-info {
    grid-template-columns: 1fr;
  }

  .notice-hero {
    padding: 130px 0 64px;
  }

  .notice-hero h1 {
    font-size: 40px;
  }

  .board-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .board-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .board-controls .board-search {
    width: 100%;
  }

  .board-search input {
    width: 100%;
  }

  .admin-login-form,
  .admin-editor-grid {
    grid-template-columns: 1fr;
  }

  .admin-editor-grid > div:last-child {
    grid-column: auto;
  }

  .admin-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .board-table {
    border-top-width: 1px;
  }

  .board-head {
    display: none;
  }

  .board-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 14px;
    padding: 18px 4px;
  }

  .board-table.is-admin .board-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .board-number,
  .board-views {
    display: none;
  }

  .board-category {
    align-self: start;
    padding: 4px 9px;
    color: #fff;
    background: #7b604f;
    font-size: 12px;
  }

  .board-title-cell {
    grid-column: 2;
  }

  .board-title-cell strong,
  .board-title-cell small {
    white-space: normal;
  }

  .board-date {
    grid-column: 2;
    text-align: left;
    font-size: 13px;
  }

  .board-action-cell {
    grid-column: 2;
    justify-content: flex-start;
  }

  .notice-detail {
    padding: 34px 0;
  }

  .notice-detail h2 {
    font-size: 28px;
  }

  .notice-detail-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .notice-attachment-gallery {
    grid-template-columns: 1fr;
  }

  .admin-attachment-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .admin-attachment-item button {
    grid-column: 2;
    justify-self: start;
  }

  .quick-links {
    right: 16px;
    bottom: 18px;
  }

  .quick-links a {
    width: 62px;
    height: 62px;
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 10px;
  }

  .brand-name {
    font-size: 16px;
  }

  .header-actions {
    position: absolute;
    top: 50%;
    right: 12px;
    gap: 8px;
    transform: translateY(-50%);
  }

  .phone-link {
    display: none;
  }

  .header-actions .menu-toggle {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 50%;
  }

  .site-header.is-scrolled .menu-toggle {
    color: var(--deep);
    border-color: var(--line);
  }

  .mobile-menu-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 50%;
  }

  .mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .site-header.is-scrolled .mobile-menu-button {
    color: var(--deep);
    background: #fff;
    border-color: var(--line);
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-symbol {
    width: 324px;
    height: 114px;
    margin-bottom: 18px;
  }

  .hero-symbol span {
    width: 114px;
    height: 114px;
    font-size: 48px;
  }

  .hero-symbol span:nth-child(1) {
    left: 0;
  }

  .hero-symbol span:nth-child(2) {
    left: 105px;
  }

  .hero-symbol span:nth-child(3) {
    left: 210px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 16px;
  }

  .scroll-cue {
    bottom: 14px;
  }

  .section-inner {
    width: calc(100% - 28px);
  }

  .intro-stat {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-stat span {
    text-align: left;
  }

  .doctor-name {
    display: block;
  }

  .program-list {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 0;
  }

  .value-slider {
    min-height: 560px;
  }

  .value-slide {
    padding: 18px;
  }

  .value-slide h3 {
    font-size: 28px;
  }

  .space-strip {
    min-height: 420px;
    gap: 8px;
  }

  .notice-hero h1 {
    font-size: 34px;
  }

  .notice-board-section {
    padding: 62px 0 94px;
  }

  .board-search {
    flex-direction: column;
  }

  .board-search button {
    width: 100%;
  }

  .notice-detail-body p {
    font-size: 16px;
    line-height: 1.85;
  }

  .footer-top {
    gap: 18px;
    font-size: 14px;
  }

  .modal-card {
    padding: 28px 20px 22px;
  }

  .image-modal-card {
    padding: 0;
  }

  .modal-image-scroll {
    padding: 10px;
  }

  .modal-guide-image {
    width: 720px;
    max-width: none;
  }
}

/* Reference fidelity pass: closer to the warm, image-led clinic layout. */
:root {
  --ink: #51463d;
  --muted: #766c64;
  --deep: #51463d;
  --teal: #796a61;
  --rose: #b98576;
  --sage: #a69b86;
  --plum: #7b6a67;
  --gold: #b99868;
  --cloud: #f7f3ed;
  --warm: #efe5da;
  --line: #e6ddd4;
  --shadow: 0 24px 68px rgba(81, 70, 61, .18);
  --header-height: 88px;
}

body {
  background: #fff;
  color: #51463d;
}

.site-header {
  height: var(--header-height);
  color: #51463d;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #e6ddd4;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  color: #51463d;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 34px rgba(81, 70, 61, .1);
}

.header-inner {
  width: min(1580px, calc(100% - 80px));
}

.brand {
  gap: 13px;
  font-weight: 900;
}

.brand-mark {
  width: 43px;
  height: 43px;
  flex-basis: 43px;
  border-width: 2px;
  font-size: 12px;
}

.brand-name {
  font-size: 21px;
  letter-spacing: -.2px;
}

.nav-list {
  gap: 24px;
}

.nav-list > li > a {
  padding: 31px 6px;
  font-size: 18px;
  font-weight: 800;
}

.dropdown {
  width: 210px;
  padding: 14px;
  border-color: rgba(81, 70, 61, .12);
  box-shadow: 0 20px 48px rgba(81, 70, 61, .16);
}

.dropdown a {
  color: #756a62;
  font-weight: 700;
}

.phone-link {
  font-size: 18px;
  letter-spacing: 0;
}

.phone-link svg {
  width: 19px;
  height: 19px;
}

.menu-toggle {
  width: 34px;
  height: 34px;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
}

.site-header {
  color: #fff;
  background: rgba(44, 36, 30, .14);
  border-bottom-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}

.site-header.is-scrolled {
  color: #51463d;
  background: rgba(255, 255, 255, .94);
  border-bottom-color: #e6ddd4;
  box-shadow: 0 10px 34px rgba(81, 70, 61, .1);
}

.site-header .brand-logo-on-dark {
  display: block;
}

.site-header .brand-logo-on-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-on-dark,
.mega-menu .brand-logo-on-dark,
.site-footer .brand-logo-on-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo-on-light,
.mega-menu .brand-logo-on-light,
.site-footer .brand-logo-on-light {
  display: block;
}

/* Notice uses the same image-led opening as the category pages. */
body.notice-page .notice-hero {
  position: relative;
  min-height: 475px;
  padding: 150px 0 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(58, 47, 39, .58), rgba(58, 47, 39, .34)),
    url("assets/clinic-reception-waiting-v3.jpg") center 54% / cover no-repeat;
}

body.notice-page .notice-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(42, 35, 30, .18), rgba(42, 35, 30, .04) 58%, rgba(42, 35, 30, .3));
}

body.notice-page .notice-hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  text-align: center;
}

body.notice-page .notice-hero .eyebrow {
  color: rgba(255, 255, 255, .86);
}

body.notice-page .notice-hero h1 {
  color: #fff;
  text-shadow: 0 3px 18px rgba(49, 38, 30, .24);
}

body.notice-page .notice-hero p:last-child {
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 12px rgba(49, 38, 30, .22);
}

body.notice-page .site-header:not(.is-scrolled) {
  color: #fff;
  background: rgba(44, 36, 30, .14);
  border-bottom-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}

body.notice-page .site-header:not(.is-scrolled) .brand-logo-on-dark {
  display: block;
}

body.notice-page .site-header:not(.is-scrolled) .brand-logo-on-light {
  display: none;
}

@media (max-width: 900px) {
  body.notice-page .notice-hero {
    min-height: 390px;
    padding: 112px 0 28px;
  }

  body.notice-page .notice-hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 560px) {
  body.notice-page .notice-hero {
    min-height: 360px;
  }

  body.notice-page .notice-hero h1 {
    font-size: 34px;
  }

  body.notice-page .notice-hero p:last-child {
    font-size: 15px;
    line-height: 1.7;
  }
}

.hero {
  min-height: 100svh;
  background: #f6f2ec;
}

.hero-image {
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(58, 47, 39, .18), rgba(58, 47, 39, .34)),
    rgba(90, 75, 64, .2);
}

.hero-inner {
  width: min(980px, calc(100% - 40px));
  padding-top: 120px;
}

.hero-kicker,
.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-symbol {
  width: 704px;
  height: 268px;
  margin-bottom: 30px;
}

.hero-symbol::before,
.hero-symbol::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
}

.hero-symbol::before {
  left: 37.5%;
  top: 49%;
  transform: translate(-50%, -50%);
}

.hero-symbol::after {
  left: 62.5%;
  top: 49%;
  transform: translate(-50%, -50%);
}

.hero-symbol span {
  width: 268px;
  height: 268px;
  border-color: rgba(255, 255, 255, .82);
  font-size: 112px;
  font-weight: 300;
  text-shadow: 0 2px 18px rgba(81, 70, 61, .24);
}

.hero-symbol span:nth-child(1) {
  left: 34px;
}

.hero-symbol span:nth-child(2) {
  left: 218px;
}

.hero-symbol span:nth-child(3) {
  left: 402px;
}

.hero-copy {
  max-width: 800px;
  color: rgba(255, 255, 255, .96);
  font-size: 28px;
  line-height: 1.75;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(70, 58, 49, .28);
}

.scroll-cue {
  bottom: 30px;
}

.scroll-cue span {
  font-size: 14px;
}

.scroll-cue i {
  height: 64px;
}

.intro-section {
  display: none;
}

.section {
  padding: 150px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 64px));
}

.doctor-section {
  background: #fff;
}

.doctor-layout {
  grid-template-columns: minmax(430px, .8fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}

.doctor-photo-wrap {
  aspect-ratio: 510 / 600;
  border-radius: 0;
  box-shadow: none;
}

.doctor-photo-wrap.doctor-career-image-wrap {
  aspect-ratio: 1600 / 1933;
}

.doctor-photo-wrap::after {
  inset: 22px;
  border-radius: 0;
}

.eyebrow {
  color: #a47767;
  font-size: 16px;
  letter-spacing: .02em;
}

.section-copy h2,
.section-head h2,
.doctor-copy h2,
.contact-panel h2,
.space-copy h2,
.news-layout h2 {
  color: #51463d;
  font-size: 52px;
  line-height: 1.28;
  font-weight: 500;
  word-break: keep-all;
}

.space-copy h2 {
  font-size: 44px;
}

.doctor-message,
.section-copy p:last-child,
.space-copy p {
  color: #766c64;
  font-size: 18px;
  line-height: 1.95;
}

.doctor-name strong {
  color: #51463d;
  font-size: 46px;
  font-weight: 500;
}

.doctor-name span {
  color: #a47767;
}

.doctor-list {
  color: #766c64;
  font-size: 17px;
}

.doctor-list li::before {
  background: #a47767;
}

.programs-section {
  padding-top: 150px;
  background: #f7f3ed;
}

.section-head {
  display: block;
  max-width: 760px;
  margin-bottom: 60px;
}

.program-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  min-height: 545px;
  padding: 0 0 34px;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 24px 54px rgba(81, 70, 61, .09);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(81, 70, 61, .16);
}

.program-card.is-anchor-focused {
  outline: 2px solid rgba(164, 119, 103, .58);
  outline-offset: 8px;
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(81, 70, 61, .2);
}

.program-card .program-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0 0 34px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.program-visual svg {
  display: none;
}

.program-card:nth-child(1) .program-visual {
  background-image: linear-gradient(rgba(90, 75, 64, .08), rgba(90, 75, 64, .08)), url("assets/program-disease-v2.png");
  background-position: center;
}

.program-card:nth-child(2) .program-visual {
  background-image: linear-gradient(rgba(150, 115, 96, .1), rgba(150, 115, 96, .1)), url("assets/program-checkup-v2.png");
  background-position: center;
}

.program-card:nth-child(3) .program-visual {
  background-image: linear-gradient(rgba(92, 74, 63, .1), rgba(92, 74, 63, .1)), url("assets/program-pregnancy-v2.png");
  background-position: center;
}

.program-card:nth-child(4) .program-visual {
  background-image: linear-gradient(135deg, rgba(120, 98, 89, .1), rgba(244, 232, 222, .16)), url("assets/program-menopause-v2.png");
  background-position: center;
}

.program-card:nth-child(5) .program-visual {
  background-image: linear-gradient(135deg, rgba(181, 142, 105, .1), rgba(255, 255, 255, .12)), url("assets/program-care-v2.png");
  background-position: center;
}

.program-card h3,
.program-card p,
.program-card a {
  margin-left: 26px;
  margin-right: 26px;
}

.program-card h3 {
  color: #51463d;
  font-size: 26px;
  font-weight: 500;
  word-break: keep-all;
}

.program-card p {
  color: #766c64;
  font-size: 16px;
  line-height: 1.85;
}

.program-card a {
  color: #51463d;
  font-weight: 900;
}

.service-guide-section {
  padding-top: 0;
  background: #f7f3ed;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  min-height: 310px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #e6ddd4;
  box-shadow: 0 18px 42px rgba(81, 70, 61, .07);
}

.service-grid h3 {
  margin: 0 0 18px;
  color: #51463d;
  font-size: 24px;
  font-weight: 650;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
}

.service-grid ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-grid li {
  position: relative;
  padding-left: 15px;
  color: #766c64;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.service-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  background: #a47767;
  border-radius: 50%;
}

.category-main {
  background: #fff;
  overflow: hidden;
}

.category-top {
  height: 475px;
  padding: 190px 0 30px;
  color: #fff;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.category-top-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.category-top-title {
  margin: 0 0 22px;
  color: #fff;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 500;
}

.category-top-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, .95);
  font-size: 16px;
  font-weight: 700;
}

.head-category {
  margin-top: auto;
}

.head-category ul {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.head-category li {
  position: relative;
  padding: 0 18px;
}

.head-category li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 15px;
  margin-top: -7px;
  background: rgba(255, 255, 255, .55);
}

.head-category li:last-child::after {
  display: none;
}

.home-path {
  width: 28px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
}

.wrap-select {
  position: relative;
  width: 214px;
}

.wrap-select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, .78);
  border-bottom: 2px solid rgba(255, 255, 255, .78);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.wrap-select select {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 16px;
  color: #fff;
  background: rgba(74, 63, 55, .2);
  border: 0;
  border-radius: 0;
  appearance: none;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-align-last: center;
}

.wrap-select option {
  color: #4a3f37;
  background: #fff;
}

.category-section {
  padding: 118px 0;
}

.category-section .txt-wrap-com {
  text-align: center;
}

.txt-wrap-com + .txt-wrap-com {
  margin-top: 116px;
}

.detail-block + .detail-block {
  margin-top: 116px;
}

.txt-wrap-com .b-title {
  margin: 0 0 12px;
  color: #d1a47a;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .46em;
  text-transform: uppercase;
}

.detail-title {
  margin: 0;
  color: #333;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.75;
  font-weight: 700;
  letter-spacing: 0;
}

.detail-title span:first-child {
  color: #73533d;
}

.detail-desc {
  max-width: 920px;
  margin: 22px auto 0;
  color: #333;
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

.detail-desc:first-of-type {
  color: #4c423a;
  font-weight: 600;
}

.body-desc {
  margin-top: 10px;
}

.sentence-line {
  display: block;
}

.sentence-line + .sentence-line {
  margin-top: .18em;
}

.text-highlight {
  display: inline;
  padding: 0 .08em .02em;
  color: #5a4030;
  background:
    linear-gradient(transparent 54%, rgba(214, 183, 149, .42) 0),
    linear-gradient(rgba(255, 250, 242, .52), rgba(255, 250, 242, .52));
  border-radius: 3px;
  font-weight: 800;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.zigzag-wrap {
  margin-top: 54px;
}

.zigzag-wrap ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.zigzag-wrap li {
  width: calc((100% - 60px) / 4);
  min-width: 0;
}

.zigzag-wrap li:nth-child(even) {
  margin-top: 80px;
}

.zigzag-wrap.zigzag-count-6 ul {
  display: grid;
  width: min(1280px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.zigzag-wrap.zigzag-count-6 li {
  width: auto;
}

.zigzag-wrap.zigzag-count-6 li:nth-child(even) {
  margin-top: 0;
}

.zigzag-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  vertical-align: top;
}

.zigzag-wrap .txt-wrap {
  min-height: 90px;
  margin-top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 14px;
  color: #fff;
  background: #6d5d51;
  border-radius: 0 0 30px 0;
  text-align: center;
}

.zigzag-wrap .txt-wrap p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  word-break: keep-all;
}

.check-card-wrap {
  margin-top: 54px;
}

.check-card-wrap ul {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.check-card-wrap.check-card-count-2 ul {
  width: min(820px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-card-wrap.check-card-count-3 ul {
  width: min(960px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-card-wrap.check-card-count-4 ul {
  width: min(960px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-card-wrap.check-card-count-6 ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-card-wrap.check-card-count-5 ul {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.check-card-wrap.check-card-count-5 li {
  grid-column: span 2;
}

.check-card-wrap.check-card-count-5 li:nth-child(4) {
  grid-column: 2 / span 2;
}

.check-card-wrap.check-card-count-5 li:nth-child(5) {
  grid-column: 4 / span 2;
}

.check-card-wrap li {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 132px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #5f554d;
  background: #f5eee6;
  border: 1px solid #e8dbce;
  text-align: center;
}

.check-card-wrap li.has-card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--card-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .28;
  filter: saturate(.82) sepia(.06) contrast(1.04);
  mix-blend-mode: multiply;
  transform: scale(1.04);
}

.check-card-wrap li.has-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(245, 238, 230, .72), rgba(245, 238, 230, .55));
}

.check-card-number {
  position: relative;
  z-index: 2;
  color: #cda07b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.check-card-title {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #73533d;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
}

.device-intro {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.device-intro .txt-wrap-com {
  width: 100%;
  padding: 0;
  text-align: left;
}

.device-intro .detail-desc {
  text-align: left;
}

.device-intro-subtitle {
  margin: 24px 0;
  color: #73533d;
  font-size: 20px;
  line-height: 1.65;
  word-break: keep-all;
}

.device-intro-figure {
  min-width: 0;
  margin: 0;
}

.device-intro-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #f5eee6;
}

.device-intro-figure figcaption {
  margin-top: 10px;
  color: #6b6056;
  font-size: 14px;
  text-align: right;
}

@media (max-width: 760px) {
  .device-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

}

.info-card-wrap {
  margin-top: 54px;
}

.info-card-wrap ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.info-card-wrap.info-card-count-2 ul {
  width: min(1120px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card-wrap.info-card-count-4 ul {
  width: min(1180px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card-wrap.info-card-count-3 ul,
.info-card-wrap.info-card-count-6 ul {
  width: min(1180px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card-wrap.info-card-count-5 ul {
  width: min(1180px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.info-card-wrap.info-card-count-5 li {
  grid-column: span 2;
}

.info-card-wrap.info-card-count-5 li:nth-child(4) {
  grid-column: 2 / span 2;
}

.info-card-wrap.info-card-count-5 li:nth-child(5) {
  grid-column: 4 / span 2;
}

.info-card-wrap li {
  min-height: 248px;
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5eee6;
  border: 1px solid #e8dbce;
  text-align: center;
}

.info-card-wrap .sub-title {
  margin: 0;
  color: #73533d;
  font-size: 25px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  word-break: keep-all;
}

.info-card-wrap .info-desc {
  margin: 20px 0 0;
  color: #5f554d;
  font-size: 17px;
  line-height: 1.85;
  text-align: center;
  word-break: keep-all;
}

.info-card-wrap .sentence-line + .sentence-line {
  margin-top: .12em;
}

.faq-wrap {
  width: min(1180px, 100%);
  margin: 54px auto 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.faq-card {
  min-height: 250px;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f8f3ed;
  border: 1px solid #e8dbce;
}

.faq-card dt {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: #73533d;
}

.faq-number {
  flex: 0 0 auto;
  color: #c99670;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}

.faq-question {
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.5;
  word-break: keep-all;
}

.faq-answer {
  margin: 20px 0 0 43px;
  color: #5f554d;
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
}

.faq-source {
  margin: 18px 0 0;
  color: #8a7b70;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.career-board-wrap {
  width: min(720px, 100%);
  margin: 54px auto 0;
}

.career-board-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  filter: drop-shadow(0 28px 58px rgba(81, 70, 61, .14));
}

.career-text-alternative {
  margin-top: 22px;
  color: #5f554d;
  background: #f8f3ed;
  border: 1px solid #e8dbce;
}

.career-text-alternative summary {
  padding: 16px 20px;
  color: #684c3a;
  font-weight: 800;
  cursor: pointer;
}

.career-text-alternative ul {
  margin: 0;
  padding: 4px 28px 22px 44px;
  line-height: 1.9;
}

.fade-gallery {
  width: min(1180px, 100%);
  margin: 54px auto 0;
}

.fade-gallery-viewport {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  aspect-ratio: 16 / 8.4;
  background: #f5eee6;
  border: 1px solid #e8dbce;
}

.fade-gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.35s ease;
  pointer-events: none;
}

.fade-gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fade-gallery-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 5.8s ease;
}

.fade-gallery-slide.is-active img {
  transform: scale(1);
}

.fade-gallery-contain {
  width: min(816px, 100%);
}

.fade-gallery-contain .fade-gallery-viewport {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #103f4d;
  border-color: #d8c8bb;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(81, 70, 61, .13);
}

.fade-gallery-contain .fade-gallery-slide img,
.fade-gallery-contain .fade-gallery-slide.is-active img {
  object-fit: contain;
  transform: none;
}

.fade-gallery-source {
  margin: 16px 0 0;
  color: #8a7b70;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.fade-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.fade-gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8c9bc;
  cursor: pointer;
  transition: width .28s ease, background .28s ease;
}

.fade-gallery-dot.is-active {
  width: 28px;
  background: #73533d;
}

.resource-link-wrap {
  width: min(1180px, 100%);
  margin: 54px auto 0;
}

.resource-link-wrap ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.resource-link-count-2 {
  width: min(960px, 100%);
}

.resource-link-count-2 ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-link-wrap a {
  position: relative;
  min-height: 178px;
  height: 100%;
  padding: 32px 58px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #5f554d;
  background: #f5eee6;
  border: 1px solid #e8dbce;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.resource-link-wrap a:hover,
.resource-link-wrap a:focus-visible {
  background: #fbf7f2;
  border-color: #cdaa8e;
  transform: translateY(-3px);
}

.resource-link-title {
  color: #73533d;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.45;
}

.resource-link-desc {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

.resource-link-arrow {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #b88965;
  font-size: 24px;
  line-height: 1;
}

.section-02 {
  min-height: 405px;
}

.section-02.bg-img {
  color: #fff;
  background:
    linear-gradient(rgba(74, 63, 55, .86), rgba(74, 63, 55, .82)),
    url("assets/clinic-reception-waiting-v3.jpg") center 54% / cover no-repeat;
}

.section-02 .detail-title,
.section-02 .detail-desc {
  color: #fff;
}

.section-02 .detail-desc {
  max-width: 860px;
}

.diagram {
  width: min(720px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 46px auto 0;
  list-style: none;
}

.diagram[hidden] {
  display: none;
}

.diagram li {
  width: 252px;
  height: 252px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: #4a3f37;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .96), rgba(251, 247, 242, .86)),
    linear-gradient(135deg, #f7efe6, #d6b795);
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  white-space: pre-line;
}

.diagram li + li {
  margin-left: -20px;
}

.values-section {
  background: #fff;
  color: #51463d;
}

.values-section .section-head h2 {
  color: #51463d;
}

.values-section .eyebrow {
  color: #a47767;
}

.values-layout {
  grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr);
  gap: 70px;
}

.slider-control {
  border-color: #e6ddd4;
}

.slider-control button {
  color: #fff;
  background: #51463d;
}

.slider-control span {
  color: #51463d;
}

.value-slider {
  min-height: 430px;
}

.value-slide {
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1fr);
  padding: 0;
  gap: 48px;
  background: transparent;
  border: 0;
}

.value-image {
  border-radius: 0;
  background-image: linear-gradient(rgba(81, 70, 61, .08), rgba(81, 70, 61, .08)), url("assets/clinic-reception-waiting-v3.jpg");
  background-size: cover;
  background-position: center 54%;
}

.value-two {
  background-image: linear-gradient(rgba(81, 70, 61, .08), rgba(81, 70, 61, .08)), url("assets/clinic-ultrasound-room-v3.jpg");
  background-position: center;
}

.value-three {
  background-image: linear-gradient(rgba(81, 70, 61, .08), rgba(81, 70, 61, .08)), url("assets/clinic-window-waiting-v3.jpg");
  background-position: center;
}

.value-num {
  color: #a47767;
}

.value-slide h3 {
  color: #51463d;
  font-size: 40px;
  font-weight: 500;
}

.value-slide p:last-child {
  color: #766c64;
  font-size: 18px;
  line-height: 1.9;
}

.location-section {
  background: #fff;
}

.location-map {
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(122, 106, 94, .12) 1px, transparent 1px) 0 0 / 74px 74px,
    linear-gradient(0deg, rgba(122, 106, 94, .12) 1px, transparent 1px) 0 0 / 74px 74px,
    linear-gradient(135deg, #f7f3ed, #fffaf5 55%, #ead9cb);
}

.map-lines {
  border-color: rgba(122, 106, 94, .38);
}

.map-lines::before,
.map-lines::after {
  background: rgba(172, 116, 97, .58);
}

.map-pin::before {
  background: #a47767;
}

.contact-panel {
  background: #fff;
}

.primary-button {
  background: #51463d;
  border-color: #51463d;
}

.quick-links {
  right: 52px;
  bottom: 42px;
  gap: 18px;
}

.quick-links a {
  width: 78px;
  height: 78px;
  background: #51463d;
}

.quick-links a:nth-child(1) {
  background: #d8d2cf;
  color: #51463d;
}

.quick-links a:nth-child(2) {
  background: #20bf59;
}

.quick-links a:nth-child(3) {
  background: #51463d;
}

.space-section {
  background: #fff;
}

.space-strip div {
  border-radius: 0;
  background-image: linear-gradient(rgba(128, 88, 72, .07), rgba(128, 88, 72, .07)), url("assets/clinic-reception-waiting-v3.jpg");
  background-size: cover;
  background-position: center 54%;
}

.space-strip div:nth-child(2) {
  background-image: linear-gradient(rgba(81, 70, 61, .06), rgba(81, 70, 61, .06)), url("assets/clinic-window-waiting-v3.jpg");
  background-size: cover;
  background-position: center 52%;
}

.space-strip div:nth-child(3) {
  background-image: linear-gradient(rgba(81, 70, 61, .06), rgba(81, 70, 61, .06)), url("assets/clinic-ultrasound-room-v3.jpg");
  background-size: cover;
  background-position: left 50%;
}

.news-section,
.site-footer {
  background: #f7f3ed;
}

@media (max-width: 1240px) {
  .nav-list {
    gap: 2px;
  }

  .program-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    height: var(--header-height);
    width: 100vw;
    max-width: 100vw;
    overflow-x: clip;
  }

  .header-inner {
    width: calc(100vw - 28px);
  }

  .site-header .logo-brand {
    width: 171px;
  }

  .site-header .brand-logo {
    width: 162px;
  }

  .mega-top .brand-logo {
    width: 181px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-width: 1px;
  }

  .brand-name {
    font-size: 17px;
  }

  .mobile-menu-button {
    top: 12px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    width: min(100% - 28px, 500px);
    padding-top: 70px;
  }

  .hero-symbol {
    width: 480px;
    height: 170px;
  }

  .hero-symbol span {
    width: 170px;
    height: 170px;
    font-size: 72px;
  }

  .hero-symbol span:nth-child(1) {
    left: 22px;
  }

  .hero-symbol span:nth-child(2) {
    left: 155px;
  }

  .hero-symbol span:nth-child(3) {
    left: 288px;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 20px;
  }

  .section {
    padding: 92px 0;
  }

  .section-inner {
    width: calc(100% - 34px);
  }

  .doctor-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .doctor-photo-wrap {
    width: min(430px, 100%);
    margin: 0 auto;
  }

  .section-copy h2,
  .section-head h2,
  .doctor-copy h2,
  .contact-panel h2,
  .space-copy h2,
  .news-layout h2 {
    font-size: 38px;
  }

  .programs-section {
    padding-top: 92px;
  }

  .program-list {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 0;
  }

  .program-visual {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .values-layout,
  .value-slide {
    grid-template-columns: 1fr;
  }

  .value-slider {
    min-height: 620px;
  }

  .location-map {
    min-height: 460px;
  }

  .quick-links {
    right: 16px;
    bottom: 18px;
  }
}

@media (max-width: 560px) {
  .hero-image {
    object-position: 58% center;
  }

  .hero-symbol {
    width: 330px;
    height: 126px;
  }

  .hero-symbol span {
    width: 126px;
    height: 126px;
    font-size: 54px;
  }

  .hero-symbol span:nth-child(1) {
    left: 0;
  }

  .hero-symbol span:nth-child(2) {
    left: 102px;
  }

  .hero-symbol span:nth-child(3) {
    left: 204px;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-symbol::before {
    left: 35%;
  }

  .hero-symbol::after {
    left: 65%;
  }

  .quick-links a {
    width: 54px;
    height: 54px;
    font-size: 10px;
  }

  .quick-links {
    position: static;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 34px auto 52px;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(216, 204, 194, .72);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(81, 70, 61, .16);
    transform: none;
    backdrop-filter: blur(10px);
  }

  .quick-links a {
    width: 50px;
    height: 50px;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .site-header > .mobile-menu-button {
    position: fixed !important;
    top: 12px !important;
    right: auto !important;
    left: calc(100vw - 52px) !important;
    z-index: 120 !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    background: rgba(81, 70, 61, .22);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
  }

  .site-header > .mobile-menu-button span {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .site-header.is-scrolled > .mobile-menu-button {
    color: #51463d;
    background: rgba(255, 255, 255, .9);
    border-color: #ddd3c9;
  }
}

@media (max-width: 900px) {
  .location-section {
    padding: 0;
  }

  .mega-menu {
    align-items: flex-start;
    justify-items: center;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px;
    -webkit-overflow-scrolling: touch;
  }

  .mega-panel {
    width: min(100%, calc(100vw - 36px));
    max-height: none;
    overflow: visible;
  }

  .mega-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-top {
    height: 420px;
    padding: 136px 0 28px;
  }

  .category-section {
    padding: 86px 0;
  }

  .txt-wrap-com + .txt-wrap-com {
    margin-top: 82px;
  }

  .detail-block + .detail-block {
    margin-top: 82px;
  }

  .zigzag-wrap ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zigzag-wrap.zigzag-count-6 ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zigzag-wrap li {
    width: auto;
  }

  .zigzag-wrap li:nth-child(even) {
    margin-top: 0;
  }

  .check-card-wrap ul,
  .check-card-wrap.check-card-count-2 ul,
  .check-card-wrap.check-card-count-3 ul,
  .check-card-wrap.check-card-count-4 ul,
  .check-card-wrap.check-card-count-5 ul,
  .check-card-wrap.check-card-count-6 ul {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-card-wrap.check-card-count-5 li,
  .check-card-wrap.check-card-count-5 li:nth-child(4),
  .check-card-wrap.check-card-count-5 li:nth-child(5) {
    grid-column: auto;
  }

  .info-card-wrap ul {
    grid-template-columns: 1fr;
  }

  .resource-link-wrap ul {
    grid-template-columns: 1fr;
  }

  .info-card-wrap.info-card-count-2 ul,
  .info-card-wrap.info-card-count-3 ul,
  .info-card-wrap.info-card-count-4 ul,
  .info-card-wrap.info-card-count-5 ul,
  .info-card-wrap.info-card-count-6 ul {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .info-card-wrap.info-card-count-5 li,
  .info-card-wrap.info-card-count-5 li:nth-child(4),
  .info-card-wrap.info-card-count-5 li:nth-child(5) {
    grid-column: auto;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .info-card-wrap li {
    min-height: 0;
  }

  .diagram li {
    width: 210px;
    height: 210px;
    font-size: 19px;
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 0;
  }

  .category-top {
    height: 390px;
    padding: 112px 0 24px;
  }

  .category-top-title {
    font-size: 34px;
  }

  .category-top-subtitle {
    width: min(100%, 300px);
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
  }

  .head-category ul {
    flex-wrap: wrap;
    gap: 8px 0;
  }

  .site-header .logo-brand {
    width: 156px;
  }

  .site-header .brand-logo {
    width: 148px;
  }

  .site-footer .brand-logo {
    width: 203px;
  }

  .head-category li {
    padding: 0 8px;
  }

  .head-category li:first-child {
    display: none;
  }

  .wrap-select {
    width: 158px;
  }

  .wrap-select select {
    height: 40px;
    padding: 0 30px 0 8px;
    font-size: 14px;
  }

  .category-section {
    padding: 66px 0;
  }

  .txt-wrap-com + .txt-wrap-com {
    margin-top: 62px;
  }

  .detail-block + .detail-block {
    margin-top: 62px;
  }

  .txt-wrap-com .b-title {
    font-size: 15px;
    letter-spacing: .34em;
  }

  .detail-title {
    font-size: 28px;
    line-height: 1.45;
  }

  .detail-desc {
    font-size: 16px;
    line-height: 1.75;
  }

  .zigzag-wrap {
    margin-top: 34px;
  }

  .zigzag-wrap ul {
    grid-template-columns: 1fr;
  }

  .zigzag-wrap.zigzag-count-6 ul {
    grid-template-columns: 1fr;
  }

  .zigzag-wrap img {
    aspect-ratio: 1.5 / 1;
  }

  .zigzag-wrap .txt-wrap {
    min-height: 76px;
  }

  .check-card-wrap {
    margin-top: 34px;
  }

  .check-card-wrap ul,
  .check-card-wrap.check-card-count-2 ul,
  .check-card-wrap.check-card-count-3 ul,
  .check-card-wrap.check-card-count-4 ul,
  .check-card-wrap.check-card-count-5 ul,
  .check-card-wrap.check-card-count-6 ul {
    grid-template-columns: 1fr;
  }

  .check-card-wrap li {
    min-height: 104px;
    padding: 22px 18px;
  }

  .check-card-title {
    font-size: 20px;
  }

  .info-card-wrap {
    margin-top: 34px;
  }

  .faq-wrap {
    margin-top: 34px;
  }

  .faq-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .faq-question {
    font-size: 20px;
  }

  .faq-answer {
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.75;
  }

  .career-board-wrap {
    width: min(390px, 100%);
    margin-top: 34px;
  }

  .career-board-image {
    border-radius: 20px;
  }

  .info-card-wrap li {
    padding: 30px 24px;
  }

  .info-card-wrap .sub-title {
    font-size: 22px;
  }

  .info-card-wrap .info-desc {
    font-size: 16px;
    line-height: 1.75;
  }

  .fade-gallery {
    margin-top: 34px;
  }

  .fade-gallery-viewport {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .fade-gallery-contain .fade-gallery-viewport {
    min-height: 0;
  }

  .resource-link-wrap {
    margin-top: 34px;
  }

  .resource-link-wrap a {
    min-height: 150px;
    padding: 27px 52px 26px 24px;
  }

  .resource-link-title {
    font-size: 21px;
  }

  .resource-link-desc {
    font-size: 15px;
  }

  .diagram {
    flex-direction: column;
    gap: 12px;
  }

  .diagram li {
    width: 210px;
    height: 210px;
  }

  .diagram li + li {
    margin-left: 0;
  }
}

.values-section .values-layout {
  display: block;
}

.values-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.values-section .section-head.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.values-section .section-head.compact .eyebrow {
  flex: 0 0 auto;
  margin: 0;
}

.values-section .section-head.compact h2 {
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  white-space: nowrap;
  font-size: clamp(36px, 3.1vw, 52px);
  line-height: 1.08;
}

.values-section .principle-heading-logo {
  width: clamp(138px, 15vw, 234px);
  height: auto;
  display: block;
  flex: 0 0 auto;
  transform: translateY(-4px);
}

.values-section .principle-heading-suffix {
  flex: 0 0 auto;
}

.values-section .slider-control {
  flex: 0 0 auto;
  margin-top: 0;
}

.values-section .value-slider {
  position: relative;
  min-height: clamp(280px, 23vw, 368px);
}

.values-section .value-play-toggle {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(81, 70, 61, .55);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.values-section .value-slide {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 0;
  min-height: inherit;
  overflow: hidden;
  background: #f7f1ed;
  border: 1px solid #eadfd5;
  box-shadow: 0 28px 70px rgba(81, 70, 61, .1);
}

.values-section .value-image {
  position: relative;
  height: 100%;
  min-height: inherit;
  aspect-ratio: auto;
}

.values-section .value-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(81, 70, 61, .48);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(81, 70, 61, .18);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.values-section .value-nav:hover {
  background: rgba(81, 70, 61, .68);
  transform: translateY(-50%) scale(1.04);
}

.values-section .value-nav-prev {
  left: 22px;
}

.values-section .value-nav-next {
  right: 22px;
}

.values-section .value-slide > div:last-child {
  min-height: inherit;
  padding: clamp(22px, 2.4vw, 37px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .5)),
    #f7f1ed;
}

.values-section .value-num {
  margin-bottom: 12px;
  font-size: 22px;
}

.values-section .value-slide h3 {
  max-width: 12em;
  font-size: clamp(21px, 1.96vw, 32px);
  line-height: 1.18;
  word-break: keep-all;
}

.values-section .value-slide p:last-child {
  max-width: 540px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .values-section .section-head.compact {
    flex-wrap: wrap;
  }

  .values-section .section-head.compact .eyebrow {
    width: 100%;
  }

  .values-section .section-head.compact h2 {
    font-size: clamp(34px, 6vw, 54px);
  }

  .values-section .value-slide {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  }
}

@media (max-width: 820px) {
  .values-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .values-section .section-head.compact {
    gap: 22px;
  }

  .values-section .section-head.compact h2 {
    white-space: normal;
  }

  .values-section .principle-heading-logo {
    width: clamp(126px, 31.2vw, 180px);
    transform: translateY(-3px);
  }

  .values-section .slider-control {
    justify-self: start;
  }

  .values-section .value-slider {
    min-height: 496px;
  }

  .values-section .value-slide {
    grid-template-columns: 1fr;
  }

  .values-section .value-image {
    min-height: 240px;
  }

  .values-section .value-nav {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .values-section .value-nav-prev {
    left: 14px;
  }

  .values-section .value-nav-next {
    right: 14px;
  }

  .values-section .value-slide > div:last-child {
    min-height: 256px;
    padding: 28px 24px 34px;
  }
}

@media (max-width: 520px) {
  .values-section {
    padding-top: 53px;
    padding-bottom: 53px;
  }

  .values-section .section-head.compact h2 {
    gap: 8px;
    font-size: 30px;
  }

  .values-section .principle-heading-logo {
    width: 123px;
    transform: translateY(-2px);
  }

  .values-section .value-slider {
    min-height: 448px;
  }

  .values-section .value-image {
    min-height: 192px;
  }

  .values-section .value-slide > div:last-child {
    min-height: 256px;
  }

  .values-section .value-slide h3 {
    font-size: 23px;
  }
}

/* The hero uses the clinic's own mark as its sole visual signature. */
.hero-mark {
  display: block;
  width: min(238px, 28vw);
  height: auto;
  margin: 0 auto 34px;
  filter: drop-shadow(0 3px 16px rgba(47, 38, 31, .3));
}

@media (max-width: 900px) {
  .hero-mark {
    width: min(198px, 42vw);
    margin-bottom: 28px;
  }
}

@media (max-width: 520px) {
  .hero-mark {
    width: min(164px, 48vw);
    margin-bottom: 24px;
  }
}

/* Accessible legal guides */
.legal-modal-card {
  width: min(980px, calc(100vw - 36px));
  padding: 0;
  overflow: hidden;
  color: #5f554d;
  background: #fbf8f3;
  border: 1px solid #e8dacb;
}

.legal-modal-scroll {
  max-height: calc(100svh - 44px);
  overflow: auto;
  padding: clamp(28px, 4.5vw, 58px);
  scrollbar-gutter: stable;
}

.legal-header {
  padding: 0 54px 34px 0;
  border-bottom: 1px solid #decab8;
}

.legal-header .legal-eyebrow {
  margin: 0 0 12px;
  color: #a86f55;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.legal-header h2 {
  margin: 0 0 14px;
  color: #514740;
  font-family: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
}

.legal-header > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #6d625b;
  font-size: 16px;
  line-height: 1.8;
}

.legal-sections {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.legal-sections section,
.fee-group {
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid #e8dacb;
  border-radius: 6px;
}

.legal-sections h3,
.fee-group h3 {
  margin: 0;
  padding: 16px 20px;
  color: #604b3d;
  background: #f1e7da;
  font-family: inherit;
  font-size: 19px;
  line-height: 1.45;
}

.legal-sections section > p {
  margin: 0;
  padding: 16px 20px 0;
  color: #665c55;
  font-size: 15px;
  line-height: 1.85;
}

.legal-sections section > p:last-child {
  padding-bottom: 18px;
}

.legal-effective-date,
.legal-fee-note {
  margin: 26px 0 0;
  padding: 16px 20px;
  color: #665c55;
  background: #f1e7da;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.7;
}

.fee-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 16px;
  margin: 26px 0 22px;
  padding: 18px 20px;
  background: #f1e7da;
  border-radius: 6px;
}

.fee-search label {
  color: #604b3d;
  font-weight: 800;
}

.fee-search input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: #514740;
  background: #fffdf9;
  border: 1px solid #cdb8a6;
  border-radius: 4px;
}

.fee-search-status {
  grid-column: 2;
  margin: 0;
  color: #756960;
  font-size: 13px;
}

.fee-groups {
  display: grid;
  gap: 18px;
}

.fee-group table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.fee-group th,
.fee-group td {
  padding: 13px 20px;
  border-top: 1px solid #eee3d8;
  font-size: 15px;
  line-height: 1.55;
  vertical-align: middle;
}

.fee-group th {
  width: 68%;
  color: #5f554d;
  font-weight: 600;
  text-align: left;
}

.fee-group td {
  color: #514740;
  font-weight: 750;
  text-align: right;
}

@media (max-width: 640px) {
  .legal-modal-card {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .legal-modal-scroll {
    max-height: calc(100svh - 20px);
    padding: 28px 18px;
  }

  .fee-search {
    grid-template-columns: 1fr;
  }

  .fee-search-status {
    grid-column: 1;
  }

  .fee-group th,
  .fee-group td {
    padding: 12px 14px;
    font-size: 14px;
  }

  .fee-group th {
    width: 62%;
  }

  .values-section .value-play-toggle {
    left: 14px;
    bottom: calc(256px + 14px);
  }
}

@media (max-width: 900px) {
  .footer-info,
  .footer-info .footer-address {
    grid-template-columns: minmax(0, 1fr);
    grid-column: auto;
  }

  .footer-info div {
    min-width: 0;
  }

  .footer-info dd,
  .footer-info .footer-address dd {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-schedule {
    min-width: 0;
  }
}
