/* ==========================================================
   易定天下 · 企业官网 样式表
   设计系统：深蓝主色 / 浅蓝辅助 / 深灰底 / 8pt 栅格
   ========================================================== */

:root {
  /* 主色 */
  --primary: #0b2c4a;
  --primary-600: #123c63;
  --primary-700: #071f35;
  --accent: #1e88e5;
  --accent-600: #1668b3;
  --accent-soft: #e8f2fd;

  /* 中性 */
  --ink: #161a22;
  --ink-2: #1e2430;
  --ink-3: #2a3140;
  --text: #1f2937;
  --text-2: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-2: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-soft-2: #fafbfc;

  /* 语义 */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 44, 74, .06);
  --shadow: 0 6px 24px rgba(11, 44, 74, .08);
  --shadow-lg: 0 18px 48px rgba(11, 44, 74, .14);
  --container: 1200px;
  --nav-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--primary); letter-spacing: .02em; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; letter-spacing: .02em;
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30, 136, 229, .32); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { height: 52px; padding: 0 34px; font-size: 16px; }

/* ---------- 顶部条 & 导航 ---------- */
.topbar {
  background: var(--primary-700); color: rgba(255, 255, 255, .72);
  font-size: 13px; height: 38px; display: flex; align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 20px; }
.topbar a:hover { color: #fff; }

.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease);
}
.nav.is-stuck { box-shadow: 0 4px 20px rgba(11, 44, 74, .08); }
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -.02em;
}
.logo-text b { display: block; font-size: 18px; color: var(--primary); line-height: 1.2; letter-spacing: .04em; }
.logo-text i { display: block; font-size: 11px; color: var(--muted); font-style: normal; letter-spacing: .18em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu a {
  display: block; padding: 10px 16px; font-size: 15px; color: var(--text-2);
  border-radius: var(--radius-sm); transition: all .2s var(--ease);
}
.nav-menu a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-menu a.active { color: var(--accent); font-weight: 600; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius-sm); padding: 11px 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle i { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle.is-open i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 页面头图 ---------- */
.pagehead {
  position: relative; padding: 72px 0 68px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--primary-700) 0%, var(--primary) 55%, #16466f 100%);
}
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(circle at 80% 20%, #000 0%, transparent 65%);
  transition: opacity .95s var(--ease);
}
.pagehead .container { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.pagehead p { color: rgba(255, 255, 255, .78); max-width: 720px; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .74); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag {
  display: inline-block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.section-dark .sec-tag { color: #5ab0f5; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); }
.section-dark .sec-head p { color: rgba(255, 255, 255, .66); }
.sec-head.center::after {
  content: ""; display: block; width: 56px; height: 3px; background: var(--accent);
  border-radius: 3px; margin: 18px auto 0;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: linear-gradient(125deg, #071f35 0%, #0b2c4a 45%, #17436d 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 420px at 78% 18%, rgba(30, 136, 229, .35), transparent 60%),
    radial-gradient(700px 380px at 12% 88%, rgba(30, 136, 229, .18), transparent 62%);
  transition: opacity .95s var(--ease);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  transition: opacity .95s var(--ease);
}
.hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #cfe6fb;
}
.hero-badge em { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; display: block; }
.hero h1 { color: #fff; font-size: 46px; line-height: 1.24; margin-bottom: 18px; }
.hero h1 span { color: #6cb8ff; }
.hero-desc { font-size: 16px; color: rgba(255, 255, 255, .76); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 620px; --stats-sep: rgba(255, 255, 255, .22); }
.hero-stats div { border-left: 2px solid var(--stats-sep); padding-left: 14px; }
.hero-stats b { display: inline-block; font-size: 27px; color: #fff; font-weight: 700; line-height: 1.2; }
.hero-stats .stat-unit { display: inline-block; font-size: 14px; font-style: normal; color: rgba(255, 255, 255, .85); margin-left: 2px; vertical-align: baseline; }
.hero-stats span { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 2px; }

.hero-panel {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.hero-panel h4 { color: #fff; font-size: 15px; margin-bottom: 18px; display: flex; justify-content: space-between; }
.hero-panel h4 i { font-style: normal; font-size: 12px; color: #7cc4ff; font-weight: 400; }
.panel-list li {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .82);
}
.panel-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-list em {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(30, 136, 229, .22); color: #7cc4ff; font-style: normal; font-size: 13px; font-weight: 600;
}
.panel-list s { text-decoration: none; margin-left: auto; color: #4ade80; font-size: 12px; }

/* ---------- 卡片通用 ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6e4f0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p { color: var(--muted); font-size: 14px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--accent); font-size: 14px; font-weight: 500;
}
.card-link:hover { gap: 10px; }

/* 优势卡片（带序号） */
.adv-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 28px 24px; position: relative; transition: all .3s var(--ease);
}
.adv-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.adv-num {
  font-size: 34px; font-weight: 800; color: #eaf2fb; line-height: 1; margin-bottom: 12px; letter-spacing: -.03em;
}
.adv-card h4 { margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--muted); }

/* ---------- 首页业务概览（四大业务板块标题上方） ---------- */
.home-biz-overview { margin-bottom: 40px; }
.home-biz-ov {
  text-align: center; padding: 22px 16px 20px; text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.home-biz-ov:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.home-biz-ov-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
}
.home-biz-ov-ico svg { width: 26px; height: 26px; }
.home-biz-ov h4 { font-size: 16px; margin-bottom: 6px; }
.home-biz-ov p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 业务板块 ---------- */
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: all .35s var(--ease);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.biz-thumb {
  height: 150px; position: relative; display: grid; place-items: center; color: #fff;
}
.biz-thumb svg { width: 42px; height: 42px; opacity: .92; }
.biz-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .6;
}
.biz-thumb.has-img::after { display: none; }
.biz-thumb.has-img svg { display: none; }
.t-1 { background: linear-gradient(135deg, #0b2c4a, #1e88e5); }
.t-2 { background: linear-gradient(135deg, #123c63, #2f9be0); }
.t-3 { background: linear-gradient(135deg, #0a2540, #37a4b8); }
.t-4 { background: linear-gradient(135deg, #14304f, #4f7fd8); }
.biz-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.biz-body h3 { margin-bottom: 6px; }
.biz-sub { font-size: 13px; color: var(--accent); letter-spacing: .06em; margin-bottom: 12px; }
.biz-body > p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.biz-tags span {
  font-size: 12px; padding: 4px 10px; border-radius: 4px; background: var(--bg-soft); color: var(--text-2);
}
.biz-list { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.biz-list li { font-size: 13.5px; color: var(--text-2); padding: 5px 0 5px 16px; position: relative; }
.biz-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
}

/* ---------- 案例 ---------- */
.case-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: all .35s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-cover { height: 190px; position: relative; overflow: hidden; }
.case-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 32px 32px;
  transition: opacity .7s var(--ease);
  pointer-events: none;
}
.case-cover span {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 12px;
  padding: 4px 10px; border-radius: 4px; background: rgba(0, 0, 0, .32); color: #fff;
  backdrop-filter: blur(4px);
}
/* 底色 → 图片淡入层（案例封面 / 详情封面 / 通栏通用） */
.cover-fade {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04);
  transition: opacity .75s var(--ease), transform .95s var(--ease);
  pointer-events: none; will-change: opacity, transform;
}
.cover-fade.is-in { opacity: 1; transform: scale(1); }
.hero > .cover-fade,
.pagehead > .cover-fade { z-index: 1; transform: scale(1.03); transition-duration: 1.05s, 1.25s; }
.hero > .cover-fade.is-in,
.pagehead > .cover-fade.is-in { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .cover-fade { transition: opacity .3s ease; transform: none; }
  .cover-fade.is-in { transform: none; }
  .case-cover::after, .detail-cover::after { transition: opacity .3s ease; }
}
.case-body { padding: 20px 22px 24px; }
.case-body h4 { margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--muted); }
.case-meta { display: flex; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.case-meta div { font-size: 13px; color: var(--muted); }
.case-meta b { display: block; color: var(--primary); font-size: 15px; }

/* ---------- 合作伙伴 ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.partners div {
  background: var(--ink); height: 92px; display: grid; place-items: center;
  color: rgba(255, 255, 255, .55); font-size: 15px; letter-spacing: .06em; font-weight: 600;
  transition: .3s var(--ease);
}
.partners div:hover { color: #fff; background: var(--ink-2); }
/* 勿用 invert：会把深色底 Logo 整块刷白，盖住图标细节；Logo 请用浅色 / 透明底 */
.partners div img { max-width: 88%; max-height: 44px; object-fit: contain; opacity: .88; transition: .3s var(--ease); }
.partners div:hover img { opacity: 1; }
.partners .partner-fallback { letter-spacing: .08em; opacity: .78; }
.partners div:hover .partner-fallback { opacity: 1; }

/* ---------- CTA 条 ---------- */
.cta-bar {
  background: linear-gradient(110deg, var(--primary) 0%, #17436d 60%, var(--accent-600) 100%);
  padding: 46px 0; color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h3 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cta-inner p { color: rgba(255, 255, 255, .76); font-size: 14px; }

/* ---------- 列表页：新闻 / 案例 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar button {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text-2); font-size: 14px; transition: all .25s var(--ease);
}
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.news-item {
  display: grid; grid-template-columns: 210px 1fr; gap: 28px; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 20px; transition: all .3s var(--ease);
}
.news-item:hover { border-color: #cfe0f0; box-shadow: var(--shadow); transform: translateY(-2px); }
.news-date { text-align: center; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-soft); align-self: start; }
.news-date b { display: block; font-size: 30px; color: var(--primary); line-height: 1.1; }
.news-date span { font-size: 13px; color: var(--muted); }
.news-body h3 { margin-bottom: 10px; font-size: 19px; transition: color .2s; }
.news-item:hover .news-body h3 { color: var(--accent); }
.news-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.news-body .news-tag {
  display: inline-block; font-size: 12px; color: var(--accent); background: var(--accent-soft);
  padding: 3px 10px; border-radius: 4px; margin-right: 10px;
}
.news-body .news-more { font-size: 13px; color: var(--muted); }

.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pager a, .pager span, .pager button {
  min-width: 38px; height: 38px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-2);
  background: #fff; transition: all .25s var(--ease); cursor: pointer; font: inherit;
}
.pager a:hover, .pager button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pager .is-current { background: var(--primary); border-color: var(--primary); color: #fff; cursor: default; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .pager-info { border: 0; color: var(--muted); font-size: 13px; min-width: auto; padding: 0 6px; background: transparent; cursor: default; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  border-radius: var(--radius-lg); min-height: 380px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #071f35, #0b2c4a 45%, #1e88e5);
  display: grid; place-items: center; color: rgba(255, 255, 255, .85);
}
.about-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-visual b {
  position: relative; z-index: 1; font-size: 56px; color: #fff; letter-spacing: .04em;
}
.about-visual small { position: absolute; bottom: 24px; left: 30px; z-index: 1; color: rgba(255, 255, 255, .55); font-size: 13px; }
/* 首屏先藏视觉区，避免自定义图加载前闪出默认渐变/品牌图 */
.about-visual.await-cover {
  opacity: 0;
  background: #071f35;
}
.about-visual.await-cover::after,
.about-visual.await-cover b,
.about-visual.await-cover small { opacity: 0; visibility: hidden; }
.about-visual.is-ready {
  opacity: 1;
  transition: opacity .55s var(--ease, ease);
}
.about-visual.has-img::after { opacity: 0; }
.about-visual.has-img b,
.about-visual.has-img small { opacity: 0; visibility: hidden; }
.about-visual > .cover-fade { z-index: 1; border-radius: inherit; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.stat-row div { border-top: 2px solid var(--accent); padding-top: 14px; }
.stat-row b { display: block; font-size: 26px; color: var(--primary); }
.stat-row span { font-size: 13px; color: var(--muted); }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--accent), #dbe7f3);
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li::before {
  content: ""; position: absolute; left: -32px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.timeline b { display: block; color: var(--accent); font-size: 15px; margin-bottom: 4px; }
.timeline h4 { margin-bottom: 6px; }
.timeline p { font-size: 14px; color: var(--muted); }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-item {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  padding: 22px; background: rgba(255, 255, 255, .04);
}
.cert-item b { display: block; color: #fff; margin-bottom: 6px; font-size: 15px; }
.cert-item span { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- 服务详情 ---------- */
.svc-block { padding: 72px 0; border-bottom: 1px solid var(--line-2); }
.svc-block:last-child { border-bottom: 0; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.svc-grid.reverse .svc-visual { order: 2; }
.svc-visual {
  border-radius: var(--radius-lg); min-height: 320px; position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff;
}
.svc-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 30px 30px;
}
.svc-visual svg { width: 64px; height: 64px; position: relative; z-index: 1; opacity: .9; }
.svc-visual.has-img::after { display: none; }
.svc-visual.has-img svg { display: none; }
.svc-num { font-size: 13px; letter-spacing: .2em; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.svc-block h2 { margin-bottom: 14px; }
.svc-desc { color: var(--muted); margin-bottom: 22px; }
.svc-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin-bottom: 26px; }
.svc-points li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); align-items: flex-start; }
.svc-points svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.info-list li {
  display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.info-ico svg { width: 20px; height: 20px; }
.info-list b { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-bottom: 2px; }
.info-list p { font-size: 15.5px; color: var(--primary); font-weight: 500; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.field label i { color: #e5484d; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; font-family: inherit; font-size: 15px; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: all .2s var(--ease);
}
.field textarea { height: 118px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 136, 229, .12);
}
.field input.err { border-color: #e5484d; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-tip {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: #e8f7ee; border: 1px solid #b7e4c7; color: #1a7f42; font-size: 14px;
}
.form-tip.show { display: block; }
.map-box {
  height: 260px; margin-top: 26px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(135deg, #eef3f8, #dfe8f2);
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
}
.map-box::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 44, 74, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(11, 44, 74, .07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-box span { position: relative; z-index: 1; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .62); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text i { color: rgba(255, 255, 255, .4); }
.footer-about { margin: 18px 0 20px; line-height: 1.9; }
.footer li { padding: 7px 0; }
.footer li a:hover { color: #7cc4ff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact b { color: rgba(255, 255, 255, .5); font-weight: 400; flex-shrink: 0; }
.qrcode { display: flex; gap: 16px; margin-top: 18px; }
.qrcode div { text-align: center; }
.qrcode span {
  width: 92px; height: 92px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 8px;
  background: #fff; color: var(--primary); font-size: 12px; border: 1px solid rgba(255, 255, 255, .2);
  overflow: hidden; padding: 0;
}
.qrcode span.has-img { padding: 4px; }
.qrcode span img {
  width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 4px;
}
.qrcode em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .55); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom a:hover { color: #7cc4ff; }
.footer-links {
  width: 100%; order: -1;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 2px;
  padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #9fb3c8; font-size: 13px;
}
.footer-links > span { color: #c7d6e5; margin-right: 4px; }
.footer-links a { color: #9fb3c8; }
.footer-links a:hover { color: #7cc4ff; }
.footer-links i { color: rgba(255, 255, 255, .25); font-style: normal; margin: 0 4px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 44px; height: 44px; z-index: 90;
  border: 0; border-radius: 10px; background: var(--primary); color: #fff;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s var(--ease); box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 出场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    box-shadow: var(--shadow); display: none; gap: 2px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 13px 12px; font-size: 16px; border-radius: var(--radius-sm); }
  .nav-menu a.active::after { display: none; }
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }

  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .section { padding: 60px 0; }
  .pagehead { padding: 52px 0 46px; }
  .pagehead h1 { font-size: 27px; }
  .sec-head { margin-bottom: 32px; }

  .g-2, .g-3 { grid-template-columns: 1fr; }
  .about-grid, .svc-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid.reverse .svc-visual { order: 0; }
  .svc-block { padding: 52px 0; }
  .about-visual { min-height: 240px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .news-date { display: flex; align-items: baseline; gap: 8px; text-align: left; padding: 10px 14px; }
  .news-date b { font-size: 22px; }
  .form-card { padding: 24px; }
  .case-cover { height: 160px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  .hero h1 { font-size: 26px; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
  .g-4 { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .svc-points { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-inner h3 { font-size: 20px; }
  .qrcode { justify-content: flex-start; }
  .to-top { right: 14px; bottom: 14px; }
  .stat-row { gap: 14px; }
}

/* ===== 详情页（新闻 / 案例） ===== */
.article { max-width: 860px; margin: 0 auto; }
.article .detail-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 13.5px; }
.article .detail-meta .news-tag { margin: 0; }
.detail-title { font-size: 30px; line-height: 1.3; margin-bottom: 18px; }
.detail-lead { font-size: 16px; color: var(--text-2); margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.detail-stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 4px 0 28px; padding: 18px 22px; background: var(--bg-soft); border-radius: var(--radius); }
.detail-stats div { font-size: 13px; color: var(--muted); }
.detail-stats b { display: block; color: var(--primary); font-size: 22px; line-height: 1.2; }
.detail-cover { height: 300px; border-radius: var(--radius-lg); margin-bottom: 30px; position: relative; overflow: hidden; }
.detail-cover span { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 13px; padding: 5px 12px; border-radius: 4px; background: rgba(0,0,0,.34); color: #fff; backdrop-filter: blur(4px); }
.detail-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 32px 32px;
  transition: opacity .7s var(--ease);
}
.detail-cover.has-img::after { opacity: 0; }
.detail-back { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.detail-loading { display: flex; align-items: center; justify-content: center; padding: 80px 20px; min-height: 200px; }
.detail-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent, #1e88e5);
  animation: detail-spin .7s linear infinite;
}
@keyframes detail-spin { to { transform: rotate(360deg); } }
.detail-empty { text-align: center; padding: 60px 20px; }
.detail-empty .de-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; margin: 0 auto 18px; font-size: 26px; font-weight: 700; }
.detail-empty h1 { font-size: 22px; margin-bottom: 8px; }
.detail-empty p { color: var(--muted); margin-bottom: 20px; }

/* 富文本内容排版 */
.rich-text { font-size: 15.5px; line-height: 1.9; color: var(--text); }
.rich-text > *:first-child { margin-top: 0; }
.rich-text p { margin: 0 0 18px; }
.rich-text h3 { font-size: 20px; margin: 30px 0 14px; }
.rich-text h4 { font-size: 17px; margin: 24px 0 12px; }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 22px; }
.rich-text li { margin-bottom: 8px; }
.rich-text ul li { list-style: disc; }
.rich-text ol li { list-style: decimal; }
.rich-text a { color: var(--accent); text-decoration: underline; }
.rich-text img { max-width: 100%; border-radius: var(--radius); margin: 8px 0 18px; }
.rich-text blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 3px solid var(--accent); background: var(--bg-soft); color: var(--text-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* 卡片作为链接 */
.news-item, .case-card { color: inherit; text-decoration: none; }
.case-card { display: block; }
.news-item:hover .news-body h3, .case-card:hover h4 { color: var(--accent); }

/* 自定义图片封面：网格蒙版淡出，配合 .cover-fade 图片淡入 */
.case-cover.has-img::after { opacity: 0; }
.pagehead.has-img::after,
.hero.has-img::before,
.hero.has-img::after { opacity: 0; }
