:root {
  --ink: #282720;
  --soft-ink: #575145;
  --muted: #786f61;
  --paper: #f8f4eb;
  --paper-deep: #efe1c9;
  --ivory: #fffaf0;
  --green: #334f3d;
  --green-2: #6f8665;
  --red: #8e3328;
  --gold: #c19a58;
  --line: rgba(40, 39, 32, 0.14);
  --shadow: 0 28px 80px rgba(61, 42, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(193, 154, 88, 0.22), transparent 32rem),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 28%, #efe3d1 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 240, 0.86);
  border-bottom: 1px solid rgba(51, 79, 61, 0.13);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 260px;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 148px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--soft-ink);
  font-size: 15px;
  white-space: nowrap;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--red);
}

.header-cta,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.header-cta,
.primary-button,
.contact-form button {
  color: var(--ivory);
  background: var(--green);
}

.header-cta {
  padding: 0 20px;
  font-size: 14px;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: calc(100vh - 79px);
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(46px, 7vw, 96px) clamp(20px, 5vw, 72px) 48px;
  overflow: hidden;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text,
.about-content p,
.section-heading.wide p,
.feature-band p,
.culture-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-button,
.secondary-button {
  min-width: 158px;
  padding: 0 24px;
}

.secondary-button {
  border: 1px solid rgba(51, 79, 61, 0.24);
  color: var(--green);
  background: rgba(255, 250, 240, 0.84);
}

.hero-panel {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(40, 39, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.58);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  position: absolute;
  inset: 14% -8% -8% 24%;
  z-index: -1;
  content: "";
  background: rgba(111, 134, 101, 0.28);
  border-radius: 999px;
}

.hero-logo-banner {
  width: 100%;
  aspect-ratio: 4.35 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  margin-top: 12px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.hero-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 0;
}

.hero-panel dl div {
  padding: 18px 14px;
  background: var(--ivory);
  border-radius: 6px;
  border: 1px solid rgba(40, 39, 32, 0.1);
}

.hero-panel dt {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 900;
}

.hero-panel dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--green);
  color: rgba(255, 250, 240, 0.88);
}

.trust-strip span {
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 250, 240, 0.16);
  text-align: center;
  font-weight: 800;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(68px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
}

.section-heading.wide {
  max-width: 930px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-content {
  display: grid;
  gap: 18px;
}

.heritage-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(40, 39, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 18px 52px rgba(61, 42, 25, 0.08);
}

.heritage-story figure {
  margin: 0;
}

.heritage-story img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.heritage-copy {
  padding: clamp(16px, 3vw, 32px);
}

.heritage-copy h3 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.heritage-copy p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.timeline article {
  padding: 26px;
  border-left: 3px solid var(--red);
  background: rgba(255, 250, 240, 0.64);
  border-radius: 8px;
}

.timeline span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
  line-height: 1.75;
}

.credential-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.credential-grid article,
.specialty-grid article,
.culture-list article,
.doctor-card,
.contact-form {
  border: 1px solid rgba(40, 39, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 52px rgba(61, 42, 25, 0.08);
}

.credential-grid article {
  padding: 28px;
}

.credential-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 900;
}

.credential-grid p,
.specialty-grid p,
.culture-list span,
.doctor-card p,
.contact-list dd,
.form-note {
  color: var(--muted);
  line-height: 1.75;
}

.doctors-section {
  background:
    linear-gradient(rgba(51, 79, 61, 0.88), rgba(51, 79, 61, 0.9)),
    radial-gradient(circle at 92% 8%, rgba(193, 154, 88, 0.4), transparent 24rem);
  color: var(--ivory);
}

.doctors-section .eyebrow,
.doctors-section .section-heading p {
  color: rgba(255, 250, 240, 0.78);
}

.doctor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 24px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.82);
  background: transparent;
  cursor: pointer;
}

.filter-chip.is-active {
  color: var(--green);
  background: var(--ivory);
}

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

.doctor-card {
  display: grid;
  min-height: 440px;
  padding: 0;
  color: var(--ink);
  overflow: hidden;
}

.doctor-card[hidden] {
  display: none;
}

.doctor-cover {
  position: relative;
  min-height: 310px;
  background: #e8d8bf;
  overflow: hidden;
}

.doctor-cover img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

.doctor-card:hover .doctor-cover img {
  transform: scale(1.025);
}

.doctor-body {
  padding: 20px;
}

.doctor-body h3 {
  margin-bottom: 8px;
}

.doctor-body p {
  margin-bottom: 16px;
  font-size: 14px;
}

.doctor-body button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(51, 79, 61, 0.2);
  border-radius: 999px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(64px, 8vw, 106px) clamp(20px, 5vw, 72px);
  background: var(--paper-deep);
}

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

.specialty-grid article {
  padding: 30px;
  background: var(--ivory);
}

.specialty-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--red);
  font-weight: 900;
}

.appointment-section {
  background:
    linear-gradient(rgba(255, 250, 240, 0.88), rgba(255, 250, 240, 0.88)),
    radial-gradient(circle at 100% 0, rgba(142, 51, 40, 0.18), transparent 28rem);
}

.appointment-section .section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.department-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.department-button {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(40, 39, 32, 0.12);
  border-radius: 8px;
  color: var(--ink);
  background: var(--ivory);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 30px rgba(61, 42, 25, 0.06);
}

.department-button strong {
  font-size: 18px;
}

.department-button span {
  color: var(--muted);
  font-size: 13px;
}

.department-button.is-active {
  color: var(--ivory);
  background: var(--green);
}

.department-button.is-active span {
  color: rgba(255, 250, 240, 0.78);
}

.department-panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(40, 39, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.8);
  box-shadow: var(--shadow);
}

.department-panel-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.department-panel-head span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.department-panel-head h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(28px, 3vw, 42px);
}

.department-panel-head p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

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

.register-doctor-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 360px;
  border: 1px solid rgba(40, 39, 32, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: var(--ivory);
}

.register-mini-poster {
  display: grid;
  min-height: 188px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px 18px;
  color: var(--ivory);
  background:
    linear-gradient(145deg, rgba(142, 51, 40, 0.94), rgba(57, 38, 29, 0.96)),
    radial-gradient(circle at 18% 12%, rgba(255, 250, 240, 0.2), transparent 18rem);
  text-align: center;
}

.poster-seal {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.48);
  border-radius: 50%;
  color: #f6d68e;
  font-family: "Songti SC", "STSong", serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
}

.register-mini-poster strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: 30px;
  letter-spacing: 0;
}

.register-mini-poster em {
  color: rgba(255, 250, 240, 0.86);
  font-style: normal;
  font-weight: 800;
}

.register-mini-poster small {
  color: rgba(255, 250, 240, 0.68);
  font-size: 13px;
}

.register-doctor-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.register-doctor-body h4 {
  margin: 0;
  font-size: 20px;
}

.register-doctor-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.register-doctor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.register-doctor-actions a,
.register-doctor-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.register-doctor-actions a {
  border: 0;
  color: var(--ivory);
  background: var(--red);
}

.register-doctor-actions button {
  border: 1px solid rgba(51, 79, 61, 0.2);
  color: var(--green);
  background: transparent;
}

.culture-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  background: #fffaf0;
}

.culture-list {
  display: grid;
  gap: 14px;
}

.culture-list article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.culture-list strong {
  color: var(--green);
  font-size: 18px;
}

.little-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(68px, 9vw, 124px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(142, 51, 40, 0.9), rgba(65, 42, 31, 0.92)),
    radial-gradient(circle at 88% 12%, rgba(255, 250, 240, 0.28), transparent 26rem);
  color: var(--ivory);
}

.little-copy {
  max-width: 720px;
}

.little-copy .eyebrow,
.little-copy p {
  color: rgba(255, 250, 240, 0.78);
}

.little-copy p {
  font-size: 18px;
  line-height: 1.9;
}

.little-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.secondary-button.light {
  color: var(--ivory);
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.3);
}

.little-hero-card {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.12);
  box-shadow: var(--shadow);
}

.little-hero-card img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.little-hero-card figcaption {
  margin-top: 12px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.little-program {
  padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--ivory);
}

.little-program .section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

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

.program-grid article {
  min-height: 228px;
  padding: 28px;
  border: 1px solid rgba(40, 39, 32, 0.1);
  border-radius: 8px;
  background: #fbf3e4;
  box-shadow: 0 18px 52px rgba(61, 42, 25, 0.08);
}

.program-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 900;
}

.program-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.little-gallery-section {
  padding: 0 clamp(20px, 5vw, 72px) clamp(68px, 9vw, 124px);
  background: var(--ivory);
}

.little-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e7d4b9;
  box-shadow: 0 18px 52px rgba(61, 42, 25, 0.13);
}

.gallery-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ivory);
  background: rgba(22, 29, 21, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.environment-section {
  background: var(--paper-deep);
}

.environment-section .section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.environment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
  margin-top: 34px;
}

.environment-card {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #d8c4a3;
  box-shadow: 0 18px 52px rgba(61, 42, 25, 0.13);
}

.environment-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.environment-card.tall {
  grid-row: span 2;
}

.environment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.environment-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ivory);
  background: rgba(22, 29, 21, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 500px);
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(68px, 9vw, 124px) clamp(20px, 5vw, 72px);
  background: var(--green);
  color: var(--ivory);
}

.contact-section .eyebrow,
.contact-list dd,
.contact-form .form-note {
  color: rgba(255, 250, 240, 0.78);
}

.contact-list {
  display: grid;
  gap: 22px;
  margin: 30px 0 0;
}

.contact-list dt {
  margin-bottom: 7px;
  color: var(--gold);
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  max-width: 680px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--ivory);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(40, 39, 32, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.doctor-dialog {
  width: min(980px, calc(100vw - 28px));
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.appointment-dialog {
  width: min(680px, calc(100vw - 28px));
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.appointment-dialog::backdrop {
  background: rgba(19, 22, 17, 0.76);
  backdrop-filter: blur(10px);
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.appointment-form h2 {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
}

.appointment-form label,
.appointment-selected {
  display: grid;
  gap: 8px;
}

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

.appointment-form span {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border: 1px solid rgba(40, 39, 32, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.appointment-form input[readonly] {
  color: var(--red);
  background: #fbf3e4;
  font-weight: 800;
}

.appointment-form textarea {
  resize: vertical;
}

.appointment-form button[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--ivory);
  background: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.doctor-dialog::backdrop {
  background: rgba(19, 22, 17, 0.76);
  backdrop-filter: blur(10px);
}

.doctor-dialog img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.dialog-close {
  position: absolute;
  right: -8px;
  top: -48px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 250, 240, 0.3);
  border-radius: 50%;
  color: var(--ivory);
  background: rgba(255, 250, 240, 0.12);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 250, 240, 0.75);
  background: #1e261e;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 250, 240, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ivory);
}

@media (max-width: 1180px) {
  .nav {
    gap: 14px;
  }

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

@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.is-open .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav a {
    padding: 14px 10px;
  }

  .hero,
  .about-section,
  .heritage-story,
  .feature-band,
  .culture-section,
  .little-section,
  .appointment-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .credential-grid,
  .doctor-grid,
  .timeline,
  .department-doctors,
  .program-grid,
  .specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 116px;
  }

  .brand strong {
    font-size: 15px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text,
  .about-content p,
  .section-heading.wide p,
  .feature-band p,
  .culture-copy p {
    font-size: 16px;
  }

  .hero-panel dl,
  .credential-grid,
  .doctor-grid,
  .timeline,
  .department-doctors,
  .appointment-selected,
  .program-grid,
  .specialty-grid,
  .little-gallery,
  .environment-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .little-gallery,
  .environment-grid {
    grid-auto-rows: 260px;
  }

  .gallery-card.large,
  .gallery-card.tall,
  .environment-card.large,
  .environment-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.16);
  }

  .doctor-card {
    min-height: auto;
  }

  .doctor-cover,
  .doctor-cover img {
    min-height: 360px;
  }

  .dialog-close {
    right: 0;
  }

  .site-footer {
    display: grid;
  }
}
