:root {
  color-scheme: light;
  --ink: #172127;
  --text: #33434d;
  --muted: #70808a;
  --paper: #f5f7f7;
  --white: #ffffff;
  --line: #dbe3e5;
  --teal: #087b80;
  --teal-dark: #0a4248;
  --gold: #b58a58;
  --gold-soft: #f3eadf;
  --charcoal: #10272d;
  --shadow: 0 22px 54px rgba(16, 39, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.72;
}

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

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

.topbar {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.topbar-inner {
  width: min(1220px, calc(100% - 40px));
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 229, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  line-height: 1.2;
  white-space: nowrap;
}

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

.brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
}

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

.hero {
  min-height: 86svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: clamp(32px, 6vw, 92px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 96px) clamp(46px, 6vw, 82px);
  background:
    linear-gradient(110deg, rgba(245, 247, 247, 0.98) 0%, rgba(245, 247, 247, 0.9) 45%, rgba(215, 235, 237, 0.86) 100%),
    url("assets/doctor-profile-poster.jpg") center / cover;
}

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

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

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.hero-title {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.28;
}

.hero-text {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
}

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

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--text);
  font-weight: 900;
}

.hero-contact span {
  color: var(--muted);
  font-size: 15px;
}

.hero-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid rgba(181, 138, 88, 0.34);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(16, 39, 45, 0.08);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight: 900;
}

.btn.primary {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(10, 66, 72, 0.22);
}

.btn.ghost {
  border: 1px solid rgba(10, 66, 72, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
}

.hero-photo {
  width: min(390px, 86vw);
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: #d6dde1;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid rgba(219, 227, 229, 0.95);
  background: var(--white);
}

.trust-band div {
  min-height: 138px;
  padding: 24px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 20px;
  line-height: 1.28;
}

.trust-band span {
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 96px);
}

.section-head,
.authority-layout,
.system-steps,
.project-grid,
.explain-grid,
.article-list,
.safety-section {
  width: min(1220px, 100%);
  margin-inline: auto;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.compact {
  width: min(1220px, 100%);
}

.section-head p:not(.eyebrow) {
  max-width: 830px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.authority-section,
.projects-section,
.safety-section {
  background: var(--white);
}

.authority-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 16px;
}

.authority-card,
.system-steps article,
.project-card,
.explain-grid div,
.article-list article {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(16, 39, 45, 0.06);
}

.authority-card {
  min-height: 184px;
  padding: 26px;
}

.authority-card.large {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 584px;
  padding: clamp(30px, 4vw, 54px);
  background:
    linear-gradient(145deg, rgba(16, 39, 45, 0.96), rgba(10, 66, 72, 0.94)),
    url("assets/doctor-portrait.jpg") center / cover;
  color: var(--white);
}

.authority-card.large p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.num {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.authority-card p,
.system-steps p,
.project-card p,
.project-card li,
.explain-grid p,
.article-list p,
.safety-copy p {
  color: var(--muted);
}

.system-section {
  background: linear-gradient(180deg, #f5f7f7 0%, #eef5f5 100%);
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.system-steps article {
  min-height: 292px;
  padding: 24px;
}

.system-steps b,
.article-list b {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #895d32;
  font-size: 13px;
}

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

.project-card {
  min-height: 376px;
  padding: 25px;
}

.project-card.highlight {
  background: linear-gradient(145deg, #f7fbfb, #edf6f5);
  border-color: rgba(8, 123, 128, 0.22);
}

.project-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.project-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.project-card li {
  margin-bottom: 8px;
}

.explain-section {
  background: var(--charcoal);
  color: var(--white);
}

.explain-section .section-head p,
.explain-section .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

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

.explain-grid div {
  min-height: 210px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.explain-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #f4d9b9;
  font-size: 21px;
}

.explain-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.articles-section {
  background: #f8faf9;
}

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

.article-list article {
  min-height: 224px;
  padding: 23px;
}

.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.safety-copy {
  max-width: 790px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.checklist span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #f8fbfb;
  color: var(--teal-dark);
  font-weight: 800;
}

.poster {
  position: sticky;
  top: 92px;
  max-height: 76vh;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(20px, 6vw, 96px);
  background: #0e2228;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .hero,
  .safety-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .trust-band,
  .system-steps,
  .project-grid,
  .explain-grid,
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .authority-layout {
    grid-template-columns: 1fr;
  }

  .authority-card.large {
    grid-row: auto;
    min-height: 420px;
  }

  .poster {
    position: static;
    max-height: 620px;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 42px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-contact,
  .hero-contact a {
    width: 100%;
  }

  .hero-contact a {
    justify-content: center;
  }

  .trust-band,
  .system-steps,
  .project-grid,
  .explain-grid,
  .article-list,
  .checklist {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .authority-card.large {
    min-height: 360px;
  }

  .site-footer {
    flex-direction: column;
  }
}
