:root {
  --green: #7b8d67;
  --green-dark: #4f6042;
  --sage: #eef2e9;
  --sage-2: #f7f8f3;
  --ink: #20231f;
  --muted: #73786d;
  --line: rgba(91, 104, 75, 0.18);
  --shadow: 0 24px 70px rgba(45, 55, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  background: #fff;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ". brand actions"
    "nav nav nav";
  align-items: center;
  min-height: 132px;
  padding: 16px clamp(22px, 4vw, 56px) 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(80, 88, 70, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 13px;
  justify-self: center;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 12px solid var(--green);
  border-right-color: transparent;
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  top: -7px;
  right: -8px;
  width: 14px;
  height: 14px;
  content: "";
  background: #aab894;
  border-radius: 50%;
}

.brand strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.main-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3.1vw, 48px);
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid rgba(80, 88, 70, 0.1);
}

.main-nav a {
  padding: 18px 0 19px;
}

.header-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: 48px;
  align-items: center;
  gap: 0;
  justify-self: end;
  height: auto;
  color: #60665b;
  font-size: 13px;
}

.menu-button {
  display: none;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 999px;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(246, 248, 242, 0.72);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.menu-open {
  overflow: hidden;
}

.menu-open .site-menu {
  opacity: 1;
  visibility: visible;
}

.site-menu-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 44px clamp(28px, 7vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(91, 104, 75, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(45, 55, 38, 0.16);
}

.site-menu-panel p {
  margin: 0 0 22px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.site-menu-panel nav {
  display: grid;
}

.site-menu-panel nav a {
  padding: 18px 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  border-top: 1px solid rgba(91, 104, 75, 0.14);
}

.site-menu-panel nav a:hover {
  color: var(--green-dark);
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close::before,
.menu-close::after {
  position: absolute;
  top: 20px;
  left: 10px;
  width: 22px;
  height: 2px;
  content: "";
  background: #111;
  border-radius: 999px;
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: calc(100vh - 132px);
  background: #1d241b;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 132px);
  max-width: 760px;
  padding: clamp(58px, 8vw, 110px) clamp(28px, 8vw, 118px);
  color: #fff;
}

.hairline {
  display: block;
  width: 60px;
  height: 1px;
  margin-bottom: 38px;
  background: #8e9a82;
}

.kicker,
.section-lead p,
.equipment-copy > p:first-child,
.experience-copy > p:first-child {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(37px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero h1 em {
  color: #dce8cf;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.hero-desc {
  max-width: 430px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.9;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin-top: 58px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-features article {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.line-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #dce8cf;
}

.line-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hero-features b {
  margin-top: 15px;
  font-size: 15px;
}

.hero-features small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  min-height: 100%;
  background: #d9ddd3;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: rgba(16, 22, 14, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 720ms ease;
}

.hero-media.is-loop-fading::before {
  opacity: 1;
}

.hero-media video,
.experience-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 24, 16, 0.78) 0%, rgba(35, 47, 31, 0.58) 40%, rgba(35, 47, 31, 0.18) 78%, rgba(35, 47, 31, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 20, 14, 0.42), rgba(15, 20, 14, 0.04) 48%, rgba(15, 20, 14, 0.28));
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  right: clamp(28px, 6vw, 96px);
  bottom: clamp(28px, 5vw, 64px);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 84px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-line::after {
  position: absolute;
  left: 0;
  bottom: -38%;
  width: 1px;
  height: 46%;
  content: "";
  background: linear-gradient(180deg, transparent 0%, #fff 44%, rgba(220, 232, 207, 0.12) 100%);
  animation: scrollLight 1.65s ease-in-out infinite;
}

@keyframes scrollLight {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  100% {
    transform: translateY(-180px);
    opacity: 0;
  }
}

.quick-menu {
  position: fixed;
  top: 29vh;
  right: 26px;
  z-index: 12;
  display: grid;
  overflow: hidden;
  width: 74px;
  padding: 12px 0;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(28, 34, 25, 0.16);
}

.quick-menu a {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 9px 5px;
  color: #5f665b;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--green);
  background: #edf1e6;
  border-radius: 50%;
}

.quick-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.quick-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.quick-icon.image-icon {
  background: transparent;
}

.visit-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 42px clamp(28px, 7vw, 100px);
  background: #fff;
  border-bottom: 1px solid rgba(91, 104, 75, 0.1);
}

.visit-info article {
  display: block;
  padding: 30px;
  background: var(--sage-2);
  border: 1px solid rgba(118, 132, 106, 0.16);
  border-radius: 8px;
}

.visit-icon {
  display: inline-grid;
  float: left;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 14px 10px 0;
  color: var(--green);
  background: #fff;
  border-radius: 50%;
}

.visit-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.visit-info p {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.visit-info h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.25;
}

.visit-info dl {
  clear: both;
  display: grid;
  gap: 8px;
  margin: 0;
}

.visit-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 360px;
  color: #5f675d;
}

.visit-info dt {
  font-weight: 800;
}

.visit-info dd {
  margin: 0;
}

.visit-info address {
  clear: both;
  color: #5f675d;
  font-style: normal;
  line-height: 1.8;
}

.visit-info a {
  clear: both;
  display: table;
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: 800;
}

.programs {
  display: grid;
  grid-template-columns: minmax(190px, 230px) 1fr;
  gap: clamp(28px, 6vw, 70px);
  padding: 58px clamp(28px, 7vw, 100px) 62px;
  background: #fff;
}

.section-lead h2,
.equipment-copy h2,
.experience-copy h2 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.32;
  letter-spacing: 0;
  word-break: keep-all;
}

.section-lead a,
.equipment-copy a {
  display: inline-block;
  margin-top: 30px;
  color: var(--green-dark);
  font-weight: 700;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: 24px;
}

.program-grid article {
  text-align: center;
}

.program-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  color: var(--green);
  background: #eef1e8;
  border-radius: 50%;
}

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

.program-grid h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.program-grid p {
  margin: 0;
  color: #596056;
  font-size: 13px;
}

.equipment {
  display: grid;
  grid-template-columns: minmax(210px, 260px) 1fr;
  gap: clamp(30px, 5vw, 58px);
  padding: 78px clamp(28px, 7vw, 100px) 86px;
  background: linear-gradient(180deg, #f6f7f3 0%, #fff 100%);
}

.equipment-copy p:not(:first-child) {
  max-width: 250px;
  margin: 28px 0 0;
  color: #5f675d;
  line-height: 1.9;
}

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

.equipment-list article {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: 26px 22px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(118, 132, 106, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.equipment-list img,
.device {
  width: 100%;
  height: 138px;
  object-fit: cover;
  margin-bottom: 22px;
  border-radius: 6px;
  background: #f2f4ee;
}

.equipment-list img {
  object-position: 62% 28%;
}

.device {
  position: relative;
  overflow: hidden;
}

.device::before,
.device::after {
  position: absolute;
  content: "";
  background: #f8faf7;
  border: 1px solid #d9ded2;
  border-radius: 5px;
  box-shadow: 0 18px 24px rgba(64, 70, 57, 0.08);
}

.device-a::before {
  left: 23%;
  top: 27%;
  width: 48%;
  height: 46%;
}

.device-a::after {
  left: 56%;
  top: 18%;
  width: 18%;
  height: 18%;
  background: #33404a;
}

.device-b::before {
  left: 33%;
  top: 15%;
  width: 32%;
  height: 66%;
}

.device-b::after {
  left: 38%;
  top: 23%;
  width: 22%;
  height: 26%;
  background: #2f3b41;
}

.device-c::before {
  left: 21%;
  top: 25%;
  width: 58%;
  height: 50%;
}

.device-c::after {
  left: 49%;
  top: 17%;
  width: 24%;
  height: 18%;
  background: #dce8d5;
}

.equipment-list h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.equipment-list p {
  margin: 0;
  color: #6b7168;
  font-size: 14px;
  line-height: 1.65;
}

.experience {
  display: grid;
  grid-template-columns: 34% 1fr 220px;
  align-items: stretch;
  max-width: 1720px;
  margin: 0 auto 74px;
  overflow: hidden;
  background: linear-gradient(90deg, #f3f5ed 0%, #eef2e6 100%);
  border-radius: 8px;
}

.facility-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 330px) 1fr;
  gap: clamp(30px, 5vw, 68px);
  padding: 82px clamp(28px, 7vw, 100px) 92px;
  background: #fff;
}

.facility-copy {
  align-self: center;
}

.facility-copy p {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.facility-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.32;
  word-break: keep-all;
}

.facility-copy span {
  display: block;
  margin-top: 24px;
  color: #667061;
  line-height: 1.9;
}

.facility-copy a {
  display: inline-block;
  margin-top: 34px;
  color: var(--green-dark);
  font-weight: 800;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.facility-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  margin: 0;
  background: var(--sage);
  border-radius: 8px;
}

.facility-grid figure.is-large {
  grid-row: span 2;
  min-height: 478px;
}

.facility-grid img,
.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-grid figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(42, 50, 37, 0.66);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.facility-grid strong {
  display: block;
  font-size: 18px;
}

.facility-grid span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.mobile-showcase {
  display: none;
}

.experience-photo {
  min-height: 320px;
}

.experience-copy {
  padding: 54px clamp(34px, 5vw, 76px);
}

.experience-copy > p:not(:first-child) {
  color: #667061;
  line-height: 1.8;
}

.experience-copy dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 0;
}

.experience-copy dt {
  color: var(--green);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
}

.experience-copy dd {
  margin: 7px 0 0;
  color: #6a7167;
  font-size: 13px;
  line-height: 1.6;
}

.care-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 34px;
  color: #fff;
  background: var(--green);
}

.care-card span {
  font-size: 42px;
}

.care-card strong {
  margin-top: 24px;
  font-size: 22px;
}

.care-card small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.care-card em {
  margin-top: 30px;
  font-style: normal;
  font-weight: 700;
}


.subpage-main {
  background: #fff;
}

.sub-hero {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 540px;
  background: #1d241b;
}

.sub-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  max-width: 760px;
  padding: clamp(52px, 8vw, 96px) clamp(26px, 7vw, 96px);
  color: #fff;
}

.sub-hero-copy p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.sub-hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.25;
}

.sub-hero-copy span {
  display: block;
  max-width: 420px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.85;
}

.sub-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  min-height: 100%;
}

.sub-hero-media video,
.sub-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 24, 16, 0.78) 0%, rgba(35, 47, 31, 0.52) 42%, rgba(35, 47, 31, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 20, 14, 0.36), rgba(15, 20, 14, 0.08) 52%, rgba(15, 20, 14, 0.24));
  pointer-events: none;
}

.sub-content {
  padding: 72px clamp(26px, 7vw, 100px) 120px;
}

.sub-section {
  max-width: 1180px;
  margin: 0 auto;
}

.sub-section h2 {
  margin: 0 0 22px;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.32;
}

.sub-section > p {
  max-width: 700px;
  margin: 0 0 42px;
  color: #687165;
  font-size: 17px;
  line-height: 1.9;
}

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

.info-grid article {
  min-height: 190px;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(118, 132, 106, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 24px;
  background: var(--sage);
  border-radius: 50%;
}

.info-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.info-grid p {
  margin: 0;
  color: #6d746a;
  line-height: 1.75;
}

.sub-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 34px 38px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.sub-cta strong {
  display: block;
  font-size: 24px;
}

.sub-cta small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.sub-cta a {
  flex: 0 0 auto;
  padding: 14px 22px;
  color: var(--ink);
  font-weight: 800;
  background: #fff;
  border-radius: 5px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.detail-gallery figure {
  overflow: hidden;
  margin: 0;
  background: var(--sage);
  border-radius: 8px;
}

.detail-gallery img {
  display: block;
  height: 150px;
}

.detail-gallery figcaption {
  padding: 13px 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}

.clinic-details {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.clinic-details[hidden],
.location-details[hidden] {
  display: none;
}

.director-message {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  padding: clamp(32px, 4vw, 52px);
  background: linear-gradient(135deg, #f4f8ee 0%, #ffffff 58%, #edf4e7 100%);
  border: 1px solid rgba(118, 132, 106, 0.16);
  border-radius: 8px;
}

.director-message p,
.doctor-section-head p,
.doctor-grid article > p {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.director-message h3,
.doctor-section-head h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.34;
}

.director-message blockquote {
  margin: 0;
  color: #4f5d4c;
  font-size: 17px;
  line-height: 1.95;
}

.director-message cite {
  display: block;
  margin-top: 22px;
  color: var(--green-dark);
  font-style: normal;
  font-weight: 800;
}

.doctor-section {
  padding: clamp(30px, 4vw, 46px);
  background: #fff;
  border: 1px solid rgba(118, 132, 106, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

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

.doctor-grid article {
  min-height: 330px;
  padding: 24px;
  background: #f8faf5;
  border: 1px solid rgba(118, 132, 106, 0.14);
  border-radius: 8px;
}

.doctor-portrait {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.32 / 1;
  margin-bottom: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.84) 0 14%, transparent 15%),
    linear-gradient(135deg, rgba(45, 123, 75, 0.18), rgba(132, 150, 111, 0.34));
  border-radius: 8px;
}

.doctor-portrait span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  background: var(--green);
  border-radius: 50%;
}

.doctor-portrait-b {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.84) 0 14%, transparent 15%),
    linear-gradient(135deg, rgba(123, 141, 103, 0.2), rgba(45, 123, 75, 0.28));
}

.doctor-portrait-c {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.84) 0 14%, transparent 15%),
    linear-gradient(135deg, rgba(235, 239, 226, 1), rgba(80, 128, 85, 0.28));
}

.doctor-grid h4 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.doctor-grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 15px;
}

.doctor-grid small {
  display: block;
  margin-top: 14px;
  color: #697468;
  font-size: 14px;
  line-height: 1.75;
}

.location-details {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.location-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(91, 104, 75, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(91, 104, 75, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, #eef3e7 0%, #fff 100%);
  background-size: 56px 56px, 56px 56px, auto;
  border: 1px solid rgba(118, 132, 106, 0.16);
  border-radius: 8px;
}

.location-map::before,
.location-map::after {
  position: absolute;
  content: "";
  background: rgba(123, 141, 103, 0.18);
  border-radius: 999px;
}

.location-map::before {
  width: 82%;
  height: 22px;
  transform: rotate(-17deg);
}

.location-map::after {
  width: 26px;
  height: 82%;
  transform: rotate(28deg);
}

.map-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 28px 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(118, 132, 106, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-pin {
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  background: var(--green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 12px;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.map-card strong {
  color: var(--green-dark);
  font-size: 20px;
}

.map-card small {
  margin-top: 6px;
  color: #687165;
  font-weight: 700;
}

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

.location-info-grid article {
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(118, 132, 106, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.location-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--green);
  background: var(--sage);
  border-radius: 50%;
}

.location-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.location-info-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.location-info-grid p,
.location-info-grid dl {
  margin: 0;
  color: #6d746a;
  line-height: 1.75;
}

.location-info-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.location-info-grid dt {
  font-weight: 800;
}

.location-info-grid dd {
  margin: 0;
}

.is-location-page .info-grid,
.is-location-page .detail-gallery {
  display: none;
}


.menu-page {
  min-height: calc(100vh - 132px);
  background: linear-gradient(135deg, #f5f7f0 0%, #ffffff 46%, #eef3e7 100%);
}

.menu-hero {
  padding: clamp(52px, 8vw, 96px) clamp(26px, 7vw, 100px) 34px;
}

.menu-hero p {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.menu-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.2;
}

.menu-hero span {
  display: block;
  margin-top: 18px;
  color: #687165;
  font-size: 17px;
}

.menu-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px clamp(26px, 7vw, 100px) 100px;
}

.menu-links a {
  display: grid;
  min-height: 170px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(118, 132, 106, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.menu-links a:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 104, 75, 0.34);
}

.menu-links small {
  color: var(--green);
  font-weight: 800;
}

.menu-links strong {
  margin-top: 18px;
  font-size: 26px;
}

.menu-links span {
  margin-top: 12px;
  color: #6b7468;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 84px 1fr 84px;
    grid-template-areas: ". brand actions";
    min-height: 84px;
    padding: 0;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    display: none;
  }

  .header-actions a {
    display: none;
  }

  .header-actions .menu-button {
    display: grid;
  }

  .header-actions {
    grid-area: actions;
    grid-template-columns: 84px;
    height: 100%;
    justify-items: center;
  }

  .hero,
  .hero-copy,
  .menu-page {
    min-height: calc(100vh - 84px);
  }

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

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

}

@media (min-width: 821px) and (max-width: 1180px) {
  .hero {
    min-height: clamp(640px, 72vh, 760px);
  }

  .hero-copy {
    min-height: clamp(640px, 72vh, 760px);
    max-width: 560px;
    padding: 64px clamp(42px, 6vw, 76px);
  }

  .hero h1 {
    max-width: 440px;
    font-size: clamp(38px, 4.1vw, 50px);
    line-height: 1.24;
  }

  .hero-desc {
    max-width: 400px;
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.78;
  }

  .hero-features {
    max-width: 460px;
    margin-top: 40px;
  }

  .hero-features article {
    padding: 0 14px;
  }

  .line-icon {
    width: 36px;
    height: 36px;
  }

  .line-icon svg {
    width: 28px;
    height: 28px;
  }

  .hero-features b {
    font-size: 13px;
  }

  .hero-features small {
    font-size: 11px;
  }

  .quick-menu {
    top: 32vh;
    right: 18px;
    display: grid;
    width: 58px;
    padding: 12px 0;
  }

  .quick-menu a {
    gap: 4px;
    padding: 7px 4px;
    font-size: 9px;
  }

  .quick-icon {
    width: 29px;
    height: 29px;
  }

  .quick-icon img {
    width: 22px;
    height: 22px;
  }

  .quick-icon svg {
    width: 17px;
    height: 17px;
  }

  .scroll-cue {
    right: 48px;
    bottom: 34px;
  }

  .scroll-line {
    height: 58px;
  }

  .visit-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 34px 96px 34px clamp(28px, 5vw, 54px);
  }

  .visit-info article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 26px;
  }

  .visit-info .visit-icon {
    width: 38px;
    height: 38px;
  }

  .visit-info .visit-icon svg {
    width: 22px;
    height: 22px;
  }

  .visit-info address {
    max-width: 100%;
  }

  .facility-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 58px clamp(34px, 7vw, 72px) 68px;
  }

  .facility-copy {
    align-self: start;
    max-width: 560px;
  }

  .facility-copy span {
    max-width: 520px;
    margin-top: 18px;
  }

  .facility-copy a {
    margin-top: 24px;
  }

  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .facility-grid figure {
    min-height: 220px;
  }

  .facility-grid figure.is-large {
    grid-row: span 2;
    min-height: 454px;
  }

  .facility-grid figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 14px 15px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 72px 1fr 72px;
    grid-template-areas: ". brand actions";
    min-height: 72px;
    padding: 0;
  }

  .menu-button {
    width: 48px;
    height: 48px;
  }

  .site-menu {
    align-items: start;
    padding: 88px 16px 24px;
  }

  .site-menu-panel {
    padding: 34px 28px 26px;
  }

  .site-menu-panel nav a {
    padding: 12px 0;
    font-size: 20px;
    font-weight: 700;
  }

  .hero {
    min-height: calc(100vh - 72px);
  }

  .hero-copy {
    min-height: 510px;
    padding: 54px 24px;
    max-width: none;
  }

  .hero-media {
    min-height: 100%;
  }

  .scroll-cue {
    right: 24px;
    bottom: 26px;
    font-size: 10px;
  }

  .scroll-line {
    height: 62px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 22px;
    border-left: 0;
  }

  .hero-features article {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start;
    column-gap: 12px;
    text-align: left;
    border-right: 0;
  }

  .hero-features .line-icon {
    grid-row: 1 / 3;
    align-self: center;
  }

  .hero-features small {
    grid-column: 2;
    margin-top: 0;
  }

  .quick-menu {
    display: none;
  }

  .programs,
  .equipment,
  .experience,
  .facility-showcase,
  .visit-info,
  .sub-content {
    grid-template-columns: 1fr;
  }

  .programs {
    display: none;
  }

  .sub-hero,
  .sub-hero-copy {
    min-height: 380px;
  }

  .sub-hero-copy {
    max-width: none;
    padding: 42px 28px;
  }

  .sub-hero-copy h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.25;
  }

  .sub-hero-copy span {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.8;
  }

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

  .visit-info article {
    padding: 22px 18px;
  }

  .visit-icon {
    display: none;
  }

  .visit-info h2 {
    margin-bottom: 16px;
    font-size: 27px;
  }

  .visit-info dl div {
    gap: 10px;
  }

  .visit-info dd {
    text-align: right;
  }

  .equipment-list,
  .experience-copy dl,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .equipment {
    padding: 62px 0 70px;
    background:
      linear-gradient(180deg, rgba(247, 248, 243, 0.9) 0%, rgba(255, 255, 255, 0.76) 46%, rgba(238, 242, 233, 0.96) 100%),
      url("./assets/facility-surgery.png") center / cover;
  }

  .equipment-copy,
  .facility-copy {
    padding: 0 28px;
    color: var(--ink);
    text-align: center;
  }

  .equipment-copy p:first-child,
  .facility-copy p {
    color: var(--green-dark);
  }

  .equipment-copy p:not(:first-child),
  .facility-copy span {
    max-width: 320px;
    margin: 18px auto 0;
    color: #596356;
  }

  .equipment-copy a,
  .facility-copy a,
  .equipment-list,
  .facility-grid {
    display: none;
  }

  .mobile-showcase {
    display: block;
    width: min(100% - 36px, 420px);
    margin: 28px auto 0;
    color: var(--ink);
  }

  .mobile-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 2px 16px;
    scrollbar-width: none;
  }

  .mobile-tabs button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 15px;
    color: #5e6859;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(91, 104, 75, 0.16);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(45, 55, 38, 0.08);
  }

  .mobile-tabs button.is-active {
    color: #fff;
    background: var(--green-dark);
    border-color: var(--green-dark);
  }

  .mobile-panel {
    display: none;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(91, 104, 75, 0.14);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(42, 50, 37, 0.16);
  }

  .mobile-panel.is-active {
    display: block;
  }

  .mobile-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
  }

  .mobile-panel div {
    padding: 22px 22px 24px;
  }

  .mobile-panel h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 23px;
    line-height: 1.25;
  }

  .mobile-panel p {
    margin: 0;
    color: #5f675d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
  }

  .facility-showcase {
    padding: 64px 0 72px;
    background:
      linear-gradient(180deg, rgba(247, 248, 243, 0.86) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(238, 242, 233, 0.96) 100%),
      url("./assets/facility-reception.png") center / cover;
  }

  .mobile-showcase-dark {
    color: var(--ink);
  }

  .facility-grid,
  .detail-gallery,
  .location-info-grid,
  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .director-message {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .doctor-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .facility-grid figure.is-large {
    min-height: 300px;
  }

  .sub-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-links {
    grid-template-columns: 1fr;
  }

  .experience {
    margin: 0 18px 40px;
  }
}

@media (min-width: 640px) and (max-width: 820px) {
  .hero {
    min-height: clamp(500px, 68vh, 560px);
  }

  .hero-copy {
    min-height: clamp(500px, 68vh, 560px);
    max-width: 540px;
    padding: 38px 42px 42px;
  }

  .hero h1 {
    max-width: 410px;
    font-size: clamp(34px, 5.2vw, 44px);
    line-height: 1.22;
  }

  .hero-desc {
    max-width: 400px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-features {
    max-width: 290px;
    margin-top: 24px;
    gap: 12px;
  }

  .scroll-cue {
    right: 38px;
    bottom: 30px;
  }

  .scroll-line {
    height: 58px;
  }

  .hero-features article {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 10px;
    padding: 0;
  }

  .line-icon {
    width: 36px;
    height: 36px;
  }

  .line-icon svg {
    width: 27px;
    height: 27px;
  }

  .hero-features b {
    font-size: 14px;
  }

  .hero-features small {
    font-size: 12px;
  }

  .media-shade {
    background:
      linear-gradient(90deg, rgba(18, 24, 16, 0.82) 0%, rgba(35, 47, 31, 0.62) 46%, rgba(35, 47, 31, 0.18) 100%),
      linear-gradient(0deg, rgba(15, 20, 14, 0.44), rgba(15, 20, 14, 0.08) 48%, rgba(15, 20, 14, 0.28));
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 18px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 52px);
    line-height: 1.32;
  }

  .hero-copy {
    min-height: calc(100vh - 72px);
    padding: 44px 24px 38px;
  }

  .hero-desc {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-features {
    margin-top: 34px;
  }

  .section-lead h2,
  .equipment-copy h2,
  .experience-copy h2,
  .facility-copy h2 {
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.38;
    max-width: 360px;
  }

  .section-lead p,
  .equipment-copy > p:first-child,
  .facility-copy p,
  .experience-copy > p:first-child {
    font-size: 12px;
  }

  .program-grid {
    gap: 20px 12px;
  }

  .program-icon {
    width: 64px;
    height: 64px;
  }

  .program-icon svg {
    width: 34px;
    height: 34px;
  }

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