/* ============================================================
   GERWIN Motor 风格电机网站 - 主样式
   简洁大气 · 响应式
   主题色由后台 settings 注入 CSS 变量
   英文字体：Poppins；中文字体：阿里巴巴普惠体 2.0
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/popins/pxiEyp8kv8JHgFVrFJDUc1NECPY.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/popins/pxiByp8kv8JHgFVrLCz7V1tvFP-KUEg.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alibaba PuHuiTi 2.0';
  src: url('../fonts/alibabapuhui/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+2B820-2CEAF, U+2F00-2FDF, U+3000-303F, U+3100-312F, U+31A0-31BF, U+FE30-FE4F, U+FF00-FFEF;
}
@font-face {
  font-family: 'Alibaba PuHuiTi 2.0';
  src: url('../fonts/alibabapuhui/Alibaba_PuHuiTi_2.0_75_SemiBold_75_SemiBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+2B820-2CEAF, U+2F00-2FDF, U+3000-303F, U+3100-312F, U+31A0-31BF, U+FE30-FE4F, U+FF00-FFEF;
}

:root {
  --font-en: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-zh: 'Alibaba PuHuiTi 2.0', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-stack: 'Poppins', 'Alibaba PuHuiTi 2.0', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --primary: #0a3d7a;
  --secondary: #1565c0;
  --accent: #f5a623;
  --primary-dark: #072c57;
  --bg-dark: #0c2748;
  --text: #1f2a37;
  --text-light: #5b6776;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: #e3e9f2;
  --radius: 0;
  --shadow: 0 8px 30px rgba(10, 61, 122, .08);
  --maxw: 1200px;
  --header-h: 88px;
  /* 由后台注入的动态主题色配套变量 */
  --topbar-text: #cfe0f5;
  --hero-text: #dbe7f7;
  --banner-crumb: #bcd0ec;
  --footer-text: #c7d6ec;
  --footer-link: #c7d6ec;
  --footer-bottom: #8ea7c9;
  --admin-side-text: #c7d6ec;
  --table-hover-bg: #fafcff;
  --hero-grad-start: rgba(7,44,87,.82);
  --hero-grad-end: rgba(7,44,87,.25);
  --btn-hover-bg: #ffb733;
  --btn-hover-shadow: 0 8px 20px rgba(245,166,35,.35);
  --prod-hover-shadow: 0 14px 40px rgba(10,61,122,.14);
  --banner-glow: rgba(245,166,35,.25);
  /* ---- 色彩体系：主色/辅助色深浅梯度（强化对比与节奏） ---- */
  --primary-50: #eef4fb;
  --primary-100: #d9e6f5;
  --primary-200: #bcd3ec;
  --secondary-50: #e7f0fa;
  --accent-50: #fdf4e6;
  --accent-100: #fbe9cf;
  --surface-2: #f7fafd;
  --line-soft: #e8eef6;
  /* ---- 分区底纹：本地 SVG 图案，无外部请求，任意 DPR 清晰 ---- */
  --pat-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%230a3d7a' fill-opacity='0.06'/%3E%3C/svg%3E");
  --pat-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M0 43.5h44M43.5 0v44' stroke='%230a3d7a' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  --pat-grid-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M0 43.5h44M43.5 0v44' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  /* 全局缓动：供多个区块复用，避免在父级未命中的场景下变量失效 */
  --ab-ease: cubic-bezier(.22, .9, .28, 1);
  --fl-ease: cubic-bezier(.22, .9, .28, 1);
  --fd-ease: cubic-bezier(.22, .9, .28, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

body.lang-zh { font-family: var(--font-zh), var(--font-en); }
body.lang-en { font-family: var(--font-en), var(--font-zh); }

a { color: var(--secondary); text-decoration: none; transition: .2s; }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

/* 前台 h2 标题统一主题色（.section.cta 等白字场景用更高优先级规则覆盖） */
h2 { color: var(--primary); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; height: 38px; }
.topbar a { color: var(--topbar-text); }
.topbar .lang { margin-left: auto; }
.topbar .lang a { margin-left: 10px; padding: 2px 8px; border-radius: 0; }
.topbar .lang a.active { background: var(--accent-grad); color: #1a1a1a; font-weight: 600; }

/* ---------- 页头 / 导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.header .container { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  height: 56px; flex-shrink: 0; text-decoration: none;
}
.logo img { width: 160px; height: 33px; object-fit: contain; }
.logo .logo-text { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: 1px; font-family: var(--font-en); }
.logo .logo-zh { font-size: 13px; color: var(--text-light); line-height: 1; margin-top: 2px; font-family: var(--font-zh); letter-spacing: 3px; }

.nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.nav a, .nav-item > a {
  padding: 0 22px; color: var(--text); font-weight: 500;
  border-radius: 0; position: relative; font-size: 16px; line-height: var(--header-h);
  display: inline-flex; align-items: center; gap: 4px; transition: .2s;
  white-space: nowrap;     /* 防止多词菜单项（如 About Us）被 flex 收缩换行 */
  flex-shrink: 0;        /* 不允许菜单项被压缩到小于内容宽度 */
}
/* 一级菜单 hover/active：恢复原先效果（紫色下划线 + 透明背景） */
.nav > a:hover, .nav > a.active,
.nav-item > a:hover, .nav-item > a.active { color: var(--primary); background: transparent; }
.nav > a.active::after,
.nav-item > a.active::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 4px;
  background: var(--primary); border-radius: 0;
}
.nav .caret { font-size: 11px; opacity: .7; transition: transform .2s; }
.nav-item.has-dropdown:hover .caret { transform: rotate(180deg); }

/* 导航下拉：以 .header .container 为基准居中，宽度与主内容区等宽 1160px，磨砂玻璃底 */
.nav-item { position: static; }
.nav-dropdown {
  display: none; position: absolute; top: calc(100% - 2px); left: 50%; transform: translateX(-50%); z-index: 200;
  width: 1160px; max-width: 100%; min-width: auto;
  background: rgba(255,255,255,0.88); border: 1px solid rgba(255,255,255,0.35); border-radius: 0;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12); padding: 8px; flex-direction: column;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown { display: flex; }
.nav-dropdown a {
  padding: 11px 14px; border-radius: 0; color: var(--text); font-weight: 500; font-size: 13px;
  white-space: nowrap; line-height: 1.4;
}
.nav-dropdown a:hover, .nav-dropdown a.active { background: var(--bg-soft); color: var(--primary); }

/* 多级 mega 菜单（如「研发实力与技术服务 R&D」） */
.nav-mega { flex-direction: row; gap: 30px; justify-content: center; flex-wrap: wrap; min-width: auto; padding: 24px 0; }
.nav-mega-group { display: flex; flex-direction: column; min-width: 168px; }
.nav-mega-title {
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary); padding: 4px 14px 8px; border-bottom: 1px solid var(--border);
  margin-bottom: 4px; white-space: nowrap;
}
.nav-mega .nav-mega-group > a { padding: 9px 14px; font-size: 13px; }
/* 产品中心 mega：分组标题同时作为顶级分类入口（可点击），强制沿用标题样式、禁用 hover 底色，与 R&D 视觉一致 */
.nav-mega .nav-mega-group > .nav-mega-title {
  padding: 4px 14px 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary); border-bottom: 1px solid var(--border);
  margin-bottom: 4px; white-space: nowrap; cursor: pointer;
}
.nav-mega .nav-mega-group > .nav-mega-title:hover { background: transparent; color: var(--primary); }
.nav-mega .nav-mega-group > .nav-mega-title.active { background: var(--bg-soft); }
.nav-mega-empty { display: block; padding: 9px 14px; font-size: 13px; color: var(--text-light); opacity: .7; }

/* 产品中心下拉：固定 5 列，长名称允许自动换行（默认隐藏，hover/聚焦时才以 grid 展开） */
.nav-mega-products {
  grid-template-columns: repeat(5, 1fr); gap: 24px;
  justify-content: space-between; padding: 24px 20px;
}
.nav-item.has-dropdown:hover .nav-dropdown.nav-mega-products,
.nav-item.has-dropdown:focus-within .nav-dropdown.nav-mega-products { display: grid; }
.nav-mega-products .nav-mega-group { min-width: 0; width: 100%; }
.nav-mega-products .nav-mega-group > .nav-mega-title,
.nav-mega-products .nav-mega-group > a { white-space: normal; word-break: break-word; }

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

.header-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-search {
  display: flex; align-items: stretch; border: 1px solid var(--border); overflow: hidden;
  height: 38px; min-width: 220px; background: #fff;
}
.header-search input {
  flex: 1; border: none; padding: 0 12px; font-size: 13px; color: var(--text); outline: none;
  font-family: inherit; min-width: 0;
}
.header-search input::placeholder { color: #aab2bd; }
.header-search button {
  border: none; background: transparent; color: var(--text-light); font-size: 15px;
  padding: 0 12px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.header-search button:hover { color: var(--primary); }
.search-icon { width: 18px; height: 18px; display: block; color: currentColor; }

.header-lang { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-light); }
.header-lang a { color: var(--text-light); font-weight: 500; }
.header-lang a:hover, .header-lang a.active { color: var(--primary); }
.header-lang .sep { color: #d0d5dd; font-size: 12px; }

/* 搜索结果页搜索框 */
.search-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 26px; }
.search-form input {
  flex: 1; padding: 12px 16px; font-size: 15px; border: 1px solid var(--border);
  border-radius: 0; outline: none;
}
.search-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--shadow); }
.search-form .btn { padding: 12px 26px; border-radius: 0; }

/* ---------- 轮播 ---------- */
.hero { position: relative; height: min(600px, 31.25vw); overflow: hidden; background: #0b0c10; }
.hero .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center;
}
.hero .slide.active { opacity: 1; }
.hero .slide::before { content: none; }
.hero .slide .container { position: relative; color: #fff; width: 100%; }
.hero .slide .slide-content {
  max-width: 640px; padding-left: 4%; text-align: left;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.hero .slide h1 { font-size: 42px; margin: 0; font-weight: 700; color: #fff; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.hero .slide p { font-size: 18px; margin: 0; color: #fff; font-weight: 400; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.hero .slide .btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 32px; background: #3b1a3a; color: #fff; font-size: 15px; font-weight: 500;
  border: none; cursor: pointer; transition: .2s; text-decoration: none; margin-top: 6px;
}
.hero .slide .btn-hero::after { content: ">"; font-size: 14px; }
.hero .slide .btn-hero:hover { background: #52244f; }
.hero .dots { position: absolute; bottom: 22px; left: 4%; right: auto; text-align: left; }
.hero .dots button { width: 11px; height: 11px; border-radius: 0; border: none; margin: 0 5px; background: var(--accent-grad); opacity: .45; cursor: pointer; transition: opacity .2s; }
.hero .dots button.active { background: var(--accent-grad); opacity: 1; }
/* 轮播图整图可点击跳转：非激活帧不拦截点击，激活帧与内容/链接层可点击 */
.hero .slide { pointer-events: none; }
.hero .slide.active { pointer-events: auto; }
.hero .slide .slide-link { position: absolute; inset: 0; z-index: 1; }
.hero .slide .slide-content { position: relative; z-index: 2; }
.hero .dots { z-index: 5; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 0; font-weight: 700;
  background: var(--accent-grad); color: #1a1a1a; border: none; cursor: pointer; transition: .2s;
}
.btn:hover { background: var(--accent-grad); color: #1a1a1a; transform: translateY(-2px); box-shadow: var(--btn-hover-shadow); filter: brightness(1.08); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-primary { background: var(--theme-grad); color: var(--btn-text); border: none; }
.btn-primary:hover { background: var(--accent-grad); color: #1a1a1a; }

/* ---------- 区块标题 ---------- */
.section { padding: 70px 0; }
/* 浅色分区：主色点阵底纹 + 顶部白色柔化，形成层次（局部背景底图） */
.section.soft {
  background-color: var(--primary-50);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0) 42%),
    var(--pat-dots);
  background-position: center;
}
/* 强调分区：深蓝渐变带 + 网格底纹（用于需要跳出节奏的内容区） */
.section.alt {
  background-color: var(--primary-100);
  background-image:
    linear-gradient(135deg, var(--primary-100), var(--primary-50)),
    var(--pat-grid);
}
/* ---------- CTA / 定制选型 ---------- */
.section.cta {
  background:
    radial-gradient(900px 420px at 88% -15%, rgba(245,166,35,.18), transparent 60%),
    radial-gradient(760px 420px at -5% 120%, rgba(21,101,192,.32), transparent 60%),
    linear-gradient(120deg, #0c1422, #131c2e);
  color: #fff; padding: 78px 0; position: relative; overflow: hidden;
}
.section.cta::before {
  content: ""; position: absolute; inset: 0; background: var(--pat-grid-light);
  opacity: .7; pointer-events: none;
}
.section.cta .container { max-width: 1100px; position: relative; z-index: 1; }
.cta-content h2 {
  font-size: 30px; font-weight: 700; margin: 0 0 18px; color: #fff;
  font-family: var(--font-zh);
}
.cta-content p {
  font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.75); margin: 0 0 32px; max-width: 860px;
}
.cta-form { display: flex; flex-direction: column; gap: 18px; }
.cta-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cta-form input, .cta-form textarea {
  background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff;
  padding: 13px 16px; font-size: 14px; outline: none; transition: .2s; font-family: inherit;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,.45); }
.cta-form input:focus, .cta-form textarea:focus { border-color: rgba(255,255,255,.55); }
.cta-form textarea { min-height: 110px; resize: vertical; }
.cta-form .btn-submit {
  align-self: flex-start; background: transparent; border: 1px solid rgba(255,255,255,.35);
  color: #fff; padding: 11px 42px; font-size: 14px; cursor: pointer; transition: .2s;
}
.cta-form .btn-submit:hover { background: #fff; color: #11131a; }
.cta-form .captcha-row { display: flex; align-items: center; gap: 14px; }
.cta-form .captcha-row input { width: 140px; text-transform: uppercase; }
.cta-form .captcha-img { height: 42px; cursor: pointer; border: 1px solid rgba(255,255,255,.25); }
.cta-error { padding: 12px 16px; border: 1px solid rgba(255,100,100,.5); color: #ff9999; background: rgba(255,0,0,.1); font-size: 14px; margin-bottom: 10px; }
.cta-success {
  padding: 14px 18px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08);
  font-size: 14px;
}
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  display: block; color: var(--accent); font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; font-size: 13px; margin-bottom: 14px;
}
.section-head .eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 10px; height: 10px; background: var(--accent-grad); margin-right: 10px;
}
.section-head h2 { font-size: 32px; margin: 8px 0 10px; color: var(--primary); background: var(--primary-grad, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; display: inline-block; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent-grad); margin: 12px auto 0; border-radius: 0; }
.section-head p { color: var(--text-light); max-width: 640px; margin: 0 auto; }

/* ---------- 首页简介 ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.intro .intro-img { border-radius: 0; overflow: hidden; box-shadow: var(--shadow); }
.intro h2 { font-size: 28px; color: var(--primary); margin-top: 0; }
.intro .stat-row { display: flex; gap: 20px; margin-top: 26px; }
.intro .stat { white-space: nowrap; }
.intro .stat b { display: block; font-size: 26px; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.intro .stat span { color: var(--text-light); font-size: 13px; }

/* 图标数据区块（关于页等） */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: left; }
.stat-item { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); padding: 34px 24px; box-shadow: var(--shadow); }
.stat-icon { position: absolute; right: 6px; bottom: 6px; width: 110px; height: 110px; opacity: .1; fill: var(--primary); color: var(--primary); margin: 0; z-index: 0; pointer-events: none; }
.stat-item b, .stat-item span { position: relative; z-index: 1; }
.stat-item b { display: block; font-size: 38px; line-height: 1; margin-bottom: 10px; background: var(--primary-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: var(--primary); white-space: nowrap; }
.stat-item span { color: var(--text-light); font-size: 15px; }

@media (max-width: 980px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .stats-bar { grid-template-columns: 1fr; }
}

/* ---------- 产品分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-grid.cat-3 { grid-template-columns: repeat(3, 1fr); }
.cat-grid.cat-4 { grid-template-columns: repeat(3, 1fr); } /* 产品中心一级范畴：4→3 列 */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 0; overflow: hidden;
  transition: .25s; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-6px); border-color: var(--secondary-grad); }
.card .thumb { height: 180px; background: var(--bg-soft) center/cover no-repeat; }
.card .body { padding: 18px 20px 22px; }
.card .body h3 { margin: 0 0 8px; font-size: 18px; color: var(--primary); }
.card .body p { margin: 0 0 14px; color: var(--text-light); font-size: 13.5px; }
.card .more { font-weight: 700; color: var(--secondary); }

/* ---------- Solutions 解决方案列表（每行 2 列，响应式） ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sol-grid .card .thumb { height: 220px; }

/* Solutions 列表页：按一级分类分组 */
.sol-group { margin-bottom: 56px; }
.sol-group:last-child { margin-bottom: 0; }
.sol-group-head { margin-bottom: 24px; }
.sol-group-head h3 {
  font-size: 24px; font-weight: 700; color: var(--primary); margin: 0 0 8px;
  background: var(--primary-grad, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sol-group-head p { color: var(--text-light); font-size: 15px; line-height: 1.7; max-width: 720px; margin: 0; }
.sol-empty { color: var(--text-light); padding: 18px 0; font-size: 14px; }

@media (max-width: 760px) {
  .sol-grid { grid-template-columns: 1fr; gap: 18px; }
  .sol-grid .card .thumb { height: 200px; }
  .sol-group { margin-bottom: 42px; }
  .sol-group-head h3 { font-size: 20px; }
}

/* ---------- Solutions 详情页：明星产品（深色背景+底部选项卡） ---------- */
.sol-products {
  position: relative; overflow: hidden;
  padding: 64px 0 90px; color: #fff;
  background: #15171c;
}
.sol-products .sp-bg {
  position: absolute; inset: 0; z-index: 0;
}
.sol-products .sp-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sol-products .sp-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,23,28,.92) 0%, rgba(21,23,28,.78) 55%, rgba(21,23,28,.45) 100%);
}
.sol-products .container { position: relative; z-index: 1; }
.sol-products .sp-inner {
  display: grid; grid-template-rows: auto 1fr auto;
  min-height: 460px;
}
.sol-products .scope-head { text-align: left; margin-bottom: 6px; }
.sol-products .scope-head h2 {
  font-size: 32px; font-weight: 700; color: #fff; margin: 0; letter-spacing: .5px;
  background: none; -webkit-text-fill-color: #fff; -webkit-background-clip: initial; background-clip: initial;
}
.sol-products .scope-head h2::after { margin: 12px 0 0; }
.sp-stage { position: relative; display: flex; align-items: center; }
.sp-panel { display: none; grid-template-columns: 1fr; gap: 0; align-items: center; width: 100%; }
.sp-panel.active { display: grid; }
.sp-panel .sp-info { text-align: left; max-width: 100%; }
.sp-panel .sp-info h3 { color: #fff; font-size: 32px; margin: 0 0 18px; font-weight: 700; line-height: 1.25; }
.sp-panel .sp-info h3 em { font-style: normal; font-size: 16px; color: var(--accent-grad); margin-left: 10px; font-weight: 400; }
.sp-panel .sp-info .rich-text { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.82); max-width: 860px; }
.sp-panel .sp-info .rich-text p { margin: 0 0 12px; }
.sp-panel .sp-info .rich-text p:last-child { margin-bottom: 0; }
.sp-panel .sp-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; }
.sp-panel .sp-link .sp-arrow { transition: transform .2s; }
.sp-panel .sp-link:hover .sp-arrow { transform: translateX(4px); }
.sol-products .btn-outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }
.sol-products .btn-outline:hover { background: #fff; border-color: #fff; color: #11131a; }
.sp-panel .sp-media { display: flex; align-items: center; justify-content: center; }
.sp-panel .sp-media img { max-width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.sp-tabs { display: flex; gap: 18px; margin-top: 34px; }
.sp-tab {
  background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,.25);
  padding: 10px 4px 8px; color: rgba(255,255,255,.55); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .2s; font-family: inherit;
  max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-tab:hover { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.55); }
.sp-tab.active { color: var(--accent-grad); border-bottom-color: var(--accent-grad); }
@media (max-width: 860px) {
  .sol-products { padding: 46px 0 76px; }
  .sp-panel.active { grid-template-columns: 1fr; gap: 26px; }
  .sp-panel .sp-info h3 { font-size: 22px; }
  .sp-panel .sp-media { order: -1; }
  .sp-panel .sp-media img { max-height: 260px; }
  .sp-tabs { gap: 12px; }
  .sp-tab { font-size: 13px; max-width: 120px; }
  .sol-products .scope-head h2 { font-size: 24px; }
}

/* ---------- Solutions 详情页：相关产品（浅色背景，与明星产品深色区区分） ---------- */
.sol-related {
  background: var(--bg-soft);
  color: var(--text);
  padding: 96px 0 90px;
}
.sol-related .scope-head { text-align: left; margin-bottom: 36px; }
.sol-related .scope-head h2 { font-size: 28px; font-weight: 700; color: var(--text); margin: 0; letter-spacing: .5px; }
.sol-related .scope-head h2::after { margin: 12px 0 0; }
.sr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sr-card {
  display: block;
  background: #fff;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.sr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(15,42,75,.12);
}
.sr-card .sr-media {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: #fff;
}
.sr-card .sr-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .25s;
}
.sr-card:hover .sr-media img { transform: scale(1.04); }
.sr-card .sr-info {
  padding: 18px 20px 22px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.sr-card .sr-info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}
@media (max-width: 980px) {
  .sr-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-related { padding: 64px 0 70px; }
  .sol-related .scope-head { margin-bottom: 28px; }
  .sol-related .scope-head h2 { font-size: 24px; }
}
@media (max-width: 560px) {
  .sr-grid { grid-template-columns: 1fr; }
  .sol-related { padding: 48px 0 56px; }
  .sr-card .sr-media { padding: 18px; }
}

/* ============================================================
   首页产品中心 · 帘幕马赛克（非对称 2+3）
   布局：12 栅格，首行 2 张大卡（主 / 次主），次行 3 张小卡 —— 主次分明
   交互：悬停时「帘幕拉开」——卡片上浮 / 图像推近 / 金色导轨展开 /
         文案区由 grid 0fr→1fr 平滑展开（描述 + 子系列 + CTA）/ 其余卡片退让聚焦
   注意：.pc-card 会被 reveal.js 自动加 .reveal，其终态 `transform:none`
         特异性 (0,3,1) 高于 `.pc-card:hover` (0,2,0)，
         因此所有悬停位移一律施加在内部元素上，避免被覆盖失效。
   ============================================================ */
.pc-section { --pc-ease: cubic-bezier(.22,.9,.28,1); }

.pc-card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.pc-card {
  position: relative; display: block;
  text-decoration: none; color: var(--text);
  height: 420px;
}
.pc-card:nth-child(1)     { grid-column: span 7; }
.pc-card:nth-child(2)     { grid-column: span 5; }
.pc-card:nth-child(n + 3) { grid-column: span 4; height: 320px; }

.pc-inner {
  position: absolute; inset: 0; overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform .55s var(--pc-ease),
              box-shadow .55s var(--pc-ease),
              border-color .55s var(--pc-ease);
}
.pc-card:hover .pc-inner {
  transform: translateY(-8px);
  border-color: rgba(10,61,122,.26);
  box-shadow: 0 24px 54px rgba(10,61,122,.16);
}

/* 图像：占上 2/3，contain 保留产品完整轮廓 */
.pc-img {
  position: absolute; inset: 6% 6% 32% 6%;
  background: center / contain no-repeat;
  transition: transform .75s var(--pc-ease);
}
.pc-card:hover .pc-img { transform: scale(1.07); }

/* 底部柔化：把图像过渡进文本区，保证文字可读 */
.pc-veil {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%,
              rgba(255,255,255,.70) 40%, #fff 74%);
  pointer-events: none;
}

/* 幽灵编号 01–05 */
.pc-idx {
  position: absolute; top: 10px; left: 18px;
  font: 700 62px/1 var(--font-en);
  color: var(--primary); opacity: .07; letter-spacing: -.02em;
  transition: opacity .5s var(--pc-ease), transform .5s var(--pc-ease);
  pointer-events: none;
}
.pc-card:hover .pc-idx { opacity: .14; transform: translateY(-3px); }

/* 文本区 */
.pc-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 26px;
}
.pc-body h3 {
  margin: 0; font-size: 22px; font-weight: 700; color: var(--primary);
  line-height: 1.3;
}
.pc-card:nth-child(n + 3) .pc-body { padding: 20px 22px; }
.pc-card:nth-child(n + 3) .pc-body h3 { font-size: 19px; }

/* 金色导轨：悬停展开 */
.pc-rail {
  display: block; width: 0; height: 3px; margin-top: 11px;
  background: var(--accent-grad);
  transition: width .55s var(--pc-ease);
}
.pc-card:hover .pc-rail { width: 56px; }

/* 展开区：grid 0fr → 1fr 实现平滑高度过渡 */
.pc-reveal {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--pc-ease);
}
.pc-reveal-in {
  overflow: hidden;
  opacity: 0; transform: translateY(8px);
  transition: opacity .38s var(--pc-ease), transform .5s var(--pc-ease);
}
.pc-card:hover .pc-reveal { grid-template-rows: 1fr; }
.pc-card:hover .pc-reveal-in { opacity: 1; transform: none; transition-delay: .08s; }

.pc-more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 13px; font-size: 13.5px; font-weight: 700;
  letter-spacing: .3px; color: var(--accent);
}
.pc-more em { font-style: normal; transition: transform .45s var(--pc-ease); }
.pc-card:hover .pc-more em { transform: translateX(5px); }

/* 悬停联动：其余卡片退让淡出，形成聚焦 */
@media (hover: hover) and (pointer: fine) {
  .pc-card-grid:has(.pc-card:hover) .pc-card:not(:hover) .pc-inner {
    filter: grayscale(.28) opacity(.72);
  }
}

/* 触屏无悬停：默认展开 */
@media (hover: none) {
  .pc-reveal { grid-template-rows: 1fr; }
  .pc-reveal-in { opacity: 1; transform: none; }
  .pc-rail { width: 56px; }
}

/* 响应式 */
@media (max-width: 1100px) {
  .pc-card, .pc-card:nth-child(n + 3) { grid-column: span 6; height: 350px; }
  .pc-img { inset: 6% 6% 30% 6%; }
}
@media (max-width: 720px) {
  .pc-card, .pc-card:nth-child(n + 3) { grid-column: span 12; height: 300px; }
  .pc-img { inset: 5% 8% 30% 8%; }
  .pc-idx { font-size: 48px; }
}

/* 系统减弱动效 */
@media (prefers-reduced-motion: reduce) {
  .pc-inner, .pc-img, .pc-rail, .pc-reveal,
  .pc-reveal-in, .pc-more em, .pc-idx { transition: none !important; }
}

/* ---------- 产品网格 ---------- */
/* Web 默认：首页精选一行 4 个 */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* 产品列表页统一一行 3 个 */
.products-layout .prod-grid,
.products-layout.cat-view .prod-grid { grid-template-columns: repeat(3, 1fr); }
.prod {
  background: #fff; border: none; border-radius: 0; overflow: hidden;
  transition: .25s; text-decoration: none;
}
.prod:hover { box-shadow: 0 8px 20px rgba(0,0,0,.12); transform: translateY(-4px); }
.prod .thumb { height: 200px; background: #fff center/contain no-repeat; position: relative; }
.prod .badge { position: absolute; top: 12px; left: 12px; background: linear-gradient(45deg,#d4a84b,#fff000); color: #1a1a1a; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 0; }
.prod .body {
  background: url('../images/bg.png') repeat-x;
  background-size: auto 60px;
  height: 60px;
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.prod .body h3 { margin: 0; font-size: 14px; color: var(--text-light); font-weight: 400; }

/* ---------- 内页 Banner ---------- */
.page-banner {
  background: var(--theme-grad);
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, var(--banner-glow), transparent 70%); border-radius: 0;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; background: var(--pat-grid-light);
  opacity: .5; pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 34px; margin: 0 0 8px; }
.page-banner .crumb { font-size: 13px; color: var(--banner-crumb); }
.page-banner .crumb a { color: var(--banner-crumb); }
/* 内容区上方面包屑（从 banner 内移出，置于 products-layout / 内容区之上） */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--border, #ececec); }
.breadcrumb { font-size: 13px; color: var(--text-light); padding: 16px 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb .home-icon { width: 16px; height: 16px; object-fit: contain; vertical-align: middle; display: inline-block; }
.breadcrumb a { color: var(--text-light); display: inline-flex; align-items: center; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #d0d5dd; }
.breadcrumb .current { font-size: 15px; color: #333; font-weight: 700; }

/* 面包屑后子方案链接（解决方案详情页：户外凉亭 > 折叠大幕 / 铝合金翻板大幕 …） */
.breadcrumb-sub {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  gap: 4px 22px; margin-left: 14px; padding-left: 16px;
  border-left: 1px solid #e5e8ee;
}
.breadcrumb-sub .crumb-sub {
  font-size: 14px; color: var(--text-light); font-weight: 500;
  white-space: nowrap; text-decoration: none; transition: color .2s;
}
.breadcrumb-sub .crumb-sub:hover { color: var(--primary); }
.breadcrumb-sub .crumb-sub:first-child { color: var(--primary); font-weight: 600; }
@media (max-width: 760px) {
  .breadcrumb { flex-wrap: wrap; }
  .breadcrumb-sub { margin-left: 0; padding-left: 0; border-left: none; width: 100%; }
}
/* 解决方案列表页：子方案卡片前缀标记 */
.sol-grid .sub-mark { color: var(--text-light); opacity: .6; }

/* ---------- 产品详情 ---------- */
.prod-detail { display: block; }
.prod-detail h1 { color: var(--primary); font-size: 28px; margin-top: 0; margin-bottom: 16px; }
.prod-detail .rich { font-size: 15px; }

/* ---------- 下载列表 ---------- */
.dl-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 0; background: #fff; box-shadow: var(--shadow); transition: .2s; }
.dl-item:hover { border-color: var(--secondary); transform: translateY(-3px); }
/* 文件类型图标：inline SVG（浅紫文档体 + 扩展名徽章），随行高垂直居中 */
.dl-item .ic { width: 40px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-item .ic svg { width: 40px; height: 48px; display: block; filter: drop-shadow(0 2px 5px rgba(117,65,115,.18)); }
.dl-item .meta { flex: 1; }
.dl-item .meta h4 { margin: 0 0 4px; font-size: 16px; color: var(--text); }
.dl-item .meta span { font-size: 12.5px; color: var(--text-light); }
.dl-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.dl-tag { padding: 7px 16px; border-radius: 0; background: var(--bg-soft); color: var(--text-light); font-weight: 600; cursor: pointer; border: 1px solid var(--border); }
.dl-tag.active, .dl-tag:hover { background: var(--primary-grad); color: #fff; border-color: var(--primary-grad); }

/* ---------- 产品页：左侧分类 + 右侧内容 ---------- */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.side-cats-wrapper {
  position: sticky; top: calc(var(--header-h) + 14px);
}
.side-cats-wrapper > h3 {
  font-size: 16px; font-weight: 700; margin: 0 0 14px; padding: 0;
  color: var(--text); font-family: var(--font-zh); background: none;
}
.side-cats {
  background: #fff; border: 1px solid var(--border); border-radius: 0;
  padding: 0; box-shadow: var(--shadow);
}
.side-cat-group { border-bottom: none; }
.side-cat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; font-size: 14px; transition: .15s; font-weight: 700;
}
.side-cat:hover { background: #f8f8f8; }
.side-cat .caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.side-cat-group.expanded .side-top .caret { transform: rotate(180deg); }
.side-cat-subs { display: none; }
.side-cat-group.expanded .side-cat-subs { display: block; }

/* 一级分类 */
.side-cat.side-top {
  color: #451730; background: #fff; font-size: 15px;
}
.side-cat.side-top:hover { background: #f8f8f8; }
.side-cat.side-top.active {
  color: #fff; background: #451730;
}

/* 二级分类 */
.side-cat.side-sub {
  padding: 16px 18px 16px 32px; font-size: 13.5px;
  color: #444; background: #fff; position: relative;
}
.side-cat.side-sub:hover { background: #f8f8f8; }
.side-cat.side-sub.active {
  color: #451730; background: #e5e5e5;
}
.side-cat.side-sub::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 5px; height: 5px;
  border-radius: 0; background: #d0d5dd; transform: translateY(-50%);
}
.side-cat.side-sub.active::before { background: #451730; }

/* 业务范畴 / 分类区块标题 */
.scope-head { text-align: center; margin-bottom: 40px; }
.scope-head h2 {
  font-size: 30px; color: var(--primary); margin: 0 0 10px; font-weight: 700;
  background: var(--primary-grad, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: relative; display: inline-block;
}
.scope-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent-grad); margin: 12px auto 0; }
.scope-head p { color: var(--text-light); margin: 0 auto; max-width: 640px; }
.scope-eyebrow { display: block; }

/* 指定页面区域：标题与描述改为左对齐（短金线靠左） */
.scope-head--left { text-align: left; }
.scope-head--left h2 { display: block; }
.scope-head--left h2::after { margin: 12px 0 0; }
.scope-head--left p { margin-left: 0; margin-right: 0; max-width: 720px; }
.section.tech-accent .scope-head.scope-head--left h2 { text-align: left; }

/* ---------- 后台富文本编辑器 ---------- */
.rte { border: 1px solid var(--border); border-radius: 0; overflow: hidden; margin-bottom: 6px; background: #fff; }
.rte-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.rte-toolbar button { border: 1px solid var(--border); background: #fff; border-radius: 0; padding: 6px 9px; cursor: pointer; font-size: 13px; line-height: 1; min-width: 32px; }
.rte-toolbar button:hover, .rte-toolbar button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.rte-toolbar select.rte-block { border: 1px solid var(--border); background: #fff; border-radius: 0; padding: 6px 8px; font-size: 13px; cursor: pointer; }
.rte-toolbar input[type=color] { width: 30px; height: 30px; padding: 2px; border: 1px solid var(--border); border-radius: 0; background: #fff; cursor: pointer; }
.rte-sep { width: 1px; height: 22px; background: var(--border); margin: 0 4px; }
.rte-area { min-height: 240px; padding: 14px; background: #fff; outline: none; font-size: 14px; line-height: 1.7; }
.rte-area:focus { box-shadow: inset 0 0 0 2px var(--primary); }
.rte-area img { max-width: 100%; height: auto; border-radius: 0; margin: 6px 0; }
.rte-area:empty:before { content: attr(data-placeholder); color: var(--text-light); }
.rte-area table { border-collapse: collapse; }
.rte-area table td { border: 1px solid var(--border); padding: 8px; }
.rte-source { width: 100%; min-height: 260px; border: none; outline: none; padding: 14px; font-family: Consolas, Monaco, monospace; font-size: 13px; line-height: 1.5; resize: vertical; background: #fbfbfd; color: #333; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 46px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.info-icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--primary); }
.info-icon svg { width: 22px; height: 22px; fill: currentColor; }
.info-body h4 { margin: 0 0 4px; color: var(--primary); font-size: 15px; }
.info-body p { margin: 0; color: var(--text-light); line-height: 1.5; }
.contact-form-panel { background: #fff; border: 1px solid var(--border); padding: 28px; box-shadow: var(--shadow); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.privacy-row { margin: 8px 0 18px; }
.privacy-row .checkbox { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 400; color: var(--text); cursor: pointer; }
.privacy-row .checkbox input { margin-top: 3px; }
.privacy-row .checkbox a { color: var(--primary); text-decoration: underline; }
.btn-submit { width: 100%; display: block; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 0; font-size: 14px; font-family: inherit;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--secondary); }
.map-box { min-height: 280px; background: var(--bg-soft); border-radius: 0; overflow: hidden; margin-top: 20px; display: flex; align-items: center; justify-content: center; color: var(--text-light); padding: 12px; }
.map-box iframe { width: 100%; height: 320px; border: 0; border-radius: 0; }
.contact-page-intro { text-align: center; color: var(--primary); max-width: 760px; margin: 0 auto 44px; font-weight: 700; font-size: 17px; }
.contact-page-intro .rich p { color: var(--primary); font-weight: 700; font-size: 17px; }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row input { flex: 1; text-transform: uppercase; }
.captcha-img { height: 42px; border-radius: 0; border: 1px solid var(--border); cursor: pointer; flex-shrink: 0; }

/* ---------- 验证码弹窗 ---------- */
.captcha-modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; }
.captcha-modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.captcha-modal-box {
  position: relative; background: #fff; padding: 26px 28px; width: min(92vw, 420px); max-width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); border-radius: 0;
}
.captcha-modal-box h3 { margin: 0 0 18px; font-size: 17px; color: var(--primary); }
.captcha-modal-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.captcha-modal-row input { flex: 1 1 120px; min-width: 0; padding: 11px 14px; border: 1px solid var(--border); font-size: 15px; text-transform: uppercase; }
.captcha-modal-row input:focus { outline: none; border-color: var(--secondary); }
.captcha-modal-row .captcha-img { height: 44px; width: auto; flex-shrink: 0; max-width: 100%; border: 1px solid var(--border); cursor: pointer; }
.captcha-modal-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* ---------- 文章/页面内容 ---------- */
.page-content { max-width: 860px; }
.rich p { margin: 0 0 16px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 54px 0 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 40px; }
.footer h4 { color: var(--footer-title); font-size: 16px; margin: 0 0 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--accent-grad); }
.footer a { color: var(--footer-link); display: block; margin-bottom: 9px; }
.footer a:hover { color: var(--footer-link-hover); padding-left: 4px; }
.footer .brand-f { font-size: 20px; font-weight: 800; color: var(--footer-title); margin-bottom: 12px; }
.footer .contact-icon { width: 16px; height: 16px; display: block; flex-shrink: 0; color: currentColor; }
.footer .bottom { width: 100%; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 18px 20px; text-align: center; font-size: 13px; color: var(--copyright-color); background: var(--copyright-bg); }

/* ---------- 后台 ---------- */
.admin-body { background: #eef1f6; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--bg-dark)); }
.login-card { background: #fff; border-radius: 0; padding: 40px; width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.login-card h2 { margin: 0 0 6px; color: var(--primary); text-align: center; }
.login-card .sub { text-align: center; color: var(--text-light); margin-bottom: 26px; font-size: 13px; }
.login-card .form-row input { margin-bottom: 4px; }

.admin-layout { display: flex; min-height: 100vh; }
.admin-side { width: 240px; background: var(--bg-dark); color: var(--admin-side-text); flex-shrink: 0; }
.admin-side .logo-f { padding: 22px 20px; font-weight: 800; color: #fff; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 13px 22px; color: var(--admin-side-text); border-left: 3px solid transparent; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.07); color: #fff; border-left-color: var(--accent-grad); }
.admin-main { flex: 1; padding: 26px 30px; overflow-x: auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-top h1 { font-size: 22px; color: var(--primary); margin: 0; }
.admin-card { background: #fff; border-radius: 0; padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.admin-card h3 { margin: 0 0 18px; color: var(--primary); font-size: 17px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box { background: #fff; border-radius: 0; padding: 22px; box-shadow: var(--shadow); border-left: 4px solid var(--secondary); }
.stat-box b { display: block; font-size: 30px; color: var(--primary); }
.stat-box span { color: var(--text-light); font-size: 13px; }

table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 0; overflow: hidden; box-shadow: var(--shadow); }
table.data th, table.data td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
table.data th { background: var(--bg-soft); color: var(--primary); font-weight: 700; }
table.data tr:hover td { background: var(--table-hover-bg); }
.table-actions a { margin-right: 10px; font-weight: 600; }

.admin-form label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text); margin-top: 14px; }
.admin-form input[type=text], .admin-form input[type=email], .admin-form input[type=password], .admin-form input[type=number], .admin-form textarea, .admin-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 0; font-size: 14px; font-family: inherit;
}
.admin-form textarea { min-height: 120px; }
.admin-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-form .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.admin-actions { margin-top: 22px; display: flex; gap: 12px; }
.alert { padding: 12px 16px; border-radius: 0; margin-bottom: 18px; font-size: 14px; }
.alert.success { background: #e6f6ec; color: #1c7a3e; border: 1px solid #b6e3c6; }
.alert.error { background: #fdecec; color: #b3261e; border: 1px solid #f5c6c2; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 0; font-size: 12px; font-weight: 700; }
.pill.on { background: #e6f6ec; color: #1c7a3e; }

/* ============================================================
   技术成果 · 智能协议（协议矩阵） / 产品认证（认证印章墙）
   A 协议矩阵：时序导轨 + 联动详情（悬停预览 / 点击锁定）
   B 印章墙：错位蜂窝排布 + 盖章进场 + 悬停聚焦联动
   ============================================================ */
.section.tech-accent {
  --gold: #c9a77a;
  --gold-soft: rgba(201,167,122,.16);
  --ease: cubic-bezier(.22,.9,.28,1);
  position: relative;
  background: #fff;
  overflow: hidden;
}
.section.tech-accent .scope-eyebrow {
  font: 700 12px/1 var(--font-en);
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.section.tech-accent .scope-head h2 {
  color: var(--primary, #4d234b); background: none;
  -webkit-text-fill-color: var(--primary, #4d234b);
  display: block; text-align: center;
}
.section.tech-accent .scope-head h2::after { background: var(--gold); }
.section.tech-accent .scope-head p { color: var(--text-light, #5b6776); max-width: 680px; }

/* ===================== A. 协议展厅 =====================
   布局：4 张大图标卡横向陈列 + 全宽详情条（带指向三角）
   交互：悬停实时预览联动 / 点击锁定 / 滚动错峰进场
   图标：品牌特定 SVG（本色 #4d234b），白底卡片直接呈现原色，不做反色以保细节
   ====================================================== */
.section.tech-accent.pm-section { background: transparent; }
.pm-wrap { position: relative; max-width: 1100px; margin: 0 auto; }
.pm-wrap .pm-input { position: absolute; opacity: 0; pointer-events: none; }

/* --- 大图标陈列卡（白底 + 品牌紫图标，无圆角） --- */
.pm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pm-card {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 26px; cursor: pointer; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(77,35,75,.12);
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(77,35,75,.12);
  transition: background .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), filter .35s var(--ease), transform .35s var(--ease);
  min-height: 150px;
}
.pm-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(77,35,75,.05) 0%, rgba(77,35,75,0) 45%);
}
.pm-card img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  max-height: 140px;
  object-fit: contain;
  transition: transform .35s var(--ease);
}
.pm-card:hover {
  background: #faf6fa;
  border-color: rgba(77,35,75,.22);
  box-shadow: 0 16px 40px rgba(77,35,75,.18);
  transform: translateY(-3px);
}
.pm-card:hover img { transform: scale(1.06); }
.pm-card:focus-visible { outline: 2px solid var(--gold, #c9a77a); outline-offset: 3px; }

.pm-section.is-visible .pm-card {
  animation: pmCardIn .55s var(--ease) both;
  animation-delay: calc(var(--i) * 100ms + 100ms);
}
@keyframes pmCardIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

.pm-input--matter:checked ~ .pm-cards .pm-card--matter,
.pm-input--wifi:checked ~ .pm-cards .pm-card--wifi,
.pm-input--bluetooth:checked ~ .pm-cards .pm-card--bluetooth,
.pm-input--rs485:checked ~ .pm-cards .pm-card--rs485 {
  background: #fff;
  border-color: rgba(77,35,75,.45);
  box-shadow: 0 18px 44px rgba(77,35,75,.20);
}
.pm-input--matter:checked ~ .pm-cards .pm-card--matter img,
.pm-input--wifi:checked ~ .pm-cards .pm-card--wifi img,
.pm-input--bluetooth:checked ~ .pm-cards .pm-card--bluetooth img,
.pm-input--rs485:checked ~ .pm-cards .pm-card--rs485 img { transform: scale(1.04); }

@media (hover: hover) and (pointer: fine) {
  .pm-cards:has(.pm-card:hover) .pm-card:not(:hover) { filter: opacity(.55); }
}

/* --- 全宽详情条（网格同格堆叠） --- */
.pm-detail { display: grid; margin-top: 22px; }
.pm-detail-panel {
  grid-area: 1 / 1;
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--border, #e3e9f2);
  border-radius: 0;
  padding: 30px 34px 24px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.pm-detail-panel::before {
  content: ""; position: absolute; top: -7px;
  width: 13px; height: 13px; background: #fff;
  border-left: 1px solid var(--border, #e3e9f2);
  border-top: 1px solid var(--border, #e3e9f2);
  transform: translateX(-50%) rotate(45deg);
  left: calc((100% - 54px) / 4 * (var(--i) + .5) + var(--i) * 18px);
}
.pm-glow {
  position: absolute; right: -90px; top: -90px; width: 280px; height: 280px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201,167,122,.16) 0%, rgba(201,167,122,0) 70%);
}
.pm-detail-inner { display: flex; gap: 26px; align-items: flex-start; position: relative; }
.pm-detail-body { min-width: 0; }
.pm-detail-body h3 { font-size: 22px; font-weight: 700; color: var(--primary, #4d234b); margin: 0 0 10px; }
.pm-detail-body p { font-size: 15px; line-height: 1.75; color: var(--text-light, #5b6776); margin: 0; }
.pm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pm-tags li {
  font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 999px;
  color: #8a6a3c; background: var(--gold-soft); border: 1px solid rgba(201,167,122,.32);
}

.pm-wave {
  display: flex; align-items: flex-end; gap: 4px;
  height: 38px; margin-top: 24px; padding-top: 18px;
  border-top: 1px dashed rgba(77,35,75,.14);
}
.pm-wave i {
  flex: 1 1 auto; height: 100%; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201,167,122,.30) 100%);
  transform: scaleY(.5); transform-origin: bottom;
  animation: waveBeat 1.6s var(--ease) infinite;
  animation-delay: calc(var(--i) * 55ms);
  animation-play-state: paused;
}
@keyframes waveBeat {
  0%, 100% { transform: scaleY(.22); }
  50%      { transform: scaleY(1); }
}

.pm-input--matter:checked ~ .pm-detail .pm-detail-panel--matter,
.pm-input--wifi:checked ~ .pm-detail .pm-detail-panel--wifi,
.pm-input--bluetooth:checked ~ .pm-detail .pm-detail-panel--bluetooth,
.pm-input--rs485:checked ~ .pm-detail .pm-detail-panel--rs485 {
  opacity: 1; visibility: visible; transform: none; z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
  .pm-wrap:has(.pm-card--matter:hover) .pm-detail-panel--matter,
  .pm-wrap:has(.pm-card--wifi:hover) .pm-detail-panel--wifi,
  .pm-wrap:has(.pm-card--bluetooth:hover) .pm-detail-panel--bluetooth,
  .pm-wrap:has(.pm-card--rs485:hover) .pm-detail-panel--rs485 {
    opacity: 1; visibility: visible; transform: none; z-index: 2;
  }
}
.pm-input--matter:checked ~ .pm-detail .pm-detail-panel--matter .pm-wave i,
.pm-input--wifi:checked ~ .pm-detail .pm-detail-panel--wifi .pm-wave i,
.pm-input--bluetooth:checked ~ .pm-detail .pm-detail-panel--bluetooth .pm-wave i,
.pm-input--rs485:checked ~ .pm-detail .pm-detail-panel--rs485 .pm-wave i,
.pm-wrap:has(.pm-card--matter:hover) .pm-detail-panel--matter .pm-wave i,
.pm-wrap:has(.pm-card--wifi:hover) .pm-detail-panel--wifi .pm-wave i,
.pm-wrap:has(.pm-card--bluetooth:hover) .pm-detail-panel--bluetooth .pm-wave i,
.pm-wrap:has(.pm-card--rs485:hover) .pm-detail-panel--rs485 .pm-wave i {
  animation-play-state: running;
}

/* ===================== B. 认证印章墙 ===================== */
/* 产品认证通栏底色：极淡暖灰渐变 + 柔和径向光晕，低饱和高明度 */
.section.tech-accent.cert-section {
  --gold: #b8895a; --gold-soft: rgba(184,137,90,.16);
  background-color: #f8f5f1;
  background-image:
    linear-gradient(180deg, #fcfbfa 0%, #f5f1eb 55%, #efe9e1 100%),
    radial-gradient(circle at 10% 0%, rgba(201,167,122,.06), transparent 36%),
    radial-gradient(circle at 90% 100%, rgba(77,35,75,.03), transparent 38%);
  border-top: 1px solid rgba(184,137,90,.12);
  border-bottom: 1px solid rgba(184,137,90,.12);
}

.cert-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 46px 0;
  max-width: 1060px; margin: 0 auto;
}
/* 错位蜂窝：首行 4 枚居中，次行 5 枚铺满，整体居中
   注意：显式声明 grid-row，避免自动放置把第 5 枚塞回首行空位 */
.cert-seal:nth-child(1) { grid-column: 2 / span 2; grid-row: 1; }
.cert-seal:nth-child(2) { grid-column: 4 / span 2; grid-row: 1; }
.cert-seal:nth-child(3) { grid-column: 6 / span 2; grid-row: 1; }
.cert-seal:nth-child(4) { grid-column: 8 / span 2; grid-row: 1; }
.cert-seal:nth-child(5) { grid-column: 1 / span 2; grid-row: 2; }
.cert-seal:nth-child(6) { grid-column: 3 / span 2; grid-row: 2; }
.cert-seal:nth-child(7) { grid-column: 5 / span 2; grid-row: 2; }
.cert-seal:nth-child(8) { grid-column: 7 / span 2; grid-row: 2; }
.cert-seal:nth-child(9) { grid-column: 9 / span 2; grid-row: 2; }

/* 验真扫描线 */
.cert-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; pointer-events: none; z-index: 3;
}
.cert-section.is-visible .cert-scan { animation: certScan 1.5s var(--ease) .25s both; }
@keyframes certScan {
  0%   { opacity: 0; transform: translateY(0) scaleX(.55); }
  15%  { opacity: .9; }
  85%  { opacity: .9; }
  100% { opacity: 0; transform: translateY(240px) scaleX(1); }
}

.cert-seal {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cert-section.is-visible .cert-seal {
  animation: certSealIn .6s var(--ease) both;
  animation-delay: calc(var(--i) * 75ms + 200ms);
}
@keyframes certSealIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.cert-stamp {
  position: relative; width: 104px; height: 104px;
  display: flex; align-items: center; justify-content: center;
}
.cert-section.is-visible .cert-stamp {
  animation: certStamp .7s cubic-bezier(.2,.9,.28,1.25) both;
  animation-delay: calc(var(--i) * 75ms + 240ms);
}
@keyframes certStamp {
  from { transform: scale(1.32) rotate(-7deg); }
  to   { transform: scale(1) rotate(0deg); }
}
.cert-ring {
  position: absolute; inset: -7px; border-radius: 50%;
  border: 1px dashed rgba(184,137,90,.45);
  animation: certSpin 22s linear infinite;
  transition: border-color .35s var(--ease), border-style .35s var(--ease), opacity .35s var(--ease);
}
@keyframes certSpin { to { transform: rotate(360deg); } }
.cert-mark {
  position: relative; width: 104px; height: 104px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(184,137,90,.28);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  box-shadow: 0 6px 18px rgba(120,90,50,.08);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease),
              border-color .38s var(--ease), opacity .35s var(--ease), filter .35s var(--ease);
}
.cert-mark img { width: 100%; height: 100%; object-fit: contain; }
.cert-label {
  margin-top: 16px; font-size: 14px; font-weight: 600; line-height: 1.5;
  color: var(--text, #1f2a37);
  white-space: nowrap;
  transition: opacity .35s var(--ease), filter .35s var(--ease), color .35s var(--ease);
}
.cert-underline {
  display: block; width: 0; height: 2px; margin-top: 8px;
  background: var(--gold); border-radius: 2px;
  transition: width .4s var(--ease);
}

.cert-seal:hover .cert-mark {
  transform: scale(1.09);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(120,90,50,.20);
}
.cert-seal:hover .cert-ring { border-style: solid; border-color: var(--gold); animation-duration: 7s; }
.cert-seal:hover .cert-label { color: var(--primary, #4d234b); }
.cert-seal:hover .cert-underline { width: 44px; }

/* 悬停联动：其余印章降透明去色后退，形成聚焦 */
@media (hover: hover) and (pointer: fine) {
  .cert-wall:has(.cert-seal:hover) .cert-seal:not(:hover) .cert-mark {
    opacity: .3; filter: grayscale(.65); transform: scale(.94);
  }
  .cert-wall:has(.cert-seal:hover) .cert-seal:not(:hover) .cert-label {
    opacity: .35; filter: grayscale(.5);
  }
  .cert-wall:has(.cert-seal:hover) .cert-seal:not(:hover) .cert-ring { opacity: .3; }
}

/* ===================== C. Declaration of Conformity =====================
   深底色卡片 + 6 宫格玻璃面板，与上方暖色认证墙形成节奏对比
   ===================================================================== */
.doc-block {
  position: relative;
  margin-top: 70px;
  padding: 56px 48px 48px;
  border-radius: 0;
  color: var(--text, #1f2a37);
  background:
    radial-gradient(circle at 80% 0%, rgba(201,167,122,.10), transparent 32%),
    #fff;
  border: 1px solid var(--border, #e3e9f2);
  box-shadow: 0 22px 60px rgba(77,35,75,.08);
  overflow: hidden;
}
.doc-block::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='60' cy='60' r='1' fill='%234d234b' fill-opacity='0.03'/%3E%3C/svg%3E");
  opacity: .45;
}

.doc-head { position: relative; text-align: center; max-width: 820px; margin: 0 auto 44px; }
.doc-eyebrow {
  display: inline-block; font: 600 12px/1 var(--font-en); letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold, #c9a77a); margin-bottom: 12px;
}
.doc-head h3 {
  font-size: 34px; font-weight: 700; line-height: 1.2;
  margin: 0 0 8px; color: var(--primary, #4d234b);
}
.doc-subtitle {
  font-size: 17px; font-weight: 500; color: var(--text-light, #5b6776); margin: 0 0 22px;
}
.doc-lead {
  font-size: 15px; line-height: 1.85; color: var(--text-light, #5b6776);
  margin: 0;
}

.doc-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.doc-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border, #e3e9f2);
  border-radius: 0;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.doc-card:hover {
  background: #fff;
  border-color: rgba(77,35,75,.22);
  box-shadow: 0 14px 34px rgba(77,35,75,.10);
  transform: translateY(-4px);
}
.cert-section.is-visible .doc-card {
  animation: docCardIn .55s var(--ease) both;
  animation-delay: calc(var(--i) * 80ms + 180ms);
}
@keyframes docCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.doc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  color: var(--gold, #c9a77a);
  background: rgba(201,167,122,.10);
  border: 1px solid rgba(201,167,122,.22);
  border-radius: 12px;
}
.doc-icon svg { width: 24px; height: 24px; }
.doc-card h4 { font-size: 17px; font-weight: 700; color: var(--primary, #4d234b); margin: 0 0 10px; }
.doc-card p { font-size: 14px; line-height: 1.75; color: var(--text-light, #5b6776); margin: 0; }

.doc-foot {
  position: relative;
  margin: 40px 0 0; padding-top: 26px;
  font-size: 13px; line-height: 1.85; text-align: center;
  color: var(--text-light, #5b6776);
  border-top: 1px solid var(--border, #e3e9f2);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .pm-card { padding: 22px; min-height: 130px; }
  .pm-card img { max-height: 120px; }
  .pm-detail-panel { padding: 26px 24px 22px; }
  .cert-wall { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; max-width: 640px; }
  .cert-seal:nth-child(n) { grid-column: auto; grid-row: auto; }
  .doc-block { padding: 46px 34px 40px; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-head h3 { font-size: 28px; }
}
@media (max-width: 768px) {
  .pm-detail-inner { flex-direction: column; gap: 18px; }
  .pm-detail-body h3 { font-size: 19px; }
  .pm-wave { height: 32px; margin-top: 20px; }
  .doc-grid { gap: 14px; }
  .doc-card { padding: 24px 20px; }
}
@media (max-width: 640px) {
  .pm-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pm-card { padding: 18px; min-height: 110px; }
  .pm-card img { max-height: 100px; }
  .pm-detail-panel::before { display: none; }
  .cert-wall { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; max-width: 420px; }
  .cert-stamp, .cert-mark { width: 88px; height: 88px; }
  .cert-mark { padding: 20px; }
  .cert-label { font-size: 13px; margin-top: 13px; }
  .doc-block { margin-top: 52px; padding: 34px 22px 30px; border-radius: 0; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-head h3 { font-size: 24px; }
  .doc-subtitle { font-size: 15px; }
  .doc-lead { font-size: 14px; }
  .doc-foot { margin-top: 30px; padding-top: 20px; }
}

/* ---------------- 降级：系统减弱动效 ---------------- */
@media (prefers-reduced-motion: reduce) {
  .pm-card, .cert-seal, .cert-stamp, .cert-scan, .doc-card,
  .cert-ring, .pm-wave i { animation: none !important; }
  .pm-card, .cert-seal, .cert-stamp, .doc-card { opacity: 1 !important; transform: none !important; }
  .pm-detail-panel { transition: opacity .01s linear; }
}

.pill.off { background: #f0f0f0; color: #888; }
.thumb-sm { width: 60px; height: 44px; object-fit: cover; border-radius: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .header-search { min-width: 180px; }
  .nav a, .nav-item > a { padding: 0 16px; font-size: 15px; }
}
@media (max-width: 980px) {
  .intro, .prod-detail, .contact-wrap { grid-template-columns: 1fr; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .dl-list { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .header-search { min-width: 160px; }
  .nav a, .nav-item > a { padding: 0 14px; font-size: 15px; }
  /* 平板：首页精选 3 列、产品列表 2 列 */
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .products-layout .prod-grid,
  .products-layout.cat-view .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid,
  .cat-grid.cat-3,
  .cat-grid.cat-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .header .container { flex-wrap: wrap; height: auto; padding: 12px 20px; gap: 10px; }
  .logo { height: 44px; }
  .logo img { width: 120px; height: 25px; }
  .logo .logo-text { font-size: 22px; }
  .header-right { width: 100%; order: 3; justify-content: space-between; }
  .header-search { flex: 1; min-width: 0; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: none; z-index: 99; max-height: calc(100vh - 88px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; order: 2; margin-left: auto; padding: 4px 10px; line-height: 1; }
  .nav a, .nav-item > a { line-height: 48px; padding: 0 12px; width: 100%; justify-content: space-between; }
  .nav-item { width: 100%; }
  .nav-dropdown { position: static; left: auto; transform: none; width: auto; max-width: none; display: flex; box-shadow: none; border: none; padding: 0 0 6px 12px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-mega { flex-direction: column; gap: 0; padding: 0 0 6px 12px; justify-content: flex-start; }
  .nav-mega-products { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .nav-mega-group { min-width: 0; }
  .nav-mega-title { padding-left: 12px; }
  .nav-mega .nav-mega-group > .nav-mega-title { padding: 4px 12px 8px; }
  .nav .caret { display: none; }
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; }
  .hero { height: 420px; }
  .hero .slide { background-size: cover; }
  .hero .slide::before { content: none; }
  .hero .slide h1 { font-size: 28px; }
  .hero .slide p { font-size: 15px; }
  .hero .slide .btn-hero { padding: 10px 24px; font-size: 14px; }
  /* 移动端：产品卡片按页面宽度自适应（一行数量随视口变化） */
  .prod-grid,
  .products-layout .prod-grid,
  .products-layout.cat-view .prod-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  /* 分类卡片移动端单列 */
  .cat-grid,
  .cat-grid.cat-3,
  .cat-grid.cat-4 { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .side-cats-wrapper { position: static; }
  .side-cats-wrapper > h3 { margin-bottom: 6px; }
  .side-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
  .side-cat-group { width: 100%; border-bottom: none; }
  .side-cat { padding: 10px 12px; margin-bottom: 0; }
  .side-cat-subs { display: block !important; padding-left: 12px; }
  .side-cat .caret { display: none; }
  .cta-row { grid-template-columns: 1fr !important; }
  .intro .stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .intro .stat { white-space: normal; }
  .footer .cols { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 200; height: 100%; transform: translateX(-100%); transition: .25s; }
  .admin-side.open { transform: translateX(0); }
}

/* ============================================================
   首页重构区块：公司简介 · 层叠工艺卡 / 精选产品 · 聚光灯
   ============================================================ */

/* ---------- 公司简介 · 层叠工艺卡 ---------- */
.about-section {
  --ab-ease: cubic-bezier(.22, .9, .28, 1);
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f4f7fb 100%),
    var(--pat-dots);
  background-position: center;
}

/* About Us 1:1 还原：5fr 图片 + 7fr 内容卡片，卡片左边缘压盖图片并与图片右边缘对齐 */
.about-stage {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
  position: relative;
}

/* 左侧图片区 */
.about-visual {
  position: relative;
  z-index: 2;
  justify-self: start;
  align-self: center;
  width: 100%;
}

.about-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--primary-50);
  box-shadow:
    0 24px 60px rgba(10, 61, 122, .12),
    0 8px 22px rgba(10, 61, 122, .06);
}
.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: left center;  /* 放大时左边缘固定，确保与容器左边缘像素级对齐 */
  transition: transform 1.1s var(--ab-ease);
}
.about-visual:hover .about-frame img { transform: scale(1.09); transform-origin: left center; }

/* 百叶膜装饰：呼应窗帘电机行业属性 */
.about-slats {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  z-index: 3;
}
.about-slats i {
  flex: 1;
  background: rgba(255, 255, 255, .22);
  transform: translateX(-101%);
  transition: transform .8s var(--ab-ease);
}
.about-slats i:nth-child(even) { transform: translateX(101%); }
.about-slats i:nth-child(1) { transition-delay: 0ms; }
.about-slats i:nth-child(2) { transition-delay: 60ms; }
.about-slats i:nth-child(3) { transition-delay: 120ms; }
.about-slats i:nth-child(4) { transition-delay: 180ms; }
.about-slats i:nth-child(5) { transition-delay: 240ms; }
.about-visual:hover .about-slats i { transform: translateX(0); }

/* 角标 */
.about-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 3px solid var(--accent);
  opacity: .55;
  transition: all .55s var(--ab-ease);
  z-index: 4;
  pointer-events: none;
}
.about-corner--tl { top: -14px; left: -14px; border-right: none; border-bottom: none; }
.about-corner--br { bottom: -14px; right: -14px; border-left: none; border-top: none; }
.about-visual:hover .about-corner { width: 64px; height: 64px; opacity: 1; }

/* 右侧内容卡片：白底 + 左侧金色边框 + 阴影，高度撑满并向下延伸 */
.about-content {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 760px;
  margin-left: -90px;
  padding: 48px 50px 100px 140px;
  background: #fff;
  border-left: 6px solid var(--accent);
  box-shadow: -20px 20px 60px rgba(10, 61, 122, .10);
}
.about-content .section-head h2 { margin-top: 8px; }
.about-content .rich { color: var(--text-light); font-size: 15px; line-height: 1.85; }
.about-content .rich p { margin: 0 0 12px; }

/* 悬浮数据卡：恢复参考图的 2×2 布局 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.about-stat {
  position: relative;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .45s var(--ab-ease), box-shadow .45s, border-color .45s;
}
.about-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ab-ease);
}
.about-stat:hover {
  transform: translateY(-5px);
  border-color: var(--primary-200);
  box-shadow: 0 14px 34px rgba(10, 61, 122, .10);
}
.about-stat:hover::before { transform: scaleY(1); }
.about-stat b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.about-stat b small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.about-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.about-cta { margin-top: 28px; }
.about-cta .btn i {
  display: inline-block;
  font-style: normal;
  margin-left: 4px;
  transition: transform .35s var(--ab-ease);
}
.about-cta .btn:hover i { transform: translateX(5px); }

/* ---------- 精选产品 · 3D 翻转卡片 ---------- */
.flip-section { --fl-ease: cubic-bezier(.22, .9, .28, 1); }

.flip-hint {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-light);
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.flip-card {
  position: relative;
  display: block;
  height: 392px;
  perspective: 1400px;
  text-decoration: none;
  color: inherit;
}

.flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .85s var(--fl-ease);
}
.flip-card:hover .flip-inner,
.flip-card:focus-visible .flip-inner { transform: rotateY(180deg); }
.flip-card:focus-visible { outline: none; }
.flip-card:focus-visible .flip-face--front { box-shadow: 0 0 0 3px var(--accent); }

.flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 正面：白色产品卡 */
.flip-face--front {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(10, 61, 122, .07);
  transition: box-shadow .45s;
}
.flip-card:hover .flip-face--front { box-shadow: 0 26px 58px rgba(10, 61, 122, .14); }

.flip-thumb {
  position: absolute;
  inset: 8% 10% 30% 10%;
  background: #fff center / contain no-repeat;
  transition: transform .7s var(--fl-ease);
}
.flip-card:hover .flip-thumb { transform: scale(1.05); }

.flip-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: linear-gradient(45deg, #d4a84b, #fff000);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 12px;
}

.flip-front-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 44%);
}
.flip-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary);
}
.flip-rail {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 11px;
  background: var(--accent-grad);
  transition: width .55s var(--fl-ease);
}
.flip-card:hover .flip-rail { width: 56px; }

/* 触屏降级时展示的行动点 */
.flip-front-cta {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.flip-front-cta i { font-style: normal; }

/* 背面：深蓝渐变信息面 */
.flip-face--back {
  transform: rotateY(180deg);
  /* 紫色渐变：与 Smart Protocols 卡片的紫色体系一致，金色光晕保持品牌强调色 */
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245, 166, 35, .20), transparent 58%),
    linear-gradient(155deg, #6b3166 0%, #4d234b 55%, #2a1228 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  border-left: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 30px 26px;
  box-shadow: 0 26px 58px rgba(77, 35, 75, .22);
}

.flip-back-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
}
.flip-back-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.flip-back-meta { display: flex; flex-direction: column; gap: 2px; }
.flip-back-meta em {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.flip-back-meta b { font-size: 14.5px; font-weight: 600; color: #fff; }

.flip-back-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-grad);
}

.flip-back-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.flip-back-cta i { font-style: normal; transition: transform .4s var(--fl-ease); }
.flip-card:hover .flip-back-cta i { transform: translateX(6px); }

.flip-cta { text-align: center; margin-top: 46px; }

/* 触屏无悬停：不做翻转，正面直接给出行动点 */
@media (hover: none), (pointer: coarse) {
  .flip-inner { transform: none !important; }
  .flip-face--back { display: none; }
  .flip-hint { display: none; }
  .flip-front-cta { display: inline-flex; }
  .flip-rail { width: 48px; }
}

/* 响应式：4 列 → 2 列 → 1 列 */
@media (max-width: 980px) {
  .about-stage { grid-template-columns: 1fr; gap: 30px; }
  .about-visual { justify-self: center; max-width: 420px; }
  .about-content {
    align-self: auto;
    min-height: auto;
    margin-left: 0;
    padding: 28px;
    border-left-width: 5px;
  }
  .flip-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .flip-card { height: 360px; }
}
@media (max-width: 600px) {
  .about-stat b { font-size: 24px; }
  .about-stats { gap: 12px; }
  .flip-grid { grid-template-columns: 1fr; }
  .flip-card { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-frame img,
  .about-slats i,
  .about-corner,
  .about-stat,
  .about-cta .btn i,
  .flip-inner,
  .flip-thumb,
  .flip-rail,
  .flip-back-cta i { transition: none !important; }
}

/* ================= 关于页（about.php）交互增强 ================= */
/* 1) 左侧图片：固定 555×416 原始显示尺寸，仅叠加对角边框 + 悬停交互（与首页 About Us 同语言） */
.intro .intro-img.about-visual {
  overflow: visible;          /* 允许对角边框溢出到图片外侧 */
  background: transparent;
  box-shadow: none;
  width: 555px;
  max-width: 100%;
}
.intro-img.about-visual .about-frame {
  width: 555px;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;         /* 取消 3:4 强制裁切，回归原图 4:3 比例 */
  box-shadow: var(--shadow);  /* 沿用改动前的卡片阴影 */
}
.intro-img.about-visual .about-frame img {
  width: 555px;
  max-width: 100%;
  height: auto;               /* 555 × 416，与改动前完全一致 */
  transform: scale(1);
  transform-origin: left center;
  transition: transform .9s var(--ab-ease);
}
.intro-img.about-visual:hover .about-frame img { transform: scale(1.05); }
.intro-img.about-visual .about-corner { z-index: 4; }

@media (max-width: 980px) {
  .intro .intro-img.about-visual { width: 100%; margin-inline: auto; }
  .intro-img.about-visual .about-frame,
  .intro-img.about-visual .about-frame img { width: 100%; }
}
@media (max-width: 760px) {
  .intro-img .about-corner--tl { top: -10px; left: -10px; }
  .intro-img .about-corner--br { bottom: -10px; right: -10px; }
}

/* 2) 数据卡片：悬停上浮 + 底色渐显 + 图标/数字联动（无左侧竖条） */
.stat-item {
  transition:
    transform .45s var(--ab-ease),
    box-shadow .45s ease,
    border-color .45s ease;
  will-change: transform;
}
.stat-item::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 61, 122, .035), rgba(10, 61, 122, 0));
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.stat-item .stat-icon {
  transition: opacity .45s ease, transform .6s var(--ab-ease);
}

@media (hover: hover) and (pointer: fine) {
  .stat-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-200);
    border-top-color: var(--accent);
    box-shadow: 0 18px 44px rgba(10, 61, 122, .13);
  }
  .stat-item:hover::after { opacity: 1; }
  .stat-item:hover .stat-icon { opacity: .2; transform: translate(-6px, -6px) scale(1.06); }
  .stat-item:hover b { transform: scale(1.04); }
}
/* 触屏：改为点按反馈，避免 hover 状态残留 */
@media (hover: none), (pointer: coarse) {
  .stat-item:active {
    transform: translateY(-3px);
    border-color: var(--primary-200);
    box-shadow: 0 14px 34px rgba(10, 61, 122, .12);
  }
}
.stat-item b {
  transform-origin: left center;
  transition: transform .45s var(--ab-ease);
}
