/* 原料站样式。版式语言照官网（deepseabio 仓库 src/styles.css）：
   全站一张海洋背景（ocean.js），粗体大标题 + 短横线小标题，深色玻璃面板，青色只做强调。
   2026-10-11：用户看过浅色原料表说「背景断层」，看过第一版深色说「排版太丑」——别再用浅色版块，
   也别把目录拆成很多小盒子；产品表照官网「核药产品」那张：一个大面板 + 搜索 + 分类。 */
:root {
  --ink: #050e12;
  --text: #f5fbf8;
  --soft: #d3e3de;
  --muted: #b2c6c1;
  --line: rgba(216, 247, 239, 0.14);
  --line2: rgba(216, 247, 239, 0.28);
  --cyan: #64f4d1;
  --bio: #b6ff6e;
  --panel: rgba(5, 19, 25, 0.66);
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --r: 10px;
  color-scheme: dark;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-lang="ja"] {
  font-family: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: #043a56 linear-gradient(180deg, #106979 0, #0a5068 55vh, #043a56 100vh) fixed;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--cyan); color: var(--ink); }
.skip:focus { left: 8px; }
.ocean { position: fixed; inset: 0; z-index: -1; width: 100vw; height: 100vh; pointer-events: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; }
.narrow { width: min(820px, 100% - 2 * var(--gut)); }
.narrow-l { max-width: 780px; }

/* ── 页头（同官网） ─────────────────────────────────────────── */
.hd { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.hd__in {
  width: min(var(--wrap), 100% - 24px); min-height: 72px; margin: 0 auto; padding: 7px 10px;
  display: flex; align-items: center; gap: 14px; pointer-events: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)), rgba(5, 14, 18, 0.74);
  border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.brand { display: flex; flex: 0 0 auto; }
.brand__f {
  width: 168px; height: 56px; display: grid; place-items: center; overflow: hidden;
  border: 1px solid rgba(100, 244, 209, 0.22); border-radius: 7px;
  background: radial-gradient(circle at 18% 18%, rgba(100, 244, 209, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
}
.brand__f img { width: 124px; filter: drop-shadow(0 0 7px rgba(100, 244, 209, 0.3)); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 13px; border-radius: 8px; color: #d7e7e2; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--cyan); background: rgba(100, 244, 209, 0.08); }
.hd__cta {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 8px; background: var(--cyan); color: var(--ink);
  font-size: 0.9rem; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.hd__cta:hover { background: var(--bio); }
.lsw { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.lsw a { padding: 5px 9px; border-radius: 6px; font-size: 0.8rem; color: #c9dcd6; text-decoration: none; }
.lsw a:hover { color: var(--cyan); }
.lsw a[aria-current] { background: var(--cyan); color: var(--ink); font-weight: 700; }
.lsw .short { display: none; }
.menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: transparent; padding: 11px 10px; cursor: pointer; }
.menu i { display: block; height: 2px; margin: 4px 0; background: var(--text); border-radius: 2px; }

/* ── 字 ─────────────────────────────────────────────────────── */
.kick {
  display: flex; align-items: center; gap: 10px; color: var(--cyan); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.kick::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: 0 0 auto; }
:root[data-lang="zh"] .kick, :root[data-lang="ja"] .kick { letter-spacing: 0.06em; font-size: 0.82rem; }
h1 {
  margin-top: 16px; font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 950; line-height: 1.04;
  letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: anywhere;
}
/* 长化学名（片假名、汉字连写）不能 keep-all，否则撑破手机屏 */
:root[data-lang="en"] h1, :root[data-lang="ja"] h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.hero--page h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
:root[data-lang="en"] .hero--page h1, :root[data-lang="ja"] .hero--page h1 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
.crumb + h1 { margin-top: 12px; }
.h1__sub { display: block; margin-top: 0.35em; font-size: 0.48em; font-weight: 700; line-height: 1.3; color: var(--soft); letter-spacing: 0; }
.lede { margin-top: 20px; max-width: 42em; color: var(--soft); font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.75; }
.lede a { color: var(--cyan); }
.crumb { font-size: 0.88rem; color: var(--soft); }
.crumb a { color: var(--soft); text-decoration: none; }
.crumb a:hover { color: var(--cyan); }
.pills { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  padding: 6px 13px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(5, 19, 25, 0.42);
  color: var(--soft); font-size: 0.88rem; line-height: 1.4;
}
.fine { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }
.note { margin-top: clamp(36px, 4.5vw, 56px); max-width: 62em; color: var(--soft); }
.sh { margin-bottom: clamp(24px, 3vw, 36px); }
.sh h2 { margin-top: 12px; font-size: clamp(1.75rem, 3.2vw, 2.7rem); font-weight: 900; line-height: 1.12; text-wrap: balance; }
.sh h2:first-child { margin-top: 0; }
.sh__p { margin-top: 14px; max-width: 44em; color: var(--soft); }
.sh--c { text-align: center; }
.sh--c .kick { justify-content: center; }
.sh--c .sh__p { margin-left: auto; margin-right: auto; }
.blk .sh h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.btn {
  display: inline-block; margin-top: 26px; padding: 12px 24px; border-radius: 8px; background: var(--cyan); color: var(--ink);
  font-weight: 800; text-decoration: none;
}
.btn:hover { background: var(--bio); }
.mt-s { margin-top: 4px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: clamp(28px, 3.5vw, 44px); }
.fine a { color: var(--soft); }
.btn--ghost { background: rgba(5, 19, 25, 0.35); color: var(--text); border: 1px solid var(--line2); padding: 11px 26px; }
.btn--ghost:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 首屏三格数字（同原站 deepseagoods 首页）；单位不用青色（10-11 用户：浅蓝小字都去掉） */
.figs { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.fig { padding-top: 16px; border-top: 1px solid var(--line2); }
.fig p { margin: 0; }
.fig__n { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.fig__n small { margin-left: 6px; font-size: 0.36em; font-weight: 700; letter-spacing: 0; color: var(--soft); vertical-align: 0.9em; }
.fig__t { margin-top: 12px !important; font-weight: 800; font-size: 1rem; }
.fig__d { margin-top: 2px !important; color: var(--soft); font-size: 0.86rem; line-height: 1.5; }
/* 关于页：四个技术平台 */
/* 关于页：清华一节的正文与「成果转化示例」 */
.txt p { color: var(--soft); line-height: 1.85; }
.txt p + p { margin-top: 14px; }
.panel > h3 { font-size: 1.05rem; font-weight: 850; margin-bottom: 12px; }
.panel .tbl th a { color: var(--text); font-weight: 750; }
h3.sub { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 900; margin-bottom: 18px; }
.plats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plats li { padding: 22px; border: 1px solid var(--line2); border-radius: 12px; background: var(--panel); display: grid; gap: 6px; align-content: start; }
.plats i { font-style: normal; font-size: 0.86rem; font-weight: 800; color: var(--muted); letter-spacing: 0.06em; }
.plats b { font-size: 1.3rem; font-weight: 900; line-height: 1.2; }
.plats p { margin: 0; color: var(--soft); font-size: 0.93rem; line-height: 1.6; }

/* ── 版块与面板 ─────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(128px, 15vw, 172px) 0 clamp(48px, 6vw, 72px); }
.hero--home { min-height: min(100vh, 920px); display: flex; align-items: center; padding-bottom: clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero--img { padding-top: clamp(150px, 18vw, 220px); overflow: hidden; isolation: isolate; }
.hero__bg, .hero__scrim {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
}
.hero__bg { z-index: -2; object-fit: cover; }
.hero__scrim {
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 14, 18, 0.35) 0%, rgba(5, 14, 18, 0.5) 60%, rgba(5, 14, 18, 0.2) 100%),
    linear-gradient(90deg, rgba(5, 14, 18, 0.9) 0%, rgba(5, 14, 18, 0.25) 65%);
}
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec--tight { padding-top: clamp(24px, 3vw, 40px); }
.sec + .sec { padding-top: 0; }
.blk { margin-top: clamp(56px, 6.5vw, 88px); }
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--panel);
  border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px);
}
.panel--note h2 { font-size: 1.02rem; font-weight: 800; }
.panel--note p { margin-top: 8px; color: var(--soft); font-size: 0.94rem; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.cols--note { margin-top: clamp(32px, 4vw, 48px); gap: 16px; }

/* ── 询盘表单 ───────────────────────────────────────────────── */
.rfq {
  position: relative; color: var(--text); border-radius: 12px; padding: clamp(22px, 2.4vw, 30px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)), rgba(6, 22, 29, 0.84);
  border: 1px solid rgba(100, 244, 209, 0.28); box-shadow: 0 30px 90px rgba(0, 4, 12, 0.4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.rfq__t { font-size: 1.15rem; font-weight: 850; margin-bottom: 16px; }
.rfq__f { margin-bottom: 14px; }
.rfq label { display: block; font-size: 0.86rem; font-weight: 650; margin-bottom: 6px; color: var(--soft); }
.rfq label em { color: var(--cyan); font-style: normal; margin-left: 2px; }
.rfq input, .rfq textarea {
  display: block; width: 100%; padding: 11px 13px; border: 1px solid var(--line2); border-radius: 7px;
  background: rgba(255, 255, 255, 0.07); color: var(--text); font-size: 16px; line-height: 1.4;
}
.rfq ::placeholder { color: rgba(201, 220, 214, 0.5); }
.rfq textarea { resize: vertical; min-height: 96px; }
.rfq input:focus, .rfq textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.rfq button {
  width: 100%; padding: 13px 18px; border: 0; border-radius: 8px; background: var(--cyan); color: var(--ink);
  font-weight: 850; cursor: pointer; font-size: 1rem;
}
.rfq button:hover { background: var(--bio); }
.rfq button[disabled] { opacity: 0.6; cursor: wait; }
.rfq__msg { margin-bottom: 14px; padding: 10px 12px; border-radius: 7px; font-size: 0.92rem; }
.rfq__msg--ok { background: rgba(100, 244, 209, 0.14); color: #c9fff0; border: 1px solid rgba(100, 244, 209, 0.45); }
.rfq__msg--err { background: rgba(255, 120, 100, 0.14); color: #ffd6cf; border: 1px solid rgba(255, 140, 120, 0.5); }
.rfq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rfq.is-sent .rfq__f, .rfq.is-sent .rfq__go, .rfq.is-sent .rfq__ts { display: none; }
.rfq__again { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--cyan); font-weight: 700; cursor: pointer; text-decoration: underline; width: auto !important; }
.rfq__ts:empty { display: none; }
.rfq__ts { margin-bottom: 12px; }
.rfq--bar { margin-top: clamp(30px, 3.6vw, 44px); }
@media (min-width: 900px) {
  .rfq--bar { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr) auto; gap: 0 14px; align-items: end; }
  .rfq--bar .rfq__t, .rfq--bar .rfq__msg, .rfq--bar .rfq__ts { grid-column: 1 / -1; }
  .rfq--bar .rfq__f { margin-bottom: 0; }
  .rfq--bar input { height: 48px; }
  .rfq--bar textarea { min-height: 48px; height: 48px; overflow-y: hidden; resize: none; transition: height 0.15s; }
  .rfq--bar textarea:focus { height: 100px; overflow-y: auto; }
  .rfq--bar button { width: auto; height: 48px; padding: 0 34px; }
}

/* ── 行业卡（官网板块图） ───────────────────────────────────── */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--line2); text-decoration: none; isolation: isolate;
}
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.5s ease; }
/* 行业卡图（素材/行业图，codex 10-11）主体都在上半部，渐变从 40% 起，别压住主体 */
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 14, 20, 0) 40%, rgba(4, 14, 20, 0.92) 84%); }
.ind:hover img { transform: scale(1.04); }
.ind:hover { border-color: var(--cyan); }
.ind__b { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 8px; }
.ind__b b { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 900; line-height: 1.1; }
.ind__b span { color: var(--soft); font-size: 0.93rem; line-height: 1.6; }
.ind__b em { font-style: normal; color: var(--text); font-weight: 750; font-size: 0.92rem; }

/* ── 原料目录面板 ───────────────────────────────────────────── */
.catp {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--panel);
  border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 2.6vw, 32px);
}
.catp__tool { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: clamp(18px, 2.4vw, 26px); margin-bottom: clamp(6px, 1vw, 10px); border-bottom: 1px solid var(--line); }
.catp__tool[hidden] { display: none; }
.catp__q {
  flex: 0 1 360px; min-width: 220px; padding: 9px 14px 9px 36px; border: 1px solid var(--line2); border-radius: 999px;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239fb5b0' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 13px 50% no-repeat;
  color: var(--text); font-size: 15px;
}
.catp__q::placeholder { color: rgba(201, 220, 214, 0.55); }
.catp__q:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--soft);
  font-size: 0.84rem; cursor: pointer;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.chip[aria-pressed="true"] { background: rgba(100, 244, 209, 0.14); border-color: rgba(100, 244, 209, 0.6); color: var(--cyan); }
.catp__cols { columns: 2; column-gap: clamp(32px, 4vw, 56px); }
.catp__cols--1 { columns: 1; }
.grp__2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
.grp__2 table tr:last-child td { border-bottom: 0; }
/* 10-11 用户：分类标题和品名混在一起 → 分类做成带色带的标题条、字号拉开，品名降为常规字重 */
.grp { break-inside: avoid; padding-top: clamp(28px, 3vw, 40px); scroll-margin-top: 110px; }
.grp[hidden] { display: none; }
.grp header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 11px 14px 11px 16px;
  border-left: 3px solid var(--cyan); border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, rgba(100, 244, 209, 0.15), rgba(100, 244, 209, 0.03) 70%);
}
.grp h3 { font-size: clamp(1.14rem, 1.5vw, 1.3rem); font-weight: 900; color: var(--text); line-height: 1.3; }
.grp header span { padding: 1px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); color: var(--soft); font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.grp__ask { margin-left: auto; color: var(--cyan); font-size: 0.82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.grp__ask:hover { color: var(--bio); }
.grp table { width: 100%; border-collapse: collapse; }
.grp td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; font-size: 0.95rem; }
.grp tr:last-child td { border-bottom: 0; }
.grp tr[hidden] { display: none; }
.grp td:last-child { padding-right: 0; text-align: right; white-space: nowrap; color: var(--muted); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.grp td a { color: var(--text); font-weight: 500; text-decoration: none; }
.grp td a:hover { color: var(--cyan); }
.grp td small { display: block; margin-top: 1px; color: var(--muted); font-size: 0.8rem; }
.grp tr:hover td { background: rgba(100, 244, 209, 0.035); }
.catp__none { padding: 28px 0 8px; color: var(--soft); }

/* ── 按需求选原料（行业页）：沿用目录大面板；上面几行单选筛选，下面两栏条目（品名、适用场景、标签） ── */
.fd__tool { display: grid; gap: 10px; padding-bottom: clamp(18px, 2.4vw, 24px); border-bottom: 1px solid var(--line); }
.fd__tool[hidden] { display: none; }
.fd__f { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); align-items: start; gap: 6px 16px; }
.fd__l { padding-top: 6px; font-size: 0.84rem; font-weight: 800; color: var(--text); }
.fd__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 8px; }
.fd__live { margin: 0; font-size: 0.86rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.fd__reset { padding: 4px 0; border: 0; background: none; color: var(--cyan); font-size: 0.86rem; font-weight: 700; cursor: pointer; }
.fd__reset:hover { color: var(--bio); }
.fd__reset[hidden] { display: none; }
.fd__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
.fd__r { display: grid; gap: 3px; align-content: start; padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.fd__r[hidden] { display: none; }
.fd__r.is-pin { order: -1; }
.fd__n { color: var(--text); font-size: 1.02rem; font-weight: 750; line-height: 1.4; text-decoration: none; }
.fd__n:hover { color: var(--cyan); }
.fd__n small { margin-left: 8px; color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.fd__s { color: var(--soft); font-size: 0.92rem; line-height: 1.6; }
.fd__note { margin-top: 4px; padding: 3px 0 3px 10px; border-left: 2px solid rgba(100, 244, 209, 0.45); color: var(--soft); font-size: 0.86rem; line-height: 1.55; }
.fd__note.is-on { border-left-color: var(--cyan); background: rgba(100, 244, 209, 0.07); color: var(--text); }
.fd__t { margin-top: 3px; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.fd__t span { white-space: nowrap; }
.fd__t span + span::before { content: "·"; margin: 0 6px 0 0; color: rgba(178, 198, 193, 0.6); }
.fd__t span.is-hit { color: var(--text); font-weight: 700; }

/* ── 重点原料 ───────────────────────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat {
  position: relative; display: grid; gap: 4px; align-content: start; min-height: 150px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--r); text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--panel);
}
.feat:hover { border-color: rgba(100, 244, 209, 0.6); }
.feat small { color: var(--muted); font-size: 0.8rem; padding-right: 84px; }
.feat b { font-size: 1.3rem; font-weight: 900; line-height: 1.25; }
.feat span { color: var(--soft); font-size: 0.9rem; }
.feat em {
  position: absolute; top: 18px; right: 18px; font-style: normal; font-size: 0.74rem; font-weight: 750; color: var(--soft);
  padding: 2px 8px; border: 1px solid rgba(100, 244, 209, 0.45); border-radius: 999px;
}

/* ── 流程管线（真有先后顺序的才用） ─────────────────────────── */
.pipe { list-style: none; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 10px; }
.pipe::before { content: ""; position: absolute; left: 7%; right: 7%; top: 19px; height: 1px; background: linear-gradient(90deg, rgba(100, 244, 209, 0.15), rgba(100, 244, 209, 0.6), rgba(100, 244, 209, 0.15)); }
.pipe li { position: relative; text-align: center; display: grid; justify-items: center; align-content: start; gap: 4px; }
.pipe i {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 850;
  font-size: 0.9rem; color: var(--ink); background: var(--cyan); box-shadow: 0 0 0 6px rgba(100, 244, 209, 0.12); margin-bottom: 8px;
}
.pipe b { font-size: 0.95rem; font-weight: 750; line-height: 1.35; }
.pipe span { color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.pipe--s { --n: 4; }
.panel--pipe { padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px); }

/* ── 照片 ───────────────────────────────────────────────────── */
.shots { margin-top: clamp(20px, 2.6vw, 30px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.shot figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.shot figcaption b { display: block; color: var(--text); font-weight: 650; font-size: 0.9rem; }

/* ── 表格 ───────────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tbl caption { text-align: left; font-weight: 850; font-size: 1.05rem; padding-bottom: 12px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-top: 1px solid var(--line); }
.tbl tr:first-child th, .tbl tr:first-child td { border-top-color: var(--line2); }
.tbl th { width: 36%; font-weight: 600; color: var(--muted); }
.tbl td { color: var(--text); }
.tbl td a { color: var(--cyan); }
.tbl--s { font-size: 0.88rem; }
.tbl--s th, .tbl--s td { padding: 7px 10px 7px 0; }
.spec-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec caption { text-align: left; font-weight: 850; font-size: 1.05rem; padding-bottom: 12px; line-height: 1.45; }
.spec th, .spec td { text-align: left; padding: 9px 14px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec thead th { color: var(--text); font-size: 0.8rem; font-weight: 700; border-top: 0; padding-bottom: 8px; }
.spec tbody th { font-weight: 500; color: var(--soft); }
.spec td { color: var(--soft); }
.spec td:nth-child(3) { color: var(--text); font-weight: 750; }
.spec tr.g th { padding-top: 20px; font-weight: 800; color: var(--text); }

/* ── 单品页 ─────────────────────────────────────────────────── */
.item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
/* 产品图原片是白底，直接放在深色版面上像一张白卡片；正片叠底到浅青灰底上，跟配色一体 */
.im { max-width: 340px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line2);
  background: radial-gradient(circle at 50% 38%, #e3f1ee 0%, #bcd9d4 60%, #93bdb7 100%); }
.im img { width: 100%; mix-blend-mode: multiply; }
.str { margin-top: 16px; max-width: 340px; padding: 14px 16px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
/* 结构式原图是白底黑线，反相成深底白线，跟背景一体 */
.str img { width: 100%; max-height: 260px; object-fit: contain; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; opacity: 0.92; }
.str figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.rel { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rel a {
  display: inline-block; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(5, 19, 25, 0.5);
  font-size: 0.9rem; text-decoration: none; color: var(--soft);
}
.rel a:hover { border-color: var(--cyan); color: var(--cyan); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.faq details { padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.faq summary { cursor: pointer; font-weight: 750; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; color: var(--soft); font-size: 0.94rem; }
.case-mini { display: flex; flex-wrap: wrap; gap: 12px; }
.case-mini a {
  display: flex; gap: 14px; align-items: center; padding: 10px 18px 10px 10px; border: 1px solid var(--line2); border-radius: var(--r);
  background: var(--panel); text-decoration: none; color: var(--text); font-weight: 650; font-size: 0.95rem;
}
.case-mini a:hover { border-color: var(--cyan); }
.case-mini img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.case-mini small { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 700; }

/* ── 案例 ───────────────────────────────────────────────────── */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--panel); scroll-margin-top: 110px; }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__b { padding: 18px 20px 20px; }
.case__brand { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; color: var(--soft); }
.case h3 { font-size: 1.08rem; margin: 4px 0 12px; line-height: 1.35; }
/* 案例页按「膳食补充剂 / 宠物营养补充剂」分两组 */
.case-h { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.cases + .case-h { margin-top: clamp(48px, 6vw, 72px); }
.cases-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cases-teaser .sh { margin-bottom: 0; }
.case-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* ── 关于 ───────────────────────────────────────────────────── */
.sites { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sites li { padding: 24px; border: 1px solid var(--line2); border-radius: 12px; background: var(--panel); display: grid; gap: 6px; align-content: start; }
.sites b { font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.sites span { color: var(--soft); font-weight: 750; font-size: 0.92rem; }
.sites p { margin-top: 6px; color: var(--soft); font-size: 0.94rem; }
.sites address { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

/* ── 联系、正文 ─────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.offices { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 22px; }
address { font-style: normal; color: var(--soft); font-size: 0.92rem; line-height: 1.65; }
address span { display: block; color: var(--text); font-size: 0.8rem; font-weight: 800; margin-bottom: 4px; letter-spacing: 0.04em; }
.prose { padding: clamp(24px, 3.4vw, 44px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.prose h2 { font-size: 1.15rem; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--soft); }
.prose a { color: var(--cyan); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 5px 0; }
.prose p + p { margin-top: 10px; }

/* ── 页脚（同官网） ─────────────────────────────────────────── */
/* 页脚（10-11 用户：太高、链接和页头重复）：一行字标＋三地地址，底下一条细栏只放邮箱、隐私、Cookie 设置 */
.ft { padding: 36px var(--gut) 26px; background: rgba(0, 8, 12, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); color: var(--muted); }
.ft__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px 48px; align-items: start; }
.ft__brand { display: grid; gap: 10px; justify-items: start; }
.ft__brand img { width: 128px; filter: drop-shadow(0 0 12px rgba(100, 244, 209, 0.24)); }
.ft__brand p { margin: 0; font-size: 0.8rem; line-height: 1.5; }
.ft__offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.ft address { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.ft address span { font-size: 0.76rem; letter-spacing: 0.04em; }
.ft__bar { max-width: var(--wrap); margin: 22px auto 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.8rem; }
.ft__bar a { color: #cfe0db; text-decoration: none; }
.ft__bar a:hover { color: var(--cyan); }
.ft__bar a[hidden] { display: none; }

/* ── 浮动询价按钮、Cookie 横幅 ─────────────────────────────── */
.fab {
  position: fixed; left: 14px; bottom: 14px; z-index: 40; display: none; padding: 11px 18px; border-radius: 999px;
  background: var(--cyan); color: var(--ink); font-weight: 850; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.fab.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 720px; margin: 0 auto; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  background: rgba(5, 14, 18, 0.94); border: 1px solid var(--line2); border-radius: 10px; font-size: 0.9rem;
}
.consent[hidden] { display: none; }
.consent a { color: var(--cyan); }
.consent div { display: flex; gap: 8px; }
.consent button { padding: 8px 16px; border-radius: 7px; border: 1px solid var(--line2); background: transparent; color: var(--text); cursor: pointer; }
.consent button[data-consent="granted"] { background: var(--cyan); color: var(--ink); border-color: var(--cyan); font-weight: 700; }

/* ── 响应式 ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; font-size: 0.88rem; }
  .lsw .full { display: none; }
  .lsw .short { display: inline; }
  .pipe:not(.pipe--s) { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
  .pipe:not(.pipe--s)::before { display: none; }
}
@media (max-width: 900px) {
  .hd { top: 8px; }
  .hd__in { min-height: 60px; gap: 8px; flex-wrap: wrap; }
  .brand__f { width: 132px; height: 46px; }
  .brand__f img { width: 100px; }
  .menu { display: block; order: 3; }
  .hd__cta { margin-left: auto; padding: 8px 12px; font-size: 0.85rem; }
  body:has(.fab) { padding-bottom: 76px; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; margin: 4px 0 2px; padding-top: 6px; border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 10px; font-size: 1rem; }
  .hero { padding-top: 108px; }
  .hero--home { min-height: 0; display: block; }
  .hero--img { padding-top: 150px; }
  .hero--img .hero__bg { object-position: 78% 30%; }
  .hero__grid, .contact, .cols, .cases-teaser, .item { grid-template-columns: 1fr; }
  .inds, .feats, .cases, .sites, .faq { grid-template-columns: 1fr; }
  .ind { aspect-ratio: 4 / 5; max-height: 520px; }
  .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catp__cols { columns: 1; }
  .grp__2 { grid-template-columns: 1fr; }
  .fd__list { grid-template-columns: 1fr; }
  .grp__2 table:first-child tr:last-child td { border-bottom: 1px solid var(--line); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fab { display: inline-block; }
  .im, .str { max-width: 300px; }
  .ft__in { grid-template-columns: 1fr; }
  .ft__brand { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
}
@media (max-width: 520px) {
  .hd__cta { display: none; }
  .lsw { margin-left: auto; }
}
@media (max-width: 760px) {
  .ft__offices { grid-template-columns: 1fr; gap: 12px; }
  .pipe, .pipe:not(.pipe--s) { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .pipe::before, .pipe:not(.pipe--s)::before {
    display: block; left: 18px; right: auto; top: 18px; bottom: 18px; width: 1px; height: auto;
    background: linear-gradient(180deg, rgba(100, 244, 209, 0.6), rgba(100, 244, 209, 0.15));
  }
  .pipe li { grid-template-columns: 38px 1fr; justify-items: start; column-gap: 14px; text-align: left; align-items: center; }
  .pipe i { grid-row: span 2; margin: 0; }
  .shots { grid-template-columns: 1fr; }
  .catp__q { flex: 1 1 100%; }
  .fd__f { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .fd__l { padding-top: 0; }
  .fd__n small { display: block; margin-left: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -4px; padding: 0 4px 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  /* 手机上 COA 四列都留着（方法列是质检要看的），表格横向滚动 */
  .spec { font-size: 0.86rem; min-width: 560px; }
  .spec th, .spec td { padding-right: 12px; }
  .tbl th { width: 38%; }
  .case-strip { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.catp__live { flex-basis: 100%; margin: 0; font-size: 0.82rem; color: var(--soft); }
.catp__live:empty { display: none; }

/* ── AI 客服 ────────────────────────────────────────────────── */
.chat-btn {
  position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border: 1px solid rgba(100, 244, 209, 0.55); border-radius: 999px; cursor: pointer;
  background: rgba(6, 22, 29, 0.92); color: var(--cyan); font-weight: 800; font-size: 0.92rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chat-btn:hover { background: rgba(10, 34, 42, 0.96); border-color: var(--cyan); }
.chat-btn.is-loading { opacity: 0.7; cursor: progress; }
.chat-open .chat-btn { display: none; }
/* 面板样式在 chat.js 里（官网也加载同一份 chat.js） */
@media (max-width: 600px) {
  .chat-btn { right: 12px; bottom: 14px; padding: 11px 14px; }
  .chat-open .fab { display: none; }
}

@media (max-width: 520px) {
  .figs { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .fig__d { font-size: 0.78rem; }
  .fig__t { font-size: 0.9rem; }
  .plats { grid-template-columns: 1fr; }
}
