:root {
  --navy: #0d2547;
  --navy-2: #123a6d;
  --gold: #c9a227;
  --bg: #f4f6fa;
  --text: #2b3440;
  --muted: #6b7686;
  --line: #e2e7ee;
  --white: #ffffff;
  --red: #c0392b;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "SimSun", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ===== 顶部 ===== */
.topbar {
  background: var(--navy);
  color: #cfd8e6;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a:hover { color: var(--gold); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== 头部与导航 ===== */
.header { background: var(--white); border-bottom: 3px solid var(--gold); }
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 54px; height: 54px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.logo h1 { font-size: 24px; color: var(--navy); letter-spacing: 1px; line-height: 1.3; }
.logo h1 small { display: block; font-size: 12px; color: var(--muted); font-weight: normal; letter-spacing: 2px; }

.nav { display: flex; }
.nav a {
  padding: 14px 18px;
  font-size: 16px;
  color: var(--text);
  position: relative;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--navy-2); font-weight: bold; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 6px;
  height: 3px;
  background: var(--gold);
}

/* ===== 横幅 ===== */
.banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1c5aa8 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: "⚓";
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 180px;
  opacity: .08;
}
.banner h2 { font-size: 34px; letter-spacing: 2px; margin-bottom: 12px; }
.banner p { color: #c9d4e5; max-width: 720px; font-size: 16px; }
.banner .crumb { font-size: 13px; color: #9fb3d0; margin-bottom: 18px; }
.banner .crumb a { color: #c9d4e5; }

/* ===== 首页板块 ===== */
.section { padding: 46px 0; }
.section-title {
  text-align: center;
  margin-bottom: 34px;
}
.section-title h2 { font-size: 26px; color: var(--navy); letter-spacing: 2px; }
.section-title h2::after {
  content: "";
  display: block;
  width: 46px; height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
}
.section-title p { color: var(--muted); font-size: 14px; margin-top: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 22px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 22px rgba(13,37,71,.12); transform: translateY(-3px); }
.card .ico {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: #eef2f8;
  color: var(--navy-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); }
.card .more { display: inline-block; margin-top: 14px; color: var(--navy-2); font-size: 14px; }
.card .more:hover { color: var(--gold); }

/* 数据条 */
.stats { background: var(--navy); color: var(--white); padding: 34px 0; }
.stats .grid-4 { gap: 10px; }
.stat { text-align: center; }
.stat b { font-size: 34px; color: var(--gold); font-family: Georgia, serif; }
.stat span { display: block; font-size: 14px; color: #b9c6da; margin-top: 4px; }

/* 列表页通用 */
.page-body { background: var(--white); margin: 40px auto 60px; padding: 40px; border-radius: 8px; border: 1px solid var(--line); }
.page-body h2.sub {
  font-size: 22px;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin: 30px 0 16px;
}
.page-body h2.sub:first-child { margin-top: 0; }
.page-body p, .page-body li { font-size: 15px; color: var(--text); }
.page-body ul.doc-list li {
  padding: 14px 12px;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}
.page-body ul.doc-list li:hover { background: #f7f9fc; }
.doc-list .t::before { content: "▪"; color: var(--gold); margin-right: 8px; }
.doc-list .date { color: var(--muted); font-size: 13px; flex-shrink: 0; margin-left: 16px; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 20px; }
table.tbl th, table.tbl td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
table.tbl th { background: #eef2f8; color: var(--navy); }
table.tbl tr:nth-child(even) td { background: #fafbfd; }

/* 警示框 */
.notice {
  background: #fdf6e7;
  border: 1px solid #ecd9a8;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  margin: 16px 0;
}
.danger {
  background: #fdf0ee;
  border-color: #f2c4bd;
  border-left-color: var(--red);
}

/* 流程步骤 */
.steps { counter-reset: step; margin: 10px 0 20px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 12px 12px 52px;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 8px; top: 12px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
  font-size: 15px;
}

/* 页脚 */
.footer { background: var(--navy); color: #a9b8cc; padding: 34px 0 20px; font-size: 14px; }
.footer .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 22px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.footer a:hover { color: var(--gold); }
.footer .copy { border-top: 1px solid #23406b; padding-top: 16px; text-align: center; font-size: 13px; color: #7e93b0; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .header .wrap { flex-direction: column; gap: 6px; }
  .banner h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .page-body { padding: 22px 16px; }
}

/* ===== 数字孪生平台横幅 ===== */
.twin-banner {
  background: linear-gradient(105deg, #081a33 0%, #0d2547 55%, #123a6d 100%);
  color: #fff;
  padding: 34px 0;
  border-bottom: 3px solid var(--gold);
}
.twin-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.twin-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.twin-banner h2 { font-size: 26px; margin-bottom: 8px; }
.twin-banner p { color: #b9c6d9; font-size: 15px; }
.twin-btn {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--navy);
  font-weight: bold;
  font-size: 17px;
  padding: 14px 34px;
  border-radius: 6px;
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.twin-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,162,39,.4); }
@media (max-width: 700px) {
  .twin-banner .wrap { flex-direction: column; text-align: center; }
  .twin-banner h2 { font-size: 21px; }
}
