/* ============================================================
   舰船用防弹钢板 GJB 3935A-2018 技术资料站
   主色 #3b75bc (60%) 辅助 #ec5029 (30%) 点缀 #f7d260 (10%)
   ============================================================ */
:root {
  --primary: #3b75bc;
  --primary-dark: #244f80;
  --primary-deep: #1b3a5c;
  --primary-light: #e9f1f9;
  --secondary: #ec5029;
  --secondary-dark: #c53f1b;
  --accent: #f7d260;
  --ink: #1c2836;
  --muted: #56677a;
  --bg: #f4f7fa;
  --card: #ffffff;
  --line: #d8e2ec;
  --shadow: 0 4px 16px rgba(28, 40, 54, .07);
  --radius: 8px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
  --mono: "Consolas", "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.75; font-size: 16px; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; min-width: 0; }
h1, h2, h3, h4, p, .lead, .kicker, .en, .tb-item, .meta { overflow-wrap: anywhere; word-break: break-word; }

/* ---------- 顶部联系条 ---------- */
.topbar { background: var(--primary-deep); color: #d6e4f1; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; word-break: break-all; }
.topbar svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* ---------- 头部导航 ---------- */
.site-header { background: var(--primary); position: sticky; top: 0; z-index: 50; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo { width: 38px; height: 38px; flex: none; }
.brand-text .cn { display: block; font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.brand-text .en { display: block; font-size: 10.5px; opacity: .85; letter-spacing: .4px; }

.main-nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav a {
  display: block; color: #e7f1fa; padding: 19px 12px; font-size: 14.5px;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: #fff; background: var(--primary-dark); }
.main-nav a.active { color: #fff; border-bottom-color: var(--accent); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 7px 9px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }

/* ---------- 横幅 280px ---------- */
.banner { position: relative; height: 280px; overflow: hidden; display: flex; align-items: center; }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.banner .scrim { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(14,38,64,.94) 0%, rgba(24,58,96,.84) 55%, rgba(30,68,110,.62) 100%); }
.banner .banner-inner { position: relative; z-index: 2; color: #fff; max-width: 800px; }
.banner .eyebrow { display: inline-block; font-size: 12px; letter-spacing: 1.6px; color: var(--accent); margin-bottom: 8px; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.banner h1 { font-size: 31px; line-height: 1.22; font-weight: 700; margin-bottom: 6px; text-shadow: 0 2px 14px rgba(0,0,0,.42); }
.banner .subtitle { font-size: 14px; opacity: .96; margin-bottom: 10px; letter-spacing: .3px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.banner .lead { font-size: 13.5px; opacity: .92; max-width: 660px; line-height: 1.7; text-shadow: 0 1px 8px rgba(0,0,0,.32); }

.breadcrumb { position: static; margin-bottom: 6px; color: #cfe0ef; font-size: 12.5px; }
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 7px; opacity: .55; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 6px; font-size: 14.5px; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--secondary-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- 区块 ---------- */
.section { padding: 56px 0; }
.section.alt { background: #fff; }
.section-head { margin-bottom: 28px; max-width: 800px; }
.section-head .kicker { color: var(--secondary); font-weight: 600; font-size: 13px; letter-spacing: 1.6px; }
.section-head h2 { font-size: 27px; margin: 6px 0 6px; color: var(--primary-dark); line-height: 1.3; }
.section-head .en { color: var(--muted); font-size: 13.5px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.section-head p + p { margin-top: 8px; }

/* ---------- 数据速览 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--primary); background: #fff; }
.stat { padding: 20px 22px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: none; }
.stat .num { font-size: 26px; font-weight: 700; color: var(--primary-dark); line-height: 1.2; }
.stat .num small { font-size: 14px; font-weight: 600; margin-left: 3px; color: var(--secondary); }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat .label .en { display: block; font-size: 11px; opacity: .8; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 22px; min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .icon { width: 44px; height: 44px; border-radius: 8px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.card h3 { font-size: 17px; margin-bottom: 6px; color: var(--primary-dark); line-height: 1.4; }
.card h3 .en { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--secondary); }
.card .link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- 标签 ---------- */
.tag { display: inline-block; padding: 3px 11px; border-radius: 3px; font-size: 12.5px; background: var(--primary-light); color: var(--primary-dark); }
.tag.secondary { background: #fdeae3; color: var(--secondary-dark); }
.tag.accent { background: #fdf3d8; color: #7d6114; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; table-layout: fixed; }
caption { caption-side: top; text-align: left; padding: 12px 14px; font-weight: 600; font-size: 13.5px; color: var(--primary-dark); background: var(--primary-light); }
caption .en { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: #f1f6fb; color: var(--primary-dark); font-weight: 600; font-size: 13px; }
td.num, th.num { text-align: center; font-variant-numeric: tabular-nums; }
tbody tr:nth-child(even) td { background: #fbfdff; }
tr:last-child td { border-bottom: none; }
td .en, th .en { display: block; color: var(--muted); font-size: 10.5px; font-weight: 400; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.65; }
.note strong { color: var(--secondary-dark); }

/* ---------- 信息条 ---------- */
.callout { border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.callout.warn { border-left-color: var(--secondary); }
.callout h4 { color: var(--primary-dark); margin-bottom: 6px; font-size: 15px; }
.callout p { color: var(--muted); font-size: 14px; }

/* ---------- 时间线 ---------- */
.timeline { display: grid; grid-template-columns: 84px 24px 1fr; row-gap: 0; }
.timeline .t-year { font-size: 14px; font-weight: 700; color: var(--primary-dark); text-align: right; padding: 14px 12px 14px 0; border-right: none; }
.timeline .t-axis { position: relative; }
.timeline .t-axis::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline .t-dot { position: absolute; top: 20px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--secondary); transform: translateX(-50%); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--secondary); }
.timeline .t-body { padding: 12px 0 20px 22px; border-bottom: 1px dashed var(--line); }
.timeline .t-body h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 3px; }
.timeline .t-body p { font-size: 13.5px; color: var(--muted); }
.timeline .t-body .en { font-size: 11.5px; color: var(--muted); }

/* ---------- 术语对照 ---------- */
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.terms .term { display: flex; justify-content: space-between; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.terms .term:nth-child(odd) { border-right: 1px solid var(--line); }
.terms .term .cn { color: var(--ink); font-weight: 600; }
.terms .term .en { color: var(--muted); font-size: 12.5px; text-align: right; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 20px; }
.step .no { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: 1.4px; margin-bottom: 8px; }
.step h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 5px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- 企业 ---------- */
.company-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.company { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.company:last-child { border-bottom: none; }
.company .badge { width: 46px; height: 46px; border-radius: 6px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-weight: 700; font-size: 15px; }
.company h3 { font-size: 16.5px; color: var(--primary-dark); line-height: 1.4; }
.company h3 .en { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.company .meta { font-size: 12.5px; color: var(--secondary); margin: 3px 0 6px; }
.company p { font-size: 13.8px; color: var(--muted); }

/* ---------- 关键词 ---------- */
.keywords { border-top: 1px solid var(--line); padding: 34px 0; background: #fff; }
.keywords h3 { font-size: 15px; color: var(--primary-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.keywords h3 svg { width: 17px; height: 17px; stroke: var(--secondary); fill: none; stroke-width: 2; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 10px; }
.keyword-list a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); font-size: 13.5px; color: var(--primary-dark); }
.keyword-list a:hover { border-color: var(--secondary); color: var(--secondary-dark); background: #fdeae3; }
.keyword-list a .en { font-size: 11px; color: var(--muted); margin-left: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-deep); color: #d6e4f1; padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding-bottom: 28px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer p, .site-footer li { font-size: 13.5px; color: #bfd3e6; }
.site-footer a { color: #bfd3e6; }
.footer-col ul li { margin-bottom: 7px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-contact .row { display: flex; align-items: center; gap: 9px; color: inherit; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; stroke-width: 2; flex: none; }
.order-bar { background: var(--secondary); color: #fff; text-align: center; padding: 13px 20px; font-size: 14.5px; line-height: 1.7; }
.order-bar a { color: #fff; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; font-size: 12.5px; text-align: center; color: #a9c3d9; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid-3, .steps, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner h1 { font-size: 26px; }
  .stat:nth-child(2) { border-right: none; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary-dark); padding: 8px 0; }
  .main-nav.open { display: block; }
  .main-nav a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .grid-3, .grid-2, .steps, .terms, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .terms .term:nth-child(odd) { border-right: none; }
  .banner { height: 200px; }
  .banner h1 { font-size: 20px; }
  .banner .subtitle { font-size: 12.5px; }
  .banner .lead { display: none; }
  .breadcrumb { display: none; }
  .section { padding: 38px 0; }
  .section-head h2 { font-size: 22px; }
  .topbar .container { justify-content: center; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .stat .num { font-size: 20px; }
  .stat .num small { font-size: 12px; }
  .stat .label { font-size: 12px; }
  .timeline { grid-template-columns: 64px 18px minmax(0, 1fr); }
  table { min-width: 560px; }
}
