/* ============================================================
   科力机械 KELI-MACHINE — 现代工业·科技感 共享样式
   纯 Tailwind CSS (Play CDN) + 手写组件
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌橙（仅强调） */
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --brand-200: #fed7aa;
  --brand-300: #fdba74;
  --brand-400: #fb923c;
  --brand-500: #ea580c;
  --brand-600: #c2410c;
  --brand-700: #9a3412;

  /* 近黑深色块 */
  --ink-950: #0b0f14;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;

  /* 表面 */
  --surface: #fafaf9;
  --surface-cool: #f8fafc;
  --card: #ffffff;

  /* 边框 */
  --border: #e5e7eb;
  --border-cool: #e2e8f0;
  --border-soft: #f1f5f9;

  /* 文字 */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  /* 圆角 / 阴影 */
  --radius: 14px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 12px 28px -8px rgba(15, 23, 42, 0.14), 0 4px 10px -4px rgba(15, 23, 42, 0.08);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础 ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--surface);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.font-num, .num {
  font-family: "Inter", "Noto Sans SC", -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 容器 */
.container-x { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 640px) { .container-x { padding-left: 18px; padding-right: 18px; } }

/* ---------- 通用区块标题 ---------- */
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em; }
.section-sub { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-500); border-radius: 2px; }

/* 占位标注（旧版保留） */
.placeholder-note { color: var(--text-faint); font-size: 0.78em; }
.placeholder-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700); font-size: 11px; font-weight: 500;
  border: 1px solid var(--brand-100);
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: all 0.2s var(--ease-out); cursor: pointer; border: 1px solid transparent;
  white-space: nowrap; line-height: 1.2;
}
.btn svg { transition: transform 0.2s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--brand-500); color: #fff; box-shadow: 0 6px 16px -6px rgba(234, 88, 12, 0.5); }
.btn-primary:hover { background: var(--brand-600); transform: scale(1.02); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-outline-dark { background: transparent; color: var(--ink-900); border-color: var(--border); }
.btn-outline-dark:hover { background: var(--surface-cool); border-color: var(--ink-900); }

.btn-ghost-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.16); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   卡片
   ============================================================ */
.modern-card {
  background: var(--card);
  border: 1px solid var(--border-cool);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
  display: flex; flex-direction: column; overflow: hidden;
}
.modern-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}
.modern-card .card-arrow {
  transition: transform 0.22s var(--ease-out);
  color: var(--text-faint);
}
.modern-card:hover .card-arrow { transform: translateX(4px); color: var(--brand-500); }

/* ============================================================
   顶部导航
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; }

/* 第一行：顶部工具条（浅色细条，不吸顶） */
.header-topbar { background: #fff; border-bottom: 1px solid rgba(226, 232, 240, 0.9); }
.header-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 40px; }
.topbar-hotline {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-700); white-space: nowrap;
}
.topbar-hotline svg { color: var(--brand-500); flex: none; }
.topbar-hotline a { font-weight: 600; color: var(--ink-900); }
.topbar-hotline a:hover { color: var(--brand-600); }

/* 第二行：主行（仅此行吸顶，毛玻璃） */
.header-main {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.site-header.is-scrolled .header-main {
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.94);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-img { display: block; height: 70px; width: auto; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brand-500);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 20px; font-family: "Inter", sans-serif;
  box-shadow: 0 4px 10px -3px rgba(234,88,12,0.5);
}
.logo-cn { font-weight: 700; font-size: 20px; color: var(--ink-900); line-height: 1.1; }
.logo-en { font-size: 10px; color: var(--text-faint); letter-spacing: 0.08em; font-family: "Inter", sans-serif; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--text-secondary);
  border-bottom: 2px solid transparent; border-radius: 4px;
  transition: color 0.18s;
}
.nav-item > a:hover { color: var(--ink-900); }
.nav-item > a.is-active { color: var(--ink-900); border-bottom-color: var(--brand-500); font-weight: 600; }
.nav-caret { width: 12px; height: 12px; color: var(--text-faint); transition: transform 0.2s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* 下拉菜单 */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--border-cool); border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.22);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
}
.nav-item:hover .nav-dropdown, .nav-item.open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-label {
  font-size: 11px; font-weight: 600; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 10px 4px;
}
.nav-dropdown a {
  display: block; padding: 8px 10px; font-size: 13.5px; color: var(--text-secondary);
  border-radius: 8px; transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: var(--surface-cool); color: var(--brand-600); }

/* 顶部搜索（位于第一行工具条内，关键样式已内联于 head.html） */
.header-search form {
  display: flex; align-items: center; gap: 8px; height: 32px;
  padding: 0 4px 0 11px; background: #fff;
  border: 1px solid var(--border-cool); border-radius: 9px;
  transition: all 0.2s var(--ease-out);
}
.header-search form:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.header-search .search-icon { flex: none; color: var(--text-muted); }
.header-search input {
  width: 128px; border: 0; outline: 0; background: transparent;
  font-size: 13px; color: var(--ink-900); line-height: 1;
}
.header-search input::placeholder { color: #94a3b8; }
.header-search button {
  flex: none; padding: 6px 12px; border: 0; border-radius: 6px;
  background: var(--brand-500); color: #fff;
  font-size: 12.5px; font-weight: 600; cursor: pointer; line-height: 1.2;
  transition: background 0.2s var(--ease-out);
}
.header-search button:hover { background: var(--brand-600); }

.mobile-menu-btn {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px;
  align-items: center; justify-content: center; color: var(--ink-900);
  border: 1px solid var(--border-cool); background: #fff; cursor: pointer;
}
.mobile-nav {
  display: none; border-top: 1px solid var(--border-soft); background: #fff;
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.mobile-nav a {
  display: block; padding: 14px 24px; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--border-soft); color: var(--ink-900);
}
.mobile-nav a.mobile-sub { padding-left: 40px; font-size: 13.5px; color: var(--text-muted); font-weight: 400; }
.mobile-nav a:active { background: var(--surface-cool); }

/* 移动端抽屉：热线行 */
.mobile-hotline {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 24px; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--border-soft); color: var(--ink-900);
}
.mobile-hotline:active { background: var(--surface-cool); }

/* 移动端抽屉导航内的搜索框 */
.mobile-search { padding: 14px 20px; border-bottom: 1px solid var(--border-soft); }
.mobile-search form {
  display: flex; align-items: center; gap: 8px; height: 44px;
  padding: 0 6px 0 14px; background: #fff;
  border: 1px solid var(--border-cool); border-radius: 11px;
}
.mobile-search form:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.mobile-search .search-icon { flex: none; color: var(--text-muted); }
.mobile-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 14px; color: var(--ink-900); line-height: 1;
}
.mobile-search input::placeholder { color: #94a3b8; }
.mobile-search button {
  flex: none; padding: 9px 16px; border: 0; border-radius: 8px;
  background: var(--brand-500); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.2;
  transition: background 0.2s var(--ease-out);
}
.mobile-search button:hover { background: var(--brand-600); }

@media (max-width: 960px) {
  .header-topbar, .main-nav { display: none; }
  .header-inner { height: 64px; gap: 16px; }
  .logo-img { height: 38px; }
  .logo-cn { font-size: 13px; }
  .logo-en { font-size: 8.5px; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav.is-open { display: block; }
}

/* ============================================================
   Hero（近黑深色块）
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0a1d33 0%, #16385f 55%, #1d4a7c 100%);
  color: #fff;
}
/* 视频背景：铺满 hero、居中裁剪、默认透明，加载完成后由 JS 添加 .is-ready 淡入 */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-video.is-ready { opacity: 1; }
/* 深色遮罩：保证前景文字可读，置于视频之上、装饰层之下 */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(120deg, rgba(10,29,51,0.85) 0%, rgba(22,56,95,0.55) 55%, rgba(29,74,124,0.45) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
}
.hero-glow {
  position: absolute; z-index: 1; pointer-events: none; border-radius: 50%; filter: blur(60px);
}
.hero-glow-1 {
  width: 560px; height: 560px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(234,88,12,0.28), transparent 65%);
}
.hero-glow-2 {
  width: 420px; height: 420px; bottom: -200px; left: -100px;
  background: radial-gradient(circle, rgba(56,189,248,0.12), transparent 65%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  font-size: clamp(36px, 5vw, 56px);
}
.hero .hero-lead { color: #94a3b8; font-size: 16px; line-height: 1.7; max-width: 620px; }
.hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; color: #fdba74;
  background: rgba(234,88,12,0.12); border: 1px solid rgba(234,88,12,0.28);
}

/* 关键数据条 */
.stat-card {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 22px;
}
.stat-card .stat-num {
  font-family: "Inter", sans-serif; font-weight: 800; font-size: 34px; line-height: 1;
  color: #fff; letter-spacing: -0.02em;
}
.stat-card .stat-num .unit { color: var(--brand-400); }
.stat-card .stat-label { font-size: 12.5px; color: #94a3b8; margin-top: 8px; }

/* ============================================================
   标签
   ============================================================ */
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 6px;
  font-size: 11.5px; font-weight: 500; background: var(--surface-cool);
  color: var(--text-secondary); border: 1px solid var(--border-cool);
}
.tag.brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.tag.sky { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }
.tag.green { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }

/* ============================================================
   现代数据表
   ============================================================ */
.data-table-modern {
  width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13.5px;
}
.data-table-modern thead th {
  background: var(--surface-cool);
  text-align: left; font-weight: 600; font-size: 12.5px; color: var(--text-secondary);
  padding: 13px 14px; border-bottom: 1px solid var(--border-cool);
  white-space: normal; word-break: break-word; line-height: 1.35;
}
.data-table-modern tbody td {
  padding: 14px; border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis;
}
.data-table-modern tbody tr { transition: background 0.15s; }
.data-table-modern tbody tr:hover { background: rgba(255, 247, 237, 0.6); }
.data-table-modern tbody tr:last-child td { border-bottom: none; }
.data-table-modern .num { color: var(--ink-900); font-weight: 500; text-align: right; }
.data-table-modern .model-cell {
  font-weight: 700; color: var(--ink-900); font-family: "Inter", sans-serif;
}
.table-wrap {
  border: 1px solid var(--border-cool); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; max-width: 100%;
}
/* Grid 子项默认 min-width:auto 会被宽表格撑破，允许收缩 */
.grid > * { min-width: 0; }
.table-scroll { overflow-x: auto; }
.table-scroll .data-table-modern { min-width: 760px; }
.table-note { font-size: 12.5px; color: var(--text-faint); margin-top: 12px; line-height: 1.6; }

/* ============================================================
   FAQ 手风琴
   ============================================================ */
.faq-item {
  background: #fff; border: 1px solid var(--border-cool); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open { border-color: var(--brand-200); box-shadow: 0 4px 16px -8px rgba(234,88,12,0.18); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: transparent; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink-900); text-align: left;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--surface-cool); }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-cool); color: var(--text-secondary);
  transition: transform 0.25s var(--ease-out), background 0.2s, color 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand-500); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.32s var(--ease-out); }
.faq-answer-inner { padding: 0 22px 20px; font-size: 13.5px; line-height: 1.75; color: var(--text-secondary); }

/* ============================================================
   工艺步骤条
   ============================================================ */
.process-step {
  display: inline-flex; align-items: center; padding: 9px 16px;
  background: #fff; border: 1px solid var(--border-cool); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-800); white-space: nowrap;
}
.process-step.optional {
  background: #fffbeb; border-color: #fde68a; color: #92400e;
}
.process-arrow { color: var(--text-faint); font-size: 16px; margin: 0 4px; }

/* ============================================================
   选型卡片
   ============================================================ */
.select-card {
  background: #fff; border: 1px solid var(--border-cool); border-radius: var(--radius);
  padding: 22px; transition: all 0.22s var(--ease-out);
}
.select-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.select-model { font-family: "Inter", sans-serif; font-weight: 800; font-size: 18px; color: var(--ink-900); }
.select-tag {
  display: inline-block; margin: 8px 0 10px; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; background: var(--surface-cool); color: var(--text-secondary);
}
.select-desc { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb { font-size: 13px; color: var(--text-faint); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .sep { color: #cbd5e1; }
.breadcrumb .current { color: var(--text-primary); font-weight: 500; }

/* ============================================================
   侧栏
   ============================================================ */
.sidebar-widget {
  background: #fff; border: 1px solid var(--border-cool); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
}
.sidebar-widget h3 { font-size: 14px; font-weight: 700; color: var(--ink-900); margin-bottom: 12px; }
.sidebar-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-size: 13.5px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-soft); transition: color 0.15s;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--brand-600); }
.sidebar-link.active { color: var(--brand-600); font-weight: 600; }
.cta-widget {
  background: linear-gradient(120deg, #0a1d33 0%, #16385f 55%, #1d4a7c 100%); color: #fff; border: none;
}
.cta-widget h3 { color: #fff; }
.cta-widget p { font-size: 12.5px; color: #94a3b8; line-height: 1.6; margin-bottom: 14px; }

/* ============================================================
   底部 CTA 区 / Footer（近黑深色块）
   ============================================================ */
.dark-cta {
  position: relative; overflow: hidden; background: #16385f; color: #fff;
  border-radius: var(--radius-lg);
}
.dark-cta .hero-glow-1 { width: 400px; height: 400px; top: -200px; right: -100px; }

.site-footer { background: linear-gradient(120deg, #0a1d33 0%, #16385f 55%, #1d4a7c 100%); color: #94a3b8; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.site-footer a { display: block; font-size: 13px; color: #94a3b8; padding: 5px 0; transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 13px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 12px; color: #64748b;
}

/* ============================================================
   回到顶部
   ============================================================ */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-500); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(234,88,12,0.55);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.25s var(--ease-out);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-600); }

/* ============================================================
   滚动入场动画（默认可见，JS 加 .is-hidden 才隐藏）
   ============================================================ */
.reveal { opacity: 1; transform: translateY(0); }
.reveal.is-hidden { opacity: 0; transform: translateY(16px); }
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* ============================================================
   响应式补充
   ============================================================ */
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .stat-card { padding-left: 0; border-left: none; }
  .process-steps { flex-wrap: wrap; }
}

/* ============================================================
   材质筛选 Chips（L2聚合页）
   ============================================================ */
.filter-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 16px 20px; background: #fff; border: 1px solid var(--border-cool);
  border-radius: var(--radius); margin-bottom: 28px;
}
.filter-chips .filter-label {
  font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-right: 4px;
}
.filter-chip {
  display: inline-flex; align-items: center; padding: 7px 16px;
  border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--surface-cool); color: var(--text-secondary);
  border: 1px solid var(--border-cool); cursor: pointer;
  transition: all 0.18s var(--ease-out);
}
.filter-chip:hover { border-color: var(--brand-300); color: var(--brand-600); }
.filter-chip.active {
  background: var(--brand-500); color: #fff; border-color: var(--brand-500);
  box-shadow: 0 4px 12px -4px rgba(234,88,12,0.4);
}

/* ============================================================
   系列卡片（L2聚合页，含热门型号直达）
   ============================================================ */
.series-card {
  background: var(--card); border: 1px solid var(--border-cool);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s;
  display: flex; flex-direction: column; overflow: hidden;
}
.series-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--border);
}
.series-card.featured { border-color: var(--brand-200); background: linear-gradient(180deg, #fff7ed 0%, #fff 35%); }
.series-card .card-img {
  height: 140px; background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex; align-items: center; justify-content: center; color: #94a3b8;
  font-size: 13px; position: relative; overflow: hidden;
}
.series-card .card-img::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.series-card .card-content { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.series-card .series-name {
  font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.series-card .series-desc {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.6; flex: 1;
}
.series-card .material-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.hot-models {
  border-top: 1px solid var(--border-soft); padding-top: 12px; margin-top: 8px;
}
.hot-models .label { font-size: 11px; color: var(--text-faint); margin-bottom: 7px; font-weight: 500; }
.hot-models .model-links { display: flex; flex-wrap: wrap; gap: 6px; }
.model-link {
  display: inline-flex; align-items: center; padding: 4px 11px;
  border-radius: 7px; font-size: 12px; font-weight: 600;
  background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0;
  font-family: "Inter", sans-serif; transition: all 0.15s;
}
.model-link:hover { background: #dcfce7; border-color: #86efac; }
.series-card .view-all {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--brand-600); font-weight: 600; margin-top: 10px;
}
.series-card .view-all svg { transition: transform 0.2s; }
.series-card:hover .view-all svg { transform: translateX(3px); }

/* ============================================================
   新闻 Tab（新闻列表页）
   ============================================================ */
.news-tabs {
  display: flex; gap: 4px; border-bottom: 2px solid var(--border-soft);
  margin-bottom: 28px; overflow-x: auto;
}
.news-tab {
  padding: 10px 20px; font-size: 14px; font-weight: 500; color: var(--text-muted);
  background: transparent; border: none; border-bottom: 2px solid transparent;
  margin-bottom: -2px; cursor: pointer; white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.news-tab:hover { color: var(--ink-900); }
.news-tab.active { color: var(--brand-600); border-bottom-color: var(--brand-500); font-weight: 600; }
.news-panel { display: none; }
.news-panel.active { display: block; }

/* 新闻卡片 */
.news-card {
  background: var(--card); border: 1px solid var(--border-cool);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  overflow: hidden; transition: transform 0.22s var(--ease-out), box-shadow 0.22s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-card .news-img {
  height: 160px; background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 13px;
}
.news-card .news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-card .news-meta {
  display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-faint); margin-bottom: 8px;
}
.news-card .news-title {
  font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.45; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .news-excerpt {
  font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   历程时间轴（关于我们）
   ============================================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--brand-300), var(--border-soft));
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -32px; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand-500);
  box-shadow: 0 0 0 4px rgba(234,88,12,0.1);
}
.timeline-year {
  font-family: "Inter", sans-serif; font-size: 18px; font-weight: 800; color: var(--brand-600);
  margin-bottom: 4px;
}
.timeline-title { font-size: 15px; font-weight: 600; color: var(--ink-900); margin-bottom: 4px; }
.timeline-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   表单（联系我们）
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--brand-500); margin-left: 2px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 11px 14px; font-size: 14px; color: var(--ink-900);
  background: #fff; border: 1px solid var(--border-cool); border-radius: 10px;
  transition: border-color 0.18s, box-shadow 0.18s; font-family: inherit;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.1);
}
.form-textarea { resize: vertical; min-height: 110px; }

/* 联系信息卡 */
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px; background: #fff; border: 1px solid var(--border-cool);
  border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-card); }
.contact-card .contact-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: var(--brand-50); color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .contact-label { font-size: 12px; color: var(--text-faint); margin-bottom: 3px; }
.contact-card .contact-value { font-size: 14px; font-weight: 600; color: var(--ink-900); }

/* ============================================================
   方案页 7 大模块
   ============================================================ */
.solution-section {
  background: #fff; border: 1px solid var(--border-cool); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.solution-section h2 {
  font-size: 17px; font-weight: 800; color: var(--ink-900); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.solution-section h2 .section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px; background: var(--brand-500);
  color: #fff; font-size: 13px; font-weight: 800; font-family: "Inter", sans-serif;
}

/* 方案卡片（方案列表） */
.solution-card {
  background: var(--card); border: 1px solid var(--border-cool);
  border-left: 3px solid var(--brand-500); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px; box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s, border-left-color 0.22s;
}
.solution-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.solution-card .solution-title { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.solution-card .solution-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   问答页
   ============================================================ */
/* .qa-detail 包裹层已废弃：L3 问答详情改为双栏布局，不再居中限宽 */
.qa-detail { max-width: none; margin: 0; }
.qa-detail .qa-question-title {
  font-weight: 800; color: var(--ink-900);
  line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 20px;
}
.direct-conclusion {
  background: var(--brand-50); border-left: 3px solid var(--brand-500);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin-bottom: 20px;
  font-size: 14.5px; line-height: 1.75; color: var(--ink-800);
}
.direct-conclusion strong { color: var(--brand-700); }
.qa-answer-body { font-size: 14.5px; color: var(--text-secondary); line-height: 1.85; }
.qa-answer-body p { margin-bottom: 14px; }
.qa-answer-body ul { margin: 12px 0; padding-left: 22px; }
.qa-answer-body li { margin-bottom: 8px; }

/* 问答列表分组 */
.qa-group { margin-bottom: 32px; }
.qa-group-title {
  font-size: 16px; font-weight: 700; color: var(--ink-900); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.qa-group-title::before {
  content: ""; width: 4px; height: 18px; background: var(--brand-500); border-radius: 2px;
}
.qa-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; background: #fff; border: 1px solid var(--border-cool);
  border-radius: 10px; margin-bottom: 8px; transition: border-color 0.18s, box-shadow 0.18s;
}
.qa-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-card); }
.qa-item .qa-question-text { font-size: 14px; font-weight: 500; color: var(--ink-800); }
.qa-item .qa-arrow { color: var(--text-faint); transition: transform 0.2s, color 0.2s; flex-shrink: 0; }
.qa-item:hover .qa-arrow { color: var(--brand-500); transform: translateX(3px); }

/* 问答分组卡片（L2 列表页，5 张分组卡全宽网格排布） */
.qa-group-card { padding: 20px; }
.qa-group-card .qa-group-title { margin-bottom: 6px; }
.qa-group-card .qa-group-body { display: flex; flex-direction: column; }
.qa-group-card .qa-item {
  background: transparent; border: none; border-radius: 0;
  border-bottom: 1px solid var(--border-soft); padding: 11px 0; margin-bottom: 0;
}
.qa-group-card .qa-item:last-child { border-bottom: none; }
.qa-group-card .qa-item:hover { border-color: transparent; box-shadow: none; }
.qa-group-card .qa-item .qa-question-text { font-weight: 500; }

/* 问答父栏目分组卡片补充（qa-category.html） */
.qa-group-card { display: flex; flex-direction: column; }
.qa-group-card .qa-group-title { margin-bottom: 4px; }
.qa-group-card .qa-group-title a { color: inherit; text-decoration: none; }
.qa-group-card .qa-group-title a:hover { color: var(--brand-600); }
.qa-group-sub { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0 0 10px; }
.qa-group-more {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto; padding-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--brand-600); text-decoration: none;
}
.qa-group-more:hover { color: var(--brand-700); }
.qa-group-more svg { transition: transform 0.2s; }
.qa-group-card:hover .qa-group-more svg { transform: translateX(3px); }

/* 问答扁平列表（qa-list.html 子栏目页，带分页） */
.qa-flat-list { display: flex; flex-direction: column; gap: 10px; }
.qa-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; background: #fff; border: 1px solid var(--border-cool);
  border-radius: 12px; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.qa-row:hover { border-color: var(--brand-200); box-shadow: var(--shadow-card); transform: translateY(-1px); }
.qa-row-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand-500);
}
.qa-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.qa-row-title { font-size: 15px; font-weight: 600; color: var(--ink-900); line-height: 1.5; }
.qa-row-excerpt {
  font-size: 13px; color: var(--text-muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qa-row-meta { display: flex; align-items: center; gap: 12px; margin-top: 2px; font-size: 12px; color: var(--text-faint); }
.qa-row .qa-arrow { color: var(--text-faint); flex-shrink: 0; margin-top: 9px; transition: transform 0.2s, color 0.2s; }
.qa-row:hover .qa-arrow { color: var(--brand-500); transform: translateX(3px); }

/* ============================================================
   型号页
   ============================================================ */
.flat-level-notice {
  background: #ecfdf5; border: 1px solid #a7f3d0; border-left: 3px solid #10b981;
  border-radius: 10px; padding: 14px 18px; font-size: 13px; color: #065f46;
  line-height: 1.7; margin-bottom: 20px;
}
.flat-level-notice strong { color: #047857; }

/* 参数表（2列键值对） */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table tr { border-bottom: 1px solid var(--border-soft); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 11px 14px; }
.spec-table td:first-child {
  width: 42%; font-weight: 600; color: var(--text-secondary);
  background: var(--surface-cool);
}
.spec-table td:last-child { color: var(--ink-900); font-family: "Inter", "Noto Sans SC", sans-serif; }

/* 三栏配置区 */
.config-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .config-grid { grid-template-columns: 1fr; } }
.config-card {
  background: #fff; border: 1px solid var(--border-cool); border-radius: var(--radius);
  padding: 20px;
}
.config-card h4 {
  font-size: 14px; font-weight: 700; color: var(--ink-900); margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 2px solid var(--brand-100);
}
.config-card ul { list-style: none; padding: 0; margin: 0; }
.config-card li {
  font-size: 13px; color: var(--text-secondary); padding: 5px 0 5px 18px;
  position: relative; line-height: 1.55;
}
.config-card li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; background: var(--brand-500); border-radius: 50%;
}

/* ============================================================
   文章正文（新闻详情）
   ============================================================ */
.article-body { width: 100%; font-size: 15px; line-height: 1.85; color: var(--text-secondary); }
.article-body h2 { font-size: 20px; font-weight: 700; color: var(--ink-900); margin: 32px 0 14px; }
.article-body h3 { font-size: 17px; font-weight: 600; color: var(--ink-900); margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 14px 0; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.article-body th, .article-body td { border: 1px solid var(--border-cool); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--surface-cool); font-weight: 600; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-size: 13px; color: var(--text-faint); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border-soft);
}

/* ============================================================
   关于我们 — 数据卡/资质卡
   ============================================================ */
.about-stat {
  text-align: center; padding: 24px 16px; background: #fff;
  border: 1px solid var(--border-cool); border-radius: var(--radius);
}
.about-stat .num {
  font-family: "Inter", sans-serif; font-size: 36px; font-weight: 800;
  color: var(--brand-600); line-height: 1;
}
.about-stat .label { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.cert-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 16px; background: #fff; border: 1px solid var(--border-cool);
  border-radius: var(--radius); text-align: center;
}
.cert-card .cert-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50);
  color: var(--brand-600); display: flex; align-items: center; justify-content: center;
}
.cert-card .cert-name { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.cert-card .cert-desc { font-size: 12px; color: var(--text-faint); }

/* ============================================================
   响应式补充（新组件）
   ============================================================ */
@media (max-width: 768px) {
  .filter-chips { padding: 14px; }
  .solution-section { padding: 20px; }
  .timeline { padding-left: 28px; }
  .spec-table td:first-child { width: 45%; }
}

/* ============================================================
   打印
   ============================================================ */
@media print {
  .site-header, .back-to-top, .mobile-menu-btn, .footer-bottom { display: none !important; }
  body { background: #fff; }
  .hero, .dark-cta, .site-footer { background: #fff !important; color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   按材料选型页（equipment-material.html）
   材料值读取自各系列栏目的“栏目描述3（def3）”，小写逗号分隔
   ============================================================ */
.anchor-nav {
  position: sticky; top: 114px; z-index: 40;
  background: #fafaf9;
  padding: 14px 0 12px; margin-top: 26px;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 6px 16px -12px rgba(15, 23, 42, 0.18);
}
.anchor-nav-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; align-items: center; border: 1px solid var(--border-cool); border-radius: 14px; padding: 8px 10px; background: #fff; }
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-label {
  flex: none; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; color: #64748b;
  padding-right: 2px; white-space: nowrap;
}
.anchor-link {
  flex: none; display: inline-flex; align-items: center;
  padding: 5px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: #fff; color: var(--btn-color, #64748b);
  border: 1px solid var(--btn-color, #cbd5e1); cursor: pointer;
  transition: all .18s var(--ease-out);
}
.anchor-link:hover { background: var(--btn-soft, #f8fafc); transform: translateY(-1px); }
.anchor-link.active { background: var(--btn-color, #64748b); color: #fff; border-color: var(--btn-color, #64748b); box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.5); }
.anchor-link[data-mat="pe"]   { --btn-color: #10b981; --btn-soft: #ecfdf5; }
.anchor-link[data-mat="ps"]   { --btn-color: #3b82f6; --btn-soft: #eff6ff; }
.anchor-link[data-mat="pet"]  { --btn-color: #8b5cf6; --btn-soft: #f5f3ff; }
.anchor-link[data-mat="pla"]  { --btn-color: #d97706; --btn-soft: #fffbeb; }
.anchor-link[data-mat="pbat"] { --btn-color: #ec4899; --btn-soft: #fdf2f8; }
.anchor-link[data-mat="pp"]   { --btn-color: #06b6d4; --btn-soft: #ecfeff; }
@media (max-width: 640px) {
  .anchor-nav { top: 64px; }
  .anchor-nav-inner { flex-wrap: wrap; overflow-x: visible; }
}
.mat-section { scroll-margin-top: 190px; margin-top: 34px; }
.mat-section-head { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-cool); background: #fff; }
.mat-section-head-top {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 20px 24px; color: #fff;
  background: linear-gradient(120deg, #0a1d33 0%, #16385f 55%, #1d4a7c 100%);
}
.mat-section-name { font-size: 21px; font-weight: 800; }
.mat-section-en { font-size: 11px; color: #94a3b8; letter-spacing: .1em; margin-top: 2px; }
.mat-section-chips { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.mat-chip {
  font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: #fdba74;
  border: 1px solid rgba(234, 88, 12, 0.35);
}
.mat-section-desc { padding: 16px 24px; font-size: 13.5px; line-height: 1.8; color: var(--text-secondary); }
.mat-grid { margin-top: 18px; }
.mat-empty {
  grid-column: 1 / -1; padding: 26px; text-align: center; font-size: 13.5px;
  color: var(--text-faint); background: #fff;
  border: 1px dashed var(--border-cool); border-radius: var(--radius);
}

/* ============================================================
   ≤960px 修复：header 吸顶失效
   原因：该断点下顶部工具条(.header-topbar)被隐藏，父容器 .site-header
   高度被压到与 .header-main 等高，sticky 失去滚动空间而失效（header 随页面滚走）。
   修复：把吸顶从 .header-main 移到 .site-header（父容器=body，滚动空间无限），
   材料锚点导航 top 对齐到吸顶后 header 的实际高度(64px+1px border=65px)。
   ============================================================ */
@media (max-width: 960px) {
  .site-header { position: sticky; top: 0; z-index: 50; }
  .header-main { position: static; }
  .anchor-nav { top: 65px; }
  .mat-section { scroll-margin-top: 140px; }
  /* 移动端：材料按钮缩小 */
  .anchor-link { padding: 5px 8px; font-size: 12.5px; }
}
