/* ============================================
   成都翕湛环保科技有限公司 - 官网样式
   简约 · 大气 · 专业
   ============================================ */

/* --- Design Tokens --- */
:root {
  --primary: #1a6b4c;
  --primary-dark: #125039;
  --primary-light: #e8f5ee;
  --secondary: #0d3b66;
  --accent: #2d8f6f;
  --gold: #b8860b;
  --bg: #ffffff;
  --bg-alt: #f7faf8;
  --text: #1a1a2e;
  --text-light: #555;
  --text-muted: #888;
  --border: #e2e8e4;
  --shadow-sm: 0 2px 12px rgba(26,107,76,0.06);
  --shadow-md: 0 8px 30px rgba(26,107,76,0.10);
  --shadow-lg: 0 16px 48px rgba(13,59,102,0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --nav-h: 72px;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- Container --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-inner {
  max-width: var(--max-w); 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;
  font-size: 20px; font-weight: 700; color: var(--secondary);
  letter-spacing: 1px;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
}
/* 上传的公司 Logo 图片（替代文字 Logo） */
.logo-img { height: 34px; width: auto; max-width: 180px; object-fit: contain; vertical-align: middle; }
/* 导航品牌文字（小 logo 旁，如「翕湛环保科技」），数据驱动 site.logoText */
.logo-text { font-size: 20px; font-weight: 700; color: var(--secondary); letter-spacing: 1px; white-space: nowrap; }

/* 首页左上大号品牌 Logo（仅首页 hero 顶部展示，区别于导航小 logo） */
.hero-brand { position: absolute; top: 26px; left: 26px; z-index: 3; }
.hero-logo-img {
  height: 88px; width: auto; max-width: 340px; object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.22));
}
@media (max-width: 600px) {
  .hero-brand { top: 14px; left: 16px; }
  .hero-logo-img { height: 60px; max-width: 220px; }
}

/* 图片水印：半透明品牌文字叠加，防盗用
   修复：wrapper 改为 block 并成为真正的 flex/grid 子项；尺寸类（card-img/step-img）挂其上，
   内层 img 100% 填充（object-fit:cover），不再因 inline-block 在 flex 中被压成 0 宽而消失。 */
.wm-wrap { position: relative; display: block; line-height: 0; max-width: 100%; overflow: hidden; }
.wm-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wm-gallery { aspect-ratio: 4 / 3; }
.wm-mark {
  position: absolute; z-index: 2; padding: 2px 8px; border-radius: 4px;
  background: rgba(0,0,0,0.38); color: #fff; font-size: 12px; line-height: 1.4;
  font-weight: 600; letter-spacing: .5px; pointer-events: none; white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.wm-bottom-right { right: 8px; bottom: 8px; }
.wm-bottom-left { left: 8px; bottom: 8px; }
.wm-top-right { right: 8px; top: 8px; }
.wm-top-left { left: 8px; top: 8px; }
.wm-center { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav-links { display: flex; gap: 4px; }
.nav-item {
  position: relative; padding: 8px 16px; cursor: pointer;
  color: var(--text); font-size: 15px; font-weight: 500;
  transition: color .25s; background: none; border: none; font-family: inherit;
}
.nav-item:hover, .nav-item.active { color: var(--primary); }
.nav-item::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2.5px; background: var(--primary);
  border-radius: 2px; transition: width .25s;
}
.nav-item:hover::after, .nav-item.active::after { width: 60%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: -8px; min-width: 180px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease; z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 14px; color: var(--text-light);
  transition: all .2s;
}
.dropdown-menu a:hover {
  background: var(--primary-light); color: var(--primary);
  padding-left: 26px;
}

/* Mobile toggle */
.menu-toggle {
  display: none; width: 36px; height: 36px; border: none; background: none;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .3s;
}
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 999; cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  /* 顶部栏（含汉堡按钮）须高于遮罩，否则抽屉展开后被全屏遮罩盖住、所有点击都被遮罩吃掉 */
  .nav-inner { position: relative; z-index: 1002; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
    flex-direction: column; padding: 24px; gap: 0;
    transform: translateX(100%); transition: transform .35s ease;
    overflow-y: auto;
    z-index: 1001; /* 必须高于 .nav-backdrop(999)，否则子菜单点击被遮罩拦截 */
  }
  .nav-links.open { transform: translateX(0); }
  .nav-backdrop.open { display: block; }
  .nav-item { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .dropdown-menu {
    position: static; box-shadow: none; background: var(--bg-alt);
    border-radius: var(--radius); margin-top: 8px; padding-left: 16px;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-item::after { display: none; }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  margin-top: var(--nav-h);
  background: linear-gradient(135deg, #0d3b66 0%, #1a6b4c 60%, #2d8f6f 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2; color: #fff; text-align: center;
  padding: 80px 24px; max-width: 800px; margin: 0 auto;
}
.hero-badge {
  display: inline-block; padding: 6px 20px; border-radius: 30px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  font-size: 14px; letter-spacing: 2px; margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.2;
  margin-bottom: 20px; letter-spacing: 2px;
}
.hero h1 span { color: #7fdbca; }
.hero p {
  font-size: clamp(16px, 2vw, 19px); opacity: 0.88; line-height: 1.8;
  margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 50px; background: #fff;
  color: var(--primary); font-size: 16px; font-weight: 600;
  transition: all .3s; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.22);
  color: var(--primary-dark);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.4); color: #fff;
  font-size: 15px; font-weight: 500; transition: all .3s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12); border-color: #fff;
  transform: translateY(-2px);
}

/* Floating shapes for hero */
.hero-shapes {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.hero-shape {
  position: absolute; border-radius: 50%; opacity: 0.07;
  background: #fff;
}
.hs-1 { width: 400px; height: 400px; top: -100px; right: -80px; }
.hs-2 { width: 250px; height: 250px; bottom: 10%; left: -60px; }
.hs-3 { width: 150px; height: 150px; top: 40%; right: 15%; }

/* ===== 首页颜色 / 动效（统一尊重 prefers-reduced-motion；开启减弱动效的用户自动关闭） ===== */
@media (prefers-reduced-motion: no-preference) {
  /* Hero 背景渐变缓慢流动 */
  @keyframes heroGradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
  .hero { background-size: 200% 200%; animation: heroGradient 18s ease infinite; }
  /* 漂浮装饰图形缓慢上下浮动 */
  @keyframes floatShape { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-26px)} }
  .hero-shape { animation: floatShape 9s ease-in-out infinite; }
  .hs-2 { animation-delay: -3s; } .hs-3 { animation-delay: -6s; }
  /* 主行动号召按钮呼吸式发光 */
  @keyframes ctaPulse { 0%,100%{box-shadow:0 4px 20px rgba(0,0,0,.15)} 50%{box-shadow:0 8px 34px rgba(127,219,202,.6)} }
  .hero .btn-primary { animation: ctaPulse 3.2s ease-in-out infinite; }
  /* 板块小标签柔和色脉冲 */
  @keyframes tagPulse { 0%,100%{background:var(--primary-light);color:var(--primary)} 50%{background:#d6efe2;color:var(--primary-dark)} }
  .section-tag { animation: tagPulse 4s ease-in-out infinite; }
  /* 卡片顶部品牌色渐变条：悬停时由左向右展开 */
  .card { position: relative; }
  .card::before { content:''; position:absolute; top:0; left:0; height:3px; width:0; z-index:1;
    background:linear-gradient(90deg,var(--primary),var(--accent)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; transition: width .45s ease; }
  .card:hover::before { width:100%; }
  /* 统计数字轻微色强调脉冲 */
  @keyframes statPulse { 0%,100%{color:var(--primary)} 50%{color:var(--accent)} }
  .stat-num { animation: statPulse 3.6s ease-in-out infinite; }
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: #fff; padding: 48px 0; border-bottom: 1px solid var(--border);
  margin-top: -60px; position: relative; z-index: 10;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.06);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 24px; align-items: center; text-align: center;
}
.stat-item { padding: 8px 0; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num {
  font-size: 40px; font-weight: 800; color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  font-size: 14px; color: var(--text-muted); margin-top: 4px;
}

/* ============================================
   Section Common
   ============================================ */
.section {
  padding: 64px 0;
}
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-tag {
  display: inline-block; padding: 4px 16px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px); font-weight: 700;
  color: var(--secondary); line-height: 1.3;
}
.section-desc {
  font-size: 16px; color: var(--text-light); max-width: 640px;
  margin: 14px auto 0; line-height: 1.7;
}

/* ============================================
   Cards Grid
   ============================================ */
.cards-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all .35s ease;
}
.card:hover {
  transform: translateY(-6px); box-shadow: 0 12px 36px rgba(26,107,76,0.16);
  border-color: var(--primary);
}
.card-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light), #d4ede0);
}
.card-body { padding: 28px 24px 24px; }
.card-title {
  font-size: 20px; font-weight: 700; color: var(--secondary);
  margin-bottom: 10px;
}
.card-text {
  font-size: 15px; color: var(--text-light); line-height: 1.75;
}
.card-tag {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 600; margin-top: 14px;
}

/* ============================================
   Process / Timeline
   ============================================ */
.process-steps {
  display: flex; flex-direction: column; gap: 0; position: relative;
  padding-left: 40px;
}
.process-steps::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}
.step {
  position: relative; padding: 24px 28px; margin-bottom: 24px;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: all .3s;
  display: flex; gap: 20px; align-items: flex-start;
}
.step:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.step-num {
  position: absolute; left: -40px; top: 26px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(26,107,76,0.3);
}
.step-body { flex: 1; min-width: 0; }
.step-img { width: 180px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; flex-shrink: 0; align-self: center; box-shadow: var(--shadow-sm); background: var(--primary-light); }
/* 工序图放大预览：PC 悬停 1.5 倍、手机触摸 2 倍，离开/松开恢复原大小原位置。
   transform 不占布局流，回位即回到原位；scale 整个 .step-img（含水印 wm-wrap），
   避免只 scale 内层 img 被 wm-wrap 的 overflow:hidden 裁掉放大效果。 */
#cms-process .step-img { position: relative; transition: transform .35s cubic-bezier(.2,.7,.3,1); transform-origin: center center; will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  #cms-process .step:hover { z-index: 20; }
  #cms-process .step-img:hover { transform: scale(1.5); z-index: 30; }
}
#cms-process .step-img.zoom-touch { transform: scale(2); z-index: 30; }
.step h3 {
  font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 8px;
}
.step p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* 图片加载失败占位块：保证区块不出现"空白"，并显示图片说明文字 */
.img-ph {
  width: 100%; min-height: 130px; aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--primary-light); color: var(--text-muted); font-size: 14px;
  border-radius: 10px; border: 1px dashed var(--border); padding: 12px; box-sizing: border-box;
}
.step-img.img-ph { width: 180px; aspect-ratio: 3 / 2; flex-shrink: 0; align-self: center; }
@media (max-width: 600px) { .step-img.img-ph { width: 100%; align-self: stretch; } }

/* ============================================
   Feature Row (icon + text)
   ============================================ */
.features-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature-item {
  text-align: center; padding: 32px 20px;
}
.feature-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 28px; color: #fff;
}
.feature-icon svg { width: 30px; height: 30px; color: #fff; }
.contact-icon svg { width: 22px; height: 22px; color: var(--primary); }
.info-box h4 svg { width: 20px; height: 20px; color: var(--primary); margin-right: 8px; vertical-align: -3px; }
.footer-contact-ico { display: inline-block; width: 16px; height: 16px; color: rgba(255,255,255,0.7); vertical-align: -3px; margin-right: 6px; }
.feature-title {
  font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 8px;
}
.feature-desc { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ============================================
   Comparison Table
   ============================================ */
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
}
.compare-table th {
  background: var(--secondary); color: #fff; padding: 16px 20px;
  font-size: 15px; font-weight: 600; text-align: left;
}
.compare-table td {
  padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border);
  color: var(--text-light); line-height: 1.6;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--primary-light); }
.compare-table .col-highlight { color: var(--primary); font-weight: 600; }

/* ============================================
   Management System Cards
   ============================================ */
.system-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.sys-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all .3s; position: relative;
  overflow: hidden;
}
.sys-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.sys-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sys-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
  font-size: 15px; font-weight: 700; margin-bottom: 16px;
}
.sys-card h3 {
  font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 10px;
}
.sys-card p { font-size: 15px; color: var(--text-light); line-height: 1.75; }
.sys-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sys-tag {
  padding: 3px 10px; border-radius: 14px; background: var(--bg-alt);
  color: var(--text-muted); font-size: 12px;
}

/* ============================================
   Page Banner (inner pages)
   ============================================ */
.page-banner {
  margin-top: var(--nav-h); padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 40px; background: var(--bg);
  border-radius: 40px 40px 0 0;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px;
}
.page-banner p { font-size: 16px; opacity: 0.82; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px; margin-top: 20px;
  font-size: 14px; opacity: 0.7;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { opacity: 1; }

/* ============================================
   Content Area (inner pages)
   ============================================ */
.content-area {
  padding: 60px 0 90px;
}
.content-body {
  max-width: 860px; margin: 0 auto;
}
.content-body h2 {
  font-size: 24px; font-weight: 700; color: var(--secondary);
  margin: 40px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}
.content-body h3 {
  font-size: 19px; font-weight: 600; color: var(--primary);
  margin: 28px 0 12px;
}
.content-body p {
  font-size: 15px; color: var(--text-light); line-height: 1.85;
  margin-bottom: 14px;
}
.content-body ul { padding-left: 20px; margin-bottom: 16px; }
.content-body li {
  position: relative; padding-left: 18px; margin-bottom: 8px;
  font-size: 15px; color: var(--text-light); line-height: 1.7;
}
.content-body li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* 实景展示：横向滚动画廊 */
.img-gallery {
  display: flex;
  gap: 16px;
  margin: 28px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: flex-start;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.18) transparent;
}
.img-gallery > .gal-item {
  flex: 0 0 auto;
  width: clamp(240px, 32vw, 360px);
  scroll-snap-align: start;
}
.img-gallery img {
  border-radius: var(--radius); object-fit: cover;
  width: 100%; aspect-ratio: 4 / 3; transition: transform .3s;
  background: var(--primary-light); display: block;
}
.img-gallery img:hover { transform: scale(1.03); }
/* 横向滚动条美化（桌面） */
.img-gallery::-webkit-scrollbar { height: 8px; }
.img-gallery::-webkit-scrollbar-track { background: transparent; }
.img-gallery::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 4px; }
.img-gallery::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.32); }
/* 水印包装在横向画廊内铺满卡片 */
.img-gallery .wm-wrap { width: 100%; }

/* 实景展示横向画廊：左右箭头导航 */
.gallery-wrap { position: relative; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); color: var(--primary);
  font-size: 30px; line-height: 1; cursor: pointer; z-index: 5;
  box-shadow: var(--shadow-sm); transition: background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.gal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-nav:active { transform: translateY(-50%) scale(.96); }
.gal-prev { left: 6px; }
.gal-next { right: 6px; }

/* Single large image */
.content-img {
  border-radius: var(--radius-lg); overflow: hidden; margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.content-img img { width: 100%; height: auto; max-height: 480px; object-fit: cover; display: block; }

/* Process category header (大类) */
.proc-cat {
  display: flex; align-items: center; gap: 14px;
  margin: 28px 0 16px; padding: 14px 18px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.proc-cat-bar { width: 6px; height: 22px; background: var(--primary); border-radius: 3px; flex-shrink: 0; }
.proc-cat-title { font-size: 18px; font-weight: 700; color: var(--secondary); letter-spacing: 0.5px; }
.process-steps .proc-cat:first-child { margin-top: 0; }

/* Info box */
.info-box {
  background: var(--primary-light); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px; margin: 24px 0;
}
.info-box h4 { color: var(--primary); font-size: 16px; margin-bottom: 8px; }
.info-box p { color: var(--text); font-size: 14px; margin-bottom: 0; }

/* ============================================
   Sub Navigation (inner page sidebar)
   ============================================ */
.page-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
  padding: 60px 0 90px;
}
.sub-nav {
  position: sticky; top: calc(var(--nav-h) + 24px); align-self: start;
}
.sub-nav-title {
  font-size: 14px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.sub-nav ul li { margin-bottom: 2px; }
.sub-nav a {
  display: block; padding: 11px 16px; border-radius: var(--radius);
  font-size: 14px; color: var(--text-light); transition: all .2s;
}
.sub-nav a:hover, .sub-nav a.active {
  background: var(--primary-light); color: var(--primary);
  font-weight: 600;
}

@media (max-width: 850px) {
  .page-layout { grid-template-columns: 1fr; }
  .sub-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .sub-nav-title { display: none; }
  .sub-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .sub-nav a { padding: 8px 16px; font-size: 13px; background: var(--bg-alt); border-radius: 20px; }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-item {
  display: flex; gap: 16px; margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.contact-label { font-size: 13px; color: var(--text-muted); margin-bottom: 2px; }
.contact-value { font-size: 16px; font-weight: 600; color: var(--text); }
.contact-qr { margin-top: 28px; text-align: center; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  transition: border-color .25s; outline: none; background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--secondary); color: rgba(255,255,255,0.78);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: 0.72; }
.footer-col h4 {
  color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.62);
  padding: 5px 0; transition: all .2s;
}
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center; font-size: 13px; opacity: 0.5;
}
.footer-qr { margin-top: 18px; }
.footer-qr img { width: 96px; height: 96px; border-radius: 8px; background: #fff; padding: 5px; box-sizing: border-box; }
.footer-qr p { font-size: 12px; opacity: 0.7; margin-top: 6px; }
.footer-wx { min-width: 140px; }
.footer-wx [data-cms-wxqr] img { width: 92px; height: 92px; display: block; }
/* 返回顶部按钮 */
#backTop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border: none; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(20,80,120,.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease; z-index: 60; }
#backTop.show { opacity: .92; visibility: visible; transform: translateY(0); }
#backTop:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 768px) { #backTop { right: 14px; bottom: 14px; width: 42px; height: 42px; font-size: 18px; } }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.fw-bold { font-weight: 700; }

/* Fade-in animation */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ============================================
   图片框与尺幅（后台「图片与媒体」可调）
   ============================================ */
.img-frame-round { border-radius: 12px !important; }
.img-frame-circle { border-radius: 50% !important; }
.img-frame-border { border: 1px solid #e5e7eb !important; }
.img-frame-shadow { box-shadow: 0 12px 32px rgba(0,0,0,.14) !important; }
.img-w-75, .img-w-50, .img-w-33 { display: block !important; margin-left: auto !important; margin-right: auto !important; }
.img-w-75 { max-width: 75% !important; }
.img-w-50 { max-width: 50% !important; }
.img-w-33 { max-width: 33% !important; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 600px) {
  .hero { min-height: 70vh; }
  .stats-bar { margin-top: -40px; padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item + .stat-item { border-left: none; }
  .stat-num { font-size: 32px; }
  .section { padding: 48px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .process-steps { padding-left: 32px; }
  .step { padding: 18px 20px; flex-direction: column; }
  .step-num { position: static; left: auto; top: auto; margin-bottom: 12px; align-self: flex-start; }
  .step-img { width: 100%; align-self: stretch; }
  .system-cards { grid-template-columns: 1fr; }
}

/* 内页每段「配图」前台渲染：图片置于段首，自适应宽度 */
.page-block-ext { margin: 0; }
.page-block-ext .page-block-img img { max-width: 100%; height: auto; display: block; border-radius: 12px; margin: 4px 0 22px; box-shadow: 0 6px 22px rgba(0,0,0,.08); }

/* 后台页面管理：配图预览小图 */
.pg-pv-img { margin-bottom: 10px; }
.pg-pv-img img { max-width: 220px; max-height: 140px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border, #eee); }

/* ============================================
   移动端底部快捷联系条（电话 / 邮箱）：数据驱动，≤768px 显示
   ============================================ */
.m-contact-bar { display: none; }
@media (max-width: 768px) {
  /* 给页面底部留出联系条高度，避免盖住页脚与返回顶部按钮 */
  body { padding-bottom: 62px; }
  .m-contact-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--primary); box-shadow: 0 -3px 14px rgba(0,0,0,.18);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mcb-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 0; color: #fff; text-decoration: none;
    font-size: 16px; font-weight: 600; letter-spacing: 1px;
  }
  .mcb-btn svg { width: 21px; height: 21px; }
  .mcb-tel { border-right: 1px solid rgba(255,255,255,.28); background: var(--primary); }
  .mcb-mail { background: #15916b; }
  /* 返回顶部按钮抬到联系条之上，避免被遮挡 */
  #backTop { bottom: 76px; }
  /* 移动端抽屉 / 下拉展开更跟手（原 .35s/.25s 偏慢） */
  .nav-links { transition: transform .26s ease; }
  .dropdown-menu { transition: all .18s ease; }
}

/* ===== 图片防盗：禁右键另存 / 拖拽保存 / 长按保存 / 选中（防止盗图） ===== */
img {
  -webkit-touch-callout: none;   /* iOS 长按不弹「存储图片」 */
  -webkit-user-drag: none;       /* 禁拖拽图片保存 */
  user-select: none;             /* 禁选中图片 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
