/* 中盾企服 · 企业官网样式表（零依赖） */
:root {
  --ink: #0d1b2a;
  --navy: #0a2038;
  --navy-2: #123f70;
  --blue: #1657a6;
  --blue-2: #2f7ed8;
  --blue-soft: #eaf2fc;
  --gold: #c9a227;
  --teal: #0f8a7a;
  --bg: #f5f7fa;
  --white: #ffffff;
  --text: #223146;
  --muted: #64748b;
  --line: #e2e8f0;
  --shadow: 0 12px 32px rgba(13, 27, 42, .08);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
.hero h1, .hero h2 { color: #fff; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

/* 顶部条与导航 */
.topbar {
  background: var(--navy);
  color: #bcd2ea;
  font-size: 13px;
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; }
.topbar b { color: #e2c45a; font-weight: 600; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: block; }
.brand-text strong { display: block; font-size: 20px; color: var(--ink); letter-spacing: .04em; line-height: 1.2; }
.brand-text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .18em; }
.main-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-menu a {
  font-size: 15px;
  color: #31435a;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.main-menu a:hover, .main-menu a.active { color: var(--blue); background: var(--blue-soft); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }

/* 按钮 */
.btn, .btn-ghost, .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(22, 87, 166, .22); }
.btn:hover { background: #0f4b94; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-gold { background: var(--gold); color: #1c1a0c; }
.btn-gold:hover { background: #b8911e; transform: translateY(-2px); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(47, 126, 216, .38), transparent 42%),
    linear-gradient(135deg, #081a2f 0%, #103b6b 100%);
  color: #fff;
  padding: 82px 0 92px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 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: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #d7e8fb;
  margin-bottom: 22px;
}
.hero .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: block; }
.hero h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 em { color: #e5c95f; font-style: normal; }
.hero-lead { font-size: 17px; color: #c9dcee; max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 24px; font-size: 13px; color: #9fbcd8; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .28)); }
.hero-badge {
  position: absolute;
  right: 2%;
  bottom: 4%;
  background: rgba(255, 255, 255, .96);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}
.hero-badge b { color: var(--blue); font-size: 20px; display: block; }

/* 数据条 */
.stats-wrap { background: #fff; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 32px; color: var(--navy); line-height: 1.2; }
.stat span { color: var(--muted); font-size: 14px; }
.stat i { color: var(--gold); font-style: normal; }

/* 通用区块 */
.section { padding: 86px 0; }
.section.tint { background: #fff; }
.section.soft { background: var(--blue-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .kicker { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.sec-title { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 12px; }
.sec-sub { color: var(--muted); font-size: 16px; margin: 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 卡片 */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd8e8; }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.card ul { font-size: 14px; color: var(--muted); }
.card ul li { padding-left: 16px; position: relative; margin-bottom: 5px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { background: #f1f5f9; color: #475569; border-radius: 6px; font-size: 12px; padding: 4px 9px; }
.tag.hot { background: #fff5d9; color: #8a6c0f; }
.link-more { color: var(--blue); font-size: 14px; font-weight: 600; display: inline-block; margin-top: 8px; }
.link-more:hover { text-decoration: underline; }

/* 两栏内容 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split h2 { font-size: clamp(26px, 3vw, 36px); }
.split p { color: var(--muted); }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 16px; font-size: 15.5px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e6f5f0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.panel q { display: block; font-size: 17px; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 20px; }
.panel .who { color: var(--muted); font-size: 14px; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: flow; }
.flow-item { position: relative; text-align: center; padding: 24px 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.flow-item::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(22, 87, 166, .3);
}
.flow-item b { display: block; font-size: 15px; color: var(--ink); margin-top: 8px; }
.flow-item span { font-size: 12.5px; color: var(--muted); }

/* 案例卡片 */
.case-card { display: block; overflow: hidden; padding: 0; }
.case-top {
  height: 118px;
  background: linear-gradient(135deg, #0e3b6e, #2f7ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
}
.case-top span { font-size: 13px; background: rgba(255, 255, 255, .18); border-radius: 6px; padding: 4px 10px; }
.case-top b { font-size: 22px; letter-spacing: .08em; opacity: .85; }
.case-body { padding: 24px 26px 28px; }
.case-body h3 { font-size: 18px; }
.case-body p { font-size: 14px; color: var(--muted); }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* 资讯 */
.news-list { display: grid; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color .2s, transform .2s;
}
.news-item:hover { border-color: #b9cde5; transform: translateX(3px); }
.news-date { color: var(--blue); font-size: 13px; font-weight: 700; }
.news-item h3 { font-size: 17px; margin-bottom: 4px; }
.news-item p { font-size: 13.5px; color: var(--muted); margin: 0; }
.news-cat { font-size: 12px; color: var(--muted); background: #f1f5f9; border-radius: 6px; padding: 5px 10px; white-space: nowrap; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; margin-bottom: 20px; }
.article h3 { font-size: 20px; }
.article p { color: var(--muted); font-size: 15px; }
.article .date { color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 8px; }

/* FAQ 折叠 */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
details.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 16px; }

/* CTA 条 */
.cta-band {
  background: linear-gradient(120deg, #0a2038, #174f8e);
  color: #fff;
  padding: 54px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.cta-band p { color: #bcd2ea; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 表单 */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid #d7e0ea;
  border-radius: 9px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 126, 216, .14); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-msg { margin-top: 16px; font-size: 14px; color: var(--teal); min-height: 22px; }
.info-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.info-list span, .info-list a { font-size: 16px; color: var(--ink); }
.copy-btn { margin-left: 8px; font-size: 12px; color: var(--blue); background: var(--blue-soft); border: 0; border-radius: 6px; padding: 3px 8px; cursor: pointer; }

/* 时间轴 */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: #cbd8e8; }
.timeline-item { position: relative; padding-left: 58px; padding-bottom: 32px; }
.timeline-item::before { content: ""; position: absolute; left: 10px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.timeline-item b { color: var(--blue); font-size: 14px; }
.timeline-item h3 { font-size: 19px; margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); font-size: 14.5px; }

/* 筛选按钮 */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 8px 17px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 页面小标题区 */
.page-hero { background: linear-gradient(135deg, #0a2038, #174f8e); color: #fff; padding: 62px 0 66px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 42px); margin-bottom: 10px; }
.page-hero p { color: #bcd2ea; max-width: 700px; font-size: 16px; margin: 0; }
.crumb { font-size: 13px; color: #8fb4d8; margin-bottom: 14px; }
.crumb a { color: #c5dcf2; }
.crumb a:hover { text-decoration: underline; }

/* 页脚 */
.site-footer { background: var(--navy); color: #b8c9da; padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 46px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid p { color: #9fb4c9; font-size: 13.5px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; font-size: 12.5px; color: #8299b0; line-height: 1.9; }
.footer-bottom b { color: #d7b84b; font-weight: 600; }

/* 浮动按钮 */
.float-cta {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 60;
  background: var(--gold);
  color: #1c1a0c;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  transition: transform .2s;
}
.float-cta:hover { transform: translateY(-3px); }
.to-top {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 60;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  font-size: 18px;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* 提示条 */
.notice { background: #fff8e6; border: 1px solid #f0dfae; color: #7a6220; border-radius: 10px; padding: 14px 18px; font-size: 13.5px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }

/* 入场动画（仅 JS 可用时生效） */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .hero .container { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-wrap { height: 66px; }
  .nav-toggle { display: flex; }
  .main-menu {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    box-shadow: 0 14px 24px rgba(13, 27, 42, .1);
    display: none;
  }
  .main-menu.open { display: flex; }
  .main-menu a { padding: 12px 14px; }
  .nav-cta .btn { display: none; }
  .hero .container, .split { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 66px; }
  .hero-art { max-width: 420px; margin: 10px auto 0; }
  .hero-badge { right: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-cat { justify-self: start; }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .section { padding: 62px 0; }
  .grid-2, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat b { font-size: 26px; }
  .card, .form-panel, .panel, .article { padding: 22px; }
  .float-cta { right: 14px; bottom: 16px; padding: 11px 16px; }
  .to-top { right: 14px; bottom: 76px; }
  .hero h1 { font-size: 32px; }
}
@media print {
  .float-cta, .to-top, .site-header, .topbar { display: none !important; }
  body { background: #fff; }
}
