/* ============ 光准 GZ-TECH 全站样式 ============ */
:root {
  --orange: #f5920b;
  --orange-2: #fbbf4a;
  --blue: #2f9bf4;
  --blue-2: #6cc2ff;
  --navy: #0b1526;
  --navy-2: #101f38;
  --ink: #1c2430;
  --gray: #64748b;
  --line: #e6eaf1;
  --bg: #f5f7fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 32, 60, .08);
  --shadow-lg: 0 24px 60px rgba(15, 32, 60, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部导航：初始与背景同色，上划吸顶白底（参考 cnsszn） ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  transition: background .3s ease, box-shadow .3s ease;
}
.header.scrolled { background: #fff; box-shadow: 0 6px 24px rgba(15,32,60,.08); }
.header .container { display: flex; align-items: center; height: 84px; gap: 40px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.brand .logo-light { display: none; }
.nav { display: flex; gap: 6px; }                  /* 文字链接紧跟 logo 放左边 */
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15.5px; color: var(--ink);
  transition: .2s; font-weight: 500;
}
.nav a:hover { color: var(--orange); background: #f1f5f9; }
.menu-btn { display: none; margin-left: auto; background: none; border: none; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; stroke: var(--ink); transition: stroke .3s; }

/* 首页顶部：导航悬浮于浅色 Hero 上（初始透明，上划吸顶白底） */
body[data-page="home"] .header { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; }
body[data-page="home"] .header.scrolled { background: #fff; box-shadow: 0 6px 24px rgba(15,32,60,.08); }

/* ---------- 首页 Hero ---------- */
/* 合成背景图：左 GZ-C/GZ-I、右 GZ-P/GZ-M，中间留白给标题 */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--hc);
  min-height: 520px;
  display: flex; align-items: center;
}
/* 变量：颜色/尺寸统一管理，便于后期微调 */
.hero {
  --hc: #0b0d11;                 /* 底色 */
  --hc2: #14181f;                /* 顶部渐层 */
  --glow: #c8842a;               /* 地平线主色（暖金） */
  --glow2: #f0b95c;              /* 高光 */
}
/* 地平线弧光（纯 CSS 绘制） */
.hero .hero-glow {
  position: absolute; inset: 0; pointer-events: none;
}
.hero .hero-glow::before {
  content: ""; position: absolute; left: 50%; bottom: -46%;
  width: 150%; aspect-ratio: 2.5 / 1; transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255,214,150,.55), rgba(200,132,42,.28) 42%, rgba(120,70,20,.10) 62%, transparent 74%);
  filter: blur(26px);
}
/* 弧线光边 */
.hero .hero-glow::after {
  content: ""; position: absolute; left: 50%; bottom: -46%;
  width: 150%; aspect-ratio: 2.5 / 1; transform: translateX(-50%);
  border-radius: 50%;
  border-top: 2px solid rgba(255, 232, 190, .95);
  box-shadow:
    0 -6px 22px 2px rgba(255, 190, 110, .75),
    0 -30px 70px 8px rgba(200, 130, 45, .40),
    0 -70px 160px 20px rgba(160, 100, 30, .22);
}
/* 顶部渐层与暗角，令整体更有纵深 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(20,24,31,.55), transparent 60%),
    linear-gradient(180deg, rgba(8,9,12,.55) 0%, transparent 32%, transparent 74%, rgba(8,9,12,.35) 100%);
}
.hero .container { position: relative; padding: 168px 0 120px; text-align: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(23,35,59,.22); border-radius: 999px;
  padding: 6px 18px; font-size: 13px; letter-spacing: 3px; color: #43536e;
  background: rgba(255,255,255,.6);
}
.hero h1 {
  margin: 26px 0 18px; font-size: clamp(38px, 6vw, 68px);
  letter-spacing: 4px; font-weight: 800; line-height: 1.15;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--orange-2), var(--orange) 45%, var(--blue-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  max-width: 540px; margin: 0 auto; font-size: clamp(15px, 2vw, 19px);
  color: #4b5a75; letter-spacing: 1px;
}
.hero .actions { margin-top: 42px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-shots { margin-top: 56px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; perspective: 1200px; }
.hero-shot {
  position: relative; width: 150px; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.18); background: #0c1219;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: .35s; transform: rotate(var(--r, 0deg));
}
.hero-shot:nth-child(1) { --r: -5deg; }
.hero-shot:nth-child(2) { --r: -2deg; }
.hero-shot:nth-child(3) { --r: 2deg; }
.hero-shot:nth-child(4) { --r: 5deg; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot span {
  position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: #fff; background: rgba(11,21,38,.8); padding: 3px 10px; border-radius: 999px; border-left: 3px solid var(--orange);
}
.hero-shot:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); border-color: #fff; z-index: 2; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; border-radius: 999px; font-size: 16px; font-weight: 600;
  transition: .25s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff;
  box-shadow: 0 10px 26px rgba(245,146,11,.4);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #e8f0fa; background: rgba(255,255,255,.05); }
.btn-ghost:hover { border-color: var(--blue-2); color: var(--blue-2); }
.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden;
}
.hero-stats div { background: rgba(10, 20, 38, .55); padding: 22px 10px; backdrop-filter: blur(6px); }
.hero-stats b { display: block; font-size: 26px; color: #fff; }
.hero-stats b i { font-style: normal; font-size: 13px; color: var(--orange-2); margin-left: 3px; }
.hero-stats span { font-size: 13px; color: #9fb2cc; }

/* ---------- 首页模块区 ---------- */
.section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .kicker { color: var(--orange); font-weight: 700; letter-spacing: 4px; font-size: 14px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-top: 10px; letter-spacing: 2px; }
.section-head p { color: var(--gray); margin-top: 12px; font-size: 15.5px; }

.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.module-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: .3s; display: flex; flex-direction: column;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-card .pic { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg); }
.module-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.module-card:hover .pic img { transform: scale(1.05); }
.module-card .pic .badge {
  position: absolute; top: 18px; left: 18px;
  background: rgba(11,21,38,.82); color: #fff; backdrop-filter: blur(4px);
  padding: 7px 16px; border-radius: 999px; font-weight: 700; letter-spacing: 1px;
  border-left: 3px solid var(--orange); font-size: 15px;
}
.module-card .body { padding: 16px 28px 26px; flex: 1; display: flex; flex-direction: column; }
.module-card .body h3 { font-size: 21px; letter-spacing: 1px; }
.module-card .body .en { color: #9aa8bd; font-size: 12px; letter-spacing: .5px; margin-top: 3px; }
.module-card .body p { color: var(--gray); font-size: 15.5px; line-height: 1.75; margin-top: 0; flex: 1; }
.module-card .body .alt-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; }
.module-card .body .alt-line b { color: #3c4e66; font-size: 14.5px; font-weight: 700; letter-spacing: .3px; }
.module-card .body .alt-line .more { margin-top: 0; }
.module-card .more {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange); font-weight: 600; font-size: 15px;
}
.module-card .more svg { transition: transform .25s; }
.module-card:hover .more svg { transform: translateX(4px); }

/* ---------- 首页优势/服务带 ---------- */
.band { background: linear-gradient(160deg, var(--navy), #14284a); color: #fff; }
.band .section-head h2 { color: #fff; }
.band .section-head p { color: #9fb2cc; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 30px 24px; transition: .3s;
}
.adv:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.adv .ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(245,146,11,.9), rgba(251,191,74,.9));
  box-shadow: 0 8px 20px rgba(245,146,11,.35); margin-bottom: 18px;
}
.adv .ico, .adv h4 { margin-left: auto; margin-right: auto; text-align: center; }
.adv .ico svg { width: 26px; height: 26px; stroke: #fff; }
.adv h4 { font-size: 17px; margin-bottom: 8px; }
.adv p { font-size: 13.5px; color: #9fb2cc; }

/* ---------- 系列页 Banner ---------- */
.series-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(52% 57% at 78% 8%, rgba(255,90,210,.20), transparent 72%),
    radial-gradient(45% 48% at 50% 50%, rgba(47,155,244,.18), transparent 72%),
    radial-gradient(45% 55% at 20% 18%, rgba(245,146,11,.22), transparent 72%),
    #111418;
  padding: 72px 0;
}
.series-hero .container { position: relative; }
.crumb { font-size: 13.5px; color: #8ea3c0; margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: var(--orange-2); }
.series-hero h1 { font-size: clamp(30px, 4.5vw, 46px); letter-spacing: 2px; }
.series-hero h1 b { color: var(--orange-2); }
.series-hero .en { color: #8ea3c0; font-size: 14px; letter-spacing: 1px; margin-top: 6px; }
.series-hero .intro { max-width: 860px; color: #c3d2e8; margin-top: 18px; font-size: 15.5px; }
.series-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.series-stats div { background: rgba(255,255,255,.05); padding: 20px 18px; text-align: center; }
.series-stats b { font-size: clamp(20px, 3vw, 30px); color: #fff; display: block; line-height: 1.2; }
.series-stats b i { font-style: normal; font-size: .5em; color: var(--blue-2); margin-left: 3px; }
.series-stats b small { font-size: .45em; color: #8ea3c0; font-weight: 400; margin-right: 4px; }
.series-stats span { font-size: 13px; color: #9fb2cc; }

/* ---------- 系列页工具条 ---------- */
.toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 26px; }
.toolbar h2 { font-size: 22px; letter-spacing: 1px; }
.toolbar .count { color: var(--gray); font-size: 14px; }
.toolbar .search { margin-left: auto; position: relative; }
.toolbar .search input {
  width: 240px; padding: 10px 14px 10px 38px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; outline: none; transition: .2s; background: #fff;
}
.toolbar .search input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,146,11,.15); }
.toolbar .search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: #94a3b8; }
.tag-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tag-filter button {
  padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13.5px; color: var(--gray); cursor: pointer; transition: .2s;
}
.tag-filter button:hover { border-color: var(--orange); color: var(--orange); }
.tag-filter button.on { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- 瀑布流 ---------- */
.waterfall { column-count: 4; column-gap: 22px; }
@media (max-width: 1080px) { .waterfall { column-count: 3; } }
@media (max-width: 820px)  { .waterfall { column-count: 2; } }
@media (max-width: 520px)  { .waterfall { column-count: 1; } }
.p-card {
  break-inside: avoid; margin-bottom: 22px; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .3s;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #ffd9a1; }
.p-card .thumb { position: relative; overflow: hidden; background: var(--bg); }
.p-card .thumb img { width: 100%; transition: transform .5s; }
.p-card:hover .thumb img { transform: scale(1.06); }
.p-card .tag {
  position: absolute; top: 12px; left: 12px; font-size: 11.5px; padding: 4px 11px;
  border-radius: 999px; background: rgba(11,21,38,.8); color: #ffd9a1; backdrop-filter: blur(3px);
}
.p-card .info { padding: 16px 18px 18px; }
.p-card .model { font-weight: 700; font-size: 16.5px; letter-spacing: .5px; color: var(--ink); }
.p-card .name { color: var(--gray); font-size: 13.5px; margin-top: 4px; }
.p-card .meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.p-card .meta span {
  font-size: 11.5px; background: #f1f5f9; color: #475569; padding: 3px 9px; border-radius: 6px;
}
.p-card .link { margin-top: 14px; color: var(--orange); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 详情页 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.detail-pic {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(150deg, #f8fafc, #eef2f7); box-shadow: var(--shadow);
  position: sticky; top: 92px;
}
.detail-pic img { width: 100%; }
.detail h1 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: 1px; }
.detail .sub-name { color: var(--gray); font-size: 15.5px; margin-top: 8px; }
.detail .chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 24px; }
.detail .chips span {
  font-size: 12.5px; padding: 5px 13px; border-radius: 999px;
  background: #fff7ea; color: #b06a00; border: 1px solid #ffe1b3;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table tr:nth-child(odd) { background: #f8fafc; }
.spec-table th { text-align: left; width: 38%; padding: 12px 18px; color: var(--gray); font-weight: 500; white-space: nowrap; }
.spec-table td { padding: 12px 18px; font-weight: 600; }
.detail-block { margin-top: 34px; }
.detail-block h3 { font-size: 19px; padding-left: 12px; border-left: 4px solid var(--orange); letter-spacing: 1px; margin-bottom: 16px; }
.detail-block p { color: #3d4a5c; font-size: 15px; margin-bottom: 12px; }
.feature-list li { position: relative; padding: 7px 0 7px 26px; color: #3d4a5c; font-size: 15px; }
.feature-list li::before {
  content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px;
  border-radius: 2px; background: linear-gradient(135deg, var(--orange), var(--orange-2));
  transform: rotate(45deg);
}
.detail-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1a2c4e; transform: translateY(-2px); }

/* 相关产品 */
.related { margin-top: 84px; }
.related h3 { font-size: 22px; letter-spacing: 1px; margin-bottom: 26px; padding-left: 12px; border-left: 4px solid var(--blue); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: #8ea3c0; padding: 60px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer img { height: 40px; width: auto; margin-bottom: 16px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
.footer li { margin-bottom: 9px; font-size: 13.5px; }
.footer a:hover { color: var(--orange-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; text-align: center; font-size: 12.5px; color: #64789a; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed; top: 64px; right: 0; left: 0; background: #fff;
    flex-direction: column; padding: 14px 20px 20px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .header .container { height: 64px; gap: 20px; }
  .brand img { height: 44px; }
  .module-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-pic { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  /* 移动端：产品中心下拉改为流式展开，由 .is-open 控制显隐（脱离 hover） */
  .nav-dd { width: 100%; }
  .nav-dd > a {
    width: 100%; justify-content: space-between;
    padding: 12px 10px; border-radius: 8px; background: #f5f8fc; margin: 2px 0;
  }
  .nav-dd .dd {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 8px;
    min-width: 0; padding: 4px; background: #eef3fa; margin: 0 0 6px;
    display: none;
  }
  .nav-dd.is-open .dd { display: block; }
  .nav-dd.is-open > a { color: var(--orange); background: #fff7ea; }
  .nav-dd.is-open > a svg { transform: rotate(180deg); }
  .nav-dd .dd a { padding: 10px 14px; font-size: 14px; border-radius: 6px; }
  .nav-dd .dd::before { display: none; }
}
@media (max-width: 560px) {
  .hero-stats, .series-stats { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 二级页：型号竖排列表 ---------- */
.crumbs { padding: 20px 0 6px; font-size: 14.5px; color: var(--gray); }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { margin: 0 8px; color: #cbd5e1; }
.crumbs b { color: var(--ink); font-weight: 600; }
.model-list { max-width: 960px; margin: 14px auto 0; }
.model-row {
  display: flex; align-items: center; gap: 18px; padding: 24px 28px; margin-bottom: 14px;
  background: #fff; border: 2px solid #e2e8f0; border-radius: 12px;
  text-decoration: none; transition: .2s;
}
.model-row:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
.model-row .mid { font-weight: 700; font-size: 17.5px; color: var(--ink); min-width: 140px; letter-spacing: .5px; }
.model-row .mname { color: var(--gray); font-size: 14px; flex: 1; }
.model-row .arr { color: var(--orange); flex-shrink: 0; transition: .2s; }
.model-row:hover .arr { transform: translateX(4px); }

/* ---------- 三级页：实物图 / 外形图 + 详细介绍 ---------- */
.img-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 960px; margin: 14px auto 0; }
/* 三张图（1 实物 + 2 尺寸）：三列 */
.img-duo.triple { grid-template-columns: repeat(3, 1fr); max-width: 1160px; }
/* 四张图（1 实物 + 3 尺寸）：田字型 2×2 */
.img-duo.multi { grid-template-columns: repeat(2, 1fr); max-width: 960px; }
/* 尺寸图卡片：图片按原比例完整显示，竖长图也不裁切 */
.img-duo .img-card { display: flex; flex-direction: column; }
.img-card .ph { aspect-ratio: 4 / 3; background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #fff; }
.img-duo .img-card .ph {
  aspect-ratio: auto; min-height: 300px; flex: 1;
  background-size: contain; background-color: #fff;
}
.img-duo.multi .img-card .ph { min-height: 360px; }
.img-card .ph svg { width: 100%; height: 100%; display: block; }
.img-card { background: #fff; border: 2px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.img-card .cap {
  padding: 14px 14px; font-size: 16px; font-weight: 700; color: var(--ink);
  text-align: center; border-top: 1px solid var(--line);
  letter-spacing: 2px; background: #fff;
}
.detail-intro {
  max-width: 960px; margin: 34px auto 0; background: #fff;
  border: 2px solid #e2e8f0; border-radius: 12px; padding: 32px 36px;
}
.detail-intro h3 {
  font-size: 19px; margin-bottom: 16px; padding-left: 12px;
  border-left: 4px solid var(--orange); color: var(--ink);
}
.detail-intro h4 { font-size: 15.5px; margin: 26px 0 12px; color: var(--ink); }
.detail-intro p { color: var(--gray); font-size: 14.5px; line-height: 1.9; margin-bottom: 12px; }
@media (max-width: 1100px) {
  .img-duo.triple { grid-template-columns: repeat(2, 1fr); max-width: 960px; }
}
@media (max-width: 760px) {
  .img-duo, .img-duo.triple, .img-duo.multi { grid-template-columns: 1fr; max-width: 100%; }
  .img-duo .img-card .ph, .img-duo.multi .img-card .ph { min-height: 240px; }
  .model-row { padding: 18px 18px; gap: 12px; }
  .model-row .mid { min-width: 0; }
  .detail-intro { padding: 22px 18px; }
}

/* ---------- 二级页：系列头 + 产品瀑布流卡片 ---------- */
.series-head { padding: 30px 0 4px; }
.series-head h1 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: 1px; }
.series-head .en { color: #9aa8bd; font-size: 13px; letter-spacing: .5px; margin-top: 6px; }
.series-head p { color: var(--gray); margin-top: 12px; max-width: 880px; font-size: 15px; }

.waterfall { column-count: 3; margin-top: 22px; }
@media (max-width: 1080px) { .waterfall { column-count: 2; } }

.p-card .thumb { position: relative; aspect-ratio: 1 / 1; background: #fff; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-card .ptags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.p-card .ptags i {
  font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 999px; color: #fff;
  box-shadow: 0 4px 10px rgba(15,32,60,.18);
}
.p-card .ptags i:nth-child(odd)  { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.p-card .ptags i:nth-child(even) { background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.p-card .specs4 { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 8px; }
.p-card .specs4 li { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; font-size: 13.5px; }
.p-card .specs4 li span { color: var(--gray); }
.p-card .specs4 li b { color: var(--ink); font-weight: 600; font-size: 14px; }
.p-card .view {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between;
  color: var(--orange); font-weight: 600; font-size: 14px;
}
.p-card .view .circ {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  display: grid; place-items: center; color: #fff; transition: .25s;
}
.p-card .view .circ svg { width: 15px; height: 15px; }
.p-card:hover .view .circ { transform: translateX(5px); }

/* 首页移动端菜单：未滚动时深色面板（与 Hero 同色），滚动后白面板 */
@media (max-width: 960px) {
  .p-card .specs4 li { font-size: 13px; }
}

/* ---------- 导航：产品中心下拉 ---------- */
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd > a svg { transition: transform .25s; }
.nav-dd:hover > a svg { transform: rotate(180deg); }
.nav-dd .dd {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 264px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15,32,60,.14); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .25s; z-index: 200;
}
.nav-dd .dd::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-dd:hover .dd, .nav-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
/* 点击切换系列后立即强制收起下拉（即使鼠标仍悬停） */
.nav-dd.dd-hide .dd { opacity: 0 !important; visibility: hidden !important; transform: translateY(8px) !important; }
.nav-dd .dd a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 8px; color: var(--ink); font-size: 14.5px; white-space: nowrap;
  text-align: left;
}
.nav-dd .dd a:hover { background: #fff7ea; color: var(--orange); }
.nav-dd .dd a b {
  color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .5px;
  min-width: 54px; flex-shrink: 0; display: inline-block; text-align: left;
}

/* ---------- 二级页：双列横排型号卡片 ---------- */
.m-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.m-card {
  display: flex; gap: 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  transition: .25s;
}
.m-card:hover { box-shadow: 0 16px 40px rgba(15,32,60,.12); border-color: #d4e2f5; transform: translateY(-2px); }
.m-card .mpic {
  width: 132px; height: 132px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
  background: #fff; display: block;
}
.m-card .mpic img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.m-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.m-card h3 a { color: inherit; text-decoration: none; }
.m-card h3 a:hover { color: var(--orange); }
.m-card h3 .tag {
  font-size: 12px; font-weight: 600; padding: 2px 10px;
  border-radius: 6px; border: 1.5px solid; background: #fff; letter-spacing: .5px;
}
.m-card h3 .tag.g { color: #5ba400; border-color: #9ccb52; }
.m-card h3 .tag.o { color: #e08600; border-color: #f0b53c; }
.m-card .mspecs { display: flex; gap: 16px; margin-top: 22px; flex-wrap: nowrap; }
.m-card .mspecs div { display: flex; flex-direction: column; min-width: 0; }
.m-card .mspecs div span { font-size: 12px; color: #a9b4c3; }
.m-card .mspecs div b { display: block; font-size: 16px; color: var(--ink); font-weight: 700; white-space: nowrap; margin-top: 2px; }
.m-card .mspecs div b .u { font-size: 11px; font-weight: 600; color: #8a97a8; font-style: normal; margin-left: 2px; }
.m-card .mlinks { margin-top: 15px; display: flex; gap: 20px; align-items: center; }
.m-card .mlinks a {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 13.5px; color: #4a7fd4; text-decoration: none;
}
.m-card .mlinks a:hover { color: var(--orange); }
.m-card .mlinks a.fav { color: #8a97a8; }
.m-card .mlinks a.fav:hover { color: var(--orange); }
@media (max-width: 980px) {
  .m-list { grid-template-columns: 1fr; }
  .m-card .mpic { width: 104px; height: 104px; }
}
@media (max-width: 980px) {
  .m-card { gap: 14px; padding: 14px; }
  .m-card .mspecs { gap: 18px; margin-top: 22px; }
  .m-card .mlinks { gap: 14px; margin-top: 12px; }
  .m-card .mlinks a { white-space: nowrap; }
}

/* 空系列提示（预生成页面，产品信息空置） */
.empty-tip {
  grid-column: 1 / -1; text-align: center; padding: 80px 20px;
  background: #fff; border: 1px dashed var(--line); border-radius: 14px; color: var(--gray);
}
.empty-tip svg { stroke: #c3cdda; margin-bottom: 14px; }
.empty-tip b { display: block; font-size: 19px; color: var(--ink); letter-spacing: 1px; }
.empty-tip p { margin: 10px auto 18px; font-size: 14.5px; max-width: 420px; }
.empty-tip a { color: var(--orange); font-weight: 600; font-size: 14.5px; }

/* 卡片简化：右侧箭头 + 字段名弱化 */
.m-card { align-items: center; }
.m-card .mbody { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.m-card .mspecs { margin-bottom: 2px; }
.m-card .marr {
  width: 22px; height: 22px; flex-shrink: 0; color: #b6c2d2;
  transition: .25s; align-self: center; margin-left: 4px;
}
.m-card:hover .marr { color: var(--orange); transform: translateX(4px); }
.m-card .mspecs div span { color: #a9b4c3; }

/* ---------- 首页 Hero：整幅深色横幅图（文字已含在图内） ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--hc);
  min-height: 520px;
  display: flex; align-items: center;
}
/* 变量：颜色/尺寸统一管理，便于后期微调 */
.hero {
  --hc: #0b0d11;                 /* 底色 */
  --hc2: #14181f;                /* 顶部渐层 */
  --glow: #c8842a;               /* 地平线主色（暖金） */
  --glow2: #f0b95c;              /* 高光 */
}
/* 地平线弧光（纯 CSS 绘制） */
.hero .hero-glow {
  position: absolute; inset: 0; pointer-events: none;
}
.hero .hero-glow::before {
  content: ""; position: absolute; left: 50%; bottom: -46%;
  width: 150%; aspect-ratio: 2.5 / 1; transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255,214,150,.55), rgba(200,132,42,.28) 42%, rgba(120,70,20,.10) 62%, transparent 74%);
  filter: blur(26px);
}
/* 弧线光边 */
.hero .hero-glow::after {
  content: ""; position: absolute; left: 50%; bottom: -46%;
  width: 150%; aspect-ratio: 2.5 / 1; transform: translateX(-50%);
  border-radius: 50%;
  border-top: 2px solid rgba(255, 232, 190, .95);
  box-shadow:
    0 -6px 22px 2px rgba(255, 190, 110, .75),
    0 -30px 70px 8px rgba(200, 130, 45, .40),
    0 -70px 160px 20px rgba(160, 100, 30, .22);
}
/* 顶部渐层与暗角，令整体更有纵深 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(20,24,31,.55), transparent 60%),
    linear-gradient(180deg, rgba(8,9,12,.55) 0%, transparent 32%, transparent 74%, rgba(8,9,12,.35) 100%);
}
.hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero .container { position: absolute; inset: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
/* 首页导航初始：深色图上用白字 logo */
.header.on-dark { background: transparent; box-shadow: none; }
.header.on-dark .logo-light { display: block; }
.header.on-dark .logo-dark-img { display: none; }
.header.on-dark .nav a { color: #dbe6f5; }
.header.on-dark .nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.header.on-dark .menu-btn svg { stroke: #fff; }
.header.on-dark .nav-dd .dd a { color: var(--ink); }
.header.on-dark .nav-dd .dd a:hover { color: var(--orange); background: #fff7ea; }
@media (max-width: 760px) {
  /* 小屏：横幅图放大裁剪只取地平线区域，标题用 HTML 重新排版 */
  .hero { aspect-ratio: auto; height: 340px; min-height: 0; }
  .hero .hero-bg { width: 520%; height: auto; max-width: none; left: 50%; transform: translateX(-50%); top: auto; bottom: 0; position: absolute; }
  .hero .container { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; text-align: center; }
  .hero .sr-only { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; }
  .hero h1 { color: #fff; font-size: 27px; letter-spacing: 2px; font-weight: 800; }
  .hero p { color: #d8c8b2; font-size: 13.5px; margin-top: 10px; line-height: 1.7; }
}

/* ---------- 首页 Hero（纯 CSS 深色场景版）---------- */
.hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; position: absolute;
}
.hero .container {
  position: relative; z-index: 2; width: min(1240px, 94%);
  margin: 0 auto; padding: 148px 0 96px; text-align: center;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(232, 200, 150, .30); border-radius: 999px;
  padding: 6px 18px; font-size: 13px; letter-spacing: 3px; color: #d9c6a6;
  background: rgba(255, 255, 255, .05);
}
.hero .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f0b95c; box-shadow: 0 0 10px 2px rgba(240,185,92,.7);
}
.hero h1 {
  margin: 24px 0 16px; font-size: clamp(34px, 5.2vw, 62px);
  letter-spacing: 6px; font-weight: 800; line-height: 1.2; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 0%, #ffe9c8 34%, var(--glow2) 62%, #b5762a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  max-width: 640px; margin: 0 auto; font-size: clamp(14px, 1.5vw, 17px);
  color: #c9bda9; letter-spacing: 1.5px; line-height: 1.8;
}
@media (max-width: 760px) {
  .hero { min-height: 360px; }
  .hero .hero-bg {
    width: 800%; height: auto; max-width: none; inset: auto;
    left: 50%; transform: translateX(-50%); bottom: 0; top: auto;
  }
  .hero .container {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    justify-content: center; padding: 0 16px;
  }
  .hero .sr-only { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; }
  .hero h1 { color: #fff; font-size: 27px; letter-spacing: 2px; font-weight: 800; margin: 0; }
  .hero p { color: #d8c8b2; font-size: 13.5px; margin-top: 10px; line-height: 1.7; }
}

/* 首页导航初始深色态文字色（配合暖金背景） */
.header.on-dark .nav a { color: #e6dccb; }
.header.on-dark .nav a:hover { color: #fff; background: rgba(255,255,255,.10); }

/* 图片加载状态：成功→隐藏CSS兜底层；失败→显示HTML标题（任何屏宽） */
.hero.has-img .hero-glow { display: none; }
.hero.img-failed .sr-only { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; }
.hero.img-failed .container { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; }
.hero.img-failed h1 { color: #fff; font-size: clamp(27px, 4vw, 46px); letter-spacing: 3px; font-weight: 800; margin: 0; }
.hero.img-failed h1 .grad { color: var(--glow2); background: none; -webkit-text-fill-color: var(--glow2); }
.hero.img-failed p { color: #c9bda9; font-size: 15px; margin-top: 12px; }

/* ========== 最终覆盖：导航实底条 + Hero 图完整等比显示 ========== */
body[data-page="home"] .header { position: sticky; background: #07080b; box-shadow: none; }
body[data-page="home"] .header.scrolled { background: #fff; box-shadow: 0 6px 24px rgba(15,32,60,.08); }
.hero {
  background: #07080b;
  min-height: 0; display: block; overflow: hidden;
}
.hero .hero-bg { position: relative; width: 100%; height: auto; max-width: none; inset: auto; transform: none; display: block; }
.hero .container {
  position: absolute; inset: 0; z-index: 2; width: auto;
  margin: 0; padding: 0 16px;
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.hero.img-failed { min-height: 460px; }
@media (max-width: 760px) {
  .hero .hero-bg { width: 100%; height: auto; }
}

/* 移动端：横幅放大裁剪只取地平线区域，标题用 HTML 大字 */
@media (max-width: 760px) {
  .hero { min-height: 340px; }
  .hero .hero-bg {
    position: absolute; width: 800%; height: auto; max-width: none;
    left: 50%; transform: translateX(-50%); top: auto; bottom: 0;
  }
  .hero .container { position: absolute; inset: 0; }
}

/* ========== 最终：最新横幅原图，全端完整等比显示（不裁剪） ========== */
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero .hero-bg { position: relative; width: 100%; height: auto; left: auto; transform: none; top: auto; bottom: auto; }
  .hero .container { display: none; }        /* 图内已含标题 */
  .hero.img-failed .container { display: flex; }  /* 仅图片失效时显示文字兜底 */
}
@media (max-width: 760px) {
  .hero { height: auto; }
}

/* ---------- M 系列：多列（母子型号）参数表 ---------- */
.spec-table.m-multi th, .spec-table.m-multi td {
  border: 1px solid var(--line); text-align: left; vertical-align: top;
}
.spec-table.m-multi thead th {
  background: #f5f8fc; color: var(--ink); font-weight: 700; font-size: 13.5px;
  white-space: nowrap;
}
.spec-table.m-multi tbody th { width: 110px; background: #fafbfd; white-space: nowrap; }
.spec-table.m-multi td { min-width: 200px; }
@media (max-width: 760px) {
  .spec-table.m-multi thead { display: none; }
  .spec-table.m-multi tbody th { display: block; width: auto; }
  .spec-table.m-multi td { display: block; min-width: 0; border-top: none; }
  .spec-table.m-multi tr { display: block; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
}
.spec-table.m-multi th, .spec-table.m-multi td { text-align: center; }
.spec-table.m-multi tbody th { text-align: center; }

/* ============ GZ-I 系列：合并单元格参数表 + 探头/控制器外形图 ============ */
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table.i-multi { font-size: 14px; }
.spec-table.i-multi th, .spec-table.i-multi td {
  border: 1px solid var(--line); text-align: center; vertical-align: middle; padding: 10px 8px;
}
.spec-table.i-multi thead th { background: #f5f8fc; color: var(--ink); font-weight: 700; font-size: 13px; min-width: 120px; white-space: nowrap; }
.spec-table.i-multi tbody th.grp, .spec-table.i-multi tbody th.sub { background: #fafbfd; color: var(--ink); font-weight: 600; }
.spec-table.i-multi th.grp { width: 90px; }
.spec-table.i-multi th.sub { width: 118px; }
.spec-table.i-multi td { font-weight: 500; color: #23304a; }
.img-duo.single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.img-duo.i-probes { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-width: 1160px; }
@media (max-width: 760px) {
  .img-duo.single, .img-duo.i-probes { grid-template-columns: 1fr; max-width: 100%; }
}

/* GZ-I 系列 series 卡片：字号缩小、允许折行，卡片宽度与其它系列一致 */
/* GZ-I 系列 series 卡片：字号缩小、光源类型短格式，保持一行四项 */
.m-list.k-gz-i .m-card h3 { font-size: 17px; gap: 8px; }
.m-list.k-gz-i .m-card h3 .tag { font-size: 11px; padding: 1px 7px; }
.m-list.k-gz-i .m-card .mspecs { gap: 12px; margin-top: 18px; min-width: 0; }
.m-list.k-gz-i .m-card .mspecs div span { font-size: 12px; }
.m-list.k-gz-i .m-card .mspecs div b { font-size: 15px; white-space: nowrap; max-width: none; }
.m-list.k-gz-i .m-card .mspecs div b .sub2 { display: block; font-style: normal; font-weight: 700; font-size: 15px; color: inherit; line-height: 1.35; }
.m-list.k-gz-i .m-card .mspecs div b .u { font-size: 11px; }

/* ============ 系列页：应用案例 ============ */
.sec-bar { display: flex; align-items: center; gap: 10px; margin: 34px 0 18px; }
.sec-bar::before { content: ""; width: 5px; height: 22px; background: #1a73e8; border-radius: 3px; flex: none; }
.sec-bar b { font-size: 20px; color: var(--ink); letter-spacing: 1px; }
.case-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.case-card {
  position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 10px; background: #eef1f6; box-shadow: 0 2px 10px rgba(15,35,70,.08);
  transition: .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,35,70,.16); }
.case-card img { width: 100%; height: 100%; object-fit: cover; display: block; transform: translateY(-4.5%) scale(1.08); }
.case-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 10px 12px; text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,12,16,.55) 40%, rgba(6,8,12,.88) 100%);
  color: #fff; font-weight: 700; font-size: 17px; line-height: 1.35; letter-spacing: .5px;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
@media (max-width: 1000px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 留言咨询表单 ---------- */
.fb-open {
  display:inline-flex; align-items:center; gap:8px; margin-top:14px;
  padding:9px 24px; border:1px solid #8b5cf6; border-radius:6px; background:transparent;
  color:#b9a3ff; font-size:14px; font-weight:600; letter-spacing:2px; cursor:pointer; transition:.2s;
}
.fb-open:hover { background:#7c3aed; border-color:#7c3aed; color:#fff; }
.fb-fab {
  position:fixed; left:50%; bottom:30px; transform:translateX(-50%); z-index:120;
  display:none; align-items:center; justify-content:center; gap:8px;
  padding:13px 36px; border:none; border-radius:999px;
  background:linear-gradient(135deg,#8b5cf6,#7c3aed); color:#fff;
  font-size:15px; font-weight:700; letter-spacing:2px; cursor:pointer;
  box-shadow:0 10px 26px rgba(124,58,237,.42); transition:.2s;
}
.fb-fab:hover { transform:translateX(-50%) translateY(-2px); box-shadow:0 14px 30px rgba(124,58,237,.55); }
.fb-fab.show { display:inline-flex; }
.fb-mask {
  position:fixed; inset:0; z-index:200; background:rgba(10,12,20,.62);
  backdrop-filter:blur(3px); display:none; align-items:center; justify-content:center; padding:20px;
}
.fb-mask.open { display:flex; }
.fb-modal {
  width:min(700px,100%); max-height:94vh; overflow:auto; background:#fff; border-radius:14px;
  padding:24px 34px 22px; box-shadow:0 24px 70px rgba(8,10,20,.35); position:relative;
  animation:fbIn .22s ease;
}
@keyframes fbIn { from { opacity:0; transform:translateY(14px) scale(.98); } to { opacity:1; transform:none; } }
.fb-modal h3 { font-size:21px; text-align:center; color:#171a26; margin-bottom:8px; }
.fb-close {
  position:absolute; top:14px; right:16px; width:32px; height:32px; border:none; background:none;
  font-size:22px; color:#8a90a0; cursor:pointer; line-height:1;
}
.fb-close:hover { color:#171a26; }
.fb-tip { font-size:12.5px; color:#5a6072; line-height:1.65; margin-bottom:14px; }
.fb-row { display:grid; grid-template-columns:82px 1fr; align-items:center; gap:0 14px; margin-bottom:10px; }
.fb-row.area { align-items:start; }
.fb-row.area > label { padding-top:10px; }
.fb-row label { display:flex; align-items:center; font-size:13.5px; color:#20242f; font-weight:600; margin-bottom:0; white-space:nowrap; }
.fb-row .req { color:#e23a3a; margin-right:4px; }
.fb-row input[type=text], .fb-row textarea {
  width:100%; border:1px solid #d9dde6; border-radius:8px; padding:10px 13px;
  font-size:14px; color:#20242f; outline:none; transition:.2s; background:#fff; font-family:inherit;
}
.fb-row textarea { min-height:64px; resize:vertical; line-height:1.55; }
.fb-row input:focus, .fb-row textarea:focus { border-color:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,.12); }
.fb-row input::placeholder, .fb-row textarea::placeholder { color:#a8aebc; }
.fb-roles { display:flex; flex-wrap:wrap; gap:4px 20px; padding:2px 0; }
.fb-roles .radio {
  display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:500;
  color:#20242f; margin:0; cursor:pointer;
}
.fb-roles input { accent-color:#7c3aed; width:16px; height:16px; margin:0; }
.fb-submit {
  display:block; width:auto; min-width:260px; margin:12px auto 0; padding:12px 60px; border:none; border-radius:999px;
  background:linear-gradient(135deg,#8b5cf6,#7c3aed); color:#fff; font-size:16px; font-weight:700;
  letter-spacing:6px; text-indent:6px; cursor:pointer; transition:.2s;
}
.fb-submit:hover { filter:brightness(1.08); }
.fb-toast {
  position:fixed; top:36px; left:50%; transform:translateX(-50%); z-index:300;
  background:rgba(23,26,38,.92); color:#fff; font-size:14px; padding:11px 24px;
  border-radius:8px; box-shadow:0 10px 30px rgba(0,0,0,.25); display:none; letter-spacing:1px;
}
.fb-toast.show { display:block; animation:fbIn .2s ease; }
.fb-toast.ok { background:rgba(24,150,88,.95); }
@media (max-width:620px) {
  .fb-modal { padding:20px 18px 18px; }
  .fb-modal h3 { font-size:18px; margin-bottom:6px; }
  .fb-tip { font-size:12px; line-height:1.55; margin-bottom:10px; }
  .fb-row { margin-bottom:9px; }
  .fb-row input[type=text], .fb-row textarea { padding:9px 11px; font-size:13.5px; }
  .fb-row textarea { min-height:52px; }
  .fb-roles { gap:3px 14px; }
  .fb-roles .radio { font-size:13px; }
  .fb-submit { margin-top:9px; padding:11px 0; font-size:15px; }
  .fb-row { grid-template-columns:1fr; gap:5px 0; margin-bottom:11px; }
  .fb-row.area > label { padding-top:0; }
  .fb-row label { margin-bottom:0; }
  .fb-submit { width:100%; min-width:0; padding:12px 0; }
}

/* ---------- 移动端：卡片参数区不撑破视口（保证整页不被缩放） ---------- */
@media (max-width:760px) {
  .m-card, .m-list .m-card { max-width:100%; min-width:0; overflow:hidden; }
  .m-card .mspecs, .m-list.k-gz-i .m-card .mspecs {
    flex-wrap:wrap; gap:10px 14px !important;
  }
  .m-card .mspecs div { flex:1 1 42%; min-width:0; }
  .m-card .mspecs div b,
  .m-list.k-gz-i .m-card .mspecs div b { white-space:normal !important; word-break:break-word; font-size:14px; }
}

/* ---------- 控制器选型卡片 ---------- */
.m-list.k-ctrl .m-card .mspecs { gap: 14px; margin-top: 18px; }
.m-list.k-ctrl .m-card .mspecs div span { white-space: nowrap; font-size: 12px; }
.m-list.k-ctrl .m-card .mspecs div b { white-space: normal; font-size: 14.5px; line-height: 1.45; }
.m-list.k-ctrl .m-card .mspecs div:nth-child(1) { flex: 0 0 auto; }
.m-list.k-ctrl .m-card .mspecs div:nth-child(2) { flex: 0 0 auto; }
.m-list.k-ctrl .m-card .mspecs div:nth-child(3) { flex: 1 1 auto; }
.m-list.k-ctrl .m-card .mspecs div:nth-child(4) { flex: 0 0 auto; }
@media (max-width:760px) {
  .m-list.k-ctrl .m-card .mspecs div { flex: 1 1 42% !important; }
}

/* ---------- 控制器参数表（PDF 总分结构：分组列 rowspan + 子项 + 值） ---------- */
.spec-table.ctrl-multi { font-size: 14px; }
.spec-table.ctrl-multi th, .spec-table.ctrl-multi td {
  padding: 11px 16px; border: 1px solid var(--line); text-align: left; vertical-align: middle;
}
.spec-table.ctrl-multi tbody th.grp {
  width: 92px; background: #f5f8fc; color: var(--ink); font-weight: 700;
  text-align: center; letter-spacing: 2px; font-size: 14.5px;
}
.spec-table.ctrl-multi tbody th.sub {
  width: 128px; background: #fafbfd; color: var(--ink); font-weight: 600; white-space: nowrap;
}
.spec-table.ctrl-multi tbody th[colspan="2"] {
  background: #f5f8fc; color: var(--ink); font-weight: 700; text-align: center;
}
.spec-table.ctrl-multi td { font-weight: 500; color: #23304a; line-height: 1.6; }
.spec-table.ctrl-multi { table-layout: fixed; width: 100%; }
.spec-table.ctrl-multi td { word-break: break-word; }
