/* ============================================================
   BOYLE Chemical — corporate website · EASTMAN-inspired redesign
   Palette: brand blue #005695 · teal #00A69B · deep green #145A46
   Canvas: white / light gray · pill buttons · product-led hero
   ============================================================ */

:root {
  --blue-900: #003a63;
  --brand-blue: #005695;
  --blue-700: #0068ad;
  --brand-teal: #00a69b;
  --teal-dark: #00877e;
  --brand-green: #145a46;
  --ink: #0b1f33;
  --ink-soft: #1f2f3f;
  --muted: #5b6b7a;
  --mist: #f4f6f8;
  --blue-soft: #eaf2f8;
  --line: #dfe7ed;
  --white: #ffffff;
  --danger: #b3362a;
  --font-sans: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, 0.05), 0 4px 14px rgba(11, 31, 51, 0.05);
  --shadow-md: 0 2px 6px rgba(11, 31, 51, 0.06), 0 16px 36px rgba(11, 31, 51, 0.1);
  --header-h: 86px;
  /* 字重令牌：拉丁文（英/西）字面比中文更重，按语言整体降一档，见下方 html[lang=…] */
  --fw-bold: 700;
  --fw-heavy: 800;
}

* { box-sizing: border-box; }

/* Vercel Web Interface Guidelines：消除移动端双击缩放延迟；点按高亮改为有意设置 */
a, button, input, select, textarea, summary { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(0, 86, 149, 0.12); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

/* 英/西语字面比中文更重：加粗档整体降一级（700→600、800→700）；中文（zh-CN）保持原样 */
html[lang="en"],
html[lang="es"] {
  --fw-bold: 600;
  --fw-heavy: 700;
}
html[lang="en"] strong, html[lang="en"] b,
html[lang="es"] strong, html[lang="es"] b { font-weight: var(--fw-bold); }

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

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: var(--fw-heavy);
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 3px solid var(--brand-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

.muted { color: var(--muted); }

.eyebrow {
  font-size: 0.95rem;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.55rem;
}

.eyebrow-light { color: rgba(255, 255, 255, 0.75); }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pill {
  display: inline-block;
  padding: 0.32rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.pill-link {
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.pill-link:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--blue-soft);
  text-decoration: none;
}

/* ---------- Buttons (pill style, EASTMAN-inspired) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: var(--fw-heavy);
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s, box-shadow 0.18s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 86, 149, 0.25);
  text-decoration: none;
}

.btn-accent {
  background: var(--brand-teal);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 166, 155, 0.3);
  text-decoration: none;
}

.btn-outline {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}
.btn-outline:hover {
  background: var(--brand-blue);
  color: var(--white);
  text-decoration: none;
}

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.btn-ghost-dark {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}
.btn-ghost-dark:hover {
  background: var(--brand-blue);
  color: var(--white);
  text-decoration: none;
}

.link-arrow { font-weight: var(--fw-heavy); font-size: 1.05rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: var(--fw-heavy);
  font-size: 0.92rem;
  color: var(--brand-blue);
}
.link-more::after { content: "→"; transition: transform 0.18s; }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

/* Homepage: header floats over the full-bleed hero */
.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  /* 注意：这里不能加 overflow，否则会裁掉绝对定位的二级菜单 */
}
.page-home .utility { display: none; }
.page-home .site-header:not(.scrolled) .nav-link {
  color: var(--white);
}
/* 透明导航压在深色首屏图上：改用白色字标；滚动变白后换回品牌蓝字标 */
.page-home .site-header:not(.scrolled) .brand-logo-dark { display: none; }
.page-home .site-header:not(.scrolled) .brand-logo-light { display: block; }
.page-home .site-header:not(.scrolled) .nav-link:hover {
  color: var(--brand-teal);
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.page-home .site-header:not(.scrolled) .nav-item.active .nav-link {
  color: var(--brand-teal);
  border-bottom-color: var(--brand-teal);
}
.page-home .site-header:not(.scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.4);
}
.page-home .site-header:not(.scrolled) .nav-toggle .bar {
  background: var(--white);
}
.page-home .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}
.page-home .site-header.scrolled .nav-toggle .bar { background: var(--ink); }

.utility {
  background: var(--mist);
  color: var(--muted);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--line);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.utility a {
  color: var(--brand-blue);
  text-decoration: none;
}
.utility a:hover { color: var(--blue-900); }

.utility-actions { display: flex; align-items: center; gap: 0.9rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
}

.lang-switch {
  font-weight: var(--fw-heavy);
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

/* 三语切换器（EN · 中文 · ES）：当前语言不可点，其余为链接 */
.lang-switch-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lang-switch-group .lang-switch { color: var(--brand-blue); }
.lang-switch-group .lang-switch:hover { color: var(--blue-900); }
.lang-switch-group .lang-current { color: var(--muted); font-weight: var(--fw-heavy); }
.lang-switch-group .lang-sep { color: var(--line); font-weight: 400; }

/* 首页透明导航状态下的切换器配色 */
.page-home .site-header:not(.scrolled) .lang-switch-group .lang-switch { color: rgba(255, 255, 255, 0.9); }
.page-home .site-header:not(.scrolled) .lang-switch-group .lang-switch:hover { color: var(--white); }
.page-home .site-header:not(.scrolled) .lang-switch-group .lang-current { color: rgba(255, 255, 255, 0.62); }
.page-home .site-header:not(.scrolled) .lang-switch-group .lang-sep { color: rgba(255, 255, 255, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
/* 字标：已裁掉原图留白，按高度缩放（36 → 48，去掉右侧品牌文字后视觉更平衡） */
.brand-logo { display: block; width: auto; height: 48px; }
.brand-logo-light { display: none; }

.main-nav { display: block; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem 0.65rem;
  font-weight: var(--fw-bold);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-teal);
  background: transparent;
  text-decoration: none;
}

.sub-toggle::after {
  content: "▾";
  font-size: 0.7em;
  color: var(--muted);
}

/* ---------- 二级菜单：白卡片（用户选定方案）----------
   白色面板 · 3px 品牌色渐变顶线 · 16px 圆角 · 柔和阴影 · 标题＋一行说明。
   已去掉左栏数据表索引与数据点；保留整体一次过渡（不做逐项飞入——
   frontend-design 明确把「每项 fade-and-slide」列为 AI 生成痕迹）。 */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 90;
  min-width: 320px;
  max-width: 380px;
  margin: 0;
  padding: 0.55rem 0.5rem 0.7rem;   /* 底部略大于顶部，视觉更稳 */
  list-style: none;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(11, 31, 51, 0.06), 0 22px 46px rgba(11, 31, 51, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) translateX(var(--submenu-shift, 0px));
  transform-origin: top left;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.25, 1), visibility 0.18s;
  overflow: hidden;                 /* 让顶部色条贴合圆角 */
}

/* 条目多或含三级时面板略宽 */
.submenu-wide { min-width: 360px; }

/* 顶部 3px 品牌色渐变线 */
.submenu::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal));
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(var(--submenu-shift, 0px));
}

/* 统一向右展开（left: 0）：若有面板要超出视口，由 site.js 只做最小左移补偿 */
.nav-list > .nav-item .submenu { left: 0; right: auto; }

.submenu li + li { border-top: 1px solid var(--blue-soft); }

.submenu li > a {
  display: block;
  padding: 0.62rem 0.8rem 0.62rem 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.16s, color 0.16s;
}
.submenu li > a:hover { background: var(--blue-soft); text-decoration: none; }

.sub-title { display: block; font-size: 0.9rem; font-weight: var(--fw-bold); line-height: 1.35; }
.submenu li > a:hover .sub-title { color: var(--brand-blue); }

.sub-desc {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: 0;
}

/* 三级菜单（业务板块 → 品牌代理 / 原料寻源 / 定制研发） */
.submenu-nested {
  list-style: none;
  margin: 0.1rem 0 0.5rem;
  padding: 0 0 0 0.55rem;
  border-left: 2px solid var(--blue-soft);
}
.submenu-nested a {
  display: block;
  padding: 0.42rem 0.6rem 0.42rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.submenu-nested a:hover { background: var(--blue-soft); color: var(--brand-blue); }

/* ---------- macOS/iOS 控制中心风格的液态玻璃（网页近似实现）----------
   材质配方由用户在实时调参页（preview/glass-tuner.html）逐项调定：
   灰底 rgba(126,136,149,.30) · blur 5px · saturate 150% · contrast 1.15 · brightness 0.68
   圆角 14px · 边缘描边 0.08 · 顶部内高光 0.50 · 斜向高光 0.22 · 文字阴影 0.42
   注：Apple 只为自家平台发布 Liquid Glass，网页端无官方 CSS，此处为近似复刻。 */
.page-home .site-header:not(.scrolled) .submenu {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.11)),
    rgba(126, 136, 149, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    0 2px 10px rgba(0, 0, 0, 0.24),
    0 22px 60px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(5px) saturate(150%) contrast(1.15) brightness(0.68);
  backdrop-filter: blur(5px) saturate(150%) contrast(1.15) brightness(0.68);
}
/* 边缘折射：内描边（不吃点击事件） */
.page-home .site-header:not(.scrolled) .submenu::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.page-home .site-header:not(.scrolled) .submenu::before { background: rgba(255, 255, 255, 0.30); }
.page-home .site-header:not(.scrolled) .submenu li + li { border-top-color: rgba(255, 255, 255, 0.16); }
.page-home .site-header:not(.scrolled) .sub-title {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);
}
.page-home .site-header:not(.scrolled) .submenu li > a:hover { background: rgba(255, 255, 255, 0.16); }
.page-home .site-header:not(.scrolled) .submenu li > a:hover .sub-title { color: var(--white); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55); }
.page-home .site-header:not(.scrolled) .sub-desc {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.40);
}
.page-home .site-header:not(.scrolled) .submenu-nested { border-left-color: rgba(255, 255, 255, 0.22); }
.page-home .site-header:not(.scrolled) .submenu-nested a { color: rgba(255, 255, 255, 0.96); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.40); }
.page-home .site-header:not(.scrolled) .submenu-nested a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}
.page-home .site-header:not(.scrolled) .submenu li > a:hover .sub-title { color: var(--brand-teal); text-shadow: none; }
.page-home .site-header:not(.scrolled) .sub-desc {
  color: var(--white);                          /* 全白：用字号/字重区分层级，换取更低的面板不透明度 */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 0.45);
}
.page-home .site-header:not(.scrolled) .submenu-nested { border-left-color: rgba(255, 255, 255, 0.22); }
.page-home .site-header:not(.scrolled) .submenu-nested a { color: var(--white); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 0.45); }
.page-home .site-header:not(.scrolled) .submenu-nested a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}


.header-cta { display: inline-flex; }
.header-cta .btn { padding: 0.58rem 1.15rem; font-size: 0.86rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
  /* 移动端菜单较高时自身可滚动（滚动约束放在面板上，避免裁掉桌面端下拉菜单） */
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-list {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1.25rem 0.8rem;
}
.mobile-list a {
  display: block;
  padding: 0.72rem 0;
  color: var(--ink);
  font-weight: var(--fw-bold);
  border-bottom: 1px solid var(--blue-soft);
  text-decoration: none;
}

.m-sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.72rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--blue-soft);
  color: var(--ink);
  font-weight: var(--fw-bold);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}
.m-sub-toggle::after { content: "+"; font-size: 1.1rem; color: var(--muted); }
.m-sub-toggle[aria-expanded="true"]::after { content: "−"; }
.m-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 1rem;
}
.m-submenu a {
  font-weight: 600;
  color: var(--muted);
  border-bottom: 0;
  font-size: 0.94rem;
}
/* 移动端三级菜单 */
.m-submenu .sub-group-link { font-weight: var(--fw-bold); color: var(--ink); }
/* 移动端不显示说明文字：面板更长反而更难扫读，点按目标以标题为主 */
.m-submenu .sub-desc { display: none; }
.m-submenu .sub-title { display: block; }
.m-submenu .submenu-nested {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.85rem;
  border-left: 2px solid var(--line);
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.25rem 1.1rem;
}

/* ---------- Search overlay ---------- */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 29, 51, 0.72);
  backdrop-filter: blur(4px);
  z-index: 300;
  padding-top: 12vh;
}

.search-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  max-height: 70vh;
  overflow: auto;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 0.55rem;
}

.search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 1.15rem;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
}

.search-field .icon-btn { color: var(--brand-blue); font-size: 1.5rem; }

.search-results {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}
.search-results li + li { border-top: 1px solid var(--blue-soft); }
.search-results a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.3rem;
  color: var(--ink);
  font-weight: 600;
}
.search-results a:hover { color: var(--brand-blue); text-decoration: none; }
.search-results .sr-type { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.search-empty { color: var(--muted); padding: 0.8rem 0.3rem; margin: 0; }

/* ---------- Home hero (full-bleed, EASTMAN-style) ---------- */

.home-hero {
  position: relative;
  min-height: 640px;
  min-height: 100svh;
  overflow: hidden;
  background: #071a2c;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 16, 31, 0.82) 0%, rgba(2, 16, 31, 0.48) 48%, rgba(2, 16, 31, 0.1) 100%),
    linear-gradient(180deg, rgba(2, 16, 31, 0.5) 0%, rgba(2, 16, 31, 0) 32%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.hero-copy-inner {
  padding-top: calc(var(--header-h) + 1.2rem);
  padding-bottom: 4.2rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--brand-teal);
  font-size: 0.95rem;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-teal);
}

.hero-copy h1,
.hero-title {
  display: block;
  margin: 0 0 1rem;
  color: var(--white);
  font-size: clamp(2.35rem, 5.4vw, 4.05rem);
  font-weight: var(--fw-heavy);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 15ch;
  text-wrap: balance;
}

.hero-copy .hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  max-width: 58ch;
  margin-bottom: 1.9rem;
}
.hero-copy .hero-actions { margin-bottom: 0; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.2rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
.hero-dot {
  width: 34px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.75); }
.hero-dot.is-active {
  width: 52px;
  background: var(--brand-teal);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--brand-blue);
  text-decoration: none;
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-white { background: var(--white); }
.section-mist { background: var(--mist); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head .eyebrow { margin-bottom: 0.35rem; }
.section-head h2 { margin-bottom: 0; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.6rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, #f6fafd 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero-sm { padding: clamp(1.8rem, 3.5vw, 2.8rem) 0; }
.page-hero > .container { position: relative; z-index: 1; }

.page-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(48%, 720px);
  overflow: hidden;
  pointer-events: none;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 250, 253, 0.9) 0%, rgba(246, 250, 253, 0.35) 45%, rgba(246, 250, 253, 0.12) 100%);
}

.page-hero h1 { color: var(--ink); }
/* 占位文案（待编辑）：视觉上明确是待填内容，不是正式文案 */
.hero-placeholder {
  color: var(--muted) !important;
  font-style: italic;
  font-weight: 500;
  opacity: 0.85;
}
h1.hero-placeholder {
  border-bottom: 1px dashed var(--line);
  display: inline-block;
  padding-bottom: 0.15em;
}
.page-hero p:not(.eyebrow) {
  color: var(--muted);
  max-width: 72ch;
  margin-bottom: 0.5rem;
}
.page-hero .pill {
  background: var(--white);
  border-color: var(--line);
  color: var(--muted);
}

.breadcrumb {
  font-size: 0.86rem;
  margin-bottom: 1rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--brand-blue); }
.breadcrumb a:hover { color: var(--blue-900); }
.breadcrumb span { color: var(--ink); }

.bench {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Product finder (EASTMAN-style) ---------- */

.finder {
  padding: clamp(2.8rem, 5.5vw, 4.6rem) 0;
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f7 100%);
  border-bottom: 1px solid var(--line);
}

.finder-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.finder h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}
.finder-copy p:last-child {
  color: var(--muted);
  margin: 0;
  max-width: 46ch;
}

.finder-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.05rem, 2vw, 1.45rem);
  box-shadow: var(--shadow-sm);
}

.finder-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.2rem 0.2rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.finder-bar:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.finder-icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
}
.finder-bar input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.15rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}
.finder-bar input::placeholder { color: var(--muted); }
.finder-go {
  flex: none;
  padding: 0.68rem 1.35rem;
  font-size: 0.9rem;
}
.finder-pills { margin-top: 0.9rem; }

/* ---------- Split feature blocks ---------- */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.2rem, 4.5vw, 4.5rem);
  align-items: center;
}
.split-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-md);
}
.split-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  margin-bottom: 0.8rem;
}
.split-lead {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 54ch;
  margin-bottom: 1.4rem;
}
.split-flip .split-media { order: 2; }
.split-flip .split-copy { order: 1; }

.feature-list {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.7rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-teal);
}
.feature-list-check li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  background: var(--blue-soft);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: var(--fw-heavy);
  border-radius: 50%;
}
.feature-list li strong {
  display: block;
  color: var(--ink);
}
.feature-list li span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}
.split-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

/* ---------- Cards ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* 产品家族卡片：去边框与常驻阴影，靠底色和留白分层，悬停时才抬升 */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.5rem 1.3rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
  transition: background-color 0.18s, transform 0.18s, box-shadow 0.18s;
  overflow: hidden;
}

/* 悬停/聚焦时顶部亮起一条品牌色，作为"当前指向"的反馈 */
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.cat-card:hover,
.cat-card:focus-visible {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--ink);
}

.cat-card:hover::before,
.cat-card:focus-visible::before { transform: scaleX(1); }

.cat-card:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.cat-card h3 { margin-bottom: 0.4rem; font-size: 1.06rem; }
.cat-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex: 1;
}

.cat-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue-soft);
}

.cat-count {
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.cat-card-lg { min-height: 200px; }

/* 唯一重点：首个系列跨两列，其余卡片保持安静 */
.cat-card-feature {
  grid-column: span 2;
  background: var(--blue-soft);
  padding: 1.7rem 1.75rem 1.45rem;
}

.cat-card-feature h3 { font-size: 1.3rem; }

.cat-card-feature p {
  font-size: 0.96rem;
  max-width: 44ch;
}

.cat-card-feature .cat-icon { background: var(--white); }

/* ---------- 首页：合作品牌墙 ---------- */

/* 20 个 logo 的宽高比差异很大：统一放进等高卡片，限定最大高度，保持品牌本色 */
.brand-wall {
  --logo-k: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
/* 按 4 列算宽度、flex 居中换行：logo 数量变化时最后一行也居中，不会留空格或露底 */
.brand-wall-item {
  flex: 0 1 calc((100% - 2.7rem) / 4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 1.3rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
/* 每个 logo 的显示高度由构建器按面积归一出（--logo-h），窄屏用 --logo-k 整体缩放 */
.brand-wall-item img {
  max-width: 100%;
  max-height: calc(var(--logo-h, 54px) * var(--logo-k));
  width: auto;
  height: auto;
}
.brand-wall-item:hover,
.brand-wall-item:focus-within {
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .brand-wall { --logo-k: 0.85; }
  .brand-wall-item { flex: 0 1 calc((100% - 1.8rem) / 3); min-height: 104px; padding: 1.1rem 1.2rem; }
}
@media (max-width: 600px) {
  .brand-wall { --logo-k: 0.75; gap: 0.6rem; }
  .brand-wall-item { flex: 0 1 calc((100% - 0.6rem) / 2); min-height: 88px; padding: 0.9rem; }
}

/* ---------- 产品中心：三维筛选（产品种类 / 行业 / 品牌） ---------- */

/* 卡片主体可点，版本链接独立可点：整卡不再是单个 <a> */
.cat-card-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

.cat-card-main:hover,
.cat-card-main:focus-visible { text-decoration: none; color: inherit; }

.cat-variants {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.variant-link {
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.variant-link:hover { color: var(--brand-teal); }

.variant-chip {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--brand-blue);
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  vertical-align: middle;
  white-space: nowrap;
}

/* 产品中心筛选：三个分组横向并排，组内勾选项横排；不收起、可多选 */
.filter-bar {
  margin-bottom: 1.6rem;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: var(--radius);
  background: var(--mist);
}

.filter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 0.9rem;
  margin-bottom: 0.85rem;
}

.filter-head h2 {
  margin: 0;
  font-size: 1.02rem;
}

.filter-status {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.filter-bar .filter-reset { margin-left: auto; }

/* 三个筛选分组各占一整行，从上到下依次为：产品种类 / 行业 / 品牌（顺序由生成器决定） */
.filter-groups {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.filter-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0.7rem 0.85rem 0.8rem;
  border: 0;
  border-radius: 12px;
  background: var(--white);
}

.filter-panel legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  color: var(--ink);
}

/* legend 用 float 脱出 fieldset 的默认居中，清掉浮动避免撑高 */
.filter-panel legend + * { clear: both; }

.filter-hint {
  margin-left: 0.45rem;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}

/* 产品种类大类标签页：横排、窄屏换行；只切换显示，不改变已勾选的筛选条件 */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.1rem;
  margin: 0 0 0.7rem;
  border-bottom: 1px solid var(--line);
}

.filter-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: -1px;
  padding: 0.42rem 0.7rem 0.5rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.filter-tab:hover {
  color: var(--brand-blue);
  background: var(--blue-soft);
}

.filter-tab[aria-selected="true"] {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
  font-weight: var(--fw-bold);
}

.filter-tab-n {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.filter-tab[aria-selected="true"] .filter-tab-n { color: var(--brand-blue); }

/* 非当前标签里还留着勾选项时，标签末尾点一个青绿圆点提示 */
.filter-tab[data-has-selection="true"]::after {
  content: "";
  align-self: center;
  flex: 0 0 auto;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand-teal);
}

.filter-tabpanel[hidden] { display: none; }

/* 当前大类的"全部"：与二级品类之间用虚线分隔，避免和具体品类混在一起 */
.filter-scope {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: center;
  gap: 0 0.45rem;
  margin: 0 0 0.55rem;
  padding: 0 0.1rem 0.55rem;
  border-bottom: 1px dashed var(--line);
}

.filter-scope input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  accent-color: var(--brand-blue);
}

.filter-scope label {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
}

.filter-scope input:checked + label .filter-text {
  font-weight: var(--fw-bold);
  color: var(--brand-blue);
}

/* 组内二级品类横排：等宽自适应列，复选框严格左对齐 */
.filter-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  min-width: 0;
  align-items: start;
  gap: 0.3rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-item {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: start;
  gap: 0 0.45rem;
  min-width: 0;
}

.filter-item input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0.18rem 0 0;
  accent-color: var(--brand-blue);
}

.filter-item label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
}

.filter-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.filter-n {
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.filter-item input:checked + label .filter-text { font-weight: var(--fw-bold); color: var(--brand-blue); }
.filter-item input:checked + label .filter-n { color: var(--brand-blue); }


.filter-empty {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cat-card[hidden] { display: none; }

/* ---------- 产品中心结果列表（按板块分组，不用卡片） ---------- */

.prod-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.prod-section[hidden],
.prod-row[hidden] { display: none; }

.prod-section-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}

.prod-section-head h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.prod-section-n {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.prod-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prod-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.35rem 1.4rem;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.15s;
}

.prod-row:hover { background: var(--mist); }

.prod-name {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.35;
}

.prod-name a { color: var(--ink); }
.prod-name a:hover { color: var(--brand-blue); }

.prod-desc {
  margin: 0.2rem 0 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.prod-meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1rem;
  white-space: nowrap;
  justify-self: end;
}

.prod-count {
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.prod-count.is-muted { font-weight: 500; opacity: 0.85; }

.prod-action { font-size: 0.82rem; }

.prod-go,
.prod-version {
  font-weight: var(--fw-bold);
  color: var(--brand-blue);
}

.prod-go:hover,
.prod-version:hover { color: var(--brand-teal); }

.prod-ask {
  font-weight: 600;
  color: var(--muted);
}

.prod-ask:hover { color: var(--brand-blue); }

/* 型号行：选中具体品类后在行下展开，横跨整行 */
.prod-models {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0.1rem;
  padding: 0 0 0 0.85rem;
  border-left: 2px solid var(--line);
  list-style: none;
}

.prod-models[hidden] { display: none; }

.prod-model {
  display: grid;
  grid-template-columns: 7rem minmax(0, 13rem) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.2rem 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.84rem;
}

.prod-model:last-child { border-bottom: 0; }

.prod-model-id {
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
}

.prod-model-id a { color: var(--brand-blue); }

.prod-model-bench {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.prod-model-feat {
  color: var(--ink);
  line-height: 1.45;
}

.prod-model-tag {
  justify-self: end;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--brand-blue);
  font-size: 0.66rem;
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

.prod-model-tag:empty { display: none; }

.tax-note {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 78ch;
}

.hero-note {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  opacity: 0.85;
  max-width: 74ch;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-teal);
  text-decoration: none;
  color: var(--ink);
}
.media-card-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.media-card:hover .media-card-img img { transform: scale(1.035); }
.media-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem 1.3rem;
}
.media-card-body strong { font-size: 1.02rem; }
.media-card-body span { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.media-card-body .link-arrow { color: var(--brand-blue); font-weight: var(--fw-bold); margin-top: 0.35rem; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.tech-card, .service-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.tech-card:hover, .service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
  text-decoration: none;
  color: var(--ink);
}
.tech-card p, .service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.tech-card .link-arrow, .service-card .link-arrow { color: var(--brand-blue); }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.insight-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.insight-thumb {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius-sm) - 4px);
  aspect-ratio: 16 / 10;
  margin-bottom: 0.25rem;
}
.insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-teal);
}
.insight-card h3 { font-size: 1.04rem; }
.insight-card h3 a { color: var(--ink); }
.insight-card h3 a:hover { color: var(--brand-blue); text-decoration: none; }
.insight-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.5rem;
  flex: 1;
}
.insight-card time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.tag {
  align-self: flex-start;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.06em;
}

.insight-full { padding: 1.6rem; }
.insight-full h3 { margin-top: 0.4rem; font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.insight-full .insight-thumb { aspect-ratio: 16 / 7; }

.insight-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 900px;
}

/* 洞察动态：按 企业动态/产品动态/行业动态 分区；导航锚点跳进来时避开吸顶导航 */
.insight-cats { max-width: 900px; }
.insight-cat { scroll-margin-top: calc(var(--header-h) + 1.2rem); }
.insight-cat + .insight-cat {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.8rem, 3.5vw, 2.6rem);
  border-top: 1px solid var(--line);
}
.insight-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--brand-teal);
}
.insight-cat-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
}
.insight-cat-n {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.insight-empty {
  margin: 0;
  padding: 1rem 0;
  color: var(--muted);
}

/* ---------- CTA band (blue, EASTMAN-style) ---------- */

.cta-band {
  color: var(--white);
  background:
    radial-gradient(900px 360px at 85% 20%, rgba(0, 166, 155, 0.35), transparent 60%),
    var(--brand-blue);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-inner h2 { color: var(--white); max-width: 24ch; }
.cta-inner p:not(.eyebrow) { color: rgba(255, 255, 255, 0.85); max-width: 56ch; }
.cta-inner .hero-actions { margin-bottom: 0; }
.cta-inner .btn-primary { background: var(--white); color: var(--brand-blue); }
.cta-inner .btn-primary:hover { background: var(--mist); color: var(--blue-900); }

.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}
.cta-inline p { margin: 0; font-weight: var(--fw-bold); }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}

.data-table th {
  text-align: left;
  padding: 0.8rem 1rem;
  background: var(--blue-soft);
  color: var(--brand-blue);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: var(--fw-heavy);
  white-space: nowrap;
  border-bottom: 2px solid var(--brand-blue);
}

.data-table td {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--blue-soft);
  vertical-align: top;
}

.data-table tbody tr:nth-child(even) { background: var(--mist); }
.data-table tbody tr:hover { background: var(--blue-soft); }
.data-table td:first-child { font-family: var(--font-mono); font-weight: var(--fw-bold); white-space: nowrap; }

.model-link { color: var(--brand-blue); }
.model-link:hover { color: var(--blue-900); text-decoration: underline; }

.doc-link {
  font-weight: var(--fw-bold);
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--brand-blue);
}
.doc-link:hover { text-decoration: underline; }

.note {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Detail / doc pages ---------- */

.detail-layout, .form-layout, .doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

.detail-main h2 { margin-top: 0.2rem; }
.lead { font-size: 1.04rem; color: var(--ink); }

.check-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-teal);
  font-weight: var(--fw-heavy);
}

.aside-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.aside-card + .aside-card { margin-top: 1rem; }
.aside-card .btn { width: 100%; margin-bottom: 0.55rem; }
.aside-card .btn:last-child { margin-bottom: 0; }
/* 工作时间：标题 / 时段 / 补充说明 各占一行，行距收紧 */
.hours-time { margin: 0 0 0.2rem; font-variant-numeric: tabular-nums; }
.hours-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-list li + li { border-top: 1px solid var(--blue-soft); }
.related-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.2rem;
  color: var(--ink);
}
.related-link strong { font-family: var(--font-mono); font-size: 0.9rem; }
.related-link span { font-size: 0.8rem; color: var(--muted); }
.related-link:hover { color: var(--brand-blue); text-decoration: none; }

.doc-paper {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.doc-head {
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
}
.doc-head h2 { font-family: var(--font-mono); letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.doc-head p { color: var(--muted); margin: 0; }
.doc-brand {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.14em;
  color: var(--brand-blue);
}

.doc-note {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--brand-teal);
  background: var(--mist);
  font-size: 0.9rem;
}

.doc-disclaimer {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item.open { border-color: var(--brand-teal); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 1.2rem;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: var(--fw-bold);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--brand-teal);
  flex: none;
  transition: transform 0.18s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--brand-blue); }

.faq-a { padding: 0 1.2rem 1.1rem; }
.faq-a p { margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */

.contact-form {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-full { grid-column: 1 / -1; }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-form label > span {
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  color: var(--ink);
}
.contact-form label em {
  font-style: normal;
  color: var(--danger);
  font-size: 0.75rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-blue);
  /* 不用 outline:none 抹掉焦点：保留全局 :focus-visible 轮廓，并加一层可见光环 */
  box-shadow: 0 0 0 3px rgba(0, 86, 149, 0.14);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.contact-form input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179, 54, 42, 0.12);
}

.honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-note { font-size: 0.8rem; color: var(--muted); margin: 0.9rem 0; }

.form-status {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}
.form-status.ok { background: #e5f4f3; color: var(--brand-green); }
.form-status.err { background: #fdeceb; color: var(--danger); }

.contact-address {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-style: normal;
  color: var(--ink);
  font-size: 0.92rem;
}

/* ---------- About / values ---------- */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2.4rem;
  align-items: start;
}

.two-col h2 { margin-top: 1.2rem; }

.fact-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.about-figure, .sust-figure {
  margin: 0 0 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-figure { max-width: 560px; }
.about-figure img, .sust-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.fact-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.fact-list li {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--blue-soft);
}
.fact-list strong { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.fact-list span { font-size: 0.94rem; color: var(--ink); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.value-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-teal);
}
.value-card h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.value-card h3::before {
  content: "◆";
  font-size: 0.6rem;
  color: var(--brand-teal);
}
.value-card p { color: var(--muted); margin: 0; font-size: 0.94rem; }

.division-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.division-block {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.division-block h2 { font-size: 1.2rem; }
.division-block p { color: var(--muted); font-size: 0.94rem; }

.app-list { max-width: 900px; }
.app-block {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.app-block:last-child { border-bottom: 0; }
.app-block h2 { margin-bottom: 0.5rem; }
.app-block p { color: var(--muted); max-width: 70ch; }
.app-block .pill-row { margin-top: 0.8rem; }

.division-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 760px) {
  .division-cards { grid-template-columns: 1fr; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.service-card { min-height: 170px; }

/* ---------- Article / legal ---------- */

.article {
  max-width: 820px;
  margin-inline: auto;
}
.article-figure {
  margin: 0 0 1.8rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.article p { color: #21364a; }
.legal h2 { margin-top: 1.5rem; }
.legal p { color: var(--muted); }

/* ---------- Footer (light, with dark legal strip) ---------- */

.site-footer {
  background: var(--mist);
  color: var(--muted);
  padding: 3.2rem 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}

.brand-footer { color: var(--ink); }
.brand-footer .brand-logo { height: 44px; }
.footer-brand p { color: var(--muted); margin: 0.8rem 0 0.2rem; }
.footer-tagline {
  font-size: 0.8rem;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
}

.footer-col h3 {
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--brand-blue); text-decoration: underline; }

.footer-col address {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-style: normal;
  margin-bottom: 1rem;
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.footer-legal li { margin: 0; }
.footer-legal a { font-size: 0.82rem; color: var(--brand-blue); }

.footer-bottom {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.1rem 0;
  font-size: 0.78rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  max-width: 820px;
  margin-inline: auto;
  padding: 0.9rem 1.1rem;
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--white); }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-actions .btn { padding: 0.5rem 1rem; font-size: 0.84rem; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 三组本就一行一组，窄屏只收窄组内列宽，无需再改分组列数 */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .division-list { grid-template-columns: 1fr; }
  .detail-layout, .form-layout, .doc-layout { grid-template-columns: 1fr; }
  .detail-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .aside-card + .aside-card { margin-top: 0; }
  .fact-card { position: static; }
  .hero-layout { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-bg { width: min(58%, 640px); }
  .finder-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(1200px, 100% - 1.6rem); }
  .brand-logo { height: 36px; }
  .brand-footer .brand-logo { height: 40px; }
  .cat-grid, .tech-grid, .insight-grid, .value-grid { grid-template-columns: 1fr; }
  /* 列表行在窄屏改为上下两段，避免右侧元信息把名称挤断 */
  .prod-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .prod-meta { justify-self: start; justify-content: flex-start; }
  /* 型号行同样改为单列堆叠 */
  .prod-model { grid-template-columns: 1fr; gap: 0.15rem; }
  .prod-model-tag { justify-self: start; }
  /* 单列时取消跨列，避免产生隐式列导致横向溢出 */
  .cat-card-feature {
    grid-column: span 1;
    padding: 1.45rem 1.5rem 1.3rem;
  }
  .cat-card-feature h3 { font-size: 1.06rem; }
  .form-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .detail-aside { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .search-panel { margin-top: 6vh; }
  .media-grid { grid-template-columns: 1fr; }
  .page-hero-bg { width: 100%; }
  .finder-inner, .split-grid { grid-template-columns: 1fr; }
  .split-flip .split-media,
  .split-flip .split-copy { order: 0; }
  .finder-bar {
    flex-wrap: wrap;
    padding: 0.45rem 0.45rem 0.55rem 0.75rem;
    border-radius: 18px;
  }
  .finder-bar input { flex-basis: 100%; }
  .finder-go { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;      /* 交错入场在减弱动效下不再延迟 */
  }
  .reveal { opacity: 1; transform: none; }
}

/* 系统开启「减弱透明度」时，玻璃面板回退为不透明深色（保证文字对比度） */
@media (prefers-reduced-transparency: reduce) {
  .page-home .site-header:not(.scrolled) .submenu {
    background: #0b1f33;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media print {
  .utility, .main-nav, .nav-toggle, .mobile-nav, .search-overlay, .cookie-banner,
  .home-hero, .site-footer, .cta-band, .detail-aside, .skip-link,
  .media-card-img img { display: none !important; }
  body { color: #000; }
  .site-header { position: static; }
}
