/* ===================================================
   湖北本心环保科技股份有限公司 官网样式表
   设计风格：专业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;
}

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

html { scroll-behavior: smooth; }

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

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

.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: 13px;
  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: 18px; font-weight: 900;
  letter-spacing: -1px;
}
.logo-text .name {
  font-size: 18px; font-weight: 700; color: var(--primary);
  line-height: 1.2;
}
.logo-text .sub {
  font-size: 11px; 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: 14px; 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;
}
.dropdown-menu a {
  display: block; padding: 8px 12px;
  font-size: 13px; 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: 14px !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: 22px; 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: 13px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 38px; font-weight: 800; line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 em { color: #FFD166; font-style: normal; }
.hero p {
  font-size: 16px; 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: 15px;
  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: 15px;
  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: 13px; opacity: 0.85; margin-top: 4px; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--primary);
  color: white;
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
}
.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: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 30px; font-weight: 800; color: var(--text);
  line-height: 1.3; margin-bottom: 12px;
}
.section-header p { color: var(--text-light); font-size: 15px; 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: 20px; font-weight: 700; margin-bottom: 6px; }
.plc-header p { font-size: 13px; 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: 14px;
}
.plc-products li:last-child { border-bottom: none; }
.product-tag {
  background: rgba(26,78,140,0.08); color: var(--primary);
  font-size: 11px; 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: 14px;
  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: 17px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.anchor-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ── 案例卡片 ── */
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.case-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}
.case-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.case-client {
  font-size: 16px; 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: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px;
  margin-bottom: 12px;
}
.case-result {
  font-size: 13px; color: var(--text-light); line-height: 1.7;
}
.case-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--green); color: white;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}

/* ── 产品详情页 ── */
.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: 13px; font-weight: 600; margin-bottom: 14px; letter-spacing: 1px;
}
.product-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.product-hero .desc { font-size: 15px; 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: 13px;
  font-weight: 600;
}
.spec-table td {
  padding: 10px 16px; font-size: 14px;
  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: 14px; 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: 14px; 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: 14px; 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: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 工厂图库 ── */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.factory-grid img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: var(--radius);
  transition: var(--transition);
}
.factory-grid img:hover { transform: scale(1.03); }
.factory-grid .span-2 { grid-column: span 2; }

/* ── 联系表单 ── */
.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: 13px; 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: 14px; 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: 15px; 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: 16px;
}
.info-item .label { font-size: 12px; opacity: 0.7; }
.info-item .value { font-size: 15px; 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: 13px; 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: 11px; color: rgba(255,255,255,0.6);
}
.footer-col h4 { color: white; font-size: 14px; 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: 13px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center;
  font-size: 12px; 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: 14px; 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: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-item .val { font-size: 15px; font-weight: 700; color: var(--text); margin-top: 4px; }

/* ── 提示框 ── */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 14px; 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: 13px; 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: 13px; color: var(--primary); font-weight: 700; }
.milestone .event { font-size: 14px; 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: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; 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: 14px;
  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: 13px; }
.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: 15px;
  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: 14px; 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) {
  .nav-menu { display: none; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; border-top: 1px solid var(--border); padding: 12px; box-shadow: var(--shadow); }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 26px; }
  .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; }
  .hero-btns { flex-direction: column; }
}

/* ── 动画 ── */
.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: 13px;
  color: #aaa;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hero banner bg */
.hero-with-bg {
  background-image: url('/images/hero-banner.jpg');
  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: 22px;
  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: 14px;
  color: var(--text);
  line-height: 1.7;
  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: 13px;
  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: 14px;
  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: 16px; }
.card p  { color: var(--text-light); font-size: 14px; 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: 13px; 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: 11px;
  padding: 4px 12px;
}

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

/* ── 导航 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: 12px;
  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) ── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Nav */
  .mobile-toggle { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    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: 15px;
    color: var(--text);
  }
  .nav-menu a:hover { background: var(--bg); color: var(--primary); }
  .nav-cta { margin: 8px 16px 0; display: block; text-align: center; border-radius: 6px; }

  /* 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 > a::after { content: ' ▾'; font-size: 11px; }
  .nav-dropdown.open > a::after { content: ' ▴'; }
  .dropdown-menu a { padding-left: 36px !important; font-size: 14px !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: 64px 0 48px; }
  .hero h1 { font-size: 24px; line-height: 1.4; }
  .hero p { font-size: 15px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .hero-stats { display: none; }
  .hero-inner { grid-template-columns: 1fr; }

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

  /* 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; }
  .factory-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .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; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }

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

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

  /* CTA section */
  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: 20px; }
  .cta-btns { flex-direction: column; gap: 10px; }
  .cta-btns .btn { width: 100%; max-width: 280px; margin: 0 auto; }

  /* Comparison table */
  .compare-table { font-size: 12px; overflow-x: auto; display: block; }
  .compare-table th, .compare-table td { padding: 8px 10px; min-width: 90px; }
}

/* ── 480px breakpoint (small phones) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: 20px; }
  .anchors { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: repeat(2,1fr); }
  .cert-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 20px; }

  /* Navbar */
  .logo-text .sub { display: none; }
  .logo-img { width: 36px; height: 36px; }
  .name { font-size: 14px; }
}

/* Touch targets — ensure all interactive elements are ≥44px tall */
@media (max-width: 768px) {
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu a { min-height: 44px; display: flex; align-items: center; }
  input, select, textarea { font-size: 16px !important; } /* prevent iOS zoom */
}

/* WebP hero banner for supporting browsers */
@supports (background-image: url('x.webp')) {
  .hero-with-bg { background-image: url('/images/hero-banner.webp'); }
}
