/* ==========================================================================
   深圳市昌亿达印刷包装有限公司 · 官网重构 Demo
   风格：现代简洁科技感 / Light Theme
   作者：小嘟  |  说明：本文件为演示版样式，可整体复用
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色：沿用老站深蓝，衍生科技蓝与橙色强调色 */
  --brand:        #0a347f;
  --brand-deep:   #072756;
  --brand-2:      #1b5fe0;
  --brand-soft:   #eaf1fd;
  --accent:       #ff7a1a;
  --accent-soft:  #fff3e8;

  /* 中性色 */
  --ink:          #0b1524;
  --ink-2:        #48576e;
  --ink-3:        #8a97ab;
  --line:         #e4e9f2;
  --line-2:       #eef2f8;
  --bg:           #ffffff;
  --bg-soft:      #f6f8fc;
  --bg-mid:       #eef3fa;

  /* 尺寸 */
  --container:    1200px;
  --radius:       14px;
  --radius-sm:    9px;
  --header-h:     72px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(11, 21, 36, .05), 0 1px 3px rgba(11, 21, 36, .04);
  --shadow-md: 0 4px 14px rgba(11, 21, 36, .06), 0 2px 6px rgba(11, 21, 36, .04);
  --shadow-lg: 0 18px 40px -12px rgba(10, 52, 127, .18), 0 6px 18px rgba(11, 21, 36, .05);

  /* 字体 */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 数字统一用等宽，避免跳动 */
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- 3. 通用组件 ---------- */

/* 章节标题 */
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
}
.sec-head.is-center .eyebrow::before { display: none; }

.sec-title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.sec-sub { color: var(--ink-2); font-size: 16px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; box-shadow: 0 6px 18px -6px rgba(10, 52, 127, .5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(10, 52, 127, .55); }
.btn-ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(255, 122, 26, .6); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* 待补充标记 */
.tbd {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; line-height: 18px; vertical-align: middle;
  color: var(--accent); background: var(--accent-soft);
  border: 1px dashed rgba(255, 122, 26, .5);
}

/* 占位图（刀模线稿风格） */
.ph {
  position: relative; overflow: hidden;
  background:
    linear-gradient(0deg, var(--line-2) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 24px 100%,
    linear-gradient(160deg, #fbfcff 0%, #eff4fc 100%);
  display: grid; place-items: center;
}
.ph::after {
  content: "图片占位 · 待替换";
  position: absolute; right: 10px; bottom: 8px;
  font-size: 10px; letter-spacing: .06em; color: #a9b6c9;
}
/* 刀模 symbol 为 240×160，外层 svg 无 viewBox，必须显式给比例，否则高度塌成 150px */
.ph svg { width: 76%; aspect-ratio: 240 / 160; height: auto; }

/* ---------- 4. 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(11, 21, 36, .04); }

/* 顶栏三区：左 Logo · 中 导航 · 右 操作 —— 中列 1fr 1fr 等宽，导航精确居中 */
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; justify-self: start; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px -4px rgba(10, 52, 127, .55);
}
.logo-mark svg { width: 21px; height: 21px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.logo-sub {
  font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}

/* 主导航：各项等宽 + 等间距，整组居中 */
.main-nav { justify-self: center; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; min-width: 78px; padding: 9px 12px; border-radius: 8px;
  text-align: center; white-space: nowrap; letter-spacing: .01em;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .16s ease, background .16s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--brand); background: var(--brand-soft); }
/* 英文词长短差异更大，给统一的最小宽度让各项对齐 */
html[lang="en"] .main-nav a { min-width: 92px; }

/* 右侧操作区 */
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }

.lang-switch {
  display: flex; align-items: center; padding: 3px; border-radius: 8px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.lang-switch a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 3px 10px 2px; border-radius: 6px; font-size: 11.5px; font-weight: 600;
  line-height: 1.3; color: var(--ink-3); white-space: nowrap; transition: all .16s ease;
}
.lang-switch .flag {
  width: 20px; height: 13px; display: block; flex: none; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(11, 21, 36, .12);
}
.lang-switch a.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.icon-btn {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  color: var(--ink-2); border: 1px solid var(--line); background: #fff;
  transition: all .16s ease;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand-2); }
.icon-btn svg { width: 17px; height: 17px; }

/* 汉堡菜单 */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 9px;
  border: 1px solid var(--line); place-items: center; }
.nav-toggle span { display: block; width: 17px; height: 1.6px; background: var(--ink);
  border-radius: 2px; position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.6px;
  background: var(--ink); border-radius: 2px; transition: .2s;
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 0;
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(27, 95, 224, .10), transparent 65%),
    radial-gradient(620px 340px at 4% 8%, rgba(255, 122, 26, .07), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 52, 127, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 52, 127, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center; padding-bottom: 76px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 20px; margin-bottom: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.hero-badge b { color: var(--brand); font-weight: 700; }
.hero-badge .dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.hero-badge .dot svg { width: 13px; height: 13px; }

.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.16; margin-bottom: 20px;
  letter-spacing: -.025em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 10%, var(--brand-2) 55%, #3f8cff 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: 17px; color: var(--ink-2); max-width: 560px; margin-bottom: 14px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hero-tags span {
  padding: 5px 13px; border-radius: 20px; font-size: 13px; font-weight: 500;
  color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(10, 52, 127, .1);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero 视觉：刀模图 */
.hero-visual-wrap { position: relative; }

.hero-visual {
  position: relative; border-radius: 18px; padding: 22px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-visual-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em;
}
.hero-visual-head .dots { display: flex; gap: 5px; }
.hero-visual-head .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.hero-visual-head .dots i:first-child { background: #ffc9a3; }
.hero-visual-head .dots i:nth-child(2) { background: #bcd3f7; }
.hero-visual-body { display: grid; place-items: center; padding: 8px 0 4px; }
.hero-visual-body svg { width: 100%; height: auto; }

.hero-visual-foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 16px; background: var(--line); border-radius: 10px; overflow: hidden;
}
.hero-visual-foot div {
  background: #fff; padding: 12px 10px; text-align: center;
}
.hero-visual-foot dt { font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }
.hero-visual-foot dd {
  margin: 0; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--brand);
}

/* 浮动标签 */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600;
}
.float-card small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-3); }
.float-card .fc-icon {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
}
/* 浮动标签：以外层 hero-visual-wrap 为定位基准，避免被 .hero 的 overflow:hidden 裁掉 */
.float-card.fc-1 { top: 52px; left: -22px; animation: floaty 5.5s ease-in-out infinite; }
.float-card.fc-1 .fc-icon { background: var(--accent-soft); color: var(--accent); }
.float-card.fc-2 { bottom: 96px; right: -22px; animation: floaty 5.5s ease-in-out infinite .9s; }
.float-card.fc-2 .fc-icon { background: var(--brand-soft); color: var(--brand); }
.float-card .fc-icon svg { width: 16px; height: 16px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* 数据条 */
.stat-strip {
  position: relative; border-top: 1px solid var(--line); background: rgba(246, 248, 252, .7);
}
.stat-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-strip li {
  padding: 30px 24px; text-align: center; position: relative;
}
.stat-strip li + li::before {
  content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--line);
}
.stat-num {
  font-family: var(--mono); font-size: clamp(26px, 3vw, 36px); font-weight: 700;
  color: var(--brand); letter-spacing: -.02em; line-height: 1.1;
}
.stat-num em { font-style: normal; font-size: .55em; color: var(--ink-3); margin-left: 2px; }
.stat-label { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }

/* ---------- 6. 通用区块 ---------- */
.section { padding: 96px 0; }
.section.is-soft { background: var(--bg-soft); }
.section.is-dark {
  background: linear-gradient(150deg, var(--brand-deep) 0%, var(--brand) 55%, #12448f 100%);
  color: #fff;
}
.section.is-dark .sec-title { color: #fff; }
.section.is-dark .sec-sub { color: rgba(255, 255, 255, .72); }
.section.is-dark .eyebrow { color: #8fbcff; }
.section.is-dark .eyebrow::before { background: linear-gradient(90deg, #8fbcff, var(--accent)); }

/* 区块头部 + 右侧链接 */
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 48px;
}
.sec-head-row .sec-head { margin-bottom: 0; }
.link-more {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 14.5px; font-weight: 600; color: var(--brand-2);
  padding-bottom: 4px;
}
.link-more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.link-more:hover svg { transform: translateX(4px); }
.section.is-dark .link-more { color: #8fbcff; }

/* ---------- 7. 产品网格（横向卡片，图左文右，偶数卡镜像） ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.p-card {
  position: relative; display: flex;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.p-card:nth-child(even) { flex-direction: row-reverse; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(27, 95, 224, .32); }

/* 产品占位图：柔和渐变底 + 居中刀模线稿（不带网格底纹与"占位"角标） */
.ph-clean {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(150deg, #f5f9ff 0%, #eaf1fc 55%, #e2ebfa 100%);
}
.ph-clean::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(85% 85% at 20% 14%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 62%);
}
.ph-clean svg { width: 60%; aspect-ratio: 240 / 160; height: auto; position: relative; transition: transform .45s ease; }
.p-card:hover .ph-clean svg { transform: scale(1.07); }

.p-card-media { flex: 0 0 41%; position: relative; min-height: 218px; }
.p-card-media .ph-clean { position: absolute; inset: 0; }
.p-card:nth-child(odd) .p-card-media { border-right: 1px solid var(--line-2); }
.p-card:nth-child(even) .p-card-media { border-left: 1px solid var(--line-2); }

.p-card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  background: rgba(10, 52, 127, .9); color: #fff;
}
.p-card-idx {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: rgba(10, 52, 127, .32);
}

.p-card-body { flex: 1; padding: 24px 26px; display: flex; flex-direction: column; min-width: 0; }
.p-card-body h3 { font-size: 18px; margin-bottom: 6px; }
.p-card-en {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--ink-3); text-transform: uppercase; margin-bottom: 11px;
}
.p-card-body p { font-size: 14px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.p-card-specs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 15px;
  border-top: 1px dashed var(--line);
}
.p-card-specs span {
  font-size: 11.5px; color: var(--ink-2); background: var(--bg-soft);
  padding: 3px 10px; border-radius: 999px;
}
/* 箭头挂在图片区右下角，与序号（右上）、规格标签（正文底部）互不打架 */
.p-card-arrow {
  position: absolute; bottom: 13px; right: 13px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand); box-shadow: var(--shadow-sm);
  opacity: 0; transform: scale(.85);
  transition: all .24s ease;
}
.p-card-arrow svg { width: 15px; height: 15px; }
.p-card:hover .p-card-arrow { opacity: 1; transform: scale(1); }

/* ---------- 8. 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: stretch; }

/* 左栏：工艺流程卡（深蓝底，抽象图形化表达，不依赖实景照片） */
.about-visual { position: relative; display: flex; }
.about-flow {
  position: relative; flex: 1; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  padding: 30px 30px 32px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(120% 95% at 100% 0%, rgba(27, 95, 224, .58) 0%, rgba(27, 95, 224, 0) 58%),
    linear-gradient(155deg, #0a347f 0%, #072a63 100%);
  box-shadow: 0 30px 56px -30px rgba(10, 52, 127, .58);
}
/* 细网格纹理：向右上角淡出，替代照片的视觉重量 */
.about-flow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(125% 105% at 0% 0%, #000 18%, transparent 76%);
          mask-image: radial-gradient(125% 105% at 0% 0%, #000 18%, transparent 76%);
}
.aflow-head { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 12px; }
.aflow-head b { font-family: var(--mono); font-size: 44px; line-height: 1; letter-spacing: -.035em; }
.aflow-head span { font-size: 12.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .70); }
.aflow-title {
  position: relative; z-index: 1;
  margin: 20px 0 22px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px; font-weight: 500; line-height: 1.7; color: rgba(255, 255, 255, .88);
}
.aflow-steps {
  position: relative; z-index: 1; list-style: none; margin: auto 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.aflow-steps li {
  padding: 13px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.aflow-steps li:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-2px);
}
.aflow-n {
  display: block; margin-bottom: 5px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #86b0ff;
}
.aflow-steps h5 { margin: 0 0 3px; font-size: 14px; font-weight: 600; }
.aflow-steps p { margin: 0; font-size: 12px; line-height: 1.55; color: rgba(255, 255, 255, .64); }

/* 文案：首段做导语，正文限宽保证可读性 */
.about-text .sec-title { margin-bottom: 20px; }
.about-text .lead {
  font-size: 17px; line-height: 1.85; color: var(--ink); font-weight: 500; margin-bottom: 16px;
}
.about-text p { color: var(--ink-2); margin-bottom: 14px; font-size: 15px; line-height: 1.85; }
.about-text p:last-of-type { margin-bottom: 0; }

/* 客户名录：胶囊标签，从事实列表里拆出来单独成行 */
.about-clients { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.about-clients .ac-label {
  display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 11px; letter-spacing: .04em;
}
.ac-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-list span {
  padding: 5px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  transition: border-color .16s ease, color .16s ease;
}
.ac-list span:hover { border-color: rgba(27, 95, 224, .35); color: var(--brand); }

/* 事实条：从右栏拆出，整宽 3 列白卡，标题不再折行 */
.about-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 52px;
}
.about-facts li {
  display: flex; gap: 13px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.about-facts li:hover { transform: translateY(-2px); border-color: rgba(27, 95, 224, .3); box-shadow: var(--shadow-sm); }
.about-facts .af-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.about-facts .af-icon svg { width: 17px; height: 17px; }
.about-facts h4 { font-size: 15px; margin-bottom: 3px; }
.about-facts p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.6; }

/* ---------- 9. 设备与产能 ---------- */
.cap-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.cap-tab {
  padding: 8px 17px; border-radius: 20px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22); transition: all .18s ease;
}
.section:not(.is-dark) .cap-tab { background: #fff; border-color: var(--line); }
/* 深色底上不能用 --ink-2，会黑字压黑底；排除选中项，避免覆盖 is-active 的深蓝文字 */
.section.is-dark .cap-tab:not(.is-active) { color: rgba(255, 255, 255, .82); }
.cap-tab:hover:not(.is-active) { color: inherit; }
.cap-tab.is-active {
  background: #fff; color: var(--brand); border-color: #fff; font-weight: 600;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .3);
}

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap-item {
  padding: 20px 20px 18px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: all .2s ease;
}
.section:not(.is-dark) .cap-item { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.cap-item:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.section:not(.is-dark) .cap-item:hover { border-color: rgba(27, 95, 224, .35); box-shadow: var(--shadow-md); }
.cap-item .ci-icon {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  margin-bottom: 13px; background: rgba(255, 255, 255, .14); color: #fff;
}
.section:not(.is-dark) .cap-item .ci-icon { background: var(--brand-soft); color: var(--brand); }
.cap-item .ci-icon svg { width: 17px; height: 17px; }
.cap-item h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.cap-item .ci-en {
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em;
  color: rgba(255, 255, 255, .5); text-transform: uppercase;
}
.section:not(.is-dark) .cap-item .ci-en { color: var(--ink-3); }
.cap-item .ci-qty {
  display: inline-block; margin-top: 10px; padding: 2px 8px; border-radius: 5px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  background: rgba(255, 255, 255, .14); color: #fff;
}

/* 核心设备展示：2 张大卡（双海德堡）+ 3 张小卡（小森 / 礼盒成型线 / 后道全线），全部车间实拍 */
.cap-featured { margin-bottom: 44px; }
.cf-label {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px; font-size: 13px; letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
}
.cf-label::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.cf-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cf-card {
  grid-column: span 2; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.cf-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .3); }
.cf-card.cf-wide { grid-column: span 3; }
.cf-media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1b33; }
.cf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.cf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cf-head h3 { font-size: 16.5px; font-weight: 600; }
.cf-tag {
  flex-shrink: 0; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: .04em;
  background: rgba(27, 95, 224, .32); color: #cfe0ff; border: 1px solid rgba(27, 95, 224, .5);
}
.cf-en {
  margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.cf-desc { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: rgba(255, 255, 255, .72); }
.cf-spec {
  margin-top: auto; padding-top: 13px;
  display: flex; align-items: baseline; gap: 8px;
  border-top: 1px dashed rgba(255, 255, 255, .16);
}
.cf-spec b { font-family: var(--mono); font-size: 20px; letter-spacing: -.01em; }
.cf-spec span { font-size: 12px; color: rgba(255, 255, 255, .55); }
.section:not(.is-dark) .cap-item .ci-qty { background: var(--bg-soft); color: var(--ink-2); }

/* ---------- 10. 工艺流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.flow-step { position: relative; padding: 0 16px; text-align: center; }
.flow-step::before {
  content: ""; position: absolute; top: 25px; left: 50%; right: -50%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.flow-step:last-child::before { display: none; }
.flow-dot {
  position: relative; z-index: 2; width: 50px; height: 50px; margin: 0 auto 16px;
  border-radius: 14px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand);
  box-shadow: var(--shadow-sm); transition: all .22s ease;
}
.flow-dot svg { width: 21px; height: 21px; }
.flow-step:hover .flow-dot {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border-color: transparent; transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(10, 52, 127, .6);
}
.flow-num {
  position: absolute; top: -6px; right: -6px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10.5px;
  font-weight: 700; display: grid; place-items: center;
}
.flow-step h4 { font-size: 14.5px; margin-bottom: 5px; }
.flow-step p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }

/* ---------- 11. 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.n-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.n-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.n-card .ph { aspect-ratio: 16 / 9; }
.n-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.n-date {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-bottom: 10px;
}
.n-date svg { width: 13px; height: 13px; }
.n-card h3 { font-size: 16px; margin-bottom: 9px; line-height: 1.45; }
.n-card h3 a { color: inherit; }
.n-card h3 a:hover { color: var(--brand-2); }
.n-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.n-card .pl-link { margin-top: 12px; }
.n-card:hover .pl-link svg { transform: translateX(3px); }

/* ---------- 12. 联系 ---------- */
/* 三个独立行：标题区 / 联系方式卡片网格 / 表单卡片 */
.contact-stack { display: grid; gap: 40px; }
.contact-head { max-width: 640px; }

.contact-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.contact-list .cl-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.contact-list .cl-icon svg { width: 18px; height: 18px; }
.contact-list dt { font-size: 12.5px; color: var(--ink-3); margin-bottom: 3px; }
.contact-list dd { margin: 0; font-size: 15px; font-weight: 600; }
.contact-list dd a:hover { color: var(--brand-2); }
.contact-list dd small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* 表单：整行卡片，标题和描述独占一行（与上方标题区同款形式），表单在下方 */
.form-card {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 36px; box-shadow: var(--shadow-md);
}
.form-head { max-width: 640px; }
.form-head h3 { font-size: 20px; margin-bottom: 8px; }
.form-head p { font-size: 14px; color: var(--ink-2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: all .18s ease; outline: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(27, 95, 224, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b6c9; }

.form-note {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 14px;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.6;
}
.form-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }

.form-alert {
  display: none; margin-top: 16px; padding: 12px 15px; border-radius: var(--radius-sm);
  font-size: 13.5px; line-height: 1.6;
  background: var(--accent-soft); color: #b04d00; border: 1px solid rgba(255, 122, 26, .3);
}
.form-alert.is-show { display: block; }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  background: var(--brand-deep); color: rgba(255, 255, 255, .72);
  padding: 64px 0 0; font-size: 14px;
}
.footer-top {
  display: grid; grid-template-columns: 1.45fr .9fr .9fr 1.5fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: rgba(255, 255, 255, .45); }
.footer-about { margin-top: 18px; line-height: 1.75; font-size: 13.5px; max-width: 330px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13.5px; transition: color .16s ease; }
.footer-col a:hover { color: #fff; }
.footer-col .tbd { font-size: 10px; }

/* 联系方式列：列宽加大后保持单行展示，避免地址与电话折行 */
.footer-top > .footer-col:last-child { white-space: nowrap; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 22px 0 26px;
  font-size: 12.5px; color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .62); }
.footer-bottom a:hover { color: #fff; }
.footer-demo-tag {
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  background: rgba(255, 122, 26, .18); color: #ffb37a;
  border: 1px dashed rgba(255, 122, 26, .45);
}

/* ---------- 14. 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--brand); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .24s ease;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 15. 滚动入场动画 ---------- */
/* 仅在 JS 可用时隐藏，避免脚本失败导致整页空白 */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   16. 响应式
   ========================================================================== */

/* 英文版 logo 与按钮文案更长，导航提前一档收进汉堡，避免中屏溢出 */
@media (max-width: 1340px) {
  html[lang="en"] .header-inner { grid-template-columns: 1fr auto; }
  html[lang="en"] .main-nav { display: none; }
  html[lang="en"] .nav-toggle { display: grid; }
}

@media (max-width: 1180px) {
  /* 中屏起导航收进汉堡菜单，避免与右侧操作区互相挤压 */
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .hero-inner { gap: 40px; }
  .float-card { font-size: 12px; padding: 10px 12px; }
  .float-card.fc-1 { left: -12px; }
  .float-card.fc-2 { right: -12px; }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .cf-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-card, .cf-card.cf-wide { grid-column: span 1; }
}

/* 移动端抽屉菜单：桌面端默认隐藏，仅 ≤1024px 展开时显示 */
.mobile-menu { display: none; }

@media (max-width: 1024px) {
  .header-actions .btn { display: none; }

  /* 移动端抽屉 */
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px; box-shadow: 0 16px 32px -14px rgba(11, 21, 36, .18);
    display: none;
  }
  .mobile-menu.is-open { display: block; }
  /* 排除按钮，避免块级/分隔线样式覆盖 .btn 的 flex 布局 */
  .mobile-menu a:not(.btn) {
    display: block; padding: 13px 4px; font-size: 15.5px; font-weight: 500;
    border-bottom: 1px solid var(--line-2);
  }
  .mobile-menu .btn { margin-top: 18px; flex: none; }

  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-bottom: 60px; }
  .hero-visual { order: -1; }
  .float-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-stack { gap: 28px; }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
  .about-flow { padding: 26px 24px 28px; }
  .about-facts { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  /* 产品卡在窄屏改回上图下文，取消镜像 */
  .p-card, .p-card:nth-child(even) { flex-direction: column; }
  .p-card-media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .p-card:nth-child(odd) .p-card-media { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .p-card:nth-child(even) .p-card-media { border-left: 0; border-bottom: 1px solid var(--line-2); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .flow-step:nth-child(3)::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stat-strip ul { grid-template-columns: repeat(2, 1fr); }
  .stat-strip li:nth-child(3)::before { display: none; }
  .stat-strip li:nth-child(odd)::before { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 34px; }

  .logo-name { font-size: 14.5px; }
  .logo-sub { font-size: 8.5px; }
  .logo-mark { width: 34px; height: 34px; }
  /* 窄屏放不下搜索按钮，先隐藏保 logo 与语言切换 */
  .header-actions .icon-btn { display: none; }
  .header-inner { gap: 12px; }

  .hero { padding-top: 34px; }
  .hero h1 { font-size: 29px; }
  .hero-lead { font-size: 15.5px; }
  .hero-cta .btn { flex: 1; }
  .hero-visual { padding: 16px; }
  .hero-visual-foot { grid-template-columns: 1fr; }
  .hero-visual-foot div { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }
  .hero-visual-foot dt { margin: 0; }

  .stat-strip li { padding: 22px 12px; }
  .stat-num { font-size: 25px; }
  .stat-label { font-size: 12.5px; }

  .product-grid, .news-grid { grid-template-columns: 1fr; }
  .p-card-body { padding: 22px 20px; }
  .about-flow { padding: 22px 18px 24px; }
  .aflow-head b { font-size: 36px; }
  .aflow-steps { gap: 8px; }
  .aflow-steps li { padding: 11px 12px; }
  .about-facts { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cf-grid { grid-template-columns: 1fr; }
  .cf-media { aspect-ratio: 16 / 9; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(3)::before { display: block; }
  .flow-step:nth-child(2n)::before { display: none; }

  .form-card { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  /* 页脚：品牌区和联系方式独占一行，产品中心与快速导航并排同一行 */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-top > div:first-child,
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-about { max-width: none; }
  .footer-top > .footer-col:last-child { white-space: normal; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

/* 打印时隐藏交互元素 */
@media print {
  .site-header, .to-top, .mobile-menu, .hero-cta { display: none !important; }
}

/* ==========================================================================
   17. 在线 DIY 盒型设计入口（packview.cn/studio）
   ========================================================================== */

/* 大号按钮 */
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; border-radius: 11px; }
.btn-lg svg { width: 19px; height: 19px; }

/* 外链小图标 */
.btn .ext { width: 14px; height: 14px; opacity: .7; }
.btn-lg .ext { width: 15px; height: 15px; }

/* 橙色强调按钮加投影，让它在首屏跳出来 */
.btn-accent { box-shadow: 0 8px 20px -8px rgba(255, 122, 26, .7); }

/* 描边橙按钮（头部 / 移动端菜单） */
.btn-diy {
  background: #fff; color: var(--accent);
  border: 1.5px solid rgba(255, 122, 26, .5);
  box-shadow: 0 2px 10px -4px rgba(255, 122, 26, .45);
}
.btn-diy:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(255, 122, 26, .62);
}
.btn-diy .ext { opacity: .8; }

/* 首屏按钮下方说明 */
.hero-cta-note {
  display: flex; align-items: center; gap: 7px;
  margin-top: 16px; font-size: 13px; color: var(--ink-3);
}
.hero-cta-note svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--accent); }

/* 产品区下方通栏横幅 */
.diy-band {
  position: relative; overflow: hidden; margin-top: 56px;
  border-radius: var(--radius); color: #fff;
  background:
    radial-gradient(120% 150% at 90% 8%, rgba(255, 122, 26, .38) 0%, rgba(255, 122, 26, 0) 56%),
    linear-gradient(118deg, var(--brand-deep) 0%, var(--brand) 52%, #1c53c4 100%);
  box-shadow: var(--shadow-lg);
}
.diy-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 100%;
}
.diy-band-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center; gap: 44px; padding: 42px 44px;
}
.diy-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: #ffb877; margin-bottom: 14px;
}
.diy-eyebrow::before {
  content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--accent);
}
.diy-band h3 { font-size: clamp(21px, 2.5vw, 29px); margin-bottom: 14px; letter-spacing: -.015em; }
.diy-band p { max-width: 620px; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .78); }
.diy-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.diy-hint { font-size: 13px; color: rgba(255, 255, 255, .6); }
.diy-band-visual { display: grid; place-items: center; }
.diy-band-visual svg { width: 100%; max-width: 320px; height: auto; }

/* 联系方式列表里的 DIY 行 */
.contact-list .cl-diy .cl-icon { background: var(--accent-soft); color: var(--accent); }
.contact-list .cl-diy-link { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.contact-list .cl-diy-link:hover { color: #d95f00; }
.contact-list .cl-diy-link .ext { width: 13px; height: 13px; opacity: .8; }

/* 响应式 */
@media (max-width: 1180px) {
  .diy-band-inner { grid-template-columns: 1fr; gap: 26px; padding: 36px 34px; }
  .diy-band-visual { order: -1; }
  .diy-band-visual svg { max-width: 250px; }
}
@media (max-width: 720px) {
  .diy-band { margin-top: 40px; }
  .diy-band-inner { padding: 28px 22px; }
  .diy-band-visual { display: none; }
  .diy-band-actions { gap: 12px; }
  .diy-band-actions .btn { width: 100%; }
  .hero-cta-note { font-size: 12.5px; line-height: 1.6; align-items: flex-start; }
}

/* ==========================================================================
   18. WhatsApp 联系入口（含二维码）
   ========================================================================== */

/* 联系方式列表里的二维码行 */
.contact-list .cl-qr { align-items: center; }
.contact-list .cl-qr .qr {
  width: 88px; height: 88px; margin-left: auto; flex-shrink: 0;
  padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.contact-list .cl-wa { display: inline-flex; align-items: center; gap: 6px; }
.contact-list .cl-wa .ext { width: 13px; height: 13px; opacity: .7; }

@media (max-width: 720px) {
  .contact-list { grid-template-columns: 1fr; }
  .contact-list .cl-qr .qr { width: 68px; height: 68px; padding: 4px; border-radius: 8px; }
}

/* ==========================================================================
   19. 内页：页头 Banner + 面包屑 / 底部 CTA
   ========================================================================== */

/* 内页页头：H1 + 面包屑 + 简介，替代首页 Hero */
.page-hero {
  position: relative; overflow: hidden;
  padding: 52px 0 44px;
  background: linear-gradient(160deg, var(--brand-soft) 0%, #fff 62%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; top: -130px;
  width: 340px; height: 340px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(27, 95, 224, .1), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 12px;
  letter-spacing: -.02em;
}
.page-hero-sub { max-width: 720px; color: var(--ink-2); font-size: 15.5px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); transition: color .16s ease; }
.breadcrumb a:hover { color: var(--brand-2); }
.breadcrumb span[aria-current] { color: var(--ink-3); }

/* 内页底部 CTA 条 */
.page-cta { background: var(--brand-deep); color: #fff; padding: 44px 0; }
.page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.page-cta-copy h2 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 8px; color: #fff; }
.page-cta-copy p { color: rgba(255, 255, 255, .72); font-size: 14.5px; max-width: 620px; }
.page-cta-actions { display: flex; gap: 12px; flex: none; }
.page-cta .btn-diy {
  background: transparent; color: #fff; box-shadow: none;
  border-color: rgba(255, 255, 255, .45);
}
.page-cta .btn-diy:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 1024px) {
  .page-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-cta-actions { width: 100%; }
  .page-cta-actions .btn { flex: 1; }
}

@media (max-width: 720px) {
  .page-hero { padding: 34px 0 30px; }
  .page-hero-sub { font-size: 14.5px; }
}

/* 新闻列表页上，"查看全部"指向当前页，隐藏避免自链接 */
body[data-page="news"] #news .link-more { display: none; }

/* ==========================================================================
   20. 产品列表页 / 产品详情页 / 新闻详情页
   ========================================================================== */

/* ---------- 20.1 分类筛选条（产品中心 / 产品列表共用） ---------- */
.cat-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.cat-bar .cat-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-right: 4px;
}
.cat-bar a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.cat-bar a:hover { color: var(--brand); border-color: rgba(27, 95, 224, .38); }
.cat-bar a.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 6px 16px rgba(10, 52, 127, .18);
}
.cat-bar a span { font-family: var(--mono); font-size: 11px; opacity: .66; }
.cat-bar a.is-active span { opacity: .8; }

/* 产品中心分类卡片上的"查看该分类产品"入口 */
.p-card-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--brand-2);
}
.p-card-more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.p-card:hover .p-card-more svg { transform: translateX(3px); }

/* ---------- 20.2 产品列表网格 ---------- */
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pl-card {
  display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pl-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: rgba(27, 95, 224, .3);
}
.pl-media { position: relative; display: block; aspect-ratio: 4 / 3; }
.pl-media .ph-clean { position: absolute; inset: 0; }
.pl-media .ph-clean svg { width: 74%; height: auto; }
.pl-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: rgba(10, 52, 127, .9); color: #fff;
}
.pl-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pl-sku {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3);
}
.pl-body h3 { font-size: 16.5px; line-height: 1.4; }
.pl-body h3 a { color: inherit; }
.pl-body h3 a:hover { color: var(--brand-2); }
.pl-body p { font-size: 13.5px; color: var(--ink-2); line-height: 1.68; flex: 1; }
.pl-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-specs span {
  font-size: 11.5px; color: var(--ink-2); background: var(--bg-soft);
  padding: 3px 10px; border-radius: 999px;
}
.pl-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 13px; font-weight: 600; color: var(--brand-2);
}
.pl-link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.pl-card:hover .pl-link svg { transform: translateX(3px); }

.pl-empty { padding: 46px 0; text-align: center; color: var(--ink-3); font-size: 14px; }

/* 分页 */
.pagination {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 13.5px; color: var(--ink-2); transition: all .18s ease;
}
.pagination a:hover { border-color: rgba(27, 95, 224, .38); color: var(--brand); }
.pagination .is-current {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}
.pagination .is-disabled { opacity: .42; pointer-events: none; }

/* ---------- 20.3 产品详情 ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-gallery { display: grid; gap: 12px; }
.pd-main {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.pd-main .ph-clean { position: absolute; inset: 0; }
.pd-main .ph-clean svg { width: 72%; height: auto; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumb {
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  color: var(--brand); transition: border-color .18s ease, box-shadow .18s ease;
}
.pd-thumb svg { width: 70%; aspect-ratio: 240 / 160; height: auto; opacity: .55; }
.pd-thumb.is-active { border-color: var(--brand-2); box-shadow: 0 0 0 2px rgba(27, 95, 224, .14); }
.pd-thumb.is-active svg { opacity: .85; }

.pd-info .eyebrow { margin-bottom: 10px; }
.pd-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.pd-en {
  font-family: var(--mono); font-size: 12px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 8px;
}
.pd-lead { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; margin-top: 16px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 0; font-size: 13.5px; }
.spec-table th, .spec-table td {
  padding: 11px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 104px; font-weight: 500; color: var(--ink-3); background: var(--bg-soft);
  border-radius: 0;
}
.spec-table td { color: var(--ink-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pd-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }

.pd-block { margin-top: 60px; }
.pd-block-title { font-size: 22px; margin-bottom: 18px; }
.pd-prose p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; margin-bottom: 14px; }
.pd-prose ul { margin: 0 0 16px; padding-left: 20px; }
.pd-prose li {
  list-style: disc; font-size: 14.5px; color: var(--ink-2);
  line-height: 1.85; margin-bottom: 6px;
}
.pd-prose strong { color: var(--ink); }

.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.craft-item {
  padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.craft-item h4 { font-size: 14.5px; margin-bottom: 6px; }
.craft-item p { font-size: 13px; color: var(--ink-2); line-height: 1.65; }

.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 18px;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand-2); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* ---------- 20.4 新闻详情 ---------- */
/* 宽度由外层 .container 决定（1200px），与站点主体一致，不再额外收窄 */
.article { max-width: none; margin: 0; }
.article-head { margin-bottom: 26px; }
.article-title { font-size: clamp(23px, 3vw, 34px); line-height: 1.34; margin: 12px 0 14px; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 13px; height: 13px; }
.article-lead {
  font-size: 15.5px; color: var(--ink-2); line-height: 1.85;
  padding: 16px 20px; margin: 22px 0 10px;
  background: var(--bg-soft); border-left: 3px solid var(--brand-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body h2 { font-size: 20px; margin: 36px 0 14px; }
.article-body h3 { font-size: 16.5px; margin: 26px 0 10px; }
.article-body p { font-size: 15px; color: var(--ink-2); line-height: 1.9; margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body li {
  font-size: 15px; color: var(--ink-2); line-height: 1.9; margin-bottom: 6px;
  list-style: disc;
}
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--ink); }
.article-figure { margin: 26px 0; }
.article-figure .ph { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; }
.article-figure figcaption {
  margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center;
}
.article-quote {
  margin: 24px 0; padding: 18px 22px; background: var(--bg-soft);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.8; font-style: normal;
}
.article-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line);
}
.article-tags .tag-label { font-size: 12px; color: var(--ink-3); margin-right: 4px; }
.article-tags a {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-2); transition: all .18s ease;
}
.article-tags a:hover { background: var(--brand); color: #fff; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.article-nav a {
  padding: 16px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); transition: all .18s ease;
}
.article-nav a:hover { border-color: rgba(27, 95, 224, .35); box-shadow: var(--shadow-sm); }
.article-nav small {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  color: var(--ink-3); margin-bottom: 6px; text-transform: uppercase;
}
.article-nav strong { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.article-nav a:last-child { text-align: right; }
.article-nav a.is-disabled { opacity: .45; pointer-events: none; }

/* 文章详情页：长标题适当收小字号，宽度与其他内页一致 */
body[data-page="newsinfo"] .page-hero-title { font-size: clamp(22px, 2.8vw, 34px); }

@media (max-width: 1024px) {
  .pl-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-layout { grid-template-columns: 1fr; gap: 34px; }
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; }
}

@media (max-width: 720px) {
  .pl-grid { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .cat-bar { gap: 8px; margin-bottom: 22px; }
  .cat-bar a { padding: 7px 12px; font-size: 12.5px; }
  .pd-block { margin-top: 42px; }
  .pd-block-title { font-size: 19px; }
  .pagination { margin-top: 30px; }
  .pagination a, .pagination span { min-width: 34px; height: 34px; font-size: 13px; }
  .article-body p, .article-body li { font-size: 14.5px; }
}


