/* ===================================================
   湖北本心环保科技股份有限公司 官网样式表
   设计风格：专业B2B工业化学品 · 深蓝主色调
=================================================== */

:root {
  --primary: #1A4E8C;
  --primary-dark: #0F2F5A;
  --primary-light: #2A6DB5;
  --accent: #E07B1A;
  --green: #1E8A4A;
  --text: #1A2433;
  --text-light: #4A5568;
  --border: #D1DCE8;
  --bg: #F4F8FC;
  --bg-dark: #0D1A2D;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(26,78,140,0.10);
  --shadow-hover: 0 8px 36px rgba(26,78,140,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

/* Site-wide minimum font size: 16px */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 22px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 透明底图片统一以白底承接，避免在深色/渐变区域出现黑底或白边毛刺 */
img[src*="/images/products/"],
img[src*="/images/factory/"],
img[src*="/images/extra/"],
img[src*="/images/certs/"],
img[src*="/images/lab"],
img[src*="/images/product-"],
.prod-photo-cell,
.prod-photo-cell picture,
.prod-photo-cell img,
.equip-card picture,
.equip-card img,
.factory-item picture,
.factory-item img,
.sg-item picture,
.sg-item img,
.plogo-img-wrap,
.plogo-img-wrap img,
.cert-img-row img,
.about-intro img,
.product-img {
  background: #fff;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* ── 顶部通知栏 ── */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  padding: 7px 0;
  text-align: center;
}
.top-bar a { color: var(--accent); }

/* ── 导航栏 ── */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 21px; font-weight: 900;
  letter-spacing: -1px;
}
.logo-text .name {
  font-size: 21px; font-weight: 700; color: var(--primary);
  line-height: 1.2;
}
.logo-text .sub {
  font-size: 18px; color: var(--text-light); letter-spacing: 0.5px;
}
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-menu a {
  padding: 8px 14px;
  font-size: 20px; font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: var(--bg);
}
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px;
  min-width: 180px;
  box-shadow: var(--shadow);
  z-index: 100;
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0;
}
.dropdown-menu a {
  display: block; padding: 8px 12px;
  font-size: 19px; color: var(--text);
  border-radius: 4px;
}
.dropdown-menu a:hover { background: var(--bg); color: var(--primary); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  flex-shrink: 0;
  transition: var(--transition) !important;
}
.nav-cta:hover { background: #c96b15 !important; transform: translateY(-1px); }

.mobile-toggle {
  display: none; background: none; border: none;
  font-size: 26px; cursor: pointer; color: var(--text);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1A6A8C 100%);
  color: white;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px; border-radius: 20px;
  font-size: 18px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 40px; font-weight: 800; line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 em { color: #FFD166; font-style: normal; }
.hero p {
  font-size: 20px; opacity: 0.85; margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: white;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 18px;
  transition: var(--transition); display: inline-block;
}
.btn-primary:hover { background: #c96b15; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(224,123,26,0.4); }
.btn-ghost {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 11px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 18px;
  transition: var(--transition); display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: white; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.hero-stat .num {
  font-size: 36px; font-weight: 800; color: #FFD166;
  line-height: 1;
}
.hero-stat .label { font-size: 18px; opacity: 0.85; margin-top: 4px; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--primary);
  color: white;
  padding: 10px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 12px 24px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 500; white-space: nowrap;
}
.trust-item .icon { font-size: 18px; }

/* ── 通用 Section ── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: rgba(26,78,140,0.08);
  color: var(--primary);
  font-size: 18px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 34px; font-weight: 800; color: var(--text);
  line-height: 1.3; margin-bottom: 12px;
}
.section-header p { color: var(--text-light); font-size: 20px; max-width: 580px; margin: 0 auto; }

/* ── 产品线卡片 ── */
.product-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-line-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: white;
}
.product-line-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.plc-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
}
.plc-header.blue { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; }
.plc-header.green { background: linear-gradient(135deg, #0F4D2B, var(--green)); color: white; }
.plc-icon { font-size: 36px; margin-bottom: 12px; }
.plc-header h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.plc-header p { font-size: 18px; opacity: 0.85; }
.plc-body { padding: 24px 32px; }
.plc-products { list-style: none; margin-bottom: 20px; }
.plc-products li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 18px;
}
.plc-products li:last-child { border-bottom: none; }
.product-tag {
  background: rgba(26,78,140,0.08); color: var(--primary);
  font-size: 18px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}
.btn-line {
  display: block; text-align: center;
  padding: 11px; border-radius: var(--radius);
  font-weight: 600; font-size: 18px;
  transition: var(--transition);
  border: 2px solid var(--primary); color: var(--primary);
}
.btn-line:hover { background: var(--primary); color: white; }

/* ── 三大锚点 ── */
.anchors { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.anchor-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.anchor-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--primary);
}
.anchor-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.anchor-num {
  font-size: 48px; font-weight: 900;
  color: rgba(26,78,140,0.08); line-height: 1;
  margin-bottom: -8px;
}
.anchor-icon { font-size: 40px; margin-bottom: 14px; }
.anchor-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.anchor-card p { font-size: 18px; color: var(--text-light); line-height: 1.8; }

/* ── 案例卡片 ── */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.case-card {
  display: flex; flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  min-height: 220px;
}
.case-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.case-client {
  font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 4px;
}
.case-product {
  display: inline-block;
  background: rgba(26,78,140,0.08); color: var(--primary);
  font-size: 18px; font-weight: 600; padding: 3px 10px; border-radius: 4px;
  margin-bottom: 12px;
}
.case-result {
  font-size: 16px; color: var(--text-light); line-height: 1.6;
  flex: 1;
}
.case-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--green); color: white;
  font-size: 18px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
/* 标题行与 badge 分列，避免长英文公司名与标签重叠 */
.case-card:has(.case-badge) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 12px;
  row-gap: 14px;
}
.case-card:has(.case-badge) .case-client,
.case-card:has(.case-badge) .case-product { margin-bottom: 0; }
.case-card:has(.case-badge) .case-client {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-right: 0;
}
.case-card:has(.case-badge) .case-badge {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  white-space: nowrap;
}
.case-card:has(.case-badge) .case-product {
  grid-column: 1 / -1;
  grid-row: 2;
}
.case-card:has(.case-badge) .case-result {
  grid-column: 1 / -1;
  grid-row: 3;
}

/* ── 产品详情页 ── */
.product-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white; padding: 60px 0;
}
.product-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-code {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 14px; border-radius: 4px;
  font-size: 18px; font-weight: 600; margin-bottom: 14px; letter-spacing: 1px;
}
.product-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.product-hero .desc { font-size: 19px; opacity: 0.88; line-height: 1.8; margin-bottom: 24px; }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table th {
  background: var(--primary); color: #fff;
  padding: 11px 16px; text-align: left; font-size: 18px;
  font-weight: 600;
}
.spec-table td {
  padding: 10px 16px; font-size: 19px;
  border-top: 1px solid var(--border);
  color: var(--text); background: #fff;
}
.spec-table tr:nth-child(even) td { background: var(--bg); }
/* Hero/dark-bg spec-table: restore white styling */
.product-hero .spec-table th { background: rgba(255,255,255,0.18); }
.product-hero .spec-table td { color: rgba(255,255,255,0.9); border-top-color: rgba(255,255,255,0.12); background: transparent; }
.product-hero .spec-table tr:nth-child(even) td { background: rgba(255,255,255,0.05); }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.tab-btn {
  padding: 12px 22px; font-size: 18px; font-weight: 600;
  color: var(--text-light); background: none; border: none;
  cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: var(--transition);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── 证书栏 ── */
.certs-bar {
  background: var(--bg); padding: 40px 0;
}
.certs-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.cert-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; color: var(--text-light); font-weight: 500;
}
.cert-item .icon {
  width: 32px; height: 32px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; flex-shrink: 0;
}

/* ── CTA 横幅 ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white; padding: 60px 0; text-align: center;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; text-wrap: balance; }
.cta-band p { font-size: 20px; opacity: 0.85; margin-bottom: 28px; text-wrap: balance; }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 首页样品 CTA：浅色带，弱化「假页脚」感，并与下方认证/客户区衔接 */
.cta-band.cta-band-soft {
  background: linear-gradient(180deg, #EAF2FA 0%, #DCE8F4 55%, var(--bg) 100%);
  color: var(--text);
  padding: 44px 0 36px;
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--border);
}
.cta-band.cta-band-soft h2 {
  font-size: 28px;
  color: var(--primary);
  text-wrap: balance;
}
.cta-band.cta-band-soft p {
  font-size: 18px;
  color: var(--text-light);
  opacity: 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  text-wrap: balance;
}
.cta-band.cta-band-soft .btn-ghost {
  border-color: var(--primary);
  color: var(--primary);
}
.cta-band.cta-band-soft .btn-ghost:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ── 工厂图库（about 实拍缩略图） ── */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.factory-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #dde4ed;
}
.factory-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.factory-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}
.factory-item:hover img { transform: scale(1.03); }
.factory-grid .factory-item.span-2,
.factory-grid .span-2 { grid-column: span 2; }

/* about 工厂实拍区块（集中维护缩略图网格） */
body.page-about .factory-gallery .factory-grid,
body.page-about .factory-gallery .factory-grid-2x4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.factory-grid-2x4 {
  grid-template-columns: repeat(4, 1fr);
}
.equip-grid-2x3 {
  grid-template-columns: repeat(3, 1fr);
}
body.page-about .factory-gallery .factory-item {
  aspect-ratio: 4/3;
}

/* ── 联系表单 ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 18px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-group label .req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 18px; font-family: inherit; color: var(--text);
  transition: var(--transition); background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,78,140,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--primary); color: white;
  border: none; border-radius: var(--radius);
  font-size: 19px; font-weight: 700; cursor: pointer;
  transition: var(--transition); font-family: inherit;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.contact-info-card {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.info-item { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.info-item .icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,255,255,0.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.info-item .label { font-size: 18px; opacity: 0.7; }
.info-item .value { font-size: 19px; font-weight: 600; margin-top: 2px; }

/* ── 页脚 ── */
footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .logo-text .name { color: white; }
.footer-brand .logo-text .sub { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 18px; line-height: 1.8; margin-top: 12px; margin-bottom: 16px; }
.footer-cert {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cert-tag {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  padding: 3px 10px; border-radius: 4px; font-size: 18px; color: rgba(255,255,255,0.6);
}
.footer-col h4 { color: white; font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 18px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: white; }
/* 页脚联系我们：电话/邮箱链接防换行 */
footer a[href^="tel:"], footer a[href^="mailto:"] { white-space: nowrap; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center;
  font-size: 18px; color: rgba(255,255,255,0.4);
}

/* ── 产品规格 ── */
.spec-box {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 24px;
}
.spec-box h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.spec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.spec-item { background: white; border-radius: var(--radius); padding: 14px; border: 1px solid var(--border); }
.spec-item .key { font-size: 18px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-item .val { font-size: 19px; font-weight: 700; color: var(--text); margin-top: 4px; }

/* ── 提示框 ── */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 18px; margin-bottom: 20px;
  display: flex; gap: 10px; align-items: flex-start;
}
.alert-info { background: rgba(26,78,140,0.08); border-left: 3px solid var(--primary); }
.alert-success { background: rgba(30,138,74,0.08); border-left: 3px solid var(--green); }

/* ── 面包屑 ── */
.breadcrumb {
  padding: 14px 0;
  font-size: 18px; color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }

/* ── 关于页 ── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro img { border-radius: var(--radius-lg); }
.milestone-list { position: relative; padding-left: 28px; }
.milestone-list::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.milestone {
  position: relative; margin-bottom: 20px;
}
.milestone::before {
  content: ''; position: absolute; left: -22px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); border: 2px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}
.milestone .year { font-size: 18px; color: var(--primary); font-weight: 700; }
.milestone .event { font-size: 18px; color: var(--text); margin-top: 2px; }

/* ── 团队卡片 ── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 28px; text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.team-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 18px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 18px; color: var(--text-light); }

/* ── 通用按钮 ── */
.btn {
  display: inline-block; padding: 11px 24px;
  background: var(--primary); color: white;
  border-radius: var(--radius); font-weight: 600; font-size: 18px;
  transition: var(--transition); border: none; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-sm { padding: 7px 16px; font-size: 18px; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #c96b15; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  padding: 16px 20px; font-weight: 600; font-size: 20px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: var(--bg); transition: var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-a { padding: 16px 20px; font-size: 19px; color: var(--text-light); line-height: 1.8; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { background: white; color: var(--primary); }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .product-lines { grid-template-columns: 1fr; }
  .anchors { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .product-hero-inner { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: repeat(2,1fr); }
  .factory-grid .span-2 { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cases-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 16px; }
  .section { padding: 48px 0; }
  .factory-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr; }
}

/* ── 动画 ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: none; }



/* Logo image */
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}
.footer-brand .logo-img {
  width: 44px;
  height: 44px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 18px;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hero banner bg */
.hero-with-bg {
  background-image: url('/images/hero-banner.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 60, 0.72);
}
.hero-with-bg > * { position: relative; }

/* Cert images */
.cert-img-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}
.cert-img-row img {
  height: 80px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .3s;
}
.cert-img-row img:hover { filter: none; }

/* Product images */
.product-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 320px;
}


/* ========================================================
   补丁：修复对比度 + 缺失类定义
   ======================================================== */

/* ── .card 通用卡片（之前未定义） ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

/* ── .section-title（之前未定义） ── */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

/* ── .feature-list（之前未定义） ── */
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 10px 14px;
  margin-bottom: 8px;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 18px;
  color: var(--text);
  line-height: 1.8;
  border-left: 3px solid var(--primary);
}

/* ── spec-table：白底区域专用样式（覆盖Hero区样式） ── */
/* 在白背景 section 内的 spec-table 用深色文字 */
section:not(.hero):not(.product-hero) .spec-table th,
div:not(.product-hero) .spec-table th {
  background: var(--primary);
  color: #fff;
  padding: 11px 16px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}
section:not(.hero):not(.product-hero) .spec-table td,
div:not(.product-hero) .spec-table td {
  padding: 10px 16px;
  font-size: 18px;
  color: var(--text);
  border-top: 1px solid var(--border);
  background: #fff;
}
section:not(.hero):not(.product-hero) .spec-table tr:nth-child(even) td {
  background: var(--bg);
}
section:not(.hero):not(.product-hero) .spec-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── 对比表（BXH-105 页面） ── */
table[style] th { color: inherit; }

/* ── 产品页 hero-content/hero-text 布局 ── */
.hero-content { position: relative; }
.hero-text { max-width: 640px; }

/* ── card 内 h3 默认颜色 ── */
.card h3 { color: var(--primary); margin-bottom: 10px; font-size: 20px; }
.card p  { color: var(--text-light); font-size: 18px; line-height: 1.8; }

/* ── CTA band 内链接按钮 ── */
.cta-band .btn-ghost {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  padding: 11px 26px;
}
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

/* ── 步骤数字圆圈 ── */
.step-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold; flex-shrink: 0;
  color: #fff;
}

/* ── 内联 div 色块内文字留足内边距 ── */
.card[style] { padding: 20px 24px; }

/* ── 页脚 cert-tag 可读性提升 ── */
.cert-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  padding: 4px 12px;
}

/* ── case-card 内 .case-product 标签 ── */
.case-product {
  background: rgba(26,78,140,0.10);
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.case-client {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.case-result {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── 导航 a 颜色修正（白底导航） ── */
.navbar .nav-menu > li > a { color: var(--text); }
.navbar .nav-menu > li > a:hover { color: var(--primary); }

/* ── 产品页 inline spec-table（直接在 body 里的表格） ── */
.spec-table {
  border-collapse: collapse;
  width: 100%;
}
/* 强制 white-section 内的表头为蓝底白字 */
.fade-up.spec-table th,
section .spec-table th {
  background: var(--primary) !important;
  color: #fff !important;
}
section .spec-table td {
  color: var(--text) !important;
  background: #fff;
  border-top: 1px solid var(--border);
}
section .spec-table tr:nth-child(even) td { background: var(--bg); }

/* ── 页脚底部栏 ── */
.footer-bottom {
  padding: 16px 24px;
  text-align: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════
   MOBILE & RESPONSIVE IMPROVEMENTS  v4
   ═══════════════════════════════════════════ */

/* Lang switch */
.lang-switch-item { list-style: none; }
.lang-btn {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary) !important;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.lang-btn:hover { background: var(--primary); color: #fff !important; }

/* Mobile toggle — bigger hit area, animated bars */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Smoother nav-menu slide on mobile */
.nav-menu {
  transition: none;
}

/* ── 768px breakpoint (tablets / phones) ── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* 顶部热线栏占高，竖屏首屏优先导航与 CTA */
  .top-bar { display: none; }

  /* Nav: logo | 申请样品 | 菜单 始终可见 */
  .nav-inner {
    position: relative;
    height: 56px;
    gap: 8px;
  }
  .logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }
  .logo-img { width: 36px; height: 36px; }
  .logo-text { min-width: 0; }
  .logo-text .name {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .logo-text .sub { display: none; }

  .mobile-toggle {
    display: flex;
    order: 3;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .navbar .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 2;
    flex-shrink: 0;
    padding: 7px 12px !important;
    font-size: 0 !important; /* 隐藏长文案，改用短标签 */
    font-weight: 700 !important;
    white-space: nowrap;
    line-height: 1;
  }
  .navbar .nav-cta::after {
    content: '申请样品';
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }
  html[lang="en"] .navbar .nav-cta::after {
    content: 'Sample';
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    order: 4;
    background: #fff;
    border-top: 2px solid var(--primary);
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--border); }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu a {
    display: block;
    padding: 13px 20px;
    font-size: 19px;
    color: var(--text);
  }
  .nav-menu a:hover { background: var(--bg); color: var(--primary); }

  /* Dropdown — show as accordion on mobile */
  .nav-dropdown .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border: none;
    background: var(--bg);
    display: none;
    padding: 0;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown:hover .dropdown-menu { display: none !important; }
  .nav-dropdown.open:hover .dropdown-menu { display: block !important; }
  .nav-dropdown:hover .dropdown-menu { display: none; }  /* 禁用touch hover残留 */
  .nav-dropdown.open:hover .dropdown-menu { display: block; }
  .nav-dropdown > a::after { content: ' ▾'; font-size: 18px; }
  .nav-dropdown.open > a::after { content: ' ▴'; }
  .dropdown-menu a { padding-left: 36px !important; font-size: 18px !important; color: var(--text-light) !important; }

  /* Lang switch in mobile menu */
  .lang-switch-item { padding: 0; }
  .lang-btn { margin: 4px 16px; display: inline-block; }

  /* Hero：压缩首屏高度，保证「申请免费样品」落在首屏 */
  .hero { padding: 28px 0 28px; }
  .hero-badge { margin-bottom: 10px; font-size: 13px; padding: 4px 10px; }
  .hero h1 { font-size: 22px; line-height: 1.35; margin-bottom: 10px; }
  .hero p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 12px 16px;
    font-size: 16px;
  }
  .hero-btns .btn { width: 100%; text-align: center; }
  .hero-stats { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }

  /* Sections */
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 24px; }

  /* Products grid */
  .product-lines { grid-template-columns: 1fr; gap: 16px; }
  .cases-grid { grid-template-columns: 1fr; gap: 16px; }
  .anchors { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Trust bar */
  .trust-bar-inner {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .trust-item { min-width: 120px; }

  /* Product hero */
  .product-hero-inner { grid-template-columns: 1fr; }
  .product-hero h1 { font-size: 24px; }

  /* Spec grid */
  .spec-grid { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-intro { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card .num { font-size: 32px; }
  .stat-card .label { font-size: 16px; }
  .stat-card .label span { font-size: 14px; }
  .about-2col { grid-template-columns: 1fr; gap: 20px; }
  .about-2col.about-bases { gap: 16px; margin-top: 24px; }
  .section-intro { font-size: 16px; padding: 0 4px; margin-bottom: 24px; }
  .factory-grid,
  body.page-about .factory-gallery .factory-grid,
  body.page-about .factory-gallery .factory-grid-2x4,
  .factory-grid-2x4 { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .equip-grid,
  .equip-grid-2x3 { grid-template-columns: repeat(2,1fr); }
  .factory-grid .span-2 { grid-column: span 1; }
  .cert-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  /* 联系我们列整行展示，避免电话号码 nowrap 后溢出 */
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 18px; }

  /* Tables */
  .spec-table { font-size: 18px; }
  .spec-table th, .spec-table td { padding: 8px 10px; }

  /* Cards */
  .card { padding: 18px 16px !important; }

  /* CTA section */
  .cta-section { padding: 40px 0; }

  /* Image galleries */
  .site-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── 下拉分组标签 ── */
.dropdown-cat {
  padding: 8px 12px 3px;
  font-size: 16px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: default;
  list-style: none;
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 10px;
  list-style: none;
}

/* ── 下拉分类标题（可点击版）── */
.dropdown-cat-link {
  list-style: none !important;
  padding: 0;
  margin-top: 4px;
}
.dropdown-cat-link a {
  display: block;
  padding: 7px 12px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary) !important;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
  background: none !important;
}
.dropdown-cat-link a:hover {
  color: var(--accent) !important;
  background: none !important;
  text-decoration: underline;
}

/* case card bottom-aligned buttons */
.case-btns {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.case-btns .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}
.case-btns .btn:only-child {
  grid-column: 1 / -1;
}

/* contact link styles */
a[href^="tel"], a[href^="mailto"] { color: inherit; text-decoration: none; }


/* ===================================================
   Button nowrap fix + missing class definitions
   ================================================== */

/* All buttons: prevent text wrapping */
.btn-primary, .btn-ghost, .btn-line, .btn-submit,
.btn, .tab-btn, .lang-btn,
.btn-secondary, .btn-sample, .btn-phone {
  white-space: nowrap;
}

/* btn-secondary: secondary action (blue outline) */
.btn-secondary {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
  padding: 11px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 18px;
  transition: var(--transition); display: inline-block;
}
.btn-secondary:hover { background: var(--primary); color: white; }

/* btn-sample: sample request button (orange accent) */
.btn-sample {
  background: var(--accent); color: white;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 18px;
  transition: var(--transition); display: inline-block;
}
.btn-sample:hover { background: #c96b15; }

/* btn-phone: phone CTA button (white outline, for dark bg) */
.btn-phone {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 11px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 18px;
  transition: var(--transition); display: inline-block;
}
.btn-phone:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ===================================================
   v7: migrated from inline <style> blocks
   =================================================== */

/* product link in product-line cards */
.plc-product-link { color: inherit; text-decoration: none; font-weight: inherit; }
.plc-product-link:hover { color: #1A4E8C; text-decoration: underline; }

/* card / section overrides (inline values) */
.card { padding: 22px 26px !important; }
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A4E8C;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #D1DCE8;
}
.feature-list li {
  font-size: 16px;
  line-height: 1.7;
}
.cert-tag {
  background: rgba(255,255,255,0.14) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.9) !important;
}

/* about page */
body.page-about .section-title {
  font-size: 32px;
  font-weight: 800;
}
.section-intro {
  text-align: center;
  color: #64748b;
  margin: 10px auto 32px;
  max-width: 760px;
  line-height: 1.9;
  font-size: 19px;
  text-wrap: balance;
}
/* about 页导语：适度加宽以保证四段导语均收在两行内 */
body.page-about .section-intro { max-width: 820px; }

/* ── 通用两列栅格 · 竖屏自动堆叠 ──────────────────────────────
   替代此前散落各页的行内 grid-template-columns:1fr 1fr。
   行内样式优先级高于类规则，媒体查询无法覆盖，导致移动端
   始终两列、内容被压窄（产品详情页「适用场景」尤为明显）。 */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-2col.gap-sm { gap: 12px; }
.grid-2col.gap-md { gap: 32px; }
.grid-2col.gap-lg { gap: 50px; }
@media (max-width: 768px) {
  .grid-2col { grid-template-columns: 1fr; gap: 24px; }
  .grid-2col.gap-sm { gap: 12px; }
}
.hero-text h1 { text-wrap: balance; }
.hero-text h1 span { text-wrap: balance; }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.equip-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s;
}
.equip-card:hover { transform: translateY(-3px); }
.equip-card picture { display: block; width: 100%; }
.equip-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.equip-card .equip-info { padding: 16px 18px; }
.equip-card .equip-title { font-size: 20px; font-weight: 700; color: #1A4E8C; margin-bottom: 8px; }
.equip-card .equip-desc { font-size: 17px; color: #666; line-height: 1.7; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.about-2col.about-bases {
  gap: 40px;
  margin-top: 32px;
  align-items: stretch;
}
.stat-card .num { font-size: 44px; font-weight: 800; }
.stat-card .label { font-size: 18px; color: #555; margin-top: 8px; line-height: 1.6; }
.stat-card .label span { color: #999; font-size: 16px; }

/* partner logo grid (index / cases) */
.plogo-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.plogo-card {
  display: flex; flex-direction: column; align-items: center;
  border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s; cursor: default;
}
.plogo-card:hover { border-color: #1A4E8C; box-shadow: 0 6px 22px rgba(26,78,140,.13); transform: translateY(-2px); }
.plogo-img-wrap { width: 100%; padding: 14px 12px 10px; display: flex; align-items: center; justify-content: center; min-height: 58px; }
.plogo-img-wrap img { max-width: 100%; max-height: 44px; object-fit: contain; display: block; }
.plogo-name-zh { font-size: 16px; font-weight: 700; color: #1a2e4a; letter-spacing: .05em; text-align: center; padding: 0 4px; line-height: 1.25; }
.plogo-name-en { font-size: 16px; color: #8a9ab5; letter-spacing: .02em; margin: 2px 0 10px; text-align: center; padding: 0 4px; line-height: 1.25; word-break: break-word; hyphens: auto; }

/* site gallery (index 生产现场) */
.site-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sg-item { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: #dde4ed; }
.sg-item picture { display: block; width: 100%; height: 100%; }
.sg-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.sg-item:hover img { transform: scale(1.04); }

/* products page photo strip */
.prod-photo-strip { background: #fff; padding-top: 0; }
.prod-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prod-photo-cell {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #dde4ed;
}
.prod-photo-cell picture { display: block; width: 100%; height: 100%; }
.prod-photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* hero / product-hero breadcrumb (white on dark) */
.product-hero .breadcrumb,
.hero .breadcrumb {
  padding: 12px 0 4px;
  font-size: 16px;
  color: rgba(255,255,255,.7);
  display: block;
}
.product-hero .breadcrumb a,
.hero .breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.product-hero .breadcrumb a:hover,
.hero .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.product-hero .breadcrumb span,
.hero .breadcrumb span { margin: 0 6px; opacity: .5; }

/* FAQ pages */
.faq-body h3 { font-size: 20px; color: #1A4E8C; margin: 28px 0 10px; border-left: 4px solid #1A4E8C; padding-left: 12px; }
.faq-body h4 { font-size: 20px; color: #1A2433; margin: 22px 0 8px; font-weight: 700; }
.faq-body p { line-height: 1.9; color: #444; margin-bottom: 14px; font-size: 20px; }
.faq-body ul, .faq-body ol { padding-left: 20px; margin-bottom: 14px; }
.faq-body li { line-height: 1.85; color: #444; font-size: 20px; margin-bottom: 6px; }
.faq-body strong { color: #1A2433; }
.tip-box { background: #EDF4FF; border-left: 4px solid #1A4E8C; border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 20px 0; font-size: 20px; color: #1A2433; line-height: 1.8; }
.tip-box strong { color: #1A4E8C; }
.recommend-box { background: #F0FBF4; border: 1px solid #3DB061; border-radius: 8px; padding: 16px 20px; margin: 24px 0; }
.recommend-box h4 { color: #2A7A48; margin: 0 0 10px; font-size: 18px; }
.recommend-box ul { margin: 0; padding-left: 18px; }
.recommend-box li { font-size: 18px; color: #2A7A48; margin-bottom: 4px; }
.related-box { background: #F8F9FA; border-radius: 8px; padding: 14px 18px; margin-top: 32px; font-size: 18px; color: #666; }
.related-box a { color: #1A4E8C; text-decoration: none; margin-right: 16px; }
.related-box a:hover { text-decoration: underline; }
.faq-body .breadcrumb { font-size: 17px; color: #999; margin-bottom: 20px; padding: 0; display: block; }
.faq-body .breadcrumb a { color: #1A4E8C; text-decoration: none; }
.faq-body .breadcrumb span { margin: 0 6px; opacity: 1; }

/* FAQ tags & steps */
.tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 16px; font-weight: 600; white-space: nowrap; line-height: 1.3; }
.tag-water { background: #E0F0FF; color: #1A4E8C; }
.tag-oil { background: #FFF3E0; color: #B45000; }
.tag-both { background: #E8F5E9; color: #2A7A48; }
.tag-nophosphorus { background: #F3E5F5; color: #6A1B9A; }
.tag-hot { background: #FFEBEE; color: #B71C1C; }
.step-card { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: #F4F8FC; border-radius: 10px; margin-bottom: 12px; border-left: 4px solid #1A4E8C; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: #1A4E8C; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.step-num.green { background: #3DB061; }
.step-body strong { color: #1A2433; font-size: 16px; }
.step-body p { margin: 4px 0 0; font-size: 16px; color: #555; line-height: 1.7; }
.section-heading { font-size: 21px; font-weight: 700; color: #1A4E8C; padding-bottom: 10px; border-bottom: 2px solid #D1DCE8; margin-bottom: 20px; }

/* FAQ index page (.page-faq) */
body.page-faq .hero-faq { min-height: 220px; padding: 64px 0 44px; }
body.page-faq .hero-faq h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
body.page-faq .hero-lead { margin-top: 14px; font-size: 20px; opacity: .85; line-height: 1.8; max-width: 720px; }
body.page-faq .hero-hint { margin-top: 10px; font-size: 17px; opacity: .7; }
body.page-faq .faq-cat-nav {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
body.page-faq .faq-cat-nav a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: rgba(255,255,255,.92);
  font-size: 16px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,.22); transition: background .2s, border-color .2s;
}
body.page-faq .faq-cat-nav a:hover {
  background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.45); color: #fff;
}
body.page-faq .page-faq-main { background: #fff; padding: 60px 0 80px; }
body.page-faq .faq-tool-section { margin-bottom: 60px; }
body.page-faq .faq-tool-lead { font-size: 18px; color: #666; margin-bottom: 18px; line-height: 1.85; }
body.page-faq .faq-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.page-faq .spec-table .prod-sub { display: block; font-size: 16px; color: #888; margin-top: 2px; font-weight: 400; }
body.page-faq .section-heading { font-size: 24px; margin-bottom: 22px; }
body.page-faq .step-body strong { font-size: 18px; }
body.page-faq .step-body p { font-size: 18px; }
body.page-faq .faq-qa-divider {
  margin-top: 28px; border-top: 2px solid #D1DCE8; padding-top: 28px;
}
body.page-faq .faq-category { margin-bottom: 52px; scroll-margin-top: 88px; }
body.page-faq .faq-category-title {
  font-size: 22px; font-weight: 700; color: #1A4E8C;
  border-left: 4px solid #1A4E8C; padding-left: 14px; margin-bottom: 22px;
}
body.page-faq .faq-card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px;
}
body.page-faq .faq-card {
  text-decoration: none; background: #F4F8FC; border-radius: 12px;
  padding: 22px 24px; border: 1px solid #E0E8F0;
  transition: box-shadow .22s, transform .22s, border-color .22s; display: block;
}
body.page-faq .faq-card:hover {
  box-shadow: 0 8px 28px rgba(26,78,140,.12); transform: translateY(-2px);
  border-color: #B8CCE0;
}
body.page-faq .faq-card-num {
  font-size: 16px; font-weight: 700; color: #1A4E8C; margin-bottom: 8px; letter-spacing: .5px;
}
body.page-faq .faq-card-title {
  font-size: 20px; color: #1A2433; font-weight: 600; line-height: 1.55; margin-bottom: 10px;
}
body.page-faq .faq-card-excerpt { font-size: 18px; color: #666; line-height: 1.65; }
body.page-faq .faq-card-cta {
  margin-top: 14px; font-size: 17px; color: #1A4E8C; font-weight: 600;
}
body.page-faq .faq-help-box {
  background: #EDF4FF; border-radius: 12px; padding: 30px 32px; margin-top: 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
body.page-faq .faq-help-box-text { flex: 1; min-width: 220px; }
body.page-faq .faq-help-box-text h3 { font-size: 20px; color: #1A4E8C; margin: 0 0 8px; }
body.page-faq .faq-help-box-text p { font-size: 18px; color: #555; margin: 0; line-height: 1.75; }
body.page-faq .faq-help-box-btns { display: flex; gap: 12px; flex-wrap: wrap; }
body.page-faq .btn-outline-phone {
  display: inline-block; padding: 10px 20px; background: #fff; color: #1A4E8C;
  border: 1px solid #1A4E8C; border-radius: 8px; font-size: 16px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: background .2s, color .2s;
}
body.page-faq .btn-outline-phone:hover { background: #1A4E8C; color: #fff; }

@media (max-width: 768px) {
  body.page-faq .hero-faq { padding: 56px 0 36px; }
  body.page-faq .hero-lead { font-size: 18px; }
  body.page-faq .faq-cat-nav a { font-size: 16px; padding: 7px 14px; }
  body.page-faq .page-faq-main { padding: 48px 0 64px; }
  body.page-faq .faq-card-grid { grid-template-columns: 1fr; }
  body.page-faq .faq-category-title { font-size: 20px; }
  body.page-faq .section-heading { font-size: 21px; }
  body.page-faq .faq-help-box { padding: 24px 20px; flex-direction: column; align-items: stretch; }
  body.page-faq .faq-help-box-btns { flex-direction: column; }
  body.page-faq .faq-help-box-btns .btn-primary,
  body.page-faq .faq-help-box-btns .btn-outline-phone { width: 100%; text-align: center; }
}

/* imidazoline hub page */
.imi-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.imi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  min-height: 100%;
}
.imi-card:hover { box-shadow: 0 8px 28px rgba(26,78,140,.12); transform: translateY(-3px); }
.imi-card-head { background: var(--primary); color: #fff; padding: 20px 24px; }
.imi-card-head .code { font-size: 16px; opacity: .7; margin-bottom: 4px; }
.imi-card-head h3 { font-size: 20px; font-weight: 700; margin: 0; }
.imi-card-body { padding: 20px 24px; }
.imi-card-body .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.imi-tag { background: #EBF2FA; color: #1A4E8C; font-size: 16px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.imi-specs { list-style: none; padding: 0; font-size: 16px; color: #555; line-height: 2; }
.imi-specs li::before { content: "\2713 "; color: var(--primary); font-weight: 700; }
.imi-card-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: stretch;
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-table th { background: var(--primary); color: #fff; padding: 11px 14px; text-align: left; font-weight: 600; }
.compare-table td { padding: 10px 14px; border-bottom: 1px solid #EEF2F7; color: #333; }
.compare-table tr:nth-child(even) td { background: #F7FAFF; }
.compare-table tr:hover td { background: #EBF2FA; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 28px; }
.how-card { background: #fff; border-radius: 10px; padding: 22px; border-left: 4px solid var(--primary); }
.how-card h4 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.how-card p { font-size: 16px; color: #555; line-height: 1.8; }

/* products listing */
.prod-cat-title { font-size: 20px; color: var(--primary); margin: 0 0 24px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.prod-cat-title.green { color: var(--green); border-color: var(--green); }
.prod-cat-title.orange { color: #C47A1E; border-color: #C47A1E; }

/* variant banner */
.variant-banner { background: #FFF8E7; border: 1px solid #F5A623; border-radius: 8px; padding: 12px 18px; margin-bottom: 20px; font-size: 16px; color: #7A4E00; }

/* contact dual location maps */
.loc-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.loc-map-card {
  border-radius: 12px;
  border: 1px solid #D1DCE8;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.loc-map-head {
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  background: #F8FBFE;
  border-bottom: 1px solid #E5EEF6;
}
.loc-map-canvas {
  height: 260px;
  width: 100%;
}
.loc-map-addr {
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid #EEF3F8;
  flex: 1;
  min-height: 88px;
  box-sizing: border-box;
}
.loc-map-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 18px 16px;
  margin-top: auto;
}
.loc-map-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  padding: 0 14px;
  box-sizing: border-box;
  background: #1A4E8C;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.loc-map-nav a:nth-child(2) { background: #4285F4; }
.loc-map-nav a:nth-child(3) { background: #3385FF; }

/* contact page mobile */
@media (max-width: 768px) {
  .loc-maps-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .equip-card img { height: 160px; }
  body.page-about .section-title { font-size: 26px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-2col { grid-template-columns: 1fr; }
  .plogo-row { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .plogo-img-wrap { padding: 10px 8px 8px; min-height: 44px; }
  .plogo-img-wrap img { max-height: 34px; }
  .plogo-name-zh { font-size: 16px; line-height: 1.2; }
  .plogo-name-en { font-size: 16px; line-height: 1.2; letter-spacing: 0; }
  .site-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dz-2col { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .cases-imgrow { gap: 12px !important; }
  .cases-imgrow > div { width: 130px !important; height: 90px !important; }
  .prod-photo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .plogo-row { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}

