:root {
  --primary: #2f7fc1;
  --primary-deep: #1d5c92;
  --primary-ink: #173f5f;
  --teal: #3fb8a5;
  --green: #6cbf8e;
  --sand: #f4a95f;
  --bg: #f5fafd;
  --card: #ffffff;
  --line: #e3eef6;
  --text: #33414e;
  --muted: #6b7c8a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 90, 140, .10);
  --shadow-lg: 0 18px 50px rgba(31, 90, 140, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--primary-ink); line-height: 1.2; }
.brand-name small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .12em; }
.brand-logo { height: 56px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 15px; color: var(--text); font-weight: 500;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: #eaf3fa; color: var(--primary-deep); }
.main-nav a.active { background: var(--primary); color: #fff; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 12px; padding: 9px 18px;
  background: linear-gradient(135deg, var(--sand) 0%, #f08c3a 100%);
  color: #fff; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 16px rgba(240, 140, 58, .35);
  white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-phone:hover { color: #fff; filter: brightness(1.05); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-ink); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #eaf4fb 0%, #f7fbf6 100%); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 72px 0 84px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; color: var(--primary-deep); font-weight: 500;
  box-shadow: 0 4px 14px rgba(31, 90, 140, .08);
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 {
  font-size: 44px; line-height: 1.28; color: var(--primary-ink);
  margin: 22px 0 10px; letter-spacing: .02em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--primary) 20%, var(--teal) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-slogan { font-size: 20px; color: var(--primary-deep); font-weight: 600; margin-bottom: 14px; }
.hero-desc { color: var(--muted); font-size: 16.5px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 16px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; box-shadow: 0 8px 22px rgba(47, 127, 193, .35); }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: #fff; color: var(--primary-deep); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: #eef6fc; }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; height: 430px; object-fit: cover;
  border-radius: 28px 28px 28px 8px; box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: -18px; bottom: 28px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 22px; display: flex; gap: 18px; align-items: center;
}
.hero-badge .num { font-size: 26px; font-weight: 800; color: var(--primary); }
.hero-badge .lbl { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--bg); }

/* ---------- section ---------- */
.section { padding: 78px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .3em;
  color: var(--teal); text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; color: var(--primary-ink); line-height: 1.35; }
.section-head h2 em { font-style: normal; color: var(--primary); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ---------- intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); height: 380px; width: 100%; object-fit: cover; }
.split-body h2 { font-size: 30px; color: var(--primary-ink); margin-bottom: 18px; }
.split-body p { color: var(--muted); margin-bottom: 14px; text-align: justify; }
.split-points { margin-top: 22px; display: grid; gap: 12px; }
.split-points li { list-style: none; display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15.5px; }
.split-points li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #e6f4ef; color: var(--green); font-size: 13px; font-weight: 700;
  display: grid; place-items: center; margin-top: 3px;
}

/* ---------- pillars (七位一体) ---------- */
.pillars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; list-style: none; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; padding: 26px 8px 20px; transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar .zi {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px;
  display: grid; place-items: center; font-size: 24px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
}
.pillar:nth-child(2) .zi { background: linear-gradient(135deg, #4aa0d5, var(--green)); }
.pillar:nth-child(3) .zi { background: linear-gradient(135deg, var(--teal), var(--green)); }
.pillar:nth-child(4) .zi { background: linear-gradient(135deg, var(--green), #9ccf6b); }
.pillar:nth-child(5) .zi { background: linear-gradient(135deg, #f0a04b, var(--sand)); }
.pillar:nth-child(6) .zi { background: linear-gradient(135deg, #e88a9a, #f0a04b); }
.pillar:nth-child(7) .zi { background: linear-gradient(135deg, #8f7ad6, #6a9fd8); }
.pillar .name { font-size: 13px; color: var(--muted); }

/* ---------- condition tags ---------- */
.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tag-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; display: flex; align-items: center; gap: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bcd9ec; }
.tag-card .ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: #eaf3fa; display: grid; place-items: center;
}
.tag-card .ico img { width: 26px; height: 26px; }
.tag-card h3 { font-size: 16.5px; color: var(--primary-ink); font-weight: 600; }
.tag-card p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- therapy list ---------- */
.therapy-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.therapy-list { display: flex; flex-wrap: wrap; gap: 12px; }
.therapy-list li {
  list-style: none; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px; font-size: 15px; color: var(--primary-deep);
  font-weight: 500; transition: all .2s;
}
.therapy-list li:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.therapy-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 400px; object-fit: cover; }

/* ---------- doctors ---------- */
.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.doctor-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-card .photo { position: relative; background: linear-gradient(160deg, #eaf4fb, #f2f9f4); }
.doctor-card .photo img { height: 300px; width: 100%; object-fit: cover; object-position: top; }
.doctor-card .photo .title-chip {
  position: absolute; top: 14px; left: 14px;
  background: rgba(29, 92, 146, .92); color: #fff;
  padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.doctor-card .info { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.doctor-card h3 { font-size: 21px; color: var(--primary-ink); }
.doctor-card .role { color: var(--teal); font-size: 14px; font-weight: 600; margin: 2px 0 12px; }
.doctor-card p { font-size: 14px; color: var(--muted); flex: 1; }
.doctor-card .creds { margin-top: 16px; display: grid; gap: 7px; }
.doctor-card .creds li { list-style: none; font-size: 13.5px; color: var(--text); display: flex; gap: 8px; }
.doctor-card .creds li::before { content: "•"; color: var(--sand); font-weight: 700; }

/* ---------- team page profile cards ---------- */
.doc-profile { max-width: 960px; margin: 0 auto 30px; display: grid; grid-template-columns: 320px 1fr; }
.doc-profile:last-child { margin-bottom: 0; }
.doc-profile .photo { height: auto; }
.doc-profile .photo img { height: 100%; min-height: 380px; }
.doc-profile .info { padding: 30px 34px; }
.doc-profile h3 { font-size: 24px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px; color: #fff; font-size: 14px; font-weight: 500;
  background: linear-gradient(transparent, rgba(23, 63, 95, .75));
}
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- departments page ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.dept-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dept-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
}
.dept-card:nth-child(2)::before { background: linear-gradient(90deg, var(--teal), var(--green)); }
.dept-card:nth-child(3)::before { background: linear-gradient(90deg, var(--sand), #f08c3a); }
.dept-card:nth-child(4)::before { background: linear-gradient(90deg, #8f7ad6, var(--primary)); }
.dept-card .ico {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 18px;
  background: #eaf3fa; display: grid; place-items: center;
}
.dept-card .ico img { width: 32px; height: 32px; }
.dept-card h3 { font-size: 21px; color: var(--primary-ink); margin-bottom: 10px; }
.dept-card p { color: var(--muted); font-size: 15px; }
.dept-card .scope { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.dept-card .scope span {
  background: #f0f7fc; color: var(--primary-deep);
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
}

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; position: relative;
}
.flow-step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: grid; place-items: center; margin: 0 auto 12px;
}
.flow-step h3 { font-size: 16px; color: var(--primary-ink); margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px;
}
.info-card h3 { font-size: 19px; color: var(--primary-ink); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.info-card h3 img, .route-card h3 img { width: 22px; height: 22px; flex-shrink: 0; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.info-row:last-child { border-bottom: none; }
.info-row .k { color: var(--muted); flex-shrink: 0; width: 7em; }
.info-row .v { color: var(--text); font-weight: 500; }
.info-row .v a { font-weight: 700; font-size: 18px; }
.route-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; margin-top: 28px; }
.route-card h3 { font-size: 19px; color: var(--primary-ink); margin-bottom: 6px; }
.route-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.route-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 36px; }
.route-item { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.route-item .mode {
  display: inline-block; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--teal); border-radius: 6px; padding: 2px 10px; margin-bottom: 6px;
}
.route-item:nth-child(even) .mode { background: var(--primary); }
.route-item p { font-size: 14.5px; color: var(--text); }
.route-item p b { color: var(--primary-deep); }

/* ---------- CTA ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(29, 92, 146, .88) 0%, rgba(47, 127, 193, .68) 55%, rgba(63, 184, 165, .72) 100%),
    url('../assets/img/hospital-building.jpg') center / cover no-repeat;
  border-radius: 26px; color: #fff; padding: 56px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { opacity: .88; font-size: 16px; }
.cta-band .btn { background: #fff; color: var(--primary-deep); flex-shrink: 0; font-size: 18px; padding: 15px 34px; }
.cta-band .btn:hover { color: var(--primary); }

/* ---------- footer ---------- */
.site-footer { background: #14304a; color: #b9cddd; margin-top: 90px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding: 58px 0 40px; }
.footer-inner h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-inner p, .footer-inner li { font-size: 14px; line-height: 1.9; }
.footer-inner ul { list-style: none; }
.footer-inner a { color: #b9cddd; }
.footer-inner a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #8fb0c7; }
.footer-hotline { font-size: 22px; font-weight: 700; color: #fff; margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.footer-hotline svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-band .btn svg { width: 18px; height: 18px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 13px; color: #8fb0c7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- page banner (内页头图) ---------- */
.page-banner {
  background: linear-gradient(135deg, #1d5c92 0%, #2f7fc1 60%, #3fb8a5 100%);
  color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.page-banner::before {
  content: ""; position: absolute; right: 120px; bottom: -80px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.page-banner .crumb { font-size: 13.5px; opacity: .85; margin-bottom: 12px; }
.page-banner .crumb a { color: #fff; opacity: .85; }
.page-banner h1 { font-size: 36px; letter-spacing: .04em; }
.page-banner .sub { margin-top: 10px; opacity: .88; font-size: 16px; max-width: 46em; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .tag-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 20px 20px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .nav-phone { margin: 10px 0 0; justify-content: center; }
  .hero-inner, .split, .therapy-wrap, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure img { height: 300px; }
  .doctor-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .doc-profile { grid-template-columns: 1fr; max-width: 480px; }
  .doc-profile .photo img { height: 340px; min-height: 0; }
  .doc-profile .info { padding: 22px 24px 26px; }
  .dept-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .route-cols { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; }
  .brand-logo { height: 42px; max-width: 62vw; object-fit: contain; }
  .section { padding: 56px 0; }
  .page-banner h1 { font-size: 28px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .tag-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .brand-name small { display: none; }
}
