/* =============================================================
   九如软件官网 · 主样式表
   结构：变量 → 基础 → 工具类 → 导航 → Hero → 通用区块
        → 关于 → 业务 → 产品(Tab) → 优势 → 流程 → 案例
        → 资质 → 联系 → 页脚 → 动画 → 响应式
   ============================================================= */

/* ---------- 设计令牌（主题色改这里即可全站生效） ---------- */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-deep: #082f6e;
  --primary-light: #00B4D8;
  --accent: #00C9A7;
  --warm: #FF6B35;
  --warm-dark: #e8542a;

  --ink: #16223b;
  --muted: #5a6b85;
  --line: #e4ebf3;
  --bg: #f5f8fc;
  --white: #ffffff;

  --grad-primary: linear-gradient(120deg, #0D47A1 0%, #1565C0 45%, #00B4D8 100%);
  --grad-warm: linear-gradient(120deg, #FF6B35 0%, #ff8a5b 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px rgba(22, 34, 59, .06);
  --shadow: 0 14px 40px rgba(22, 34, 59, .10);
  --shadow-lg: 0 28px 70px rgba(22, 34, 59, .16);

  --container: 1200px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.25; font-weight: 700; }

/* ---------- 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 26px rgba(21, 101, 192, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(21, 101, 192, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- 区块标题 ---------- */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(21, 101, 192, .08);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: 1px;
}
.section-sub {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* =============================================================
   顶部导航
   ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s;
}
/* 在 Hero 上透明、白字；滚动后白底深字 */
.site-header:not(.scrolled) { background: transparent; }
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 4px 20px rgba(22, 34, 59, .08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--primary); }
.logo-mark { display: inline-flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 18px; letter-spacing: 1px; }
.logo-text small { font-size: 10px; letter-spacing: 2px; color: var(--muted); font-weight: 600; }
/* 透明态：白字 */
.site-header:not(.scrolled) .logo { color: #fff; }
.site-header:not(.scrolled) .logo-text small { color: rgba(255, 255, 255, .7); }
.site-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, .9); }
.site-header:not(.scrolled) .nav-link:hover { color: #fff; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--primary-light);
  transition: width .25s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 9px 22px; font-size: 14px; }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.site-header:not(.scrolled) .nav-toggle { color: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   Hero 首屏
   ============================================================= */
.hero {
  position: relative;
  background: var(--grad-primary);
  color: #fff;
  padding: calc(var(--header-h) + 70px) 0 60px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-1 { width: 420px; height: 420px; background: #00B4D8; top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: #00C9A7; bottom: -140px; left: -100px; opacity: .35; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
}
.hero-badge {
  display: inline-block;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(36px, 5.4vw, 62px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.15;
}
.grad {
  background: linear-gradient(90deg, #7fe9ff, #00C9A7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 22px);
  margin: 18px 0 14px;
  font-weight: 500;
  opacity: .95;
}
.hero-desc {
  font-size: 15.5px;
  line-height: 1.85;
  opacity: .88;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero 右侧装饰：轨道 */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.orbit {
  position: relative;
  width: min(380px, 80vw);
  height: min(380px, 80vw);
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .28);
}
.orbit::after { inset: 42px; border-style: solid; border-color: rgba(255, 255, 255, .14); }
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.orbit-core span { font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.orbit-tag {
  position: absolute;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  animation: floaty 4s ease-in-out infinite;
}
.orbit-tag.t1 { top: 4%; left: 50%; transform: translateX(-50%); }
.orbit-tag.t2 { top: 50%; right: -6%; transform: translateY(-50%); animation-delay: .6s; }
.orbit-tag.t3 { bottom: 4%; left: 50%; transform: translateX(-50%); animation-delay: 1.2s; }
.orbit-tag.t4 { top: 50%; left: -6%; transform: translateY(-50%); animation-delay: 1.8s; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* 数据展示区 */
.stats {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 34px 20px;
  backdrop-filter: blur(8px);
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 46px;
  background: rgba(255, 255, 255, .22);
}
.stat-num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
}
.stat-num .count { background: linear-gradient(90deg, #fff, #aef3e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 14px; opacity: .85; margin-top: 6px; }

/* =============================================================
   关于我们
   ============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 50px;
  align-items: start;
}
.about-text p { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.about-text blockquote {
  margin: 24px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--primary);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}
.about-vision { display: flex; flex-direction: column; gap: 20px; }
.vision-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.vision-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vision-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.vision-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.vision-card p { color: var(--muted); margin: 0; font-size: 15px; }

/* 核心价值观 */
.values {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value-item {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.value-item:hover { transform: translateY(-5px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.value-ico {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(21, 101, 192, .3);
}
.value-item h4 { font-size: 19px; margin-bottom: 6px; }
.value-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* =============================================================
   核心业务
   ============================================================= */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.biz-card {
  display: block;
  padding: 36px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-ico {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(21, 101, 192, .1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background .3s, color .3s;
}
.biz-ico svg { width: 32px; height: 32px; }
.biz-ico.warm { background: rgba(255, 107, 53, .12); color: var(--warm); }
.biz-card:hover .biz-ico { background: var(--grad-primary); color: #fff; }
.biz-card:hover .biz-ico.warm { background: var(--grad-warm); }
.biz-card h3 { font-size: 21px; margin-bottom: 10px; }
.biz-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; min-height: 44px; }
.biz-more { font-size: 14px; color: var(--primary); font-weight: 600; }

/* =============================================================
   产品中心（Tab）
   ============================================================= */
.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.product-tab {
  padding: 12px 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.product-tab:hover { color: var(--primary); border-color: var(--primary); }
.product-tab.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(21, 101, 192, .32);
}
.product-panel { display: none; }
.product-panel.active {
  display: block;
  animation: fadeUp .5s var(--ease);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.product-layout {
  display: grid;
  grid-template-columns: 1.55fr .9fr;
  gap: 44px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.product-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.product-badge.warm { background: var(--grad-warm); }
.product-info h3 { font-size: 26px; margin-bottom: 12px; }
.product-orient { color: var(--primary); font-weight: 600; font-size: 15px; margin: 0 0 16px; }
.product-info > p { color: var(--muted); font-size: 15.5px; line-height: 1.85; margin: 0 0 22px; }
.feat-title {
  font-size: 16px;
  margin-bottom: 14px;
  position: relative;
  padding-left: 14px;
}
.feat-title::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 4px; height: 16px; border-radius: 2px; background: var(--primary);
}
.feat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin-bottom: 22px;
}
.feat-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}
.feat-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 17px; height: 17px;
  background: rgba(0, 201, 167, .15);
  color: var(--accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.product-customer {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.product-customer strong { color: var(--ink); }
.product-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  transition: gap .25s var(--ease), color .25s;
}
.product-detail-link:hover { gap: 10px; color: var(--primary-dark); }

.product-value {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  color: #fff;
}
.product-value h4 { font-size: 17px; margin-bottom: 22px; opacity: .95; }
.value-stat { margin-bottom: 22px; }
.value-stat:last-child { margin-bottom: 0; }
.value-stat b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #fff, #9fe9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.value-stat span { font-size: 13.5px; opacity: .88; margin-top: 6px; display: block; }

/* =============================================================
   技术优势
   ============================================================= */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.adv-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.adv-card:hover::after { transform: scaleX(1); }
.adv-num {
  font-size: 40px;
  font-weight: 800;
  color: rgba(21, 101, 192, .14);
  line-height: 1;
  margin-bottom: 14px;
}
.adv-card h3 { font-size: 18px; margin-bottom: 12px; }
.adv-card p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.75; }

/* =============================================================
   服务流程
   ============================================================= */
.process-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  position: relative;
  transition: transform .3s var(--ease), background .3s;
}
.process-step:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow); }
.step-no {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(21, 101, 192, .3);
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* =============================================================
   客户案例
   ============================================================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-thumb {
  height: 160px;
  display: flex; align-items: flex-end;
  padding: 22px;
  color: #fff;
  position: relative;
}
.case-thumb span {
  font-size: 15px;
  font-weight: 700;
  padding: 6px 16px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.thumb-blue { background: linear-gradient(135deg, #0D47A1, #1565C0); }
.thumb-cyan { background: linear-gradient(135deg, #00B4D8, #00C9A7); }
.thumb-warm { background: linear-gradient(135deg, #FF6B35, #ff9a5b); }
.thumb-green { background: linear-gradient(135deg, #00C9A7, #2dd4bf); }
.case-body { padding: 24px; }
.case-body h3 { font-size: 17px; margin-bottom: 12px; line-height: 1.4; min-height: 48px; }
.case-bg, .case-result { font-size: 14px; color: var(--muted); margin: 0 0 8px; line-height: 1.7; }
.case-result { color: var(--ink); }
.case-result strong { color: var(--primary); }

/* =============================================================
   荣誉资质
   ============================================================= */
/* 证书卡片：占位图框（真图到位后换 <img>）+ 认定机构 + 官方核验通道 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cert-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.cert-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 118px;
  margin-bottom: 14px;
  border: 1.5px dashed #b9c8dd;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(180deg, #f4f8fd 0%, #eef4fb 100%);
  color: var(--muted);
  font-size: 12.5px;
}
.cert-thumb.cert-real {
  height: 230px;               /* ISO 三列大图展示，与证书竖版比例匹配 */
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.cert-thumb.cert-real a { display: block; width: 100%; height: 100%; }
.cert-thumb.cert-real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
/* 2026-11-12 荣誉区两层结构：ISO 实拍三列 + 资质徽章格（无扫描件，以数字/称号呈现） */
.cert-grid.iso-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.cert-group-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}
.award-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.award-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 12px 18px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.award-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.award-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}
.award-num small { font-size: 13px; font-weight: 600; margin-left: 2px; }
.award-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.45;
}
.award-issuer {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 10px;
  min-height: 2.6em;
}
.cert-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-issuer {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}
.cert-verify {
  display: inline-block;
  font-size: 12.5px;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 1px;
  line-height: 1.6;
}
.cert-verify:hover { color: var(--primary-dark); }
.cert-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* =============================================================
   联系我们
   ============================================================= */
.section-contact { background: var(--bg); }
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.contact-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 40px; justify-content: center; }
.contact-list li { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 260px; justify-content: center; }
.ci-ico {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(21, 101, 192, .28);
}
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list strong { font-size: 16px; font-weight: 600; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-intro { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-field label em { color: var(--warm); font-style: normal; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
}
.form-field.invalid input,
.form-field.invalid select { border-color: var(--warm); }
.form-tip { font-size: 14px; margin: 14px 0 0; text-align: center; min-height: 20px; }
.form-tip.ok { color: var(--accent); }
.form-tip.err { color: var(--warm); }

/* =============================================================
   页脚
   ============================================================= */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, .75); padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
}
.logo-light { color: #fff; }
.logo-light small { color: rgba(255, 255, 255, .6) !important; }
.footer-tag { margin: 16px 0 0; font-size: 14px; opacity: .8; }
.footer-col h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--primary-light); }
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
  margin-bottom: 11px;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 13px; opacity: .65; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21, 101, 192, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }

/* =============================================================
   行业洞察（2026-11-13 上线：首页栏目入口 + 白皮书下载条）
   ============================================================= */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ins-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ins-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ins-cover {
  height: 128px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; position: relative; overflow: hidden;
}
.ins-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.ins-cover b { position: relative; font-size: 23px; font-weight: 800; letter-spacing: 4px; }
.ins-cover span { position: relative; font-size: 12px; letter-spacing: 2px; opacity: .85; margin-top: 6px; }
.ins-cover.ic-blue { background: linear-gradient(135deg, #0D47A1, #1565C0); }
.ins-cover.ic-cyan { background: linear-gradient(135deg, #1565C0, #00B4D8); }
.ins-cover.ic-warm { background: linear-gradient(135deg, #e8542a, #FF6B35); }
.ins-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.ins-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.ins-meta .ins-cat { color: var(--primary); font-weight: 700; background: rgba(21,101,192,.08); padding: 3px 12px; border-radius: 999px; }
.ins-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.ins-card h3 a { transition: color .2s; }
.ins-card h3 a:hover { color: var(--primary); }
.ins-sum { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 18px; flex: 1; }
.ins-more { color: var(--primary); font-weight: 600; font-size: 14.5px; }
.ins-more:hover { text-decoration: underline; }

/* 白皮书下载条 */
.wp-band {
  margin-top: 28px; padding: 26px 32px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: #fff; border: 1px dashed rgba(21,101,192,.45); border-radius: var(--radius-lg);
}
.wp-band .wp-band-ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-primary); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
}
.wp-band .wp-band-txt { flex: 1; min-width: 240px; }
.wp-band h3 { font-size: 17.5px; margin-bottom: 6px; }
.wp-band p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.7; }
.wp-band .wp-band-links { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1024px) { .ins-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .ins-grid { grid-template-columns: 1fr; }
  .wp-band { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   滚动入场动画
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
/* 逐项延迟（同一行的卡片错开） */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* 尊重用户的减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   响应式
   ============================================================= */
@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-visual .orbit { width: 260px; height: 260px; }
  .orbit-core { width: 100px; height: 100px; }
  .about-grid, .product-layout { grid-template-columns: 1fr; }
  .product-value { order: -1; }
  .values, .biz-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid.iso-grid { grid-template-columns: repeat(3, 1fr); }
  .award-grid { grid-template-columns: repeat(3, 1fr); }
  .process-flow { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* 移动端导航：抽屉式 */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h); right: 0;
    width: min(82vw, 340px);
    height: calc(100vh - var(--header-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px;
    box-shadow: -10px 0 40px rgba(22, 34, 59, .14);
    transform: translateX(110%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav-menu.open { transform: none; }
  .nav-link { color: var(--ink); padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .site-header:not(.scrolled) .nav-link { color: var(--ink); }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; padding: 24px 14px; }
  .stat-item:nth-child(odd)::before { display: none; }
  .stat-item + .stat-item::before { height: 36px; }
  .case-grid, .cert-grid, .cert-grid.iso-grid { grid-template-columns: 1fr; }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-list { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .product-layout { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions .btn { flex: 1; }
  .contact-list { flex-direction: column; gap: 22px; }
  .contact-list li { justify-content: flex-start; min-width: auto; }
}

@media (max-width: 480px) {
  .values, .biz-grid, .adv-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
}

/* =============================================================
   2026-11 整改新增：口径注释 / 发展沿革 / 服务承诺 / 案例标注
   / 联系表单布局 / 截图展示位（配套改进诊断报告整改）
   ============================================================= */

/* 首屏数据口径注释 */
.stats-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .5px;
}

/* 关于我们 · 发展沿革 */
.milestone {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.milestone-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.milestone-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.milestone-item b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.milestone-item span { font-size: 13.5px; color: var(--muted); }

/* 服务流程 · 量化服务承诺 */
.promise-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(21, 101, 192, .06), rgba(0, 201, 167, .07));
  border: 1px dashed rgba(21, 101, 192, .3);
}
.promise-item { text-align: center; }
.promise-item b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.promise-item span { font-size: 13.5px; color: var(--muted); }

/* 客户案例 · 真实案例 / 解决方案示例 标注 */
.case-flag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.flag-real { color: #0b7a5e; background: rgba(0, 201, 167, .14); border: 1px solid rgba(0, 201, 167, .45); }
.flag-demo { color: #8a6d3b; background: rgba(255, 179, 71, .13); border: 1px solid rgba(230, 160, 60, .5); }
.case-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* 联系我们 · 信息 + 表单双栏 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}
.contact-info { text-align: center; }
.contact-list strong a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list strong a:hover { color: var(--primary); text-decoration: underline; }
.contact-promise {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}
.contact-qr {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.contact-qr img {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  background: #fff;
}
.contact-qr span { font-size: 13px; color: var(--muted); }

/* 表单提交按钮整行 */
.btn-block { width: 100%; padding: 14px 0; font-size: 15.5px; }

/* 页脚联系方式内链接 */
.footer-col p a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.footer-col p a:hover { color: #fff; }

/* 系统截图展示位（启用产品页截图区块时使用） */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.screenshot-grid figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.screenshot-grid img { display: block; width: 100%; height: auto; }

@media (max-width: 1024px) {
  .milestone, .promise-band { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .milestone, .promise-band { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
}
