/* ============================================================
   北京志瑞达科技有限公司 — 企业官网样式
   工业蓝 + 深灰 · 高端简约工业风 · 响应式
   ============================================================ */

:root {
  /* 主色系 */
  --blue: #1a5fb4;          /* 工业主蓝 */
  --blue-dark: #123f78;
  --blue-darker: #0d2c54;
  --blue-light: #3b82d6;
  --blue-ghost: rgba(26, 95, 180, 0.08);

  /* 中性色 */
  --gray-900: #14181d;      /* 近黑深灰 */
  --gray-800: #1d232b;
  --gray-700: #2a323c;
  --gray-600: #4a5563;
  --gray-500: #6b7684;
  --gray-400: #9aa3ae;
  --gray-300: #c6ccd4;
  --gray-200: #e3e7ec;
  --gray-100: #f2f4f7;
  --gray-50: #f8fafb;

  --bg-page: #f7f9fa;
  --bg-white: #ffffff;
  --border: #e3e7ec;

  --accent: #2f7fd1;
  --warn: #e0a03c;

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", "Courier New", monospace;

  /* 版式 */
  --container: 1280px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(13, 44, 84, 0.08);
  --shadow-md: 0 6px 24px rgba(13, 44, 84, 0.1);
  --shadow-lg: 0 16px 48px rgba(13, 44, 84, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

/* ---------- 版式 ---------- */
h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--gray-900);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 区块标题 */
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
}
.sec-head.center .sec-tag::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
}

.sec-title {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: 0.01em;
}
.sec-sub {
  margin-top: 12px;
  color: var(--gray-500);
  max-width: 720px;
  font-size: 15.5px;
}
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); }

.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-outline { border-color: var(--gray-300); color: var(--gray-700); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }

.btn .ico { width: 16px; height: 16px; flex: none; }

/* ---------- 顶部导航 ---------- */
.topbar {
  background: var(--gray-900);
  color: var(--gray-400);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a { color: var(--gray-400); }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 22px; align-items: center; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  flex: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--blue-dark);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 22px;
  height: 22px;
  background: var(--blue-light);
  border-radius: 4px;
  transform: rotate(45deg);
  opacity: 0.55;
}
.logo-mark span { position: relative; z-index: 1; }
.logo-text { line-height: 1.2; }
.logo-text b {
  display: block;
  font-size: 18px;
  color: var(--gray-900);
  letter-spacing: 0.06em;
}
.logo-text small {
  display: block;
  font-size: 10.5px;
  color: var(--gray-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  position: relative;
}
.nav a:hover { color: var(--blue); background: var(--blue-ghost); }
.nav a.active { color: var(--blue); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.header-cta { display: flex; gap: 12px; align-items: center; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}
.header-phone svg { width: 17px; height: 17px; color: var(--blue); }

/* 移动端菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.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); }

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.mobile-nav.open { max-height: 520px; box-shadow: var(--shadow-lg); }
.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a.active { color: var(--blue); font-weight: 600; background: var(--blue-ghost); }

/* ---------- 页面 Banner ---------- */
.page-banner {
  position: relative;
  background:
    linear-gradient(120deg, var(--gray-900) 0%, var(--blue-darker) 100%);
  color: #fff;
  padding: 88px 0 76px;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 80px);
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.page-banner .container { position: relative; z-index: 1; }
.banner-crumb {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.banner-crumb a:hover { color: #fff; }
.banner-title {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 46px);
  letter-spacing: 0.02em;
}
.banner-desc {
  margin-top: 14px;
  color: var(--gray-300);
  max-width: 640px;
  font-size: 15.5px;
}

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.dark { background: var(--gray-900); }
.section.dark .sec-title { color: #fff; }
.section.dark .sec-sub { color: var(--gray-400); }
.section.gray { background: var(--gray-100); }
.section.blue { background: var(--blue-darker); }

/* ---------- 卡片 ---------- */
.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: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 95, 180, 0.35);
}

.card-ico {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--blue-ghost);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-ico svg { width: 26px; height: 26px; }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--gray-500); font-size: 14.5px; }

/* 卡片顶部强调线 */
.card.line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 40px;
  height: 3px;
  background: var(--blue);
  border-radius: 0 0 3px 3px;
}

/* 数字统计 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 34px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
}
.stat b {
  display: block;
  font-size: clamp(30px, 3.5vw, 44px);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
}
.stat b i { font-style: normal; color: var(--blue-light); }
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--gray-400);
}

/* ---------- 列表 ---------- */
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  color: var(--gray-600);
  font-size: 15px;
}
.check-list li svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
  margin-top: 4px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12.5px;
  border-radius: 100px;
  background: var(--blue-ghost);
  color: var(--blue);
  font-weight: 500;
  border: 1px solid rgba(26, 95, 180, 0.2);
}
.tag.gray {
  background: var(--gray-100);
  color: var(--gray-600);
  border-color: var(--gray-200);
}

/* ---------- 面包屑区块（正文内） ---------- */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--gray-500);
  padding: 22px 0;
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--gray-400); }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 72px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text small { color: var(--gray-500); }
.footer-brand p { margin-top: 18px; line-height: 1.9; font-size: 13.5px; }

.footer ul li { margin-bottom: 11px; }
.footer ul a { color: var(--gray-400); font-size: 13.5px; }
.footer ul a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.7;
}
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--blue-dark); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   首页
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 78% 20%, rgba(59, 130, 214, 0.28), transparent 60%),
    linear-gradient(115deg, var(--gray-900) 0%, var(--blue-darker) 58%, #123a6e 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 90px);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  min-height: 620px;
  padding: 90px 0 100px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 13px;
  color: var(--gray-300);
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.05);
  margin-bottom: 26px;
}
.hero-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.22;
  letter-spacing: 0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: rgba(59, 130, 214, 0.25);
  z-index: -1;
}
.hero-sub {
  margin-top: 22px;
  color: var(--gray-300);
  font-size: 16.5px;
  max-width: 560px;
  line-height: 1.85;
}
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 46px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-meta div b {
  display: block;
  font-size: 26px;
  color: #fff;
  font-weight: 800;
}
.hero-meta div b i { font-style: normal; color: var(--blue-light); }
.hero-meta div span { font-size: 13px; color: var(--gray-400); }

/* Hero 右侧：工业面板视觉 */
.hero-visual {
  position: relative;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
}
.hero-visual-head b { color: #fff; letter-spacing: 0.14em; font-family: var(--font-mono); }
.hero-visual-body { display: grid; gap: 12px; margin-top: 18px; }
.hv-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  font-size: 13.5px;
  color: var(--gray-300);
}
.hv-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.hv-row b { color: #fff; font-weight: 600; margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; }
.hv-row .bar {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.09);
  overflow: hidden;
  max-width: 130px;
}
.hv-row .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 4px;
  animation: grow 2.4s var(--ease) both;
}
@keyframes grow { from { width: 0 !important; } }
.hv-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-500);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* 首页业务板块 */
.biz-card { overflow: hidden; }
.biz-card .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.biz-card h3 { font-size: 20px; }
.biz-card p { margin-top: 10px; }
.biz-card .link-more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.biz-card .link-more svg { width: 15px; height: 15px; transition: transform 0.25s; }
.biz-card:hover .link-more svg { transform: translateX(4px); }

/* 优势区 */
.adv-item {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-200);
}
.adv-item:last-child { border-bottom: none; }
.adv-num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--blue);
  font-weight: 700;
  flex: none;
  padding-top: 2px;
}
.adv-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.adv-item p { color: var(--gray-500); font-size: 14.5px; }

/* 产品预览卡 */
.prod-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26,95,180,0.35); }
.prod-thumb {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.prod-thumb .cat-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(13, 44, 84, 0.85);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.prod-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 18px; }
.prod-body p { color: var(--gray-500); font-size: 14px; margin-top: 8px; flex: 1; }
.prod-body .meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
}
.prod-body .meta a { color: var(--blue); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.prod-body .meta a svg { width: 14px; height: 14px; }

/* SVG 生成缩略图 */
.svg-art { width: 100%; height: 100%; position: absolute; inset: 0; }

/* 首页案例 */
.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.5s var(--ease);
}
.case-bg img { width: 100%; height: 100%; object-fit: cover; }
.case-card:hover .case-bg { transform: scale(1.04); }
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,44,84,0.92) 0%, rgba(13,44,84,0.35) 55%, rgba(13,44,84,0.1) 100%);
  z-index: 1;
}
.case-info { position: relative; z-index: 2; padding: 26px; color: #fff; }
.case-info .tag { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.25); margin-bottom: 12px; }
.case-info h3 { color: #fff; font-size: 19px; }
.case-info p { color: var(--gray-300); font-size: 13.5px; margin-top: 8px; }

/* 下载 CTA 区 */
.cta-panel {
  background: linear-gradient(120deg, var(--blue-darker), var(--blue-dark));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 60px);
}
.cta-panel h2 { color: #fff; font-size: clamp(22px, 2.8vw, 32px); }
.cta-panel p { color: var(--gray-300); margin-top: 10px; max-width: 560px; font-size: 15px; }
.cta-panel .btn { position: relative; z-index: 1; flex: none; }

/* ============================================================
   产品中心
   ============================================================ */

/* 分类锚点导航 */
.cat-nav {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  position: sticky;
  top: 90px;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.cat-nav a {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.2s;
}
.cat-nav a:hover, .cat-nav a.active { background: var(--blue); color: #fff; }

/* 分类区块 */
.cat-section { padding-top: 64px; }
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-900);
}
.cat-head .idx {
  font-family: var(--font-mono);
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}
.cat-head h2 { font-size: 24px; }
.cat-head p { color: var(--gray-500); font-size: 14px; margin-left: auto; text-align: right; }

/* ============================================================
   产品详情页
   ============================================================ */

.prod-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.prod-hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 380px;
  position: relative;
  background: var(--gray-900);
}
.prod-hero-info .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.prod-hero-info h1 { font-size: clamp(26px, 3vw, 36px); }
.prod-hero-info .lead {
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 15.5px;
  line-height: 1.9;
}
.prod-facts {
  margin-top: 26px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 22px;
}
.prod-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 14px;
}
.prod-facts div:last-child { border-bottom: none; }
.prod-facts span { color: var(--gray-500); flex: none; }
.prod-facts b { color: var(--gray-800); font-weight: 500; text-align: right; }
.prod-hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 详情章节 */
.detail-sec { padding: 52px 0; border-top: 1px solid var(--gray-200); }
.detail-sec h2 { font-size: 24px; margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.detail-sec h2::before {
  content: "";
  width: 5px;
  height: 24px;
  background: var(--blue);
  border-radius: 3px;
}
.detail-text { color: var(--gray-600); max-width: 800px; }
.detail-text p { margin-bottom: 14px; }

/* 参数表 */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.spec-table th { background: var(--gray-100); color: var(--gray-700); font-weight: 600; width: 220px; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--gray-600); }
.spec-table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* 下载卡片 */
.dl-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.25s var(--ease);
}
.dl-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.dl-ico {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue-ghost);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.dl-ico svg { width: 22px; height: 22px; }
.dl-info { flex: 1; min-width: 0; }
.dl-info b { display: block; font-size: 15px; color: var(--gray-900); }
.dl-info span { font-size: 12.5px; color: var(--gray-500); }

/* ============================================================
   下载中心
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-bar button {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid var(--gray-300);
  background: #fff;
  color: var(--gray-600);
  font-size: 14px;
  transition: all 0.2s;
}
.filter-bar button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-bar button:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

.dl-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 14px;
  transition: all 0.25s var(--ease);
}
.dl-row:hover { box-shadow: var(--shadow-md); border-color: rgba(26,95,180,0.4); transform: translateX(4px); }
.dl-row .dl-ico { width: 50px; height: 50px; }
.dl-row .dl-ico svg { width: 25px; height: 25px; }
.dl-row-main { flex: 1; min-width: 0; }
.dl-row-main b { display: block; font-size: 15.5px; color: var(--gray-900); }
.dl-row-main span { font-size: 13px; color: var(--gray-500); display: block; margin-top: 3px; }
.dl-row-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-row .btn { flex: none; }

/* ============================================================
   案例 / 新闻
   ============================================================ */
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s var(--ease);
}
.news-item:hover { box-shadow: var(--shadow-md); border-color: rgba(26,95,180,0.35); }
.news-date {
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 8px;
}
.news-date b { font-size: 30px; color: var(--blue); line-height: 1.1; font-weight: 800; }
.news-date span { font-size: 12.5px; color: var(--gray-500); margin-top: 4px; }
.news-item h3 { font-size: 17.5px; }
.news-item h3 a:hover { color: var(--blue); }
.news-item p { color: var(--gray-500); font-size: 14px; margin-top: 8px; }
.news-item .news-meta { margin-top: 12px; font-size: 12.5px; color: var(--gray-400); display: flex; gap: 18px; }

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.info-item:last-child { border-bottom: none; }
.info-ico {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--blue-ghost); color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.info-ico svg { width: 23px; height: 23px; }
.info-item h3 { font-size: 16px; margin-bottom: 5px; }
.info-item p { color: var(--gray-500); font-size: 14.5px; }

.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-panel h2 { font-size: 21px; margin-bottom: 6px; }
.form-panel > p { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item { display: flex; flex-direction: column; gap: 7px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 13.5px; font-weight: 600; color: var(--gray-700); }
.form-item label i { color: #d64545; font-style: normal; }
.form-item input,
.form-item select,
.form-item textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-item textarea { resize: vertical; min-height: 110px; }
.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12);
  background: #fff;
}
.form-note { font-size: 12.5px; color: var(--gray-400); margin-top: 14px; text-align: center; }

/* ============================================================
   页面通用横排服务条
   ============================================================ */
.adv-cols { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.adv-list { display: grid; grid-template-columns: 1fr; gap: 0; min-width: 0; }
.adv-list svg { width: 18px !important; height: 18px !important; }
.adv-list .adv-item { min-width: 0; }
.adv-list .adv-item p { overflow-wrap: break-word; }
.adv-list .adv-item .check-list li { min-width: 0; }

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-strip > div {
  background: #fff;
  padding: 30px;
}
.service-strip h3 { font-size: 17px; margin-bottom: 8px; }
.service-strip p { font-size: 14px; color: var(--gray-500); }

/* 流程步骤 */
.steps { counter-reset: step; }
.step-item {
  position: relative;
  padding: 0 0 36px 58px;
}
.step-item::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-ghost);
  color: var(--blue);
  font-family: var(--font-mono);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
  border: 1px solid rgba(26,95,180,0.25);
}
.step-item::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 8px;
  width: 1px;
  background: var(--gray-200);
}
.step-item:last-child::after { display: none; }
.step-item h3 { font-size: 17px; margin-bottom: 6px; }
.step-item p { color: var(--gray-500); font-size: 14.5px; max-width: 620px; }

/* ===== 标准服务流程（水平时间线） ===== */
.section-chapter {
  position: relative;
  background: var(--gray-100);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 32px;
}
.flow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 24px;
}
.flow-rail::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  opacity: 0.45;
  z-index: 0;
}
.flow-step {
  position: relative;
  padding: 0 14px;
  text-align: center;
  z-index: 1;
}
.flow-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px var(--bg-page);
}
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { color: var(--gray-500); font-size: 14px; line-height: 1.75; }
.flow-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  font-size: 12.5px;
  border-radius: 100px;
  background: var(--blue-ghost);
  color: var(--blue);
  font-weight: 500;
  border: 1px solid rgba(26, 95, 180, 0.18);
}
.flow-cta {
  margin-top: 56px;
  background: linear-gradient(120deg, var(--blue-darker), var(--blue-dark));
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* ===== 技术实力：4 项能力卡（左右对称，紧凑） ===== */
.cap-card {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  min-width: 0;
}
.cap-card:hover { border-color: rgba(26, 95, 180, 0.4); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cap-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.cap-card p { color: var(--gray-500); font-size: 13.5px; line-height: 1.75; }
.cap-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-ghost);
  color: var(--blue);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(26, 95, 180, 0.22);
}
.cap-card > div { min-width: 0; }

/* ===== 资质面板：单卡 + 横向胶囊列表 ===== */
.qual-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}
.qual-panel h3 { font-size: 16px; margin-bottom: 14px; color: var(--gray-800); }
.qual-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qual-pills li {
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--blue-ghost);
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid rgba(26, 95, 180, 0.18);
}

/* ===== 研发与检测设备：4 张等高卡 ===== */
.equip-title {
  text-align: center;
  font-size: 18px;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 24px;
}
.equip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.equip-card:hover { border-color: rgba(26, 95, 180, 0.4); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.equip-card h4 { font-size: 16px; color: var(--blue); margin-bottom: 6px; }
.equip-card p { font-size: 13.5px; color: var(--gray-500); }
.equip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-ghost);
  color: var(--blue);
  margin-bottom: 14px;
}
.equip-icon svg { width: 20px; height: 20px; }

@media (max-width: 720px) {
  .cap-card { padding: 18px 20px; }
  .cap-num { width: 32px; height: 32px; font-size: 12.5px; }
  .qual-pills li { font-size: 12.5px; padding: 6px 12px; }
}
.flow-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 60px);
  pointer-events: none;
}
.flow-cta > * { position: relative; }
.flow-cta h3 { color: #fff; margin-bottom: 6px; font-size: 19px; }
.flow-cta p { font-size: 14.5px; }
@media (max-width: 1080px) {
  .flow-rail { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .flow-rail::before { display: none; }
}
@media (max-width: 720px) {
  .flow-rail { grid-template-columns: 1fr; gap: 20px; }
  .flow-step { padding: 0; text-align: left; display:flex; gap: 16px; align-items:flex-start; }
  .flow-num { margin: 0; flex: none; box-shadow: none; }
  .flow-step > h3, .flow-step > p, .flow-step > .flow-tag { text-align: left; }
  .flow-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .nav, .header-cta .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; padding: 70px 0 80px; gap: 44px; }
  .hero-visual { max-width: 640px; }
  .prod-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .adv-cols { grid-template-columns: 1fr !important; gap: 28px !important; }
  .stats { grid-template-columns: repeat(2, 1fr) !important; }
  .service-strip { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .cat-head { flex-wrap: wrap; }
  .cat-head p { margin-left: 0; text-align: left; width: 100%; }
  .cat-nav { position: static; }
  .news-item { grid-template-columns: 88px 1fr; gap: 16px; padding: 18px; }
  .news-date b { font-size: 22px; }
  .dl-row { flex-wrap: wrap; padding: 18px; }
  .dl-row .btn { width: 100%; }
  .banner-crumb { flex-wrap: wrap; }
  .hero-actions .btn { width: 100%; }
  .sec-head[style*='justify-content'] { flex-direction: column; align-items: flex-start !important; }
  .sec-head[style*='justify-content'] .btn { width: 100%; }
}

/* ===== 公众号二维码弹窗 ===== */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.qr-modal.open { display: flex; }
.qr-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(13, 26, 44, 0.72);
  backdrop-filter: blur(4px);
}
.qr-modal-box {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 34px 38px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(13, 26, 44, 0.4);
  animation: qrPop 0.28s var(--ease);
}
@keyframes qrPop {
  from { transform: translateY(16px) scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.qr-modal-box h3 { font-size: 19px; color: var(--gray-900); }
.qr-mp-name { margin-top: 6px; color: var(--blue); font-size: 14.5px; font-weight: 600; }
.qr-modal-img {
  margin: 20px auto 0;
  width: 240px;
  height: 240px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--gray-50);
}
.qr-modal-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder {
  color: var(--gray-400);
  font-size: 13.5px;
  line-height: 1.9;
  padding: 20px;
}
.qr-tip {
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.9;
}
.qr-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
}
.qr-modal-close:hover { color: var(--gray-800); }

@media (max-width: 480px) {
  .qr-modal-box { padding: 28px 22px 22px; }
  .qr-modal-img { width: 200px; height: 200px; }
}
