:root {
  --brand: #0b4a8f;
  --brand-dark: #083a70;
  --brand-light: #e8f1fa;
  --accent: #d9822b;
  --ink: #1e242b;
  --ink-2: #4a5560;
  --ink-3: #7b858f;
  --line: #e2e6ea;
  --bg: #ffffff;
  --bg-2: #f6f8fa;
  --radius: 8px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.4; }

p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 导航 */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 92px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 56px; width: auto; display: block; border: 0; }
.logo-text strong {
  display: block; font-size: 27px; font-weight: 700;
  letter-spacing: 1px; line-height: 1.2; color: var(--brand-dark);
}
.logo-text > span {
  display: block; font-size: 12px; color: var(--ink-3);
  letter-spacing: 2px; margin-top: 5px;
}
@media (max-width:600px){
  .logo-img { height: 44px; }
  .logo-text strong { font-size: 18px; letter-spacing: 0; }
  .logo-text > span { font-size: 10px; letter-spacing: 1px; }
}

.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 14px; border-radius: 6px;
  font-size: 15px; color: var(--ink-2);
}
.nav ul a:hover, .nav ul a.active { background: var(--brand-light); color: var(--brand-dark); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 12px; font-size: 14px; cursor: pointer;
}

/* 首屏 */
.hero {
  background: linear-gradient(180deg, var(--brand-light), #fff);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 32px; margin-bottom: 16px; letter-spacing: .5px; }
.hero .lead { font-size: 16px; color: var(--ink-2); margin-bottom: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-tags span {
  background: #fff; border: 1px solid #cfe0f0; color: var(--brand-dark);
  border-radius: 20px; padding: 5px 14px; font-size: 13px;
}
.btn {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 11px 26px; border-radius: 6px; font-size: 15px;
  border: 1px solid var(--brand);
}
.btn:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand); margin-left: 8px; }
.btn-ghost:hover { background: var(--brand-light); }

.hero-figure {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px;
}
.hero-figure img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-figure figcaption { font-size: 13px; color: var(--ink-3); padding-top: 10px; text-align: center; }

/* 区块 */
section { padding: 60px 0; }
section.alt { background: var(--bg-2); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: 26px; margin-bottom: 10px; }
.sec-head p { color: var(--ink-3); font-size: 14px; margin: 0; }
.sec-head::after {
  content: ""; display: block; width: 44px; height: 3px;
  background: var(--accent); margin: 14px auto 0; border-radius: 2px;
}

/* 优势 */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.feature .num {
  width: 34px; height: 34px; border-radius: 6px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; margin-bottom: 14px;
}
.feature h3 { font-size: 16px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* 分类 */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.cat-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.cat-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--bg-2); }
.cat-card .body { padding: 16px 18px; }
.cat-card h3 { font-size: 16px; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--ink-3); margin: 0; }
.cat-card .count { font-size: 12px; color: var(--accent); margin-top: 8px; display: block; }

/* 产品网格 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filters button {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  padding: 7px 16px; border-radius: 20px; font-size: 14px; cursor: pointer;
  font-family: inherit;
}
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--bg-2); }
.card .body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 15px; margin-bottom: 6px; }
.card .cat-tag { font-size: 12px; color: var(--brand); margin-bottom: 8px; }
.card p { font-size: 13px; color: var(--ink-3); margin: 0 0 12px; }
.card .link { margin-top: auto; font-size: 13px; color: var(--brand); }

/* 关于 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { border-radius: var(--radius); }
.stat-row { display: flex; gap: 28px; margin: 20px 0; flex-wrap: wrap; }
.stat strong { display: block; font-size: 26px; color: var(--brand); font-weight: 500; }
.stat span { font-size: 13px; color: var(--ink-3); }

/* 应用行业 */
.industries { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.industries span {
  background: #fff; border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 4px; font-size: 14px; color: var(--ink-2);
}

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.contact-item h3 { font-size: 15px; color: var(--ink-3); font-weight: 400; margin-bottom: 6px; }
.contact-item p { margin: 0; font-size: 16px; }
.contact-item a { color: var(--brand); }

/* 页脚 */
footer.site { background: #1b2530; color: #aebac6; padding: 44px 0 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.foot-grid h4 { color: #fff; font-size: 15px; margin-bottom: 12px; font-weight: 500; }
.foot-grid p, .foot-grid li { margin: 0 0 8px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid #2b3742; margin-top: 32px; padding: 16px 0;
  font-size: 13px; text-align: center;
}

/* 面包屑 */
.crumbs { font-size: 13px; color: var(--ink-3); padding: 16px 0 0; }
.crumbs a:hover { color: var(--brand); }

/* 响应式 */
@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
}
@media (max-width: 720px) {
  .nav ul {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 8px; gap: 2px;
  }
  .nav ul.open { display: flex; }
  .nav ul a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  section { padding: 44px 0; }
  .sec-head h2 { font-size: 22px; }
}

/* 返回顶部按钮 */
.to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0; cursor: pointer;
  font-size: 20px; line-height: 44px; text-align: center;
  box-shadow: 0 4px 14px rgba(11,74,143,.32);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand-dark); }

/* 表单兜底（无邮件客户端时的替代联系方案） */
.form-fallback {
  margin-top: 18px; padding: 14px 16px; border: 1px dashed var(--line);
  border-radius: 6px; background: var(--bg-2); font-size: 14px; color: var(--ink-2);
}
.form-fallback p { margin: 0 0 8px; }
.form-fallback strong { color: var(--brand-dark); }
.form-fallback a { color: var(--brand); }
.copy-btn {
  margin-left: 8px; background: #fff; border: 1px solid var(--line);
  color: var(--brand); border-radius: 4px; padding: 2px 10px;
  font-size: 12px; cursor: pointer; font-family: inherit;
}
.copy-btn:hover { border-color: var(--brand); }
.copy-ok { color: var(--accent); }

/* 首屏信任数据条 */
.trust-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-bar span {
  background: var(--brand-light); color: var(--brand-dark);
  border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 500;
}

/* 资质与制造能力信任带 */
.trust-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-band .wrap { padding: 36px 20px; }
.trust-band .sec-head { margin-bottom: 28px; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.trust-item .n { display: block; font-size: 24px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.trust-item .t { font-size: 15px; font-weight: 500; color: var(--brand-dark); margin-bottom: 6px; }
.trust-item p { font-size: 13px; color: var(--ink-2); margin: 0; }

/* 首屏主视觉卡片增强 */
.hero-figure { box-shadow: 0 10px 30px rgba(11,74,143,.12); }

/* 浮动询盘按钮（全站） */
.inquiry-fab {
  position: fixed; right: 18px; bottom: 78px; z-index: 61;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  border-radius: 26px; padding: 12px 18px; font-size: 15px; font-weight: 600;
  box-shadow: 0 6px 18px rgba(217,130,43,.42);
}
.inquiry-fab:hover { background: #c4701f; }
.fab-pop {
  position: fixed; right: 18px; bottom: 132px; z-index: 61;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(20,30,40,.16); padding: 12px; width: 210px; display: none;
}
.fab-pop.show { display: block; }
.fab-pop a, .fab-pop button {
  display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; color: var(--ink);
  cursor: pointer; font-family: inherit; text-decoration: none;
}
.fab-pop a:last-child, .fab-pop button:last-child { margin-bottom: 0; }
.fab-pop a:hover, .fab-pop button:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 720px){
  .inquiry-fab { bottom: 72px; }
  .fab-pop { bottom: 124px; }
}
