/* ============================================================
   企业官网 + 公开文件下载站 · 样式表
   ============================================================ */
:root {
  --brand: #0b5cad;
  --brand-dark: #08477f;
  --brand-soft: #eaf3fb;
  --ink: #16202b;
  --ink-2: #4a5a6a;
  --ink-3: #7b8a99;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --radius: 12px;
  --shadow: 0 6px 22px rgba(16, 40, 66, 0.08);
  --shadow-lg: 0 16px 44px rgba(16, 40, 66, 0.16);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-3); }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, var(--brand), #1a86d8);
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px;
  display: grid; place-items: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; }
.brand-text small { font-size: 10px; color: var(--ink-3); letter-spacing: 1.1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14.5px; color: var(--ink-2); transition: .18s;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav a.nav-cta {
  background: var(--brand); color: #fff; font-weight: 600; margin-left: 6px;
}
.nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  width: 40px; height: 38px; border-radius: 8px; font-size: 17px; cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 34, 62, .90) 0%, rgba(8, 55, 100, .62) 46%, rgba(8, 55, 100, .22) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.eyebrow {
  margin: 0 0 14px; font-size: 13.5px; letter-spacing: 2.2px;
  text-transform: uppercase; color: #a9d4f7;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(30px, 5vw, 50px);
  line-height: 1.22; font-weight: 700; letter-spacing: -.4px;
}
.hero-sub { margin: 0 0 30px; font-size: clamp(15px, 2vw, 18px); color: #d8e8f6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(4px);
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 9px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(11, 92, 173, .32); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 38px; }
.kicker {
  margin: 0 0 8px; font-size: 12px; letter-spacing: 3px;
  color: var(--brand); font-weight: 700;
}
.section-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.3; }
.section-note { margin: 12px 0 0; color: var(--ink-3); font-size: 14.5px; }

/* ---------------- 简介 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; }
.lead { margin: 0; font-size: 16px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  background: var(--brand-soft); border: 1px solid #d6e7f6;
  border-radius: var(--radius); padding: 18px 16px; text-align: center;
}
.stat b { font-size: 26px; color: var(--brand); line-height: 1.1; }
.stat i { font-size: 13px; color: var(--brand); font-style: normal; margin-left: 2px; }
.stat span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 18px; margin-top: 44px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfe1f2; }
.card .num { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 1.5px; }
.card h3 { margin: 8px 0 8px; font-size: 17px; }
.card p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------------- 工厂相册 ---------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.shot {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; background: #dfe7ee; box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 218px; object-fit: cover; transition: transform .5s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.07); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(5, 26, 47, .88));
}
.shot figcaption strong { display: block; font-size: 15.5px; }
.shot figcaption span { font-size: 12.5px; color: #cfe2f2; }
.shot:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ---------------- 公开文件（核心） ---------------- */
.docs-section { background: linear-gradient(180deg, #fbfcfe, #f2f6fa); border-top: 3px solid var(--brand); }
.docs-toolbar {
  display: grid; gap: 16px; margin-bottom: 22px;
  padding: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.search-box { position: relative; display: flex; align-items: center; }
.search-box .icon { position: absolute; left: 13px; font-size: 14px; opacity: .55; pointer-events: none; }
.search-box input {
  width: 100%; padding: 12px 40px 12px 38px;
  border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; background: var(--bg-alt); color: var(--ink);
}
.search-box input:focus { outline: 2px solid var(--brand); outline-offset: 1px; background: #fff; }
.search-box .clear {
  position: absolute; right: 8px; width: 26px; height: 26px; border: 0;
  background: #e7edf3; color: var(--ink-2); border-radius: 50%; cursor: pointer; font-size: 12px;
}
.search-box .clear:hover { background: #d7e1ea; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 15px; border-radius: 999px; font-size: 14px; cursor: pointer;
  font-family: inherit; transition: .16s;
}
.tab em { font-style: normal; color: var(--ink-3); font-size: 12.5px; margin-left: 3px; }
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.tab.is-active em { color: #cfe4f7; }
.docs-count { margin: 0; font-size: 13.5px; color: var(--ink-3); }

.docs-list { display: grid; gap: 10px; }
.doc-row {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 18px; transition: border-color .18s, box-shadow .18s, opacity .18s;
}
.doc-row:hover { border-color: #bcd7ee; box-shadow: var(--shadow); }
.ftype {
  flex: none; width: 52px; height: 46px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; color: #fff; letter-spacing: .4px;
  background: #7b8a99;
}
.ftype-pdf { background: #d64545; }
.ftype-doc, .ftype-docx { background: #2b6cb0; }
.ftype-xls, .ftype-xlsx { background: #2f855a; }
.ftype-zip, .ftype-rar, .ftype-7z { background: #b7791f; }
.ftype-jpg, .ftype-png, .ftype-jpeg { background: #6b46c1; }

.doc-main { flex: 1; min-width: 0; }
.doc-name {
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  display: inline-block; word-break: break-all;
}
.doc-name:hover { color: var(--brand); text-decoration: underline; }
.doc-meta {
  margin: 5px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 12.5px; color: var(--ink-3);
}
.doc-meta .tag {
  background: var(--brand-soft); color: var(--brand);
  padding: 1px 9px; border-radius: 999px; font-weight: 600;
}
.doc-meta .note { color: #946a12; }
.doc-row .warn {
  margin-left: 8px; font-size: 11.5px; color: #b3520f;
  border: 1px dashed #e5a97a; border-radius: 4px; padding: 0 6px;
}
.doc-row.is-missing { opacity: .78; background: #fffaf5; }

.btn-dl {
  flex: none; padding: 9px 17px; font-size: 14px;
  background: var(--brand-soft); color: var(--brand); border-color: #cfe3f5;
}
.btn-dl:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.doc-actions { flex: none; display: flex; gap: 8px; align-items: center; }
.btn-pv {
  flex: none; padding: 9px 17px; font-size: 14px;
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.btn-pv:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.empty { text-align: center; padding: 44px 0; color: var(--ink-3); }
.empty .btn { background: #fff; color: var(--brand); border-color: #cfe3f5; margin-top: 8px; }

.docs-notice {
  margin-top: 26px; padding: 18px 22px; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 8px; font-size: 13.5px; color: var(--ink-2);
}
.docs-notice strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; }
.docs-notice ul { margin: 0; padding-left: 20px; }
.docs-notice li { margin: 3px 0; }

/* ---------------- 联系 / 页脚 ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 16px; }
.contact-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.contact-item span { font-size: 12.5px; color: var(--ink-3); letter-spacing: .6px; }
.contact-item p { margin: 5px 0 0; font-size: 15.5px; font-weight: 500; }
.contact-item a { color: var(--brand); }
.contact-item a:hover { text-decoration: underline; }

.site-footer { background: #0e2233; color: #cfdae5; padding: 34px 0; font-size: 13.5px; }
.footer-inner p { margin: 3px 0; }
.footer-inner #footerName { color: #fff; font-weight: 600; font-size: 15px; }
.footer-inner .muted { color: #8ba0b4; }

/* ---------------- 灯箱 / 提示 ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(6, 18, 30, .92);
  display: grid; place-items: center; padding: 34px;
}
.lightbox figure { margin: 0; max-width: 1000px; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #d6e4f0; margin-top: 14px; font-size: 14.5px; }
.lb-close {
  position: absolute; top: 20px; right: 22px; width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1);
  color: #fff; border-radius: 50%; font-size: 16px; cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .22); }

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 95;
  transform: translate(-50%, 16px); opacity: 0;
  background: #0e2233; color: #fff; padding: 12px 20px;
  border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg);
  max-width: min(90vw, 520px); transition: .25s;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { min-height: 480px; padding: 112px 0 66px; }
}
@media (max-width: 720px) {
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; display: none;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 8px; }
  .nav a.nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: block; }
  .section { padding: 58px 0; }
  .doc-row { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .doc-main { flex: 1 1 100%; order: 2; }
  .doc-actions { order: 3; flex: 1; justify-content: flex-end; }
  .btn-dl { order: 3; flex: 1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- 简介分段（2026-03 新增） ---------------- */
#aboutIntro p { margin: 0 0 14px; }
#aboutIntro p:last-child { margin-bottom: 0; }
