/* ============================================
   GNYNHN 营销型网站 - 设计系统
   广能亿能（北京）核能科技有限公司
   ============================================ */

/* CSS Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Design Tokens */
:root {
  /* Colors - Brand */
  --c-primary: #0F6E56;
  --c-primary-dark: #04342C;
  --c-primary-light: #E1F5EE;
  --c-primary-mid: #5DCAA5;
  --c-accent: #185FA5;
  --c-accent-light: #E6F1FB;
  --c-warn: #EF9F27;
  --c-warn-light: #FAEEDA;
  --c-danger: #E24B4A;
  --c-danger-light: #FCEBEB;

  /* Colors - Neutral */
  --text: #2C2C2A;
  --text-2: #4a4945;
  --text-3: #5f5e5a;
  --bg: #FFFFFF;
  --bg-2: #F7F6F3;
  --bg-3: #F1EFE8;
  --border: #E5E3DC;
  --border-2: #D3D1C7;

  /* Typography */
  --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-num: "DIN Alternate", "Oswald", "Helvetica Neue", sans-serif;

  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 80px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  /* Layout */
  --container: 1200px;
  --header-h: 72px;
}

/* Typography */
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 600; }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
p { color: var(--text); line-height: 1.7; }
.num-font { font-family: var(--font-num); font-weight: 700; }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-7) 0; }
.section-sm { padding: var(--sp-5) 0; }
.section-bg { background: var(--bg-2); }
.section-dark { background: var(--c-primary-dark); color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-title { text-align: center; margin-bottom: var(--sp-5); }
.section-title h2 { font-size: 32px; margin-bottom: var(--sp-1); }
.section-title .subtitle { font-size: 16px; color: var(--text-2); }
.section-title .divider { width: 48px; height: 4px; background: var(--c-primary); border-radius: 2px; margin: var(--sp-2) auto 0; }

/* Grid */
.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: block; object-fit: contain; background: transparent;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .name { font-size: 16px; font-weight: 700; color: var(--text); }
.logo-text .tag { font-size: 12px; color: var(--text-2); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  /* padding 8px 16px。7 项导航总需求 = 7x(4字x15px + padding 32px) + gap 6x4px = 668px，
   1280px 视口下 .nav-menu 可用 720px，余量 52px，不折行。
   （8 项时代曾收到 11px 才不折行；方案 A 移出「新闻资讯」回到 7 项后已还原。） */
  padding: 8px 16px; border-radius: var(--r-md);
  font-size: 15px; color: var(--text-2); font-weight: 500;
  transition: all 0.2s; position: relative;
  white-space: nowrap;  /* 兜底：宁可溢出也不在项内折行，视觉退化更可控 */
}
.nav-menu a:hover { color: var(--c-primary); background: var(--c-primary-light); }
.nav-menu a.active { color: var(--c-primary); background: var(--c-primary-light); }
.nav-menu a.nav-highlight {
  background: var(--c-warn); color: #fff;
}
.nav-menu a.nav-highlight:hover { background: #d88a1a; color: #fff; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 18px; font-weight: 700; color: var(--c-primary);
  font-family: var(--font-num);
}
.header-phone .phone-icon { width: 20px; height: 20px; }

.mobile-toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  background: transparent; border: none; cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 1px; transition: 0.3s; display: block; }
.mobile-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.25s; white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(15,110,86,0.3); }
.btn-warn { background: var(--c-warn); color: #fff; }
.btn-warn:hover { background: #d88a1a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(239,159,39,0.3); }
.btn-outline { border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-outline-green { border: 2px solid var(--c-primary); color: var(--c-primary); }
.btn-outline-green:hover { background: var(--c-primary-light); }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative; min-height: 600px;
  background: linear-gradient(135deg, #04342C 0%, #0F6E56 60%, #1D9E75 100%);
  color: #fff; display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M60 0L0 0 0 60' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23g)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-full); font-size: 13px; margin-bottom: var(--sp-3);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-warn); }
.hero h1 { font-size: 44px; font-weight: 700; line-height: 1.25; margin-bottom: var(--sp-2); text-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.hero h1 .highlight { color: var(--c-warn); }
.hero .hero-desc { font-size: 18px; color: #fff; opacity: 1; font-weight: 400; margin-bottom: var(--sp-3); max-width: 600px; text-shadow: 0 1px 4px rgba(0,0,0,0.25); line-height: 1.7; }
.hero-stats { display: flex; gap: var(--sp-5); margin: var(--sp-4) 0; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-num); font-size: 36px; font-weight: 700; color: var(--c-warn); }
.hero-stat .label { font-size: 14px; color: #fff; opacity: 1; }
.hero-cta-group { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ============================================
   Pain Points / Calculator
   ============================================ */
.calculator-section { background: var(--c-warn-light); padding: var(--sp-6) 0; }
.calc-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5);
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  align-items: center;
}
.calc-text h2 { color: var(--text); margin-bottom: var(--sp-2); }
.calc-text .pain-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: var(--sp-2); }
.calc-text .pain-item .icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--r-md);
  background: var(--c-danger); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.calc-text .pain-item .content h4 { font-size: 16px; margin-bottom: 2px; }
.calc-text .pain-item .content p { font-size: 14px; }

.calc-box {
  background: #fff; border-radius: var(--r-xl); padding: var(--sp-4);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.calc-box h3 { text-align: center; margin-bottom: var(--sp-3); color: var(--c-primary); }
.calc-input-group { margin-bottom: var(--sp-3); }
.calc-input-group label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.calc-input-group select, .calc-input-group input {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--r-md);
  font-size: 16px; transition: border-color 0.2s;
}
.calc-input-group select:focus, .calc-input-group input:focus {
  outline: none; border-color: var(--c-primary);
}
.calc-result {
  background: var(--c-primary-light); border-radius: var(--r-lg); padding: var(--sp-3);
  margin-top: var(--sp-3); text-align: center;
}
.calc-result .label { font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.calc-result .value { font-family: var(--font-num); font-size: 32px; font-weight: 700; color: var(--c-primary); }
.calc-result .unit { font-size: 16px; color: var(--c-primary); }
.calc-result .sub { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* ---- 计算器 v2：四参数 + 五行结果（沿用站点配色） ---- */
.calc-sub { text-align: center; font-size: 13px; color: var(--text-2); margin-bottom: var(--sp-3); }
.calc-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px; color: var(--text-2); text-align: left;
}
.calc-row b { font-family: var(--font-num); font-weight: 700; font-size: 15px; color: var(--c-primary); white-space: nowrap; }
.calc-row-main { padding: 12px 0; }
.calc-row-main b { font-size: 26px; }
.calc-row:last-of-type { border-bottom: none; }
.calc-footnote { font-size: 12px; color: var(--text-3); margin-top: var(--sp-2); line-height: 1.6; }
.calc-error { display: none; color: var(--c-danger); font-size: 13px; margin-bottom: 8px; text-align: center; }
.calc-error.show { display: block; }
/* 左输入 / 右结果 双栏布局 */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); align-items: start; }
.calc-form-col .calc-input-group { margin-bottom: var(--sp-2); }
.calc-form-col .calc-input-group label { font-size: 13px; }
.calc-grid .calc-result { margin-top: 0; }
.calc-grid .calc-row { font-size: 13px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0; }
.calc-grid .calc-row b { font-size: 14px; }
.calc-grid .calc-row-main b { font-size: 24px; }
@media (max-width: 560px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-grid .calc-result { margin-top: var(--sp-2); }
}

/* ============================================
   Features / Cards
   ============================================ */
.feature-card {
  background: #fff; border-radius: var(--r-lg); padding: var(--sp-3);
  border: 1px solid var(--border); transition: all 0.3s; text-align: center;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-primary-mid); }
.feature-card .icon {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--c-primary-light); margin: 0 auto var(--sp-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.feature-card h4 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; line-height: 1.6; }

/* Product Card */
.product-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .img {
  height: 200px; background: var(--bg-2); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card .img .placeholder {
  width: 80px; height: 80px; border-radius: var(--r-lg);
  background: var(--c-primary-light); display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.product-card .badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 600;
}
.badge-new { background: var(--c-warn); color: #fff; }
.badge-gen { background: var(--c-accent-light); color: var(--c-accent); }
.product-card .info { padding: var(--sp-2) var(--sp-3); }
.product-card .info h4 { font-size: 16px; margin-bottom: 6px; }
.product-card .info p { font-size: 14px; }
.product-card .info .link { color: var(--c-primary); font-size: 14px; font-weight: 500; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }

/* Industry Card */
.industry-card {
  background: #fff; border-radius: var(--r-lg); padding: var(--sp-3);
  border: 1px solid var(--border); transition: all 0.3s; text-align: center;
  cursor: pointer;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.industry-card .icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--c-accent-light); margin: 0 auto var(--sp-1);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.industry-card h4 { font-size: 15px; }
.industry-card .count { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* Case Card */
.case-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .img { height: 180px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; }
.case-card .img .placeholder { font-size: 40px; }
.case-card .info { padding: var(--sp-2) var(--sp-3); }
.case-card .info .tag { display: inline-block; padding: 2px 10px; border-radius: var(--r-full); font-size: 12px; background: var(--c-primary-light); color: var(--c-primary); margin-bottom: 8px; }
.case-card .info h4 { font-size: 16px; margin-bottom: 8px; }
.case-card .info .stats { display: flex; gap: var(--sp-2); }
.case-card .info .stat { flex: 1; text-align: center; }
.case-card .info .stat .num { font-family: var(--font-num); font-size: 20px; font-weight: 700; color: var(--c-primary); }
.case-card .info .stat .label { font-size: 12px; color: var(--text-2); }

/* Trust / Badge */
.trust-item {
  text-align: center; padding: var(--sp-3);
}
.trust-item .img-placeholder {
  width: 100%; height: 160px; background: var(--bg-2); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-1);
  border: 1px solid var(--border);
}
.trust-item .img-placeholder .icon { font-size: 40px; }
.trust-item h4 { font-size: 15px; }
.trust-item p { font-size: 14px; }

/* ============================================
   CTA / Form Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  color: #fff; padding: var(--sp-6) 0;
}
.cta-section h2 { color: #fff; text-align: center; margin-bottom: var(--sp-1); text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.cta-section .subtitle { text-align: center; color: #fff; font-size: 15px; font-weight: 500; opacity: 1; margin-bottom: var(--sp-4); text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.cta-form-wrapper {
  max-width: 600px; margin: 0 auto;
  background: #fff; border-radius: var(--r-xl); padding: var(--sp-4);
  box-shadow: var(--shadow-lg);
}
.cta-form-wrapper h3 { text-align: center; color: var(--text); margin-bottom: var(--sp-2); }
.cta-form-wrapper .form-desc { text-align: center; font-size: 14px; color: var(--text-2); margin-bottom: var(--sp-3); }
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.cta-form .full { grid-column: 1 / -1; }
.cta-form input, .cta-form select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--r-md);
  font-size: 15px; transition: border-color 0.2s;
}
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--c-primary); }
.cta-form .btn { grid-column: 1 / -1; width: 100%; }
.cta-contact {
  display: flex; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-3);
  padding-top: var(--sp-3); border-top: 1px solid var(--border);
}
.cta-contact-item { text-align: center; }
.cta-contact-item .label { font-size: 13px; color: var(--text-2); }
.cta-contact-item .value { font-size: 16px; font-weight: 600; color: var(--c-primary); font-family: var(--font-num); }

/* WPS Form Embed */
.wps-form-embed {
  width: 100%; min-height: 500px; border: none; border-radius: var(--r-lg);
}

/* ============================================
   Page Banner (sub-pages)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, #04342C 0%, #0F6E56 100%);
  color: #fff; padding: calc(var(--header-h) + 48px) 0 48px;
  text-align: center;
}
.page-banner h1 { font-size: 36px; margin-bottom: var(--sp-1); }
.page-banner .breadcrumb { font-size: 14px; opacity: 1; color: #fff; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   Content Blocks
   ============================================ */
.content-block { margin-bottom: var(--sp-4); }
.content-block h3 { margin-bottom: var(--sp-2); padding-left: 12px; border-left: 4px solid var(--c-primary); }
.content-block p { margin-bottom: var(--sp-2); }

.info-table { width: 100%; border-collapse: collapse; margin: var(--sp-2) 0; }
.info-table th { background: var(--c-primary-light); padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text); border-bottom: 2px solid var(--c-primary-mid); }
.info-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.info-table tr:hover td { background: var(--bg-2); }

/* Comparison Bar Chart */
.compare-chart { display: flex; flex-direction: column; gap: var(--sp-2); margin: var(--sp-3) 0; }
.compare-bar-row { display: flex; align-items: center; gap: var(--sp-2); }
.compare-bar-row .label { width: 120px; font-size: 14px; font-weight: 500; text-align: right; }
.compare-bar-row .bar-wrap { flex: 1; height: 36px; background: var(--bg-2); border-radius: var(--r-md); overflow: hidden; position: relative; }
.compare-bar-row .bar { height: 100%; border-radius: var(--r-md); display: flex; align-items: center; padding: 0 12px; color: #fff; font-weight: 600; font-size: 14px; transition: width 1s ease; }
.bar-before { background: var(--text-3); width: 100%; }
.bar-after { background: var(--c-primary); }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: var(--sp-3); }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--c-primary); }
.timeline-item h4 { font-size: 16px; margin-bottom: 4px; }
.timeline-item .date { font-size: 13px; color: var(--c-primary); font-weight: 600; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; }

/* ============================================
   Floating Toolbar
   ============================================ */
.float-toolbar {
  position: fixed; right: 20px; bottom: 80px; z-index: 999;
  display: flex; flex-direction: column; gap: 8px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: var(--r-full);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; box-shadow: var(--shadow-md);
  font-size: 11px; gap: 2px;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn .icon { font-size: 20px; line-height: 1; }
.float-wechat { background: var(--c-primary); color: #fff; }
.float-phone { background: var(--c-warn); color: #fff; }
.float-message { background: var(--c-accent); color: #fff; }
.float-top { background: var(--bg-2); color: var(--text-2); border: 1px solid var(--border); }
.float-qr {
  position: absolute; right: 64px; top: 0; width: 140px;
  background: #fff; border-radius: var(--r-lg); padding: var(--sp-2);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transition: all 0.3s; text-align: center;
}
.float-qr.show { opacity: 1; visibility: visible; right: 64px; }
.float-qr img { width: 120px; height: 120px; background: #fff; border-radius: var(--r-md); margin: 0 auto 8px; display: block; object-fit: contain; }
.float-qr p { font-size: 13px; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--c-primary-dark); color: rgba(255,255,255,0.7); padding: var(--sp-5) 0 var(--sp-3); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: var(--sp-4); max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.footer-brand .logo-text .name { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.78); font-size: 14px; margin-top: var(--sp-2); max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 16px; margin-bottom: var(--sp-2); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact .item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.footer-contact .item .label { color: rgba(255,255,255,0.68); flex-shrink: 0; }
.footer-contact .item .value { color: rgba(255,255,255,0.95); }
.footer-bottom {
  max-width: var(--container); margin: 0 auto; padding: var(--sp-3) 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: var(--sp-4);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.68);
}

/* ============================================
   底部公众号/视频号/抖音二维码
   ============================================ */
.footer-qr {
  background: var(--c-primary-dark);
  padding: 28px 0 26px;
}
.footer-qr .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-qr-title {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}
.footer-qr-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-qr-item {
  text-align: center;
}
.footer-qr-item img {
  width: 104px;
  height: 104px;
  border-radius: var(--r-md);
  background: #fff;
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.footer-qr-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  margin: 0;
  letter-spacing: 1px;
}
.calc-input-hint {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .footer-qr-grid { gap: 28px; }
  .footer-qr-item img { width: 88px; height: 88px; }
  .footer-qr-title { font-size: 14px; margin-bottom: 16px; }
}
@media (max-width: 480px) {
  .footer-qr-grid { gap: 16px; }
  .footer-qr-item img { width: 78px; height: 78px; }
  .footer-qr-item p { font-size: 12px; }
  .footer-qr { padding: 20px 0 18px; }
}

/* ============================================
   Popup
   ============================================ */
.popup-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.popup-overlay.show { opacity: 1; visibility: visible; }
.popup-box {
  background: #fff; border-radius: var(--r-xl); padding: var(--sp-4);
  max-width: 640px; width: 95%; text-align: center;
  transform: scale(0.9); transition: transform 0.3s;
  position: relative; max-height: 90vh; overflow-y: auto; overflow-x: hidden;
}
.popup-overlay.show .popup-box { transform: scale(1); }
.popup-box .close {
  position: absolute; top: 8px; right: 8px;
  width: 40px; height: 40px; line-height: 36px; text-align: center;
  font-size: 28px; font-weight: 300; color: #fff;
  background: rgba(0,0,0,0.55); border-radius: 50%; cursor: pointer;
  z-index: 10; transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.popup-box .close:hover { background: rgba(0,0,0,0.75); }
.popup-box h3 { color: var(--c-primary); margin-bottom: var(--sp-1); }
.popup-box .offer { background: var(--c-warn-light); border-radius: var(--r-md); padding: var(--sp-2); margin: var(--sp-2) 0; }
.popup-box .offer .big { font-size: 24px; font-weight: 700; color: var(--c-warn); }
.popup-box .form input { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--r-md); margin-bottom: 12px; font-size: 15px; }
.popup-box .form input:focus { outline: none; border-color: var(--c-primary); }
.popup-box .form .btn { width: 100%; }

/* ============================================
   Utility
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--c-primary); }
.text-warn { color: var(--c-warn); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.hidden { display: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .section { padding: var(--sp-5) 0; }
  .section-title h2 { font-size: 24px; }
  .hero h1 { font-size: 28px; }
  .hero .hero-desc { font-size: 15px; }
  .hero-stats { gap: var(--sp-3); }
  .hero-stat .num { font-size: 28px; }
  
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: var(--sp-2); gap: 0; border-bottom: 1px solid var(--border);
    visibility: hidden; opacity: 0;
    transform: translateY(-20px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; z-index: 999;
    box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-menu a { padding: 14px 16px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .header-phone { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .float-toolbar { right: 12px; bottom: 60px; }
  .float-btn { width: 44px; height: 44px; }
  .float-btn .icon { font-size: 16px; }
  .compare-bar-row .label { width: 80px; font-size: 12px; }

  /* Popup mobile optimization */
  .popup-box { width: 100%; max-height: 95vh; padding: var(--sp-3); border-radius: 16px 16px 0 0; }
  .popup-box .close { top: 6px; right: 6px; width: 36px; height: 36px; line-height: 32px; font-size: 24px; }
  .popup-box h3 { font-size: 18px; }
  .popup-box iframe.wps-form-embed { min-height: 70vh !important; max-height: 75vh; }
  .popup-box p { font-size: 13px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 24px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; }
}

@media (max-width: 768px) {
  .footer-qr-grid { gap: 28px; }
  .footer-qr-item img { width: 88px; height: 88px; }
  .footer-qr-title { font-size: 14px; margin-bottom: 16px; }
}
@media (max-width: 480px) {
  .footer-qr-grid { gap: 16px; }
  .footer-qr-item img { width: 78px; height: 78px; }
  .footer-qr-item p { font-size: 12px; }
  .footer-qr { padding: 20px 0 18px; }
}

/* ============================================
   新闻资讯 - 可点击卡片
   ============================================ */
.news-card {
  background: #fff; border-radius: 12px; padding: 24px; border: 1px solid var(--border);
  margin-bottom: 16px; display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.3s; text-decoration: none; color: inherit;
}
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); border-color: var(--c-primary-mid); }
.news-card .news-date {
  flex-shrink: 0; width: 100px; text-align: center;
  background: var(--c-primary-light); border-radius: 10px; padding: 12px;
}
.news-card .news-day { font-size: 24px; font-weight: 700; color: var(--c-primary); line-height: 1; }
.news-card .news-month { font-size: 13px; color: var(--c-primary); }
.news-card .news-tag { font-size: 13px; padding: 2px 10px; border-radius: 12px; display: inline-block; }
.news-card h3 { font-size: 18px; margin: 8px 0; color: var(--text); }
.news-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.news-card .news-arrow { margin-left: auto; flex-shrink: 0; align-self: center; color: var(--c-primary); font-size: 18px; transition: transform 0.3s; }
.news-card:hover .news-arrow { transform: translateX(4px); }

/* 首页「最新动态」板块（服务端渲染，三列并排） */
.home-news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.home-news-card {
  margin-bottom: 0; flex-direction: column; gap: 14px; align-items: stretch;
}
.home-news-card .news-date { width: auto; display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; align-self: flex-start; }
.home-news-card .news-day { font-size: 22px; }
.home-news-card h3 { font-size: 17px; line-height: 1.5; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-news-card p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-news-more { text-align: center; margin-top: 32px; }
.home-news-more a { color: var(--c-primary); font-size: 15px; font-weight: 500; text-decoration: none; }
.home-news-more a:hover { text-decoration: underline; }
.home-news-empty { background: #fff; border: 1px dashed var(--border-2); border-radius: 12px; padding: 40px; text-align: center; color: var(--text-3); font-size: 14px; }
.home-news-empty a { color: var(--c-primary); font-weight: 500; }

@media (max-width: 768px) {
  .home-news-grid { grid-template-columns: 1fr; }
}

/* 官网原创文章页 */
.article-body { font-size: 16px; line-height: 2; color: var(--text); overflow-wrap: break-word; word-wrap: break-word; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 24px; margin: 36px 0 16px; color: var(--text); font-weight: 700; line-height: 1.4; }
.article-body h3 { font-size: 20px; margin: 32px 0 16px; color: var(--text); font-weight: 600; }
.article-body h4 { font-size: 18px; margin: 28px 0 12px; color: var(--text); font-weight: 600; }
.article-body h5, .article-body h6 { font-size: 16px; margin: 24px 0 10px; color: var(--text-2); font-weight: 600; }
.article-body strong, .article-body b { font-weight: 700; color: var(--text); }
.article-body em, .article-body i { font-style: italic; }
.article-body ul, .article-body ol { margin: 12px 0 20px; padding-left: 28px; }
.article-body ul li, .article-body ol li { margin-bottom: 8px; line-height: 1.9; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote { border-left: 4px solid var(--c-primary); background: var(--bg-2); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; color: var(--text-2); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; margin: 20px 0; overflow-x: auto; font-size: 14px; line-height: 1.7; font-family: Consolas, Monaco, "Courier New", monospace; color: var(--text); }
.article-body code { background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; font-size: 14px; font-family: Consolas, Monaco, "Courier New", monospace; color: #c7254e; }
.article-body pre code { background: transparent; border: none; padding: 0; color: inherit; font-size: inherit; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: 6px; }
.article-body figure { margin: 20px 0; }
.article-body figcaption { text-align: center; font-size: 14px; color: var(--text-3); margin-top: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--bg-2); font-weight: 600; color: var(--text); }
.article-body tr:nth-child(even) td { background: rgba(0,0,0,.015); }
.article-body a { color: var(--c-primary); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.article-body a:hover { border-bottom-color: var(--c-primary); }
.article-body mark { background: #fff3a3; color: var(--text); padding: 1px 4px; border-radius: 3px; }
.article-body .text-center { text-align: center; }
.article-body .text-right { text-align: right; }
.article-body section, .article-body article, .article-body aside { margin: 16px 0; }
.article-body div[align] { margin: 12px 0; }
.article-meta { display: flex; gap: 12px; align-items: center; margin: 12px 0 28px; font-size: 14px; color: var(--text-3); }

@media (max-width: 640px) {
  .news-card { padding: 16px; gap: 12px; }
  .news-card .news-date { width: 72px; padding: 8px 4px; }
  .news-card .news-day { font-size: 20px; }
  .news-card .news-month { font-size: 12px; }
  .news-card h3 { font-size: 16px; }
  .news-card p { font-size: 13px; }
  .news-card .news-arrow { display: none; }
  .article-body { font-size: 15px; line-height: 1.85; }
  .article-body h2 { font-size: 21px; margin: 28px 0 12px; }
  .article-body h3 { font-size: 18px; margin: 24px 0 10px; }
  .article-body h4 { font-size: 16px; margin: 20px 0 8px; }
  .article-body pre { font-size: 13px; padding: 12px 14px; }
  .article-body table { font-size: 14px; }
  .article-body th, .article-body td { padding: 8px 10px; }
}

/* ============================================
   新闻列表分页（news.html）
   ============================================ */
.news-pager {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px; margin: 36px 0 8px;
}
.news-pager .pg {
  min-width: 38px; height: 38px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 14px; line-height: 1;
  border: 1px solid var(--border); color: var(--text-2);
  background: #fff; cursor: pointer; user-select: none;
  text-decoration: none; transition: all .15s ease;
}
.news-pager .pg:hover { border-color: var(--c-primary); color: var(--c-primary); }
.news-pager .pg.active {
  background: var(--c-primary); border-color: var(--c-primary); color: #fff;
  font-weight: 600; cursor: default;
}
.news-pager .pg.disabled { opacity: .4; pointer-events: none; }
.news-pager .dots {
  min-width: auto; padding: 0 4px; border: none; background: none;
  color: var(--text-2); cursor: default;
}
.news-pager .news-count {
  min-width: auto; padding: 0 12px 0 0; border: none; background: none;
  color: var(--text-2); font-size: 14px; cursor: default;
}
@media (max-width: 640px) {
  .news-pager { gap: 6px; margin: 28px 0 4px; }
  .news-pager .pg { min-width: 34px; height: 34px; padding: 0 10px; font-size: 13px; }
  .news-pager .news-count { width: 100%; padding: 0 0 8px; text-align: center; }
}

/* ===== 产品详情：图集缩略图条（有图才渲染，点击切换主图） ===== */
.pd-thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.pd-thumb {
  width: 80px; height: 80px; flex: 0 0 auto; border-radius: 8px; overflow: hidden;
  background: var(--bg-2); cursor: pointer; transition: border-color .15s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: .88; }
