@charset "utf-8";

:root {
  --ink: #181512;
  --paper: #f7f3ee;
  --line: rgba(255, 255, 255, 0.22);
  --gold: #c8a35d;
  --gold-soft: #eadfc8;
  --footer: #141211;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, rgba(200, 163, 93, 0.22), transparent 28%),
    linear-gradient(135deg, #fffaf4 0%, #eee4d7 47%, #f8f4ed 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.site {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 18, 17, 0.76);
  box-shadow: 0 18px 48px rgba(24, 21, 18, 0.18);
  backdrop-filter: blur(18px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

.tab_p {
  margin: 0;
}

.tab_p a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 40px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tab_p a:hover,
.tab_p a:focus-visible,
.tab_p a[aria-current="page"] {
  color: #fff;
  border-color: rgba(200, 163, 93, 0.62);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.stage {
  width: min(1440px, calc(100% - 40px));
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(43, 35, 25, 0.22);
}

.stage__media {
  position: relative;
  background: #171412;
}

.stage__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 18, 17, 0.16), transparent 22%),
    linear-gradient(90deg, rgba(20, 18, 17, 0.10), transparent 24%, transparent 76%, rgba(20, 18, 17, 0.10));
}

.stage__media img {
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.content-band {
  padding: 42px min(5vw, 64px);
  background:
    linear-gradient(180deg, #fff, #fbf7f1);
}

.section-heading {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0 auto 26px;
  text-align: center;
}

.section-kicker {
  margin: 0;
  color: #8d6b34;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.section-heading h1 {
  margin: 0;
  color: #201a15;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(141, 107, 52, 0.22);
  border-radius: 6px;
  color: #3c332a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.doctor-card {
  position: relative;
  min-height: 138px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(141, 107, 52, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 243, 235, 0.86)),
    #fff;
  box-shadow: 0 16px 36px rgba(43, 35, 25, 0.08);
}

.doctor-card::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 1px;
  background: rgba(141, 107, 52, 0.34);
}

.doctor-card > div {
  min-width: 0;
}

.doctor-card h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 18px;
  color: #2c2620;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.doctor-card h2 span {
  color: #8d6b34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
}

.doctor-card p {
  margin: 0;
  color: #5f554b;
  font-size: 14px;
  line-height: 1.75;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    #171717;
}

.contact-item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-width: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  white-space: nowrap;
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1;
}

.beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 28px;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--footer);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

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

.beian a:hover,
.beian a:focus-visible {
  color: var(--gold-soft);
  outline: none;
}

@media (max-width: 760px) {
  .nav__inner {
    min-height: 60px;
    width: min(100% - 20px, 520px);
  }

  .tab {
    width: 100%;
    gap: 8px;
  }

  .tab_p {
    flex: 1 1 0;
  }

  .tab_p a {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }

  .stage {
    width: calc(100% - 16px);
    margin-top: 10px;
    border-radius: 6px;
  }

  .stage__media img {
    min-height: 0;
  }

  .content-band {
    padding: 30px 16px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h1 {
    font-size: 23px;
  }

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

  .service-grid span {
    min-height: 40px;
    font-size: 13px;
  }

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

  .doctor-card {
    min-height: 0;
    padding: 20px 18px;
  }

  .doctor-card h2 {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .beian {
    margin-top: 10px;
    padding: 18px 14px;
    gap: 8px 14px;
  }

  .contact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
    padding: 24px 14px;
  }

  .contact-item {
    font-size: 12px;
    white-space: normal;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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