/*
Theme Name: 蜀净炭业 ShuJing Carbon
Theme URI: https://example.com/shujing-carbon
Author: ShuJing Design Studio
Author URI: https://example.com
Description: 为成都活性炭销售企业定制的 WordPress 主题。墨炭黑 × 窑火橙的工业净化视觉体系，签名式"孔隙"纹理与检验报告风格规格表，内置产品中心（自定义文章类型）、应用领域、服务流程、新闻资讯与询盘模块。全站系统中文字体，无外部字体依赖，国内访问快。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shujing-carbon
Tags: business, one-column, custom-menu, custom-logo, featured-images
*/

/* ==========================================================================
   0. 设计令牌 Design Tokens
   ========================================================================== */
:root {
  /* 色彩 —— 墨炭(产品本色) / 矿石白 / 窑火橙(活化窑) / 矿青(水处理) */
  --carbon:   #17191B;
  --carbon-2: #1F2225;
  --carbon-3: #26292D;
  --ink:      #23262A;
  --muted:    #6C7278;
  --stone:    #F2F3F0;
  --stone-2:  #E9EAE6;
  --paper:    #FFFFFF;
  --ember:    #E86A17;
  --ember-d:  #C4560F;
  --ember-soft: rgba(232, 106, 23, .12);
  --teal:     #2F7E71;
  --teal-soft: rgba(47, 126, 113, .12);
  --line:     #E0E2DE;
  --line-dark: rgba(255,255,255,.12);
  --white-70: rgba(255,255,255,.72);
  --white-50: rgba(255,255,255,.52);

  /* 字体 —— 系统中文栈，数据用等宽（检验报告感） */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --wrap: 1180px;
  --radius: 10px;
  --radius-s: 6px;
  --shadow: 0 10px 30px rgba(23, 25, 27, .08);
  --shadow-lg: 0 22px 60px rgba(23, 25, 27, .16);
  --head-h: 72px;
}

/* ==========================================================================
   1. 基础 Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ember); }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

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

.mono { font-family: var(--font-mono); letter-spacing: .02em; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--carbon); color: #fff;
  padding: 10px 18px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   2. 按钮 Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  background: var(--ember);
  color: #fff;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.btn:hover { background: var(--ember-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,106,23,.32); }
.btn .arr { font-family: var(--font-mono); transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; box-shadow: none; }

.btn-dark {
  background: var(--carbon);
  color: #fff;
}
.btn-dark:hover { background: var(--carbon-3); box-shadow: 0 10px 24px rgba(23,25,27,.28); }

.btn-line {
  background: transparent;
  border-color: var(--carbon);
  color: var(--carbon);
}
.btn-line:hover { background: var(--carbon); color: #fff; box-shadow: none; }

/* ==========================================================================
   3. 顶栏 + 页头 Topbar & Header
   ========================================================================== */
.topbar {
  background: var(--carbon);
  color: var(--white-70);
  font-size: 13px;
}
.topbar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--ember); }
.topbar .dot { color: var(--ember); margin-inline: 10px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.masthead.is-stuck { box-shadow: 0 8px 28px rgba(23,25,27,.10); }

.masthead-in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--head-h);
}

/* 品牌 */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--carbon);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark svg { display: block; }
.brand-name { line-height: 1.25; }
.brand-name strong { display: block; font-size: 19px; letter-spacing: .06em; color: var(--carbon); }
.brand-name span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
}
.brand .custom-logo { max-height: 46px; width: auto; }

/* 导航 */
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-s);
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-list a:hover { color: var(--ember); }
.nav-list a:hover::after,
.nav-list .current-menu-item > a::after { transform: scaleX(1); }
.nav-list .current-menu-item > a { color: var(--ember); }

/* 子菜单 */
.nav-list li { position: relative; }
.nav-list .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub-menu a { padding: 9px 12px; font-size: 14px; }
.nav-list .sub-menu a::after { display: none; }

.head-cta { flex-shrink: 0; }

/* 移动端汉堡 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--carbon);
  transition: transform .25s ease, opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   4. 首屏 Hero —— 碳黑样品区
   ========================================================================== */
.hero {
  position: relative;
  background: var(--carbon);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* 背景孔隙微粒 */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1.5px, transparent 1.6px),
    radial-gradient(rgba(255,255,255,.033) 1px, transparent 1.1px);
  background-size: 46px 46px, 23px 23px;
  background-position: 0 0, 12px 9px;
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 118px) clamp(56px, 8vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--ember);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--ember);
  flex-shrink: 0;
}
.hero .eyebrow { margin-bottom: 22px; }

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .015em;
}
.hero-title em {
  font-style: normal;
  color: var(--ember);
}
.hero-sub {
  margin-top: 22px;
  max-width: 34em;
  font-size: 16.5px;
  color: var(--white-70);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  font-size: 13.5px;
  color: var(--white-50);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
  content: "✓";
  color: var(--ember);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* 样品板 —— 签名元素 */
.specimen {
  position: relative;
  background: var(--carbon-2);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 18px 18px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.specimen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--white-50);
  padding: 2px 4px 14px;
  border-bottom: 1px dashed var(--line-dark);
  text-transform: uppercase;
}
.specimen-head b { color: var(--ember); font-weight: 600; }
.specimen-pore {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--carbon);
}
.specimen-pore svg { display: block; width: 100%; height: auto; }
.specimen-foot {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--white-50);
}
.specimen-foot i { font-style: normal; color: var(--ember); }

/* 悬浮规格签 */
.chip {
  position: absolute;
  background: var(--paper);
  color: var(--carbon);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  line-height: 1.35;
  animation: chip-float 5.5s ease-in-out infinite;
}
.chip small {
  display: block;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.chip strong {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
}
.chip strong i { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 2px; }
.chip-1 { top: 6%;  left: -34px; animation-delay: 0s; }
.chip-2 { top: 42%; right: -30px; animation-delay: 1.4s; }
.chip-3 { bottom: -18px; left: 12%; animation-delay: 2.6s; }
.chip-3 strong { color: var(--ember); }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ==========================================================================
   5. 跑马灯 Marquee
   ========================================================================== */
.marquee {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding-block: 15px;
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .18em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: 44px; }
.marquee-track i { color: var(--ember); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   6. 通用区块 Sections
   ========================================================================== */
.section { padding-block: clamp(64px, 8.5vw, 108px); }
.section-dark { background: var(--carbon); color: #fff; }
.section-paper { background: var(--paper); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 54px);
}
.sec-title {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.3;
}
.sec-desc { margin-top: 12px; max-width: 40em; color: var(--muted); font-size: 15.5px; }
.section-dark .sec-desc { color: var(--white-70); }
.sec-link {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .08em;
  color: var(--carbon);
  border-bottom: 1px solid var(--carbon);
  padding-bottom: 3px;
  white-space: nowrap;
}
.sec-link:hover { color: var(--ember); border-color: var(--ember); }
.section-dark .sec-link { color: #fff; border-color: rgba(255,255,255,.4); }

/* ==========================================================================
   7. 产品中心 Products
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::before { transform: scaleX(1); }

.product-fig {
  height: 148px;
  border-radius: var(--radius-s);
  background: var(--stone);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.product-fig img { width: 100%; height: 148px; object-fit: cover; }
.product-fig svg { display: block; }

.product-name { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.product-en {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--teal-soft);
  color: var(--teal);
  letter-spacing: .04em;
}
.tag-ember { background: var(--ember-soft); color: var(--ember-d); }

.spec-list { list-style: none; margin-top: 16px; flex: 1; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list .k { color: var(--muted); }
.spec-list .v { font-family: var(--font-mono); font-weight: 600; color: var(--carbon); }

.product-foot {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.product-foot a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ember);
  white-space: nowrap;
}
.product-foot a:hover { color: var(--ember-d); }

/* 定制卡 */
.product-card.is-cta {
  background: var(--carbon);
  border-color: var(--carbon);
  color: #fff;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
}
.product-card.is-cta h3 { font-size: 21px; font-weight: 700; line-height: 1.5; }
.product-card.is-cta p { color: var(--white-70); font-size: 14px; }
.product-card.is-cta:hover { transform: translateY(-6px); }

/* ==========================================================================
   8. 应用领域 Applications（碳黑区）
   ========================================================================== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.app-card {
  background: var(--carbon-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  transition: transform .3s ease, border-color .3s ease, background .3s;
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,106,23,.55);
  background: var(--carbon-3);
}
.app-icon {
  width: 46px; height: 46px;
  border-radius: 9px;
  background: rgba(232,106,23,.14);
  display: grid;
  place-items: center;
  color: var(--ember);
  margin-bottom: 16px;
}
.app-icon svg { display: block; }
.app-card h3 { font-size: 17.5px; font-weight: 700; letter-spacing: .02em; }
.app-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--white-50); }
.app-card .app-rec {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ember);
  border: 1px solid rgba(232,106,23,.4);
  border-radius: 99px;
  padding: 3px 10px;
}

/* ==========================================================================
   9. 数据带 Stats
   ========================================================================== */
.stats { border-block: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(30px, 4vw, 46px) 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--carbon);
  line-height: 1.1;
}
.stat b i { font-style: normal; color: var(--ember); font-size: .55em; margin-left: 3px; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); letter-spacing: .06em; }

/* ==========================================================================
   10. 服务流程 Process（真实顺序，编号成立）
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ember);
}
.step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--muted);
  z-index: 2;
}
.step:last-child::after { display: none; }
.step h3 { margin-top: 10px; font-size: 16.5px; font-weight: 700; }
.step p { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ==========================================================================
   11. 关于我们 About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-copy p { margin-top: 16px; color: var(--muted); font-size: 15.5px; }
.about-list { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.about-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--ember-soft);
  background-image: radial-gradient(var(--ember) 2.4px, transparent 2.6px);
  background-size: 7px 7px;
  background-position: center;
}
.about-list b { color: var(--carbon); }
.about-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 服务半径面板 */
.radius-panel {
  position: relative;
  background: var(--carbon);
  color: #fff;
  border-radius: 14px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
}
.radius-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.6px);
  background-size: 30px 30px;
}
.radius-panel > * { position: relative; }
.radius-city {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
}
.radius-city i { font-style: normal; color: var(--ember); }
.radius-sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  color: var(--white-50);
  text-transform: uppercase;
}
.radius-rows { margin-top: 26px; display: grid; gap: 0; }
.radius-rows li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-block: 11px;
  border-bottom: 1px dashed var(--line-dark);
  font-size: 14px;
  color: var(--white-70);
}
.radius-rows li:last-child { border-bottom: 0; }
.radius-rows .v { font-family: var(--font-mono); color: #fff; }
.radius-badge {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--ember);
  border: 1px solid rgba(232,106,23,.4);
  border-radius: 99px;
  padding: 6px 14px;
}

/* ==========================================================================
   12. 新闻资讯 News
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ember);
}
.news-card h3 { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.55; }
.news-card h3 a:hover { color: var(--ember); }
.news-card p { margin-top: 10px; font-size: 13.5px; color: var(--muted); flex: 1; }
.news-more {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--carbon);
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 46px 20px;
  background: var(--paper);
}

/* ==========================================================================
   13. 联系询盘 Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-phone {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.contact-phone:hover { color: var(--ember); }
.contact-rows { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.contact-rows li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--white-70);
}
.contact-rows .k {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--white-50);
  width: 72px;
  text-transform: uppercase;
}
.contact-rows a { color: #fff; }
.contact-rows a:hover { color: var(--ember); }

.contact-panel {
  background: var(--carbon-2);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 34px);
}
.contact-panel h3 { font-size: 18px; font-weight: 700; }
.contact-panel .hint { margin-top: 8px; font-size: 13px; color: var(--white-50); }
.contact-quick { margin-top: 22px; display: grid; gap: 12px; }
.contact-quick .btn { justify-content: center; width: 100%; }
.qr-box {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--carbon);
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius-s);
  padding: 14px;
}
.qr-box img { width: 92px; height: 92px; border-radius: 6px; background: #fff; object-fit: cover; }
.qr-ph {
  width: 92px; height: 92px;
  border-radius: 6px;
  background: var(--carbon-3);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--white-50);
  text-align: center;
  flex-shrink: 0;
}
.qr-box p { font-size: 13px; color: var(--white-70); line-height: 1.7; }
.qr-box b { color: #fff; }

/* 表单（配合 Contact Form 7 等插件的简码） */
.contact-panel .wpcf7 input:not([type="submit"]),
.contact-panel .wpcf7 textarea,
.sj-form input:not([type="submit"]),
.sj-form textarea {
  width: 100%;
  background: var(--carbon);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  margin-top: 10px;
  transition: border-color .2s;
}
.contact-panel .wpcf7 input:focus,
.contact-panel .wpcf7 textarea:focus,
.sj-form input:focus,
.sj-form textarea:focus {
  outline: none;
  border-color: var(--ember);
}
.contact-panel .wpcf7 input[type="submit"],
.sj-form input[type="submit"] {
  margin-top: 16px;
  width: 100%;
  background: var(--ember);
  border: 0;
  border-radius: var(--radius-s);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px;
  cursor: pointer;
  transition: background .2s;
}
.contact-panel .wpcf7 input[type="submit"]:hover,
.sj-form input[type="submit"]:hover { background: var(--ember-d); }

/* ==========================================================================
   14. 页脚 Footer
   ========================================================================== */
.site-foot {
  background: #0F1113;
  color: var(--white-70);
  padding-top: clamp(48px, 6vw, 72px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
}
.foot-brand .brand-mark { background: var(--carbon-3); }
.foot-brand p { margin-top: 16px; font-size: 13.5px; color: var(--white-50); max-width: 26em; }
.foot-phone {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
}
.foot-phone:hover { color: var(--ember); }
.foot-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #fff;
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a, .foot-col li { font-size: 13.5px; color: var(--white-50); }
.foot-col a:hover { color: var(--ember); }
.foot-col .menu { display: grid; gap: 10px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
}
.foot-bottom a { color: rgba(255,255,255,.38); }
.foot-bottom a:hover { color: var(--ember); }

/* ==========================================================================
   15. 浮动侧栏 Float Rail
   ========================================================================== */
.float-rail {
  position: fixed;
  right: 18px;
  bottom: 110px;
  z-index: 80;
  display: grid;
  gap: 10px;
}
.float-btn {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--carbon);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: background .2s, color .2s, transform .2s;
}
.float-btn:hover { background: var(--ember); border-color: var(--ember); color: #fff; transform: translateY(-2px); }
.float-btn svg { display: block; }
.float-pop {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  width: 158px;
  opacity: 0;
  visibility: hidden;
  transition: all .22s ease;
  text-align: center;
  color: var(--ink);
}
.float-pop img { width: 132px; height: 132px; margin-inline: auto; border-radius: 4px; }
.float-pop .qr-ph { width: 132px; height: 132px; margin-inline: auto; background: var(--stone); color: var(--muted); }
.float-pop small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.float-pop b { display: block; font-family: var(--font-mono); font-size: 13px; margin-top: 2px; color: var(--carbon); white-space: nowrap; }
.float-btn:hover .float-pop,
.float-btn:focus-within .float-pop,
.float-btn.is-open .float-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
#to-top { opacity: 0; visibility: hidden; transition: all .3s; }
#to-top.is-show { opacity: 1; visibility: visible; }

/* ==========================================================================
   16. 内页 / 文章 Blog & Pages
   ========================================================================== */
.page-hero {
  background: var(--carbon);
  color: #fff;
  padding-block: clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1.5px, transparent 1.6px);
  background-size: 40px 40px;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-top: 12px; }
.page-hero .desc { margin-top: 12px; color: var(--white-70); max-width: 46em; }

.archive-wrap { padding-block: clamp(48px, 6vw, 72px); }
.post-list { display: grid; gap: 18px; max-width: 860px; }
.post-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-item h2 { font-size: 20px; font-weight: 700; line-height: 1.55; }
.post-item h2 a:hover { color: var(--ember); }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}
.post-meta a { color: var(--ember); }
.post-item .post-meta { margin-bottom: 10px; }
.post-item p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

.pagination, .nav-links {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.nav-links .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--ink);
}
.nav-links .page-numbers.current { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.nav-links .page-numbers:hover { border-color: var(--ember); color: var(--ember); }

/* 正文 */
.entry-wrap { padding-block: clamp(48px, 6vw, 72px); }
.entry {
  max-width: 800px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
}
.entry-thumb { margin: 0 0 26px; border-radius: var(--radius-s); overflow: hidden; }
.entry-content { font-size: 16px; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { font-size: 24px; font-weight: 800; margin-top: 1.8em; padding-left: 14px; border-left: 4px solid var(--ember); }
.entry-content h3 { font-size: 19px; font-weight: 700; margin-top: 1.6em; }
.entry-content a { color: var(--ember); border-bottom: 1px solid rgba(232,106,23,.35); }
.entry-content blockquote {
  margin: 1.4em 0;
  padding: 16px 22px;
  background: var(--stone);
  border-left: 4px solid var(--carbon);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--muted);
}
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: var(--radius-s); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--stone); font-weight: 700; }
.entry-content code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--stone);
  padding: 2px 7px;
  border-radius: 4px;
}
.entry-content pre { background: var(--carbon); color: #E6E8EA; padding: 18px 22px; border-radius: var(--radius-s); overflow-x: auto; }
.entry-content pre code { background: none; padding: 0; color: inherit; }

.entry-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-nav {
  max-width: 800px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.post-nav a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  font-size: 14px;
  transition: border-color .2s, color .2s;
}
.post-nav a:hover { border-color: var(--ember); color: var(--ember); }
.post-nav .next { text-align: right; }
.post-nav small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-bottom: 4px; }

/* 评论 */
.comments-area { max-width: 800px; margin-top: 28px; }
.comments-area .comments-title { font-size: 19px; font-weight: 700; margin-bottom: 20px; }
.comment-list { list-style: none; display: grid; gap: 14px; }
.comment-list .comment-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 20px;
  font-size: 14.5px;
}
.comment-list .children { list-style: none; margin-top: 14px; padding-left: 26px; display: grid; gap: 14px; }
.comment-author { font-weight: 700; }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-metadata { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: 12.5px; color: var(--ember); font-family: var(--font-mono); }
.comment-respond { margin-top: 30px; }
.comment-respond .comment-reply-title { font-size: 18px; font-weight: 700; }
.comment-form label { display: block; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  margin-top: 6px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ember); }
.comment-form .submit {
  margin-top: 18px;
  background: var(--carbon);
  color: #fff;
  border: 0;
  border-radius: var(--radius-s);
  padding: 12px 26px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.comment-form .submit:hover { background: var(--ember); }

/* 搜索表单 & 404 */
.search-form { display: flex; gap: 10px; max-width: 460px; }
.search-form .search-field {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--paper);
}
.search-form .search-field:focus { outline: none; border-color: var(--ember); }
.search-form .search-submit {
  border: 0;
  border-radius: var(--radius-s);
  background: var(--carbon);
  color: #fff;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 600;
}
.search-form .search-submit:hover { background: var(--ember); }

.error-404 { text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.error-404 .code {
  font-family: var(--font-mono);
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--carbon);
  line-height: 1;
}
.error-404 .code i { font-style: normal; color: var(--ember); }
.error-404 h1 { font-size: 22px; margin-top: 14px; }
.error-404 p { color: var(--muted); margin-top: 10px; }
.error-404 .search-form { margin: 28px auto 0; }
.error-404 .btn { margin-top: 24px; }

/* WordPress 核心必需类 */
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin: 12px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.sticky { border-left: 4px solid var(--ember); }
.gallery-caption { font-size: 13px; color: var(--muted); }
.bypostauthor { position: relative; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}

/* ==========================================================================
   17. 响应式 Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chip-1 { left: -12px; }
  .chip-2 { right: -12px; }
}

@media (max-width: 920px) {
  :root { --head-h: 62px; }
  .topbar-right span.addr { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--carbon);
    padding: 84px 26px 40px;
    margin: 0;
    transform: translateX(100%);
    transition: transform .32s ease;
    z-index: 95;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { color: #fff; padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-list a::after { display: none; }
  .nav-list .current-menu-item > a { color: var(--ember); }
  .nav-list .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 0 16px;
  }
  .nav-list .sub-menu a { color: var(--white-70); font-size: 14px; }
  .head-cta { display: none; }
  .masthead .nav-toggle { z-index: 96; position: relative; }
  .masthead-in { gap: 16px; }
  body.nav-locked { overflow: hidden; }

  .hero-in { grid-template-columns: 1fr; padding-block: 56px 100px; }
  .specimen { max-width: 520px; }
  .chip-3 { bottom: -22px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .product-grid, .app-grid, .news-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .chip-1 { left: -6px; top: 2%; }
  .chip-2 { right: -6px; }
  .chip strong { font-size: 14px; }
  .topbar .dot, .topbar .mobile-num { display: none; }
  .post-nav { grid-template-columns: 1fr; }
  .float-rail { right: 12px; bottom: 90px; }
  .stat b { font-size: 1.8rem; }
}

/* ==========================================================================
   18. 动效偏好 Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .chip { animation: none; }
}
