/* =============================================================
 * 仪服通（成都）科技有限公司 — 官网样式
 * 品牌色：深蓝 / 仪器红 / 警示黄（呼应 logo）
 * ============================================================= */

:root {
  --primary: #0E2C5C;          /* 深蓝 */
  --primary-2: #143C7A;
  --accent: #C8102E;           /* 仪器红（呼应 logo 红） */
  --gold: #F2B400;             /* 警示黄（呼应 logo 黄） */
  --ink: #0F172A;
  --ink-2: #1F2A44;
  --muted: #5A6679;
  --line: #E3E7EF;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --bg-soft-2: #EEF2F9;
  --maxw: 1240px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; height: auto; }
/* picture 仅作为 WebP/原格式切换容器，不参与布局，避免额外盒子和空隙 */
picture { display: contents; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* =============================================================
 * 顶栏 / 顶部条
 * ============================================================= */
.topbar {
  background: #0A1F42;
  color: #C7D2E8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px; gap: 16px;
}
.topbar a { color: #C7D2E8; margin-left: 18px; }
.topbar a:hover { color: #fff; }
.topbar-tel { color: var(--gold); font-weight: 700; }

/* =============================================================
 * 头部 / 导航
 * ============================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-img {
  width: 44px; height: 44px; object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.logo-text b {
  font-size: 20px; color: var(--primary); letter-spacing: 1px;
}
.logo-text small {
  font-size: 11px; color: var(--muted); letter-spacing: 2px; margin-top: 2px;
}

.nav-list {
  display: flex; gap: 4px; align-items: center;
}
.nav-list li a {
  display: block;
  padding: 10px 14px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  border-radius: 8px; position: relative;
}
.nav-list li a:hover { color: var(--primary); background: var(--bg-soft); }
.nav-list li.active a { color: var(--primary); }
.nav-list li.active a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.header-cta {
  display: flex; align-items: center; gap: 16px;
}
.hotline {
  display: flex; flex-direction: column; line-height: 1.1;
  padding: 6px 12px;
  border-left: 1px solid var(--line);
}
.hotline span { font-size: 11px; color: var(--muted); letter-spacing: 2px; }
.hotline b {
  font-size: 18px; color: var(--accent); font-weight: 800;
  font-feature-settings: "tnum";
  margin-top: 2px;
}

.menu-btn {
  display: none;
  border: none; background: transparent;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 4px;
  padding: 8px; cursor: pointer;
}
.menu-btn span { height: 2px; background: var(--ink); border-radius: 2px; }

/* =============================================================
 * Hero
 * ============================================================= */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(14,44,92,.92) 0%, rgba(14,44,92,.78) 100%),
    url("../img/bio/bio-skyline.jpg") center/cover no-repeat;
  color: #fff;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(200,16,46,.18) 0, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(242,180,0,.15) 0, transparent 35%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 13px; color: #FCE5A8; letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.hero h1 {
  font-size: 48px; line-height: 1.18; color: #fff;
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal; color: var(--gold);
  display: inline-block; padding-top: 4px;
}
.hero p {
  font-size: 17px; color: rgba(255,255,255,.86); max-width: 640px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
.hero-card .ribbon {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: #fff;
  padding: 4px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
}
.hero-card h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.hero-card .sub { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.hero-card .stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 18px;
}
.hero-card .stat b {
  display: block; font-size: 30px; font-weight: 800;
  color: var(--gold); line-height: 1.1;
  font-feature-settings: "tnum";
}
.hero-card .stat span { display: block; font-size: 12px; color: rgba(255,255,255,.78); margin-top: 4px; }

/* =============================================================
 * 通用按钮
 * ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 6px 16px rgba(200,16,46,.25);
}
.btn-primary:hover { background: #A60D26; color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-line {
  background: transparent; color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-line:hover { background: var(--primary); color: #fff; }

/* =============================================================
 * 区块通用
 * ============================================================= */
.section {
  padding: 84px 0;
}
.section.alt {
  background: var(--bg-soft);
}
.tit {
  text-align: center;
  margin-bottom: 48px;
}
.tit .deco {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 12px; letter-spacing: 4px;
  color: var(--accent); font-weight: 700;
  margin-bottom: 14px;
}
.tit .deco i {
  width: 32px; height: 1px; background: var(--accent);
}
.tit b {
  display: block; font-size: 32px; color: var(--ink);
  letter-spacing: 1px;
}
.tit p {
  font-size: 15px; color: var(--muted); margin-top: 10px;
}

/* =============================================================
 * 业务卡片
 * ============================================================= */
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.svc {
  background: #fff;
  border-radius: 14px;
  padding: 32px 26px 28px;
  border: 1px solid var(--line);
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc:hover::before { transform: scaleX(1); }
.svc .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc .icon svg { width: 28px; height: 28px; }
.svc h3 {
  font-size: 19px; margin-bottom: 10px;
}
.svc p {
  font-size: 14px; color: var(--muted);
  line-height: 1.7; margin-bottom: 16px;
}
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc .tags span {
  font-size: 12px; padding: 4px 10px;
  background: var(--bg-soft); color: var(--ink-2);
  border-radius: 4px;
}

/* =============================================================
 * 真实服务场景
 * ============================================================= */
.scene-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.scene-strip .figure {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.scene-strip .figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.scene-strip .figure:hover img { transform: scale(1.05); }

/* =============================================================
 * 生物城专享 · 特惠横幅
 * ============================================================= */
.promo-bar {
  background: linear-gradient(100deg, #0A1F42 0%, #143C7A 55%, #1E4FA0 100%);
  color: #fff;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}
.promo-bar::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 8% 50%, rgba(200,16,46,.30) 0, transparent 40%),
    radial-gradient(circle at 92% 50%, rgba(242,180,0,.20) 0, transparent 40%);
}
.promo-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.promo-left { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.promo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(200,16,46,.4);
}
.promo-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #FFE9A8;
}
.promo-price {
  display: flex; align-items: baseline; gap: 6px;
}
.promo-price .cur { font-size: 24px; font-weight: 700; color: var(--gold); }
.promo-price .num {
  font-size: 52px; font-weight: 800; line-height: 1;
  color: var(--gold);
  font-feature-settings: "tnum";
  text-shadow: 0 2px 12px rgba(242,180,0,.25);
}
.promo-price .unit { font-size: 15px; color: rgba(255,255,255,.75); margin-left: 4px; }
.promo-desc { max-width: 420px; }
.promo-desc b {
  display: block; font-size: 19px; color: #fff; margin-bottom: 6px;
}
.promo-desc span {
  font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.65;
}
.promo-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-tags .pt {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px; color: #fff;
}
.promo-tags .pt svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.promo-tags .pt b { color: var(--gold); font-weight: 700; }

/* 卡片式特惠（服务页 / 联系页） */
.promo-card {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 26px 28px;
  margin-top: 20px;
  position: relative;
}
.promo-card .pc-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.promo-card .pc-head .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #D89B00);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.promo-card .pc-head .ico svg { width: 22px; height: 22px; }
.promo-card .pc-head h4 { font-size: 18px; color: var(--ink); }
.promo-card .pc-head .tag {
  font-size: 12px; font-weight: 700;
  background: rgba(242,180,0,.16); color: #8A6600;
  padding: 3px 9px; border-radius: 4px;
}
.promo-card .pc-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px;
}
.promo-card .pc-price .cur { font-size: 20px; font-weight: 700; color: var(--accent); }
.promo-card .pc-price .num {
  font-size: 42px; font-weight: 800; color: var(--accent);
  line-height: 1; font-feature-settings: "tnum";
}
.promo-card .pc-price .unit { font-size: 14px; color: var(--muted); }
.promo-card ul { display: grid; gap: 8px; }
.promo-card ul li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
}
.promo-card ul li svg {
  width: 16px; height: 16px; color: #10B981; flex-shrink: 0; margin-top: 4px;
}
.promo-card .pc-note {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--muted);
}

/* 内联特惠提示条（页面 Hero 内） */
.promo-inline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(242,180,0,.14);
  border: 1px solid rgba(242,180,0,.45);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px; color: #FFE9A8;
  margin-top: 18px;
}
.promo-inline b { color: var(--gold); font-size: 17px; font-weight: 800; }
.promo-inline svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

@media (max-width: 800px) {
  .promo-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .promo-price .num { font-size: 40px; }
  .promo-card .pc-price .num { font-size: 34px; }
}

/* =============================================================
 * 关于我们 区块
 * ============================================================= */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.about h2 small {
  display: block; font-size: 12px; letter-spacing: 4px;
  color: var(--accent); font-weight: 700;
  margin-bottom: 10px;
}
.about h2 {
  font-size: 32px; color: var(--ink);
  margin-bottom: 22px;
}
.about p {
  font-size: 15px; color: var(--ink-2); line-height: 1.85;
  margin-bottom: 14px;
}
.num-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 28px 0 32px;
  padding: 22px; background: #fff;
  border-radius: 12px; border: 1px solid var(--line);
}
.num-grid .num b {
  display: block; font-size: 30px; color: var(--primary);
  font-weight: 800; font-feature-settings: "tnum";
}
.num-grid .num span {
  font-size: 13px; color: var(--muted);
}
.about-visual {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 4/5; position: relative;
}
.about-visual img {
  width: 100%; height: 100%; object-fit: cover;
}

/* =============================================================
 * 合作品牌墙
 * ============================================================= */
.brand-wall {
  background: var(--bg-soft-2);
  padding: 70px 0;
}
.brand-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.brand-grid .cell {
  background: #fff;
  aspect-ratio: 5/3;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: background .15s;
}
.brand-grid .cell:hover { background: var(--bg-soft); }
.brand-grid .cell img {
  max-height: 42px; max-width: 90%;
  filter: grayscale(20%);
  opacity: .85;
  transition: all .2s;
}
.brand-grid .cell:hover img { filter: grayscale(0); opacity: 1; }

/* =============================================================
 * 生物城企业关注（客户列表）
 * ============================================================= */
.bio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.bio-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 18px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: all .2s ease;
}
.bio-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.bio-card .ico {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, #E7EEFB 0%, #C9D9F2 100%);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bio-card .ico svg { width: 20px; height: 20px; }
.bio-card h4 {
  font-size: 15px; color: var(--ink); margin-bottom: 4px;
}
.bio-card p {
  font-size: 12px; color: var(--muted); line-height: 1.5;
}

/* =============================================================
 * 生物城资讯 / 技术文章列表
 * ============================================================= */
.news-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 22px;
  align-items: stretch;
}
.news-feature {
  grid-row: span 2;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  display: flex; flex-direction: column;
}
.news-feature .pic {
  flex: 1; min-height: 240px;   /* 吸收剩余高度，杜绝卡片内部留白 */
  overflow: hidden;
  position: relative;
}
.news-feature .pic img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.news-feature:hover .pic img { transform: scale(1.05); }
.news-feature .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-feature .tag {
  display: inline-block; font-size: 12px;
  background: rgba(200,16,46,.1); color: var(--accent);
  padding: 3px 10px; border-radius: 4px;
  font-weight: 600;
  margin-bottom: 12px;
}
.news-feature h3 {
  font-size: 20px; margin-bottom: 10px; line-height: 1.4;
}
.news-feature .date {
  font-size: 12px; color: var(--muted);
  margin-top: auto; padding-top: 14px;
}

.news-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .2s ease;
}
.news-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-item .pic {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.news-item .pic img {
  width: 100%; height: 100%; object-fit: cover;
}
.news-item .body { flex: 1; display: flex; flex-direction: column; padding: 15px 18px 18px; }
.news-item .meta {
  font-size: 12px; color: var(--muted);
  margin-bottom: 6px;
}
.news-item .meta .tag {
  display: inline-block;
  padding: 1px 8px; border-radius: 3px;
  background: var(--bg-soft-2); color: var(--primary);
  margin-right: 8px; font-weight: 600;
}
.news-item h4 {
  font-size: 15px; color: var(--ink); line-height: 1.5;
  min-height: 3em;          /* 两行占位，保证四张卡等高 */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* =============================================================
 * 案例
 * ============================================================= */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case {
  background: #fff;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  transition: all .2s ease;
  display: flex; flex-direction: column;
}
.case:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case .pic {
  aspect-ratio: 16/10; overflow: hidden;
  position: relative;
}
.case .pic img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.case:hover .pic img { transform: scale(1.05); }
.case .pic .ribbon {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(14,44,92,.85); color: #fff;
  font-size: 12px; font-weight: 600;
}
.case .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.case h3 {
  font-size: 18px; margin-bottom: 8px;
}
.case p {
  font-size: 14px; color: var(--muted);
  line-height: 1.7; margin-bottom: 14px;
}
.case .meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted);
}
.case .meta .brand {
  font-weight: 600; color: var(--primary);
}

/* =============================================================
 * 通用页头（子页）
 * ============================================================= */
.page-hero {
  background:
    linear-gradient(180deg, rgba(14,44,92,.92) 0%, rgba(14,44,92,.78) 100%),
    url("../img/bio/bio-skyline.jpg") center/cover no-repeat;
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}
.page-hero .breadcrumb {
  font-size: 13px; color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  color: #fff; font-size: 36px; margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,.85); font-size: 16px; max-width: 720px; margin: 0 auto;
}

/* =============================================================
 * 关于页扩展
 * ============================================================= */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 30px;
}
.timeline .t-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  position: relative;
}
.timeline .t-item::after {
  content: ""; position: absolute;
  top: 28px; right: -10px; width: 0; height: 0;
  border-left: 10px solid var(--line);
  border-top: 14px solid transparent; border-bottom: 14px solid transparent;
  z-index: 1;
}
.timeline .t-item:last-child::after { display: none; }
.timeline .t-item b {
  display: block; font-size: 24px; color: var(--primary);
  font-weight: 800; font-feature-settings: "tnum";
  margin-bottom: 6px;
}
.timeline .t-item h4 {
  font-size: 15px; margin-bottom: 6px;
}
.timeline .t-item p {
  font-size: 13px; color: var(--muted); line-height: 1.6;
}

/* =============================================================
 * 服务详情页
 * ============================================================= */
.svc-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 30px;
  margin-bottom: 22px;
}
.svc-detail .head {
  display: flex; gap: 18px; align-items: center;
  margin-bottom: 16px;
}
.svc-detail .head .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-detail .head .icon svg { width: 28px; height: 28px; }
.svc-detail h2 {
  font-size: 24px; margin-bottom: 4px;
}
.svc-detail .head p {
  font-size: 13px; color: var(--muted);
}
.svc-detail .content p {
  font-size: 15px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.85;
}
.svc-detail .features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 18px;
}
.svc-detail .features .f {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 14px 16px;
}
.svc-detail .features .f b {
  display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px;
}
.svc-detail .features .f span {
  font-size: 12px; color: var(--muted);
}

/* =============================================================
 * 联系页
 * ============================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
}
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 30px;
}
.contact-card h3 {
  font-size: 20px; margin-bottom: 16px;
}
.contact-info { display: grid; gap: 14px; }
.contact-info .row {
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-info .row .ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-soft-2); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info .row .ico svg { width: 18px; height: 18px; }
.contact-info .row b { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-info .row span { font-size: 13px; color: var(--muted); }
.contact-info .row a { color: var(--ink); font-size: 14px; }

.form-card .field {
  margin-bottom: 14px;
}
.form-card label {
  display: block; font-size: 13px; color: var(--ink-2);
  margin-bottom: 6px; font-weight: 600;
}
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px;
  font-family: inherit; color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .15s;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none; border-color: var(--primary);
  background: #fff;
}
.form-card textarea { resize: vertical; min-height: 110px; }
.form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn-primary { width: 100%; justify-content: center; }

.map-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 28px;
  background: linear-gradient(135deg, #E7EEFB 0%, #C9D9F2 100%);
  position: relative;
  aspect-ratio: 21/9;
}
.map-card .map-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  text-align: center;
}
.map-card .pin {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  box-shadow: 0 6px 18px rgba(200,16,46,.4);
}
.map-card .pin svg {
  width: 24px; height: 24px; color: #fff; transform: rotate(45deg);
}
.map-card .label { font-weight: 700; font-size: 18px; color: var(--primary); }
.map-card .sub { font-size: 13px; color: var(--ink-2); }

/* =============================================================
 * 页脚
 * ============================================================= */
.footer {
  background: #0A1F42;
  color: #95A8C8;
  padding: 60px 0 0;
}
.footer .grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer h4 {
  color: #fff; font-size: 15px; margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer .about-col p {
  font-size: 13px; line-height: 1.8; color: #95A8C8;
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; font-size: 13px; }
.footer ul li a { color: #95A8C8; }
.footer ul li a:hover { color: #fff; }
.footer .contact li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: #95A8C8;
}
.footer .contact li .ico {
  width: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.footer .contact li svg { width: 14px; height: 14px; }

.footer-bottom {
  padding: 18px 0;
  font-size: 12px;
  color: #6E84AC;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: #95A8C8; margin-left: 16px; }

/* =============================================================
 * 响应式
 * ============================================================= */
@media (max-width: 1100px) {
  .hero h1 { font-size: 38px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(5, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  /* 两列时大卡占满整行：改左右横向，避免图片被拉成巨幅 */
  .news-feature { grid-column: span 2; grid-row: auto; flex-direction: row; }
  .news-feature .pic { flex: none; width: 46%; min-height: 0; aspect-ratio: 4/3; }
  .news-feature .body { justify-content: center; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline .t-item::after { display: none; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .topbar .container > div:nth-child(2) { display: none; }
  .nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px; flex-direction: column; box-shadow: var(--shadow-md); border-top: 1px solid var(--line); }
  .nav-list.open { display: flex; }
  .nav-list li a { padding: 12px 16px; }
  .header-cta .hotline { display: none; }
  .menu-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 80px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .section { padding: 60px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .scene-strip { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .num-grid { grid-template-columns: repeat(3, 1fr); padding: 16px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .bio-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-feature { grid-column: auto; flex-direction: column; }
  .news-feature .pic { width: 100%; aspect-ratio: 16/9; }
  .case-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-detail .features { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
/* 手机：技术文章卡改回紧凑横条，避免竖卡过高拖长页面 */
@media (max-width: 560px) {
  .news-item { flex-direction: row; align-items: center; padding: 12px 14px; gap: 12px; }
  .news-item .pic { width: 84px; height: 84px; border-radius: 8px; aspect-ratio: auto; }
  .news-item .body { padding: 0; }
  .news-item h4 { min-height: 0; }
  .news-feature .pic { aspect-ratio: 16/10; }
}

/* =============================================================
 * 工具类
 * ============================================================= */
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* 公众号专栏 卡片链接 */
.case-link { display:block; text-decoration:none; color:inherit; }
.case-link .case { transition: transform .2s ease, box-shadow .2s ease; }
.case-link:hover .case { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,44,92,.12); }
.empty-state { text-align:center; color:var(--muted); padding:60px 20px; border:1px dashed var(--line); border-radius:14px; background:var(--soft); }
.empty-state b { color:var(--ink); font-size:18px; display:block; margin-bottom:8px; }

/* =============================================================
 * 公众号二维码与手机联系方式
 * ============================================================= */
.qr-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px 24px; text-align:center; margin-top:24px; box-shadow:var(--shadow-sm); }
.qr-card img { width:180px; height:180px; object-fit:contain; border-radius:10px; margin-bottom:16px; }
.qr-card .label { font-weight:700; color:var(--ink); margin-bottom:6px; }
.qr-card .sub { font-size:13px; color:var(--muted); line-height:1.6; }
.qr-section { display:flex; align-items:center; justify-content:center; gap:48px; flex-wrap:wrap; }
.qr-section img { width:200px; height:200px; object-fit:contain; border-radius:12px; border:1px solid var(--line); }
.qr-section .side { max-width:420px; }
.qr-section .side h3 { margin-bottom:12px; }
.qr-section .side p { color:var(--muted); margin-bottom:16px; line-height:1.7; }
.footer-info a { color:var(--accent); text-decoration:none; }
.footer-info a:hover { text-decoration:underline; }
.contact-info a[href^="tel:"] { color:var(--accent); text-decoration:none; font-weight:700; }
@media (max-width: 800px) {
  .qr-section { flex-direction:column; text-align:center; gap:24px; }
}


/* 回到顶部按钮 */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 800px) {
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* ===== GEO：AI 友好内容块 ===== */
.geo-summary {
  background: var(--soft, #F4F7FB);
  border-left: 3px solid var(--primary, #0E2C5C);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 4px 0 26px;
}
.geo-summary b { display: block; font-size: 15px; color: var(--primary, #0E2C5C); margin-bottom: 8px; }
.geo-summary ul { margin: 0; padding-left: 20px; }
.geo-summary li { font-size: 14.5px; color: var(--ink, #1a1a1a); line-height: 1.8; }

.geo-related { margin: 28px 0 10px; padding-top: 20px; border-top: 1px solid var(--line, #e6ecf3); }
.geo-related b { display: block; font-size: 15px; color: var(--primary, #0E2C5C); margin-bottom: 10px; }
.geo-related ul { list-style: none; margin: 0; padding: 0; }
.geo-related li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--line, #e6ecf3);
  font-size: 14.5px; line-height: 1.6;
}
.geo-related li:last-child { border-bottom: none; }
.geo-related a { color: var(--ink, #1a1a1a); text-decoration: none; flex: 1; }
.geo-related a:hover { color: var(--primary, #0E2C5C); text-decoration: underline; }
.geo-date { color: var(--muted, #7a8699); font-size: 13px; flex-shrink: 0; }

.geo-updated { margin-top: 22px; font-size: 13px; color: var(--muted, #7a8699); line-height: 1.7; }

/* FAQ 问答块 */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line, #e6ecf3); border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-size: 16px; font-weight: 600;
  color: var(--ink, #1a1a1a); list-style: none; display: flex;
  align-items: flex-start; gap: 12px; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 5px;
  background: var(--primary, #0E2C5C); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.faq-item .faq-a {
  padding: 0 20px 18px 54px; font-size: 15px; line-height: 1.85; color: #4a5568;
}
.faq-item[open] summary { color: var(--primary, #0E2C5C); }
@media (max-width: 640px) {
  .faq-item summary { font-size: 15px; padding: 14px 16px; }
  .faq-item .faq-a { padding: 0 16px 16px 46px; font-size: 14.5px; }
}
