:root {
  --c-primary: #003366;
  --c-primary-dark: #00254a;
  --c-accent: #0099CC;
  --c-highlight: #00CC66;
  --c-ink: #000033;
  --c-body: #33475b;
  --c-muted: #6b7c8f;
  --c-line: #d7e2ec;
  --c-surface: #ffffff;
  --c-surface-alt: #f1f8fc;
  --c-footer: #000033;
}
/* ==========================================================================
   企业官网通用样式表  (responsive / unified design system)
   Colours are driven by CSS custom properties set in the palette block below.
   ========================================================================== */

/* ---------- palette (overridden per site by build script) ---------- */
:root {
  --c-primary: #0066CC;
  --c-primary-dark: #004b96;
  --c-accent: #0099CC;
  --c-highlight: #FFCC00;
  --c-ink: #1c1c1c;
  --c-body: #444444;
  --c-muted: #7b8794;
  --c-line: #e3e8ee;
  --c-surface: #ffffff;
  --c-surface-alt: #f5f8fb;
  --c-footer: #14212e;
  --radius: 10px;
  --shadow-s: 0 1px 3px rgba(16, 30, 48, .08);
  --shadow-m: 0 8px 24px rgba(16, 30, 48, .10);
  --maxw: 1180px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--c-body); background: var(--c-surface);
  font: 16px/1.8 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; display: block; border: 0; }
a { color: var(--c-primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--c-ink); line-height: 1.35; font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-primary); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 0; }

/* ---------- top bar ---------- */
.topbar { background: var(--c-footer); color: #c9d6e2; font-size: 13px; line-height: 1; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; min-height: 38px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #c9d6e2; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- header ---------- */
.site-header { background: var(--c-surface); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 60; box-shadow: var(--shadow-s); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
  letter-spacing: .5px;
}
.brand .names { display: flex; flex-direction: column; line-height: 1.25; }
.brand .cn { font-size: 19px; font-weight: 700; color: var(--c-ink); }
.brand .en { font-size: 11px; color: var(--c-muted); letter-spacing: .6px; text-transform: uppercase; }
.brand:hover .cn { color: var(--c-primary); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .tel { font-size: 13px; color: var(--c-muted); text-align: right; line-height: 1.4; }
.header-cta .tel b { display: block; font-size: 19px; color: var(--c-primary); letter-spacing: .3px; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 6px; border: 1px solid var(--c-primary);
  background: var(--c-primary); color: #fff; font-size: 15px; font-weight: 600; text-align: center;
}
.btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--c-primary); }
.btn.ghost:hover { background: var(--c-primary); color: #fff; }
.btn.accent { background: var(--c-highlight); border-color: var(--c-highlight); color: #3a2c00; }
.btn.ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.75); }
.btn.ghost.on-dark:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn.accent:hover { filter: brightness(.94); color: #3a2c00; }

/* ---------- nav ---------- */
.nav-toggle {
  display: none; width: 44px; height: 40px; border: 1px solid var(--c-line); background: var(--c-surface);
  border-radius: 8px; padding: 9px 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-ink); margin: 4px 0; border-radius: 2px; }
.main-nav { background: var(--c-primary); }
.main-nav ul { display: flex; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 15px 26px; color: #fff; font-size: 16px; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--c-primary-dark); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--c-footer); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero .inner { position: relative; z-index: 2; padding: 74px 0 66px; max-width: 720px; }
.hero h1 { color: #fff; font-size: 2.25rem; margin-bottom: .35em; }
.hero p { color: #e5eef6; font-size: 1.02rem; margin-bottom: 1.5em; }
.hero .tagline { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-highlight); margin-bottom: 12px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* page banner for inner pages */
.pagebanner { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); color: #fff; padding: 44px 0; }
.pagebanner h1 { color: #fff; margin-bottom: .25em; }
.pagebanner .crumb { font-size: 13px; color: rgba(255, 255, 255, .85); }
.pagebanner .crumb a { color: rgba(255, 255, 255, .9); }
.pagebanner .crumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding: 62px 0; }
.section.alt { background: var(--c-surface-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head .eyebrow { display: block; color: var(--c-accent); font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { position: relative; display: inline-block; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 54px; height: 3px; background: var(--c-highlight); border-radius: 2px; }
.section-head p { color: var(--c-muted); margin: 0; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.card .thumb { position: relative; overflow: hidden; background: var(--c-surface-alt); }
.card .thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.05rem; margin-bottom: .5em; }
.card h3 a { color: var(--c-ink); }
.card h3 a:hover { color: var(--c-primary); }
.card .desc { color: var(--c-muted); font-size: 14px; margin: 0 0 14px; flex: 1; }
.card .meta { font-size: 12.5px; color: var(--c-muted); display: flex; gap: 12px; margin-bottom: 12px; }
.card .more { font-size: 14px; font-weight: 600; }
.card .more::after { content: " →"; }

/* feature strip */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.feature .num { font-size: 30px; font-weight: 700; color: var(--c-primary); line-height: 1; margin-bottom: 8px; }
.feature .num small { font-size: 15px; }
.feature h3 { font-size: 1rem; margin: .4em 0 .3em; }
.feature p { font-size: 13.5px; color: var(--c-muted); margin: 0; }

/* article / detail */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.entry { background: var(--c-surface); }
.entry h1 { font-size: 1.75rem; }
.entry .entry-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--c-muted); border-bottom: 1px solid var(--c-line); padding-bottom: 14px; margin-bottom: 22px; }
.entry .lead-img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.entry h2 { font-size: 1.3rem; margin-top: 1.6em; padding-left: 12px; border-left: 4px solid var(--c-primary); }
.entry h3 { font-size: 1.08rem; margin-top: 1.4em; }
.entry ul.bullets { margin: 0 0 1.2em; }
.entry ul.bullets li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.entry ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.entry ol.steps { counter-reset: st; margin: 0 0 1.2em; }
.entry ol.steps li { counter-increment: st; position: relative; padding-left: 40px; margin-bottom: 12px; }
.entry ol.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.entry figure { margin: 0 0 24px; }
.entry figure img { width: 100%; border-radius: var(--radius); }
.entry figcaption { font-size: 12.5px; color: var(--c-muted); text-align: center; padding-top: 8px; }
.spec-table { margin: 0 0 24px; font-size: 14.5px; }
.spec-table th, .spec-table td { border: 1px solid var(--c-line); padding: 11px 14px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--c-surface-alt); color: var(--c-ink); font-weight: 600; width: 32%; }
.entry blockquote { margin: 0 0 22px; padding: 18px 22px; background: var(--c-surface-alt); border-left: 4px solid var(--c-accent); border-radius: 0 6px 6px 0; color: var(--c-body); }
.entry blockquote p:last-child { margin: 0; }
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); padding: 14px 0; }
.faq summary { font-weight: 600; color: var(--c-ink); cursor: pointer; }
.faq summary::marker { color: var(--c-primary); }
.faq p { margin: 10px 0 0; font-size: 14.5px; color: var(--c-body); }

/* sidebar */
.sidebar { position: sticky; top: 96px; display: grid; gap: 24px; }
.widget { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-surface); }
.widget h2, .widget h3 { font-size: 1rem; margin: 0; padding: 14px 18px; background: var(--c-surface-alt); border-bottom: 1px solid var(--c-line); }
.widget .wbody { padding: 16px 18px; }
.widget ul li { border-bottom: 1px dashed var(--c-line); }
.widget ul li:last-child { border-bottom: 0; }
.widget ul a { display: block; padding: 10px 0; font-size: 14px; color: var(--c-body); }
.widget ul a:hover { color: var(--c-primary); }
.widget.contact .wbody p { margin: 0 0 8px; font-size: 14px; }
.widget.contact .wbody strong { color: var(--c-ink); }
.widget.cta { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); border: 0; color: #fff; }
.widget.cta .wbody { color: #eaf2fa; }
.widget.cta h2 { background: transparent; border: 0; color: #fff; padding-bottom: 0; }
.widget.cta .btn { width: 100%; margin-top: 8px; }

/* timeline (about) */
.timeline { border-left: 2px solid var(--c-line); margin: 0 0 24px 6px; padding-left: 26px; }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c-primary); }
.timeline b { display: block; color: var(--c-primary); font-size: 15px; }

/* pagination */
.pager { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 13px; border: 1px solid var(--c-line); border-radius: 6px; font-size: 14px; color: var(--c-body); background: var(--c-surface); }
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager .now { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.filters button { border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-body); padding: 8px 18px; border-radius: 40px; font-size: 14px; }
.filters button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filters button.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.is-hidden { display: none !important; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); color: #fff; padding: 46px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; font-size: 1.5rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.contact-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; background: var(--c-surface); }
.contact-card h3 { color: var(--c-primary); font-size: 1rem; }
.contact-card p { margin: 0; font-size: 14.5px; }
.map-holder { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-surface-alt); padding: 26px; }
.map-holder img { border-radius: 8px; }

/* footer */
.site-footer { background: var(--c-footer); color: #a9bccd; font-size: 14px; padding: 52px 0 0; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer a { color: #a9bccd; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 38px; }
.footer-top ul li { padding: 5px 0; }
.footer-top .about p { font-size: 13.5px; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; font-size: 13px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom .icp { color: #cfdce8; }
.footer-bottom .icp a { color: #cfdce8; }

/* back to top */
#toTop {
  position: fixed; right: 20px; bottom: 26px; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-size: 20px; line-height: 1; box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 70;
}
#toTop.show { opacity: 1; visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .article { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .site-header .wrap { min-height: 66px; }
  .nav-toggle { display: block; }
  .header-cta .tel { display: none; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 13px 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .grid.g3, .grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .inner { padding: 54px 0 48px; }
  .hero h1 { font-size: 1.7rem; }
  .section { padding: 44px 0; }
  .entry h1 { font-size: 1.4rem; }
}
@media (max-width: 560px) {
  .grid.g2, .grid.g3, .grid.g4, .features, .contact-grid, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .topbar .tb-left { gap: 10px; font-size: 12px; }
  .brand .cn { font-size: 16px; }
  .brand .mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 15px; }
  .cta-band .wrap, .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
  .pagebanner { padding: 32px 0; }
}

/* print */
@media print {
  .site-header, .main-nav, .topbar, #toTop, .cta-band, .sidebar { display: none; }
  body { font-size: 12pt; }
}
