/* =========================================================
   沐源渡官网 - 公共样式 V3.0
   设计定位：东方文化 × 当代数字博物馆
   色彩：米白 / 墨黑 / 木色 / 朱砂红 / 深绿
   ========================================================= */

/* ---------- 0. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-ink);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 底色 */
  --bg-cream:      #F7F3EC;
  --bg-paper:      #FBF8F2;
  --bg-deep:       #1A1814;

  /* 文字 */
  --text-ink:      #1A1814;
  --text-soft:     #5A554C;
  --text-faint:    #8A857C;
  --text-on-dark:  #F3EFE7;
  --text-on-dark-soft: rgba(243,239,231,0.65);

  /* 主点缀 */
  --accent-wood:        #8B6F47;
  --accent-wood-hover:  #725837;
  --accent-vermilion:   #A93D2C;
  --accent-vermilion-hover: #8A2F20;
  --accent-moss:        #4A5D3F;

  /* 分割线 */
  --line-hair:     rgba(26,24,20,0.08);
  --line-soft:     rgba(26,24,20,0.15);
  --line-on-dark:  rgba(243,239,231,0.14);

  /* 圆角 */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* 阴影 */
  --shadow-card: 0 1px 2px rgba(26,24,20,0.04), 0 8px 24px rgba(26,24,20,0.04);
  --shadow-card-hover: 0 2px 6px rgba(26,24,20,0.07), 0 16px 40px rgba(26,24,20,0.09);
  --shadow-sticky: 0 1px 0 var(--line-hair);

  /* 布局 */
  --container-max: 1200px;
  --container-pad: 24px;
  --section-gap: 120px;
  --section-gap-mobile: 64px;
}

/* ---------- 2. 字体层级 ---------- */
.font-serif {
  font-family: "Noto Serif SC", "Source Han Serif CN", "Songti SC", "SimSun", serif;
  letter-spacing: 0.02em;
}
.font-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  letter-spacing: 0.04em;
}

.f-display {
  font-family: "Noto Serif SC", "Source Han Serif CN", "Songti SC", "SimSun", serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
}
.f-h1 { font-family: "Noto Serif SC", serif; font-size: 40px; font-weight: 500; line-height: 1.3; letter-spacing: 0.03em; }
.f-h2 { font-family: "Noto Serif SC", serif; font-size: 28px; font-weight: 500; line-height: 1.35; }
.f-body { font-size: 16px; line-height: 1.7; }
.f-lead { font-size: 18px; line-height: 1.75; color: var(--text-soft); }
.f-caption { font-size: 13px; line-height: 1.5; color: var(--text-faint); }
.f-number { font-family: "Cormorant Garamond", serif; font-size: 14px; font-style: italic; letter-spacing: 0.08em; }

/* ---------- 3. 布局容器 ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

section.section {
  padding: var(--section-gap) 0;
}
section.section-dark {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: var(--section-gap) 0;
}

/* ---------- 4. 通用区块头 ---------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.section-label .num {
  color: var(--accent-vermilion);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.06em;
}
.section-label .bar {
  width: 24px; height: 1px;
  background: var(--accent-vermilion);
}
.section-title {
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.section-subtitle {
  color: var(--text-soft);
  max-width: 520px;
}
.section-link {
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  color: var(--accent-wood);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}
.section-link:hover { color: var(--accent-vermilion); }
.section-link::after {
  content: "→";
  transition: transform .2s ease;
}
.section-link:hover::after { transform: translateX(4px); }

/* 深色区块版本 */
.section-dark .section-title { color: var(--text-on-dark); }
.section-dark .section-subtitle { color: var(--text-on-dark-soft); }
.section-dark .section-label .num { color: var(--accent-vermilion); }
.section-dark .section-link { color: rgba(243,239,231,0.8); }
.section-dark .section-link:hover { color: #fff; }

/* ---------- 5. Header / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,243,236,0.92);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(247,243,236,0.97);
  border-bottom-color: var(--line-hair);
  box-shadow: var(--shadow-sticky);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--accent-vermilion);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 500;
}
.brand-name {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-wood);
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-vermilion);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--accent-vermilion); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px 18px;
  border: 1px solid var(--accent-vermilion);
  color: var(--accent-vermilion);
  border-radius: var(--radius-md);
  transition: all .2s ease;
}
.nav-cta:hover {
  background: var(--accent-vermilion);
  color: #fff;
}
.nav-cta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-vermilion);
  transition: background .2s ease;
}
.nav-cta:hover .dot { background: #fff; }

/* 汉堡菜单 */
.burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-ink);
  transition: all .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 移动抽屉 */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg-cream);
  z-index: 49;
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-hair);
}
.mobile-nav .m-nav-cta {
  margin-top: 24px;
  padding: 14px;
  text-align: center;
  background: var(--accent-vermilion);
  color: #fff;
  border-radius: var(--radius-md);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(26,24,20,0.25) 0%,
      rgba(26,24,20,0.45) 55%,
      rgba(26,24,20,0.75) 100%);
  z-index: 1;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #fff;
  opacity: 0.85;
}
.hero-tag .d {
  width: 32px; height: 1px;
  background: var(--accent-vermilion);
}
.hero-tag span {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.1em;
  font-size: 13px;
  text-transform: uppercase;
}
.hero-title {
  font-family: "Noto Serif SC", serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 22px;
  line-height: 1.6;
  opacity: 0.85;
  letter-spacing: 0.1em;
  margin-bottom: 44px;
}
.hero-ctas {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.8));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-family: inherit;
  border-radius: var(--radius-md);
  transition: all .2s ease;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-vermilion);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-vermilion-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(169,61,44,0.25);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-outline-wood {
  background: transparent;
  color: var(--accent-wood);
  border: 1px solid var(--accent-wood);
}
.btn-outline-wood:hover {
  background: var(--accent-wood);
  color: #fff;
}
.btn-block { width: 100%; }

/* ---------- 8. 卡片 ---------- */
.card {
  background: var(--bg-paper);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-soft);
}
.card-img {
  position: relative;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 22px 24px 26px; }
.card-title {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.card-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(169,61,44,0.08);
  color: var(--accent-vermilion);
  font-size: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.card-tag-moss {
  background: rgba(74,93,63,0.08);
  color: var(--accent-moss);
}
.card-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-link {
  font-size: 13px;
  color: var(--accent-wood);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s ease;
}
.card-link:hover { color: var(--accent-vermilion); }

/* ---------- 9. 文化人物馆 网格 ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona-card .card-img {
  height: 260px;
  background: linear-gradient(135deg, #E8E0D0, #D4C8B4);
}
.persona-card .card-body {
  padding: 20px 22px 24px;
}
.persona-name {
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.persona-role {
  font-size: 13px;
  color: var(--accent-vermilion);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.persona-bio {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 10. 非遗馆 ---------- */
.heritage-feature {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 0;
  background: var(--bg-paper);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow .3s ease;
}
.heritage-feature:hover { box-shadow: var(--shadow-card-hover); }
.heritage-feature .hf-img {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.heritage-feature .hf-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.heritage-feature:hover .hf-img img { transform: scale(1.03); }
.heritage-feature .hf-body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.heritage-feature .hf-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-vermilion);
  margin-bottom: 14px;
}
.heritage-feature .hf-title {
  font-family: "Noto Serif SC", serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 10px;
}
.heritage-feature .hf-subtitle {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.heritage-feature .hf-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.heritage-card.placeholder {
  background: repeating-linear-gradient(
    45deg,
    var(--bg-paper) 0,
    var(--bg-paper) 10px,
    #F2EDE2 10px,
    #F2EDE2 20px
  );
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.heritage-card.placeholder .ph-label {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.heritage-card.placeholder .ph-icon {
  width: 48px; height: 48px;
  border: 1px dashed var(--line-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
}

/* ---------- 11. 文化生活 ---------- */
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.life-card .card-img {
  height: 200px;
}
.life-card .card-body { padding: 20px 22px; }
.life-card .card-title { font-size: 20px; }
.life-card .card-desc { -webkit-line-clamp: 2; }

/* ---------- 12. AI × 文化 ---------- */
.ai-intro {
  max-width: 640px;
  margin-bottom: 64px;
}
.ai-intro .section-header { flex-direction: column; align-items: flex-start; }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.ai-card {
  background: rgba(243,239,231,0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all .3s ease;
}
.ai-card:hover {
  background: rgba(243,239,231,0.07);
  transform: translateY(-4px);
  border-color: rgba(243,239,231,0.22);
}
.ai-card .ai-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-style: italic;
  color: var(--accent-vermilion);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.ai-card .ai-title {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 14px;
}
.ai-card .ai-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-on-dark-soft);
}
.ai-cta-wrap { text-align: center; }
.ai-cta-wrap .btn {
  padding: 14px 40px;
  font-size: 15px;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: var(--text-on-dark-soft);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand .brand-name {
  color: #fff;
  font-size: 22px;
}
.footer-brand .brand-slogan {
  margin-top: 14px;
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-soft);
}
.footer-col h4 {
  font-family: "Noto Serif SC", serif;
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-on-dark-soft);
  transition: color .2s ease;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col .footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 14. 子页面通用 ---------- */
.page-hero {
  padding: 120px 0 80px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--line-hair);
}
.page-hero .p-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-vermilion);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: "Noto Serif SC", serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.page-hero .p-lead {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}
.page-content {
  padding: 72px 0;
}
.page-article {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
}
.page-article h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 26px;
  font-weight: 500;
  margin: 40px 0 16px;
}
.page-article p { margin-bottom: 18px; color: var(--text-ink); }
.page-article blockquote {
  border-left: 2px solid var(--accent-vermilion);
  padding: 4px 0 4px 20px;
  color: var(--text-soft);
  font-family: "Noto Serif SC", serif;
  font-style: italic;
  margin: 24px 0;
}

/* 子页面列表网格（人物馆/非遗馆列表复用） */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1023px) {
  .persona-grid,
  .heritage-grid,
  .life-grid,
  .ai-grid,
  .list-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  .heritage-feature { grid-template-columns: 1fr; }
  .heritage-feature .hf-img { min-height: 280px; }
  .heritage-feature .hf-body { padding: 36px 32px 40px; }

  .f-display { font-size: 56px; }
  .f-h1 { font-size: 32px; }
  .section-title { font-size: 30px; }
  .hero-title { font-size: 56px; letter-spacing: 0.14em; }
  .hero-subtitle { font-size: 18px; }
}

@media (max-width: 767px) {
  :root {
    --section-gap: 64px;
    --container-pad: 20px;
  }

  .nav-links,
  .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { display: block; }

  .hero { height: 85vh; min-height: 560px; }
  .hero-title { font-size: 40px; letter-spacing: 0.12em; }
  .hero-subtitle { font-size: 16px; letter-spacing: 0.06em; margin-bottom: 32px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }
  .section-title { font-size: 26px; }
  .f-h1 { font-size: 26px; }
  .f-h2 { font-size: 22px; }
  .f-display { font-size: 44px; }

  .persona-grid,
  .heritage-grid,
  .life-grid,
  .ai-grid,
  .list-grid { grid-template-columns: 1fr; }

  .persona-card .card-img { height: 220px; }

  .heritage-feature .hf-img { min-height: 220px; }
  .heritage-feature .hf-body { padding: 28px 22px 32px; }
  .heritage-feature .hf-title { font-size: 24px; }
  .heritage-feature .hf-desc { font-size: 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer { padding: 56px 0 24px; }

  .ai-card { padding: 28px 22px; }
  .page-hero { padding: 80px 0 56px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero .p-lead { font-size: 15px; }
  .page-content { padding: 40px 0; }
}

/* ---------- 16. 小工具 ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
