/* ==========================================================================
 *  YUNQI 官网样式表
 *  设计基调：暖白底 + 墨绿主色 + 细线分隔，大量留白，衬线字体做标题
 * ========================================================================== */

/* ------------------------------------------------------------------ Tokens */
:root {
  --ink:            #1A1A1A;
  --ink-soft:       #4A4744;
  --ink-mute:       #8B857D;
  --brand:          #1F3D32;
  --brand-soft:     #2F5142;
  --brand-tint:     #EDF1EE;
  --accent:         #A97C3F;
  --accent-tint:    #F7F1E8;
  --bg:             #FBF9F7;
  --bg-alt:         #F4F1EC;
  --surface:        #FFFFFF;
  --line:           #E4DFD6;
  --line-soft:      #EFEBE4;
  --success:        #2F6B4F;
  --warning:        #A95F2B;
  --danger:         #A8342B;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(26,26,26,.04);
  --shadow:    0 4px 20px rgba(26,26,26,.06);
  --shadow-lg: 0 20px 60px rgba(26,26,26,.10);

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
           "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: var(--sans); letter-spacing: .002em; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
/* 单独列出 li：易优分页标签直接输出「孤儿 li」（外层无 ul/ol），
   只写 ul, ol 时它继承不到 list-style:none，会保留浏览器默认的 disc 黑点 */
ul, ol, li { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5 { margin: 0; font-weight: 500; line-height: 1.3; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
*:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

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

/* -------------------------------------------------------------- Container */
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 32px; }

/* ------------------------------------------------- 响应式容器宽度
 * 随浏览器分辨率阶梯式放大（窄屏自适应，平板/手机保持流式）
 *   < 1400px        → 1000
 *   1400–1599px     → 1200
 *   1600–1919px     → 1400
 *   >= 1920px       → 1600
 */
@media (min-width: 1400px) { .wrap { max-width: 1200px; } }
@media (min-width: 1600px) { .wrap { max-width: 1400px; } }
@media (min-width: 1920px) { .wrap { max-width: 1600px; } }

/* -------------------------------------------------------------- 排版工具 */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:""; width: 24px; height: 1px; background: var(--accent); display: block; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-tint { background: var(--brand-tint); }
.section-dark { background: var(--brand); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title {
  font-family: var(--serif); font-size: 34px; font-weight: 500;
  letter-spacing: .01em; margin-bottom: 16px; color: var(--ink);
}
.section-title.serif-lg { font-size: 42px; }
.section-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.85; }

.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,.72); }
.section-dark .eyebrow { color: #C9AF82; }
.section-dark .eyebrow::before { background: #C9AF82; }

.lead-text { font-size: 17px; line-height: 1.9; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ------------------------------------------------------------------ 顶栏 */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,249,247,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(251,249,247,.97); }

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 32px; }
.brand-mark { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 14px; letter-spacing: .04em;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: .06em; }
.brand-text span { font-size: 10px; color: var(--ink-mute); letter-spacing: .18em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; font-size: 14px; color: var(--ink-soft);
  border-radius: var(--radius-sm); transition: color .2s, background .2s;
  position: relative; white-space: nowrap;
}
.nav-item > a:hover { color: var(--brand); background: rgba(31,61,50,.05); }
.nav-item > a.active { color: var(--brand); font-weight: 500; }
.nav-item > a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

/* 二级菜单箭头 */
.nav-caret {
  width: 7px; height: 7px; flex: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .65;
  transition: transform .25s var(--ease);
}
.nav-item.has-children:hover > a .nav-caret { transform: rotate(225deg) translateY(-2px); }

/* 下拉面板（桌面：悬停 / 键盘聚焦展开） */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 214px; background: var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 96;
}
.nav-dropdown::before { /* 弥合与触发区的间隙，避免鼠标移开时收起 */
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink-soft); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-dropdown a:hover { background: var(--brand-tint); color: var(--brand); }

/* 最右侧两项下拉改为右对齐，避免溢出视口 */
.nav-item:last-child.has-children .nav-dropdown,
.nav-item:nth-last-child(2).has-children .nav-dropdown {
  left: auto; right: 0; transform: translateX(0) translateY(10px);
}
.nav-item:last-child.has-children:hover .nav-dropdown,
.nav-item:nth-last-child(2).has-children:hover .nav-dropdown,
.nav-item:last-child.has-children:focus-within .nav-dropdown,
.nav-item:nth-last-child(2).has-children:focus-within .nav-dropdown {
  transform: translateX(0) translateY(0);
}

/* 窄屏（< 1400px）收紧导航间距，避免换行溢出 */
@media (max-width: 1399px) {
  .nav-item > a { padding: 8px 10px; font-size: 13.5px; }
  .nav-actions .btn-sm { padding: 8px 13px; }
}

/* 英文站导航项多、CTA 文案长：<1200px 改短标签并再收紧间距，避免撑破头部横向滚动 */
@media (max-width: 1199px) {
  html[lang="en"] .nav-item > a { padding: 8px 7px; }
  html[lang="en"] .nav-actions { gap: 8px; }
  html[lang="en"] .nav-actions .btn-sm { font-size: 0; padding: 8px 14px; }
  html[lang="en"] .nav-actions .btn-sm::after { content: "Quote"; font-size: 13px; }
}

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 12px; letter-spacing: .08em; padding: 6px 10px;
  border-radius: var(--radius-sm); color: var(--ink-soft);
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: transparent; border-radius: var(--radius-sm); cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; width: 18px; height: 1.5px; background: var(--ink); left: 50%;
  transform: translateX(-50%); transition: all .3s var(--ease);
}
.nav-toggle span { top: 50%; transform: translate(-50%,-50%); }
.nav-toggle span::before { content:""; top: -6px; }
.nav-toggle span::after  { content:""; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ------------------------------------------------------------------ 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-sm);
  font-size: 14px; letter-spacing: .02em; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-soft); border-color: var(--brand-soft); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.1); }
.btn-onbrand { background: #fff; color: var(--brand); }
.btn-onbrand:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--brand); font-weight: 500; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section-dark .link-arrow { color: #C9AF82; }

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; padding: 120px 0 96px; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.hero-title {
  font-family: var(--serif); font-size: 54px; line-height: 1.22;
  letter-spacing: .01em; margin-bottom: 28px; font-weight: 500;
}
.hero-desc { font-size: 17px; line-height: 1.9; color: var(--ink-soft); width: 100%; max-width: 100%; box-sizing: border-box; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-metric b { display: flex; align-items: baseline; gap: 4px; font-family: var(--serif); font-size: 36px; color: var(--brand-soft); line-height: 1.08; letter-spacing: .01em; }
.hero-metric span { display: block; font-size: 14px; color: var(--ink-mute); margin-top: 8px; }
.hero-unit { font-style: normal; font-size: 16px; font-weight: 400; margin-left: 2px; color: var(--brand-soft); }

.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-tint); box-shadow: var(--shadow-lg); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-badge b { display: block; font-size: 13px; margin-bottom: 4px; }
.hero-badge span { font-size: 12px; color: var(--ink-mute); }

.page-hero { padding: 88px 0 64px; background: linear-gradient(180deg, var(--brand-tint) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line-soft); }
.page-hero .hero-title { font-size: 42px; margin-bottom: 20px; }
/* hero 描述统一铺满内容区：解除父容器窄栏限制，并消除 grid 列的隐式最小宽度 */
.page-hero-inner { width: 100%; max-width: 100%; }
.hero-copy, .cert-detail-intro { min-width: 0; }

/* -------------------------------------------------------------- 通用卡片 */
.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); }

.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card-num { font-family: var(--serif); font-size: 13px; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.card-title { font-family: var(--serif); font-size: 19px; margin-bottom: 12px; font-weight: 500; }
.card-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* ------------------------------------------------------------- 信任横条 */
.trust-strip { padding: 56px 0; background: var(--brand-tint); }
.trust-strip .grid { max-width: 100%; margin: 0 auto; gap: 32px; }
.trust-item { text-align: center; }
.trust-item b { display: flex; align-items: baseline; justify-content: center; gap: 4px; font-family: var(--serif); font-size: 36px; line-height: 1.1; color: var(--brand); margin-bottom: 12px; font-weight: 600; }
.trust-num { font-variant-numeric: tabular-nums; }
.trust-unit { font-style: normal; font-weight: 400; color: var(--brand-soft); }
.trust-item span { display: block; font-size: 14px; color: var(--ink-mute); letter-spacing: .04em; }

/* 工厂介绍：左文案 + 右卡片（自适应） */
.why-factory-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .why-factory-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .why-factory-grid { gap: 28px; } }

/* 资源下载：左说明 + 右表单（自适应） */
.download-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .download-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .download-grid { gap: 28px; } }

/* 生产实力区块：左文案 + 右数据（自适应） */
.factory-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.factory-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) {
  .factory-split { grid-template-columns: 1fr; gap: 40px; }
  .factory-trust { gap: 20px; }
}
@media (max-width: 480px) {
  .factory-split { gap: 28px; }
  .factory-trust { grid-template-columns: 1fr 1fr; gap: 16px; }
  .factory-trust .trust-item b { font-size: 22px; flex-wrap: wrap; justify-content: center; }
  .trust-item b { font-size: 24px; flex-wrap: wrap; justify-content: center; }
}

/* 产品页「没找到合适的产品」卡片（自适应） */
.product-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) {
  .product-cta { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .product-cta { gap: 20px; }
  .product-cta > div:last-child { width: 100%; }
}

/* 产品详情：主图 | 信息 两栏 */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .product-detail-grid { gap: 24px; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; justify-content: center; }
}

/* 关于我们：公司简介 / 发展历程 两栏 */
.about-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-milestone-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
@media (max-width: 860px) {
  .about-profile-grid, .about-milestone-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .about-profile-grid, .about-milestone-grid { gap: 28px; }
}

/* ---------------------------------------------------------------- 产品卡 */
.product-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* 产品中心系列筛选：隐藏非当前系列（列表本身是静态 HTML） */
.product-card[hidden] { display: none !important; }
.product-thumb { position: relative; aspect-ratio: 1/1; background: var(--bg-alt); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag-pill {
  font-size: 11px; padding: 3px 9px; border-radius: 20px;
  background: rgba(255,255,255,.92); color: var(--brand); letter-spacing: .03em;
}
.tag-pill.accent { background: var(--accent); color: #fff; }
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-name { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.product-sub { font-size: 12.5px; color: var(--ink-mute); }
.product-brief {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-size: 13px; color: var(--brand); font-weight: 500; }
.product-price.small { font-size: 12px; color: var(--ink-mute); font-weight: 400; }

/* --------------------------------------------------------------- 系列卡 */
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft); cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat-card:hover, .cat-card.active { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.cat-thumb { aspect-ratio: 16/10; background: var(--bg-alt); overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-thumb img { transform: scale(1.05); }
.cat-body { padding: 20px 22px 22px; }
.cat-body b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.cat-body span { font-size: 13px; color: var(--ink-mute); }

/* -------------------------------------------------------------- 筛选条 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; align-items: center; }
.filter-chip {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 40px;
  background: transparent; cursor: pointer; font-size: 13.5px; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
/* ------------------------------------------- 产品中心：搜索框（静态 DOM） */
/* 屏幕阅读器专用文本：给搜索框提供可访问名称，不占视觉空间 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.catalogue-search {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  flex: 0 1 224px; min-width: 190px; min-height: 40px;
  padding: 0 4px 0 14px;
  border: 1px solid var(--line); border-radius: 40px;
  background: var(--surface); color: var(--ink-mute);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.catalogue-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
/* 作者样式 display:flex 会盖掉 UA 的 [hidden]，必须显式兜底 */
.catalogue-search[hidden] { display: none !important; }
.search-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; }
.search-icon svg { display: block; }
.search-input {
  flex: 1 1 auto; min-width: 0; width: 100%; padding: 8px 0;
  border: 0; outline: none; background: transparent;
  font-size: 13.5px; line-height: 1.4; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.search-input:focus-visible { outline: none; }
.search-input::placeholder { color: var(--ink-mute); opacity: 1; }
/* 使用自定义清除按钮，隐藏 type=search 的浏览器内置 × */
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-clear {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-mute); cursor: pointer;
  font-size: 18px; line-height: 1; display: grid; place-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.search-clear:hover { background: var(--bg-alt); color: var(--brand); }
.search-clear[hidden] { display: none !important; }

/* 无匹配结果提示：静态 DOM，默认 hidden，JS 只切显隐 */
.catalogue-empty {
  margin: 8px 0 0; padding: 48px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.catalogue-empty[hidden] { display: none !important; }
.catalogue-empty-text { font-family: var(--serif); font-size: 18px; color: var(--ink-soft); margin-bottom: 16px; }

/* ------------------------------------------------- 产品列表分页（静态 DOM） */
.catalogue-pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 24px; margin: 40px 0 0; padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
/* 作者样式 display:flex 会盖掉 UA 的 [hidden]，必须显式兜底：无 JS 时整条不显示 */
.catalogue-pager[hidden] { display: none !important; }
.pager-controls { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.pager-pages { display: flex; align-items: center; gap: 8px; }
.pager-btn {
  min-width: 40px; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink-soft);
  font-size: 13.5px; line-height: 1.4; cursor: pointer;
  transition: all .25s var(--ease);
}
.pager-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pager-page.active,
.pager-btn[aria-current="page"] { background: var(--brand); color: var(--surface); border-color: var(--brand); }
.pager-btn:disabled { opacity: .45; cursor: not-allowed; }
.pager-btn[hidden] { display: none !important; }
.pager-status { font-size: 13px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

/* ------------------------------------- 易优 CMS 默认分页标签（{eyou:pagelist}）
 * 输出结构：<div class="pager-controls"><li><a>…</a></li> … 共<strong>3</strong>页 …</div>
 * 上面的 .pager-btn / .pager-status 是给「静态 DOM 版」分页写的，class 对不上，
 * 所以这里按实际标签结构补一套：li 变按钮、去掉黑点、当前页高亮。
 */
.catalogue-pager .pager-controls {
  display: block;            /* 覆盖上面的 flex，让「共 3 页 34 条」保持行内文字流 */
  max-width: 100%;
  text-align: center;
  font-size: 13px;
  line-height: 40px;         /* 与 40px 高的按钮对齐 */
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.catalogue-pager .pager-controls li {
  display: inline-flex;      /* 不再是 list-item，浏览器不会生成项目符号 */
  list-style: none;          /* 双保险：清掉继承来的 disc 黑点 */
  margin: 0 3px;
  padding: 0;
  vertical-align: middle;
}
.catalogue-pager .pager-controls li a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink-soft);
  font-size: 13.5px; line-height: 1.4; white-space: nowrap;
  transition: all .25s var(--ease);
}
.catalogue-pager .pager-controls li a:hover { border-color: var(--brand); color: var(--brand); }
.catalogue-pager .pager-controls li.active a {
  background: var(--brand); color: var(--surface); border-color: var(--brand);
  cursor: default;
}
.catalogue-pager .pager-controls li.active a:hover { color: var(--surface); }
/* 第一页的「首页 / 上一页」是无 href 的 <a>：置灰且不可点 */
.catalogue-pager .pager-controls li:not(.active) a:not([href]) { opacity: .45; cursor: not-allowed; }
.catalogue-pager .pager-controls strong { color: var(--brand); font-weight: 600; margin: 0 2px; }

/* 资质总览分页：复用产品中心分页控件。.cert-list-item 是 display:grid，
   作者样式会盖掉 UA 的 [hidden]，必须显式兜底，否则分页隐藏不生效 */
.cert-list-item[hidden] { display: none !important; }

/* ------------------------------------------- 新闻资讯：图文列表 + 详情页 */
.news-list { display: grid; gap: 28px; }
.news-list-item {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px; transition: all .3s var(--ease);
}
.news-list-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
/* display:grid 会盖掉 UA 的 [hidden]，必须显式兜底 */
.news-list-item[hidden] { display: none !important; }
.news-list-img {
  display: block; overflow: hidden; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); aspect-ratio: 16 / 10; background: var(--bg-alt);
}
.news-list-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-meta { font-size: 12px; color: var(--ink-mute); margin-bottom: 12px; }
.news-tag {
  display: inline-block; margin: 0 6px 0 12px; padding: 3px 11px;
  border-radius: 20px; background: var(--brand-tint); color: var(--brand);
  font-size: 11.5px; letter-spacing: .02em;
}
.news-list-body h2 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.5; margin-bottom: 12px; }
.news-list-body h2 a { color: inherit; text-decoration: none; }
.news-list-body h2 a:hover { color: var(--brand); }
.news-list-body p:not(.news-meta) { font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 18px; }
.news-detail { max-width: 820px; margin: 0 auto; }
.news-detail .news-lead { font-size: 17px; line-height: 1.95; color: var(--ink); margin: 0 0 32px; }
.news-figure { margin: 0 0 44px; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.news-figure img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-figure figcaption { font-size: 12px; color: var(--ink-mute); text-align: center; padding: 12px; border-top: 1px solid var(--line-soft); }
.news-detail .cert-bullets { margin: 26px 0 32px; }
.news-related-wrap { max-width: 1100px; margin: 72px auto 0; padding-top: 40px; border-top: 1px solid var(--line-soft); }
.news-related-wrap h2 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 22px; }
.news-back { text-align: center; margin-top: 44px; }
@media (max-width: 860px) {
  .news-list-item { grid-template-columns: 1fr; gap: 22px; }
  .news-list-img { max-width: 480px; }
}
@media (max-width: 480px) {
  .news-list-item { padding: 18px; }
  .news-list-body h2 { font-size: 20px; }
  .news-detail .news-lead { font-size: 15.5px; }
  .news-tag { margin-left: 8px; }
}

/* ----------------------------------------------------------------- 表格 */
.spec-table { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.spec-table table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th, .spec-table td { padding: 14px 22px; text-align: left; font-size: 14px; vertical-align: top; }
.spec-table th { width: 38%; color: var(--ink-mute); font-weight: 400; background: #FCFBF9; }
.spec-table td { color: var(--ink); }

.feature-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; color: var(--ink-soft); }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0; }

/* ----------------------------------------------------------------- 资质 */
.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.cert-item {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; transition: all .3s var(--ease);
}
.cert-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.cert-seal {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  border: 1.5px dashed var(--accent); color: var(--accent);
  display: grid; place-items: center; font-family: var(--serif); font-size: 15px;
  background: var(--accent-tint);
}
.cert-item b { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; line-height: 1.5; }
.cert-meta { font-size: 12px; color: var(--ink-mute); line-height: 1.7; }

/* -------------------------------- 企业资质：详情链接 / 图文列表 / 详情页 */
.cert-item { display: block; color: inherit; text-decoration: none; }
.cert-link { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--brand); letter-spacing: .04em; }
.cert-item:hover .cert-link { color: var(--accent); }
.cert-more-wrap { text-align: center; margin-top: 34px; }
.cert-more {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 26px;
  border: 1px solid var(--line); border-radius: 40px; background: var(--surface);
  color: var(--brand); font-size: 14px; text-decoration: none;
  transition: all .3s var(--ease);
}
.cert-more:hover { border-color: var(--brand); background: var(--brand); color: #fff; transform: translateY(-2px); }
.cert-list { display: grid; gap: 28px; }
.cert-list-item {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px; transition: all .3s var(--ease);
}
.cert-list-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.cert-list-img { display: block; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.cert-list-img img { width: 100%; display: block; }
.cert-list-year { font-size: 12px; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.cert-list-body h2 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin-bottom: 12px; }
.cert-list-body h2 a { color: inherit; text-decoration: none; }
.cert-list-body h2 a:hover { color: var(--brand); }
.cert-list-body p { font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 18px; }
.cert-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cert-detail-figure { margin: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cert-detail-figure img { display: block; }
.cert-detail-figure figcaption { font-size: 12px; color: var(--ink-mute); text-align: center; padding: 12px; border-top: 1px solid var(--line-soft); }
.cert-spec { margin: 28px 0 0; border-top: 1px solid var(--line-soft); }
.cert-spec > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.cert-spec dt { color: var(--ink-mute); }
.cert-spec dd { margin: 0; color: var(--ink); line-height: 1.7; }
.cert-detail-body { max-width: 820px; }
.cert-detail-body h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 16px; }
.cert-detail-body h2:not(:first-child) { margin-top: 44px; }
.cert-detail-body p { font-size: 15px; line-height: 1.95; color: var(--ink-soft); margin-bottom: 16px; }
.cert-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cert-bullets li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.cert-bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.cert-related { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cert-related a { display: block; padding: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.6; transition: all .3s var(--ease); }
.cert-related a:hover { border-color: var(--brand); transform: translateY(-2px); }
.cert-related span { display: block; font-size: 12px; color: var(--ink-mute); margin-top: 6px; }
.cert-crumb a { color: inherit; text-decoration: none; }
.cert-crumb a:hover { color: var(--brand); }
@media (max-width: 860px) {
  .cert-list-item { grid-template-columns: 1fr; gap: 22px; }
  .cert-list-img { max-width: 420px; }
  .cert-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .cert-related { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .cert-list-item { padding: 18px; }
  .cert-list-body h2 { font-size: 20px; }
  .cert-related { grid-template-columns: 1fr; }
  .cert-spec > div { grid-template-columns: 90px 1fr; }
}

/* --------------------------------------------------------------- 时间轴 */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content:""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content:""; position: absolute; left: -32px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--brand);
}
.timeline-year { font-family: var(--serif); font-size: 20px; color: var(--brand); margin-bottom: 6px; display: block; }
.timeline-item b { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* ------------------------------------------------------------------ 案例 */
.case-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: all .3s var(--ease);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-thumb { aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 28px; }
.case-industry { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.case-client { font-family: var(--serif); font-size: 21px; margin-bottom: 18px; font-weight: 500; }
.case-facts { display: grid; gap: 14px; margin-bottom: 20px; }
.case-fact { display: grid; grid-template-columns: 76px 1fr; gap: 12px; font-size: 13.5px; line-height: 1.7; }
.case-fact dt { color: var(--ink-mute); }
.case-fact dd { margin: 0; color: var(--ink-soft); }
.case-result {
  background: var(--brand-tint); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: 14px; color: var(--brand-soft); line-height: 1.75;
  border-left: 3px solid var(--brand);
}

/* -------------------------------------------------------------- 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step-item { position: relative; padding: 32px 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.step-item::after {
  content: ""; position: absolute; right: -13px; top: 46px;
  width: 10px; height: 10px; border-top: 1px solid var(--line); border-right: 1px solid var(--line);
  transform: rotate(45deg); display: none;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center; font-family: var(--serif); font-size: 15px; margin-bottom: 16px;
}
.step-item b { display: block; font-size: 16.5px; font-weight: 500; margin-bottom: 8px; }
.step-days { font-size: 12px; color: var(--accent); margin-bottom: 10px; display: block; letter-spacing: .03em; }
.step-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }

/* ---------------------------------------------------------------- FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 40px 24px 0; font-size: 16px; font-weight: 500; color: var(--ink);
  position: relative; transition: color .2s;
}
.faq-q:hover { color: var(--brand); }
.faq-q::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 22px; color: var(--accent); transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 40px 24px 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }

/* ---------------------------------------------------------------- 表单 */
.form-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-sm);
}
.form-title { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; font-weight: 500; }
.form-sub { font-size: 14px; color: var(--ink-mute); margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.field label .req { color: var(--danger); }
.field label .opt { color: var(--ink-mute); font-size: 12px; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); font-size: 14px; transition: border-color .2s, background .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--surface);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.field .err { font-size: 12px; color: var(--danger); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }

.consent-row { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.consent-row input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--brand); }
.form-actions { grid-column: 1/-1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12px; color: var(--ink-mute); }

.form-msg { grid-column: 1/-1; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #EDF5EF; color: var(--success); border: 1px solid #CBE3D5; }
.form-msg.err { background: #FBF0EE; color: var(--danger); border: 1px solid #F0D6D2; }
.form-msg.warn { background: var(--accent-tint); color: var(--warning); border: 1px solid #EBDCC4; }

/* ------------------------------------------------------------- 资料卡片 */
.res-card {
  display: flex; gap: 22px; padding: 28px; background: var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.res-card:hover { border-color: var(--line); box-shadow: var(--shadow); }
.res-icon {
  width: 54px; height: 68px; flex-shrink: 0; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--brand-tint), #FFFFFF);
  border: 1px solid var(--line-soft); display: grid; place-items: center;
  font-size: 10px; letter-spacing: .1em; color: var(--brand); position: relative; overflow: hidden;
}
.res-icon::after {
  content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0;
  border-left: 14px solid transparent; border-top: 14px solid var(--accent);
}
.res-body { flex: 1; min-width: 0; }
.res-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.res-title { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; font-weight: 500; }
.res-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 12px; }
.res-meta { font-size: 12px; color: var(--ink-mute); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------------- 渠道卡片 */
.channel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
/* 首页全渠道入口：桌面每行 4 张（8 张分两行），窄屏按断点回落；收紧内边距适配窄卡 */
.channel-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.channel-grid-4 .channel-card { padding: 18px; gap: 14px; }
.channel-grid-4 .channel-card > div { min-width: 0; }
.channel-card {
  display: flex; gap: 18px; align-items: center; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.channel-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--brand-tint);
  color: var(--brand); display: grid; place-items: center; font-size: 15px; flex-shrink: 0;
  font-family: var(--serif);
}
.channel-qr {
  width: 72px; height: 72px; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--line-soft); flex-shrink: 0; object-fit: contain; padding: 6px;
}
.channel-card b { display: block; font-size: 15px; margin-bottom: 4px; font-weight: 500; }
.channel-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.6; margin-bottom: 8px; }
.channel-id { font-size: 12.5px; color: var(--brand); font-family: var(--mono); }

/* -------------------------------------------------------------- 联系方式 */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.info-list { display: grid; gap: 2px; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.info-item:last-child { border-bottom: none; }
.info-label { width: 92px; flex-shrink: 0; font-size: 13px; color: var(--ink-mute); padding-top: 2px; }
.info-value { flex: 1; font-size: 14.5px; color: var(--ink); line-height: 1.75; }
.info-value strong { font-weight: 500; }
.qr-box {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px; text-align: center;
}
.qr-placeholder {
  width: 160px; height: 160px; margin: 0 auto 16px; border: 1px dashed var(--line);
  border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--bg-alt); color: var(--ink-mute); font-size: 12px; padding: 12px; text-align: center;
}

/* ------------------------------------------------------------------ 底部 */
.site-footer { background: #171F1B; color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-logo { background: #fff; color: var(--brand); }
.footer-brand b { color: #fff; }
.footer-brand p { margin-top: 16px; line-height: 1.85; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.footer-col a, .footer-col li { display: block; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-disclaimer { padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 900px; }

/* ------------------------------------------------------------- AI 客服 */
.ai-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.ai-launcher:hover { transform: scale(1.06); }
.ai-launcher.hidden { display: none; }
.ai-launcher.has-unread::after {
  content: ""; position: absolute; top: 12px; right: 12px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  border: 2px solid var(--brand);
}

.ai-panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 101;
  width: 400px; max-width: calc(100vw - 32px); height: 600px; max-height: calc(100vh - 48px);
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.ai-panel.open { transform: none; opacity: 1; pointer-events: auto; }

.ai-head { padding: 18px 20px; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 12px; }
.ai-head-text { flex: 1; min-width: 0; }
.ai-head-text b { display: block; font-size: 15px; font-weight: 500; }
.ai-head-text span { font-size: 11.5px; color: rgba(255,255,255,.65); }
.ai-head-btn { background: transparent; border: none; color: rgba(255,255,255,.8); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px 6px; border-radius: var(--radius-sm); }
.ai-head-btn:hover { color: #fff; background: rgba(255,255,255,.12); }

.ai-body { flex: 1; overflow-y: auto; padding: 20px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.ai-msg { max-width: 86%; padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.ai-msg.bot { background: var(--surface); border: 1px solid var(--line-soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-msg.user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-msg.typing { color: var(--ink-mute); font-size: 13px; }
.ai-msg.error { background: #FBF0EE; border-color: #F0D6D2; color: var(--danger); }

.ai-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.ai-quick button {
  background: var(--brand-tint); border: 1px solid transparent; color: var(--brand);
  padding: 7px 12px; border-radius: 20px; font-size: 12.5px; cursor: pointer;
  transition: all .2s var(--ease);
}
.ai-quick button:hover { border-color: var(--brand); }

.ai-foot { padding: 14px 16px; border-top: 1px solid var(--line-soft); background: var(--surface); }
.ai-input-row { display: flex; gap: 10px; align-items: flex-end; }
.ai-input {
  flex: 1; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px;
  font-size: 14px; resize: none; max-height: 90px; background: var(--bg); min-height: 42px;
}
.ai-input:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.ai-send {
  width: 42px; height: 42px; border-radius: var(--radius); border: none;
  background: var(--brand); color: #fff; cursor: pointer; flex-shrink: 0; font-size: 15px;
}
.ai-send:disabled { opacity: .5; cursor: not-allowed; }
.ai-disclaimer { font-size: 11px; color: var(--ink-mute); text-align: center; padding-top: 10px; }
.ai-offline-note { font-size: 11.5px; color: var(--warning); background: var(--accent-tint); padding: 8px 16px; text-align: center; }

/* ------------------------------------------------------------ 返回顶部 */
.back-top {
  position: fixed; right: 24px; bottom: 96px; z-index: 95;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: all .3s var(--ease);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { color: var(--brand); border-color: var(--brand); }

/* -------------------------------------------------------------- 动效类 */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* -------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; aspect-ratio: 16/11; }
  .grid-4, .cert-grid { grid-template-columns: repeat(2,1fr); }
  .grid-3, .steps, .channel-grid { grid-template-columns: repeat(2,1fr); }
  .channel-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
  .hero-title { font-size: 34px; }
  .page-hero { padding: 56px 0 44px; }
  .page-hero .hero-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .section-title.serif-lg { font-size: 30px; }
  .section-head { margin-bottom: 36px; }

  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; max-height: 0; overflow: hidden;
    background: var(--surface); border-bottom: 1px solid var(--line-soft);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
    box-shadow: var(--shadow); margin-left: 0;
  }
  .nav-menu.open { max-height: calc(100vh - var(--nav-h)); padding: 8px 20px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-item { width: 100%; }
  .nav-item > a {
    padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 15px;
    display: flex; align-items: center; justify-content: space-between; width: 100%;
  }
  .nav-item > a.active::after { display: none; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    padding: 0 0 8px 16px; min-width: 0; display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-item.has-children > a .nav-caret { transform: rotate(45deg); }
  .nav-item.open.has-children > a .nav-caret { transform: rotate(225deg); }
  /* 移动端重置右对齐下移偏移，避免二级菜单位置错位 */
  .nav-item:last-child.has-children .nav-dropdown,
  .nav-item:nth-last-child(2).has-children .nav-dropdown { left: auto; right: auto; transform: none; }
  /* 移动端为静态流布局，需清掉桌面 hover/focus 的居中位移，否则点开后出现空白错位 */
  .nav-item.has-children:hover .nav-dropdown,
  .nav-item.has-children:focus-within .nav-dropdown { transform: none; }
  .nav-actions { gap: 8px; }

  .grid-2, .grid-3, .grid-4, .cert-grid, .steps, .channel-grid { grid-template-columns: 1fr; }
  .channel-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
  .cap-trust-grid { grid-template-columns: repeat(2,1fr); }
  .hero-metrics { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .hero-metric b { font-size: 30px; }
  .hero-metric span { font-size: 13px; }
  .hero-unit { font-size: 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .res-card { flex-direction: column; gap: 16px; }
  .res-icon { width: 100%; height: 56px; }
  .info-item { flex-direction: column; gap: 6px; }
  .info-label { width: auto; }
  .case-fact { grid-template-columns: 1fr; gap: 2px; }
  .ai-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-width: none; }
  .back-top { right: 16px; bottom: 84px; }
  .trust-strip .grid { gap: 28px; }
  .catalogue-pager { margin-top: 32px; padding-top: 24px; }
  /* 窄屏：搜索框独占一行，不挤压系列 chip、不横向溢出 */
  .catalogue-search { flex: 1 1 100%; width: 100%; min-width: 0; margin-left: 0; }

  /* 移动端 hero 视觉下方的徽章不再绝对定位，避免被裁切 */
  .hero-visual { display: flex; flex-direction: column; overflow: visible; background: none; box-shadow: none; }
  .hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .hero-badge { position: static; margin: -28px 16px 0; z-index: 2; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 29px; }
  .hero-desc { font-size: 15px; }
  .hero-metric b { font-size: 26px; }
  .hero-metric span { font-size: 13px; }
  .hero-unit { font-size: 14px; }
  .cert-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
  .filter-chip { padding: 7px 14px; font-size: 13px; }
  /* 手机端：搜索框与清除按钮点击区放大到 ≥44px */
  .catalogue-search { min-height: 44px; }
  .search-clear { width: 44px; height: 44px; }
  /* 手机端：按钮组保持单行不换行，页码提示另起一行居中，点击区域 ≥44px */
  .catalogue-pager { flex-direction: column; gap: 12px; }
  .pager-btn { min-width: 44px; min-height: 44px; padding: 8px 12px; }
  .pager-status { font-size: 12.5px; }
  /* 易优默认分页：手机端按钮点击区 ≥44px，行数多时自动换行 */
  .catalogue-pager .pager-controls { line-height: 44px; }
  .catalogue-pager .pager-controls li { margin: 0 2px 6px; }
  .catalogue-pager .pager-controls li a { min-width: 44px; min-height: 44px; padding: 8px 10px; }
  .brand-text span { display: none; }
}

/* ----------------------------------------------------------- 滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: 0 50%;
  z-index: 200; pointer-events: none;
}

/* ------------------------------------------------------ 首屏入场动画 */
.hero-anim { opacity: 0; }
body.loaded .hero-anim { animation: heroIn .9s var(--ease) forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-copy > .hero-anim:nth-child(1) { animation-delay: .05s; }
.hero-copy > .hero-anim:nth-child(2) { animation-delay: .15s; }
.hero-copy > .hero-anim:nth-child(3) { animation-delay: .25s; }
.hero-copy > .hero-anim:nth-child(4) { animation-delay: .35s; }
.hero-copy > .hero-anim:nth-child(5) { animation-delay: .45s; }
.hero-visual.hero-anim { animation-delay: .2s; }

/* 数字滚动计数 */
[data-count] { font-variant-numeric: tabular-nums; }

/* 锚点跳转时避开吸顶导航 */
main [id] { scroll-margin-top: 96px; }

/* ----------------------------------------------------- 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .hero-anim { opacity: 1 !important; transform: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-progress { display: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================ 打印样式 */

@media print {
  .site-header, .ai-launcher, .ai-panel, .back-top, .hero-actions { display: none !important; }
  body { background: #fff; }
  .section { padding: 24px 0; }
}
