/**
 * NatureGuard 守护自然 — 温暖自然风格主题
 * 大地色 + 森林绿 + 米白 + 暖阳黄
 * 大圆角、温暖卡片、故事感排版
 * 纯原生 CSS，无框架依赖
 * 依赖: Swiper 11, AOS 2.3.4, Font Awesome 6
 */

/* Google Fonts: Noto Serif SC (思源宋体) — 温暖文学感标题 */


/* ============================================================
   CSS 变量体系 — 温暖自然主题
   ============================================================ */
:root {
  /* === 主色调 === */
  --color-earth: #D4C5A9;
  --color-earth-light: #E8DCC8;
  --color-earth-dark: #B8A07A;
  --color-forest: #2D4A3E;
  --color-forest-light: #3D6B57;
  --color-forest-dark: #1A2E25;
  --color-cream: #FEFBF5;
  --color-cream-warm: #F8F2E7;
  --color-sun: #E8B44F;
  --color-sun-light: #F5D48B;
  --color-sun-dark: #C6902E;

  /* === 文字色阶 === */
  --text-primary: #2D2418;
  --text-secondary: #5C4F3E;
  --text-muted: #9B8E7E;
  --text-light: #C4BAAA;

  /* === 背景色 === */
  --bg-body: #FEFBF5;
  --bg-warm: #F8F2E7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FDF9F2;
  --bg-forest: #2D4A3E;
  --bg-earth: #D4C5A9;
  --bg-footer: #2D2418;

  /* === 边框 === */
  --border-light: rgba(180, 160, 130, 0.15);
  --border-medium: rgba(180, 160, 130, 0.3);
  --border-warm: rgba(212, 197, 169, 0.4);

  /* === 阴影 === */
  --shadow-xs: 0 1px 3px rgba(45, 36, 24, 0.04);
  --shadow-sm: 0 2px 8px rgba(45, 36, 24, 0.06);
  --shadow-md: 0 4px 20px rgba(45, 36, 24, 0.08);
  --shadow-lg: 0 8px 40px rgba(45, 36, 24, 0.10);
  --shadow-card: 0 1px 4px rgba(45, 36, 24, 0.06);

  /* === 圆角 === */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  /* === 间距 === */
  --section-py: 100px;
  --section-py-mobile: 60px;
  --container-max: 1200px;
  --header-h: 76px;

  /* === 过渡 === */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* === 字体 === */
  --font-heading: 'Noto Serif SC', 'STSong', 'SimSun', 'PingFang SC', 'Microsoft YaHei', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, 'Segoe UI', sans-serif;
}

/* ============================================================
   全局重置 & 基础
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg-body);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--color-forest); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ============================================================
   工具类
   ============================================================ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; }
.section--warm { background: var(--bg-warm); }
.section--forest { background: var(--bg-forest); color: #fff; }
.section--earth { background: var(--bg-earth); }
.section--cream { background: var(--color-cream-warm); }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-forest);
  background: rgba(45, 74, 62, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--color-forest);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45, 74, 62, 0.25);
}
.btn--primary:hover {
  background: var(--color-forest-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 74, 62, 0.35);
  color: #fff;
}

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

.btn--sun {
  background: var(--color-sun);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 180, 79, 0.3);
}
.btn--sun:hover {
  background: var(--color-sun-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 180, 79, 0.4);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}
.btn--ghost:hover {
  border-color: var(--color-forest);
  color: var(--color-forest);
}

.btn--white {
  background: #fff;
  color: var(--color-forest);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-forest);
}

/* ============================================================
   Header — 米白半透明 + 毛玻璃
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(254, 251, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.96);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.header__logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-forest), var(--color-forest-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}
.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.header__logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Desktop Nav */
.header__nav { display: flex; align-items: center; gap: 4px; }

.header__nav-link {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 50px;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--color-forest);
  background: rgba(45, 74, 62, 0.06);
}

/* Dropdown Menu */
.header__nav-item { position: relative; }
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
  border: 1px solid var(--border-light);
}
.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  white-space: nowrap;
}
.header__dropdown a:hover {
  background: var(--bg-warm);
  color: var(--color-forest);
}

/* Header CTA */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--color-forest);
  color: #fff !important;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--duration-normal);
  white-space: nowrap;
}
.header__cta:hover {
  background: var(--color-forest-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 74, 62, 0.3);
}

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  z-index: 110;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 105;
  overflow-y: auto;
  transition: right var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.mobile-nav.open { right: 0; }
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}
.mobile-nav__overlay.open { opacity: 1; visibility: visible; }
.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}
.mobile-nav__link:hover { background: var(--bg-warm); color: var(--color-forest); }
.mobile-nav__sub {
  display: none;
  padding-left: 20px;
  margin-bottom: 8px;
}
.mobile-nav__sub.open { display: block; }
.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}
.mobile-nav__sub a:hover { color: var(--color-forest); background: var(--bg-warm); }

/* ============================================================
   Hero Banner — 全屏暖色轮播
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 850px;
  overflow: hidden;
}

.hero-swiper { position: absolute; inset: 0; }
.hero-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 36, 24, 0.25) 0%,
    rgba(45, 36, 24, 0.15) 40%,
    rgba(45, 36, 24, 0.45) 100%
  );
  z-index: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  max-width: 800px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

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

.hero__actions .btn--white { color: var(--color-forest); }
.hero__actions .btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all var(--duration-normal);
}
.hero__actions .btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.hero-pagination { position: absolute; bottom: 40px; z-index: 3; }
.hero-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  transition: all var(--duration-normal);
}
.hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  animation: bounceDown 2s infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   Stats 数据统计 — 大地色背景 + 数字滚动
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item { padding: 24px; }

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-forest);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section--forest .stat-item__number { color: var(--color-sun); }
.section--forest .stat-item__label { color: rgba(255,255,255,0.75); }

.stat-item__label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================================
   卡片系统 — 米白/大地色 + 大圆角
   ============================================================ */
.card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-warm);
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card:hover .card__image img { transform: scale(1.05); }

.card__body { padding: 20px 24px 24px; }

.card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-forest);
  background: rgba(45, 74, 62, 0.06);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================================
   Feature Cards — 亮点卡片
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  font-size: 1.8rem;
  color: var(--color-forest);
  margin-bottom: 20px;
  transition: all var(--duration-normal);
}
.feature-card:hover .feature-card__icon {
  background: var(--color-forest);
  color: #fff;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   列表网格
   ============================================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   图文故事区 — 左图右文 + 错落
   ============================================================ */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-block--reverse { direction: rtl; }
.story-block--reverse > * { direction: ltr; }

.story-block__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  background: var(--bg-warm);
}
.story-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-block__text { padding: 20px 0; }
.story-block__text .section-title { margin-bottom: 16px; }

.story-block__desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-h);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(45, 36, 24, 0.4), rgba(45, 36, 24, 0.6));
  z-index: 1;
}

.inner-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.inner-banner__subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}

.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--color-forest); }
.breadcrumb i, .breadcrumb .fa-solid { margin: 0 8px; font-size: 0.65rem; }

/* ============================================================
   过滤栏
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.filter-bar a {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 50px;
  transition: all var(--duration-fast);
  border: 1px solid transparent;
}
.filter-bar a:hover,
.filter-bar a.active {
  color: var(--color-forest);
  background: rgba(45, 74, 62, 0.06);
  border-color: var(--color-forest);
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 50px;
  transition: all var(--duration-fast);
  border: 1px solid var(--border-light);
}
.pagination a:hover,
.pagination a.active {
  background: var(--color-forest);
  color: #fff;
  border-color: var(--color-forest);
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.empty-state p { font-size: 1rem; }

/* ============================================================
   详情页
   ============================================================ */
.detail { max-width: 900px; margin: 0 auto; }

.detail__header { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }

.detail__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.detail__meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.detail__meta-row i { margin-right: 4px; font-size: 0.8rem; }

/* 参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.detail__param {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.detail__param-label { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; }
.detail__param-value { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }

/* 正文 */
.detail__body {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text-secondary);
}
.detail__body img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 20px 0;
}
.detail__body p { margin-bottom: 16px; }
.detail__body h2, .detail__body h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin: 32px 0 16px;
}

/* 上下篇 */
.detail__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.detail__pager a { color: var(--color-forest); font-weight: 500; }
.detail__pager a:hover { text-decoration: underline; }

/* 推荐 */
.related-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   CTA 区
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--section-py) 0;
  text-align: center;
  background: var(--bg-warm);
}
.cta-section__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* ============================================================
   订阅卡片
   ============================================================ */
.subscribe-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.subscribe-form {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.subscribe-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--duration-fast);
}
.subscribe-form input:focus { border-color: var(--color-forest); }

/* ============================================================
   表单系统
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group .required { color: #E74C3C; }

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--duration-fast);
}
.form-control:focus { border-color: var(--color-forest); background: #fff; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* 联系页面 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 74, 62, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-forest);
  font-size: 1.1rem;
}
.contact-info__label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-info__value { font-weight: 600; color: var(--text-primary); }

.contact-form-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* ============================================================
   图片画廊
   ============================================================ */
.gallery-swiper { padding: 0 24px; }
.gallery-slide {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-warm);
}
.gallery-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-slide:hover img { transform: scale(1.05); }
.gallery-slide__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
}
.gallery-slide__title { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.gallery-slide__author { font-size: 0.85rem; opacity: 0.8; }

/* ============================================================
   Footer — 深色实底 + 四列
   ============================================================ */
.footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__top-line {
  height: 4px;
  background: linear-gradient(90deg, var(--color-earth), var(--color-forest), var(--color-sun));
}

.footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.7;
}

.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: all var(--duration-fast);
}
.footer__social a:hover {
  background: var(--color-forest);
  color: #fff;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer__links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--duration-fast);
}
.footer__links a:hover { color: var(--color-earth-light); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.footer__contact-item i {
  color: var(--color-earth-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.5;
}

/* 友情链接 */
.friend-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.friend-links__label { font-size: 0.85rem; color: rgba(255,255,255,0.4); white-space: nowrap; }
.friend-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}
.friend-links a:hover { color: var(--color-earth-light); }

/* 底部版权 */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.4); }
.footer__bottom a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-forest);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
  border: none;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--color-forest-light); transform: translateY(-2px); }

/* ============================================================
   在线客服按钮
   ============================================================ */
.online-service {
  position: fixed;
  bottom: 88px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sun);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
  border: none;
  animation: pulse-ring 2s infinite;
}
.online-service:hover { transform: scale(1.1); }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(232, 180, 79, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(232, 180, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 180, 79, 0); }
}

/* ============================================================
   捐赠页面
   ============================================================ */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.donate-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: all var(--duration-normal);
  box-shadow: var(--shadow-card);
}
.donate-card:hover,
.donate-card.selected {
  border-color: var(--color-forest);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.donate-card__amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-forest);
  margin-bottom: 8px;
}
.donate-card__label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   项目详情 Tab
   ============================================================ */
.tabs { display: flex; gap: 8px; border-bottom: 2px solid var(--border-light); margin-bottom: 28px; flex-wrap: wrap; }
.tabs button {
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--duration-fast);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
.tabs button:hover,
.tabs button.active {
  color: var(--color-forest);
  border-bottom-color: var(--color-forest);
}

/* ============================================================
   结构辅助类 — 原内联样式抽成类 (内联会压过媒体查询, 手机端改不动)
   ============================================================ */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head--tight { margin-bottom: 32px; }
.section-head--loose { margin-bottom: 48px; }
.section-head .section-subtitle { margin: 0 auto; }
.section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-foot { text-align: center; margin-top: 28px; }
.section-foot--tight { margin-top: 16px; }

/* 详情页首屏图 / 详情页辅助块 */
.detail-figure { margin-bottom: 32px; }
.detail-figure__img { width: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.detail-figure--wide .detail-figure__img { aspect-ratio: 16 / 9; }
.detail-figure--slim .detail-figure__img { aspect-ratio: 21 / 9; }
.detail-figure__img--link { cursor: pointer; }
.detail-banner-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-earth-light);
  margin-bottom: 8px;
}
.detail__actions { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.detail__param-value--accent { color: var(--color-forest); }

/* 自然影像列表: 桌面/平板固定 3 列 (原为内联, 手机端要改才抽出来) */
.gallery-list-3 { grid-template-columns: repeat(3, 1fr); }

/* 联系页引导语 / 覆盖区域文字 */
.contact-lead { color: var(--text-secondary); margin-bottom: 28px; }
.contact-region__label { color: var(--text-muted); font-size: 0.85rem; }
.contact-region__value { color: var(--text-secondary); font-size: 0.8rem; margin-top: 4px; }

/* 通用小工具 */
.is-hidden { display: none; }
.link-more__icon { font-size: 0.75rem; margin-left: 4px; }

/* 大地色区块内原有一个内联 position:relative */
.section--earth { position: relative; }

/* 大地色底上的标签需要更实的底色 (首页数据区原为内联) */
.section--earth .section-tag { background: rgba(45, 74, 62, 0.12); }

/* 统计数字单位 (万 / +) */
.stat-item__unit { color: var(--color-forest); font-size: 2rem; }

/* 首页画廊轮播: 单张宽度原先内联在 swiper-slide 上 */
.gallery-swiper__slide { width: 360px; }

/* 图文故事区变体 */
.story-block--spaced { margin-bottom: 48px; }
.story-block--list { margin-bottom: 36px; }
.story-block__text--flush { padding: 0; }
.story-block__desc--sm { font-size: 0.95rem; }
.section-tag--sm { font-size: 0.75rem; }
.section-title--sm { font-size: 1.4rem; margin-bottom: 10px; }
.link-more { color: var(--color-forest); font-weight: 600; font-size: 0.9rem; }

/* 按钮行 / 大号按钮 / 块级按钮 */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--lg { font-size: 1rem; padding: 15px 36px; }
.btn--block { width: 100%; justify-content: center; padding: 15px; }

/* CTA 区 */
.cta-section__desc { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 32px; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 容器宽度变体 */
.container--narrow { max-width: 900px; }
.container--md { max-width: 800px; }

/* 表单卡片 */
.form-card {
  padding: 36px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.form-card--lg { margin-top: 48px; padding: 40px; }
.form-title { font-size: 1.35rem; margin-bottom: 6px; color: var(--text-primary); }
.form-note { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.form-note--muted { color: var(--text-muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-captcha { display: flex; align-items: center; gap: 12px; }
.form-captcha__input { width: 140px; }
.form-captcha__img { height: 44px; cursor: pointer; border-radius: var(--radius-sm); }
.form-privacy { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; }

/* 联系页 / 关于页附属块 */
.contact-region {
  margin-top: 28px;
  padding: 32px;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  text-align: center;
}
.contact-region__icon {
  font-size: 3rem;
  color: var(--color-forest);
  margin-bottom: 12px;
  display: block;
  opacity: 0.3;
}
.detail__body--spaced { margin-bottom: 40px; }
.support-other {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.support-other__note { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.support-other__actions { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.donate-card__amount--sm { font-size: 1.2rem; }

.share-block {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.share-block__note { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.share-block__actions { display: flex; justify-content: center; gap: 12px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  background: rgba(45, 74, 62, 0.08);
  color: var(--color-forest);
  transition: all var(--duration-fast);
}
.share-btn:hover { background: var(--color-forest); color: #fff; }

/* 列表页粘性筛选栏 */
.filter-bar-sticky {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}

/* 页脚手风琴 / 底部操作条 (手机端启用) */
.footer__brand-col { min-width: 0; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
}
.footer__brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-earth-light);
}
.footer__contact-note { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 10px; }
.footer__col-chevron { display: none; }
.footer__links-wrap { padding-bottom: 20px; }
.footer__bottom-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__sep { color: rgba(255,255,255,0.2); }
.action-bar { display: none; }

/* 手机端抽屉导航补充元素 */
.mobile-nav__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.mobile-nav__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.mobile-nav__link--toggle { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__toggle-icon { font-size: 0.65rem; color: var(--text-muted); }
.mobile-nav__cta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.header__nav-caret { font-size: 0.6rem; margin-left: 4px; }

/* 栏目 Banner 高度变体 */
.inner-banner--md { height: 280px; }

/* 列表下方「查看全部」按钮 — 原来靠 JS 注入 style 标签, 移到 CSS 后手机端才改得动
   断点与原 JS 保持一致: >=1024 隐藏, <=1023 显示 */
@media (min-width: 1024px) { .show-mobile { display: none !important; } }
@media (max-width: 1023px) { .hide-mobile { display: none !important; } }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 70px; }
  .section-title { font-size: 1.8rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .story-block { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail__params { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .header__nav { display: none; }
  .hamburger { display: flex; }
  .header__cta { display: none; }

  /* .show-mobile 在 <=1023 可见, 此时 section 底部已有一枚整行按钮,
     隐藏标题栏里的同款文字链, 避免同一个动作在手机端出现两次 */
  .section-bar .btn--ghost { display: none; }

  /* 平板也是触屏: 页脚链接与分页仍常显, 需要足够触控高度 */
  .footer__links a { display: flex; align-items: center; min-height: 44px; padding-left: 0; }
  .footer__links a:hover { padding-left: 0; }
  .footer__social a { width: 44px; height: 44px; }
  .pagination a { min-width: 44px; height: 44px; }
}

/* ============================================================
   手机端重排 (<=768px)
   思路: 单列长页 -> 2列紧凑网格 / 横向吸附轨道 / 左图右文行 / 手风琴页脚 + 底部操作条
   触控: 所有可点元素 >= 44px; 输入框 16px 防 iOS 聚焦缩放
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 44px;
    --header-h: 60px;
    --radius-xl: 18px;
    --radius-2xl: 22px;
    --gutter: 16px;
  }

  html, body { max-width: 100vw; overflow-x: hidden; }
  body {
    font-size: 16px;
    line-height: 1.72;
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }
  .container { padding: 0 var(--gutter); }
  .section { padding: var(--section-py) 0; }

  /* ---------- 排版 ---------- */
  .section-title { font-size: 1.42rem; margin-bottom: 8px; }
  .section-subtitle { font-size: 0.92rem; }
  .section-tag { font-size: 0.7rem; padding: 5px 12px; margin-bottom: 10px; }
  .section-head { margin-bottom: 26px; }
  .section-head--tight { margin-bottom: 22px; }
  .section-head--loose { margin-bottom: 30px; }
  .section-bar { margin-bottom: 24px; gap: 12px; }
  .section-bar > div { flex: 1; min-width: 0; }
  .section-bar .btn { flex-shrink: 0; min-height: 40px; }
  .section-bar .btn i { display: none; }
  .section-foot { margin-top: 22px; }

  .btn { min-height: 44px; padding: 11px 20px; font-size: 0.9rem; }
  .btn--lg { font-size: 0.95rem; padding: 13px 26px; }
  .btn--block { min-height: 48px; }

  /* ---------- Header ---------- */
  .header__inner { padding: 0 16px; gap: 12px; }
  .header__logo { flex: 1; min-width: 0; min-height: 44px; }
  .header__logo-icon { width: 38px; height: 38px; font-size: 1.1rem; border-radius: var(--radius-sm); }
  .header__logo-text { min-width: 0; }
  .header__logo-name { font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header__logo-sub { display: none; }
  .hamburger { width: 44px; height: 44px; padding: 11px; margin-right: -8px; }

  /* ---------- 抽屉导航 ---------- */
  .mobile-nav {
    width: min(86vw, 320px);
    right: calc(-1 * min(86vw, 320px));
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }
  .mobile-nav.open { right: 0; }
  .mobile-nav__brand { min-height: 48px; }
  .mobile-nav__link { min-height: 46px; display: flex; align-items: center; padding: 0 12px; }
  .mobile-nav__link--toggle { justify-content: space-between; }
  .mobile-nav__sub a { min-height: 42px; display: flex; align-items: center; }
  .mobile-nav__link.active, .mobile-nav__sub a.active { color: var(--color-forest); background: var(--bg-warm); }

  /* ---------- Hero ---------- */
  .hero { height: 74vh; height: 74svh; min-height: 440px; max-height: 620px; }
  .hero__content { padding: 0 20px; }
  .hero__title { font-size: 1.72rem; margin-bottom: 12px; line-height: 1.25; }
  .hero__subtitle { font-size: 0.92rem; margin-bottom: 24px; line-height: 1.65; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn,
  .hero__actions .btn--outline-white {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    min-height: 46px;
    padding: 12px 8px;
    font-size: 0.84rem;
    gap: 6px;
  }
  .hero__scroll-indicator { display: none; }
  .hero-pagination { bottom: 18px; }
  .hero-pagination .swiper-pagination-bullet { width: 7px; height: 7px; }
  .hero-pagination .swiper-pagination-bullet-active { width: 20px; }

  /* ---------- 数据统计: 田字格 ---------- */
  .stats { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item {
    padding: 18px 8px;
    border-right: 1px solid var(--border-medium);
    border-bottom: 1px solid var(--border-medium);
  }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n + 2) { border-bottom: none; }
  .stat-item__number { font-size: 1.85rem; margin-bottom: 4px; }
  .stat-item__unit { font-size: 1.15rem; }
  .stat-item__label { font-size: 0.8rem; line-height: 1.4; }

  /* ---------- 亮点卡片: 2x2 紧凑 ---------- */
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 20px 14px; border-radius: var(--radius-lg); }
  .feature-card__icon {
    width: 46px; height: 46px;
    font-size: 1.2rem;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
  }
  .feature-card__title { font-size: 1rem; margin-bottom: 6px; }
  .feature-card__desc { font-size: 0.8rem; line-height: 1.55; }

  /* ---------- 卡片网格 ---------- */
  .list-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { border-radius: var(--radius-md); }
  .card__body { padding: 12px 12px 14px; }
  .card__tag { font-size: 0.68rem; padding: 3px 9px; margin-bottom: 7px; }
  .card__title { font-size: 0.95rem; line-height: 1.4; margin-bottom: 6px; }
  .card__desc { font-size: 0.8rem; line-height: 1.55; -webkit-line-clamp: 2; }
  .card__meta { font-size: 0.75rem; gap: 8px; margin-top: 8px; }

  /* ---------- 横向吸附轨道 ---------- */
  .list-grid--rail {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* 出血到容器边缘, 边缘留出与容器一致的内距 */
    margin: 0 calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 14px;
    scrollbar-width: none;
  }
  .list-grid--rail::-webkit-scrollbar { display: none; }
  .list-grid--rail > * { flex: 0 0 70%; max-width: 70%; scroll-snap-align: start; }
  .list-grid--rail .card__desc { -webkit-line-clamp: 2; }

  /* ---------- 左图右文行 (搜索结果 / 新闻列表) ---------- */
  .list-grid--rows { grid-template-columns: 1fr; gap: 12px; }
  .list-grid--rows .card { display: flex; }
  .list-grid--rows .card__image { flex: 0 0 112px; aspect-ratio: 1 / 1; }
  .list-grid--rows .card__body { flex: 1; min-width: 0; padding: 10px 12px; }
  .list-grid--rows .card__title { font-size: 0.92rem; }
  .list-grid--rows .card__desc { -webkit-line-clamp: 2; }

  /* ---------- 图文故事区 ---------- */
  .story-block { grid-template-columns: 1fr; gap: 16px; }
  .story-block__image { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
  .story-block__text { padding: 0; }
  .story-block__text .section-title { font-size: 1.15rem; margin-bottom: 10px; }
  .story-block__desc { font-size: 0.86rem; line-height: 1.7; margin-bottom: 16px; }
  .story-block--spaced { margin-bottom: 28px; }
  .story-block--list { margin-bottom: 24px; }
  .story-block--list .story-block__image { aspect-ratio: 16 / 9; }
  .section-title--sm { font-size: 1.05rem; }

  /* ---------- 首页画廊轮播 ---------- */
  .gallery-swiper { padding: 0 16px; }
  .gallery-swiper__slide { width: 72vw; }
  .gallery-slide { border-radius: var(--radius-md); }
  .gallery-slide__info { padding: 14px; }
  .gallery-slide__title { font-size: 0.9rem; }

  /* ---------- 内页 Banner / 面包屑 ---------- */
  .inner-banner, .inner-banner--md { height: 160px; margin-top: 60px; }
  .inner-banner__title { font-size: 1.35rem; }
  .inner-banner__subtitle { font-size: 0.85rem; }
  .detail-banner-tag { font-size: 0.7rem; }
  .breadcrumb { padding: 10px 16px; font-size: 0.8rem; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .breadcrumb::-webkit-scrollbar { display: none; }

  /* ---------- 筛选栏: 横向滚动条 ---------- */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* ---------- 分页 ---------- */
  .pagination { gap: 4px; margin-top: 32px; }
  .pagination a { min-width: 42px; height: 44px; padding: 0 10px; }

  /* ---------- 详情页 ---------- */
  .detail-figure { margin-bottom: 20px; }
  .detail-figure__img { border-radius: var(--radius-lg); }
  .detail-figure--wide .detail-figure__img { aspect-ratio: 16 / 10; }
  .detail-figure--slim .detail-figure__img { aspect-ratio: 16 / 10; }
  .detail__header { margin-bottom: 20px; padding-bottom: 16px; }
  .detail__title { font-size: 1.28rem; line-height: 1.4; }
  .detail__meta-row { gap: 10px; font-size: 0.8rem; }
  .detail__params { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
  .detail__param { padding: 14px 10px; }
  .detail__param-label { font-size: 0.76rem; }
  .detail__param-value { font-size: 1rem; line-height: 1.4; }
  .detail__actions { margin-bottom: 24px; gap: 10px; }
  .detail__actions .btn { flex: 1; justify-content: center; }
  .detail__body { font-size: 0.98rem; line-height: 1.85; }
  .detail__body h2, .detail__body h3 { font-size: 1.1rem; margin: 24px 0 12px; }
  .detail__body p { margin-bottom: 14px; }
  .detail__pager {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 32px;
    padding: 18px 0 0;
    font-size: 0.84rem;
  }
  .detail__pager span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .detail__pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 8px 0 2px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
  }
  .detail__pager a:hover { text-decoration: none; }
  .related-title { font-size: 1.1rem; margin-top: 32px; margin-bottom: 14px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ---------- 表单 ---------- */
  .form-control,
  .subscribe-form input,
  .search-form-inline input { font-size: 16px; }
  .form-control { padding: 12px 14px; min-height: 46px; }
  textarea.form-control { min-height: 96px; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: 0.86rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .contact-form-card { padding: 20px; border-radius: var(--radius-lg); }
  .form-card--lg { margin-top: 28px; padding: 20px; }
  .form-title { font-size: 1.15rem; }
  .form-note { font-size: 0.85rem; margin-bottom: 18px; }
  .form-captcha { gap: 10px; }
  .form-captcha__input { width: 120px; }
  .subscribe-form { flex-direction: column; gap: 10px; }

  /* ---------- 联系我们 ---------- */
  .contact-grid { gap: 28px; }
  .contact-lead { font-size: 0.92rem; margin-bottom: 20px; }
  .contact-info__item { gap: 12px; margin-bottom: 18px; }
  .contact-info__icon { width: 42px; height: 42px; font-size: 1rem; }
  .contact-info__label { font-size: 0.78rem; }
  .contact-info__value { font-size: 0.92rem; word-break: break-all; }
  .contact-region { margin-top: 22px; padding: 20px 16px; border-radius: var(--radius-md); }
  .contact-region__icon { font-size: 2.2rem; margin-bottom: 8px; }
  .contact-region__value { line-height: 1.6; }

  /* ---------- 捐赠 ---------- */
  .donate-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
  .donate-card { padding: 20px 10px; border-radius: var(--radius-lg); }
  .donate-card__amount { font-size: 1.45rem; margin-bottom: 4px; }
  .donate-card__amount--sm { font-size: 1.05rem; }
  .donate-card__label { font-size: 0.78rem; line-height: 1.4; }
  .detail__body--spaced { margin-bottom: 26px; }
  .support-other { margin-top: 28px; padding-top: 24px; }
  .support-other__actions { gap: 12px; }
  .support-other__actions .btn { flex: 1; justify-content: center; }

  /* ---------- 关于我们 ---------- */
  .share-block { margin-top: 36px; padding-top: 28px; }
  .share-block__note { font-size: 0.85rem; margin-bottom: 14px; }

  /* ---------- 搜索页 ---------- */
  .search-header { padding: 14px 0; }
  .search-form-inline { gap: 8px; }
  .search-form-inline input { padding: 12px 16px; min-height: 46px; }
  .search-form-inline button { padding: 12px 18px; min-height: 46px; flex-shrink: 0; }

  /* ---------- 影像列表 ---------- */
  .gallery-list-3 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-list-3 .gallery-slide__info { padding: 10px; }
  .gallery-list-3 .gallery-slide__title { font-size: 0.8rem; }

  /* ---------- CTA ---------- */
  .cta-section__title { font-size: 1.42rem; }
  .cta-section__desc { font-size: 0.92rem; margin-bottom: 24px; }
  .cta-section__actions { flex-direction: column; gap: 10px; }
  .cta-section__actions .btn { width: 100%; justify-content: center; }

  /* ---------- 页脚手风琴 ---------- */
  .footer { padding: 36px 0 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 0; padding: 28px 16px 16px; }
  .footer__brand-col { padding-bottom: 20px; }
  .footer__brand { margin-bottom: 14px; }
  .footer__brand-desc { font-size: 0.85rem; margin-bottom: 14px; }
  .footer__social a { width: 42px; height: 42px; }
  .footer__col { border-top: 1px solid rgba(255,255,255,0.08); }
  .footer__col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-bottom: 0;
    font-size: 0.98rem;
    cursor: pointer;
  }
  .footer__col-chevron {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    transition: transform var(--duration-normal) var(--ease-out);
  }
  .footer__col.is-open .footer__col-chevron { transform: rotate(180deg); }
  .footer__col-body { padding-bottom: 16px; }
  .js .footer__col-body { display: none; }
  .js .footer__col.is-open .footer__col-body { display: block; }
  .footer__links a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .footer__links a:hover { padding-left: 0; }
  .footer__contact-item { font-size: 0.85rem; margin-bottom: 10px; }
  .footer__qrcode { width: 88px; height: 88px; }
  .footer__contact-note { font-size: 0.76rem; }
  .footer__links-wrap { padding-bottom: 16px; }
  .friend-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 16px 0;
    gap: 10px;
    scrollbar-width: none;
  }
  .friend-links::-webkit-scrollbar { display: none; }
  .friend-links a { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; }
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    padding: 0 16px;
  }
  .footer__bottom-links { gap: 8px; }

  /* ---------- 悬浮按钮让位给底部操作条 ---------- */
  .back-top, .online-service { display: none; }

  /* ---------- 底部操作条 ---------- */
  .action-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: rgba(254, 251, 245, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 16px rgba(45, 36, 24, 0.06);
  }
  .action-bar__item {
    flex: 1;
    min-width: 0;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.66rem;
    line-height: 1.2;
    color: var(--text-muted);
    background: none;
    border: none;
    transition: color var(--duration-fast);
  }
  .action-bar__item i { font-size: 1.05rem; }
  .action-bar__item:active { color: var(--color-forest); }
  .action-bar__item--primary { color: var(--color-forest); font-weight: 600; }
  .action-bar__item--primary i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-forest);
    color: #fff;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  :root { --section-py: 40px; --gutter: 14px; }
  .container { padding: 0 var(--gutter); }

  /* 窄屏进一步压缩标题与卡片, 保证一屏能看到两列内容 */
  .section-title { font-size: 1.28rem; }
  .hero__title { font-size: 1.5rem; }
  .hero__subtitle { font-size: 0.86rem; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn,
  .hero__actions .btn--outline-white { font-size: 0.78rem; padding: 11px 6px; }
  .header__inner { padding: 0 14px; }
  .header__logo-name { font-size: 0.94rem; }
  .header__logo-icon { width: 34px; height: 34px; font-size: 1rem; }

  .stats .stat-item { padding: 15px 6px; }
  .stats .stat-item__number { font-size: 1.6rem; }
  .stats .stat-item__unit { font-size: 1rem; }
  .stats .stat-item__label { font-size: 0.76rem; }

  .features { gap: 10px; }
  .feature-card { padding: 16px 10px; }
  .feature-card__title { font-size: 0.92rem; }

  .list-grid { gap: 10px; }
  .list-grid--rail > * { flex: 0 0 78%; max-width: 78%; }
  .card__body { padding: 10px 10px 12px; }
  .card__title { font-size: 0.88rem; }

  .detail__params { gap: 8px; }
  .detail__param { padding: 12px 8px; }
  .detail__param-value { font-size: 0.92rem; }
  .donate-card__amount { font-size: 1.25rem; }
  .form-card, .contact-form-card { padding: 16px; }

  /* 窄屏搜索: 输入框与按钮改上下排列, 按钮整行可按 */
  .search-form-inline { flex-direction: column; gap: 10px; }
  .search-form-inline input,
  .search-form-inline button { width: 100%; }
  .action-bar__item { font-size: 0.62rem; }
  .action-bar__item i { font-size: 1rem; }
}


/* ============================================================
   AOS 覆盖
   ============================================================ */
[data-aos] { transition-timing-function: var(--ease-out) !important; }

/* ============================================================
   图片懒加载
   ============================================================ */
img[data-src] { opacity: 0; transition: opacity 0.4s; }
img[data-src].loaded { opacity: 1; }

/* ============================================================
   搜索页面
   ============================================================ */
.search-header {
  padding: 24px 0;
  background: var(--bg-warm);
  margin-top: var(--header-h);
}
.search-form-inline {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}
.search-form-inline input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  transition: border-color var(--duration-fast);
}
.search-form-inline input:focus { border-color: var(--color-forest); }
.search-form-inline button {
  padding: 14px 28px;
  background: var(--color-forest);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-fast);
}
.search-form-inline button:hover { background: var(--color-forest-light); }

/* 图片灯箱 (Fancybox) */
.fancybox-slide--image { background: rgba(0,0,0,0.9); }

/* zzm-reviewed-demo-layout-164; original ZIP unchanged */
@media (min-width: 992px) and (max-width: 1599px) {
  .header__inner { gap: 16px; }
  .header__nav { display: none; }
  .header__actions { margin-left: auto; flex-shrink: 0; }
  .header__cta { white-space: nowrap; flex-shrink: 0; }
  .hamburger { display: flex; flex-shrink: 0; margin-left: 8px; }
}
@media (min-width: 1600px) {
  .header__inner { max-width: none; width: 100%; padding-left: 32px; padding-right: 32px; gap: 16px; }
  .header__nav a { white-space: nowrap; }
  .header__logo { min-width: 0; max-width: 300px; flex-shrink: 0; }
  .header__logo-text { min-width: 0; }
  .header__logo-name, .header__logo-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header__cta { white-space: nowrap; flex-shrink: 0; }
}