@font-face {
  font-family: "Noto Sans KR";
  src: url("assets/fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("assets/fonts/NotoSansKR-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --white: #fff;
  --off: #faf9f7;
  --ink: #25211e;
  --taupe: #5c5147;
  --gold: #cdb071;
  --gold-dark: #9f7f40;
  --beige: #e9e0d2;
  --line: #ded9d1;
  --muted: #817a73;
  --dark: #28231f;
  --page: 1260px;
  --header: 92px;
  --ease: cubic-bezier(.2,.65,.3,1);
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--off);
  color: var(--ink);
  font-family: "Noto Sans KR", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.98);
}

.site-header.overlay {
  position: absolute;
  inset: 0 0 auto;
  border-color: rgba(255,255,255,.12);
  background: rgba(40,35,31,.92);
  color: var(--white);
}

.header-inner {
  width: min(calc(100% - 116px), 1324px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 390px minmax(540px, 1fr) 300px;
  align-items: center;
  gap: 22px;
}

.brand-lockup { display: flex; align-items: center; gap: 24px; min-width: 0; }
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-sub { font-size: 12px; white-space: nowrap; }
.main-nav { height: 100%; display: flex; justify-content: center; align-items: center; gap: 42px; }
.main-nav a, .main-nav button {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--gold-dark); font-weight: 700; }
.site-header.overlay .main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav .nav-disabled { color: var(--muted); cursor: not-allowed; opacity: .72; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.header-phone { font-size: 13px; white-space: nowrap; }
.header-cta, .gold-btn {
  display: inline-flex;
  min-width: 130px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.header-cta:hover, .gold-btn:hover { border-color: var(--gold-dark); background: var(--gold-dark); }
.header-cta:active, .gold-btn:active { background: #866a34; }
.mobile-header-controls { display: none; }

.mobile-drawer {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: none;
  background: rgba(40,35,31,.98);
  color: var(--white);
}
.mobile-drawer.is-open { display: block; }
.drawer-head { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.drawer-close { width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.drawer-close::before, .drawer-close::after { position: absolute; width: 22px; height: 1px; background: currentColor; content: ""; transform: translate(-50%,-50%) rotate(45deg); }
.drawer-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.drawer-nav { padding: 50px 24px 110px; }
.drawer-nav a, .drawer-nav .nav-disabled { display: flex; min-height: 58px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 18px; }
.drawer-nav .nav-disabled { color: #aaa29b; }
.drawer-nav a::after { color: var(--gold); content: "›"; }

.menu-button {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-button::before, .menu-button::after, .menu-button span::before {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}
.menu-button::before { top: 14px; }
.menu-button span::before { top: 21px; }
.menu-button::after { top: 28px; }

.section-label {
  margin: 0 0 28px;
  color: var(--gold-dark);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0;
  font-size: 46px;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.section-sub { margin: 14px auto 0; max-width: 700px; color: var(--muted); font-size: 15px; }
.section-title { text-align: center; }

.page-title {
  height: 313px;
  padding-top: 82px;
  text-align: center;
}
.page-title .section-label { margin-bottom: 22px; }
.page-title .section-heading { font-size: 46px; }

.hero {
  position: relative;
  height: 930px;
  display: grid;
  place-items: center;
  background: linear-gradient(rgba(34,28,23,.42), rgba(34,28,23,.42)), url("assets/images/B01-hero-interior.webp") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}
.hero-content { margin-top: 26px; }
.hero-kicker { margin: 0 0 48px; font-family: "Courier New", monospace; font-size: 14px; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 73px; font-weight: 400; line-height: .98; letter-spacing: -.03em; }
.hero-copy { margin: 46px auto 0; font-size: 18px; line-height: 1.6; }
.hero .gold-btn { margin-top: 76px; min-width: 166px; min-height: 62px; }

.signature { min-height: 1280px; padding: 125px 0 140px; }
.cards-grid { width: min(calc(100% - 180px), var(--page)); margin: 62px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 48px 30px; }
.treatment-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms var(--ease), opacity 160ms var(--ease);
}
.treatment-card:hover { border-color: var(--gold-dark); }
.treatment-card[hidden] { display: none !important; }
.treatment-image { width: 100%; height: 270px; object-fit: cover; }
.treatment-image.face { object-position: 55% 45%; }
.treatment-image.doctor { object-position: 50% 24%; }
.card-caption { min-height: 150px; padding: 30px 26px; }
.diamond { display: block; width: 11px; height: 11px; margin: 0 0 28px; background: var(--gold); transform: rotate(45deg); }
.card-caption h3 { margin: 0; font-size: 20px; line-height: 1.4; }

.trust { height: 650px; padding-top: 90px; background: var(--white); }
.trust-grid { width: min(calc(100% - 180px), var(--page)); margin: 65px auto 0; display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { text-align: center; }
.trust-no { display: block; margin-bottom: 26px; color: var(--gold); font-family: Georgia, serif; }
.trust-icon { width: 52px; height: 52px; margin: 0 auto 32px; display: grid; place-items: center; border: 1px solid var(--gold); }
.trust-icon .diamond { margin: 0; width: 10px; height: 10px; }
.trust-item h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.trust-item p { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
/* 정렬 게이트 R2(0826): 4열이 유지되는 태블릿 폭에서 긴 제목이 2줄로 접히며
   아랫줄(p) 시작선을 카드마다 밀어냈다 — 그 구간만 2줄 높이를 예약해 고정. */
@media (min-width: 768px) and (max-width: 1199px) { .trust-item h3 { min-height: 2.8em; } }

.doctor-home { height: 650px; display: grid; grid-template-columns: 420px 500px; justify-content: center; align-items: center; gap: 120px; background: var(--beige); }
.doctor-home img { width: 420px; height: 520px; object-fit: cover; object-position: 50% 24%; }
.doctor-home .section-heading { margin-bottom: 26px; font-size: 42px; }
.doctor-home p { color: var(--taupe); }
.doctor-home .gold-btn { margin-top: 54px; min-width: 180px; min-height: 60px; }
.doctor-home .profile-notice { display: block; width: max-content; }
.profile-notice { display: inline-block; margin-top: 8px; padding: 4px 8px; border: 1px solid var(--gold); color: var(--gold-dark); font-size: 12px; font-weight: 700; }

.site-footer {
  min-height: 460px;
  padding: 64px 58px 0;
  background: var(--dark);
  color: var(--white);
}
.treatments-page .site-footer { min-height: 950px; }
.detail-page .site-footer { min-height: 620px; }
.doctors-page .site-footer { min-height: 350px; }
.events-page .site-footer { min-height: 950px; }
.calendar-page .site-footer { min-height: 850px; }
.consultation-page .site-footer { min-height: 850px; }
.directions-page .site-footer { min-height: 750px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; max-width: 1324px; margin: 0 auto; }
.footer-brand { font-family: Georgia, serif; font-size: 32px; }
.footer-title { margin: 20px 0 12px; font-weight: 700; }
.footer-copy { margin: 0; color: #c8c0b8; font-size: 12px; }
.footer-hours { padding-left: 40px; }
.footer-rule { max-width: 1324px; margin: 78px auto 26px; border-top: 1px solid #514941; }
.footer-legal { max-width: 1324px; margin: 0 auto; color: #9e958d; font-size: 10px; }
.footer-legal a { line-height: 44px; }

.floating-contact { position: fixed; z-index: 90; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; }
.floating-contact a { width: 54px; height: 56px; display: grid; place-items: center; color: var(--ink); font-family: Georgia, serif; font-weight: 700; }
.floating-contact a:nth-child(1) { background: #f9d900; }
.floating-contact a:nth-child(2) { background: #14c96b; }
.floating-contact a:nth-child(3) { background: var(--gold); color: var(--white); }
.mobile-contact { display: none; }

.filters { width: min(calc(100% - 180px), var(--page)); margin: -46px auto 0; display: flex; justify-content: center; gap: 74px; border-bottom: 1px solid var(--line); }
.filter-btn { position: relative; min-height: 62px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.filter-btn::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 4px; background: var(--gold); content: ""; transform: scaleX(0); }
.filter-btn:hover, .filter-btn[aria-pressed="true"] { color: var(--gold-dark); font-weight: 700; }
.filter-btn[aria-pressed="true"]::after { transform: scaleX(1); }
.treatments-grid { margin-top: 74px; }
.treatments-programs { min-height: 1145px; }
.guide { height: 900px; padding-top: 96px; background: var(--white); }
.guide-grid { width: 940px; margin: 92px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.guide-item small { color: var(--gold); font-family: Georgia, serif; font-size: 16px; }
.guide-item h3 { margin: 34px 0 26px; padding-bottom: 32px; border-bottom: 1px solid var(--gold); font-size: 22px; }
.guide-item p { color: var(--taupe); font-size: 18px; }
.guide .gold-btn { width: 300px; min-height: 64px; margin: 104px auto 0; display: flex; }

.split-hero { height: 760px; display: grid; grid-template-columns: 1fr 1fr; }
.split-hero img { width: 100%; height: 760px; object-fit: cover; object-position: 55% 45%; }
.split-panel { display: flex; flex-direction: column; justify-content: center; padding-left: 110px; background: #eee6db; }
.split-panel .section-heading { font-size: 48px; }
.split-panel p { margin: 32px 0 0; max-width: 500px; color: var(--taupe); font-size: 18px; }
.split-panel .gold-btn { margin-top: 100px; width: 200px; }
.detail-intro { height: 588px; padding-top: 155px; background: var(--white); text-align: center; }
.detail-intro p { width: 760px; margin: 42px auto 0; color: var(--taupe); font-size: 17px; line-height: 1.85; }
.process { height: 700px; padding-top: 90px; }
.process-grid { width: 980px; margin: 82px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 56px; }
.process-no { color: var(--gold); font-family: Georgia, serif; }
.process-icon { width: 74px; height: 74px; margin: 28px 0 42px; display: grid; place-items: center; border: 1px solid var(--gold); }
.process-icon .diamond { margin: 0; }
.process-item h3 { margin: 0; font-size: 22px; }
.process-item p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.point { height: 840px; padding: 105px 0; display: grid; grid-template-columns: 520px 1fr; align-items: start; gap: 70px; max-width: 1180px; margin: 0 auto; }
.point > img { width: 520px; height: 520px; object-fit: cover; }
.point-copy { padding-top: 45px; }
.point .trust-grid { width: 100%; margin-top: 70px; }

.doctor-profile { min-height: 845px; width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 470px 1fr; gap: 150px; align-items: center; }
.doctor-profile img { width: 470px; height: 640px; object-fit: cover; object-position: 50% 22%; }
.doctor-profile h2 { margin: 35px 0 0; font-size: 52px; line-height: 1.2; }
.doctor-role { margin-top: 8px; color: var(--gold-dark); font-size: 17px; font-weight: 700; }
.doctor-philosophy { margin: 64px 0 45px; font-size: 30px; font-weight: 700; }
.career-list { margin: 0; padding: 0; list-style: none; }
.career-list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; margin: 0 0 22px; color: var(--taupe); font-size: 14px; }
.career-list b { color: var(--gold); font-family: Georgia, serif; font-size: 11px; }
.doctors-trust { height: 850px; padding-top: 100px; background: var(--white); }
.space-section { height: 750px; padding-top: 140px; text-align: center; }
.space-section img { width: 1080px; height: 500px; margin: 0 auto 52px; object-fit: cover; }
.space-section .section-heading { display: none; }

.events-list { min-height: 895px; width: 1260px; margin: 0 auto; padding-top: 25px; display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.event-card img { width: 100%; height: 420px; object-fit: cover; }
.event-card .period { margin: 44px 0 24px; color: var(--gold-dark); font-family: "Courier New", monospace; font-size: 12px; }
.event-card h2 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.event-card p { margin-top: 20px; padding-bottom: 34px; border-bottom: 1px solid var(--line); color: var(--taupe); }
.event-guide { height: 850px; padding-top: 100px; background: var(--white); }
.numbered-lines { width: 820px; margin: 90px auto 0; padding: 0; list-style: none; }
.numbered-lines li { display: grid; grid-template-columns: 70px 1fr; min-height: 80px; align-items: center; border-bottom: 1px solid var(--line); }
.numbered-lines b { color: var(--gold); font-family: Georgia, serif; font-size: 13px; }

.calendar-wrap { min-height: 788px; width: 1220px; margin: 0 auto; }
.calendar-title { margin: -13px 0 30px; text-align: center; font-size: 36px; }
.calendar { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calendar th { height: 55px; color: var(--muted); font-size: 13px; }
.calendar th:first-child { color: var(--gold-dark); }
.calendar td { height: 145px; padding: 14px 12px; border: 1px solid var(--line); vertical-align: top; font-size: 15px; font-weight: 700; }
.calendar td.outside { color: #beb8b0; }
.closed { display: block; margin-top: 10px; color: var(--gold-dark); font-size: 11px; }
.calendar-notice { height: 650px; padding-top: 65px; }

.consult-shell { min-height: 1250px; width: 1020px; margin: 0 auto 150px; padding: 92px 70px; border: 1px solid var(--line); background: var(--white); }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px 68px; }
.field { position: relative; min-width: 0; }
.field label { display: block; margin-bottom: 22px; color: var(--gold-dark); font-family: "Courier New", monospace; font-size: 12px; }
.field input, .field select, .field textarea { width: 100%; min-height: 58px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-size: 18px; font-weight: 700; }
.field textarea { height: 80px; resize: vertical; }
.field select { border-color: var(--gold-dark); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold-dark); box-shadow: 0 2px 0 var(--gold-dark); }
.field-error { min-height: 24px; margin: 7px 0 0; color: #9b1c1c; font-size: 12px; }
.consent { margin-top: 172px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold-dark); }
.form-submit { width: 300px; min-height: 66px; margin: 105px auto 0; display: flex; }
.form-message { min-height: 52px; margin: 26px auto 0; max-width: 620px; text-align: center; }
.form-message.error { color: #9b1c1c; }
.form-message.success { color: #346a39; }
.quick-contact { height: 650px; padding-top: 92px; background: var(--beige); }
.quick-grid { width: 1020px; margin: 90px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 80px; }
.quick-item { min-height: 120px; border-bottom: 1px solid var(--gold); }
.quick-item h3 { margin: 0 0 34px; font-size: 16px; }
.quick-item p, .quick-item a { color: var(--gold-dark); font-weight: 700; }

.directions-top { height: 800px; width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 840px 440px; align-items: start; padding-top: 15px; }
.directions-top img { width: 840px; height: 600px; object-fit: cover; }
.location-panel { height: 600px; padding: 78px 60px; background: #e7e1d9; }
.location-panel h2 { margin: 46px 0 26px; font-size: 30px; }
.location-panel p { color: var(--taupe); }
.location-panel .gold-btn { margin-top: 108px; min-width: 180px; }
.address-hours { height: 535px; width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 470px 380px; gap: 150px; padding-top: 28px; }
.address-hours h2 { padding-bottom: 36px; border-bottom: 1px solid var(--line); font-size: 25px; }
.hours-list { margin: 38px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 30px; color: var(--muted); }
.hours-list dd { margin: 0; color: var(--ink); font-family: "Courier New", monospace; }
.gallery-section { height: 700px; padding-top: 72px; }
.gallery-grid { width: 1080px; margin: 72px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 90px; }
.gallery-grid img { width: 300px; height: 330px; object-fit: cover; }
.gallery-grid .doctor { object-position: 50% 25%; }

.legal-note { color: var(--muted); font-size: 12px; }
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 1199px) {
  :root { --header: 62px; }
  .site-header, .site-header.overlay { height: 62px; }
  .header-inner { width: 100%; display: flex; justify-content: center; padding: 0 24px; }
  .brand-lockup { justify-content: center; }
  .brand { font-size: 22px; letter-spacing: .06em; }
  .brand-sub, .main-nav, .header-actions { display: none; }
  .mobile-header-controls { position: absolute; inset: 0 24px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
  .mobile-header-controls > * { pointer-events: auto; }
  .mobile-reserve { min-width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--gold-dark); font-size: 12px; font-weight: 700; }
  .site-header.overlay .mobile-reserve { color: var(--gold); }
  .cards-grid, .trust-grid { width: calc(100% - 48px); }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treatment-image { height: 340px; }
  .signature, .treatments-programs { height: auto; min-height: 0; }
  .signature { padding-bottom: 120px; }
  .doctor-home { grid-template-columns: minmax(320px,420px) minmax(360px,500px); gap: 48px; padding: 0 48px; }
  .filters { width: calc(100% - 48px); gap: 42px; }
  .treatments-programs { padding-bottom: 140px; }
  .split-panel { padding: 60px; }
  .point { grid-template-columns: minmax(420px,520px) 1fr; padding-right: 48px; padding-left: 48px; }
  .doctor-profile, .events-list, .calendar-wrap, .consult-shell, .quick-grid, .directions-top, .address-hours, .gallery-grid { width: calc(100% - 96px); }
  .doctor-profile { min-height: 1450px; grid-template-columns: 1fr; gap: 48px; padding: 90px 0; text-align: center; }
  .doctor-profile img { margin: 0 auto; }
  .doctor-profile .profile-notice { margin-right: auto; margin-left: auto; }
  .career-box { max-width: 620px; margin: 55px auto 0; text-align: left; }
  .split-hero { height: auto; grid-template-columns: 1fr; }
  .split-hero img { height: 600px; }
  .split-panel { min-height: 440px; padding: 70px 12%; }
  .events-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 28px; }
  .event-card h2 { overflow-wrap: anywhere; }
  .calendar td { height: 120px; }
  .directions-top { grid-template-columns: 2fr 1fr; }
  .directions-top img { width: 100%; }
  .gallery-grid { gap: 30px; }
  .gallery-grid img { width: 100%; }
  .floating-contact { right: 6px; }
  .guide-grid, .process-grid, .numbered-lines { width: calc(100% - 96px); }
  .point { max-width: 100%; grid-template-columns: minmax(340px, 1fr) minmax(0, 1fr); gap: 42px; }
  .address-hours { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
}

@media (max-width: 900px) {
  .site-header, .site-header.overlay { height: 62px; }
  :root { --header: 62px; }
  .header-inner { width: 100%; display: flex; justify-content: center; padding: 0 18px; }
  .brand-lockup { justify-content: center; }
  .brand { font-size: 20px; letter-spacing: .08em; }
  .brand-sub, .main-nav, .header-actions { display: none; }
  .mobile-header-controls { position: absolute; inset: 0 18px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
  .mobile-header-controls > * { pointer-events: auto; }
  .mobile-reserve { min-width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--gold-dark); font-size: 12px; font-weight: 700; }
  .site-header.overlay .mobile-reserve { color: var(--gold); }
  .floating-contact { display: none; }
  .mobile-contact { position: static; height: 64px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; background: var(--dark); color: var(--white); }
  .mobile-contact a { min-height: 64px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
  .mobile-contact a:last-child { color: var(--gold); }
  .site-footer { padding-bottom: 0; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }
  .section-label { margin-bottom: 25px; font-size: 11px; }
  .section-heading { font-size: 31px; line-height: 1.35; }
  .section-sub { max-width: 350px; margin-top: 15px; font-size: 13px; }
  .page-title { height: 260px; padding: 58px 18px 0; }
  .page-title .section-heading { font-size: 31px; }
  .hero { height: 760px; background-position: 48% 50%; }
  .hero-content { margin-top: -8px; }
  .hero-kicker { margin-bottom: 58px; font-size: 12px; }
  .hero h1 { font-size: 47px; line-height: 1.02; }
  .hero-copy { margin-top: 56px; font-size: 15px; }
  .hero .gold-btn { min-width: 166px; min-height: 55px; margin-top: 66px; }
  .signature { min-height: 1260px; padding: 95px 0 140px; }
  .cards-grid { width: calc(100% - 36px); margin-top: 50px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 8px; }
  .treatment-image { height: 180px; }
  .card-caption { min-height: 104px; padding: 26px 25px 18px; }
  .diamond { width: 10px; height: 10px; margin-bottom: 25px; }
  .card-caption h3 { font-size: 17px; }
  .trust { height: 760px; padding-top: 75px; }
  .trust .section-heading { white-space: nowrap; font-size: clamp(25px, 7.2vw, 29px); }
  .trust-grid { width: calc(100% - 48px); margin-top: 56px; display: block; }
  .trust-item { min-height: 145px; display: grid; grid-template-columns: 26px 48px 1fr; grid-template-rows: 48px 32px; align-items: center; column-gap: 15px; text-align: left; }
  .trust-no { grid-row: 1 / 2; margin: 0; font-size: 13px; }
  .trust-icon { grid-row: 1 / 2; width: 48px; height: 48px; margin: 0; }
  .trust-item h3 { grid-column: 3; grid-row: 1; font-size: 17px; }
  .trust-item p { grid-column: 3; grid-row: 2; margin: 0; font-size: 12px; }
  .doctor-home { height: 880px; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 90px 0 0; text-align: center; }
  .doctor-home img { order: 2; width: 300px; height: 390px; margin: 30px auto 0; }
  .doctor-home-copy { display: contents; }
  .doctor-home .section-label { order: 0; margin: 0 0 20px; }
  .doctor-home .section-heading { order: 1; margin-bottom: 0; font-size: 31px; }
  .doctor-home p:not(.section-label) { order: 3; margin: 20px 20px 0; font-size: 13px; }
  .doctor-home .profile-notice { order: 4; margin: 4px auto 0; }
  .doctor-home .gold-btn { order: 5; min-width: 160px; min-height: 54px; margin: 12px auto 0; background: transparent; color: var(--gold-dark); }
  .profile-notice { display: block; }
  .site-footer { min-height: 676px; padding: 54px 20px 0; }
  .treatments-page .site-footer { min-height: 856px; }
  .detail-page .site-footer { min-height: 696px; }
  .doctors-page .site-footer { min-height: 696px; }
  .events-page .site-footer { min-height: 836px; }
  .calendar-page .site-footer { min-height: 1036px; }
  .consultation-page .site-footer { min-height: 986px; }
  .directions-page .site-footer { min-height: 836px; }
  .footer-top { display: block; }
  .footer-brand { font-size: 30px; }
  .footer-copy { max-width: 350px; line-height: 1.8; }
  .footer-hours { padding: 50px 0 0; }
  .footer-hours .footer-title { display: none; }
  .footer-rule { margin: 52px 0 28px; }

  .filters { width: calc(100% - 36px); margin: -18px auto 0; justify-content: flex-start; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { min-width: 44px; min-height: 54px; margin-right: 18px; font-size: 13px; }
  .treatments-grid { margin-top: 57px; }
  .treatments-programs { min-height: 1188px; padding-bottom: 118px; }
  .treatments-page main { padding-bottom: 588px; }
  .treatments-grid .desktop-extra { display: none; }
  .guide { height: 900px; padding: 75px 20px 0; }
  .guide-grid { width: 100%; margin-top: 70px; display: block; }
  .guide-item { margin-bottom: 50px; }
  .guide-item small { font-size: 13px; }
  .guide-item h3 { margin: 26px 0 35px; padding-bottom: 25px; font-size: 0; }
  .guide-item h3::after { font-size: 13px; content: attr(data-mobile); }
  .guide-item p { font-size: 20px; font-weight: 700; }
  .guide .gold-btn { width: 100%; min-height: 60px; margin-top: 90px; }

  .split-hero { height: 480px; display: block; position: relative; }
  .split-hero img { width: 100%; height: 328px; }
  .split-panel { position: absolute; right: 0; bottom: 0; left: 0; height: 152px; min-height: 152px; padding: 37px 20px 0; align-items: center; justify-content: flex-start; text-align: center; }
  .split-panel .section-label { margin-bottom: 20px; }
  .split-panel .section-heading { font-size: 30px; }
  .split-panel p, .split-panel .gold-btn { display: none; }
  .detail-intro { height: 438px; padding: 76px 24px 0; text-align: center; }
  .detail-intro p { width: auto; margin-top: 45px; text-align: left; font-size: 15px; line-height: 1.75; }
  .process { height: 820px; padding: 70px 24px 0; }
  .process-grid { width: auto; margin: 58px 0 0; display: block; }
  .process-item { min-height: 170px; display: grid; grid-template-columns: 42px 54px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
  .process-no { font-size: 14px; }
  .process-icon { width: 48px; height: 48px; margin: 0; border-radius: 50%; }
  .process-icon .diamond { display: none; }
  .process-item h3 { font-size: 19px; }
  .process-item p { display: none; }
  .point { height: 1300px; display: block; padding: 140px 24px 0; }
  .detail-page main { padding-bottom: 240px; }
  .point > img { width: 100%; height: 260px; }
  .point-copy { padding-top: 92px; text-align: center; }
  .point .trust-grid { margin-top: 55px; text-align: left; }

  .doctor-profile { min-height: 1750px; width: auto; margin: 0; padding: 0 18px; display: flex; flex-direction: column; gap: 0; text-align: center; }
  .doctor-profile img { width: 314px; height: 420px; margin-top: -12px; }
  .doctor-profile-copy { width: 100%; }
  .doctor-profile h2 { margin-top: 54px; font-size: 32px; }
  .doctor-role { font-size: 13px; }
  .doctor-profile .profile-notice { margin: 10px auto 0; width: max-content; }
  .career-box { margin-top: 74px; min-height: 880px; padding: 45px 21px; border: 1px solid var(--line); text-align: left; }
  .doctor-philosophy { margin: 42px 0 70px; font-size: 26px; line-height: 1.35; }
  .career-list li { min-height: 75px; align-items: center; margin: 0; border-bottom: 1px solid var(--line); }
  .doctors-trust { display: none; }
  .space-section { height: 868px; padding: 100px 18px 0; text-align: center; }
  .space-section img { width: 100%; height: 250px; margin: 0 auto 95px; }
  .space-section .section-heading { display: block; }
  .space-section p { margin: 55px 6px 0; text-align: left; color: var(--taupe); }

  .events-list { min-height: 2390px; width: auto; margin: 0; padding: 8px 18px 0; display: block; }
  .event-card { margin-bottom: 84px; }
  .event-card img { height: 360px; }
  .event-card .period { margin: 34px 0 24px; font-size: 11px; }
  .event-card h2 { font-size: 21px; }
  .event-card p { margin-top: 16px; padding-bottom: 30px; }
  .event-guide { display: none; }

  .calendar-wrap { min-height: 660px; width: auto; margin: 0 18px; }
  .calendar-title { margin: -10px 0 22px; font-size: 24px; }
  .calendar th { height: 48px; font-size: 11px; }
  .calendar td { height: 88px; padding: 8px 6px; font-size: 12px; }
  .closed { margin-top: 8px; font-size: 9px; }
  .calendar-notice { height: 850px; padding: 68px 24px 0; }
  .calendar-page main { padding-bottom: 378px; }
  .numbered-lines { width: 100%; margin-top: 55px; }
  .numbered-lines li { grid-template-columns: 80px 1fr; min-height: 150px; align-items: start; padding-top: 20px; }
  .numbered-lines span { font-size: 16px; font-weight: 700; }

  .consult-shell { min-height: 978px; width: auto; margin: 0; padding: 5px 20px 0; border: 0; background: transparent; }
  .consult-grid { display: block; }
  .field { margin-bottom: 44px; }
  .field label { margin-bottom: 18px; font-size: 11px; }
  .field input, .field select, .field textarea { min-height: 58px; font-size: 17px; }
  .consent { margin-top: 88px; }
  .checkbox-row { font-size: 12px; }
  .form-submit { width: 100%; min-height: 61px; margin-top: 54px; }
  .form-message { margin-top: 14px; font-size: 13px; }
  .quick-contact { height: 900px; padding: 68px 20px 0; background: var(--white); }
  .consultation-page main { padding-bottom: 558px; }
  .quick-grid { width: auto; margin: 64px 0 0; display: block; }
  .quick-item { min-height: 106px; margin-bottom: 34px; display: flex; justify-content: space-between; align-items: flex-start; }
  .quick-item a { min-height: 44px; display: inline-flex; align-items: center; }
  .quick-item h3 { margin: 0; }
  .quick-item.hours { min-height: 220px; display: block; border: 0; }
  .quick-item.hours p { margin-top: 40px; color: var(--taupe); font-weight: 400; line-height: 1.8; }

  .directions-top { height: 560px; width: auto; margin: 0 18px; display: block; padding-top: 0; }
  .directions-top img { width: 100%; height: 300px; }
  .location-panel { height: 160px; padding: 32px 22px; }
  .location-panel .section-label, .location-panel .gold-btn { display: none; }
  .location-panel h2 { margin: 0 0 18px; font-size: 15px; }
  .location-panel p { margin: 0; font-size: 13px; }
  .address-hours { height: 700px; width: auto; margin: 0 20px; display: block; padding-top: 16px; }
  .address-block { margin-bottom: 60px; }
  .address-hours h2 { padding-bottom: 38px; font-size: 20px; }
  .hours-list { gap: 34px; }
  .gallery-section { height: 1180px; padding: 30px 18px 0; display: flex; flex-direction: column; }
  .directions-page main { padding-bottom: 48px; }
  .gallery-grid { width: 100%; margin: 0; order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid img { height: 240px; }
  .gallery-grid img:last-child { grid-column: 1 / 3; width: 100%; height: 250px; }
  .gallery-section .section-title { margin-top: 95px; }
}

@media (max-width: 390px) {
  .card-caption { padding-right: 18px; padding-left: 25px; }
  .card-caption h3 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
