/* =============================================================================
 * style.css — Fluoropolymer B2B Site / 工业级外贸独立站样式
 * -----------------------------------------------------------------------------
 * 原生 CSS（无 Tailwind 编译、无 CDN、无 WebFont 外链）。
 * 字体：系统工业无衬线栈；图标：Inline SVG。
 * 配色：沉稳蓝 + 白 + 灰（--c-primary #0B3C6B / --c-accent #12.. ）。
 * 全部断点：1280 / 1024 / 768 / 480
 * ========================================================================== */

/* ---------------------------------------------------------------- 1. Tokens */
:root {
  /* Brand */
  --c-primary:        #0B3C6B;
  --c-primary-dark:   #07294A;
  --c-primary-light:  #12578F;
  --c-accent:         #00A0DC;
  --c-accent-dark:    #007FB0;
  --c-steel:          #4A5A6A;
  --c-graphite:       #2A3138;

  /* Neutrals */
  --c-bg:             #FFFFFF;
  --c-bg-soft:        #F4F7FA;
  --c-bg-alt:         #EDF2F7;
  --c-border:         #D9E1E9;
  --c-border-strong:  #B9C6D3;
  --c-text:           #1E2831;
  --c-text-soft:      #55636F;
  --c-text-invert:    #FFFFFF;

  /* Semantic */
  --c-success:        #1E8E5A;
  --c-warning:        #C77700;
  --c-danger:         #C0392B;
  --c-info:           #0B6FA4;

  /* Brand line accents */
  --c-brand-fp:        #0B3C6B;
  --c-brand-fx:        #B45309;
  --c-brand-pv:        #0E7490;
  --c-brand-pa:        #15803D;
  --c-brand-sp:        #6D28D9;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Malgun Gothic", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --fs-hero:  clamp(1.9rem, 1.1rem + 2.4vw, 3.4rem);
  --fs-h2:    clamp(1.5rem, 1.05rem + 1.3vw, 2.3rem);
  --fs-h3:    clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem);

  /* Layout */
  --w-container: 1280px;
  --gutter: 20px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 60, 107, .08);
  --shadow: 0 4px 16px rgba(11, 60, 107, .10);
  --shadow-lg: 0 12px 40px rgba(7, 41, 74, .18);
  --header-h: 62px;
  --topbar-h: 38px;
  --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------- 2. Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .55em; font-weight: 700; line-height: 1.25; color: var(--c-primary-dark); letter-spacing: -.01em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 32px 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* ------------------------------------------------------------- 3. Utilities */
.container { width: 100%; max-width: var(--w-container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 960px; }
.section { padding: 64px 0; }
.section-alt { background: var(--c-bg-soft); }
.section-dark { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); color: var(--c-text-invert); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 10px;
}
.section-dark .section-head .eyebrow { color: #7FD7F5; }
.section-head p { color: var(--c-text-soft); font-size: 1.02rem; margin: 0; }
.section-dark .section-head p { color: #C8DCEA; }
.text-center { text-align: center; }
.text-soft { color: var(--c-text-soft); }
.mono { font-family: var(--font-mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--c-primary);
  color: #fff; padding: 10px 18px; z-index: 9999;
}
.skip-link:focus { left: 8px; top: 8px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* --------------------------------------------------------------- 4. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; cursor: pointer; text-align: center;
  transition: all var(--transition); white-space: nowrap; line-height: 1.3;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.btn-accent { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.btn-accent:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-border-strong); }
.btn-outline:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: #fff; color: var(--c-primary-dark); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ----------------------------------------------------------- 5. Top bar */
.topbar {
  background: var(--c-primary-dark); color: #D5E3EE; font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--topbar-h); flex-wrap: wrap;
}
.topbar a { color: #D5E3EE; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; fill: #9FC3DC; }

/* 语言切换下拉 */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 4px 10px;
  border-radius: 4px; cursor: pointer; font-size: .82rem;
}
.lang-btn:hover { background: rgba(255,255,255,.18); }
.lang-btn .chev { width: 10px; height: 10px; fill: #fff; transition: transform var(--transition); }
.lang-switch.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 168px; z-index: 1200;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 6px; display: none;
  max-height: 320px; overflow-y: auto;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border-radius: 4px; color: var(--c-text); font-size: .88rem;
}
.lang-menu a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
.lang-menu a[aria-current="true"] { background: var(--c-bg-alt); color: var(--c-primary); font-weight: 700; }
.lang-menu .code { font-family: var(--font-mono); font-size: .74rem; color: var(--c-text-soft); }

/* ------------------------------------------------------------ 6. Header */
.site-header {
  position: sticky; top: 0; z-index: 1100; background: #fff;
  border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
}
.header-main { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-img { height: 52px; width: auto; display: block; }

.header-main > nav { display: flex; align-self: stretch; margin-left: auto; }
.primary-nav {
  display: flex; align-items: stretch; gap: 4px; margin: 0;
}
/* 导航项撑满页头高度：hover 区域从链接一直延伸到 mega 菜单顶部，避免移动鼠标时菜单闪没 */
.primary-nav > li {
  list-style: none; position: relative; display: flex; align-items: center;
  margin-bottom: -1px; /* 盖住页头 1px 下边框，消除最后的 hover 死角 */
}
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px;
  font-size: .93rem; font-weight: 600; color: var(--c-graphite); border-radius: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--c-primary); background: var(--c-bg-soft); }
.nav-link .chev { width: 10px; height: 10px; fill: var(--c-steel); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 12px; }

/* Mega Menu —— 浅色三级悬浮面板（与页头同色系） */
.has-mega { position: relative; }
.mega {
  position: absolute; left: -20px; top: 100%;
  width: 208px; max-width: calc(100vw - 32px);
  transition: width .18s ease;
  background: #fff; color: var(--c-text);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 44px rgba(11, 60, 107, .13), 0 2px 8px rgba(11, 60, 107, .05);
  display: none; z-index: 1100;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.mega-open .mega { display: block; }
/* 面板向上延伸 6px 桥接区：盖住页头下边框，鼠标下移跨过缝隙时 hover 链不断 */
.mega::before {
  content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 6px;
}
.mega-inner { display: grid; grid-template-columns: 208px; }
/* 悬停一级分类：展开二级列（两列）；悬停二级家族（.forms-open）时再加宽出三级列 */
.mega.is-expanded { width: 450px; }
.mega.is-expanded .mega-inner { grid-template-columns: 208px minmax(0, 1fr); }
.mega.is-expanded.forms-open { width: 770px; }
.mega.is-expanded.forms-open .mega-inner { grid-template-columns: 208px 240px minmax(0, 1fr); }
.mega.is-expanded .mega-tabs { border-right: 1px solid var(--c-border); }
.mega.is-expanded.forms-open .mega-panels { border-right: 1px solid var(--c-border); }

/* 左列：一级分类（悬停切换右列） */
.mega-tabs {
  padding: 14px 0;
}
.mega-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; font-size: .88rem; font-weight: 500; line-height: 1.4;
  color: var(--c-text-soft);
  transition: color var(--transition), background var(--transition);
}
.mega-tab svg {
  width: 11px; height: 11px; flex: 0 0 auto;
  opacity: .45;
  transition: opacity var(--transition), color var(--transition);
}
.mega-tab:hover, .mega-tab.is-active { color: var(--c-primary); background: var(--c-bg-soft); }
.mega-tab:hover svg, .mega-tab.is-active svg { opacity: 1; color: var(--c-accent); }

/* 右列：二级分类 */
.mega-panels { display: none; padding: 14px 12px; min-height: 262px; }
.mega.is-expanded .mega-panels { display: block; }
.mega-panel { list-style: none; margin: 0; padding: 0; display: none; }
.mega-panel.is-active { display: block; }
.mega-panels .mega-fam {
  display: block; padding: 9px 12px; border-radius: 4px;
  font-size: .88rem; font-weight: 500; line-height: 1.4;
  color: var(--c-text-soft);
  transition: color var(--transition), background var(--transition);
}
/* 三级列表：悬停与当前项统一使用同一主色；不设背景（用户要求选中不出现底色） */
.mega-panels .mega-fam:hover, .mega-panels .mega-fam.is-current { color: var(--c-primary); }
.mega-panels .mega-fam:hover { background: var(--c-bg-soft); }

/* 第三列：所选家族的材料形态（悬停二级家族后出现） */
.mega-forms-col { display: none; padding: 14px 14px 14px 16px; min-height: 262px; }
.mega.is-expanded.forms-open .mega-forms-col { display: block; }
.mega-forms-title {
  margin: 0 0 8px; padding: 0 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-steel);
  display: flex; flex-wrap: wrap; gap: 5px; align-items: baseline;
}
.mega-forms-fam {
  font-style: normal; font-size: .8rem; font-weight: 700;
  letter-spacing: 0; text-transform: none; color: var(--c-primary);
}
.mega-forms-fam:empty { display: none; }
.mega-forms-list { list-style: none; margin: 0; padding: 0; }
.mega-forms-list a {
  display: block; padding: 8px 10px; border-radius: 4px;
  font-size: .88rem; font-weight: 500; line-height: 1.4;
  color: var(--c-text-soft);
  transition: color var(--transition), background var(--transition);
}
.mega-forms-list a:hover { color: var(--c-primary); }
/* 当前项与一级/二级选中态同色（原为 --c-accent-dark 亮青蓝，与其余层级不一致） */
.mega-forms-list a.is-current { color: var(--c-primary); }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--c-border-strong);
  border-radius: 4px; padding: 8px 10px; cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-graphite); margin: 4px 0; }
.mobile-nav {
  display: none; position: fixed; inset: 0; background: #fff; z-index: 2000;
  overflow-y: auto; padding: 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-nav .close-btn { background: none; border: 0; font-size: 1.8rem; cursor: pointer; line-height: 1; color: var(--c-graphite); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--c-border); }
.mobile-nav a { display: block; padding: 14px 0; font-weight: 600; color: var(--c-graphite); }
.mobile-nav .m-sub { padding: 4px 0 14px 16px; }
.mobile-nav .m-sub a { font-weight: 400; font-size: .9rem; padding: 7px 0; color: var(--c-text-soft); }

/* ------------------------------------------------------------- 7. Hero */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: linear-gradient(120deg, #07294A 0%, #0B3C6B 45%, #12578F 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0 2px, transparent 2px 26px),
    radial-gradient(1100px 520px at 88% 12%, rgba(0,160,220,.35), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -140px; bottom: -160px; width: 620px; height: 620px;
  border: 60px solid rgba(255,255,255,.06); border-radius: 50%; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: 18px; }
.hero-sub { font-size: 1.06rem; max-width: 62ch; color: #CFE0EE; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 6px 14px;
  font-size: .82rem; color: #E5F1F9;
}
.hero-badge svg { width: 14px; height: 14px; fill: #7FD7F5; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #7FD7F5; flex: 0 0 auto; }
.hero-search {
  display: flex; gap: 10px; background: rgba(255,255,255,.10); padding: 10px;
  border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.24);
  max-width: 720px; flex-wrap: wrap;
}
.hero-search input {
  flex: 1 1 300px; min-width: 200px; background: #fff; border: 0;
  border-radius: var(--radius); padding: 12px 16px; font-size: .95rem;
}
.hero-search .btn { flex: 0 0 auto; }
.hero-popular { margin-top: 14px; font-size: .84rem; color: #9FC3DC; }
.hero-popular a { color: #BFE3F5; text-decoration: underline; margin-right: 10px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------------------------------------------- 8. Integrated operations */
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 20px; margin-top: 40px; }
.stat-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 26px 22px; text-align: center; transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-accent); }
.stat-value {
  font-size: 2.5rem; font-weight: 800; color: var(--c-primary); line-height: 1;
  font-family: var(--font-mono); letter-spacing: -.02em;
}
.stat-value sup { font-size: 1rem; font-weight: 600; }
.stat-label { margin-top: 10px; font-size: .9rem; color: var(--c-text-soft); font-weight: 600; }
.chain-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; margin-top: 36px; }
.chain-step {
  flex: 1 1 180px; background: #fff; border: 1px solid var(--c-border);
  padding: 18px 16px; position: relative; text-align: center;
}
.chain-step + .chain-step { border-left: 0; }
.chain-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.chain-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.chain-step .num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .82rem;
  font-weight: 700; margin-bottom: 8px;
}
.chain-step h4 { font-size: .95rem; margin-bottom: 4px; }
.chain-step p { font-size: .8rem; color: var(--c-text-soft); margin: 0; }

/* ------------------------------------------------------- 9. Brand cards */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.brand-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition);
}
.brand-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.brand-card .bc-media { height: 132px; position: relative; overflow: hidden; }
.brand-card .bc-media svg { width: 100%; height: 100%; object-fit: cover; }
.brand-card .bc-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.brand-card .bc-name {
  font-size: 1.25rem; font-weight: 800; letter-spacing: .04em; margin-bottom: 6px;
}
.brand-card .bc-tag { font-size: .84rem; color: var(--c-text-soft); margin-bottom: 12px; min-height: 3.2em; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px;
  border-radius: 3px; background: var(--c-bg-alt); color: var(--c-steel); letter-spacing: .04em;
}
.brand-card .bc-foot { margin-top: auto; }
.brand-card .bc-link { font-size: .88rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.brand-card .bc-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ------------------------------------------------- 10. Product family grid */
.fam-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
/* 首页产品分组（含氟聚合物 / 氟弹性体 / 其他产品） */
.fam-group { margin-bottom: 30px; }
.fam-group:last-child { margin-bottom: 0; }
.fam-group-title {
  font-size: 1.05rem; color: var(--c-primary-dark); margin: 0 0 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}
/* 产品中心 L1：材料分类分组（含氟聚合物 / 氟弹性体 / 含氟助剂 / 氟涂料 / 其他产品） */
.l1-group { margin-bottom: 36px; scroll-margin-top: 96px; } /* 锚点跳转时避开 sticky 顶栏 */
.l1-group:last-child { margin-bottom: 0; }
.l1-group-title {
  font-size: 1.15rem; color: var(--c-primary-dark); margin: 0 0 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}
.fam-card {
  position: relative; border: 1px solid var(--c-border); border-radius: var(--radius);
  background: #fff; overflow: hidden; transition: all var(--transition); text-align: center;
}
.fam-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.fam-card .fm-media { height: 130px; overflow: hidden; }
.fam-card .fm-media svg { width: 100%; height: 100%; }
.fam-card .fm-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.fam-card:hover .fm-media img { transform: scale(1.05); }
.fam-card .fm-body { padding: 14px 12px 16px; }
.fam-card .fm-code { font-size: 1.15rem; font-weight: 800; color: var(--c-primary-dark); }
.fam-card .fm-full { font-size: .78rem; color: var(--c-text-soft); min-height: 2.4em; }
.fam-card .fm-count { font-size: .72rem; color: var(--c-accent-dark); font-weight: 700; margin-top: 6px; }

/* ------------------------------------- 10b. Product centre hierarchy (L1/L2/L3) */
/* 三级视图作为 product-grid 的子项时跨满整行 */
.product-grid > .fam-grid, .product-grid > .series-grid,
.product-grid > .spec-wrap, .product-grid > .sub-chip-row,
.product-grid > .empty-state { grid-column: 1 / -1; }
/* L1 分组视图：分组区块跨满整行，组内卡片与首页一致（五列小卡） */
.product-grid > .l1-group { grid-column: 1 / -1; }
.product-grid > .l1-group > .fam-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
/* L1 大类卡片：与首页产品卡片同尺寸（五列小卡）；首页 member-grid 复用相同样式，两处一致 */
.product-grid > .fam-grid, .member-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-grid .fam-card, .member-grid .fam-card {
  display: flex; flex-direction: column; gap: 6px;
  text-align: left; padding: 14px 12px 16px;
}
/* L1 卡片顶部应用图（通栏出血，高度与首页 fm-media 一致） */
.product-grid .fam-card .fam-thumb, .member-grid .fam-card .fam-thumb { display: block; margin: -14px -12px 4px; height: 130px; overflow: hidden; }
.product-grid .fam-card .fam-thumb img, .member-grid .fam-card .fam-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.product-grid .fam-card:hover .fam-thumb img, .member-grid .fam-card:hover .fam-thumb img { transform: scale(1.05); }
.product-grid .fam-card .fam-acro, .member-grid .fam-card .fam-acro { display: block; font-size: 1.15rem; font-weight: 800; color: var(--c-primary-dark); letter-spacing: .01em; }
.fam-card .fam-full { display: block; font-size: .84rem; color: var(--c-steel); }
.fam-card .fam-series {
  display: block; font-size: .76rem; line-height: 1.7; color: var(--c-text-soft);
  border-top: 1px dashed var(--c-border); padding-top: 10px; margin-top: 4px;
}
.fam-cta { display: inline-block; margin-top: auto; padding-top: 6px; font-size: .86rem; font-weight: 700; color: var(--c-primary); }
.fam-card:hover .fam-cta, .fam-cta:hover { text-decoration: underline; }

/* L2 系列卡片 + 子类目 chips */
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.series-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 10px;
  transition: all var(--transition);
}
.series-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
/* L2 系列卡片顶部应用图（通栏出血） */
.series-card .series-thumb {
  display: block; margin: -20px -20px 2px; height: 140px; overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.series-card .series-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.series-card:hover .series-thumb img { transform: scale(1.05); }
.series-title { font-size: 1.06rem; font-weight: 700; color: var(--c-primary-dark); }
.series-title:hover { color: var(--c-primary); }
.series-subs { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-chip {
  display: inline-block; font-size: .76rem; font-weight: 600; padding: 4px 12px;
  border: 1px solid var(--c-border-strong); border-radius: 999px; color: var(--c-steel);
  transition: all var(--transition);
}
.sub-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.sub-chip.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.sub-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* L3 牌号规格表容器（基础单元格样式见 §spec-table） */
.spec-wrap {
  overflow-x: auto; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.spec-wrap .spec-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.sp-grade a { font-weight: 700; color: var(--c-primary-dark); white-space: nowrap; }
.sp-grade a:hover { color: var(--c-primary); }
.sp-cas { font-family: var(--font-mono); font-size: .8rem; white-space: nowrap; }
.sp-link { white-space: nowrap; text-align: right; }
.sp-link a { font-size: .84rem; font-weight: 600; color: var(--c-primary); }
.sp-link a:hover { text-decoration: underline; }
/* All grades 视图的类别列（rowspan 纵向合并，参照 TDS 分块排版） */
.sp-cat {
  font-weight: 700; color: var(--c-primary-dark); background: var(--c-bg-soft);
  vertical-align: middle; border-right: 1px solid var(--c-border); white-space: nowrap;
}
@media (max-width: 1200px) { .product-grid > .fam-grid, .product-grid > .l1-group > .fam-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .product-grid > .fam-grid, .product-grid > .l1-group > .fam-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .product-grid > .fam-grid, .product-grid > .l1-group > .fam-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------- 11. Applications */
.app-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px;
}
.app-tab {
  padding: 9px 18px; border: 1px solid var(--c-border-strong); background: #fff;
  border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 600;
  color: var(--c-steel); transition: all var(--transition);
}
.app-tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.app-tab.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.app-panel { display: none; animation: fadeUp .35s ease; }
.app-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.app-panel-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.app-panel-card h3 { font-size: 1.3rem; }
.app-panel-card ul { margin-bottom: 0; }
.app-panel-card li { margin-bottom: 6px; font-size: .94rem; }
.app-kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.app-kv-item { background: var(--c-bg-soft); border-radius: var(--radius); padding: 12px 14px; }
.app-kv-item dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-steel); font-weight: 700; }
.app-kv-item dd { margin: 4px 0 0; font-size: .95rem; font-weight: 600; color: var(--c-primary-dark); }

/* --------------------------------------------------- 12. Certification wall */
.cert-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cert-item {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 18px 12px; text-align: center; transition: all var(--transition);
}
.cert-item:hover { border-color: var(--c-accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cert-item svg { width: 40px; height: 40px; margin: 0 auto 8px; }
.cert-item .cert-code { font-size: .88rem; font-weight: 800; color: var(--c-primary-dark); }
.cert-item .cert-scope { font-size: .72rem; color: var(--c-text-soft); line-height: 1.35; margin-top: 3px; }

/* ------------------------------------------------------ 13. Global map */
.global-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
/* 只有一个子项时（侧栏已移除）跨满整行，避免右侧留白 */
.global-layout > :only-child { grid-column: 1 / -1; }
.map-box {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow-sm);
}
.map-box svg { width: 100%; height: auto; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: .8rem; color: var(--c-text-soft); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-wh { background: var(--c-primary); } .dot-of { background: var(--c-accent); } .dot-pl { background: var(--c-warning); }
/* 独立滚动区：列表高度与左侧地图大致持平，30 个网点超出部分上下滑动浏览 */
.loc-list {
  list-style: none; margin: 0; padding: 0 8px 0 0;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #C3D3DF transparent;
}
.loc-list::-webkit-scrollbar { width: 6px; }
.loc-list::-webkit-scrollbar-track { background: transparent; }
.loc-list::-webkit-scrollbar-thumb { background: #C3D3DF; border-radius: 3px; }
.loc-list::-webkit-scrollbar-thumb:hover { background: #9FB6C6; }
.loc-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-bottom: 1px dashed var(--c-border);
}
.loc-list li:last-child { border-bottom: 0; }
.loc-icon { flex: 0 0 auto; margin-top: 3px; }
.loc-icon svg { width: 18px; height: 18px; }
.loc-city { font-weight: 700; font-size: .95rem; color: var(--c-primary-dark); }
.loc-role { font-size: .8rem; color: var(--c-text-soft); }
.loc-type {
  margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 3px 8px; border-radius: 3px; white-space: nowrap;
}
.t-wh { background: #E3EDF6; color: var(--c-primary); }
.t-sp { background: #E3EDF6; color: var(--c-primary); }
.t-of { background: #DDF2FA; color: var(--c-accent-dark); }
.t-pl { background: #FBF0DC; color: var(--c-warning); }

/* ----------------------------------------------------------- 14. FAQ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 16px 20px; cursor: pointer; text-align: left;
  font-size: 1rem; font-weight: 700; color: var(--c-primary-dark);
}
.faq-q:hover { background: var(--c-bg-soft); }
.faq-q .ico { flex: 0 0 22px; width: 22px; height: 22px; transition: transform var(--transition); fill: var(--c-accent); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--c-text-soft); font-size: .95rem; }
.faq-item.open .faq-a { display: block; }

/* ------------------------------------------------------- 15. CTA band */
.cta-band {
  background: linear-gradient(110deg, var(--c-primary-dark), var(--c-primary) 60%, var(--c-primary-light));
  color: #fff; padding: 56px 0; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #CFE0EE; max-width: 62ch; margin: 0 auto 26px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------- 16. Breadcrumb */
.breadcrumb {
  background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border);
  font-size: .84rem; padding: 12px 0;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { color: var(--c-text-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--c-border-strong); }
.breadcrumb a { color: var(--c-primary); }
.breadcrumb [aria-current="page"] { color: var(--c-text); font-weight: 600; }

/* ------------------------------------------------------ 17. Page header */
.page-head {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: #fff; padding: 46px 0 42px;
}
.page-head h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); margin-bottom: 10px; }
.page-head p { color: #C8DCEA; max-width: 70ch; margin: 0; }
.page-head .crumb-inline { font-size: .82rem; color: #9FC3DC; margin-bottom: 10px; }
.page-head .crumb-inline a { color: #BFE3F5; }

/* ------------------------------------------------- 18. Product catalogue */
.cat-layout { display: block; }
.cat-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border);
}
.cat-toolbar select {
  padding: 8px 12px; border: 1px solid var(--c-border-strong); border-radius: var(--radius); background: #fff;
}
.result-count { font-size: .9rem; color: var(--c-text-soft); }
.result-count strong { color: var(--c-primary); font-size: 1.05rem; }
.active-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.active-tag {
  display: inline-flex; align-items: center; gap: 6px; background: var(--c-bg-alt);
  border: 1px solid var(--c-border); border-radius: 999px; padding: 4px 10px; font-size: .78rem;
}
.active-tag button { background: none; border: 0; cursor: pointer; color: var(--c-steel); font-size: 1rem; line-height: 1; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--c-primary-light); }
.pc-media { height: 130px; position: relative; }
.pc-media svg { width: 100%; height: 100%; }
.pc-badge {
  position: absolute; left: 10px; top: 10px; font-size: .66rem; font-weight: 800;
  letter-spacing: .06em; padding: 3px 8px; border-radius: 3px; color: #fff; background: var(--c-primary);
}
.pc-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.pc-family { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--c-accent-dark); text-transform: uppercase; }
.pc-grade { font-size: 1.06rem; font-weight: 800; color: var(--c-primary-dark); margin: 4px 0 6px; line-height: 1.25; }
.pc-short { font-size: .85rem; color: var(--c-text-soft); min-height: 3.4em; }
.pc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 12px; }
.pc-meta span { font-size: .72rem; background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 3px; padding: 2px 7px; color: var(--c-steel); }
.pc-cas { font-family: var(--font-mono); font-size: .74rem; color: var(--c-text-soft); }
.pc-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-border); }
.pc-actions .btn { flex: 1; }
.empty-state {
  text-align: center; padding: 60px 20px; background: var(--c-bg-soft);
  border: 1px dashed var(--c-border-strong); border-radius: var(--radius-lg); color: var(--c-text-soft);
}

/* 产品网格分页 */
.pager {
  grid-column: 1 / -1; display: flex; justify-content: center; align-items: center;
  gap: 6px; margin: 20px 0 4px; flex-wrap: wrap;
}
.pg-btn {
  min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border-strong); background: var(--c-bg); border-radius: var(--radius-md, 8px);
  font-size: .92rem; font-weight: 600; cursor: pointer; color: var(--c-text); transition: all .15s ease;
}
.pg-btn:hover:not(:disabled):not(.pg-cur) { border-color: var(--c-primary); color: var(--c-primary); }
.pg-btn.pg-cur { background: var(--c-primary); border-color: var(--c-primary); color: #fff; cursor: default; }
.pg-btn:disabled { opacity: .35; cursor: default; }
.pg-dots { color: var(--c-text-soft); padding: 0 2px; }
.pg-info { margin-left: 10px; font-size: .85rem; color: var(--c-text-soft); font-variant-numeric: tabular-nums; }


/* --------------------------------------------------- 19. Product detail */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
/* 右侧栏整体吸附：左侧物性表/应用等长内容滚动时，右栏（相关牌号等）保持固定不随滚轮移动 */
.detail-layout > aside { position: sticky; top: 84px; align-self: start; }
.detail-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 26px; margin-bottom: 24px;
}
.detail-card h2 { font-size: 1.3rem; padding-bottom: 12px; border-bottom: 2px solid var(--c-bg-alt); margin-bottom: 18px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--c-border); font-size: .92rem; text-align: left; }
.spec-table thead th { background: var(--c-bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--c-primary); }
.spec-table tbody tr:nth-child(even) { background: #FBFCFE; }
/* 典型值列与「物性项目」「单位」统一为正文常规字体，不再用等宽/加粗区分 */
.spec-table td:nth-child(3) { font-family: inherit; font-weight: 400; color: var(--c-text); }
.spec-table td:nth-child(2) { color: var(--c-text-soft); }
/* 物性表「子型号双列」：典型值按子型号拆成两列（如 ET-4016C 的 ET-4016CB / ET-4016CH） */
.spec-table--models thead th[colspan] { text-align: center; }
.spec-table--models .spec-model-head th {
  background: #F4F8FB; text-align: center; font-size: .78rem; letter-spacing: .04em;
  border-bottom: 1px solid var(--c-border);
}
.spec-table--models td.spec-shared { text-align: center; }
.spec-table--models td:nth-child(3),
.spec-table--models td:nth-child(4) { text-align: center; font-family: inherit; font-weight: 400; color: var(--c-text); }
/* 应用选型矩阵（文字表，非牌号数值表）：四列统一常规字体与字重，不做等宽/加粗强调 */
.spec-table--matrix td:nth-child(2),
.spec-table--matrix td:nth-child(3) { font-family: inherit; font-weight: 400; color: var(--c-text); }
.detail-hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 22px; }
.detail-hero-meta div { min-width: 130px; }
.detail-hero-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-steel); font-weight: 700; }
.detail-hero-meta dd { margin: 3px 0 0; font-size: .98rem; font-weight: 700; color: var(--c-primary-dark); }
.app-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.app-tags span {
  background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 999px;
  padding: 5px 14px; font-size: .85rem; font-weight: 600; color: var(--c-primary);
}
.pack-list { list-style: none; padding: 0; margin: 0; }
.pack-list li {
  display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--c-border); font-size: .93rem;
}
.pack-list li:last-child { border-bottom: 0; }
.pack-list svg { width: 16px; height: 16px; fill: var(--c-success); flex: 0 0 auto; }
.doc-row { display: flex; gap: 12px; flex-wrap: wrap; }
.side-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 22px;
}
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.side-card .sub { font-size: .84rem; color: var(--c-text-soft); margin-bottom: 16px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 8px 0; border-bottom: 1px dashed var(--c-border); font-size: .88rem; }
.side-list svg { width: 16px; height: 16px; flex: 0 0 auto; fill: var(--c-primary); margin-top: 3px; }
.side-list a { display: flex; justify-content: space-between; gap: 10px; color: var(--c-text); }
.side-list a:hover { color: var(--c-primary); }
.side-list .g { font-family: var(--font-mono); font-size: .8rem; }

/* ------------------------------------------------------- 20. Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--c-graphite); }
.field label .req { color: var(--c-danger); }
.field input, .field select, .field textarea {
  padding: 11px 13px; border: 1px solid var(--c-border-strong); border-radius: var(--radius);
  background: #fff; font-size: .93rem; width: 100%; transition: border-color var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-accent); outline: none; box-shadow: 0 0 0 3px rgba(0,160,220,.14);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input[readonly] { background: var(--c-bg-soft); color: var(--c-steel); font-family: var(--font-mono); }
.field .hint { font-size: .74rem; color: var(--c-text-soft); }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-box {
  background: var(--c-bg-alt); border: 1px dashed var(--c-border-strong); border-radius: var(--radius);
  padding: 10px 14px; font-family: var(--font-mono); font-weight: 700; font-size: .95rem;
  white-space: nowrap; color: var(--c-primary-dark);
}
.captcha-row input { flex: 1; min-width: 90px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius); font-size: .9rem; display: none; margin-bottom: 16px; }
.form-msg.show { display: block; }
.form-msg.error { background: #FDECEA; border: 1px solid #F5C6C2; color: #8C2B21; }
.form-msg.success { background: #E7F6EE; border: 1px solid #B6E3C9; color: #13643C; }
.form-msg.info { background: #E9F3FB; border: 1px solid #BBD8F0; color: #0B4C73; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--c-text-soft); }
.consent-row input { margin-top: 3px; accent-color: var(--c-primary); }

/* ------------------------------------------------------- 21. Modal */
.modal {
  position: fixed; inset: 0; z-index: 3000; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 41, 74, .62); backdrop-filter: blur(2px); }
.modal-dialog {
  position: relative; background: #fff; border-radius: var(--radius-lg); width: 100%;
  max-width: 640px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
  border-bottom: 1px solid var(--c-border); background: var(--c-bg-soft);
}
.modal-head h3 { margin: 0; font-size: 1.15rem; }
.modal-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--c-steel); }
.modal-body { padding: 24px; }
.modal-foot { padding: 0 24px 24px; font-size: .8rem; color: var(--c-text-soft); }

/* ------------------------------------------------------- 22. News list */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-media { height: 150px; }
.news-media svg { width: 100%; height: 100%; }
.news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: .76rem; color: var(--c-accent-dark); font-weight: 700; letter-spacing: .04em; }
.news-card h3 { font-size: 1.05rem; margin: 8px 0 8px; }
.news-card p { font-size: .88rem; color: var(--c-text-soft); }
.news-card .more { margin-top: auto; font-weight: 700; font-size: .88rem; }

/* --------------------------------------------------- 23. Content blocks */
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose ul li { margin-bottom: 6px; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: .82rem; color: var(--c-text-soft); text-align: center; margin-top: 8px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: #fff; border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent);
  border-radius: var(--radius); padding: 20px;
}
.info-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.info-card p { font-size: .9rem; color: var(--c-text-soft); margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: var(--c-border);
}
.timeline li { position: relative; padding-left: 124px; margin-bottom: 22px; }
.timeline .year {
  position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-weight: 800;
  color: var(--c-primary); font-size: .95rem; width: 82px; text-align: right;
}
.timeline li::before {
  content: ""; position: absolute; left: 86px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--c-accent);
}
.timeline h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline p { font-size: .88rem; color: var(--c-text-soft); margin: 0; }

/* --------------------------------------------------- 24. Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
/* 单列版（联系页停用询盘表单/地图时用）：内容居中收窄，不留下半栏空白 */
.contact-layout--solo { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0 auto; }
.contact-info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-info-list li {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--c-border);
}
.contact-info-list svg { width: 20px; height: 20px; fill: var(--c-primary); flex: 0 0 auto; margin-top: 2px; }
.contact-info-list .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-steel); font-weight: 700; }
.contact-info-list .v { font-size: .98rem; font-weight: 600; color: var(--c-primary-dark); }
.map-placeholder {
  background: var(--c-bg-soft); border: 1px dashed var(--c-border-strong); border-radius: var(--radius-lg);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--c-text-soft); font-size: .88rem; padding: 24px;
}
.map-placeholder svg { width: 54px; height: 54px; margin: 0 auto 12px; fill: var(--c-border-strong); }

/* --------------------------------------------------------- 25. Footer */
.site-footer { background: var(--c-graphite); color: #C3CED8; font-size: .9rem; margin-top: 0; }
.site-footer a { color: #C3CED8; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; padding: 48px 0 36px; }
.footer-col h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 14px; }
.footer-logo img { height: 30px; width: auto; display: block; }
.footer-contact li { display: flex; gap: 8px; }
.footer-contact svg { width: 15px; height: 15px; fill: #7E97AC; flex: 0 0 auto; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid #3A444D; padding: 18px 0; font-size: .8rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom ul { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.footer-disclaimer { background: #232A31; padding: 14px 0; font-size: .76rem; color: #8FA3B4; }

/* ------------------------------------------------- 26. Floating widgets */
.float-widgets { position: fixed; right: 16px; bottom: 16px; z-index: 1500; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 24px; height: 24px; fill: #fff; }
.float-wa { background: #25D366; }
.float-mail { background: var(--c-primary); }
.float-top { background: var(--c-steel); display: none; }
.float-top.show { display: flex; }

/* ------------------------------------------------------- 27. Responsive */
@media (max-width: 1200px) {
  .mega { width: 196px; }
  .mega.is-expanded { width: 440px; }
  .mega-inner { grid-template-columns: 196px; }
  .mega.is-expanded .mega-inner { grid-template-columns: 196px minmax(0, 1fr); }
  .mega.is-expanded.forms-open { width: 736px; }
  .mega.is-expanded.forms-open .mega-inner { grid-template-columns: 196px 242px minmax(0, 1fr); }
  .mega-panels { padding: 22px 22px 24px; }
  /* 第三列标题行已移除：与第二列首项对齐 */
  .mega-forms-col { padding-top: 22px; }
  .brand-grid, .fam-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .primary-nav, .header-cta .btn-quote { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .product-grid, .news-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-layout > aside { position: static; }
  .app-panel-card { grid-template-columns: 1fr; }
  .global-layout { grid-template-columns: 1fr; }
  .loc-list { max-height: 320px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .hero { min-height: auto; }
  .hero h1 { max-width: none; }
  .topbar-left .hide-sm { display: none; }
  .brand-grid, .fam-grid, .product-grid, .news-grid, .info-grid, .cert-wall { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .chain-step { flex: 1 1 100%; border-left: 1px solid var(--c-border) !important; border-radius: var(--radius) !important; }
  .chain-step + .chain-step { border-top: 0; }
  .timeline::before { display: none; }
  .timeline li { padding-left: 0; }
  .timeline .year { position: static; text-align: left; width: auto; display: block; }
  .timeline li::before { display: none; }
  .app-kv { grid-template-columns: 1fr; }
  .float-widgets { right: 10px; bottom: 10px; }
  .float-btn { width: 42px; height: 42px; }
}
@media (max-width: 480px) {
  .brand-grid, .fam-grid, .product-grid, .news-grid, .cert-wall { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .btn { padding: 11px 18px; font-size: .9rem; }
}

/* ------------------------------------------------- 28. Print & a11y */
@media print {
  .site-header, .topbar, .site-footer, .float-widgets, .mobile-nav, .cta-band { display: none !important; }
  body { font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =============================================================================
 * 编辑器（就地编辑模式）— 只在 ?edit=1 / Ctrl+Alt+E 时启用，不影响访客
 * ========================================================================== */
.pf-editing body { padding-top: 50px; }
.pf-editing [data-block] { position: relative; }

.pf-editing main [contenteditable="true"] {
  outline: 1px dashed rgba(0, 160, 220, .45);
  outline-offset: 3px;
  border-radius: 2px;
  transition: background .15s ease, outline-color .15s ease;
}
.pf-editing main [contenteditable="true"]:hover { background: rgba(0, 160, 220, .07); }
.pf-editing main [contenteditable="true"]:focus {
  outline: 2px solid var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 160, 220, .12);
}

/* 版块删除按钮 */
.pf-del {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 60;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-danger);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.pf-editing [data-block]:hover > .pf-del { opacity: 1; pointer-events: auto; }
.pf-del:hover { transform: scale(1.08); }

/* 已隐藏的版块：编辑态仍显形，便于恢复 */
.pf-editing [data-pf-hidden] {
  opacity: .38;
  outline: 2px dashed var(--c-danger);
  outline-offset: -4px;
}
.pf-hidden-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 60;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--c-danger);
  color: #fff;
  font-size: 11px;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

/* 顶部工具条 */
.pf-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 16px;
  background: #0B1B2B;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.pf-bar .pf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #24D07A; box-shadow: 0 0 0 4px rgba(36, 208, 122, .2);
  flex: none;
}
.pf-bar strong { font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.pf-bar .pf-page {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #9FB4C6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 32vw;
}
.pf-bar .pf-dirty { font-size: 11.5px; color: #8FA3B5; white-space: nowrap; }
.pf-bar .pf-dirty.on { color: #FFC24B; font-weight: 600; }
.pf-bar .pf-hint {
  font-size: 11.5px;
  color: #7E97AC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-bar .pf-actions { margin-left: auto; display: flex; gap: 8px; flex: none; }
.pf-bar button {
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.pf-bar button:hover { background: rgba(255, 255, 255, .12); }
.pf-bar button[data-pf="save"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  font-weight: 600;
}
.pf-bar button[data-pf="save"]:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }
.pf-bar button:disabled { opacity: .6; cursor: default; }

/* 右下角编辑入口按钮（点击后需口令，访客无法进入） */
.pf-edit-entry {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9997;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #0F2B43;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .38;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
  transition: opacity .2s ease, transform .2s ease;
}
.pf-edit-entry:hover {
  opacity: 1;
  transform: scale(1.08);
  background: #16405F;
}
html.pf-editing .pf-edit-entry { display: none; }

/* 口令输入 */
.pf-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 22, 36, .55);
  backdrop-filter: blur(3px);
  font-family: var(--font-sans);
}
.pf-gate-card {
  width: min(380px, 92vw);
  padding: 26px 24px 20px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.pf-gate-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--c-graphite); }
.pf-gate-card p { margin: 0 0 16px; font-size: 12.5px; line-height: 1.6; color: var(--c-text-soft); }
.pf-gate-card input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--c-border-strong);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--c-text);
}
.pf-gate-card input:focus { outline: 2px solid var(--c-accent); outline-offset: -1px; border-color: var(--c-accent); }
.pf-gate-msg { min-height: 18px; margin-top: 8px; font-size: 12px; color: var(--c-danger); }
.pf-gate-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.pf-gate-actions button {
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--c-border-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--c-text);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.pf-gate-actions button.primary {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  font-weight: 600;
}

/* 轻提示 */
.pf-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 10001;
  transform: translate(-50%, 16px);
  max-width: 80vw;
  padding: 11px 20px;
  border-radius: 4px;
  background: #0B1B2B;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}
.pf-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pf-toast.ok { background: #146B45; }
.pf-toast.err { background: #A5281C; }

@media (max-width: 768px) {
  .pf-bar { gap: 8px; padding: 0 10px; }
  .pf-bar .pf-hint { display: none; }
  .pf-bar .pf-page { max-width: 26vw; }
  .pf-bar button { padding: 0 10px; font-size: 12px; }
}

/* 页头新 logo：移动端缩小 */
@media (max-width: 768px) { .logo-img { height: 36px; } }

/* ---------------------------------------------- 首页：可持续性（Sustainability）板块 */
.sustain-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 56px 60px; max-width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 60px; align-items: center;
}
.sustain-copy { min-width: 0; }
.sustain-eyebrow {
  margin: 0 0 14px; font-size: .72rem; font-weight: 700; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-dark);
}
.sustain-title {
  font-size: clamp(1.5rem, 1.15rem + .7vw, 1.95rem); line-height: 1.25;
  color: var(--c-primary); letter-spacing: .01em; margin: 0;
}
.sustain-title::after {
  content: ''; display: block; width: 56px; height: 3px; border-radius: 2px;
  background: var(--c-accent); margin-top: 16px;
}
.sustain-text {
  color: var(--c-text-soft); font-size: .96rem; line-height: 1.82;
  margin: 22px 0 28px; max-width: 60ch;
}
.sustain-btn { border-radius: 999px; gap: 8px; }

/* 右侧关键承诺清单 */
.sustain-facts {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--c-border); border-radius: 10px;
  background: var(--c-bg-soft); overflow: hidden;
  align-self: stretch; display: flex; flex-direction: column; justify-content: center;
}
.sustain-fact {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 22px; border-bottom: 1px solid var(--c-border);
  flex: 1;
  transition: background var(--transition);
}
.sustain-fact:last-child { border-bottom: 0; }
.sustain-fact:hover { background: #fff; }
.sustain-fact-v {
  position: relative; flex: 0 0 auto; min-width: 136px;
  padding-left: 14px;
  font-size: 1rem; font-weight: 700; color: var(--c-primary);
  letter-spacing: .01em; line-height: 1.3;
}
.sustain-fact-v::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px;
  margin-top: -3px; border-radius: 50%; background: var(--c-accent);
}
.sustain-fact-l {
  font-size: .82rem; line-height: 1.5; color: var(--c-text-soft); text-align: right;
}

@media (max-width: 980px) {
  .sustain-card { grid-template-columns: 1fr; gap: 30px; padding: 40px 34px; }
  .sustain-text { max-width: none; }
  .sustain-facts { align-self: stretch; }
}
@media (max-width: 640px) {
  .sustain-card { padding: 28px 22px; }
  .sustain-text { font-size: .93rem; margin: 18px 0 24px; }
  .sustain-fact { flex-direction: column; align-items: flex-start; gap: 4px; padding: 15px 18px; }
  .sustain-fact-v { min-width: 0; font-size: .95rem; }
  .sustain-fact-l { font-size: .78rem; text-align: left; }
}
