/* ============================================================
   易点点科技 · 全局样式
   设计风格：灰白主色 + 蓝色点缀 · 扁平化 · 紧凑布局
   ============================================================ */

:root {
  /* 灰白主色系 */
  --bg: #f4f5f7;
  --bg-deep: #eceef1;
  --white: #ffffff;
  --ink: #1f2937;        /* 主文字 */
  --ink-2: #4b5563;      /* 次级文字 */
  --ink-3: #9ca3af;      /* 弱化文字 */
  --line: #e5e7eb;       /* 分隔线 */
  --line-2: #d1d5db;

  /* 蓝色点缀（参照 yuhuaocean.com 色调） */
  --blue: #0052d9;       /* 主蓝：按钮/强调 */
  --blue-deep: #0044b3;
  --blue-soft: #e8effc;
  --blue-bright: #3b82f6; /* 亮蓝：标签点缀 */
  --blue-light: #60a5fa;  /* 浅蓝：深色底上的点缀 */

  /* 深蓝板块（Hero/数字卡/表头） */
  --navy: #1e3a8a;
  --navy-deep: #16307a;

  /* 深色板块（页脚/CTA/顶条） */
  --dark: #111827;
  --dark-2: #1f2937;
  --dark-line: #374151;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 10px rgba(35, 39, 46, 0.06);
  --shadow-hover: 0 8px 24px rgba(35, 39, 46, 0.10);

  --header-h: 64px;
  --maxw: 1360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: calc(var(--maxw) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部提示条 ---------- */
.topbar {
  background: var(--dark);
  color: #d1d5db;
  font-size: 13px;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: .5px;
}
.topbar b { color: #fff; font-weight: 600; }

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.logo-img { height: 34px; width: auto; display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--blue); background: var(--blue-soft); }
.nav-menu a.active { color: var(--blue); font-weight: 600; background: var(--blue-soft); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-tel {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
}
.nav-tel svg { vertical-align: -2px; margin-right: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1d2129; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #eef0f3; }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-lg { padding: 13px 30px; font-size: 16px; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- 通用板块 ---------- */
.section { padding: 64px 0; }
.section-gray { background: var(--bg); }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); color: #dfe3ea; }

.sec-head { text-align: center; margin-bottom: 44px; }
.sec-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--blue-bright);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-dark .sec-eyebrow { color: var(--blue-light); }
.sec-title { font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.sec-divider { display: block; width: 40px; height: 3px; background: var(--blue); margin: 16px auto 0; border-radius: 2px; }
.section-dark .sec-title { color: #fff; }
.sec-desc { margin-top: 12px; color: var(--ink-3); font-size: 15px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-dark .sec-desc { color: #9ca3af; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #f7f8fa 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.hero h1 {
  font-size: 42px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; font-weight: 600; }
.hero-desc { font-size: 15px; color: var(--ink-3); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.hero-points li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--ink-2);
}
.hero-points li svg { flex: none; margin-top: 4px; }

/* Hero 右侧数据卡 */
.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-panel-head h3 { font-size: 16px; font-weight: 700; }
.hero-panel-head span { font-size: 12px; color: var(--ink-3); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.stat-cell {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.stat-cell b { display: block; font-size: 24px; color: var(--ink); font-weight: 700; }
.stat-cell b i { font-style: normal; color: var(--blue); font-size: 15px; }
.stat-cell span { font-size: 13px; color: var(--ink-3); }
.proto-row { display: flex; flex-wrap: wrap; gap: 8px; }
.proto-row span {
  font-size: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-radius: 4px;
  padding: 4px 10px;
  font-weight: 600;
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all .25s;
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--line-2); }
.card-thumb {
  margin: -26px -26px 18px;
  height: 150px;
  overflow: hidden;
  position: relative;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.card:hover .card-thumb img { transform: scale(1.05); }
.card-num {
  font-size: 13px; font-weight: 700; color: var(--ink-3);
  letter-spacing: 2px; margin-bottom: 12px;
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon.gray { background: var(--bg-deep); color: var(--ink-2); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card .card-sub { font-size: 13px; color: var(--blue); margin-bottom: 12px; font-weight: 600; }
.card p { font-size: 14px; color: var(--ink-3); }
.card ul { margin-top: 14px; display: grid; gap: 8px; }
.card ul li {
  font-size: 14px; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.card ul li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--blue);
  flex: none;
}

/* ---------- 标签 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.tag.blue { background: var(--blue-soft); border-color: transparent; color: var(--blue-deep); }

/* ---------- 技术栈 ---------- */
.stack-group { margin-bottom: 36px; }
.stack-group:last-child { margin-bottom: 0; }
.stack-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.stack-group-head h3 { font-size: 18px; font-weight: 700; }
.stack-group-head span { font-size: 13px; color: var(--ink-3); }
.stack-group-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stack-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stack-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  transition: all .2s;
}
.stack-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.stack-item .abbr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--bg-deep);
  color: var(--ink);
  font-weight: 700; font-size: 14px;
  margin-bottom: 10px;
}
.stack-item.blue .abbr { background: var(--blue-soft); color: var(--blue-deep); }
.stack-item b { display: block; font-size: 14px; margin-bottom: 2px; }
.stack-item span { font-size: 12px; color: var(--ink-3); display: block; line-height: 1.5; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.step:hover .step-num { background: var(--blue); }
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

/* ---------- 案例 ---------- */
.case-card { display: flex; flex-direction: column; }
.case-card .case-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.case-badge {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 4px;
  background: var(--navy); color: #fff;
}
.case-badge.blue { background: var(--blue); }
.case-badge.gray { background: var(--bg-deep); color: var(--ink-2); }
.case-card h3 { font-size: 17px; margin-bottom: 8px; }
.case-card p { flex: 1; }
.case-link { margin-top: 16px; font-size: 14px; color: var(--blue); font-weight: 600; }

/* ---------- 解决方案图片卡（上图下文，参照参考站） ---------- */
.case-card-img { padding: 0; overflow: hidden; }
.case-thumb { display: block; overflow: hidden; }
.case-thumb img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
  transition: transform .4s;
}
.case-card-img:hover .case-thumb img { transform: scale(1.05); }
.case-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 17px; margin-bottom: 8px; }
.case-body p { flex: 1; font-size: 14px; color: var(--ink-3); line-height: 1.7; }
@media (max-width: 768px) {
  .case-thumb img { height: 180px; }
}
.case-link:hover { color: var(--blue-deep); }

/* ---------- 数据条 ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric { text-align: center; padding: 26px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 3px solid var(--blue); }
.metric:nth-child(1) { border-top-color: #2563eb; }
.metric:nth-child(2) { border-top-color: #059669; }
.metric:nth-child(3) { border-top-color: #d97706; }
.metric:nth-child(4) { border-top-color: #7c3aed; }
.metric:nth-child(1) b { color: #2563eb; }
.metric:nth-child(2) b { color: #059669; }
.metric:nth-child(3) b { color: #d97706; }
.metric:nth-child(4) b { color: #7c3aed; }
.section-dark .metric { background: var(--dark-2); border-color: var(--dark-line); }
.metric b { font-size: 38px; font-weight: 700; color: var(--ink); display: block; line-height: 1.2; }
.metric b i { font-style: normal; color: var(--blue); font-size: 20px; }
.section-dark .metric b { color: #fff; }
.metric span { font-size: 14px; color: var(--ink-3); }
.section-dark .metric span { color: #9ca3af; }

/* ---------- 对比表 ---------- */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 14px;
}
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-size: 15px; }
.compare thead th:last-child { background: var(--blue); }
.compare tbody th { background: var(--bg); font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare td:last-child { color: var(--ink); }
.compare td .ok { color: var(--blue); font-weight: 700; margin-right: 6px; }
.compare td.dim { color: var(--ink-3); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }

/* ---------- 价格卡 ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.hot { border: 2px solid var(--blue); }
.price-hot-tag {
  position: absolute; top: -12px; right: 20px;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 3px 12px; border-radius: 4px;
}
.price-card h3 { font-size: 18px; margin-bottom: 4px; }
.price-card .price-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.price-num { margin-bottom: 18px; }
.price-num b { font-size: 34px; font-weight: 700; color: var(--ink); }
.price-num span { font-size: 14px; color: var(--ink-3); }
.price-card ul { flex: 1; display: grid; gap: 9px; margin-bottom: 20px; }
.price-card ul li { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.price-card ul li svg { flex: none; margin-top: 4px; }
.price-card .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq-cats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.faq-cat {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--white);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s;
}
.faq-cat:hover, .faq-cat.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.faq-group { margin-bottom: 34px; }
.faq-group-title { font-size: 19px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.faq-group-title::before { content: ""; width: 4px; height: 20px; background: var(--blue); border-radius: 2px; }
.faq-group-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  background: none; border: none;
  font-size: 15px; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer;
  font-family: inherit;
}
.faq-q .faq-icon {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 400;
  transition: all .25s;
}
.faq-item.open .faq-q .faq-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a-inner { padding: 0 20px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.faq-item.open { border-color: var(--blue); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
/* faq.html 全部展开、不可收缩 */
.faq-static .faq-a { max-height: none; }
.faq-static .faq-q { pointer-events: none; cursor: default; }
.faq-static .faq-icon { display: none; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- 资讯 ---------- */
.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.news-card { display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--ink-3); }
.news-card h3 { font-size: 16px; line-height: 1.55; margin-bottom: 10px; flex: none; }
.news-card h3 a:hover { color: var(--blue); }
.news-card p { flex: 1; font-size: 14px; color: var(--ink-3); }
.news-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; flex: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.news-date b { font-size: 20px; line-height: 1.1; color: var(--ink); }
.news-date span { font-size: 11px; color: var(--ink-3); }
.news-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.news-card-img { padding: 0; overflow: hidden; }
.news-card-img:hover .case-thumb img { transform: scale(1.05); }
.news-img-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-img-body h3 { flex: none; }
.news-img-body p { flex: 1; }

/* ---------- 新闻列表（单列左图右文，参照参考站） ---------- */
.news-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.news-sort { display: flex; align-items: center; gap: 10px; }
.news-sort label { font-size: 14px; color: var(--ink-2); }
.news-sort select {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.news-search { position: relative; }
.news-search input {
  width: 260px;
  padding: 9px 38px 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
}
.news-search input:focus { outline: none; border-color: var(--blue); }
.news-search svg {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

/* 基础卡片样式（news-detail 相关阅读仍在使用） */
.news-item {
  display: flex; gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.news-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.news-thumb { flex: none; width: 260px; display: block; }
.news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  min-height: 170px;
}
.news-body { padding: 22px 24px 22px 0; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-time { font-size: 13px; color: var(--ink-3); }
.news-body h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { flex: 1; font-size: 14px; color: var(--ink-3); line-height: 1.7; margin-bottom: 12px; }
.news-more { font-size: 14px; color: var(--blue); font-weight: 600; }
.news-more:hover { color: var(--blue-deep); }

/* ---------- 新闻列表页（排版参照 yuhuaocean.com/news） ---------- */
.news-banner {
  height: 240px;
  display: flex; align-items: center;
  position: relative;
  background: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Industrial%20news%20and%20technology%20media%20concept%2C%20modern%20factory%20and%20data%20network%20background%2C%20blue%20gray%20tones%2C%20professional%20photography&image_size=landscape_16_9") center/cover;
  color: #fff;
}
.news-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29,78,216,.85), rgba(37,99,235,.65));
}
.news-banner .container { position: relative; }
.news-banner h1 { font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.news-banner p { font-size: 16px; color: rgba(255,255,255,.8); }

.news-section { background: var(--bg); padding: 40px 0; }
.news-layout { display: flex; gap: 32px; align-items: flex-start; }

/* 左侧边栏：分类 + 最新文章 + 热门文章 + 标签 */
.news-side { flex: none; width: 256px; }
.news-cats {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
  margin-bottom: 20px;
}
.news-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0; border-radius: 8px;
  background: transparent;
  font-family: inherit; font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  transition: background .2s, color .2s;
}
.news-cat .cat-label { display: inline-flex; align-items: center; gap: 8px; }
.news-cat svg { color: var(--ink-3); transition: color .2s; }
.news-cat i {
  font-style: normal;
  min-width: 24px; padding: 0 8px;
  text-align: center;
  font-size: 12px; line-height: 20px;
  border-radius: 999px;
  background: var(--bg-deep); color: var(--ink-3);
  transition: background .2s, color .2s;
}
.news-cat:hover { color: var(--ink); background: var(--bg); }
.news-cat.active { color: #2563eb; background: #eff6ff; font-weight: 500; }
.news-cat.active svg { color: #2563eb; }
.news-cat.active i { background: #dbeafe; color: #2563eb; }

/* 侧栏版块：最新文章 / 热门文章 / 标签 */
.news-side-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}
.news-side-block:last-child { margin-bottom: 0; }
.news-side-block h4 {
  font-size: 15px; font-weight: 700; color: var(--ink);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.news-side-item { display: flex; gap: 10px; margin-bottom: 12px; }
.news-side-item:last-child { margin-bottom: 0; }
.news-side-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex: none; }
.news-side-item b {
  font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-side-item:hover b { color: var(--blue); }
.news-side-item span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.news-tags a {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px; color: var(--ink-2);
  transition: all .2s;
}
.news-tags a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.news-tags a.active { border-color: var(--blue); color: #fff; background: var(--blue); }

/* 右侧主体 */
.news-main { flex: 1; min-width: 0; }
.news-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.news-sort { display: flex; align-items: center; gap: 10px; }
.news-sort label { font-size: 14px; color: var(--ink-2); }
.news-sort select {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.news-search { position: relative; }
.news-search input {
  width: 260px;
  padding: 9px 38px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
}
.news-search input:focus { outline: none; border-color: var(--blue); }
.news-search svg {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

/* 三列卡片网格 */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-list .news-item {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.news-list .news-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.news-list .news-thumb { width: auto; height: 176px; }
.news-list .news-thumb img { min-height: 0; }
.news-list .news-body { padding: 20px; }
.news-list .news-tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: #2563eb; color: #fff;
  font-size: 12px; font-weight: 500; line-height: 1.4;
  border-radius: 6px;
  margin-bottom: 10px;
}
.news-list .news-time {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #9ca3af;
  margin-bottom: 12px;
}
.news-list .news-body h3 {
  font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-list .news-body p {
  flex: 1;
  font-size: 14px; color: #6b7280; line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-list .news-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: #2563eb;
}
.news-list .news-item:hover .news-more { color: #1d4ed8; }

/* 分栏响应式 */
@media (max-width: 1024px) {
  .news-layout { flex-direction: column; }
  .news-side { width: 100%; }
  .news-cats { flex-direction: row; flex-wrap: wrap; }
  .news-cat { width: auto; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-list { grid-template-columns: 1fr; }
  .news-banner h1 { font-size: 28px; }
  .news-banner p { font-size: 14px; }
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin-top: 40px;
}
.page-num, .page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  color: var(--ink-2);
  transition: all .2s;
}
.page-btn { padding: 0 16px; }
.page-ellipsis { color: var(--ink-3); padding: 0 2px; }
.page-total { font-size: 13px; color: var(--ink-3); padding: 0 6px; }
.page-num:hover, .page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-num.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn.disabled { color: var(--ink-3); cursor: not-allowed; }
.page-btn.disabled:hover { border-color: var(--line-2); color: var(--ink-3); }

/* ---------- 文章详情页（参照参考站） ---------- */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article-main { min-width: 0; }
.article-crumb { text-align: center; font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.article-crumb a { color: var(--ink-3); }
.article-crumb a:hover { color: var(--blue); }
.article-crumb b { color: var(--ink); font-weight: 600; }
.article-head { text-align: center; margin-bottom: 30px; }
.article-head .tag { margin-bottom: 14px; }
.article-head h1 { font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--ink); margin-bottom: 14px; }
.article-date { font-size: 14px; color: var(--ink-3); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.article-cover img { width: 100%; display: block; }
.article-content {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}
.article-content p { margin-bottom: 16px; }
.article-content h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 14px; }
.article-content a { color: var(--blue); }
.article-content a:hover { text-decoration: underline; }
.article-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }

/* 上一篇/下一篇 */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.article-nav a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all .2s;
}
.article-nav a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.article-nav a span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.article-nav a b { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.5; display: block; }
.article-nav a:hover b { color: var(--blue); }
.article-nav a.next { text-align: right; }
.article-back { display: inline-block; margin-top: 28px; font-size: 14px; color: var(--blue); font-weight: 600; }
.article-back:hover { color: var(--blue-deep); }

/* 侧边栏 */
.article-side { position: sticky; top: 90px; }
.side-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.side-block h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-news-item { display: flex; gap: 12px; margin-bottom: 14px; }
.side-news-item:last-child { margin-bottom: 0; }
.side-news-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex: none; }
.side-news-item b { font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-news-item:hover b { color: var(--blue); }
.side-news-item span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.side-text-list li { margin-bottom: 10px; }
.side-text-list li:last-child { margin-bottom: 0; }
.side-text-list a { font-size: 13px; color: var(--ink-2); line-height: 1.5; display: block; }
.side-text-list a:hover { color: var(--blue); }

/* 底部相关阅读 */
.related-read { margin-top: 48px; }
.related-read h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
@media (max-width: 768px) {
  .article-head h1 { font-size: 24px; }
  .article-content { padding: 24px 20px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a.next { text-align: left; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .news-toolbar { flex-direction: column; align-items: stretch; }
  .news-search, .news-search input { width: 100%; }
  .news-item { flex-direction: column; }
  .news-thumb { width: 100%; }
  .news-thumb img { min-height: 0; height: 180px; }
  .news-body { padding: 18px; }
}

/* ---------- CTA ---------- */
.cta {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
}
.cta h2 { font-size: 28px; margin-bottom: 10px; }
.cta p { color: #9ca3af; margin-bottom: 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 面包屑 ---------- */
.page-banner {
  position: relative;
  padding: 64px 0 56px;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,24,39,.78) 0%, rgba(17,24,39,.55) 60%, rgba(17,24,39,.4) 100%);
}
.page-banner .container { position: relative; }
.pb-service { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Software%20engineers%20developing%20industrial%20SCADA%20software%20on%20multiple%20monitors%20with%20code%20and%20real-time%20curves%2C%20modern%20office%2C%20gray%20blue%20tones%2C%20professional%20photography&image_size=landscape_16_9"); }
.pb-cases { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Smart%20factory%20production%20line%20with%20large%20monitoring%20screens%20showing%20data%20dashboards%20and%20real-time%20curves%2C%20industrial%20automation%2C%20blue%20gray%20tones%2C%20professional%20photography&image_size=landscape_16_9"); }
.pb-software-cases { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Control%20room%20wall%20with%20multiple%20screens%20showing%20various%20industrial%20software%20dashboards%20charts%20and%20HMI%20interfaces%2C%20professional%20photography&image_size=landscape_16_9"); }
.pb-about { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Modern%20software%20company%20team%20collaborating%20in%20bright%20gray%20white%20office%2C%20engineers%20discussing%20in%20front%20of%20whiteboard%2C%20professional%20photography&image_size=landscape_16_9"); }
.pb-faq { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Technical%20support%20engineer%20with%20headset%20answering%20questions%20at%20computer%20with%20knowledge%20base%20on%20screen%2C%20bright%20office%2C%20professional%20photography&image_size=landscape_16_9"); }
.pb-pricing { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Business%20quotation%20documents%20calculator%20and%20laptop%20on%20office%20desk%2C%20professional%20consultation%20scene%2C%20gray%20blue%20tones%2C%20professional%20photography&image_size=landscape_16_9"); }
.pb-city { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Modern%20city%20skyline%20at%20dusk%20with%20industrial%20park%20and%20factory%20buildings%2C%20Shanghai%20Oriental%20Pearl%20Tower%20silhouette%2C%20blue%20tones%2C%20professional%20photography&image_size=landscape_16_9"); }
.pb-contact { background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Modern%20office%20building%20entrance%20with%20glass%20facade%20and%20reception%20area%2C%20business%20contact%20scene%2C%20gray%20blue%20tones%2C%20professional%20photography&image_size=landscape_16_9"); }

/* ===== 联系我们页 ===== */
.contact-grid { gap: 20px; }
.contact-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 20px; text-align: center; color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15,23,42,.10); }
.contact-card .card-icon { margin: 0 auto 12px; }
.contact-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.contact-main { font-size: 18px; font-weight: 800; color: var(--blue); margin-bottom: 6px; word-break: break-all; }
.contact-sub { font-size: 12.5px; color: var(--ink-2); }

.map-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.map-tab { padding: 8px 24px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.map-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.map-tab:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
.map-box { display: none; }
.map-box.active { display: block; }
.map-wrap {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 20px 16px; overflow: hidden;
}
.map-svg { width: 100%; height: auto; display: block; }
.map-svg .dot { stroke: #fff; stroke-width: 2; transition: r .2s; cursor: pointer; }
.map-svg .dot.t24 { fill: var(--blue); }
.map-svg .dot.t48 { fill: #94a3b8; }
.map-svg .dot.hq { fill: #1d4ed8; }
.map-svg a:hover .dot { stroke-width: 3; }
.map-svg .dot-label { font-size: 15px; fill: var(--ink-2); text-anchor: middle; font-weight: 600; }
.map-svg .dot-label.hq { fill: #1d4ed8; font-weight: 800; text-anchor: start; }
.map-legend { display: flex; gap: 22px; justify-content: center; padding: 12px 0 4px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
/* ===== 详情页（案例/方案） ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.detail-hero { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; display: block; background: #eef1f5; margin-bottom: 28px; }
.detail-block { margin-bottom: 30px; }
.detail-block h2 {
  font-size: 19px; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.detail-block h2 i { width: 4px; height: 18px; background: var(--blue); border-radius: 2px; }
.detail-block > p { font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.detail-list { list-style: none; }
.detail-list li {
  position: relative; padding: 10px 14px 10px 40px; margin-bottom: 10px;
  background: var(--bg); border-radius: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.75;
}
.detail-list li::before {
  position: absolute; left: 14px; top: 12px;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.detail-list.pain li::before { content: '!'; background: #e07a3f; }
.detail-list.sol li::before { content: '◆'; background: var(--blue); font-size: 9px; }
.detail-list.result li::before { content: '✓'; background: #2f9e6e; }
.detail-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.detail-feats span {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  text-align: center;
}
.detail-article .art-lead { font-size: 16px; line-height: 1.9; color: var(--ink-2); margin-bottom: 20px; }
.detail-article .art-h { font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 14px; padding-left: 12px; border-left: 4px solid var(--blue); }
.detail-article p { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin-bottom: 10px; }
.detail-article .art-img { width: 100%; border-radius: 8px; margin: 18px 0; display: block; }
.detail-article .art-feats { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 18px; }
.detail-article .art-feats span { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.detail-side { position: sticky; top: 80px; }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 18px 20px; margin-bottom: 16px;
}
.side-card h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-info { list-style: none; }
.side-info li { display: flex; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.side-info li span { flex: none; color: var(--ink-3); width: 62px; }
.side-info li b { color: var(--ink); font-weight: 600; }
.side-info .tag { display: inline-block; margin: 0 4px 4px 0; }
.side-cta { background: linear-gradient(160deg, #1677ff, #0b5ad9); border: none; }
.side-cta h3 { color: #fff; border-color: rgba(255,255,255,.25); }
.side-cta p { color: rgba(255,255,255,.85); font-size: 13px; margin-bottom: 14px; }
.side-cta .btn-white { color: var(--blue); }
.rel-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink); font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.rel-item:last-child { border-bottom: none; }
.rel-item img { flex: none; width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: #eef1f5; }
.rel-item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.rel-item:hover span { color: var(--blue); }
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-hero { height: 220px; }
  .detail-feats { grid-template-columns: 1fr; }
}
.map-legend .lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.map-legend .lg.hq { background: #1d4ed8; }
.map-legend .lg.t24 { background: var(--blue); }
.map-legend .lg.t48 { background: #94a3b8; }
.crumb { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumb a { color: rgba(255,255,255,.75); }
.crumb a:hover { color: #fff; }
.page-banner h1 { font-size: 34px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; color: #fff; }
.page-banner h1 em { font-style: normal; color: var(--blue-light); }
.page-banner .lead { font-size: 15px; color: rgba(255,255,255,.85); max-width: 760px; }
.page-banner .hero-actions { margin-top: 24px; margin-bottom: 0; }
.page-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.page-banner .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: #d1d5db; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .logo { margin-bottom: 14px; }
.footer-about { font-size: 13px; color: #9ca3af; line-height: 1.8; margin-bottom: 16px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.footer-contact svg { flex: none; }
.footer-qr { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.footer-qr img { width: 88px; height: 88px; border-radius: 8px; border: 1px solid #374151; }
.footer-qr span { font-size: 13px; color: #9ca3af; line-height: 1.5; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #9ca3af; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

/* ---------- 侧边快捷 ---------- */
.side-bar {
  position: fixed;
  right: 18px;
  bottom: 120px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-bar a {
  width: 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-2);
  transition: all .2s;
}
.side-bar a svg { display: block; margin: 0 auto 4px; }
.side-bar a:hover { border-color: var(--blue); color: var(--blue); }
.side-wechat { position: relative; }
.side-qr {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.side-qr img { width: 120px; height: 120px; border-radius: 6px; }
.side-qr em { font-size: 12px; font-style: normal; color: var(--ink-3); }
.side-qr::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: var(--white);
}
.side-wechat:hover .side-qr { opacity: 1; visibility: visible; pointer-events: auto; }

/* ---------- 关于页时间线 ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -24px; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--blue-soft);
}
.timeline-item b { display: block; font-size: 15px; margin-bottom: 2px; }
.timeline-item span { font-size: 13px; color: var(--ink-3); }

/* ---------- 服务区域 ---------- */
/* ---------- 服务区域（24h/48h）与城市站卡片 ---------- */
/* 紧凑版 */
.svc-compact { display: flex; flex-direction: column; gap: 14px; }
.svc-zone-row {
  display: flex; align-items: center; gap: 16px;
}
.svc-zone-tag {
  flex: none;
  font-size: 13px; font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
}
.svc-zone-tag.h24 { background: var(--blue); }
.svc-zone-tag.h48 { background: var(--ink-2); }
.city-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.city-chips a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .15s;
}
.city-chips a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}
.city-chips a span {
  font-size: 11px; color: #fff;
  background: var(--blue);
  padding: 1px 6px; border-radius: 999px;
}

/* 大卡片版（城市站专用，保留兼容） */
.svc-zone { margin-bottom: 34px; }
.svc-zone:last-child { margin-bottom: 0; }
.svc-zone-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.svc-zone-badge {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff;
}
.svc-zone-badge.h24 { background: var(--blue); }
.svc-zone-badge.h48 { background: var(--ink-2); }
.svc-zone-head h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.svc-zone-head p { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.city-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: all .2s;
}
.city-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.city-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.city-head h4 { font-size: 17px; font-weight: 700; color: var(--ink); }
.city-badge {
  font-size: 12px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.city-badge.hq { background: var(--blue); color: #fff; }
.city-badge.t24 { background: var(--blue-soft); color: var(--blue); }
.city-badge.t48 { background: var(--bg-deep); color: var(--ink-2); }
.city-biz {
  font-size: 13px; color: var(--ink-3); line-height: 1.7;
  min-height: 44px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.city-enter { font-size: 13px; font-weight: 600; color: var(--blue); }
.city-card:hover .city-enter { text-decoration: underline; }

/* 解决方案页（参照 yuhuaocean.com/solutions 排版） */
.sol2-banner { padding: 72px 0 64px; }
.glass-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.sol2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.sol2-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s;
}
.sol2-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.sol2-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.sol2-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sol2-card:hover .sol2-thumb img { transform: scale(1.1); }
.sol2-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,24,39,0) 45%, rgba(17,24,39,.72) 100%);
}
.sol2-thumb h3 {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  z-index: 1;
  font-size: 17px; font-weight: 700;
  color: #fff;
}
.sol2-industry {
  position: absolute; top: 12px; left: 12px;
  z-index: 1;
  padding: 3px 10px;
  font-size: 12px; font-weight: 500;
  color: #fff;
  background: rgba(37, 99, 235, .88);
  border-radius: 3px;
  letter-spacing: 1px;
}
.sol2-body { padding: 18px 20px 20px; }
.sol2-body p {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.sol2-link {
  font-size: 13px; font-weight: 600;
  color: var(--blue);
}
.sol2-card:hover .sol2-link { text-decoration: underline; }
.sol2-cta {
  background: linear-gradient(120deg, #2563eb, #1d4ed8);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.sol2-cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.sol2-cta p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.sol2-cta .cta-actions { justify-content: center; }
.sol2-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.sol2-cta .btn-ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 1024px) { .sol2-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 640px) { .sol2-grid { grid-template-columns: 1fr; } }

/* 软件案例维度筛选条 */
.sc-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-filter-btn {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
  transition: all .2s;
}
.sc-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.sc-filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 城市站响应承诺条 */
.city-promise {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.promise-item { display: flex; align-items: center; gap: 10px; }
.promise-item svg { color: var(--blue); flex: none; }
.promise-item b { font-size: 16px; font-weight: 700; color: var(--ink); display: block; }
.promise-item span { font-size: 13px; color: var(--ink-3); display: block; }

/* ---------- 全屏轮播 Hero（参考版面） ---------- */
.hero-banner { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-slide {
  display: none;
  position: relative;
  min-height: 540px;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { display: flex; }
.hero-banner .container { width: 100%; }
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(30, 58, 138, 0.38);
}
.hero-inner { position: relative; padding: 90px 0; max-width: 760px; text-align: left; margin: 0; }
.hero-inner .hero-actions { justify-content: flex-start; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: #dfe3ea;
  margin-bottom: 22px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); }
.hero-inner h1 { font-size: 40px; line-height: 1.3; font-weight: 700; margin-bottom: 16px; }
.hero-inner h1 em { font-style: normal; color: var(--blue-light); }
.hero-inner .hero-sub { font-size: 16px; color: #dbe3f5; margin-bottom: 30px; }
.hero-flags { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-flags span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #e5ebfa; }
.hero-flags svg { flex: none; stroke: var(--blue-light); }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 26px;
  display: flex; justify-content: center; gap: 10px;
  z-index: 2;
}
.hero-dot {
  width: 26px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer; padding: 0;
  transition: all .25s;
}
.hero-dot.active { background: var(--blue-bright); width: 40px; }

/* ---------- 亮点条（banner下方，蓝底白字） ---------- */
.hl-bar { background: var(--blue); }
.hl-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 14px 0;
}
.hl-item {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-size: 17px; font-weight: 700;
  letter-spacing: .5px;
  opacity: 0;
}
.hl-item.in { opacity: 1; animation: hlIn .55s ease both; }
.hl-item:nth-child(2).in { animation-delay: .1s; }
.hl-item:nth-child(3).in { animation-delay: .2s; }
.hl-item:nth-child(4).in { animation-delay: .3s; }
.hl-item:nth-child(5).in { animation-delay: .4s; }
@keyframes hlIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hl-item svg { color: var(--blue-light); flex: none; }
.hl-item + .hl-item { position: relative; }
.hl-item + .hl-item::before {
  content: "";
  position: absolute; left: -7px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 18px;
  background: rgba(255,255,255,.25);
}
@media (max-width: 1024px) {
  .hl-row { justify-content: center; }
  .hl-item { font-size: 15px; }
  .hl-item + .hl-item::before { display: none; }
}

/* ---------- 核心业务方向（竖向卡片，一行6个） ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.biz-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.biz-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--blue); }
.biz-card img {
  width: 100%; height: 130px; object-fit: cover; display: block; background: #eef1f5;
  transition: transform .4s;
}
.biz-card:hover img { transform: scale(1.05); }
.biz-card-body { padding: 14px 16px 18px; flex: 1; }
.biz-card-body h3 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
}
.biz-card-body p {
  font-size: 12px; color: var(--ink-3); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 900px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
.case-city {
  display: inline-flex; align-items: center; gap: 3px;
  margin-left: auto;
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 8px;
}

/* ===== PLC品牌与改造设备（单行滑动小卡） ===== */
.mini-slider { position: relative; }
.mini-track {
  display: flex; gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px;
  margin: -4px;
}
.mini-track::-webkit-scrollbar { display: none; }
.plc-card, .equip-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  flex: none; width: calc((100% - 60px) / 6);
}
.plc-card:hover, .equip-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15,23,42,.10); }
.plc-card img, .equip-card img { width: 100%; height: 92px; object-fit: cover; display: block; background: #eef1f5; }
.plc-body { padding: 10px 12px 12px; }
.plc-body h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.plc-models { font-size: 12px; color: var(--ink-2); line-height: 1.55; margin-bottom: 8px; }
.plc-proto { display: flex; flex-wrap: wrap; gap: 4px; }
.plc-proto span {
  font-size: 11px; color: var(--blue); background: rgba(22,119,255,.08);
  border: 1px solid rgba(22,119,255,.25); border-radius: 4px; padding: 1px 6px;
}
.mini-slider .sol-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 18px; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(15,23,42,.12); transition: all .2s;
}
.mini-slider .sol-arrow.prev { left: -14px; }
.mini-slider .sol-arrow.next { right: -14px; }
.mini-slider .sol-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.mini-slider .sol-arrow.disabled { opacity: .4; pointer-events: none; }
.plc-more {
  margin-top: 14px; padding: 10px 14px; font-size: 13px; color: var(--ink-2);
  background: #fff; border: 1px dashed var(--line); border-radius: 8px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.plc-more span { background: var(--bg-deep); border-radius: 4px; padding: 3px 10px; font-weight: 600; color: var(--ink); }
@media (max-width: 1000px) { .plc-card, .equip-card { width: calc((100% - 24px) / 3); } }
@media (max-width: 640px) { .plc-card, .equip-card { width: calc((100% - 12px) / 2); } }

/* ---------- 应用场景图片卡（全图+底部渐变文字叠加） ---------- */
.solution-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
}
.solution-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.solution-card > img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.solution-card:hover > img { transform: scale(1.05); }
.solution-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(180deg, rgba(10,14,20,0) 0%, rgba(10,14,20,.55) 45%, rgba(10,14,20,.88) 100%);
  color: #fff;
}
.solution-tag {
  display: inline-block;
  color: var(--blue-light);
  font-size: 13px; font-weight: 500;
  margin-bottom: 8px;
}
.solution-overlay h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.solution-overlay p {
  font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 解决方案横向滑动 */
.sol-slider { position: relative; }
.sol-track {
  display: flex; gap: 20px;
  padding: 4px;
  margin: -4px;
}
.sol-track .solution-card { flex: 1; min-width: 0; }
.sol-slider .sol-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all .2s;
}
.sol-slider .sol-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.sol-slider .sol-arrow.prev { left: -21px; }
.sol-slider .sol-arrow.next { right: -21px; }
.sol-slider .sol-arrow.disabled { opacity: .4; cursor: not-allowed; }
.sol-slider .sol-arrow.disabled:hover { background: var(--white); border-color: var(--line); color: var(--ink-2); }
@media (max-width: 1024px) {
  .sol-track .solution-card { width: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .sol-track .solution-card { width: 82%; }
  .sol-slider .sol-arrow.prev { left: 6px; }
  .sol-slider .sol-arrow.next { right: 6px; }
}



/* ---------- 移动端底部操作条 ---------- */
.bottom-bar { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stack-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .nav-menu, .nav-tel { display: none; }
  .menu-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 30px; }
  .sec-title { font-size: 24px; }
  .page-banner h1 { font-size: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stack-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-points { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 44px 0; }
  .side-bar { display: none; }
  .hero-slide { min-height: 460px; }
  .hero-inner { padding: 64px 0; }
  .hero-inner h1 { font-size: 28px; }
  /* 移动端底部操作条 */
  .bottom-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 10px rgba(35,39,46,.08);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    align-items: center;
    gap: 10px;
  }
  .bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    color: var(--ink-2);
    width: 56px;
    flex: none;
  }
  .bottom-bar a.bb-call {
    flex: 1;
    width: auto;
    background: var(--blue);
    color: #fff;
    border-radius: 6px;
    padding: 12px 10px;
    font-size: 15px;
    font-weight: 600;
    flex-direction: row;
    gap: 8px;
  }
  body { padding-bottom: 64px; }
}
