:root {
  --ink: #12272c;
  --muted: #5f7174;
  --line: #dbe5e3;
  --paper: #fbfaf6;
  --soft: #eef5f2;
  --mint: #cddfda;
  --teal: #17444b;
  --teal-2: #0d3037;
  --gold: #b59658;
  --rose: #d9a7a7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(14, 47, 52, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(120deg, rgba(205, 223, 218, 0.55), transparent 36%),
    linear-gradient(180deg, #fffdf8 0%, #f5f1e8 46%, #eef5f2 100%);
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 229, 227, 0.76);
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(22px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-elevated {
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 12px 30px rgba(18, 39, 44, 0.08);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff8e6;
  font-family: Georgia, serif;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

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

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 28px);
  color: #345157;
  font-size: 17px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  padding: 0 18px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.9fr);
  gap: clamp(30px, 4.5vw, 64px);
  min-height: auto;
  align-items: center;
  padding: clamp(34px, 5.5vw, 72px) clamp(20px, 5vw, 72px) 36px;
}

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

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

.hero-eyebrow {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.28;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #3d5559;
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  padding: 0 24px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 28px rgba(13, 48, 55, 0.2);
}

.button.ghost {
  border-color: rgba(23, 68, 75, 0.24);
  background: rgba(255, 255, 255, 0.5);
  color: var(--teal-2);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 680px);
  aspect-ratio: 1800 / 1251;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(13, 48, 55, 0.12)),
    #f6f2e9;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.hero-visual::before {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.doctor-figure {
  display: block;
  object-position: 62% center;
}

.doctor-card {
  position: absolute;
  z-index: 2;
  top: clamp(24px, 4vw, 42px);
  left: clamp(10px, 1.4vw, 16px);
  width: min(245px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(15, 47, 52, 0.14);
  backdrop-filter: blur(18px);
}

.doctor-card p,
.doctor-card strong,
.doctor-card small {
  display: block;
  margin: 0;
}

.doctor-card p {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.doctor-card strong {
  color: var(--ink);
  font-size: 19px;
}

.doctor-card small {
  color: var(--muted);
  font-size: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 50px rgba(18, 39, 44, 0.08);
}

.metrics article {
  min-height: 150px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.metrics span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.metrics p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 92px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

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

.focus-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(219, 229, 227, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 36px rgba(14, 47, 52, 0.06);
}

.focus-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  place-items: center;
  border: 1px solid rgba(181, 150, 88, 0.45);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.focus-card p,
.timeline-list p,
.statement p,
.feature-panel p,
.contact p,
footer p {
  color: var(--muted);
}

.statement {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--teal-2);
  color: #fff;
}

.statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
}

.timeline {
  background: rgba(255, 255, 255, 0.28);
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline-list article {
  min-height: 310px;
  padding: 28px;
  background: rgba(251, 250, 246, 0.86);
}

.timeline-list time {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
}

.education {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.feature-panel {
  min-height: 360px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
    linear-gradient(120deg, rgba(217, 167, 167, 0.3), rgba(205, 223, 218, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.article-stack {
  display: grid;
  gap: 14px;
}

.article-stack article {
  display: grid;
  min-height: 110px;
  align-content: center;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.article-stack span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.article-stack h3 {
  margin: 6px 0 0;
}

.social {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(238, 245, 242, 0.72));
}

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

.social-grid article {
  display: grid;
  gap: 12px;
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(219, 229, 227, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(14, 47, 52, 0.07);
}

.social-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}

.social-grid span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.social-grid strong {
  color: var(--teal-2);
  font-size: 20px;
  line-height: 1.25;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid rgba(219, 229, 227, 0.9);
}

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

.contact-panel a,
.qr-slot {
  display: grid;
  min-height: 116px;
  align-content: center;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font-weight: 800;
  box-shadow: 0 15px 34px rgba(14, 47, 52, 0.08);
}

.contact-panel .mini-program {
  gap: 8px;
}

.contact-panel .mini-program small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
}

.qr-slot {
  grid-column: 1 / -1;
  min-height: 180px;
  border: 1px dashed rgba(23, 68, 75, 0.28);
  background:
    repeating-linear-gradient(45deg, rgba(23, 68, 75, 0.05) 0 8px, transparent 8px 16px),
    rgba(255, 255, 255, 0.62);
  text-align: center;
}

.qr-slot small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 500;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px) 42px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

footer p {
  max-width: 680px;
  margin: 0;
}

@media (max-width: 1060px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .statement,
  .education,
  .social,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    padding: 42px 16px 30px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
  }

  .doctor-card {
    top: auto;
    bottom: 16px;
    left: 12px;
    width: min(260px, calc(100% - 32px));
  }

  .metrics,
  .focus-grid,
  .timeline-list,
  .social-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin: 0 16px;
  }

  .section {
    padding: 64px 16px;
  }

  .focus-card,
  .timeline-list article {
    min-height: auto;
  }

  .focus-card span,
  .timeline-list time {
    margin-bottom: 24px;
  }

  .qr-slot {
    grid-column: auto;
  }
}
