@charset "UTF-8";
/* ==========================================================================
   中医大健康企业官网 — 全站样式表
   设计基调：国风典雅（宣纸白 / 墨色 / 朱红 / 鎏金）
   依赖：无。字体全部使用系统自带字体栈，不加载任何外部资源。
   改配色：只需修改下方 :root 中的几个变量，全站自动生效。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量
   -------------------------------------------------------------------------- */
:root {
  /* 墨色系（文字） */
  --ink:        #1C1B19;
  --ink-2:      #3D3A35;
  --ink-3:      #6B665D;
  --ink-4:      #9A948A;

  /* 纸色系（背景）— 明亮干净的暖白基调 */
  --paper:      #FDFBF7;
  --paper-2:    #F7F2E9;
  --paper-3:    #EFE8DC;
  --white:      #FFFFFF;

  /* 主题色 */
  --cinnabar:   #9E2A2B;   /* 朱红 — 主强调色 */
  --cinnabar-d: #7E1F20;   /* 朱红深 */
  --cinnabar-l: #B8443F;   /* 朱红浅 */
  --gold:       #C9A55C;   /* 鎏金 — 辅助强调 */
  --gold-l:     #E0C990;
  --jade:       #2C4A45;   /* 青黛 — 次强调色 */

  /* 线条与阴影 */
  --line:       rgba(28, 27, 25, .10);
  --line-2:     rgba(28, 27, 25, .06);
  --line-gold:  rgba(201, 165, 92, .42);
  --shadow-sm:  0 2px 10px rgba(28, 27, 25, .05);
  --shadow-md:  0 10px 34px rgba(28, 27, 25, .09);
  --shadow-lg:  0 22px 60px rgba(28, 27, 25, .13);

  /* 字体栈（全部为系统字体，无需下载） */
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong",
                "SimSun", "Times New Roman", serif;
  --font-sans:  "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
                "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;

  /* 尺寸 */
  --container:  1180px;
  --header-h:   76px;
  --radius:     4px;
  --radius-lg:  8px;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--cinnabar); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--cinnabar); color: #fff; }

/* 键盘可达性 */
:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 跳转到主内容（无障碍） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--cinnabar);
  color: #fff;
  padding: 10px 18px;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. 布局工具
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--tight { padding: 68px 0; }
.section--paper { background: var(--paper-2); }

/* 暖色浅底区块（原深色区块的替代） */
.section--tint {
  position: relative;
  background: linear-gradient(180deg, #FBF7EF 0%, #F5EFE4 100%);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.section--tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 78% at 86% 8%, rgba(201, 165, 92, .13), transparent 62%);
  pointer-events: none;
}
.section--tint > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   4. 区块标题
   -------------------------------------------------------------------------- */
.section-head { margin-bottom: 56px; max-width: 780px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* 朱红印章式小标 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--cinnabar);
  margin-bottom: 18px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  color: var(--cinnabar);
}

.section-desc {
  font-size: 16.5px;
  color: var(--ink-3);
  line-height: 1.95;
}

/* --------------------------------------------------------------------------
   5. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 32px;
  font-size: 15px;
  letter-spacing: .08em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
  background: none;
}

.btn--primary {
  background: var(--cinnabar);
  color: #fff;
  box-shadow: 0 6px 20px rgba(158, 42, 43, .24);
}
.btn--primary:hover {
  background: var(--cinnabar-d);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(158, 42, 43, .3);
}

.btn--ghost {
  border-color: var(--line-gold);
  color: var(--ink-2);
  background: rgba(255, 255, 255, .72);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--cinnabar);
  color: var(--cinnabar);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}
.btn--outline:hover {
  background: var(--cinnabar);
  color: #fff;
  transform: translateY(-2px);
}

.btn--gold {
  border-color: var(--line-gold);
  color: var(--cinnabar);
  background: rgba(255, 255, 255, .72);
}
.btn--gold:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #fff;
  transform: translateY(-2px);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cinnabar);
  font-size: 15px;
  font-weight: 500;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. 顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

/* 首页顶部：无底色浮于首屏之上。
   首屏已是浅色，因此文字沿用默认深色，无需额外覆盖。 */

/* 滚动后 / 内页：实色 */
.site-header--solid {
  background: rgba(253, 251, 247, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(28, 27, 25, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌 */
.brand { display: flex; align-items: center; gap: 13px; }
.brand:hover { color: inherit; }

.brand-mark {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 21px;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(158, 42, 43, .28);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
  transition: color .35s var(--ease);
}
.brand-text em {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .13em;
  color: var(--ink-4);
  transition: color .35s var(--ease);
}

/* 菜单 */
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a {
  position: relative;
  padding: 9px 15px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color .25s var(--ease);
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 1.5px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav > a:hover::after { transform: scaleX(1); }
.site-nav > a.is-active { color: var(--cinnabar); }
.site-nav > a.is-active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px !important;
  background: var(--cinnabar);
  color: #fff !important;
  font-size: 14.5px;
  letter-spacing: .06em;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--cinnabar-d); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease),
              background .35s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. 首屏 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--paper);
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 90px;
}

/* 明亮水墨底：暖白打底，朱红与鎏金极淡晕染 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 56% 54% at 84% 12%, rgba(201, 165, 92, .20), transparent 62%),
    radial-gradient(ellipse 62% 56% at 8% 76%, rgba(158, 42, 43, .07), transparent 64%),
    radial-gradient(ellipse 92% 62% at 50% 116%, rgba(44, 74, 69, .10), transparent 70%),
    linear-gradient(168deg, #FFFDFA 0%, #FBF7F0 52%, #F6F0E5 100%);
}

/* 远山剪影：底部用遮罩隐入雾中，避免出现生硬的水平截断 */
.hero__mountains {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .42) 58%, transparent 94%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .42) 58%, transparent 94%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  align-items: center;
  gap: 64px;
}

.hero__content { max-width: 820px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--cinnabar);
  margin-bottom: 28px;
  padding-left: 2px;
}
.hero__eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero__title {
  font-size: clamp(34px, 5.6vw, 66px);
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: .03em;
  margin-bottom: 28px;
  font-weight: 500;
}
.hero__title em {
  font-style: normal;
  color: var(--cinnabar);
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 2px;
  height: 10px;
  background: linear-gradient(90deg, rgba(201, 165, 92, .38), rgba(201, 165, 92, .10));
  z-index: -1;
}

.hero__desc {
  font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--ink-3);
  line-height: 2;
  max-width: 640px;
  margin-bottom: 42px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 3px; }
.hero__meta-item strong {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--cinnabar);
  font-weight: 600;
  letter-spacing: .02em;
}
.hero__meta-item span {
  font-size: 13.5px;
  color: var(--ink-4);
  letter-spacing: .1em;
}

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: .24em;
  color: var(--ink-4);
}
.scroll-hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--ink-4), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;  transform: scaleY(1);  transform-origin: top; }
}

/* 内页页头 */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 82px) 0 76px;
  background:
    radial-gradient(ellipse 66% 88% at 84% 6%, rgba(201, 165, 92, .18), transparent 60%),
    radial-gradient(ellipse 60% 70% at 6% 96%, rgba(158, 42, 43, .05), transparent 62%),
    linear-gradient(165deg, #FFFDFA 0%, #FAF5EC 100%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}
.page-hero__title {
  font-size: clamp(30px, 4.4vw, 48px);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.page-hero__desc {
  font-size: 16.5px;
  color: var(--ink-3);
  max-width: 660px;
  line-height: 1.95;
  margin: 0;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-4);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--cinnabar); }
.breadcrumb span { color: var(--ink-4); opacity: .6; }

/* --------------------------------------------------------------------------
   8. 卡片
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
  overflow: hidden;
}
/* 顶部金色细线，hover 时展开 */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(158, 42, 43, .07);
  color: var(--cinnabar);
  margin-bottom: 24px;
}
.card__num {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .18em;
  margin-bottom: 16px;
  display: block;
}
.card__title {
  font-size: 21px;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.card__text {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.95;
}
.card__list { margin-top: 20px; }
.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.9;
  margin-bottom: 8px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* 浅底区块内的卡片：仍用白卡，靠阴影拉开层次 */
.section--tint .card,
.section--paper .card {
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   9. 数据条
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--paper);
  padding: 42px 26px;
  text-align: center;
  transition: background .35s var(--ease);
}
.stat:hover { background: var(--white); }
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--cinnabar);
  font-weight: 600;
  line-height: 1.15;
  display: block;
  letter-spacing: .01em;
}
.stat__num small { font-size: .48em; margin-left: 3px; font-weight: 500; }
.stat__label {
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: .1em;
  margin-top: 10px;
  display: block;
}

/* --------------------------------------------------------------------------
   10. 医院 / 资源条目
   -------------------------------------------------------------------------- */
.hospital {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.hospital:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}

.hospital__aside {
  position: relative;
  padding: 42px 34px;
  background: linear-gradient(165deg, #FAF4E8 0%, #F0E6D4 100%);
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.hospital__aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201, 165, 92, .22), transparent 65%);
  pointer-events: none;
}
.hospital__index {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.hospital__name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: .03em;
  position: relative;
  z-index: 1;
}
.hospital__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.hospital__tags span {
  font-size: 12px;
  padding: 4px 11px;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, .6);
  border-radius: 100px;
  color: var(--cinnabar);
  letter-spacing: .05em;
}

.hospital__body { padding: 42px 40px; }
.hospital__body h3 {
  font-size: 19px;
  margin-bottom: 14px;
  color: var(--ink);
}
.hospital__body p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.95;
}
.hospital__depts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.hospital__depts span {
  font-size: 13.5px;
  padding: 6px 15px;
  background: rgba(44, 74, 69, .07);
  color: var(--jade);
  border-radius: var(--radius);
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   11. 案例
   -------------------------------------------------------------------------- */
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}
.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
  color: inherit;
}
.case__region {
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--cinnabar);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.case__region::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.case__title {
  font-size: 18.5px;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.55;
}
.case__text {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.9;
}
/* margin-top:auto + align-self 让长短不一的卡片标签在底部对齐 */
.case__tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  font-size: 12.5px;
  padding: 5px 13px;
  background: var(--paper-2);
  color: var(--ink-3);
  border-radius: 100px;
  letter-spacing: .05em;
}

/* --------------------------------------------------------------------------
   12. 时间轴
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cinnabar), var(--line-gold), transparent);
}
.timeline__item { position: relative; padding-bottom: 42px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--cinnabar);
}
.timeline__year {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--cinnabar);
  letter-spacing: .14em;
  margin-bottom: 9px;
  display: block;
}
.timeline__title { font-size: 18px; margin-bottom: 9px; }
.timeline__text { font-size: 15px; color: var(--ink-3); line-height: 1.95; }

/* --------------------------------------------------------------------------
   13. CTA 区块
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 82px 0;
  background:
    radial-gradient(ellipse 58% 100% at 88% 50%, rgba(201, 165, 92, .18), transparent 62%),
    radial-gradient(ellipse 60% 100% at 10% 50%, rgba(158, 42, 43, .05), transparent 62%),
    linear-gradient(150deg, #FCF8F0 0%, #F4EDE0 100%);
  border-top: 1px solid var(--line-gold);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: .03em;
  font-weight: 500;
}
.cta-band p {
  color: var(--ink-3);
  max-width: 620px;
  margin: 0 auto 38px;
  font-size: 16px;
  line-height: 1.95;
}

/* --------------------------------------------------------------------------
   14. 表单
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: .06em;
}
.field label i { font-style: normal; color: var(--cinnabar); margin-left: 3px; }

.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.8; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(158, 42, 43, .09);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B665D' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-note {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.9;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

/* 提交反馈 */
.form-msg {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.8;
}
.form-msg.is-visible { display: block; }
.form-msg--ok {
  background: rgba(44, 74, 69, .08);
  border: 1px solid rgba(44, 74, 69, .22);
  color: var(--jade);
}

/* 联系方式卡片 */
.contact-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.contact-item:last-child { border-bottom: none; }
.contact-item__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(158, 42, 43, .07);
  color: var(--cinnabar);
}
.contact-item__label {
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: .1em;
  margin-bottom: 5px;
}
.contact-item__value {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   15. 两栏图文
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }

.quote {
  position: relative;
  padding: 34px 36px;
  background: var(--paper-2);
  border-left: 3px solid var(--cinnabar);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 2.05;
  color: var(--ink-2);
}
.quote footer {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-4);
  letter-spacing: .1em;
}

/* 要点列表 */
.point-list { display: flex; flex-direction: column; gap: 26px; }
.point { display: flex; gap: 18px; }
.point__idx {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 14px;
}
.point__title { font-size: 17px; margin-bottom: 7px; color: var(--ink); }
.point__text { font-size: 15px; color: var(--ink-3); line-height: 1.95; }

/* 合规提示框 */
.notice {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  background: rgba(201, 165, 92, .09);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.notice svg { flex: none; color: var(--gold); margin-top: 3px; }

/* --------------------------------------------------------------------------
   16. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #F8F3EA 0%, #F3ECE0 100%);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  padding: 74px 0 30px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.footer-brand .brand-text strong { color: var(--ink); }
.footer-brand .brand-text em { color: var(--ink-4); }
.footer-about { line-height: 1.95; font-size: 14px; color: var(--ink-3); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .12em;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--ink-3); font-size: 14px; }
.footer-col a:hover { color: var(--cinnabar); }

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-3);
}
.footer-contact svg { flex: none; margin-top: 5px; color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--ink-4);
}
.footer-bottom a { color: var(--ink-4); }
.footer-bottom a:hover { color: var(--cinnabar); }
.footer-bottom .sep { margin: 0 10px; opacity: .5; }

.footer-disclaimer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--ink-4);
  max-width: 980px;
}

/* --------------------------------------------------------------------------
   17. 滚动入场动画
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. 中医药文化元素
   -------------------------------------------------------------------------- */

/* --- 18.1 首屏右侧百子药柜 --- */
/* 柜体的深浅全部由 SVG 里的 fill-opacity 决定，这里只给一个木色和整体浓度 */
.hero__side {
  --wood: #8A5A2E;          /* 木色 —— 改这里就换柜子的木头 */
  color: var(--wood);
  transition: filter .6s var(--ease);
}
.hero__side svg { width: 100%; height: auto; }
.hero:hover .hero__side { filter: brightness(1.05); }

/* 换成实拍照片后（JS 检测到 assets/img/yaogui.jpg 存在时自动加上 .is-photo）
   照片自带色彩，不再需要木色和半透明，改成一张有厚度的卡片 */
.hero__side.is-photo { opacity: 1; }
.hero__side-photo {
  display: block;
  width: 100%;
  aspect-ratio: 260 / 440;   /* 竖构图，建议按 3:5 左右拍 */
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(28, 27, 25, .13),
              0 2px 6px rgba(28, 27, 25, .06);
}

/* --- 18.2 回纹装饰条 --- */
.fret {
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9'%3E%3Cpath d='M0 8.5h3V1.5h6v4H6.5v-2' fill='none' stroke='%23C9A55C' stroke-width='.9'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  opacity: .55;
}
.fret--top {
  margin-bottom: 40px;
}

/* --- 18.3 本草卡片 --- */
.herb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.herb {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  text-align: center;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}
.herb::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--herb, var(--jade)), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.herb:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}
.herb:hover::before { transform: scaleX(1); }

.herb__art {
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  /* 每味药的主色由卡片上的 --herb 决定，未指定时退回青黛 */
  color: var(--herb, var(--jade));
  transition: transform .5s var(--ease), filter .4s var(--ease);
}
.herb:hover .herb__art {
  transform: scale(1.08) rotate(-3deg);
  filter: saturate(1.18);
}

.herb__name {
  font-family: var(--font-serif);
  font-size: 17.5px;
  color: var(--ink);
  letter-spacing: .14em;
  margin-bottom: 10px;
}
.herb__desc {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-3);
  margin: 0;
}

/* --- 18.4 中式诊室场景 --- */
.scene {
  position: relative;
  background: linear-gradient(170deg, #FFFDFA 0%, #FAF5EC 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 44px 44px 0;
  overflow: hidden;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 82% 6%, rgba(201, 165, 92, .16), transparent 62%);
  pointer-events: none;
}
.scene__art {
  position: relative;
  z-index: 1;
  color: var(--ink);
  opacity: .82;
}
.scene__art svg { width: 100%; height: auto; }
.scene__bar {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
}
.scene__title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ink);
  letter-spacing: .1em;
  margin: 0;
}
.scene__meta {
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: .1em;
  margin: 0;
}

/* 场景中的小元素单独着色 */
.scene__art .el-accent { color: var(--cinnabar); opacity: .75; }
.scene__art .el-gold   { color: var(--gold); }

/* --- 18.5 案例分层小标题 --- */
.tier {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 46px 0 24px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--ink-3);
}
.tier:first-of-type { margin-top: 0; }
.tier::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent 78%);
}

/* --------------------------------------------------------------------------
   19. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split, .split--wide-left, .split--wide-right {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .split--wide-right .split__media { order: -1; }

  /* 窄屏收起首屏药柜，让内容占满 */
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__side { display: none; }

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

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .section { padding: 68px 0; }
  .section--tight { padding: 52px 0; }
  .section-head { margin-bottom: 40px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .herb-grid { grid-template-columns: repeat(2, 1fr); }

  .hospital { grid-template-columns: 1fr; }
  .hospital__aside {
    padding: 34px 30px;
    border-right: none;
    border-bottom: 1px solid var(--line-2);
  }
  .hospital__body { padding: 34px 30px; }

  /* 移动端菜单 */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .32s var(--ease), opacity .32s var(--ease);
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav > a {
    padding: 15px 6px;
    border-bottom: 1px solid var(--line-2);
    color: var(--ink-2) !important;
    font-size: 16px;
  }
  .site-nav > a::after { display: none; }
  .site-nav > a.is-active { color: var(--cinnabar) !important; }
  .nav-cta {
    margin: 16px 0 0;
    text-align: center;
    color: #fff !important;
    border-bottom: none !important;
  }
  .site-nav > a.nav-cta { border-bottom: none; }

  /* 首页顶部若菜单展开，头部需实色（文字沿用默认深色） */
  .site-header--transparent.nav-open {
    background: var(--paper);
    border-bottom-color: var(--line);
  }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .section { padding: 54px 0; }
  .grid { gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 16px; }

  .card { padding: 30px 24px; }

  /* 窄屏下收小品牌字，避免公司全称折行挤压副标题 */
  .brand-text strong { font-size: 15px; }
  .brand-text em { font-size: 10.5px; letter-spacing: .08em; }
  .brand-mark { width: 38px; height: 38px; font-size: 19px; }

  /* 本草卡片在手机上保持两列，收紧留白 */
  .herb { padding: 22px 14px 20px; }
  .herb__art { width: 72px; height: 72px; margin-bottom: 12px; }
  .herb__name { font-size: 15.5px; letter-spacing: .08em; margin-bottom: 8px; }
  .herb__desc { font-size: 12px; line-height: 1.75; }

  .scene { padding: 22px 18px 0; }
  .scene__bar { padding: 16px 0 20px; }
  .scene__title { font-size: 17px; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 68px) 0 80px; }
  .hero__meta { gap: 22px 32px; margin-top: 40px; padding-top: 26px; }
  .hero__meta-item strong { font-size: 20px; }
  .scroll-hint { display: none; }

  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .btn { padding: 13px 26px; }
  .btn-row { gap: 12px; }
  .btn-row .btn { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .quote { padding: 26px 24px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   19. 打印 & 减弱动效偏好
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .scroll-hint, .cta-band, .site-footer { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
