/**
 * 绿循环 — 垃圾分类与资源再生 官网样式
 * 清新明亮 | 四色分类 | 环保生活杂志风格
 * 第三方模板模式（{pboot:sitedomain}/skin/）
 *
 * 关键约束:
 *   - 13.3: .nav__dropdown z-index >= 10
 *   - 13.4: .hamburger 独立在 .header__actions 外
 *   - 13.11: 白色实底 Header + 深色文字
 *   - 13.15: 所有第三方JS在 main.js 之前加载
 *   - FA6 Free 图标
 */

/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* === 基础色板 === */
  --white: #FFFFFF;
  --bg-page: #F8F9FA;
  --bg-section: #F0F2F0;
  --bg-card: #FFFFFF;

  /* === 四色分类主色 === */
  --green: #2E7D32;
  --green-light: #E8F5E9;
  --green-lighter: #F1F8F2;
  --blue: #1976D2;
  --blue-light: #E3F2FD;
  --blue-lighter: #F0F7FF;
  --red: #D32F2F;
  --red-light: #FFEBEE;
  --red-lighter: #FFF5F5;
  --yellow: #F9A825;
  --yellow-light: #FFF8E1;
  --yellow-lighter: #FFFCF2;
  --gray-cat: #757575;
  --gray-light: #F5F5F5;

  /* === 文字色阶 === */
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #999999;
  --text-white: #FFFFFF;

  /* === 边框 === */
  --border-light: #E8E8E8;
  --border-card: #E0E0E0;

  /* === 阴影 === */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-green: 0 4px 16px rgba(46,125,50,0.12);

  /* === 圆角 === */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* === 间距 === */
  --section-py: 88px;
  --container-max: 1200px;
  --header-h: 72px;

  /* === 过渡 === */
  --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 Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, '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(--white);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(46,125,50,0.15);
  color: var(--green);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: #CCC; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #AAA; }

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

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

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

.section {
  padding: var(--section-py) 0;
}

.section--light {
  background: var(--bg-page);
}

.section--green {
  background: var(--green-lighter);
}

/* ============================================================
   Header 头部 — 白色实底 + 深色文字 (13.11)
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green), #43A047);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.header__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 500;
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--green);
  background: var(--green-light);
}

/* 导航下拉 (13.3: z-index >= 10) */
.header__nav-item {
  position: relative;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.header__dropdown a:hover {
  color: var(--green);
  background: var(--green-lighter);
}

/* 头部右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-spring);
  white-space: nowrap;
}

.header__cta:hover {
  color: #fff;
  background: #256E29;
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

/* ============================================================
   汉堡菜单（移动端）— 独立在 header__actions 外 (13.4)
   ============================================================ */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 340px;
  background: #fff;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__inner {
  padding: 24px;
  padding-top: 80px;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-nav__link:hover {
  color: var(--green);
  background: var(--green-lighter);
}

.mobile-nav__sub {
  padding-left: 16px;
  display: none;
}

.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-md);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-nav__overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--green);
}

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

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,125,50,0.85) 0%, rgba(27,94,32,0.9) 100%);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  color: #fff;
}

.inner-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.inner-banner__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
}

/* 面包屑 */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb i { font-size: 0.65rem; color: var(--text-muted); }

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

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover {
  background: #256E29;
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

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

.btn--white {
  background: #fff;
  color: var(--green);
}

.btn--white:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--yellow {
  background: var(--yellow);
  color: #fff;
}

.btn--yellow:hover {
  background: #F57F17;
  box-shadow: 0 4px 16px rgba(249,168,37,0.3);
  transform: translateY(-2px);
}

/* ============================================================
   卡片系统
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-page);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.06);
}

.card__body {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  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-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card__meta i { color: var(--green); }

/* === 四色分类卡片 === */
.card--blue { border-top: 4px solid var(--blue); }
.card--blue .card__tag { background: var(--blue-light); color: var(--blue); }
.card--blue:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(25,118,210,0.12); }

.card--green { border-top: 4px solid var(--green); }
.card--green .card__tag { background: var(--green-light); color: var(--green); }

.card--red { border-top: 4px solid var(--red); }
.card--red .card__tag { background: var(--red-light); color: var(--red); }
.card--red:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(211,47,47,0.12); }

.card--gray { border-top: 4px solid var(--gray-cat); }
.card--gray .card__tag { background: var(--gray-light); color: var(--gray-cat); }
.card--gray:hover { border-color: var(--gray-cat); box-shadow: 0 4px 20px rgba(117,117,117,0.12); }

/* ============================================================
   首页 — Hero Banner
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #1B5E20;
}

.hero .swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 120px;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-weight: 400;
}

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

/* Swiper 分页器 */
.hero-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: all var(--duration-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 48px;
  background: #fff;
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ============================================================
   首页 — 环保数据数字滚动
   ============================================================ */
.stats-section {
  background: #fff;
  padding: 64px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-item:nth-child(1) .stat-item__icon { background: var(--green-light); color: var(--green); }
.stat-item:nth-child(2) .stat-item__icon { background: var(--blue-light); color: var(--blue); }
.stat-item:nth-child(3) .stat-item__icon { background: var(--yellow-light); color: var(--yellow); }
.stat-item:nth-child(4) .stat-item__icon { background: var(--red-light); color: var(--red); }

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__number span {
  display: inline;
}

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

/* ============================================================
   首页 — 回收品类·四色分类
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height var(--duration-normal) var(--ease-out);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
  height: 8px;
}

.category-card--blue { border-color: rgba(25,118,210,0.15); }
.category-card--blue::before { background: var(--blue); }
.category-card--green { border-color: rgba(46,125,50,0.15); }
.category-card--green::before { background: var(--green); }
.category-card--red { border-color: rgba(211,47,47,0.15); }
.category-card--red::before { background: var(--red); }
.category-card--gray { border-color: rgba(117,117,117,0.15); }
.category-card--gray::before { background: var(--gray-cat); }

.category-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.category-card--blue .category-card__icon { background: var(--blue-light); color: var(--blue); }
.category-card--green .category-card__icon { background: var(--green-light); color: var(--green); }
.category-card--red .category-card__icon { background: var(--red-light); color: var(--red); }
.category-card--gray .category-card__icon { background: var(--gray-light); color: var(--gray-cat); }

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

.category-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   首页 — 回收服务
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--duration-normal) var(--ease-out);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green);
}

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

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   首页 — 环保知识（左图右文）
   ============================================================ */
.news-featured {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-featured__item {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  align-items: center;
}

.news-featured__item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.news-featured__thumb {
  width: 180px;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.news-featured__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured__info {
  flex: 1;
  min-width: 0;
}

.news-featured__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.news-featured__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* ============================================================
   首页 — CTA
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #1B5E20, #2E7D32, #388E3C);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}

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

.list-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ============================================================
   章节标题栏 — 左标题 + 右侧入口
   原为内联样式, 抽出成类以便手机端单独排版
   ============================================================ */
.section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* list-grid 列数变体 (原为内联 grid-template-columns) */
.list-grid--3 { grid-template-columns: repeat(3, 1fr); }
.list-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 通用卡片网格 / 表单并排 (原为内联 grid-template-columns) */
.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.form-grid { display: grid; gap: 14px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }

/* 页脚品牌链接 (原为内联样式) */
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

/* 服务卡文字容器 — 手机端卡片转 flex 后, 标题与描述需要整体占一列 */
.service-card__text { min-width: 0; }

/* 数据卡图标 (原为内联 font-size, 抽出以便手机端单独调小) */
.data-card__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

/* 手机端页脚手风琴箭头 (桌面端隐藏) */
.footer__col-chevron { display: none; }

/* 手机端底部操作条 (桌面端隐藏) */
.action-bar { display: none; }

.list-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

/* 子栏目过滤栏 */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-bar a {
  display: inline-flex;
  padding: 8px 22px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-lighter);
}

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

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

.detail__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail__meta-row i {
  margin-right: 4px;
  color: var(--green);
}

.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.detail__param {
  padding: 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
}

.detail__param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail__param-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.detail__body {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
}

.detail__body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.detail__body p { margin-bottom: 16px; }
.detail__body h2, .detail__body h3, .detail__body h4 {
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail__pager a {
  color: var(--text-secondary);
}

.detail__pager a:hover {
  color: var(--green);
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-info__item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 联系表单 */
.contact-form-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--red);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-page);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
  background: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-box {
  max-width: 700px;
  margin: 0 auto;
}

.search-form-row {
  display: flex;
  gap: 10px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-form-row input {
  flex: 1;
  padding: 15px 20px;
  padding-left: 44px;
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.search-form-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.08);
}

.search-result-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  margin-bottom: 10px;
}

.search-result-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.search-result-item__thumb {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-page);
}

.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__info {
  flex: 1;
  min-width: 0;
}

.search-result-item__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-result-item__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   环保数据页 — 可视化卡片
   ============================================================ */
.data-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.data-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.data-card__number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.data-card__label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.data-chart-placeholder {
  background: var(--bg-page);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.data-chart-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: var(--green);
  opacity: 0.5;
}

/* ============================================================
   社区参与 — 活动卡片
   ============================================================ */
.community-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.community-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.community-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.community-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.community-card:hover .community-card__image img {
  transform: scale(1.05);
}

.community-card__body {
  padding: 20px;
}

.community-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.community-card__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.community-card__meta i {
  margin-right: 4px;
  color: var(--green);
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
}

.pagination a:hover {
  background: var(--green-lighter);
  color: var(--green);
  border-color: var(--green);
}

.pagination .active {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  border-color: var(--green);
}

.pagination .disabled {
  color: var(--text-muted);
  pointer-events: none;
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Footer 底部
   ============================================================ */
.footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.7);
}

.footer__top-line {
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
}

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

.footer__brand-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 16px 0;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  background: var(--green);
  color: #fff;
}

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

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--green);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.footer__contact-item i {
  color: var(--green);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #999;
  text-align: center;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast);
}

.footer__bottom a:hover {
  color: var(--green);
}

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
}

.friend-links__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast);
}

.friend-links a:hover {
  color: var(--green);
}

/* ============================================================
   返回顶部 + 在线客服
   ============================================================ */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-light);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* 在线客服按钮 */
.online-service {
  position: fixed;
  right: 20px;
  bottom: 136px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 80;
  border: none;
  box-shadow: var(--shadow-green);
  animation: servicePulse 2s ease-in-out infinite;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.online-service:hover {
  transform: scale(1.15);
}

@keyframes servicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,125,50,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(46,125,50,0); }
}

/* ============================================================
   动画系统
   ============================================================ */

/* 浮动漂移 */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-element {
  animation: floatUpDown 4s ease-in-out infinite;
}

/* 呼吸光晕 */
@keyframes breatheGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(46,125,50,0.1); }
  50% { box-shadow: 0 0 24px rgba(46,125,50,0.25); }
}

/* 淡入上移 */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__title { animation: fadeInUp 0.8s var(--ease-out) both; }
.hero__subtitle { animation: fadeInUp 0.8s var(--ease-out) 0.15s both; }
.hero__actions { animation: fadeInUp 0.8s var(--ease-out) 0.3s both; }

/* 数字弹跳 */
@keyframes numberPop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* 四色卡片色彩脉冲 */
@keyframes categoryPulseBlue {
  0%, 100% { border-color: rgba(25,118,210,0.15); }
  50% { border-color: rgba(25,118,210,0.35); }
}

@keyframes categoryPulseGreen {
  0%, 100% { border-color: rgba(46,125,50,0.15); }
  50% { border-color: rgba(46,125,50,0.35); }
}

.category-card--blue { animation: categoryPulseBlue 3s ease-in-out infinite; }
.category-card--green { animation: categoryPulseGreen 3s ease-in-out infinite 0.75s; }
.category-card--red { animation: categoryPulseBlue 3s ease-in-out infinite 1.5s; }
.category-card--gray { animation: categoryPulseGreen 3s ease-in-out infinite 2.25s; }

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

/* ============================================================
   响应式 — 平板 (768px-1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root { --section-py: 64px; }

  .header__nav,
  .header__actions { display: none; }

  .hamburger { display: flex; }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 左图右文在平板宽度放得下, 不必改成上下堆叠 */
  .news-featured__thumb {
    width: 160px;
    height: 118px;
  }

  .detail__pager {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* 触屏设备需要够大的社交图标与页脚链接 */
  .footer__social a {
    width: 44px;
    height: 44px;
  }

  .footer__links { gap: 2px; }

  .footer__links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ============================================================ */
/* ============================================================
   响应式 — 移动端 (< 768px)
   思路：不是把 PC 版压扁，而是按手机使用习惯重新排版
   · 收紧纵向留白，一屏看到更多内容
   · 卡片由「单列大卡」改为 2 列网格 / 横向滑动 / 左图右文
   · 触控目标 ≥44px，输入框 16px（防 iOS 聚焦自动缩放）
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-py: 44px;
    --header-h: 60px;
    --radius-lg: 20px;
  }

  /* 为底部操作条让出空间 */
  body {
    font-size: 16px;
    line-height: 1.7;
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .container { padding: 0 16px; }

  /* ---------- 通用 ---------- */
  /* 标题降一档, 才能在「标题 + 右侧入口按钮」同一行里不折出孤字 */
  .section-title { font-size: 1.32rem; line-height: 1.4; }
  .section-subtitle { font-size: 0.86rem; line-height: 1.65; }
  .section-tag { font-size: 0.7rem; padding: 4px 12px; }

  .list-header h1 { font-size: 1.42rem; }

  .btn {
    padding: 12px 20px;
    font-size: 0.86rem;
    min-height: 44px;
    justify-content: center;
  }

  .section-bar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
  }

  /* 文字列吃掉剩余宽度, 按钮固定不压缩 */
  .section-bar > div { flex: 1; min-width: 0; }

  .section-bar .btn {
    padding: 9px 12px;
    font-size: 0.74rem;
    flex-shrink: 0;
    min-height: 38px;
  }

  .section-bar .btn i { display: none; }

  .list-header { margin-bottom: 24px; }

  /* ---------- Header ---------- */
  .header__logo { min-height: 44px; }
  .hamburger { width: 44px; height: 44px; }

  .mobile-nav__brand { min-height: 44px; }
  .mobile-nav__link { padding: 15px 14px; }

  /* ---------- 内页 Banner / 面包屑 ---------- */
  .inner-banner { height: 180px; }
  .inner-banner__title { font-size: 1.3rem; }
  .inner-banner__subtitle { font-size: 0.82rem; }

  .breadcrumb,
  .breadcrumb-bar {
    padding: 11px 16px;
    font-size: 0.76rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar,
  .breadcrumb-bar::-webkit-scrollbar { display: none; }

  /* ---------- 首页 Hero ---------- */
  /* svh 避免地址栏收放导致的高度跳变，vh 兜底 */
  .hero {
    height: 74vh;
    height: 74svh;
    min-height: 430px;
    max-height: 600px;
  }

  .hero__title {
    font-size: 1.72rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .hero__subtitle {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 26px;
  }

  .hero__content { padding-bottom: 88px; }

  /* 两个按钮等宽并排，比竖排更省一屏高度 */
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  /* 滚动提示与分页点位置打架，手机端直接去掉 */
  .hero__scroll { display: none; }

  .hero-pagination { bottom: 22px; }

  /* ---------- 首页 数据（合并成一张田字格卡） ---------- */
  .stats-section { padding: 0 0 8px; }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .stat-item {
    padding: 18px 10px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }

  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(n+3) { border-bottom: none; }

  .stat-item__icon {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .stat-item__number { font-size: 1.72rem; margin-bottom: 4px; }
  .stat-item__label { font-size: 0.78rem; }

  /* ---------- 首页 回收品类·四色分类 ---------- */
  /* 单列大卡 → 2×2 紧凑卡，卡片高度砍掉一半以上 */
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-card {
    padding: 20px 12px 18px;
    border-width: 1px;
    border-radius: var(--radius-md);
  }

  /* 悬停位移在触屏上没有意义，且会让卡片跳动 */
  .category-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .category-card:hover::before { height: 3px; }

  .category-card::before { height: 3px; }

  .category-card__icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .category-card__title { font-size: 1rem; margin-bottom: 6px; }

  .category-card__desc {
    font-size: 0.78rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---------- 首页 回收服务 ---------- */
  /* 三张竖排大卡 → 左图标右文字的行 */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }

  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }

  .service-card__icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    margin: 0;
    font-size: 1.15rem;
    border-radius: var(--radius-sm);
  }

  .service-card__text { flex: 1; min-width: 0; }

  .service-card__title { font-size: 1rem; margin-bottom: 6px; }

  .service-card__desc {
    font-size: 0.8rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---------- 通用卡片网格 (含再生制品) ---------- */
  .list-grid,
  .list-grid--3,
  .list-grid--4 {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .card { border-radius: var(--radius-md); }
  .card__body { padding: 12px; }

  .card__tag {
    font-size: 0.68rem;
    padding: 3px 8px;
    margin-bottom: 8px;
  }

  .card__title {
    font-size: 0.86rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card__desc {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 社区活动 → 横向滑动，一屏能扫到下一张 */
  .list-grid--rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 2px 16px 14px;
  }

  .list-grid--rail::-webkit-scrollbar { display: none; }

  .list-grid--rail > * {
    flex: 0 0 74%;
    max-width: 74%;
    scroll-snap-align: start;
  }

  /* ---------- 社区卡片 ---------- */
  .community-card { border-radius: var(--radius-md); }
  .community-card__body { padding: 14px; }
  .community-card__title { font-size: 0.92rem; line-height: 1.45; }
  .community-card__meta { font-size: 0.75rem; }

  .community-card .card__desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }

  /* ---------- 首页 环保知识（左图右文） ---------- */
  .news-featured { gap: 10px; }

  .news-featured__item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
  }

  /* 悬停位移在触屏上没有意义 */
  .news-featured__item:hover { transform: none; }

  .news-featured__thumb {
    width: 104px;
    height: 104px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
  }

  .news-featured__date { font-size: 0.76rem; margin-bottom: 4px; }

  .news-featured__title {
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0;
  }

  /* 摘要手机端挤不下，去掉后标题更完整 */
  .news-featured__desc { display: none; }

  /* ---------- 内页详情 ---------- */
  .detail__header { padding: 18px 0 14px; }
  .detail__title { font-size: 1.28rem; line-height: 1.4; }
  .detail__meta-row { font-size: 0.76rem; gap: 12px; flex-wrap: wrap; }

  /* 参数表在窄屏两列会挤，改单列更易读 */
  .detail__params { grid-template-columns: 1fr; gap: 0; }

  .detail__param {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .detail__param-label { font-size: 0.8rem; flex-shrink: 0; }
  .detail__param-value { font-size: 0.84rem; text-align: right; }

  .detail__pager { flex-direction: column; gap: 8px; text-align: center; }
  .detail__pager a { font-size: 0.84rem; }

  /* 正文：手机端字号与行高重排，65-75 字符/行 */
  .detail__body { font-size: 1rem; line-height: 1.85; }
  .detail__body h3 { font-size: 1.08rem; margin: 26px 0 10px; }
  .detail__body p { margin-bottom: 14px; }

  /* ---------- 环保数据看板 ---------- */
  /* 三列在窄屏放不下, 改单列; 卡片内边距同步收紧 */
  .card-grid { gap: 10px; }
  .card-grid--3 { grid-template-columns: 1fr; }

  .data-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .data-card__icon { font-size: 1.5rem; margin-bottom: 8px; }
  .data-card h4 { font-size: 1rem; }

  .data-card__number { font-size: 1.6rem; }
  .data-card__label { font-size: 0.8rem; }

  .data-chart-placeholder { height: 200px; }

  /* 表单并排字段改单列, 否则 16px 输入框在窄屏被压到放不下 */
  .form-grid { gap: 14px; }
  .form-grid--2 { grid-template-columns: 1fr; }

  /* ---------- 联系 / 表单 ---------- */
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }

  .contact-info__item { padding: 14px; border-radius: var(--radius-md); }
  .contact-info__label { font-size: 0.78rem; }
  .contact-info__value { font-size: 0.9rem; }

  .contact-form-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  /* 16px 是 iOS Safari 聚焦不自动放大的门槛 */
  .form-control {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 46px;
  }

  textarea.form-control { min-height: 120px; }
  .form-group { margin-bottom: 16px; }

  /* ---------- 搜索 ---------- */
  .search-box { padding: 16px; border-radius: var(--radius-md); }

  .search-form-row { flex-direction: column; gap: 10px; }

  .search-input-wrap { width: 100%; min-width: 0; }

  .search-form-row input {
    font-size: 16px;
    min-height: 46px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .search-form-row .btn { width: 100%; }

  .search-result-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
  }

  /* 单列 + 全宽缩略图会把一条结果撑到 300px 高，改成左图右文 */
  .search-result-item__thumb {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
  }

  .search-result-item__title { font-size: 0.9rem; line-height: 1.45; }
  .search-result-item__desc { font-size: 0.78rem; -webkit-line-clamp: 2; }
  .search-result-item__date { font-size: 0.76rem; }

  /* ---------- 过滤栏 ---------- */
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
  }

  .filter-bar::-webkit-scrollbar { display: none; }

  .filter-bar a {
    flex-shrink: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* ---------- CTA ---------- */
  .cta-section { padding: 48px 0 56px; }
  .cta-section__title { font-size: 1.32rem; line-height: 1.4; }
  .cta-section p { font-size: 0.88rem; margin-bottom: 22px; }
  .cta-section .btn { width: 100%; }

  /* ---------- 分页 ---------- */
  .pagination {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 30px;
  }

  .pagination a,
  .pagination span {
    min-width: 40px;
    height: 42px;
    padding: 0 9px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* ---------- 页脚手风琴 ---------- */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__brand { min-height: 44px; }

  .footer__col { border-top: 1px solid rgba(255,255,255,0.08); }

  .footer__col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    padding: 15px 0;
    font-size: 0.95rem;
    min-height: 52px;
    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),
                color var(--duration-normal) var(--ease-out);
  }

  .footer__col.is-open .footer__col-chevron {
    transform: rotate(180deg);
    color: var(--green);
  }

  .footer__col-body { padding-bottom: 14px; }

  /* 无 JS 时全部展开，避免内容不可达 */
  .js .footer__col-body { display: none; }
  .js .footer__col.is-open .footer__col-body { display: block; }

  .footer__links { gap: 0; }

  .footer__links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.86rem;
    padding: 0;
  }

  .footer__contact-item {
    min-height: 44px;
    align-items: center;
    margin-bottom: 0;
    font-size: 0.84rem;
  }

  .footer__social a {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .footer__qrcode { width: 104px; height: 104px; }

  .friend-links { gap: 10px; padding: 14px 0; }
  .friend-links a { font-size: 0.8rem; min-height: 32px; display: inline-flex; align-items: center; }

  .footer__bottom { padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer__bottom-inner span,
  .footer__bottom-inner a { font-size: 0.76rem; }

  /* ---------- 悬浮按钮已被底部操作条取代 ---------- */
  .back-top,
  .online-service { display: none; }

  /* ---------- 底部操作条 ---------- */
  .action-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .action-bar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    padding: 6px 2px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }

  .action-bar__item i { font-size: 1.05rem; }

  .action-bar__item--primary {
    flex: 1.35;
    margin: 7px 5px;
    min-height: 0;
    border-radius: var(--radius-sm);
    background: var(--green);
    color: #fff;
    font-weight: 600;
  }

  .action-bar__item--primary:active { background: #1B5E20; }
}

/* ============================================================
   偏好：减少动画
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* zzm-reviewed-demo-layout-162; 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; }
}