/* =========================================================
   镇江凯通电气有限公司 — 企业官网样式表
   ========================================================= */

:root {
  --brand: #0b4fa8;
  --brand-dark: #073066;
  --brand-deep: #05203f;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --ink: #1b2430;
  --ink-2: #4a5568;
  --ink-3: #7b8794;
  --line: #e5e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 79, 168, 0.10);
  --shadow-lg: 0 16px 44px rgba(5, 32, 63, 0.16);
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 18px; }
.topbar-hot { display: flex; align-items: center; gap: 8px; }
.topbar-hot strong {
  color: #ffd7a8;
  font-size: 16px;
  letter-spacing: .5px;
}

/* ---------- 页头导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 60%, var(--brand-deep) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 20px;
  letter-spacing: -.5px;
  box-shadow: 0 6px 16px rgba(11, 79, 168, .32);
  flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 21px; color: var(--strong); letter-spacing: .5px; }
.logo-text span { font-size: 11px; color: var(--ink-3); letter-spacing: .8px; text-transform: uppercase; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 17px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 7px;
  position: relative;
}
.main-nav a:hover { color: var(--link); background: var(--bg-soft); }
.main-nav a.active { color: #fff; background: var(--brand); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(249, 115, 22, .32);
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}
.header-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 44px; height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 11px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; margin: 4px 0;
  transition: .2s;
}

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-soft); }
.section.tight { padding: 56px 0; }

.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: 34px; color: var(--title); letter-spacing: 1px; }
.sec-head .sub {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 15px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.sec-head .rule {
  width: 62px; height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.sec-head.left { text-align: left; }
.sec-head.left .rule { margin-left: 0; }
.sec-head.left .sub { margin-left: 0; }

/* ---------- 首页轮播 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-deep);
}
.hero-track { position: relative; min-height: 560px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 32, 63, .94) 0%, rgba(7, 48, 102, .86) 42%, rgba(11, 79, 168, .58) 100%);
}
.hero-slide.s2::after {
  background: linear-gradient(100deg, rgba(6, 26, 48, .95) 0%, rgba(11, 55, 110, .88) 45%, rgba(249, 115, 22, .42) 100%);
}
.hero-slide.s3::after {
  background: linear-gradient(100deg, rgba(4, 20, 42, .95) 0%, rgba(6, 44, 92, .88) 45%, rgba(56, 130, 220, .48) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 20px 108px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .10);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero-tag i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .30);
}
.hero-inner h1 {
  font-size: 54px;
  line-height: 1.22;
  letter-spacing: 2px;
  max-width: 760px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .32);
}
.hero-inner h1 em {
  font-style: normal;
  color: #ffd08a;
}
.hero-inner p.lead {
  margin-top: 20px;
  font-size: 17.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .86);
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(249, 115, 22, .34); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .10); color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-ghost:hover { background: #fff; color: var(--strong); transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(11, 79, 168, .30); }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: var(--link); border-color: var(--link); }
.btn-outline:hover { background: var(--brand); color: #fff; }

.hero-dots {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 34px; height: 5px;
  border: 0; padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
  cursor: pointer;
  transition: .25s;
}
.hero-dots button.is-active { background: var(--accent); width: 56px; }

/* 首页悬浮数据条 */
.hero-stats {
  position: relative;
  z-index: 6;
  margin-top: -56px;
}
.hero-stats .container > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-size: 34px;
  color: var(--link);
  line-height: 1.2;
  letter-spacing: .5px;
}
.stat b span { font-size: 17px; color: var(--accent); margin-left: 2px; }
.stat i { font-style: normal; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 分类网格 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 16px 22px;
  text-align: center;
  transition: .25s;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transition: transform .28s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 66px; height: 66px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: linear-gradient(140deg, #eaf1fb, #d8e6fa);
  display: grid; place-items: center;
  color: var(--link);
  transition: .25s;
}
.cat-card:hover .cat-icon {
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  color: #fff;
  transform: scale(1.06);
}
.cat-icon svg { width: 32px; height: 32px; }
.cat-card h3 { font-size: 16.5px; color: var(--ink); }
.cat-card span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #eef3fa 0%, #dbe6f5 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-thumb svg { width: 56%; height: auto; }
.product-thumb .tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
}
.product-thumb .tag.blue { background: var(--brand); }
.product-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 16px; color: var(--ink); line-height: 1.55; }
.product-body p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.7;
  flex: 1;
}
.product-more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--link);
}
.product-card:hover .product-more { color: var(--accent); }

/* ---------- 公司简介 ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 40px;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(249, 115, 22, .40), transparent 46%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px);
}
.about-visual > div { position: relative; z-index: 2; }
.about-visual .big {
  font-size: 66px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}
.about-visual .big span { font-size: 26px; color: #ffd08a; }
.about-visual p { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.86); letter-spacing: 3px; }

.about-badge {
  position: absolute;
  right: -14px; bottom: -14px;
  background: #fff;
  color: var(--strong);
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 3;
  border: 4px solid var(--bg-soft);
}
.about-badge b { display: block; font-size: 26px; color: var(--accent); line-height: 1.2; }
.about-badge span { font-size: 12.5px; color: var(--ink-3); }

.about-copy h2 { font-size: 34px; color: var(--title); margin-bottom: 8px; }
.about-copy .eyebrow {
  font-size: 12.5px; letter-spacing: 3px; color: var(--accent);
  font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 10px;
}
.about-copy p { color: var(--ink-2); margin-top: 16px; font-size: 15.2px; }
.about-copy p strong { color: var(--strong); }

.feature-list { margin-top: 26px; display: grid; gap: 14px; }
.feature-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  padding: 13px 16px;
  border-radius: 0 8px 8px 0;
}
.feature-list li .ck {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px;
  margin-top: 3px;
}
.feature-list li b { display: block; font-size: 15px; color: var(--ink); }
.feature-list li span { font-size: 13.5px; color: var(--ink-3); }

.about-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 服务 / 为什么选择我们 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 38px 30px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(11, 79, 168, .07);
  border: 1px solid var(--line);
  transition: .25s;
}
.why-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-num {
  position: absolute;
  right: 18px; top: 8px;
  font-size: 74px;
  font-weight: 800;
  color: rgba(11, 79, 168, .07);
  line-height: 1;
}
.why-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(11, 79, 168, .26);
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 20px; color: var(--title); }
.why-card h3 span {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: var(--accent);
  background: rgba(249, 115, 22, .10);
  padding: 2px 9px;
  border-radius: 999px;
  vertical-align: middle;
  font-weight: 700;
}
.why-card p { margin-top: 12px; color: var(--ink-2); font-size: 14.6px; }

/* ---------- 应用行业 ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.industry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 12px;
  text-align: center;
  transition: .24s;
}
.industry:hover {
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.industry .ic {
  width: 46px; height: 46px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--link);
  transition: .24s;
}
.industry:hover .ic { background: rgba(255, 255, 255, .18); color: #fff; }
.industry .ic svg { width: 24px; height: 24px; }
.industry b { font-size: 15px; color: var(--ink); transition: .24s; }
.industry:hover b { color: #fff; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: .25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.news-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.news-card:hover::after { transform: scaleX(1); }
.news-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13px;
  margin-bottom: 12px;
}
.news-date b {
  font-size: 32px;
  color: var(--link);
  line-height: 1;
  font-weight: 800;
}
.news-cat {
  margin-left: auto;
  font-size: 11.5px;
  background: var(--bg-soft);
  color: var(--link);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.news-card h3 { font-size: 17.5px; color: var(--ink); line-height: 1.6; }
.news-card h3 a:hover { color: var(--link); }
.news-card p {
  margin-top: 11px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.85;
  flex: 1;
}
.news-card .read {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--link);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.news-card:hover .read { color: var(--accent); }

/* 新闻列表页 */
.news-list { display: grid; gap: 18px; }
.news-row {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 26px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: .24s;
}
.news-row:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateX(5px);
}
.news-row .d {
  text-align: center;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 6px;
  border: 1px solid var(--line);
}
.news-row .d b { display: block; font-size: 28px; color: var(--link); line-height: 1.1; }
.news-row .d span { font-size: 12px; color: var(--ink-3); }
.news-row h3 { font-size: 18px; color: var(--ink); }
.news-row:hover h3 { color: var(--link); }
.news-row p { margin-top: 7px; color: var(--ink-3); font-size: 14px; }
.news-row .arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--link);
  transition: .24s;
  flex: none;
}
.news-row:hover .arrow { background: var(--brand); color: #fff; border-color: var(--link); }

/* ---------- 联系条 ---------- */
.contact-strip {
  background:
    radial-gradient(circle at 88% 20%, rgba(249, 115, 22, .34), transparent 42%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 52%, var(--brand) 100%);
  color: #fff;
  padding: 54px 0;
}
.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-strip h2 { font-size: 30px; letter-spacing: 1px; }
.contact-strip p { color: rgba(255, 255, 255, .80); margin-top: 8px; font-size: 15.5px; }
.contact-strip .acts { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  padding: 13px 26px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.contact-phone .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff;
  flex: none;
}
.contact-phone .ic svg { width: 20px; height: 20px; }
.contact-phone b { font-size: 23px; letter-spacing: 1px; line-height: 1.2; display: block; }
.contact-phone span { font-size: 12.5px; color: rgba(255, 255, 255, .74); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 58px 0 42px;
}
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, .52); }
.footer-brand p { margin-top: 18px; line-height: 1.9; color: rgba(255, 255, 255, .66); font-size: 14px; }
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col li a:hover { color: #fff; padding-left: 5px; }
.footer-col li a { display: inline-block; transition: .2s; }
.footer-info li {
  display: flex;
  gap: 11px;
  margin-bottom: 15px;
  line-height: 1.7;
  align-items: flex-start;
}
.footer-info .ic {
  width: 30px; height: 30px; flex: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .10);
  display: grid; place-items: center;
  color: var(--accent);
  margin-top: 2px;
}
.footer-info .ic svg { width: 15px; height: 15px; }
.footer-info b { color: rgba(255, 255, 255, .92); display: block; font-size: 15px; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px 26px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom a:hover { color: #fff; }
/* 链接组始终单行：项内 nowrap（图标+备案号永不拆行），组内不换行；超窄屏(≤480)才允许整项换行 */
.footer-bottom .links { display: flex; gap: 16px 20px; flex-wrap: nowrap; align-items: center; }
.footer-bottom .links a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 内页横幅 ---------- */
.page-banner {
  position: relative;
  background:
    radial-gradient(circle at 82% 26%, rgba(249, 115, 22, .34), transparent 44%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 56%, var(--brand) 100%);
  color: #fff;
  padding: 74px 0 70px;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 24px);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: 42px; letter-spacing: 2px; }
.page-banner p { margin-top: 12px; font-size: 16px; color: rgba(255, 255, 255, .82); max-width: 700px; }
.breadcrumb {
  margin-top: 20px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .66);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- 关于页 ---------- */
.num-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.num-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.num-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.num-box b {
  display: block;
  font-size: 42px;
  color: var(--link);
  line-height: 1.15;
  letter-spacing: -1px;
}
.num-box b span { font-size: 19px; color: var(--accent); }
.num-box i { font-style: normal; color: var(--ink-3); font-size: 14px; }

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 79, 168, .14);
}
.timeline .yr {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 3px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.timeline h4 { font-size: 17.5px; color: var(--title); }
.timeline p { margin-top: 6px; color: var(--ink-2); font-size: 14.6px; }

/* ---------- 产品页：筛选与分页 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 18px;
  position: sticky;
  top: 78px;
  z-index: 40;
  box-shadow: 0 6px 18px rgba(5, 32, 63, .07);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: .2s;
  scroll-margin-top: 150px;
}
.filter-btn em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(11, 79, 168, .10);
  color: var(--link);
  padding: 1px 8px;
  border-radius: 999px;
  transition: .2s;
}
.filter-btn:hover { background: var(--brand); color: #fff; border-color: var(--link); }
.filter-btn:hover em { background: rgba(255, 255, 255, .22); color: #fff; }
.filter-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--link);
  box-shadow: 0 8px 18px rgba(11, 79, 168, .24);
}
.filter-btn.is-active em { background: rgba(255, 255, 255, .26); color: #fff; }

.cat-note {
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  padding: 13px 18px;
  border-radius: 0 8px 8px 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 22px;
}

.list-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 22px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-3);
}
.list-meta b {
  color: var(--link);
  font-size: 17px;
  font-weight: 800;
}
.list-meta .range { color: var(--ink-2); }

.prod-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--link);
  background: rgba(11, 79, 168, .08);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.empty-state {
  text-align: center;
  padding: 66px 20px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------- 分页控件 ---------- */
.pagination {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
}
.pagination button:hover:not(:disabled):not(.is-current) {
  border-color: var(--link);
  color: var(--link);
  transform: translateY(-2px);
}
.pagination button.is-current {
  background: var(--brand);
  border-color: var(--link);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 79, 168, .26);
}
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination .gap {
  color: var(--ink-3);
  padding: 0 3px;
  user-select: none;
}

[hidden] { display: none !important; }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: flex-start;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.info-card h3 { font-size: 22px; color: var(--title); margin-bottom: 6px; }
.info-card .hint { color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.info-list li {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ic {
  width: 42px; height: 42px; flex: none;
  border-radius: 11px;
  background: linear-gradient(140deg, #eaf1fb, #d8e6fa);
  color: var(--link);
  display: grid; place-items: center;
}
.info-list .ic svg { width: 20px; height: 20px; }
.info-list b { display: block; font-size: 13.5px; color: var(--ink-3); font-weight: 600; margin-bottom: 3px; }
.info-list .v { font-size: 16.5px; color: var(--ink); font-weight: 600; word-break: break-all; }
.info-list .v a:hover { color: var(--link); }

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin-top: 6px;
}
.invoice-table th, .invoice-table td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: left;
  word-break: break-all;
}
.invoice-table th {
  background: var(--bg-soft);
  color: var(--ink-2);
  width: 118px;
  font-weight: 600;
  white-space: nowrap;
}
.invoice-table td { color: var(--ink); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 22px; color: var(--title); margin-bottom: 6px; }
.form-card .hint { color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--ink);
  outline: none;
  transition: .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--link);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 79, 168, .12);
}
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  background: #e8f6ec;
  color: #14713a;
  border: 1px solid #b7e3c4;
}
.form-msg.show { display: block; }

.map-box {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
}
.map-box .head {
  padding: 15px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--title);
  font-size: 15.5px;
}
.map-canvas {
  height: 300px;
  position: relative;
  background:
    linear-gradient(rgba(11, 79, 168, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 79, 168, .05) 1px, transparent 1px),
    linear-gradient(140deg, #eef4fb 0%, #e2ecf8 100%);
  background-size: 34px 34px, 34px 34px, cover;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.map-pin {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.map-pin .dot {
  width: 54px; height: 54px;
  border-radius: 50% 50% 50% 6px;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark));
  transform: rotate(-45deg);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .42);
  animation: bob 2.4s ease-in-out infinite;
}
.map-pin .dot svg { transform: rotate(45deg); width: 24px; height: 24px; }
@keyframes bob { 0%,100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-7px); } }
.map-pin .lbl {
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--strong);
  box-shadow: var(--shadow);
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 26px;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(11, 79, 168, .34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: .25s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 移动端固定底栏 ---------- */
.mobile-bar { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-inner h1 { font-size: 44px; }
}

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease;
  }
  .main-nav.open { max-height: 520px; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .main-nav a { padding: 13px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-cta { display: none; }
  .header-inner { min-height: 66px; }

  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .num-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .container > div { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .topbar-links { display: none; }
  .hero-track, .hero-inner { min-height: 470px; }
  .hero-inner { padding: 66px 20px 90px; }
  .hero-inner h1 { font-size: 33px; letter-spacing: 1px; }
  .hero-inner p.lead { font-size: 15.5px; }
  .btn { padding: 12px 24px; font-size: 14.5px; }
  .sec-head h2 { font-size: 26px; }
  .about-copy h2 { font-size: 26px; }
  .page-banner { padding: 52px 0 48px; }
  .page-banner h1 { font-size: 30px; }
  .page-banner p { font-size: 14.5px; }

  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 13px; }
  .cat-card { padding: 18px 9px 16px; }
  .cat-card h3 { font-size: 14.5px; }
  .cat-card span { display: none; }
  .cat-icon { width: 50px; height: 50px; border-radius: 13px; }
  .cat-icon svg { width: 25px; height: 25px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-body { padding: 13px 13px 16px; }
  .product-body h3 { font-size: 14.5px; }
  .product-body p { display: none; }

  .industry-grid { grid-template-columns: repeat(3, 1fr); gap: 11px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 76px 1fr; gap: 16px; padding: 17px; }
  .news-row .arrow { display: none; }
  .news-row .d b { font-size: 22px; }
  .news-row h3 { font-size: 16px; }

  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 30px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom .links { gap: 10px 14px; font-size: 12px; }
  .footer-bottom .links a img { width: 17px; height: 18px; }

  .contact-strip .container { flex-direction: column; align-items: flex-start; }
  .contact-strip h2 { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .info-card, .form-card { padding: 26px 20px; }
  .num-box b { font-size: 34px; }
  .about-visual .big { font-size: 48px; }
  .about-badge { right: 12px; bottom: 12px; padding: 12px 16px; }

  .invoice-table th { width: 88px; font-size: 13px; }
  .invoice-table td { font-size: 13.5px; }

  body { padding-bottom: 58px; }
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 95;
    box-shadow: 0 -6px 20px rgba(5, 32, 63, .10);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    font-size: 11.5px;
    color: var(--ink-2);
    min-height: 56px;
  }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar a.hot { background: var(--accent); color: #fff; }
  .to-top { bottom: 74px; right: 16px; width: 42px; height: 42px; }
}

@media (max-width: 460px) {
  .logo-text b { font-size: 17px; }
  .logo-text span { font-size: 9.5px; }
  .logo-mark { width: 40px; height: 40px; font-size: 17px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .num-strip { grid-template-columns: 1fr; }
  .hero-stats { margin-top: -40px; }
  .stat b { font-size: 27px; }
}

@media (max-width: 992px) {
  .filter-bar { position: static; }
}

@media (max-width: 768px) {
  .filter-bar { padding: 12px; gap: 8px; margin-bottom: 14px; }
  .filter-btn { padding: 8px 13px; font-size: 13.5px; }
  .filter-btn em { font-size: 10.5px; padding: 1px 6px; }
  .cat-note { font-size: 13.5px; padding: 11px 14px; }
  .pagination { margin-top: 34px; gap: 6px; }
  .pagination button { min-width: 36px; height: 38px; padding: 0 10px; font-size: 13.5px; }
  .list-meta { font-size: 13px; }
  .list-meta b { font-size: 15px; }
}

/* =========================================================
   PBootCMS 接入扩展（0000 静态模板 -> template/newtpl）
   ========================================================= */

/* ---------- 首页轮播：仅第 1 屏为 h1，第 2/3 屏用 h2（全页唯一 h1），样式与 h1 一致 ---------- */
.hero-inner h2 {
  font-size: 54px;
  line-height: 1.22;
  letter-spacing: 2px;
  max-width: 760px;
  font-weight: 700;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .32);
}
.hero-inner h2 em { font-style: normal; color: #ffd08a; }

/* ---------- 分类卡：名称/链接来自 {pboot:nav} 循环，图标与英文名按位置用 CSS 输出（纯装饰） ---------- */
.cat-card .cat-icon::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-color: currentColor;
  /* --cat-ico 由 .cat-card:nth-child(n) 定义并继承到此，勿在伪元素上覆盖 */
  -webkit-mask: no-repeat center / contain var(--cat-ico);
  mask: no-repeat center / contain var(--cat-ico);
}
.cat-card:nth-child(1)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.6'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M12 4.4v1.7M12 17.9v1.7M4.4 12h1.7M17.9 12h1.7'/%3E%3C/svg%3E"); }
.cat-card:nth-child(2)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10.5a2.8 2.8 0 1 0-2.8-2.8'/%3E%3Cpath d='M3 12h14a2.8 2.8 0 1 1-2.8 2.8'/%3E%3Cpath d='M3 16h7.5'/%3E%3C/svg%3E"); }
.cat-card:nth-child(3)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h4.5v4.5h6.8a3.2 3.2 0 0 1 3.2 3.2V19'/%3E%3Crect x='1.6' y='4.6' width='3' height='4.8' rx='1'/%3E%3Crect x='19.4' y='16.6' width='3' height='4.8' rx='1'/%3E%3C/svg%3E"); }
.cat-card:nth-child(4)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M7 8.5v7M11 8.5v7M15 8.5v7'/%3E%3Cpath d='M19 9.6v4.8'/%3E%3C/svg%3E"); }
.cat-card:nth-child(5)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2c4.4 0 8 3.9 8 8.8s-3.6 8.8-8 8.8-8-3.9-8-8.8 3.6-8.8 8-8.8z'/%3E%3Cpath d='M12 3.2v17.6M4.3 9.5h15.4M4.3 14.5h15.4'/%3E%3C/svg%3E"); }
.cat-card:nth-child(6)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2.8' width='16' height='18.4' rx='2'/%3E%3Cpath d='M4 8.4h16'/%3E%3Ccircle cx='7.6' cy='5.6' r='1'/%3E%3Cpath d='M8 12.4v5.2M12 12.4v5.2M16 12.4v5.2'/%3E%3C/svg%3E"); }
.cat-card:nth-child(7)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3v9.4a5.5 5.5 0 0 0 11 0V3'/%3E%3Cpath d='M4.4 3h4.2M15.4 3h4.2M6.5 7.4h-2M17.5 7.4h2'/%3E%3C/svg%3E"); }
.cat-card:nth-child(8)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.6 20.2 7.3v9.4L12 21.4 3.8 16.7V7.3z'/%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3C/svg%3E"); }
.cat-card:nth-child(9)  { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='3.6' width='16.8' height='16.8' rx='2'/%3E%3Cpath d='M3.6 9.2h16.8M3.6 14.8h16.8M9.2 3.6v16.8M14.8 3.6v16.8'/%3E%3C/svg%3E"); }
.cat-card:nth-child(10) { --cat-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8s6.4 6.9 6.4 11.1a6.4 6.4 0 0 1-12.8 0C5.6 9.7 12 2.8 12 2.8z'/%3E%3Cpath d='M9.2 14.4a2.9 2.9 0 0 0 2.9 2.9'/%3E%3C/svg%3E"); }
.cat-card:nth-child(1)  .cat-en::after { content: "Flange Heater"; }
.cat-card:nth-child(2)  .cat-en::after { content: "Air Heater"; }
.cat-card:nth-child(3)  .cat-en::after { content: "Pipe Heater"; }
.cat-card:nth-child(4)  .cat-en::after { content: "Duct Heater"; }
.cat-card:nth-child(5)  .cat-en::after { content: "Duct Tube Heater"; }
.cat-card:nth-child(6)  .cat-en::after { content: "Temperature Cabinet"; }
.cat-card:nth-child(7)  .cat-en::after { content: "Heating Tube"; }
.cat-card:nth-child(8)  .cat-en::after { content: "Bolt Heater"; }
.cat-card:nth-child(9)  .cat-en::after { content: "Ceramic Heater"; }
.cat-card:nth-child(10) .cat-en::after { content: "Thermal Oil Heater"; }

/* ---------- 产品缩略图：真实图片铺满 4:3 框 ---------- */
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body h3 a:hover { color: var(--link); }

/* ---------- 服务端分页（{page:numbar} 输出 a.page-num / span.page-num） ---------- */
.pagination a.page-num {
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .18s;
}
.pagination a.page-num:hover {
  border-color: var(--link);
  color: var(--link);
  transform: translateY(-2px);
}
.pagination a.page-num-current,
.pagination a.page-num.on {
  background: var(--brand);
  border-color: var(--link);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 79, 168, .26);
}
.pagination span.page-num {
  color: var(--ink-3);
  padding: 0 3px;
  user-select: none;
}
.pagination span.page-count {
  color: var(--ink-2);
  font-weight: 600;
  padding: 0 4px;
}

/* ---------- 富文本正文（{content:content} 输出区） ---------- */
.article-body {
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-2);
}
.article-body h2 {
  font-size: 24px;
  color: var(--title);
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  line-height: 1.4;
}
.article-body h3 { font-size: 19px; color: var(--strong); margin: 26px 0 10px; }
.article-body h4 { font-size: 16.5px; color: var(--ink); margin: 22px 0 8px; }
.article-body p { margin: 14px 0; }
.article-body ul,
.article-body ol { margin: 14px 0; padding-left: 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin: 8px 0; line-height: 1.9; }
.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px auto;
  border-radius: 10px;
}
.article-body a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--accent); }
.article-body strong,
.article-body b { color: var(--strong); }
.article-body blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  color: var(--ink-2);
}
.article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14.5px;
}
.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 10px 13px;
  text-align: left;
}
.article-body th { background: var(--bg-soft); color: var(--ink-2); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ---------- 产品详情 ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pdp-media {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.pdp-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pdp-info .prod-cat { margin-bottom: 12px; }
.pdp-info h2 { font-size: 26px; color: var(--title); margin-bottom: 10px; }
.pdp-info > p { color: var(--ink-2); font-size: 15.2px; margin-top: 12px; }
.pdp-facts { margin-top: 20px; display: grid; gap: 10px; }
.pdp-facts li {
  display: flex;
  gap: 12px;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.pdp-facts li b { color: var(--strong); flex: none; font-weight: 600; }
.pdp-actions { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 文章详情 ---------- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 18px;
  margin-bottom: 26px;
}
.article-meta b { color: var(--strong); font-weight: 600; }
.prenext {
  margin-top: 34px;
  display: grid;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.prenext a:hover { color: var(--link); }
.mini-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 46px 0 24px;
}
.mini-head h2 { font-size: 24px; color: var(--title); flex: none; }
.mini-head .rule { flex: 1; height: 2px; background: var(--line); border-radius: 2px; }

/* ---------- 搜索页 ---------- */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-bottom: 30px;
}
.search-form input {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  outline: none;
  transition: .2s;
}
.search-form input:focus {
  border-color: var(--link);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 79, 168, .12);
}
.search-form button { border: 0; cursor: pointer; }
.search-list { display: grid; gap: 16px; }
.search-row {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: .24s;
}
.search-row:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateX(5px);
}
.search-row .sr-cat {
  display: inline-block;
  font-size: 11.5px;
  background: var(--bg-soft);
  color: var(--link);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 8px;
}
.search-row h3 { font-size: 18px; color: var(--ink); }
.search-row:hover h3 { color: var(--link); }
.search-row p { margin-top: 7px; color: var(--ink-3); font-size: 14px; }
.search-row mark { background: #ffe9a8; color: inherit; padding: 0 2px; border-radius: 3px; }

/* ---------- 页脚友情链接行 ---------- */
.footer-friends {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 13px 0 15px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-friends .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}
.footer-friends a { color: var(--ink-3); }
.footer-friends a:hover { color: #fff; }
@media (max-width: 768px) {
  .footer-friends { display: none; }
}

/* ---------- 在线留言表单 ---------- */
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-row img {
  height: 46px;
  width: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--bg-soft);
}
.form-card form .form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---------- 首页常见问题区 ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.faq-item {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .25s;
}
.faq-item:hover {
  border-color: var(--link);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.faq-item .q {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(11, 79, 168, .08);
  color: var(--link);
  font-weight: 800;
  font-size: 15px;
  display: grid; place-items: center;
}
.faq-item h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.5;
}
.faq-item p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 16px; }
}

/* ---------- 首页导航 active 兜底（{sort:scode} 在首页可能未替换，用 body 标记保证高亮） ---------- */
body[data-nav="home"] .main-nav li:first-child a { color: #fff; background: var(--brand); }

/* ---------- 移动端补充 ---------- */
@media (max-width: 992px) {
  .pdp { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .hero-inner h2 { font-size: 33px; letter-spacing: 1px; }
  .pagination a.page-num { min-width: 36px; height: 38px; padding: 0 10px; font-size: 13.5px; }
  .article-body { font-size: 15px; }
  .mini-head h2 { font-size: 20px; }
}

/* ================================================================
   深色主题（html[data-theme="dark"]）—— 默认主题
   初始化/切换见 header.html 顶部脚本；记忆 localStorage('kt-theme')，无 JS 时回落亮色。
   文字语义变量：--title(标题) / --strong(强调) / --link(链接) / --card(卡片底)，
   亮色取值 = 原品牌色（亮色主题零变化），深色统一提亮。
   ================================================================ */
:root {
  --card: #ffffff;
  --link: var(--brand);
  --strong: var(--brand-dark);
  --title: var(--brand-deep);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e141f;
  --bg-soft: #141c29;
  --card: #1a2333;
  --ink: #e7ecf5;
  --ink-2: #b4bfd2;
  --ink-3: #8591a6;
  --line: #2a3547;
  --shadow: 0 6px 24px rgba(0, 0, 0, .40);
  --shadow-lg: 0 16px 44px rgba(0, 0, 0, .55);
  --link: #74a9fb;
  --strong: #a9c5f2;
  --title: #e9eef8;
}

/* 吸顶页头：白雾底 → 深色玻璃底 */
html[data-theme="dark"] .site-header { background: rgba(14, 20, 31, .97); }

/* 白底卡片/面板 → 卡片色 */
html[data-theme="dark"] .nav-toggle,
html[data-theme="dark"] .hero-stats .container > div,
html[data-theme="dark"] .cat-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .about-badge,
html[data-theme="dark"] .why-card,
html[data-theme="dark"] .industry,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .news-row,
html[data-theme="dark"] .num-box,
html[data-theme="dark"] .timeline li::before,
html[data-theme="dark"] .filter-bar,
html[data-theme="dark"] .pagination button,
html[data-theme="dark"] .pagination a.page-num,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .map-box .head,
html[data-theme="dark"] .map-pin .lbl,
html[data-theme="dark"] .search-row,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .mobile-bar,
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field textarea:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .search-form input:focus {
  background: var(--card);
}

/* 深色下仍显眼/可读的特殊白底元素 */
html[data-theme="dark"] .btn-ghost:hover { background: var(--card); color: var(--title); }
html[data-theme="dark"] .form-msg { background: #123021; color: #7ee0a6; border-color: #2f6b48; }
html[data-theme="dark"] .search-row mark { background: #5b4611; color: var(--ink); }

/* 移动端下拉导航面板（该底色仅在窄屏规则内）；切换按钮与汉堡键并排靠右 */
@media (max-width: 992px) {
  html[data-theme="dark"] .main-nav { background: var(--card); }
  .theme-toggle { margin-left: auto; }
}

/* ---------- 主题切换按钮 ---------- */
.theme-toggle {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { color: var(--link); border-color: var(--link); transform: translateY(-1px); }
html[data-theme="dark"] .t-moon { display: none; }
html:not([data-theme="dark"]) .t-sun { display: none; }

/* 超窄屏（≤480）：页脚链接组允许“整项”换行，但项内仍 nowrap（图标+备案号永不拆开） */
@media (max-width: 480px) {
  .footer-bottom .links { flex-wrap: wrap; justify-content: center; }
}

