/*
Theme Name: CDPP Industry 成都PP板企业主题
Theme URI: https://example.com/cdppban
Author: Claude for 成都PP板公司
Author URI: https://example.com
Description: 为成都PP板/塑料板材生产企业定制的现代工业风 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: cdppban
Tags: business, portfolio, custom-menu, custom-logo, featured-images, one-column, sticky-post, threaded-comments, translation-ready
*/

/* ============================================================
   0. 设计令牌 Design Tokens
   ============================================================ */
:root {
  /* 色彩：深墨蓝图纸 + PP 米灰本色 + 热焊橙 */
  --ink: #12263a;
  --navy: #0c2038;
  --navy-2: #12335c;
  --brand: #1259b8;
  --brand-2: #3b82e0;
  --brand-soft: #e8f0fc;
  --accent: #f2600c;
  --accent-2: #ff8a3c;
  --accent-soft: #fff0e4;
  --bg-warm: #f6f3ec;       /* PP 板米灰本色 */
  --line-warm: #e7e1d3;
  --card: #ffffff;
  --line: #e2e8f1;
  --text: #26364c;
  --muted: #5f6e82;
  --muted-2: #8b98a9;

  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  --radius: 16px;
  --radius-s: 10px;
  --shadow-1: 0 1px 2px rgba(18, 38, 58, 0.06), 0 8px 24px rgba(18, 38, 58, 0.07);
  --shadow-2: 0 6px 16px rgba(18, 38, 58, 0.1), 0 24px 48px rgba(18, 38, 58, 0.14);
  --header-h: 76px;
}

/* ============================================================
   1. 基础 Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.3; margin: 0 0 0.5em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
::selection { background: var(--accent); color: #fff; }
section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.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;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto;
  left: 12px; top: 12px; z-index: 10000; padding: 10px 18px;
  background: var(--ink); color: #fff; border-radius: 8px; font-weight: 700;
}
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1em; height: 1em; flex: none; }

/* 滚动入场 */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ============================================================
   2. 按钮 Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 12px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 8px 20px rgba(242, 96, 12, 0.35); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242, 96, 12, 0.45); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(18, 89, 184, 0.3); }
.btn-brand:hover { color: #fff; background: var(--navy-2); transform: translateY(-2px); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-s { padding: 10px 20px; font-size: 14px; border-radius: 10px; }

/* ============================================================
   3. 顶部信息条 Topbar
   ============================================================ */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-welcome { display: flex; align-items: center; gap: 8px; }
.topbar-welcome::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.topbar-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; padding: 6px 0; }
.topbar-meta a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.72); }
.topbar-meta a:hover { color: #fff; }
.topbar-meta .icon { width: 14px; height: 14px; color: var(--accent-2); }

/* ============================================================
   4. 页头与导航 Header & Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px rgba(18, 38, 58, 0.08); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-logo { width: 46px; height: 46px; flex: none; }
.custom-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; }
.brand-name { font-size: 21px; font-weight: 900; color: var(--ink); letter-spacing: 0.5px; line-height: 1.15; }
.brand-name em { color: var(--brand); font-style: normal; }
.brand-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.6px; color: var(--muted-2); text-transform: uppercase; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative; display: block; padding: 10px 15px; font-size: 15.5px;
  font-weight: 600; color: var(--text); border-radius: 8px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 3px;
  border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.header-phone:hover { color: var(--brand); }
.header-phone .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.header-phone-label { font-size: 11px; color: var(--muted); line-height: 1.2; }
.header-phone-num { font-family: var(--mono); font-size: 17px; font-weight: 800; letter-spacing: 0.3px; line-height: 1.2; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ============================================================
   5. Hero 蓝图区
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(242, 96, 12, 0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(59, 130, 224, 0.28), transparent 60%),
    linear-gradient(155deg, #0c2038 0%, #10305a 58%, #0c2038 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 90% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 30%, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center; padding: 84px 0 150px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); font-size: 13.5px; color: rgba(255, 255, 255, 0.9);
  margin-bottom: 26px;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(242, 96, 12, 0.25); }
.hero-badge .sep { opacity: 0.4; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.18; letter-spacing: 1px; margin: 0 0 20px; }
.hero h1 .em {
  background: linear-gradient(120deg, #ffb37a, var(--accent-2) 45%, #ffd29e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { font-size: 17px; color: rgba(255, 255, 255, 0.78); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, 0.82); }
.hero-points .icon { width: 17px; height: 17px; color: #7ee2a8; }

/* Hero 右侧板材图 */
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  color: #fff; background: rgba(16, 48, 90, 0.55); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); white-space: nowrap;
  animation: chipFloat 5.5s ease-in-out infinite;
}
.hero-chip .icon { width: 17px; height: 17px; color: var(--accent-2); }
.hero-chip-1 { top: 6%; left: -2%; }
.hero-chip-2 { top: 40%; right: -3%; animation-delay: 1.2s; }
.hero-chip-3 { bottom: 8%; left: 8%; animation-delay: 2.4s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   6. 数据条 Stats（悬浮卡）
   ============================================================ */
.stats { position: relative; z-index: 5; margin-top: -86px; }
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-2);
  border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 30px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-num { font-family: var(--mono); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -1px; }
.stat-num .unit { font-size: 0.55em; color: var(--accent); font-weight: 800; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   7. 区块通用 Section
   ============================================================ */
.section { padding: 96px 0; }
.section-warm { background: var(--bg-warm); }
.section-dark { background: linear-gradient(160deg, #0c2038, #123159 70%, #0c2038); color: rgba(255, 255, 255, 0.8); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.is-left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: 3px; color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before, .section-head:not(.is-left) .eyebrow::after { content: ""; width: 30px; height: 2px; background: currentColor; opacity: 0.55; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 1px; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--muted); margin: 0; }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.62); }
.section-more { text-align: center; margin-top: 48px; }

/* ============================================================
   8. 产品中心 Products
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: transparent; }
.product-thumb { position: relative; aspect-ratio: 4 / 2.9; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: #fff; background: rgba(12, 32, 56, 0.55); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 19px; margin-bottom: 8px; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--brand); }
.product-desc {
  font-size: 14px; color: var(--muted); margin-bottom: 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--brand); }
.product-link .icon { width: 16px; height: 16px; transition: transform 0.25s ease; }
.product-card:hover .product-link { color: var(--accent); }
.product-card:hover .product-link .icon { transform: translateX(5px); }

/* 产品插图（无图时的矢量占位） */
.product-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.5s ease; }
.product-card:hover .product-art { transform: scale(1.05); }
.product-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.6px);
  background-size: 16px 16px;
}
.product-art svg { width: 62%; height: auto; position: relative; z-index: 1; }
.art-g1 { background: linear-gradient(135deg, #2e77dd, #123f86); }
.art-g2 { background: linear-gradient(135deg, #17a2a0, #0b5f6b); }
.art-g3 { background: linear-gradient(135deg, #ff8a3c, #d94f04); }
.art-g4 { background: linear-gradient(135deg, #6a6ff0, #3d3f9e); }
.art-g5 { background: linear-gradient(135deg, #2cb381, #0e6f4e); }
.art-g6 { background: linear-gradient(135deg, #6c7a90, #34435c); }

/* ============================================================
   9. 核心优势 Advantages
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--line-warm); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); border-color: rgba(18, 89, 184, 0.35); }
.adv-icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 20px;
}
.adv-card:nth-child(even) .adv-icon { background: var(--accent-soft); color: var(--accent); }
.adv-icon .icon { width: 28px; height: 28px; }
.adv-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--muted); margin: 0; }
.adv-num { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--muted-2); display: block; margin-bottom: 14px; }

/* ============================================================
   10. 关于我们 About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-2);
  border: 1px solid var(--line); background: #eaf2ff;
}
.about-frame img, .about-frame svg { width: 100%; height: auto; display: block; }
.about-badge {
  position: absolute; left: -18px; bottom: -22px; display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 18px 24px;
  box-shadow: var(--shadow-2);
}
.about-badge-num { font-family: var(--mono); font-size: 34px; font-weight: 800; color: var(--accent-2); line-height: 1; }
.about-badge-label { font-size: 13px; color: rgba(255, 255, 255, 0.75); line-height: 1.45; }
.about-text p { color: var(--muted); }
.about-checks { list-style: none; margin: 26px 0 34px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; }
.about-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.about-checks .icon { width: 20px; height: 20px; color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; flex: none; }
.about-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   11. 定制流程 Process（深色）
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.process-step { position: relative; text-align: center; padding: 0 6px; }
.process-step::after {
  content: ""; position: absolute; top: 33px; left: calc(50% + 40px); right: calc(-50% + 40px);
  border-top: 2px dashed rgba(255, 255, 255, 0.25);
}
.process-step:last-child::after { display: none; }
.process-dot {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.process-step:hover .process-dot { transform: translateY(-5px); border-color: var(--accent-2); }
.process-dot .icon { width: 26px; height: 26px; }
.process-dot::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -8px; right: -10px; font-family: var(--mono);
  font-size: 11px; font-weight: 800; color: var(--navy);
  background: var(--accent-2); border-radius: 999px; padding: 2px 7px; line-height: 1.4;
}
.process-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* ============================================================
   12. 应用案例 Cases
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.case-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; color: #fff;
  min-height: 300px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); color: #fff; }
.case-tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.6px);
  background-size: 15px 15px;
}
.case-index {
  position: absolute; top: 14px; right: 18px; font-family: var(--mono);
  font-size: 52px; font-weight: 800; color: rgba(255, 255, 255, 0.2); line-height: 1;
}
.case-icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: auto;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.case-icon .icon { width: 26px; height: 26px; }
.case-tile h3 { color: #fff; font-size: 19px; margin: 18px 0 6px; position: relative; }
.case-tile p { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); margin: 0; position: relative; }
.case-materials { position: relative; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.case-materials span {
  font-family: var(--mono); font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
}

/* ============================================================
   13. 新闻动态 News / 博客卡片
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section-warm .post-card { border-color: var(--line-warm); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }
.post-thumb { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.post-thumb-fallback svg { width: 42%; opacity: 0.9; }
.post-date {
  position: absolute; left: 16px; bottom: -16px; z-index: 2; text-align: center;
  background: var(--accent); color: #fff; border-radius: 12px; padding: 8px 14px;
  font-family: var(--mono); line-height: 1.1; box-shadow: 0 8px 18px rgba(242, 96, 12, 0.4);
}
.post-date b { display: block; font-size: 20px; }
.post-date span { font-size: 11px; opacity: 0.9; }
.post-body { padding: 30px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-title { font-size: 18px; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--brand); }
.post-excerpt { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--muted-2); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { width: 14px; height: 14px; }

/* ============================================================
   14. 询盘 CTA
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff;
  padding: 58px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255, 178, 122, 0.35), transparent 65%),
    linear-gradient(120deg, var(--brand) 0%, var(--navy-2) 60%, var(--navy) 100%);
  box-shadow: var(--shadow-2);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(100deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 0; position: relative; }
.cta-actions { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.cta-phone { display: flex; align-items: center; gap: 12px; color: #fff; }
.cta-phone .icon { width: 44px; height: 44px; padding: 11px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; color: var(--accent-2); }
.cta-phone-label { font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.cta-phone-num { font-family: var(--mono); font-size: 24px; font-weight: 800; line-height: 1.15; }

/* ============================================================
   15. 页脚 Footer
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.66); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr; gap: 48px; padding: 72px 0 56px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.4); }
.footer-about { font-size: 14px; margin-top: 18px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.6; }
.footer-contact .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--accent-2); flex: none; }
.footer-contact b { color: #fff; font-family: var(--mono); font-weight: 700; letter-spacing: 0.3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   16. 浮动客服条 Floating widget
   ============================================================ */
.float-widget { position: fixed; right: 22px; bottom: 26%; z-index: 950; display: grid; gap: 10px; }
.float-btn {
  position: relative; width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-1); transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.float-btn:hover { transform: translateY(-3px); color: var(--brand); border-color: var(--brand); }
.float-btn .icon { width: 22px; height: 22px; }
.float-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: #fff; font-size: 13px; padding: 9px 14px; border-radius: 10px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: var(--mono); font-weight: 700;
}
.float-tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--ink); }
.float-btn:hover .float-tip, .float-btn.tip-open .float-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.to-top { position: fixed; right: 22px; bottom: 26px; z-index: 950; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; border-radius: 50%; width: 48px; height: 48px; border: none; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px rgba(242, 96, 12, 0.4); }
.to-top .icon { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent-2); }

/* ============================================================
   17. 内页 Page hero / 面包屑 / 列表 / 分页
   ============================================================ */
.page-hero {
  position: relative; color: #fff; padding: 64px 0 58px; overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% -20%, rgba(242, 96, 12, 0.25), transparent 60%),
    linear-gradient(150deg, #0c2038, #123159);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 10px; position: relative; }
.breadcrumb { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.breadcrumb a { color: rgba(255, 255, 255, 0.78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.45; }

.content-area { padding: 72px 0 100px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.term-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.term-filter a {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--text); background: #fff;
}
.term-filter a:hover { border-color: var(--brand); color: var(--brand); }
.term-filter a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }

.no-results { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.no-results h2 { font-size: 22px; }
.admin-note { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--muted-2); }
.admin-note code { font-family: var(--mono); background: var(--brand-soft); color: var(--brand); padding: 2px 8px; border-radius: 6px; }

/* ============================================================
   18. 文章详情 Single / 正文排版
   ============================================================ */
.single-wrap { max-width: 860px; margin: 0 auto; }
.entry-header { margin-bottom: 34px; }
.entry-header .post-meta { margin-top: 14px; }
.entry-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-1); }
.entry-content { font-size: 16.5px; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { font-size: 26px; margin-top: 1.8em; padding-left: 16px; border-left: 4px solid var(--accent); }
.entry-content h3 { font-size: 21px; margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote {
  margin: 1.4em 0; padding: 20px 26px; background: var(--bg-warm);
  border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; color: var(--muted);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.entry-content th { background: var(--brand-soft); color: var(--ink); }
.entry-content tr:nth-child(even) td { background: #fafbfd; }
.entry-content code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-warm); padding: 2px 7px; border-radius: 6px; }
.entry-content pre { background: var(--ink); color: #dfe9f5; padding: 20px 24px; border-radius: 12px; overflow: auto; }
.entry-content pre code { background: none; color: inherit; padding: 0; }

.entry-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.entry-tags a { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.entry-tags a:hover { background: var(--brand); color: #fff; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.post-nav a {
  display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); transition: border-color 0.2s ease, transform 0.2s ease;
}
.post-nav a:hover { border-color: var(--brand); transform: translateY(-3px); }
.post-nav .nav-label { display: block; font-size: 12px; font-family: var(--mono); color: var(--muted-2); letter-spacing: 1.5px; margin-bottom: 8px; }
.post-nav .nav-title { font-weight: 700; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav .is-next { text-align: right; }

/* 产品详情 */
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-single-media { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); position: sticky; top: calc(var(--header-h) + 24px); }
.product-single-media img { width: 100%; display: block; }
.product-single-media .product-art { aspect-ratio: 4 / 3.2; }
.product-single h1 { font-size: clamp(26px, 3vw, 34px); }
.product-single-excerpt { color: var(--muted); font-size: 16px; }
.spec-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec-list li { display: flex; gap: 18px; padding: 13px 20px; font-size: 14.5px; background: #fff; }
.spec-list li:nth-child(odd) { background: #f8fafd; }
.spec-list b { flex: none; width: 96px; color: var(--muted); font-weight: 600; }
.spec-list span { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.product-single-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.product-content { margin-top: 72px; }
.block-title { display: flex; align-items: center; gap: 14px; font-size: 22px; margin-bottom: 26px; }
.block-title::before { content: ""; width: 6px; height: 24px; border-radius: 4px; background: linear-gradient(var(--accent-2), var(--accent)); }
.related { margin-top: 80px; }

/* ============================================================
   19. 评论 / 表单 / 搜索
   ============================================================ */
.comments-area { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 18px; }
.comment-list .children { list-style: none; margin: 18px 0 0; padding-left: 34px; display: grid; gap: 18px; }
.comment-body { background: #f8fafd; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-meta img { border-radius: 50%; }
.comment-author { font-weight: 700; color: var(--ink); }
.comment-date { font-size: 12.5px; color: var(--muted-2); font-family: var(--mono); }
.comment-content { font-size: 15px; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link { font-size: 13px; font-weight: 700; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--text); background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 89, 184, 0.12); }
.comment-form { display: grid; gap: 16px; }
.comment-form label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
.comment-form .submit { justify-self: start; border: none; }

.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; }
.search-form .search-submit { border: none; flex: none; }

/* ============================================================
   20. 404
   ============================================================ */
.error-404 { text-align: center; padding: 40px 0 20px; }
.error-code { font-family: var(--mono); font-size: clamp(80px, 14vw, 150px); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -4px; }
.error-code em { font-style: normal; color: var(--accent); }
.error-404 .search-form { margin: 30px auto 26px; }

/* ============================================================
   21. WordPress 核心类
   ============================================================ */
.alignleft { float: left; margin: 6px 28px 20px 0; }
.alignright { float: right; margin: 6px 0 20px 28px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted-2); text-align: center; padding-top: 8px; }
.sticky .post-title::before { content: "置顶"; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 6px; padding: 2px 8px; margin-right: 8px; vertical-align: 3px; }
.bypostauthor { display: block; }

/* ============================================================
   22. 响应式 Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; padding: 68px 0 140px; gap: 40px; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
  .adv-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 34px 18px; }
  .process-step:nth-child(3n)::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-badge { left: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-single { grid-template-columns: 1fr; }
  .product-single-media { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .topbar-welcome { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .site-nav {
    position: fixed; inset: 0; top: 0; z-index: -1; padding-top: calc(var(--header-h) + 58px);
    background: rgba(12, 32, 56, 0.98); opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  }
  .nav-open .site-nav { opacity: 1; pointer-events: auto; z-index: 890; }
  .site-nav ul { flex-direction: column; gap: 4px; padding: 0 28px; }
  .site-nav a { color: #fff; font-size: 19px; padding: 14px 10px; }
  .site-nav a::after { display: none; }
  .nav-open { overflow: hidden; }
  .product-grid, .news-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 24px 14px; }
  .cta-band { flex-direction: column; text-align: center; padding: 46px 30px; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .hero-inner { padding: 52px 0 130px; }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .hero-chip-1 { left: 0; } .hero-chip-2 { right: 0; }
  .product-grid, .news-grid, .grid-3, .adv-grid, .case-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .about-checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 44px; }
  .post-nav { grid-template-columns: 1fr; }
  .float-widget { right: 14px; }
  .to-top { right: 14px; }
  .stats { margin-top: -70px; }
  .cta-phone-num { font-size: 20px; }
}

/* ============================================================
   23. 动效减弱 Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
