/* ============================================================
   DeepCarbon 设计系统 v4 —— 深墨绿 · 高级生态商务
   灵感：深碳投 EUA 行情卡片（#1f6e43 / #2c9e5c 深墨绿渐变、
   浅灰绿底 #e0e8e4、白色大圆角浮凸卡片）。保留全部变量名，
   只重映射数值，全站组件零改动即换肤。
   ============================================================ */
:root {
  /* 品牌色：深墨绿主调 + 青绿点睛 */
  --brand-950: #06251a;
  --brand-900: #0a3324;
  --brand-800: #124a33;
  --brand-700: #1f6e43;
  --accent: #2c9e5c;
  --accent-2: #3bb06b;
  --accent-strong: #1f6e43;
  /* 正文链接/小字使用深色版本，白底对比度 ≥ 5.3:1（WCAG AA） */
  --accent-text: #166534;
  --accent-bright: #55b97a;
  --accent-soft: #e8f5ec;
  --accent-softer: #f4faf6;
  /* 承载白色文字的渐变同步加深，对比度 ≥ 5.0:1 */
  --accent-grad: linear-gradient(120deg, #1f6e43, #2c9e5c, #3bb06b);

  /* 中性色：浅灰绿底的干净白卡 */
  --ink: #0a2417;
  --ink-soft: #30503d;
  --muted: #5d7c6a;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #e0e8e4;
  --surface-tint: var(--accent-softer);
  --line: #ddebe3;
  --line-strong: #c9dfd1;
  /* 表单控件边框需满足 3:1 非文本对比度 */
  --line-input: #6b8c78;
  --amber: #b8862b;
  --danger: #d13b34;

  /* 字体与字号阶梯 */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-body: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 30px;
  --fs-4xl: 38px;
  --fs-hero: clamp(34px, 4.2vw, 52px);
  --lh-body: 1.75;
  --lh-tight: 1.25;

  /* 圆角：卡片与图片统一，面板更圆润（呼应行情卡的大圆角质感） */
  --radius-sm: 12px;
  --radius-card: 20px;
  --radius-lg: 24px;
  --radius-panel: 30px;
  --radius-pill: 999px;

  /* 阴影层级：柔和浮凸（绿调阴影） */
  --shadow-sm: 0 2px 10px rgba(10, 51, 36, 0.05);
  --shadow: 0 12px 32px -14px rgba(10, 51, 36, 0.16);
  --shadow-lift: 0 26px 52px -20px rgba(10, 51, 36, 0.26);
  --shadow-dark: 0 30px 60px -18px rgba(6, 37, 26, 0.6);

  /* 间距与版式 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --section-y: 88px;
  --gutter: 24px;
  --grid-gap: 24px;
  --card-pad: 28px;
  --maxw: 1200px;

  /* ---- 语义色板：主色 / 辅助色 / 强调色 / 状态色 / 五级中性色 ---- */
  --color-primary: var(--brand-700);          /* 主色 */
  --color-primary-dark: var(--brand-900);     /* 主色-深 */
  --color-primary-light: var(--accent);       /* 主色-亮 */
  --color-secondary: var(--accent-2);         /* 辅助色 */
  --color-accent: var(--accent-bright);       /* 强调色 */
  /* 状态色：与计算器合规评级、行情提示保持一致 */
  --color-success: var(--accent);             /* 正常/达标 A·B */
  --color-warning: var(--amber);              /* 关注/临界 C */
  --color-danger: var(--danger);              /* 超标 D·E */
  --color-info: #2a6f97;                      /* 信息提示 */
  /* 五级中性色（浅→深），全站背景/描边/文字统一取值 */
  --neutral-1: #f7faf8;   /* 极浅底 */
  --neutral-2: #eef3f0;   /* 交替板块底 */
  --neutral-3: #e0e8e4;   /* 次级底 / 描边 */
  --neutral-4: #c9dfd1;   /* 强调描边 */
  --neutral-5: #5d7c6a;   /* 次要文字 */

  /* 交互 */
  --transition: 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
  --focus-ring: 0 0 0 3px rgba(44, 158, 92, 0.32);

  /* 兼容旧内容页的历史别名（只做映射，不再新增硬编码） */
  --green-900: var(--brand-900);
  --green-800: var(--brand-800);
  --green-700: var(--accent);
  --green-600: var(--accent);
  --green-500: var(--accent);
  --green-400: var(--accent-bright);
  --green-100: var(--accent-soft);
  --green-50: var(--accent-softer);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: radial-gradient(circle at 10% 30%, #e0e8e4 0%, #cbdcd3 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent-text);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-text); }
/* 正文中的链接始终带下划线，避免仅靠颜色区分（WCAG 1.4.1） */
.article a, .cookie-content a { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: rgba(59, 176, 107, 0.24); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--brand-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

#main { display: block; }
.is-hidden { display: none !important; }

/* ---------- Header：吸顶 + 滚动紧凑态 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: height var(--transition);
}
.site-header.is-scrolled .header-inner { height: 58px; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
/* Deepcarbon Global 品牌字标 */
.brand-lockup { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; }
.brand-en {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg, #1f6e43, #2c9e5c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-global { font-weight: 600; opacity: 0.85; }
.brand-cn { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.6px; }
.footer-brand-cn { font-weight: 500; font-size: 13px; opacity: 0.75; }
.logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: var(--fs-base);
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { background: rgba(0, 0, 0, 0.045); color: var(--ink); }
.main-nav a.active,
.main-nav a[aria-current="page"] {
  background: rgba(44, 158, 92, 0.12);
  color: var(--accent-text);
  font-weight: 600;
}
.nav-cta {
  background: var(--accent-grad) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(31, 110, 67, 0.28);
}
.nav-cta:hover { color: #fff !important; filter: brightness(1.06); }

/* ---------- 按钮：全站统一 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), filter var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(44, 158, 92, 0.32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(44, 158, 92, 0.42); }
.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--accent-text); color: var(--accent-text); background: var(--surface-tint); }
.btn-green { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 18px rgba(44, 158, 92, 0.28); }
.btn-green:hover { color: #fff; filter: brightness(1.06); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: var(--fs-base); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52% 60% at 82% 18%, rgba(85, 185, 122, 0.22) 0%, transparent 60%),
    radial-gradient(46% 58% at 12% 82%, rgba(44, 158, 92, 0.2) 0%, transparent 62%),
    linear-gradient(160deg, #1f6e43 0%, #124a33 58%, #1a5f3a 100%);
  color: #fff;
  padding: 92px var(--gutter) 112px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.orb-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(85, 185, 122, 0.5), transparent 70%);
  top: -120px;
  right: -80px;
}
.orb-b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(44, 158, 92, 0.5), transparent 70%);
  bottom: -140px;
  left: -60px;
  animation-delay: -7s;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(36px, 26px) scale(1.12); }
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-7);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { text-align: left; }
.hero-copy .tagline {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 7px 20px;
  margin-bottom: var(--space-5);
}
.hero-copy h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--accent-bright), #a8e063);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: var(--space-6);
}
.hero-cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-visual { perspective: 1200px; }
.glass-panel {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-5);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotateY(-9deg) rotateX(5deg);
  transform-style: preserve-3d;
  animation: panel-float 7s ease-in-out infinite;
}
@keyframes panel-float {
  0%, 100% { transform: rotateY(-9deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-14px); }
}
.gp-head {
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gp-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.gp-rating { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.rating-badge {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-card);
  background: var(--accent-grad);
  color: #fff;
  font-size: var(--fs-2xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(44, 158, 92, 0.4);
  transform: translateZ(30px);
}
.gp-rating .gp-meta { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.72); line-height: 1.6; }
.gp-rating .gp-meta strong { display: block; font-size: var(--fs-md); color: #fff; font-weight: 600; }
.gp-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-bottom: var(--space-2);
}
.gp-bar i {
  display: block;
  height: 100%;
  width: 68%;
  border-radius: var(--radius-pill);
  background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(85, 185, 122, 0.7);
}
.gp-bar-note { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.55); margin-bottom: var(--space-4); }
.gp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.8);
  transform: translateZ(18px);
}
.gp-row strong { font-size: var(--fs-xl); font-weight: 700; color: #fff; }
.gp-note { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); margin-top: var(--space-2); text-align: right; }
.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  box-shadow: 0 14px 30px rgba(2, 8, 20, 0.3);
  animation: chip-float 6s ease-in-out infinite;
}
.chip-a { top: 44px; right: 8px; }
.chip-b { bottom: -18px; left: 8px; animation-delay: -3s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 版式与卡片 ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.section-tint {
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { text-align: center; margin-bottom: var(--space-7); }
.section-head .kicker {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-text);
  margin-bottom: var(--space-2);
}
.section-head h2 {
  font-size: var(--fs-4xl);
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: var(--space-3);
  font-weight: 800;
  line-height: var(--lh-tight);
}
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: var(--fs-md); }
.section-action { text-align: center; margin-top: var(--space-6); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(44, 158, 92, 0.05), transparent 45%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.card:hover,
.card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(44, 158, 92, 0.28);
}
.card:hover::after,
.card:focus-within::after { opacity: 1; }
.card .icon { font-size: var(--fs-3xl); margin-bottom: var(--space-4); display: inline-block; transition: transform var(--transition); }
/* 线性 SVG 图标：统一 30px、主题绿、与 emoji 基线兼容 */
.card .icon svg { width: 32px; height: 32px; color: var(--accent); display: block; margin: 0 auto; filter: drop-shadow(0 2px 6px rgba(44, 158, 92, 0.18)); }
.card:hover .icon { transform: scale(1.12) translateY(-3px); }
.card h3 { font-size: var(--fs-lg); color: var(--ink); margin-bottom: var(--space-2); font-weight: 700; line-height: 1.45; }
.card p { color: var(--ink-soft); font-size: var(--fs-md); flex: 1; }
.card .more {
  margin-top: var(--space-4);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--accent-text);
  transition: transform var(--transition);
}
.card .more::after { content: " →"; display: inline-block; transition: transform var(--transition); }
.card:hover .more { transform: translateX(3px); }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

/* 带配图卡片：法规库 / 知识科普列表 */
.card-img { padding: 0; }
.card-thumb { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-alt); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.card-img:hover .card-thumb img, .card-img:focus-within .card-thumb img { transform: scale(1.06); }
.card-img-body { padding: var(--card-pad); display: flex; flex-direction: column; flex: 1; }
.card-img .icon { font-size: var(--fs-2xl); margin-bottom: var(--space-3); }
.grid-img .card h3 { font-size: var(--fs-base); }

/* ---------- 数据带 ---------- */
.stats { background: var(--surface-alt); padding: 64px var(--gutter) 48px; }
.stats-note {
  max-width: var(--maxw);
  margin: var(--space-4) auto 0;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  text-align: center;
}
.stat .num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.stat .label { font-size: var(--fs-base); color: var(--ink-soft); margin-top: var(--space-2); }

/* ---------- 子页横幅与面包屑 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(48% 70% at 85% 10%, rgba(85, 185, 122, 0.2) 0%, transparent 62%),
    radial-gradient(42% 66% at 8% 95%, rgba(44, 158, 92, 0.18) 0%, transparent 64%),
    linear-gradient(155deg, var(--brand-900), var(--brand-800));
  color: #fff;
  padding: 60px var(--gutter) 56px;
}
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.72);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.78); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; font-size: var(--fs-base); }
.breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 600;
  max-width: min(100%, 620px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-hero h1 {
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: var(--lh-tight);
}
.page-hero .sub {
  margin-top: var(--space-3);
  font-size: var(--fs-md);
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 文章 ---------- */
.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  max-width: 880px;
  margin: -36px auto 0;
  padding: 48px 52px;
  position: relative;
  z-index: 3;
}
.article .meta {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.article h2 {
  font-size: var(--fs-2xl);
  color: var(--ink);
  margin: var(--space-7) 0 var(--space-3);
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  font-weight: 700;
  line-height: 1.4;
}
.article h3 { font-size: var(--fs-lg); color: var(--ink); margin: var(--space-5) 0 var(--space-2); font-weight: 700; }
.article p { margin-bottom: var(--space-3); color: var(--ink); }
.article ul,
.article ol { margin: 0 0 var(--space-4) 22px; }
.article li { margin-bottom: var(--space-2); }
.article strong { color: var(--ink); font-weight: 700; }
.article table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0 var(--space-5); font-size: var(--fs-base); }
.article th {
  background: var(--surface-alt);
  color: var(--ink);
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
}
.article td { border-bottom: 1px solid var(--line); padding: 11px 14px; color: var(--ink-soft); }
.article tr:hover td { background: var(--surface-tint); }
.article-cta {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  text-align: center;
}
.article-cta p { color: var(--ink-soft); margin-bottom: var(--space-3); font-size: var(--fs-md); }
.article-spaced { margin-top: var(--space-7); }

.callout {
  background: var(--accent-softer);
  border: 1px solid var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: var(--space-4) 0 var(--space-5);
  font-size: var(--fs-md);
}
.callout .callout-title { font-weight: 700; color: var(--ink); margin-bottom: var(--space-1); }
.callout.warn { background: var(--neutral-1); border-color: #f3e3bc; border-left-color: var(--color-warning); }
.callout.warn .callout-title { color: var(--color-warning); }

.steps { counter-reset: step; list-style: none; margin-left: 0 !important; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 56px;
  border-bottom: 1px dashed var(--line);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li:last-child { border-bottom: none; }
.steps .step-title { font-weight: 600; color: var(--ink); display: block; margin-bottom: 2px; }
.steps .step-desc { color: var(--ink-soft); font-size: var(--fs-md); }

/* ---------- 资讯卡片 ---------- */
.news-item {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.news-item:hover,
.news-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(44, 158, 92, 0.28);
  color: inherit;
}
.news-date {
  flex-shrink: 0;
  width: 76px;
  text-align: center;
  background: var(--accent-grad);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  align-self: flex-start;
  color: #fff;
}
.news-date .d { font-size: var(--fs-2xl); font-weight: 800; line-height: 1.1; }
.news-date .m { font-size: var(--fs-xs); opacity: 0.88; }
.news-item .body { min-width: 0; flex: 1; }
.news-item .body h3 {
  font-size: var(--fs-lg);
  color: var(--ink);
  margin-bottom: var(--space-2);
  font-weight: 700;
  line-height: 1.45;
}
.news-item .body p { color: var(--ink-soft); font-size: var(--fs-md); }
.news-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-text);
  background: rgba(44, 158, 92, 0.12);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  margin-bottom: var(--space-2);
}
.news-thumb {
  flex-shrink: 0;
  width: 176px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-alt);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.news-item:hover .news-thumb img,
.news-item:focus-visible .news-thumb img { transform: scale(1.06); }
.article-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin: var(--space-4) 0 var(--space-5);
  box-shadow: var(--shadow-sm);
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 80% at 18% 20%, rgba(44, 158, 92, 0.24) 0%, transparent 60%),
    radial-gradient(46% 80% at 86% 85%, rgba(85, 185, 122, 0.2) 0%, transparent 62%),
    linear-gradient(150deg, var(--brand-900), var(--brand-800));
  color: #fff;
  text-align: center;
  padding: 72px var(--gutter);
}
.cta-band h2 { font-size: var(--fs-3xl); margin-bottom: var(--space-3); font-weight: 800; letter-spacing: -0.3px; }
.cta-band p { opacity: 0.85; margin-bottom: var(--space-6); font-size: var(--fs-md); }
.cta-band .btn-outline { margin-left: 0; }

.qr-row { display: flex; align-items: center; justify-content: center; gap: var(--space-7); flex-wrap: wrap; }
.qr-side { max-width: 420px; text-align: left; }
.qr-side h3 { font-size: var(--fs-2xl); margin-bottom: var(--space-2); }
.qr-side p { font-size: var(--fs-md); margin-bottom: var(--space-4); }
.qr-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-dark);
}
.qr-card img { width: 180px; height: 180px; object-fit: contain; display: block; border-radius: var(--radius-sm); }
.qr-card .qr-tip { font-size: var(--fs-sm); color: var(--ink); font-weight: 600; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-7) var(--space-5);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.contact-card .icon { font-size: var(--fs-3xl); margin-bottom: var(--space-2); }
.contact-card h3 { font-size: var(--fs-lg); color: var(--ink); margin-bottom: var(--space-2); font-weight: 700; }
.contact-card p { color: var(--ink-soft); font-size: var(--fs-md); }
.contact-qr {
  width: 156px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin: var(--space-2) auto var(--space-3);
}

/* ---------- 快捷入口 ---------- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--maxw);
  margin: -44px auto 0;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 5;
}
.quick-link {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: inherit;
}
.quick-link:hover,
.quick-link:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(44, 158, 92, 0.28);
  color: inherit;
}
.quick-link .q-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent-grad);
  box-shadow: 0 6px 14px rgba(44, 158, 92, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  flex-shrink: 0;
}
.quick-link .q-body { min-width: 0; }
.quick-link .q-body strong { display: block; font-size: var(--fs-md); color: var(--ink); font-weight: 700; }
.quick-link .q-body span { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 计算器 ---------- */
.calc-wrap { display: grid; gap: var(--space-6); }
.calc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-head {
  background: linear-gradient(135deg, var(--brand-800), var(--accent));
  color: #fff;
  padding: 20px var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.calc-head h2 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.4; }
.calc-head .badge {
  font-size: var(--fs-sm);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
}
.calc-body { padding: var(--space-6); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.calc-col-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 1px;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-soft);
}
.field { margin-bottom: var(--space-3); }
.field label {
  display: block;
  font-size: var(--fs-md);
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 6px;
}
.field label .unit { font-weight: 400; color: var(--muted); font-size: var(--fs-base); }
.field input,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line-input);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--fs-md);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input::placeholder { color: var(--muted); }
.field input:focus,
.field select:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }
.field-help { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; line-height: 1.6; }
.fuel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.calc-btn { width: 100%; margin-top: var(--space-1); }
.seg { display: flex; border: 1px solid var(--line-input); border-radius: var(--radius-sm); overflow: hidden; }
.seg button {
  flex: 1;
  padding: 10px;
  border: none;
  background: var(--surface);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.seg button:hover { background: var(--surface-tint); }
.seg button.on { background: var(--accent-soft); color: var(--accent); }
.result-box { display: none; }
.result-box.show { display: block; animation: result-in var(--transition); }
@keyframes result-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.result-placeholder {
  background: var(--surface-tint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  color: var(--ink-soft);
  font-size: var(--fs-base);
  line-height: 1.7;
}
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric {
  background: var(--surface-tint);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.metric .k { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.metric .v {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--brand-800);
  margin-top: 4px;
  line-height: 1.35;
}
.metric .v small { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.metric.wide { grid-column: span 2; }
.metric .v.cost { color: var(--accent); font-size: var(--fs-2xl); }
.metric .v.conclusion { font-size: var(--fs-md); line-height: 1.7; font-weight: 500; }
.calc-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #fff;
}
.r-A, .r-B { background: var(--color-success); }
.r-C { background: var(--color-warning); }
.r-D { background: #a04d0a; } /* 介于警告与危险之间的过渡态 */
.r-E { background: var(--color-danger); }
.calc-note {
  margin-top: var(--space-3);
  font-size: var(--fs-base);
  color: var(--ink-soft);
  background: var(--surface-tint);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  line-height: 1.7;
}
.calc-cta {
  display: block;
  margin-top: var(--space-4);
  text-align: center;
  background: var(--accent-grad);
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-md);
  font-weight: 700;
  padding: 15px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition);
}
.calc-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44, 158, 92, 0.32); color: #fff; }
.calc-params { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--space-2); }
.calc-disclaimer {
  text-align: center;
  font-size: var(--fs-base);
  color: var(--muted);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--line);
  line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px var(--gutter) 28px;
  font-size: var(--fs-base);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
}
.footer-inner h4 { color: #fff; font-size: var(--fs-md); margin-bottom: var(--space-3); font-weight: 600; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { width: 24px; height: 24px; object-fit: contain; }
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: var(--space-2); }
.footer-inner a { color: rgba(255, 255, 255, 0.68); }
.footer-inner a:hover { color: var(--accent-bright); }
.footer-legal {
  max-width: var(--maxw);
  margin: var(--space-6) auto 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.62);
}
.footer-legal p { margin: 0 auto var(--space-2); max-width: 860px; line-height: 1.7; }
.footer-legal a { color: rgba(255, 255, 255, 0.78); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent-bright); }
.beian-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-5); margin: var(--space-3) 0; }
.beian-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.78) !important; font-size: var(--fs-sm); }
.beian-link img { width: 16px; height: 16px; object-fit: contain; }
.beian-link:hover { color: var(--accent-bright) !important; }
.footer-copyright { color: rgba(255, 255, 255, 0.5); font-size: var(--fs-sm); }

/* 文章/详情页免责声明与数据口径说明 */
.article-notice {
  margin: var(--space-6) 0 0;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  background: var(--surface-tint);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.75;
}
.article-notice strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: var(--fs-base); }
.article-notice p { margin: 0 0 6px; }
.article-notice p:last-child { margin-bottom: 0; }
.article-notice a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.article-timeliness {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-tint);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--fs-xs);
}

/* ---------- 悬浮客服与回顶 ---------- */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--fs-xl);
  color: var(--ink);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
  text-decoration: none;
}
.fc-btn:hover { transform: translateY(-2px); background: var(--surface-tint); color: var(--ink); }
.fc-btn .fc-label { font-size: 10px; color: var(--muted); margin-top: 1px; line-height: 1; }
.fc-btn.main { background: var(--accent-grad); border-color: transparent; color: #fff; }
.fc-btn.main .fc-label { color: rgba(255, 255, 255, 0.92); }
.fc-btn.main:hover { color: #fff; filter: brightness(1.06); }
.fc-btn.top { display: none; }
.fc-btn.top.show { display: flex; }
.fc-qr-pop {
  position: absolute;
  right: 64px;
  bottom: calc(100% + 14px);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: 18px 18px 20px;
}
.fc-qr-pop.show { display: flex; }
.fc-pop-head { font-size: var(--fs-lg); font-weight: 700; color: var(--ink); text-align: center; }
/* 纯二维码方图：留白安静区，避免边角被卡片圆角裁掉影响扫码 */
.fc-qr-pop img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 6px;
}
.fc-pop-sub { font-size: var(--fs-sm); color: var(--muted); text-align: center; line-height: 1.5; }

/* ---------- 底部固定 CTA ---------- */
.bottom-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 290;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 12px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(10, 51, 36, 0.12);
  transform: translateY(115%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.3s, visibility 0.3s;
}
.bottom-cta.show { transform: translateY(0); opacity: 1; visibility: visible; }
.bottom-cta-close {
  position: absolute;
  top: -18px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.bottom-cta-close:hover { color: var(--ink); background: var(--surface-tint); }
.bottom-cta-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bottom-cta-copy strong { font-size: var(--fs-base); color: var(--ink); font-weight: 700; }
.bottom-cta-copy span { font-size: var(--fs-sm); color: var(--muted); }
.bottom-cta-btn { flex-shrink: 0; white-space: nowrap; }

/* ---------- 在线留言表单 ---------- */
.inquiry {
  margin-top: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.inquiry-head { margin-bottom: var(--space-6); }
.inquiry-head h2 { font-size: var(--fs-2xl); margin-bottom: var(--space-2); font-weight: 800; }
.inquiry-head p { color: var(--ink-soft); font-size: var(--fs-md); }
.inquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); }
.form-field label { font-size: var(--fs-base); font-weight: 600; color: var(--ink); }
.form-field label span { color: #c0392b; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-field textarea { resize: vertical; line-height: 1.6; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44, 158, 92, 0.15);
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #c0392b; }
.field-err { color: #c0392b; font-size: var(--fs-sm); min-height: 0; }
.field-hint { color: var(--muted); font-size: var(--fs-xs); text-align: right; }
.inquiry-actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.inquiry-note { color: var(--muted); font-size: var(--fs-sm); }
.inquiry-status { margin-top: var(--space-3); font-size: var(--fs-base); min-height: 1em; }
.inquiry-status.ok { color: var(--accent-text); }
.inquiry-status.err { color: #c0392b; }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
  background:
    radial-gradient(50% 70% at 85% 10%, rgba(85, 185, 122, 0.22) 0%, transparent 62%),
    radial-gradient(46% 66% at 8% 92%, rgba(44, 158, 92, 0.2) 0%, transparent 64%),
    linear-gradient(155deg, var(--brand-900), var(--brand-800));
  color: #fff;
}
.page-404 .wrap { max-width: 560px; }
.page-404 .logo { width: 96px; height: 96px; object-fit: contain; margin: 0 auto var(--space-5); }
.page-404 h1 {
  font-size: 88px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: var(--space-2);
  background: linear-gradient(110deg, var(--accent-bright), #a8e063);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-404 h2 { font-size: var(--fs-xl); font-weight: 600; margin-bottom: var(--space-3); }
.page-404 p { color: rgba(255, 255, 255, 0.72); font-size: var(--fs-md); margin-bottom: var(--space-6); }
.page-404 .btns { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.page-404 .links { margin-top: var(--space-6); font-size: var(--fs-base); color: rgba(255, 255, 255, 0.5); }
.page-404 .links a { color: rgba(255, 255, 255, 0.75); margin: 0 10px; }
.page-404 .links a:hover { color: var(--accent-bright); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .main-nav { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; position: relative; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex-shrink: 0; }
  /* 右缘渐隐 + 箭头，提示导航可横向滑动 */
  .main-nav.nav-can-scroll { -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent 100%); mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent 100%); }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-visual { max-width: 460px; }
  .glass-panel { transform: none; animation: none; }
  .chip-b { bottom: -14px; left: 6px; }
}
@media (max-width: 900px) {
  .header-inner { height: auto; min-height: 60px; padding: 10px var(--gutter); flex-direction: column; align-items: stretch; gap: 6px; }
  .site-header.is-scrolled .header-inner { min-height: 54px; }
  .logo { align-self: flex-start; }
  .main-nav { width: 100%; }
  .grid-3,
  .grid-4,
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .article { padding: 36px 28px; }
  .container { padding: 64px var(--gutter); }
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 64px; --card-pad: 22px; --grid-gap: 16px; }
  body { font-size: 15.5px; line-height: 1.8; }
  html { scroll-padding-top: 112px; }
  .header-inner { padding: 8px var(--gutter); }
  .logo-mark { width: 32px; height: 32px; }
  .main-nav a { padding: 9px 12px; font-size: var(--fs-base); }
  .hero { padding: 64px var(--gutter) 88px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy p { font-size: var(--fs-md); }
  .hero-cta-row .btn { flex: 1 1 100%; }
  .float-chip { display: none; }
  .glass-panel { transform: none; }
  .section-head h2 { font-size: 28px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: stretch; gap: var(--space-3); padding: var(--space-4); }
  .news-item.has-thumb { flex-direction: column-reverse; }
  .news-thumb { width: 100%; }
  .news-date { width: auto; align-self: flex-start; display: flex; align-items: baseline; gap: 8px; padding: 6px 14px; }
  .news-date .d { font-size: var(--fs-xl); }
  .article { margin-top: -20px; padding: 24px 20px; font-size: 15.5px; }
  .article h2 { font-size: var(--fs-xl); }
  .article table { display: block; overflow-x: auto; }
  .page-hero { padding: 48px var(--gutter) 44px; }
  .page-hero h1 { font-size: 28px; }
  .breadcrumb [aria-current="page"] { max-width: 52vw; }
  .cta-band { padding: 56px var(--gutter); }
  .cta-band h2 { font-size: var(--fs-2xl); }
  .qr-side { text-align: center; }
  .quick-links { grid-template-columns: repeat(2, 1fr); margin-top: -30px; gap: 12px; }
  .quick-link { padding: 14px 12px; }
  .quick-link .q-icon { width: 40px; height: 40px; font-size: var(--fs-lg); }
  .contact-qr { width: 140px; }
  .calc-body { padding: var(--space-4); }
  .calc-head { padding: 16px var(--space-4); }
  .calc-head h2 { font-size: var(--fs-lg); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric.wide { grid-column: span 2; }
  .float-contact { right: 12px; bottom: 76px; }
  .fc-btn { width: 46px; height: 46px; border-radius: 12px; font-size: var(--fs-lg); }
  .fc-qr-pop { right: 54px; width: 216px; padding: 14px; }
  .fc-qr-pop img { width: 176px; height: 176px; }
  .bottom-cta { gap: var(--space-3); padding: 10px 14px; }
  .bottom-cta-copy strong { font-size: var(--fs-sm); }
  .bottom-cta-copy span { display: none; }
  .bottom-cta-btn { padding: 10px 16px; font-size: var(--fs-sm); }
  .inquiry-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-actions .btn { flex: 1 1 100%; }
  .inquiry-note { flex-basis: 100%; }
  .stat .num { font-size: 36px; }
  .page-404 h1 { font-size: 68px; }
  .footer-inner a,
  .footer-legal a,
  .beian-link { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-inner li { margin-bottom: 2px; }
}
@media (max-width: 420px) {
  .hero-copy h1 { font-size: 30px; }
  .btn { padding: 11px 20px; font-size: var(--fs-base); }
  .metric-grid { grid-template-columns: 1fr; }
  .metric.wide { grid-column: span 1; }
  .fuel-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-orb,
  .glass-panel,
  .float-chip,
  .gp-head .dot { animation: none !important; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   站内搜索（Pagefind）—— 导航栏默认仅放大镜，点击展开
   ============================================================ */
.nav-search {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(44, 158, 92, 0.35);
  border-radius: var(--radius-pill);
  background: var(--accent-softer);
  color: var(--accent-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}
.nav-search:hover,
.nav-search:focus-visible {
  background: var(--accent-text);
  color: #fff;
  border-color: var(--accent-text);
  transform: translateY(-1px);
}
.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 120;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: search-in var(--transition);
}
.search-panel[hidden] { display: none; }
@keyframes search-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-panel-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px var(--gutter) 24px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 6px 14px;
  background: var(--surface);
  color: var(--accent-text);
}
.search-form:focus-within { box-shadow: var(--focus-ring); }
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-lg);
  padding: 10px 0;
}
.search-form input::placeholder { color: var(--muted); }
/* 自有关闭按钮已提供，隐藏浏览器原生清除图标避免重复 */
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-close {
  border: 0;
  background: var(--surface-alt);
  color: var(--ink-soft);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xl);
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.search-close:hover { background: var(--accent-soft); }
.search-quick { display: grid; gap: 4px; margin-top: 14px; }
.search-quick:empty { display: none; }
.search-hit {
  display: grid;
  gap: 3px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: inherit;
  transition: background var(--transition);
}
.search-hit:hover,
.search-hit:focus-visible { background: var(--surface-tint); color: inherit; }
.search-hit-cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 0.5px;
}
.search-hit strong { font-size: var(--fs-md); color: var(--ink); font-weight: 700; }
.search-hit-excerpt {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.65;
  display: block;
}
.search-hit mark,
.search-result mark {
  background: rgba(44, 158, 92, 0.18);
  color: var(--ink);
  padding: 0 2px;
  border-radius: 3px;
}
.search-all {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.search-empty { padding: 12px 14px; font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- 独立结果页：与全站卡片视觉一致 ---------- */
.search-page { min-height: 60vh; }
.search-page-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-input);
  border-radius: var(--radius-card);
  padding: 6px 8px 6px 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--accent-text);
}
.search-page-form:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
.search-page-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-lg);
  min-height: 44px;
}
.search-page-meta {
  margin: var(--space-5) 0 var(--space-3);
  min-height: 1.5em;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.search-page-results { display: grid; gap: 12px; }
.search-result {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.search-result:hover,
.search-result:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(44, 158, 92, 0.3);
  color: inherit;
}
.search-result-no {
  flex: 0 0 auto;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--accent-text);
  padding-top: 2px;
}
.search-result-body { min-width: 0; flex: 1; display: grid; gap: 5px; }
.search-result-cat { font-size: var(--fs-xs); font-weight: 700; color: var(--accent-text); }
.search-result strong { font-size: var(--fs-lg); color: var(--ink); }
.search-result-excerpt { font-size: var(--fs-md); color: var(--ink-soft); line-height: 1.7; }
.search-result-arrow { flex: 0 0 auto; color: var(--muted); font-size: var(--fs-lg); }
.search-none { text-align: center; padding: 56px 0; color: var(--ink-soft); }
.search-page-empty { text-align: center; padding: 64px 0; }
.search-page-empty h2 { font-size: var(--fs-2xl); color: var(--ink); margin-bottom: var(--space-2); }
.search-page-empty p { color: var(--ink-soft); }
.search-suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--space-5); }
.search-suggest a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}
.search-suggest a:hover { border-color: var(--accent); color: var(--accent-text); background: var(--surface-tint); }

/* ============================================================
   GDPR Cookie 同意：接受 / 拒绝同级，随时撤回
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 32px rgba(16, 24, 40, 0.12);
}
.cookie-banner[hidden] { display: none; }
.cookie-card { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 14px; align-items: flex-start; }
.cookie-icon { font-size: 26px; line-height: 1.5; flex: 0 0 auto; }
.cookie-content { flex: 1; min-width: 0; }
.cookie-content h2 { font-size: var(--fs-md); font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.cookie-content p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.7; max-width: 900px; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cookie-link {
  border: 0;
  background: none;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 12px 10px;
  min-height: 44px;
}
.cookie-prefs {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
}
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--ink-soft); }
.cookie-opt input { width: 16px; height: 16px; accent-color: var(--accent); }
.footer-cookie {
  border: 0;
  padding: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-cookie:hover { color: var(--accent-bright); }

/* ---------- 移动端：搜索按钮常驻首行 ---------- */
@media (max-width: 900px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .logo { grid-column: 1; grid-row: 1; }
  .nav-search { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .search-panel-inner { padding: 14px var(--gutter) 18px; }
  .search-form input,
  .search-page-form input { font-size: var(--fs-md); }
  .search-page-form { padding-left: 12px; }
  .search-result { padding: 16px; gap: 12px; }
  .search-result-arrow { display: none; }
  .cookie-banner { padding: 14px var(--gutter); max-height: 58vh; overflow-y: auto; }
  .cookie-card { flex-direction: column; gap: 6px; }
  .cookie-actions .btn { flex: 1 1 40%; }
  .cookie-prefs { gap: 10px; }
}

/* ============================================================
   首页板块体系 v5 —— 背景交替 · 1200px 容器 · 计算器入口 / FAQ
   ============================================================ */
.band { padding: var(--section-y) 0; background: var(--bg); }
.band-alt { background: var(--neutral-2); }
.container-narrow { max-width: 900px; }

/* 计算器入口 */
.calc-entry {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-7);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.calc-entry-copy .kicker { color: var(--accent-text); font-weight: 700; letter-spacing: 2px; font-size: var(--fs-sm); }
.calc-entry-copy h2 { font-size: var(--fs-3xl); line-height: var(--lh-tight); margin: var(--space-3) 0 var(--space-4); }
.calc-entry-copy p { color: var(--muted); font-size: var(--fs-md); max-width: 560px; }
.calc-entry-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.calc-entry-visual { display: flex; flex-direction: column; gap: var(--space-3); }
.ce-card {
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.ce-card strong { font-size: var(--fs-2xl); color: var(--brand-800); }
.ce-card strong.ok { color: var(--color-success); }
.ce-hint { text-align: right; font-size: var(--fs-xs); color: var(--muted); }

/* FAQ 手风琴 */
.faq-list { display: grid; gap: var(--space-3); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: var(--fs-md);
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: var(--fs-xl); color: var(--accent-text); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--surface-tint); }
.faq-a {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
}
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .calc-entry { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-5); }
  .calc-entry-copy h2 { font-size: var(--fs-2xl); }
  .band { padding: var(--space-7) 0; }
}
