/*!
 * Shibang Industrial — WordPress Theme Core Stylesheet
 * Dark industrial style. Shared by both the WP theme and the static preview.
 * -------------------------------------------------------------------------
 * 目录
 *   01. 变量 / Variables
 *   02. 基础重置 / Base
 *   03. 工具类 / Utilities
 *   04. 按钮 / Buttons
 *   05. 顶栏 & 导航 / Topbar & Header
 *   06. Hero 轮播 / Hero slider
 *   07. 区块通用 / Section common
 *   08. 产品中心 / Products
 *   09. 关于 + 数据 / About & Stats
 *   10. 服务优势 / Service lifecycle
 *   11. 工程案例 / Projects
 *   12. 新闻中心 / News
 *   13. CTA 询价 / Inquiry
 *   14. 页脚 / Footer
 *   15. 面包屑 & 内页 / Inner pages
 *   16. 详情页 / Single
 *   17. 侧边栏 & 表单 / Sidebar & forms
 *   18. 分页 / Pagination
 *   19. 响应式 / Responsive
 * -------------------------------------------------------------------------
 */

/* =========================================================
   01. 变量
   ========================================================= */
:root {
  /* 背景层次 */
  --bg:            #0B0D0E;
  --bg-2:          #101517;
  --surface:       #161C20;
  --surface-2:     #1D2429;
  --surface-3:     #232C32;
  --line:          #2A343B;
  --line-soft:     #202A30;

  /* 文本 */
  --text:          #DDE4E9;
  --text-mid:      #9BA8B1;
  --text-dim:      #6E7C86;

  /* 主色：工业橙 + 钢青 */
  --accent:        #FF6B18;
  --accent-2:      #FFB43A;
  --accent-dark:   #C74F0C;
  --steel:         #5C6B75;
  --ok:            #38B48B;

  /* 排版 */
  --font-sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Source Han Sans SC",
               "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas, Menlo, monospace;

  /* 尺度 */
  --container: 1280px;
  --radius: 2px;
  --header-h: 76px;
  --topbar-h: 40px;
  --transition: .28s cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

/* =========================================================
   02. 基础重置
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全站工业底纹：细网格 + 顶部暖光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,.9), transparent 85%);
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: #F2F6F8;
}
h1 { font-size: clamp(28px, 4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p  { margin: 0 0 1em; }

input, textarea, select, button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #0B0D0E; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #33414A; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* 屏幕阅读器 */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   03. 工具类
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 940px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}

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

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line) 30%, transparent);
  margin: 0;
}

/* 斜切：工业感的关键手势 */
.cut-corner {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* =========================================================
   04. 按钮
   ========================================================= */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #0B0D0E;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn:hover { --btn-bg: var(--accent-2); color: #0B0D0E; transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-outline:hover { --btn-bg: var(--accent); --btn-fg: #0B0D0E; box-shadow: inset 0 0 0 1px var(--accent); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: .06em;
}
.link-more svg { width: 14px; height: 14px; transition: transform var(--transition); }
.link-more:hover svg { transform: translateX(5px); }

/* =========================================================
   05. 顶栏 & 导航
   ========================================================= */
.topbar {
  background: #06080A;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--text-mid);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-list a { color: var(--text-mid); }
.topbar-list a:hover { color: var(--accent); }
.topbar-list .dot { color: var(--accent); margin-right: 6px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
.lang-switch a { padding: 2px 8px; border: 1px solid var(--line); }
.lang-switch a.active { background: var(--accent); border-color: var(--accent); color: #0B0D0E; }
.lang-switch a:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch a.active:hover { color: #0B0D0E; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 14, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--transition), border-color var(--transition);
}
.site-header.is-stuck { background: rgba(6, 8, 9, .97); border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .02em; color: #fff; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .28em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.primary-nav { flex: 1; }
.primary-nav > ul { display: flex; justify-content: center; gap: 4px; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: block;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.primary-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.primary-nav > ul > li:hover > a,
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-parent > a { color: var(--accent); }
.primary-nav > ul > li:hover > a::after,
.primary-nav > ul > li.current-menu-item > a::after { transform: scaleX(1); }

/* 下拉 */
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 218px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: 8px 0;
}
li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  color: var(--text-mid);
  border-left: 2px solid transparent;
}
.sub-menu a:hover { color: var(--accent); background: var(--surface-2); border-left-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* 移动汉堡 */
.nav-toggle { display: none; }
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0;
  transition: all var(--transition);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 搜索抽屉 */
.search-drawer {
  position: fixed; inset: 0;
  background: rgba(6, 8, 9, .97);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
body.search-open .search-drawer { opacity: 1; visibility: visible; }
.search-drawer-inner { width: min(720px, 90vw); text-align: center; }
.search-drawer-inner h4 { color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; }
.search-drawer form { display: flex; gap: 0; border-bottom: 2px solid var(--accent); }
.search-drawer input[type="search"] {
  flex: 1; background: transparent; border: 0; outline: 0;
  padding: 16px 4px; font-size: 22px; color: #fff;
}
.search-drawer button {
  background: transparent; border: 0; color: var(--accent); cursor: pointer; padding: 0 8px;
}
.search-drawer button svg { width: 22px; height: 22px; }
.search-close {
  position: absolute; top: 30px; right: 40px;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.search-close svg { width: 26px; height: 26px; }

/* =========================================================
   06. Hero 轮播
   ========================================================= */
.hero {
  position: relative;
  height: clamp(520px, 78vh, 760px);
  min-height: 520px;
  overflow: hidden;
  background: var(--bg-2);
}
.hero-track { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
  display: flex; align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 9, .94) 0%, rgba(6, 8, 9, .78) 42%, rgba(6, 8, 9, .35) 100%),
    linear-gradient(0deg, rgba(6, 8, 9, .9), transparent 55%);
}
.hero-media .tech-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 24, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 24, .07) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

.hero-content { position: relative; z-index: 3; max-width: 720px; }
.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 107, 24, .45);
  padding: 6px 14px;
  margin-bottom: 22px;
  background: rgba(255, 107, 24, .08);
}
.hero-content h1 {
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-content p {
  font-size: 16.5px;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-specs {
  display: flex; gap: 34px; flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 620px;
}
.hero-spec strong {
  display: block; font-family: var(--font-mono);
  font-size: 26px; color: #fff; line-height: 1.1;
}
.hero-spec span { font-size: 12.5px; color: var(--text-dim); letter-spacing: .06em; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; z-index: 6;
  background: rgba(11, 13, 14, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: all var(--transition);
}
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); color: #06080A; }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-dots {
  position: absolute; left: 50%; bottom: 30px;
  transform: translateX(-50%);
  z-index: 6; display: flex; gap: 10px;
}
.hero-dots button {
  width: 42px; height: 3px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .28); cursor: pointer;
  transition: background var(--transition);
}
.hero-dots button.is-active { background: var(--accent); }

.hero-badge-strip {
  position: absolute; right: 0; bottom: 0; z-index: 5;
  display: flex; background: rgba(255, 107, 24, .95);
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
}
.hero-badge-strip div {
  padding: 14px 30px 14px 34px;
  font-size: 12.5px; font-weight: 700; color: #06080A;
  letter-spacing: .04em; line-height: 1.4;
}
.hero-badge-strip div + div { border-left: 1px solid rgba(0, 0, 0, .22); }

/* =========================================================
   07. 区块通用
   ========================================================= */
.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-tight { padding: 66px 0; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 46px; flex-wrap: wrap;
}
.section-head .head-left { max-width: 620px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { color: var(--text-mid); margin: 0; font-size: 15.5px; }
.head-line { flex: 1; height: 1px; background: var(--line); min-width: 40px; margin-bottom: 8px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* 卡片通用 */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }

/* =========================================================
   08. 产品中心
   ========================================================= */
.product-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #1A2227 0%, #0E1417 100%);
  overflow: hidden;
  display: grid; place-items: center;
}
.product-media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 36px 36px;
}
.product-media img {
  width: 88%; max-height: 82%; object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55));
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  position: relative; z-index: 1;
}
.product-card:hover .product-media img { transform: translateY(-6px) scale(1.04); }

.product-badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--accent); color: #06080A;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; padding: 6px 14px 6px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.product-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 19px; margin-bottom: 6px; }
.product-body h3 a:hover { color: var(--accent); }
.product-model {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--text-dim); text-transform: uppercase; margin-bottom: 12px;
}
.product-desc { color: var(--text-mid); font-size: 14px; flex: 1; margin-bottom: 16px; }
.product-spec-row {
  display: flex; gap: 18px; padding: 12px 0; margin-bottom: 16px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.product-spec-row div { flex: 1; }
.product-spec-row dt { font-size: 11px; color: var(--text-dim); letter-spacing: .08em; margin: 0 0 2px; }
.product-spec-row dd { margin: 0; font-family: var(--font-mono); font-size: 14px; color: var(--accent-2); }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* 产品筛选条 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-bar a {
  padding: 8px 20px; font-size: 13.5px;
  border: 1px solid var(--line); color: var(--text-mid);
  transition: all var(--transition);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.filter-bar a:hover { color: var(--accent); border-color: var(--accent); }
.filter-bar a.is-active { background: var(--accent); border-color: var(--accent); color: #06080A; font-weight: 600; }

/* =========================================================
   09. 关于 + 数据
   ========================================================= */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  filter: grayscale(.25) contrast(1.05);
  border: 1px solid var(--line);
}
.about-visual::after {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--accent);
  opacity: .55; z-index: -1;
}
.about-stamp {
  position: absolute; bottom: -20px; left: -10px;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 16px 22px; display: flex; gap: 20px;
}
.about-stamp b { display: block; font-family: var(--font-mono); font-size: 22px; color: var(--accent); line-height: 1; }
.about-stamp span { font-size: 11.5px; color: var(--text-dim); letter-spacing: .08em; }

.check-list { margin: 22px 0 28px; }
.check-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-mid); font-size: 14.5px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}
.stat-item {
  padding: 34px 26px; text-align: center;
  border-right: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.stat-item:last-child { border-right: 0; }
.stat-item::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform var(--transition);
}
.stat-item:hover { background: var(--surface-2); }
.stat-item:hover::after { transform: scaleX(1); }
.stat-num {
  font-family: var(--font-mono); font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px;
}
.stat-num i { font-style: normal; color: var(--accent); font-size: .5em; margin-left: 2px; }
.stat-label { font-size: 13.5px; color: var(--text-mid); }
.stat-sub { font-size: 12px; color: var(--text-dim); margin-top: 6px; }

/* =========================================================
   10. 服务优势 / 全生命周期
   ========================================================= */
.service-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; }
.service-step {
  position: relative; padding: 34px 26px 30px;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-right: 0;
  transition: background var(--transition);
}
.service-step:last-child { border-right: 1px solid var(--line-soft); }
.service-step:hover { background: var(--surface-2); }
.service-step .step-no {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  letter-spacing: .2em; margin-bottom: 14px; display: block;
}
.service-step h4 { margin-bottom: 10px; font-size: 16.5px; }
.service-step p { font-size: 13.8px; color: var(--text-mid); margin: 0; }
.service-step::after {
  content: ""; position: absolute; right: -9px; top: 50%; z-index: 3;
  width: 16px; height: 16px; transform: translateY(-50%) rotate(45deg);
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: .9;
}
.service-step:last-child::after { display: none; }

.capacity-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px;
}
.capacity-card {
  padding: 26px; border: 1px solid var(--line-soft); background: var(--surface);
  display: flex; align-items: center; gap: 18px;
}
.capacity-card .cap-icon {
  width: 54px; height: 54px; flex: none; display: grid; place-items: center;
  background: rgba(255, 107, 24, .1); border: 1px solid rgba(255, 107, 24, .3);
  color: var(--accent);
}
.capacity-card .cap-icon svg { width: 24px; height: 24px; }
.capacity-card b { display: block; font-family: var(--font-mono); font-size: 22px; color: #fff; line-height: 1.1; }
.capacity-card span { font-size: 13px; color: var(--text-mid); }

/* =========================================================
   11. 工程案例
   ========================================================= */
.case-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.case-card:hover .case-media img { transform: scale(1.08); }
.case-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 8, 9, .85) 100%);
}
.case-loc {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--accent); color: #06080A;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  padding: 6px 16px 6px 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
}
.case-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.case-body h3 { font-size: 16.5px; margin-bottom: 8px; }
.case-body h3 a:hover { color: var(--accent); }
.case-meta {
  display: flex; gap: 16px; font-size: 12.5px; color: var(--text-dim);
  font-family: var(--font-mono); margin-bottom: 10px;
}
.case-body p { font-size: 13.8px; color: var(--text-mid); margin: 0 0 14px; flex: 1; }

.case-ticker {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  margin-top: 34px;
  overflow: hidden;
}
.ticker-head {
  padding: 12px 20px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  color: var(--accent); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.ticker-head .pulse {
  width: 8px; height: 8px; background: var(--ok); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56, 180, 139, .6); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(56, 180, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 180, 139, 0); }
}
.ticker-list { max-height: 260px; overflow-y: auto; }
.ticker-list a {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 20px; border-bottom: 1px dashed var(--line-soft);
  font-size: 13.8px; color: var(--text-mid);
}
.ticker-list a:last-child { border-bottom: 0; }
.ticker-list a:hover { background: var(--surface-2); color: var(--text); }
.ticker-date { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); flex: none; }
.ticker-tag {
  margin-left: auto; font-size: 11px; font-family: var(--font-mono);
  padding: 2px 8px; border: 1px solid var(--line); color: var(--accent); flex: none;
}

/* =========================================================
   12. 新闻中心
   ========================================================= */
.news-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; }
.news-feature { position: relative; overflow: hidden; border: 1px solid var(--line-soft); }
.news-feature img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; transition: transform .7s ease; }
.news-feature:hover img { transform: scale(1.05); }
.news-feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 8, 9, .95) 100%);
}
.news-feature-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px; }
.news-date-tag {
  display: inline-block; background: var(--accent); color: #06080A;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  padding: 5px 12px; margin-bottom: 12px;
}
.news-feature-body h3 { font-size: 21px; margin-bottom: 8px; }
.news-feature-body h3 a:hover { color: var(--accent); }
.news-feature-body p {
  color: var(--text-mid); font-size: 14px; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.news-side { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: flex; gap: 18px; padding: 16px;
  border: 1px solid var(--line-soft); background: var(--surface);
  transition: all var(--transition);
}
.news-item:hover { border-color: var(--line); background: var(--surface-2); transform: translateX(4px); }
.news-item-date {
  flex: none; width: 62px; text-align: center;
  border-right: 1px solid var(--line-soft); padding-right: 14px;
}
.news-item-date b { display: block; font-family: var(--font-mono); font-size: 24px; color: #fff; line-height: 1.1; }
.news-item-date span { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); }
.news-item-body h4 { font-size: 15px; margin-bottom: 6px; line-height: 1.45; }
.news-item-body h4 a:hover { color: var(--accent); }
.news-item-body p {
  margin: 0; font-size: 13px; color: var(--text-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* =========================================================
   13. CTA / 询价
   ========================================================= */
.cta-band {
  position: relative;
  background:
    linear-gradient(120deg, rgba(255, 107, 24, .16), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 24, .22), transparent 70%);
}
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 54px; position: relative; z-index: 2; }
.cta-inner h2 { margin-bottom: 14px; }
.cta-inner .lead { color: var(--text-mid); margin-bottom: 24px; }
.cta-contacts { display: grid; gap: 14px; }
.cta-contact-item { display: flex; align-items: center; gap: 14px; }
.cta-contact-item .ci-icon {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent);
}
.cta-contact-item .ci-icon svg { width: 18px; height: 18px; }
.cta-contact-item b { display: block; font-size: 15px; font-family: var(--font-mono); color: #fff; }
.cta-contact-item span { font-size: 12px; color: var(--text-dim); }

.inquiry-form { background: var(--bg-2); border: 1px solid var(--line); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block; font-size: 11.5px; font-family: var(--font-mono);
  letter-spacing: .12em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  padding: 11px 14px; font-size: 14px; color: var(--text); outline: 0;
  transition: border-color var(--transition), background var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); background: var(--surface-2); }
.form-field textarea { min-height: 92px; resize: vertical; }
.form-note { font-size: 11.5px; color: var(--text-dim); margin-top: 10px; }

/* =========================================================
   14. 页脚
   ========================================================= */
.site-footer { background: #06080A; border-top: 3px solid var(--accent); }
.footer-main { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 46px; }
.footer-col h5 {
  font-size: 13px; font-family: var(--font-mono); letter-spacing: .2em;
  text-transform: uppercase; color: #fff; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); position: relative;
}
.footer-col h5::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 1px; background: var(--accent); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13.8px; color: var(--text-mid); }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-col ul a::before { content: "› "; color: var(--accent); opacity: .7; }

.footer-about p { font-size: 13.8px; color: var(--text-mid); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
.footer-contact-item div { font-size: 13.5px; color: var(--text-mid); }
.footer-contact-item b { display: block; color: #fff; font-family: var(--font-mono); font-size: 15px; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-mid);
  transition: all var(--transition);
}
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: #06080A; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 20px 0; font-size: 12.5px; color: var(--text-dim);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }
.footer-links-mini { display: flex; gap: 18px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--accent); color: #06080A; border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all var(--transition);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 70%);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent-2); }
.to-top svg { width: 18px; height: 18px; }

/* =========================================================
   15. 面包屑 & 内页
   ========================================================= */
.page-hero {
  position: relative; padding: 68px 0 56px;
  background: linear-gradient(180deg, #12181B 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255, 107, 24, .16), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero .container { z-index: 2; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { color: var(--text-mid); max-width: 700px; margin: 0; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-dim); margin-bottom: 18px;
  font-family: var(--font-mono); letter-spacing: .04em;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--accent); }
.breadcrumb .current { color: var(--text-mid); }

.content-area { padding: 62px 0 90px; }
.layout-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }

/* =========================================================
   16. 详情页
   ========================================================= */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: start; }
.product-gallery {
  border: 1px solid var(--line-soft); background: var(--surface);
  padding: 30px; position: sticky; top: 110px;
}
.product-gallery img { width: 100%; }
.gallery-main {
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(150deg, #1A2227, #0E1417);
  margin-bottom: 14px; position: relative; overflow: hidden;
}
.gallery-main::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.gallery-main img { max-height: 100%; width: auto; position: relative; z-index: 1; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs a {
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--surface-2);
  transition: border-color var(--transition);
}
.gallery-thumbs a:hover, .gallery-thumbs a.is-active { border-color: var(--accent); }

.detail-head h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.detail-sub { color: var(--text-mid); margin-bottom: 24px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 26px 0; }
.spec-table th, .spec-table td {
  padding: 12px 16px; border: 1px solid var(--line-soft);
  font-size: 14px; text-align: left;
}
.spec-table th { background: var(--surface-2); color: #fff; width: 34%; font-weight: 600; }
.spec-table tr:nth-child(even) td { background: rgba(255, 255, 255, .015); }
.spec-table td { color: var(--text-mid); font-family: var(--font-mono); }

.entry-content { font-size: 15.2px; color: var(--text-mid); }
.entry-content h2, .entry-content h3, .entry-content h4 { color: #F2F6F8; margin-top: 1.6em; }
.entry-content ul { margin: 0 0 1.2em; }
.entry-content ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.entry-content ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.entry-content blockquote {
  margin: 24px 0; padding: 18px 24px;
  border-left: 3px solid var(--accent); background: var(--surface); color: var(--text-mid);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.entry-content table th, .entry-content table td { border: 1px solid var(--line-soft); padding: 10px 14px; }

.post-meta-bar {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 26px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono);
}

/* 相关文章 */
.related-section { border-top: 1px solid var(--line-soft); padding-top: 46px; margin-top: 56px; }

/* =========================================================
   17. 侧边栏 & 表单
   ========================================================= */
.widget {
  background: var(--surface); border: 1px solid var(--line-soft);
  padding: 24px; margin-bottom: 24px;
}
.widget-title {
  font-size: 13px; font-family: var(--font-mono); letter-spacing: .18em;
  text-transform: uppercase; color: #fff; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); position: relative;
}
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 34px; height: 1px; background: var(--accent); }
.widget ul li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-soft); }
.widget ul li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.widget ul li a { font-size: 14px; color: var(--text-mid); display: block; }
.widget ul li a:hover { color: var(--accent); }

.widget-search form { display: flex; }
.widget-search input {
  flex: 1; background: var(--bg-2); border: 1px solid var(--line);
  border-right: 0; padding: 10px 12px; outline: 0; font-size: 14px;
}
.widget-search button {
  width: 46px; background: var(--accent); border: 0; cursor: pointer;
  display: grid; place-items: center; color: #06080A;
}
.widget-search button svg { width: 16px; height: 16px; }

.widget-product { border: 1px solid var(--line-soft); background: var(--surface); }
.widget-product a { display: flex; gap: 14px; align-items: center; padding: 12px; }
.widget-product a:hover { background: var(--surface-2); }
.widget-product img { width: 70px; height: 60px; object-fit: contain; flex: none; }
.widget-product h6 { margin: 0 0 3px; font-size: 13.5px; }
.widget-product span { font-size: 11.5px; color: var(--text-dim); font-family: var(--font-mono); }

.sidebar-cta {
  background: var(--accent); color: #06080A; padding: 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.sidebar-cta h5 { color: #06080A; font-size: 17px; margin-bottom: 10px; }
.sidebar-cta p { font-size: 13.5px; margin-bottom: 16px; opacity: .85; }
.sidebar-cta .btn { --btn-bg: #06080A; --btn-fg: #fff; }
.sidebar-cta .btn:hover { --btn-bg: #171D21; }

/* =========================================================
   18. 分页
   ========================================================= */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-mid); font-size: 14px;
  transition: all var(--transition);
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #06080A; font-weight: 700; }

/* 404 */
.error-wrap { text-align: center; padding: 90px 0 120px; }
.error-code {
  font-family: var(--font-mono); font-size: clamp(80px, 14vw, 150px);
  font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 10px;
}

/* 滚动进入动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   19. 响应式
   ========================================================= */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero-badge-strip { display: none; }
}
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }
  .about-wrap, .product-detail, .news-wrap, .cta-inner, .layout-sidebar { grid-template-columns: 1fr; }
  .layout-sidebar { gap: 34px; }
  .service-flow { grid-template-columns: repeat(2, 1fr); }
  .service-step:nth-child(2) { border-right: 1px solid var(--line-soft); }
  .service-step:nth-child(2)::after { display: none; }
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}

/* 移动端抽屉 */
.mobile-panel {
  position: fixed; inset: 0 30% 0 0; z-index: 200;
  background: var(--bg-2); border-right: 1px solid var(--line);
  padding: 78px 26px 30px; overflow-y: auto;
  transform: translateX(-100%); transition: transform var(--transition);
}
body.nav-open .mobile-panel { transform: none; }
.mobile-panel ul li { border-bottom: 1px solid var(--line-soft); }
.mobile-panel ul li a { display: block; padding: 14px 0; font-size: 16px; }
.mobile-panel .sub-menu {
  position: static; transform: none; opacity: 1; visibility: visible;
  border: 0; border-left: 2px solid var(--line); box-shadow: none;
  background: transparent; min-width: 0; padding: 0 0 10px 16px;
}
.nav-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.mobile-close svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  .topbar { height: auto; padding: 8px 0; }
  .topbar-list { gap: 14px; font-size: 12px; }
  .topbar-right .lang-switch { display: none; }
  .section { padding: 62px 0; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .grid-6, .capacity-row, .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .cta-inner { padding: 30px 22px; gap: 30px; }
  .hero { height: auto; min-height: 0; padding: 80px 0 70px; }
  .hero-arrow { display: none; }
  .hero-specs { gap: 22px; }
  .service-flow { grid-template-columns: 1fr; }
  .service-step { border-right: 1px solid var(--line-soft); border-bottom: 0; }
  .service-step::after { display: none; }
  .product-gallery { position: static; }
  .section-head { margin-bottom: 32px; }
  .mobile-panel { inset: 0 12% 0 0; }
}

@media (max-width: 520px) {
  .brand-sub { display: none; }
  .hero-content p { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
