/* ============================================================
   RayTextile 静态企业站 — 共享样式
   设计目标：现代、优雅的布艺/家纺气质；全端兼容
   （Android / iOS / 华为，含刘海安全区、触摸优化）
   ============================================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "HarmonyOS Sans SC",
    "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: #2b2b2b;
  background: #f7f4ee;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 设计变量 ---------- */
:root {
  --ink: #1c2b27;
  --brand: #1f6f5c;
  --brand-dark: #154a3d;
  --gold: #c19a4b;
  --paper: #f7f4ee;
  --paper-2: #fffdf9;
  --muted: #6b6f6a;
  --line: #e7e1d6;
  --shadow: 0 10px 30px rgba(28, 43, 39, 0.08);
  --radius: 14px;
  --maxw: 1180px;
  --header-h: 64px;
}

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
@media (max-width: 640px) { .section { padding: 48px 0; } }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-heading .eyebrow {
  letter-spacing: .22em; font-size: 12px; font-weight: 700;
  color: var(--gold); margin: 0 0 10px;
}
.section-heading h2 { font-size: 30px; margin: 0 0 12px; color: var(--ink); }
.section-heading p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- 按钮 ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: 15px;
  font-weight: 600; border: 1.5px solid transparent; transition: .25s ease;
  min-height: 46px;
}
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.button.secondary:hover { background: rgba(255,255,255,.24); }
.button.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.button.ghost:hover { background: var(--brand); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 20px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 2px 16px rgba(28, 43, 39, .06);
  transition: background .3s ease, box-shadow .3s ease;
  /* 刘海安全区 */
  padding-top: env(safe-area-inset-top);
}
.site-header.is-scrolled {
  background: rgba(255, 253, 249, .98);
  box-shadow: 0 2px 16px rgba(28, 43, 39, .10);
}
.site-header .brand { display: flex; align-items: center; margin-right: auto; }
.site-header .brand img { height: 34px; width: auto; }

/* ---------- 语言切换 ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid rgba(28,43,39,.18); border-radius: 999px;
  padding: 3px; background: #fff; margin: 0 14px;
}
.lang-opt {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.lang-opt.is-active { background: var(--brand); color: #fff; }
/* 移动端：顶栏的语言切换隐藏，改用汉堡菜单内的 */
@media (max-width: 768px) {
  .site-header .lang-switch { display: none; }
}
/* 汉堡菜单内的语言切换 */
.mobile-menu .lang-switch {
  display: inline-flex; margin: 0 0 18px; align-self: center;
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35);
}
.mobile-menu .lang-opt { color: #fff; }
.mobile-menu .lang-opt.is-active { background: var(--gold); color: #1c2b27; }

.site-footer .f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-menu .brand img,
.site-footer .f-brand img { height: 28px; flex-shrink: 0; }
.site-footer .f-brand p { margin: 0; }
.desktop-nav { display: flex; gap: 4px; }
.desktop-nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--ink);
  font-weight: 500; transition: .2s ease; position: relative; white-space: nowrap;
}
.site-header.is-scrolled .desktop-nav a { color: var(--ink); }
.desktop-nav a.is-active,
.desktop-nav a:hover { color: var(--gold); }
/* 当前栏目：金色文字 + 底部指示线（选中态更明确） */
.desktop-nav a.is-active { font-weight: 700; }
.desktop-nav a.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--gold);
}
.header-cta {
  margin-left: 14px; padding: 9px 20px; border-radius: 999px;
  background: var(--gold); color: #1c2b27 !important; font-weight: 600; font-size: 14px;
  white-space: nowrap;
}
.header-cta:hover { background: #d3ad5c; }

.menu-button {
  display: none; width: 44px; height: 44px; margin-left: 8px;
  background: transparent; border: 0; position: relative;
}
.menu-button span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: .3s ease;
}
.site-header.is-scrolled .menu-button span { background: var(--ink); }
.menu-button span:nth-child(1) { top: 16px; }
.menu-button span:nth-child(2) { top: 26px; }
.menu-button.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-button.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(20, 32, 29, .98);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; opacity: 0; visibility: hidden; transition: .3s ease;
  padding-top: env(safe-area-inset-top);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  color: #fff; font-size: 20px; padding: 14px 24px; font-weight: 500;
}
.mobile-menu a.is-active { color: var(--gold); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 92vh; min-height: 92dvh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden;
  padding: 80px 20px 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg img.is-active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(20,32,29,.82), rgba(21,74,61,.55) 60%, rgba(20,32,29,.4));
}
.hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(30px, 6vw, 56px); line-height: 1.18; margin: 0 0 18px; font-weight: 700; }
.hero-lead { font-size: clamp(15px, 2.4vw, 19px); color: rgba(255,255,255,.9); margin: 0 auto 30px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-prompts {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin: 38px auto 0; max-width: 720px;
}
.hero-prompts .prompt {
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; color: #fff; background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.8); font-size: 12px; text-align: center;
}
.scroll-cue span {
  display: block; width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.6);
  border-radius: 12px; margin: 0 auto 6px; position: relative;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:0;top:7px} 40%{opacity:1} 100%{opacity:0;top:18px} }

/* ---------- 内页标题区 ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 90px 20px 56px; text-align: center;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(env(safe-area-inset-top) + var(--header-h) + 56px);
}
.page-hero .eyebrow { letter-spacing: .24em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0 0 10px; }
.page-hero h1 { font-size: clamp(26px, 5vw, 40px); margin: 0 0 8px; }
.page-hero p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.feature-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.feature-card .fc-icon {
  width: 50px; height: 50px; border-radius: 12px; background: rgba(31,111,92,.1);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-card .card-more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; font-size: 14px; }

/* ---------- 优势条 ---------- */
.advantages { background: var(--brand-dark); color: #fff; }
.advantages .section-heading h2 { color: #fff; }
.advantages .section-heading p { color: rgba(255,255,255,.75); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.adv-item { text-align: center; }
.adv-item h4 { font-size: 22px; color: #fff; margin: 0 0 10px; line-height: 1.3; white-space: nowrap; }
.adv-item p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; margin: 0; }
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .adv-item h4 { white-space: normal; }
}
@media (max-width: 520px) {
  .adv-grid { grid-template-columns: 1fr; gap: 18px; }
}
.strength-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.strength-card {
  border-radius: var(--radius); padding: 32px 26px;
  color: #fff; transition: transform .3s ease, box-shadow .3s ease;
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}
.strength-card h3 {
  font-size: 20px; margin: 0 0 14px;
  letter-spacing: 1px;
}
.strength-card p {
  font-size: 14.5px; line-height: 1.8;
  color: rgba(255,255,255,.88);
  margin: 0;
}
.strength-card strong { color: #fff; }

/* ---------- 产品 ---------- */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s ease; cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .pc-media { aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .pc-media img { transform: scale(1.06); }
.product-card .pc-body { padding: 16px 16px 18px; }
.product-card .pc-tag { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.product-card h3 { margin: 4px 0 6px; font-size: 17px; color: var(--ink); }
.product-card p { margin: 0; color: var(--muted); font-size: 13px; }
.product-card .pc-more { display:inline-block; margin-top:10px; color: var(--brand); font-size:13px; font-weight:600; }

/* 分类切换标签 */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.tab {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper-2); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: .2s ease; min-height: 44px;
}
.tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 横向滑动产品廊（移动端友好） ---------- */
.hscroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 4px 20px 16px; margin: 0 -20px;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .product-card { flex: 0 0 230px; scroll-snap-align: start; }
.hscroll-nav { display: flex; gap: 10px; justify-content: flex-end; padding: 0 20px; margin-bottom: 10px; }
.hscroll-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--paper-2); color: var(--brand); font-size: 18px;
}
.hscroll-nav button:disabled { opacity: .35; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .nc-media { aspect-ratio: 16/9; overflow: hidden; background:#eee; }
.news-card .nc-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nc-body { padding: 18px 20px 22px; }
.news-card time { font-size: 12px; color: var(--gold); font-weight: 700; }
.news-card h3 { margin: 8px 0 8px; font-size: 18px; color: var(--ink); }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; }
.nc-link {
  position: absolute; inset: 0; z-index: 1;
  text-decoration: none;
}
.news-card { position: relative; }

/* ---------- 关于我们 ---------- */
.about-split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media--compact { max-width: 380px; }
.about-media--wide { min-height: 280px; }
.about-media--wide img { width: 100%; height: 280px; object-fit: cover; display: block; }
.about-media img { width: 100%; display: block; }
.about-copy h2 { font-size: 26px; color: var(--ink); margin: 0 0 14px; }
.about-copy p { color: var(--muted); margin: 0 0 14px; }
.about-copy .lead { font-size: 16px; color: var(--ink); }
.values { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.value-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align:center; }
.value-card .vc-en { color: var(--gold); font-weight: 700; letter-spacing: .08em; font-size: 13px; }
.value-card h3 { margin: 6px 0 0; font-size: 19px; color: var(--ink); }

/* ---------- 企业文化 / 企业精神 / 经营理念 ---------- */
.culture-card { text-align: left; padding: 26px 24px; transition: transform .3s ease, box-shadow .3s ease; }
.culture-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.culture-card .vc-en { display: block; font-size: 12px; letter-spacing: .14em; }
.culture-card h3 { font-size: 20px; margin: 8px 0 10px; }
.culture-card h3 span { color: var(--gold); margin-left: 8px; font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.culture-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }

/* 品牌内核高亮 */
.brand-core { text-align: center; padding: 34px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--paper-2), #fff); border: 1px solid var(--line); }
.brand-core .bc-label { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.brand-core .bc-slogan { font-size: 26px; font-weight: 700; color: var(--ink); margin: 12px 0 14px; letter-spacing: .02em; }
.brand-core p { color: var(--muted); max-width: 720px; margin: 0 auto; line-height: 1.9; }

/* ---------- 质量方针 ---------- */
.policy-statement { text-align: center; font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: .04em; line-height: 1.6; margin: 0 auto 32px; max-width: 760px; }
.policy-list { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.policy-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .3s ease, box-shadow .3s ease; }
.policy-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.policy-item .pi-num { display: inline-block; color: var(--gold); font-weight: 700;
  font-size: 13px; letter-spacing: .12em; margin-bottom: 10px; }
.policy-item h3 { font-size: 18px; color: var(--ink); margin: 0 0 10px; }
.policy-item p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }

/* ---------- 企业愿景 ---------- */
.vision-block { max-width: 860px; margin: 0 auto; text-align: center; }
.vision-block p { color: var(--muted); font-size: 16px; line-height: 2; }

@media (max-width: 1024px) {
  .policy-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .brand-core .bc-slogan { font-size: 21px; }
  .policy-statement { font-size: 17px; }
}

/* ---------- 全屏灯箱 / 弹窗 ---------- */
.fullscreen-modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(18, 28, 25, .92); padding: 24px;
  padding-top: calc(env(safe-area-inset-top) + 24px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 24px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.fullscreen-modal.is-open { display: block; }
.fullscreen-modal__close {
  position: fixed; top: calc(env(safe-area-inset-top) + 14px); right: 16px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.16); color: #fff; font-size: 26px; line-height: 1;
}
.fullscreen-modal__content { max-width: 900px; margin: 0 auto; }
.modal-article figure, .modal-figure { margin: 0 0 20px; background:#000; border-radius: 12px; overflow:hidden; }
.modal-article figure img, .modal-figure img { width: 100%; max-height: 70vh; object-fit: contain; }
.modal-article__hero h2, .modal-figure + .modal-cap { color:#fff; }
.modal-kicker { color: var(--gold); letter-spacing: .2em; font-size: 12px; font-weight:700; }
.modal-figure + .modal-cap, .modal-article__body { color: rgba(255,255,255,.88); }
.modal-article__body figure { background: transparent; }
.modal-article__body p { margin: 0 0 14px; }

/* 图片预览（点图放大） */
.certificate-preview {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(18, 28, 25, .94); align-items: center; justify-content: center; padding: 24px;
  padding-top: calc(env(safe-area-inset-top) + 24px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 24px);
}
.certificate-preview.is-open { display: flex; }
.footer-qr-trigger { display: inline-block; border: 0; padding: 0; background: none; cursor: zoom-in; }
.footer-qr-trigger:focus-visible { outline: 2px solid #567059; outline-offset: 3px; }
.footer-qr-dialog { position: fixed; inset: 0; margin: auto; width: min(360px, calc(100% - 32px)); padding: 28px 20px 24px; border: 0; border-radius: 12px; background: #fff; color: #243a2d; text-align: center; }
.footer-qr-dialog::backdrop { background: rgba(15, 30, 24, .65); }
.pd-next h2 { margin: 0 0 22px; }
.pd-next__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pd-next__group { display: grid; grid-template-rows: auto 1fr 1fr; gap: 8px; min-width: 0; padding: 16px; border: 1px solid var(--line); background: var(--paper-2); }
.pd-next__group h3 { margin: 0 0 2px; font-size: 16px; }
.pd-next__link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 68px; padding: 9px 12px; border: 1px solid var(--line); background: #fff; }
.pd-next__link:hover, .pd-next__link:focus-visible { border-color: var(--brand); }
.pd-next__link strong { display: block; font-weight: 600; }
.pd-next__link small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.pd-next__link--primary { background: #edf1eb; border-color: #a9b4a5; }
@media (max-width: 760px) {
  .pd-next__grid { grid-template-columns: minmax(0, 1fr); }
}
.footer-qr-dialog h2 { margin: 0 28px 14px; font-size: 20px; }
.footer-qr-dialog img { display: block; width: min(260px, 100%); height: auto; margin-inline: auto; -webkit-touch-callout: default; }
.footer-qr-dialog p { display: none; font-size: 14px; margin: 12px 0; }
@media (max-width: 760px) and (pointer: coarse) {
  .footer-qr-dialog p { display: block; }
}
.footer-qr-dialog a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #294e3d; color: #fff; border-radius: 5px; }
.footer-qr-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.certificate-preview__navigation[hidden] { display: none; }
.certificate-preview__navigation button,
.certificate-preview__navigation span {
  position: absolute;
  color: #243a2d;
  background: #f8faf7;
  border: 1px solid #cdd7c5;
}
.certificate-preview__navigation button {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.certificate-preview__navigation button:first-child { left: clamp(8px, 3vw, 32px); }
.certificate-preview__navigation button:nth-child(2) { right: clamp(8px, 3vw, 32px); }
.certificate-preview__navigation span {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 16px;
  font-size: 13px;
}
.certificate-preview img { max-width: 100%; max-height: 86vh; border-radius: 10px; }
.certificate-preview__close {
  position: fixed; top: calc(env(safe-area-inset-top) + 14px); right: 16px;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.16); color: #fff; font-size: 26px; line-height: 1;
}

/* ---------- 联系我们 ---------- */
.contact-wrap { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.contact-info { display: block; }
.contact-info > h2 { grid-column: 1 / -1; font-size: 26px; color: var(--ink); margin: 0 0 16px; }
.contact-info .ci-list { display: flex; flex-direction: column; gap: 4px; }
.contact-info .ci-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.contact-info .ci-row .ci-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(31,111,92,.1); color: var(--brand); display:flex; align-items:center; justify-content:center; font-size:18px; }
.contact-info .ci-row b { display:block; color: var(--ink); font-size:15px; }
.contact-info .ci-row span { color: var(--muted); font-size: 14px; }
/* Footer social QR codes */
.site-footer .f-links-qr { display: contents; }
.f-qr { display: flex; gap: 10px; align-items: flex-start; text-align: center; }
.f-qr figure { margin: 0; min-width: 0; }
.f-qr img {
  display: block; width: 88px; aspect-ratio: 1 / 1; object-fit: contain;
  border-radius: 8px; background: #fff; padding: 4px;
}
.f-qr figcaption { margin-top: 8px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.4; }

.contact-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-form label { display:block; font-size: 14px; color: var(--ink); margin: 0 0 6px; font-weight:600; }
.contact-form .field { margin-bottom: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--brand);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.form-note.is-success { color: var(--brand); font-weight: 600; }

/* 地图图片 */
.map-img-wrap img {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--line);
}
.map-hint {
  margin: 8px 0 0; font-size: 13px; color: var(--muted);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 20px 28px;
  padding-bottom: calc(env(safe-area-inset-bottom) + 28px);
}
.site-footer .container { display: grid; gap: 40px; grid-template-columns: 1.5fr .9fr auto 1.1fr; align-items: start; }
.site-footer .container > * { min-width: 0; }
/* .f-links-qr 只是「快速链接 + 二维码」的分组壳，display:contents 让两个子块直接落进网格。
   注意：列模板必须正好 4 列，否则展开后分组下的两块会挤掉「联系我们」的格子。 */
.site-footer .f-brand p { max-width: 34ch; line-height: 1.7; }
/* 联系方式：标签与内容同行（窄屏由媒体查询改为上下堆叠），避免英文地址被挤成极窄条 */
.site-footer .f-contact > div { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.site-footer .f-contact > div strong { flex: none; color: #fff; font-size: 14px; font-weight: 600; }
.site-footer .f-contact > div span { min-width: 0; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.7; }
.site-footer .f-contact > div span a { display: inline; padding: 0; }
.site-footer .f-brand img { height: 38px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,.7); font-size: 14px; display:block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.site-footer .copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.55); text-align:center; }

/* ---------- 产品详情页样式 ---------- */
.pd-specs { width:100%; max-width:720px; border-collapse:collapse; margin:0 auto; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.pd-specs th { background:var(--brand-dark); color:#fff; font-weight:600; text-align:left; padding:12px 18px; width:35%; font-size:14px; white-space:nowrap; }
.pd-specs td { background:#fff; padding:12px 18px; font-size:15px; color:var(--ink); border-bottom:1px solid var(--line); }
.pd-specs tr:last-child td { border-bottom:none; }
.pd-gallery--grid { display:grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap:14px; }
.pd-gallery--grid figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); cursor:zoom-in; }
.pd-gallery--grid img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--grid figure:hover img { transform:scale(1.03); }
.pd-gallery--texture { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.pd-gallery--texture figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); cursor:zoom-in; }
.pd-gallery--texture img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--texture figure:hover img { transform:scale(1.03); }
.pd-gallery--texture5 { display:grid; grid-template-columns: repeat(5,1fr); gap:14px; }
.pd-gallery--texture5 figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); cursor:zoom-in; }
.pd-gallery--texture5 img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--texture5 figure:hover img { transform:scale(1.03); }
/* 肌理图 6 张：3 列 × 2 行，比 4/5 列更饱满 */
.pd-gallery--texture6 { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.pd-gallery--texture6 figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); cursor:zoom-in; }
.pd-gallery--texture6 img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--texture6 figure:hover img { transform:scale(1.03); }
.pd-gallery--color7 { display:grid; grid-template-columns: repeat(7,1fr); gap:12px; }
.pd-gallery--color7 figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); cursor:zoom-in; }
.pd-gallery--color7 img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--color7 figure:hover img { transform:scale(1.03); }
/* 产品详情 - 颜色展示（横版色块，4:3 比例，避免 1:1 过度裁切） */
.pd-gallery--color { display:grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
.pd-gallery--color figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); cursor:zoom-in; }
.pd-gallery--color img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--color figure:hover img { transform:scale(1.03); }
.pd-gallery--effect { display:grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap:16px; }
.pd-gallery--effect figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); cursor:zoom-in; }
.pd-gallery--effect img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--effect figure:hover img { transform:scale(1.02); }
.pd-gallery--effect5 { display:grid; grid-template-columns: repeat(5,1fr); gap:14px; }
.pd-gallery--effect5 figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); cursor:zoom-in; }
.pd-gallery--effect5 img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--effect5 figure:hover img { transform:scale(1.02); }
/* 产品详情 - 技术参数上方色卡横幅（竖长图完整展示） */
.pd-hero-shot { display:flex; justify-content:center; margin:0 0 36px; }
.pd-hero-shot img { width:100%; max-width:480px; height:auto; border-radius:var(--radius); box-shadow:var(--shadow); display:block; cursor:zoom-in; }
.pd-overview-shot { max-width:920px; margin:0 auto 36px; }
.pd-overview-shot img { width:100%; height:auto; border-radius:var(--radius); box-shadow:var(--shadow); display:block; cursor:zoom-in; }
/* 产品详情 - 竖版色卡条（完整展示，不做裁切） */
.pd-colorcard { display:flex; justify-content:center; flex-wrap:wrap; gap:20px; margin:36px 0 0; }
.pd-colorcard img { width:auto; max-width:100%; max-height:640px; height:auto; border-radius:var(--radius); box-shadow:var(--shadow); display:block; cursor:zoom-in; }
.pd-colorcard--before-specs { margin:0 0 36px; }
.pd-colorcard--pair { max-width:980px; margin-left:auto; margin-right:auto; flex-wrap:nowrap; align-items:flex-start; }
.pd-colorcard--pair figure { flex:1 1 0; min-width:0; max-width:480px; margin:0; }
.pd-colorcard--pair img { width:100%; max-height:none; }
/* 产品详情 - 长文介绍卡：单列纵向排列，左对齐便于阅读 */
.values--stack { grid-template-columns: 1fr; }
.values--stack .value-card { text-align: left; }
/* 产品详情 - 测试项目表格式布局 */
.pd-test-list { display: flex; flex-direction: column; gap: 0; max-width: 900px; margin-left: auto; margin-right: auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pd-test-row { display: grid; grid-template-columns: 280px 1fr; gap: 0; border-bottom: 1px solid var(--line); align-items: stretch; }
.pd-test-row:last-child { border-bottom: none; }
.pd-test-info { display: flex; gap: 14px; padding: 24px 20px; background: var(--paper-2); border-right: 1px solid var(--line); align-items: flex-start; }
.pd-test-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.pd-test-info strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.5; margin-bottom: 4px; }
.pd-test-info p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.pd-test-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px; align-items: center; }
.pd-test-images figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); cursor: zoom-in; }
.pd-test-images img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .3s ease; }
.pd-test-images figure:hover img { transform: scale(1.03); }
/* 只有一张测试图时占满整行，避免右半格留空 */
.pd-test-images > figure:only-child { grid-column: 1 / -1; width: 100%; max-width: none; }

/* 旧版测试卡片（保留兼容） */
.pd-tests { display:grid; gap:16px; max-width:800px; margin:0 auto; }
.pd-test-item { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 24px; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.pd-test-item strong { display:block; font-size:16px; color:var(--ink); margin-bottom:6px; }
.pd-test-item p { color:var(--muted); font-size:14px; line-height:1.7; margin:0; }

@media (max-width: 1024px) {
  .pd-gallery--grid { grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); }
  .pd-gallery--color { grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap:12px; }
  .pd-gallery--texture { grid-template-columns: repeat(4,1fr); gap:12px; }
  .pd-gallery--texture5 { grid-template-columns: repeat(4,1fr); gap:12px; }
  .pd-gallery--texture6 { grid-template-columns: repeat(3,1fr); gap:12px; }
  .pd-gallery--color7 { grid-template-columns: repeat(4,1fr); gap:10px; }
  .pd-gallery--effect { grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); }
  .pd-gallery--effect5 { grid-template-columns: repeat(3,1fr); gap:12px; }
  .pd-test-row { grid-template-columns: 220px 1fr; }
  .pd-test-info { padding: 18px 14px; gap: 10px; }
  .pd-test-num { width: 32px; height: 32px; font-size: 13px; }
}
@media (max-width: 520px) {
  .pd-gallery--grid { grid-template-columns: repeat(2,1fr); gap:8px; }
  .pd-gallery--color { grid-template-columns: repeat(2,1fr); gap:8px; }
  .pd-gallery--texture { grid-template-columns: repeat(2,1fr); gap:8px; }
  .pd-gallery--texture5 { grid-template-columns: repeat(2,1fr); gap:8px; }
  .pd-gallery--texture6 { grid-template-columns: repeat(2,1fr); gap:8px; }
  .pd-gallery--color7 { grid-template-columns: repeat(3,1fr); gap:8px; }
  .pd-gallery--effect { grid-template-columns: 1fr; }
  .pd-gallery--effect5 { grid-template-columns: repeat(2,1fr); gap:8px; }
  /* 移动端：图片数 > 2 的多图区块改为左右滑动切换 */
  .pd-gallery--texture:has(> figure:nth-child(3)),
  .pd-gallery--texture5:has(> figure:nth-child(3)),
  .pd-gallery--texture6:has(> figure:nth-child(3)),
  .pd-gallery--color:has(> figure:nth-child(3)),
  .pd-gallery--color7:has(> figure:nth-child(3)),
  .pd-gallery--effect5:has(> figure:nth-child(3)) {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }
  .pd-gallery--texture:has(> figure:nth-child(3)) > figure,
  .pd-gallery--texture5:has(> figure:nth-child(3)) > figure,
  .pd-gallery--texture6:has(> figure:nth-child(3)) > figure,
  .pd-gallery--color:has(> figure:nth-child(3)) > figure,
  .pd-gallery--color7:has(> figure:nth-child(3)) > figure,
  .pd-gallery--effect5:has(> figure:nth-child(3)) > figure {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: center;
  }
  .pd-specs th, .pd-specs td { padding:10px 12px; font-size:13px; }
  .pd-test-row { grid-template-columns: 1fr; }
  .pd-test-info { border-right: none; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; padding: 16px; }
  .pd-test-images { grid-template-columns: 1fr 1fr; padding: 12px; gap: 8px; }
}

/* 弹窗/预览时锁定背景滚动 */
.preview-lock { overflow: hidden; touch-action: none; }

/* ---------- 滚动揭示动画（带降级） ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-observer .reveal { opacity: 1; transform: none; }

/* ---------- 总裁名片展示 ---------- */
.ceo-card-wrap { display: flex; justify-content: center; }
.ceo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); max-width: 420px;
  transition: .25s ease;
}
.ceo-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,43,39,.12); }
.ceo-card img { width: 100%; display: block; }
.ceo-card figcaption {
  padding: 18px 22px 20px; text-align: center;
}
.ceo-card figcaption strong {
  display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px;
}
.ceo-card figcaption > span:not(.ceo-contact-item) {
  display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px;
}

/* 联系方式 — 每项独立一行，H5 可点击 */
.ceo-contact-list {
  display: flex; flex-direction: column; gap: 8px; margin-top: 4px;
}
.ceo-contact-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  background: #f7f8f9; text-decoration: none; color: var(--ink);
  font-size: clamp(13px, 3.8vw, 15px); font-weight: 500;
  transition: background .2s ease, transform .15s ease;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.ceo-contact-item .ceo-contact-text {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; flex: 1;
}
.ceo-contact-item:hover,
.ceo-contact-item:active {
  background: #eef2f5; transform: scale(1.01);
}
.ceo-icon {
  font-size: 18px; flex-shrink: 0; width: 24px; text-align: center;
}

/* ---------- 文章详情页（新产品发布） ---------- */
.article-topbar {
  background: #1a1a1a; color: #ccc;
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 24px; font-size: 12.5px;
}
.article-topbar a { color: #ccc; text-decoration: none; margin-left: 16px; }
.article-topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 4px; }

.article-hero {
  min-height: 200px; padding-top: 0;
  position: relative;
  background-color: var(--brand-dark);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,32,29,.3) 0%, rgba(20,32,29,.55) 100%);
}

.article-body-section { padding-top: 30px; padding-bottom: 60px; }
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}

/* 左侧边栏 */
.article-sidebar {
  position: sticky; top: calc(var(--header-h) + 16px);
}
.sidebar-title {
  font-size: 17px; color: var(--ink); margin: 0 0 10px;
  border-bottom: 2px solid var(--brand); padding-bottom: 8px;
}
.sidebar-nav {
  display: flex; flex-direction: column; gap: 2px;
}
.sidebar-link {
  display: block; padding: 9px 14px; font-size: 14px;
  color: var(--muted); text-decoration: none;
  border-left: 3px solid transparent;
  transition: .2s ease;
}
.sidebar-link:hover { color: var(--brand); background: #f5f7fa; }
.sidebar-link.is-active {
  color: var(--brand); font-weight: 600;
  border-left-color: var(--brand);
  background: #eef6ff;
}
.sidebar-contact {
  font-size: 13.5px; color: var(--muted); margin: 6px 0 0;
}

/* 右侧文章 */
.breadcrumb {
  font-size: 13px; color: var(--muted);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb strong { color: var(--ink); }

.article-title {
  font-size: clamp(22px, 3.5vw, 28px);
  color: var(--ink); margin: 0 0 24px;
}

.article-content {
  font-size: 15.5px; line-height: 1.9; color: #333;
}
.article-content p { margin-bottom: 18px; }
.article-content strong { color: var(--ink); }
.en-text {
  color: #444; line-height: 1.85;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-style: italic;
}

/* ---------- 深色文章详情页（图2风格） ---------- */
.dark-article-page {
  max-width: 960px; margin: 0 auto;
  padding: 40px 24px 80px;
}
.da-breadcrumb {
  font-size: 13.5px; color: #c9a227; margin-bottom: 20px;
}
.da-breadcrumb a { color: #c9a227; text-decoration: none; }
.da-breadcrumb a:hover { text-decoration: underline; }
.da-sep { margin: 0 8px; color: rgba(255,255,255,.35); }
.da-current { color: rgba(255,255,255,.6); }

.da-title {
  font-size: clamp(26px, 4vw, 34px);
  color: #fff; font-weight: 700;
  margin: 0 0 28px; line-height: 1.35;
}

.da-featured-img {
  margin: 0 0 36px; border-radius: 12px; overflow: hidden;
  background: #0f1815;
}
.da-featured-img img {
  width: 100%; height: auto; display: block;
  max-height: 420px; object-fit: cover;
}

.da-content {
  font-size: 15.5px; line-height: 2;
  color: rgba(255,255,255,.82);
}
.da-content p { margin-bottom: 18px; }
.da-content strong { color: #fff; font-weight: 600; }

.da-back { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.da-back-link {
  display: inline-block; color: #c9a227; text-decoration: none;
  font-size: 15px; transition: opacity .2s;
}
.da-back-link:hover { opacity: .75; }

@media (max-width: 768px) {
  .dark-article-page { padding: 28px 16px 60px; }
  .da-title { font-size: 23px; margin-bottom: 20px; }
  .da-featured-img { border-radius: 8px; margin-bottom: 24px; }
  .da-featured-img img { max-height: 260px; }
  .da-content { font-size: 14.5px; line-height: 1.9; }
}

/* ---------- 响应式 ---------- */
/* 平板横屏（901–1180）：联系列给足宽度，英文长地址才不会被压成两三词一行 */
@media (max-width: 1180px) {
  .site-footer .container { gap: 26px; grid-template-columns: 1.5fr .7fr auto 1.3fr; }
  .site-footer .f-contact > div { flex-direction: column; gap: 2px; margin-bottom: 10px; }
}
@media (max-width: 900px) {
  .about-split, .about-split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .about-media--wide { min-height: 200px; }
  .about-media--wide img { height: 200px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* 窄屏下「联系」区整行铺开，标签与内容重新并排 */
  .site-footer .f-contact { grid-column: 1 / -1; }
  .site-footer .f-contact > div { flex-direction: row; gap: 10px; margin-bottom: 8px; }
  .site-footer .f-qr { gap: 8px; }
  .site-footer .f-qr img { width: 78px; }
}
@media (max-width: 768px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: block; }
  .section-heading h2 { font-size: 24px; }
  .hero { min-height: 86vh; min-height: 86dvh; padding-top: 70px; }
  .hero-actions .button { flex: 1 1 auto; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-card { padding: 24px 20px; }
  .strength-card h3 { font-size: 18px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-sidebar {
    position: static;
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
  }
  .sidebar-title { display: none; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .sidebar-link {
    border-left: none; border-bottom: 2px solid transparent;
    padding: 6px 12px; font-size: 13px; border-radius: 20px;
    background: #f5f7fa;
  }
  .sidebar-link.is-active {
    background: var(--brand); color: #fff;
    border-bottom-color: var(--brand);
  }
  .sidebar-contact { display: none; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .pd-colorcard img { max-height: 460px; }
  .pd-colorcard--pair { gap:10px; }
  .pd-colorcard--pair img { max-height:none; }
  .pd-test-images > figure:only-child { max-width: 100%; }
  .site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; }
  .site-footer .f-brand { width: 100%; }
  .site-footer .f-links-qr { width: 100%; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: flex-start; }
  .site-footer .f-links-qr > div:first-child { flex: 1; min-width: 0; }
  /* 二维码下移，顶部对齐到「快速链接」下第一个链接「关于我们」，而非标题 */
  .site-footer .f-qr { gap: 8px; padding-top: 0; text-align: center; flex-shrink: 0; margin-top: 0; }
  .site-footer .f-qr img { width: 68px; border-radius: 6px; }
  .site-footer .f-qr figcaption { margin-top: 6px; font-size: 11px; }
  .feature-card { padding: 20px 16px; }
  .ceo-card { max-width: 100%; border-radius: 10px; }
  .ceo-contact-item {
    padding: 12px 16px; /* 字号由 clamp() 控制，不固定 */
    border-radius: 10px;
  }
  .ceo-icon { font-size: 20px; width: 28px; }
}

/* ============================================================
   2026 视觉升级 — 当代高端家居画册风格
   ============================================================ */
:root {
  --ink: #17221f;
  --brand: #274f43;
  --brand-dark: #10231e;
  --gold: #b68b48;
  --gold-light: #d7bb82;
  --paper: #f3f0e9;
  --paper-2: #faf8f3;
  --muted: #716f68;
  --line: rgba(23, 34, 31, .12);
  --shadow: 0 24px 70px rgba(23, 34, 31, .11);
  --radius: 3px;
  --maxw: 1240px;
  --header-h: 76px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23,34,31,.035) .7px, transparent .7px);
  background-size: 7px 7px;
}
.section { padding: 110px 0; }
.section--tight { padding: 88px 0; }
.container { padding-inline: 28px; }
.section-heading { margin-bottom: 48px; }
.section-heading .eyebrow,
.journal-heading .eyebrow,
.about-copy > .eyebrow {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: .28em !important;
  color: var(--gold) !important;
}
.section-heading h2,
.about-copy h2,
.journal-heading h2,
.page-hero h1 {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-weight: 500;
  letter-spacing: .015em;
}
.section-heading h2 { font-size: clamp(32px, 4vw, 48px); }
.section-heading p { font-size: 15px; line-height: 1.9; }

/* Navigation */
.site-header {
  height: var(--header-h);
  padding-inline: clamp(22px, 4vw, 64px);
  background: rgba(250,248,243,.92);
  border-bottom: 1px solid rgba(23,34,31,.08);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.is-scrolled { background: rgba(250,248,243,.97); box-shadow: 0 12px 40px rgba(23,34,31,.07); }
.site-header .brand img { height: 44px; }
.desktop-nav { gap: 2px; }
.desktop-nav a {
  position: relative;
  padding: 10px 17px;
  border-radius: 0;
  font-size: 14px;
  letter-spacing: .04em;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { transform: scaleX(1); }
.lang-switch { border-radius: 2px; background: transparent; border-color: var(--line); }
.lang-opt { border-radius: 1px; min-height: 30px; }
.header-cta,
.button { border-radius: 2px; letter-spacing: .06em; }
.header-cta { background: var(--brand-dark); color: #fff !important; padding: 11px 22px; }
.header-cta:hover { background: var(--gold); color: var(--brand-dark) !important; }
.button { min-height: 50px; padding: 14px 28px; }
.button.primary { background: var(--gold); color: #14211d; }
.button.primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.button.ghost { border-color: rgba(39,79,67,.5); }

/* Home hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  align-items: flex-start;
  padding: 110px max(28px, calc((100vw - var(--maxw)) / 2 + 28px)) 118px;
}
.hero-bg img { transform: scale(1.025); transition: opacity 1.2s ease, transform 9s ease; }
.hero-bg img.is-active { transform: scale(1); }
.hero::after {
  background:
    linear-gradient(90deg, rgba(10,21,18,.72) 0%, rgba(12,27,22,.54) 38%, rgba(12,27,22,.16) 67%, rgba(10,21,18,.06) 100%),
    linear-gradient(0deg, rgba(8,18,15,.34), transparent 38%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 26px;
  border: 1px solid rgba(255,255,255,.24);
  pointer-events: none;
}
.hero-content { max-width: 720px; margin: 0; text-align: left; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: .25em;
}
.hero-kicker span { width: 44px; height: 1px; background: var(--gold-light); }
.hero h1 {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(43px, 6.5vw, 82px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: .03em;
  text-wrap: balance;
  text-shadow: 0 8px 35px rgba(0,0,0,.16);
}
.hero h1 em { color: #f1d9ab; font-weight: 400; font-style: normal; }
.hero-lead { margin: 0 0 34px; max-width: 610px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.9; color: rgba(255,255,255,.82); }
.hero-actions { justify-content: flex-start; }
.hero .button.secondary { border-color: rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.hero-prompts {
  position: absolute;
  left: max(28px, calc((100vw - var(--maxw)) / 2 + 28px));
  right: max(28px, calc((100vw - var(--maxw)) / 2 + 28px));
  bottom: 38px;
  max-width: none;
  margin: 0;
  justify-content: flex-start;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-prompts .prompt {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 13px 26px 0 0;
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.76);
}
.scroll-cue { left: auto; right: 38px; transform: none; bottom: 38px; }

/* Proof bar */
.advantages { position: relative; background: var(--brand-dark); }
.advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(182,139,72,.08), transparent);
}
.advantages.section { padding: 58px 0; }
.adv-grid { position: relative; gap: 0; }
.adv-item { padding: 8px 30px; border-right: 1px solid rgba(255,255,255,.13); }
.adv-item:last-child { border-right: 0; }
.adv-item h4 { color: #e8d1a5; font-family: Georgia, "Times New Roman", serif; font-size: clamp(19px, 2vw, 26px); font-weight: 400; }
.adv-item p { color: rgba(255,255,255,.62); font-size: 13px; }

/* Editorial about */
#home-intro { overflow: hidden; }
#home-intro .about-split { grid-template-columns: .92fr 1.08fr; gap: clamp(50px, 8vw, 110px); }
.about-copy h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.24; }
.about-copy p { line-height: 1.95; }
.about-copy .lead { font-size: 17px; line-height: 2; }
.about-editorial {
  position: relative;
  margin: 0;
  min-height: 610px;
  box-shadow: var(--shadow);
}
.about-editorial::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(182,139,72,.45);
  z-index: -1;
}
.about-editorial img { width: 100%; height: 610px; object-fit: cover; }
.about-editorial figcaption {
  position: absolute;
  left: -44px;
  bottom: 36px;
  width: 260px;
  padding: 22px 24px;
  color: #fff;
  background: rgba(16,35,30,.94);
  backdrop-filter: blur(12px);
}
.about-editorial figcaption span { float: right; color: var(--gold-light); font-family: Georgia, serif; font-size: 28px; }
.about-editorial figcaption strong { display: block; font-family: "Songti SC", "STSong", Georgia, serif; font-size: 18px; font-weight: 500; }
.about-editorial figcaption small { display: block; margin-top: 8px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .18em; }

/* Interior journal */
.space-journal { position: relative; background: #111b18; color: #fff; overflow: hidden; }
.space-journal::before {
  content: "RAYTEX";
  position: absolute;
  top: 8px;
  right: -15px;
  color: rgba(255,255,255,.025);
  font-family: Georgia, serif;
  font-size: clamp(100px, 20vw, 300px);
  line-height: 1;
  letter-spacing: -.04em;
}
.journal-heading { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.journal-heading h2 { margin: 6px 0 0; color: #fff; font-size: clamp(32px, 4vw, 52px); line-height: 1.25; }
.journal-heading > p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.9; font-size: 14px; }
.journal-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .55fr); gap: 22px; }
.journal-feature { position: relative; min-height: 610px; margin: 0; overflow: hidden; }
.journal-feature img { width: 100%; height: 610px; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.journal-feature:hover img { transform: scale(1.025); }
.journal-feature::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(6,14,12,.75)); }
.journal-feature figcaption { position: absolute; z-index: 2; left: 34px; bottom: 30px; }
.journal-feature figcaption span { display: block; color: var(--gold-light); font-size: 10px; letter-spacing: .2em; }
.journal-feature figcaption strong { display: block; margin-top: 7px; font-family: "Songti SC", "STSong", Georgia, serif; font-size: 24px; font-weight: 400; }
.journal-notes { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.material-swatch {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.18), transparent 22%),
    repeating-linear-gradient(108deg, #254f42 0, #254f42 3px, #1f4539 4px, #1f4539 7px);
  box-shadow: inset 0 0 60px rgba(0,0,0,.35);
}
.material-swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.12), transparent 40%, rgba(0,0,0,.28)); }
.material-swatch span { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: rgba(255,255,255,.74); font-family: Georgia, serif; font-size: 11px; letter-spacing: .25em; }
.journal-quote { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; background: #eee5d5; color: var(--ink); }
.quote-mark { position: absolute; top: 10px; left: 24px; color: rgba(182,139,72,.35); font-family: Georgia, serif; font-size: 72px; line-height: 1; }
.journal-quote p { position: relative; margin: 0 0 22px; font-family: "Songti SC", "STSong", Georgia, serif; font-size: 20px; line-height: 1.7; }
.journal-quote small { color: var(--gold); font-size: 8px; letter-spacing: .16em; }

/* Product and content cards */
.product-card,
.feature-card,
.news-card,
.value-card,
.policy-item,
.contact-form {
  border-color: rgba(23,34,31,.09);
  box-shadow: 0 8px 28px rgba(23,34,31,.04);
}
.product-card { position: relative; border-radius: 2px; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 54px rgba(23,34,31,.14); }
.product-card .pc-media { aspect-ratio: 1 / 1.05; }
.product-card .pc-body { padding: 20px 20px 24px; }
.product-card .pc-tag { font-size: 10px; letter-spacing: .14em; }
.product-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 500; }
/* 2026-10-11 移除「查看详情」后缀箭头：原为 .product-card .pc-more::after { content: "  →"; } */
.hscroll { gap: 22px; padding-bottom: 30px; }
.hscroll .product-card { flex-basis: 272px; }
.hscroll-nav button { border-radius: 2px; border-color: var(--line); }
.hscroll-nav button:hover { background: var(--brand-dark); color: #fff; }
.tabs .tab { border-radius: 2px; }

/* Inner pages and footer */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 35%, rgba(182,139,72,.24), transparent 25%),
    linear-gradient(120deg, #10231e, #274f43);
  padding-top: calc(env(safe-area-inset-top) + var(--header-h) + 72px);
  padding-bottom: 74px;
}
.page-hero::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.page-hero h1 { position: relative; z-index: 1; font-size: clamp(34px, 5vw, 54px); }
.page-hero p, .page-hero .eyebrow { position: relative; z-index: 1; }
.site-footer { background: #1d3b33; padding-top: 68px; }
.site-footer h4 { color: #e8d1a5; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .08em; }
.site-footer a { line-height: 1.8; }

@media (max-width: 1024px) {
  .hero h1 { font-size: clamp(42px, 7vw, 68px); }
  .adv-item { padding-inline: 18px; }
  #home-intro .about-split { gap: 56px; }
  .about-editorial, .about-editorial img { min-height: 520px; height: 520px; }
  .journal-feature, .journal-feature img { min-height: 520px; height: 520px; }
}

@media (max-width: 900px) {
  .section { padding: 78px 0; }
  #home-intro .about-split { grid-template-columns: 1fr; }
  .about-editorial { max-width: 680px; margin-left: 22px; }
  .journal-heading { grid-template-columns: 1fr; gap: 22px; }
  .journal-heading > p { max-width: 640px; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-notes { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(220px, auto); }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  .site-header .brand img { height: 38px; }
  .hero { min-height: 780px; padding: 92px 22px 132px; }
  .hero::before { inset: 14px; }
  .hero-bg img { object-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(8,18,15,.74), rgba(8,18,15,.44)), linear-gradient(0deg, rgba(8,18,15,.42), transparent 48%); }
  .hero-content { max-width: 600px; }
  .hero h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-kicker { font-size: 9px; letter-spacing: .18em; }
  .hero-prompts { left: 28px; right: 28px; bottom: 34px; max-height: 72px; overflow: hidden; }
  .hero-prompts .prompt { padding-right: 16px; }
  .scroll-cue { display: none; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .adv-item { padding: 18px 12px; border-right: 0; }
  .adv-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .adv-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .about-editorial figcaption { left: -16px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 62px 0; }
  .hero { min-height: 720px; padding-top: 78px; }
  .hero-lead { font-size: 14px; line-height: 1.78; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 270px; }
  .hero-actions .button { width: 100%; }
  .about-copy .lead { font-size: 16px; }
  .about-editorial, .about-editorial img { min-height: 430px; height: 430px; }
  .about-editorial { margin-left: 10px; }
  .about-editorial::before { inset: -10px 10px 10px -10px; }
  .about-editorial figcaption { left: -10px; bottom: 20px; width: 230px; }
  .journal-feature, .journal-feature img { min-height: 440px; height: 440px; }
  .journal-feature img { object-position: 58% center; }
  .journal-feature figcaption { left: 22px; bottom: 22px; }
  .journal-notes { grid-template-columns: 1fr; grid-template-rows: 210px auto; }
  .journal-quote { min-height: 260px; }
  .hscroll .product-card { flex-basis: 78vw; padding: 0; }
  .site-footer .f-brand { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 企业动态：展会图集 ---------- */
.exhibition-gallery-section { background: var(--paper-2); }
.exhibition-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 12px;
}
.exhibition-gallery figure {
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9e6df;
  box-shadow: 0 4px 18px rgba(12, 39, 31, .09);
  cursor: zoom-in;
}
.exhibition-gallery figure:first-child {
  grid-column: span 6;
  grid-row: span 2;
}
.exhibition-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.exhibition-gallery figure:hover img { transform: scale(1.035); }
@media (max-width: 900px) {
  .exhibition-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .exhibition-gallery figure { grid-column: span 1; }
  .exhibition-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 600px) {
  .exhibition-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 10px; }
  .exhibition-gallery figure,
  .exhibition-gallery figure:first-child { grid-column: span 1; grid-row: span 1; }
}/* ---------- 实验室图集 ---------- */
@media (max-width: 900px) {
}
@media (max-width: 600px) {
}
/* ---------- Home lighter dark surfaces ---------- */
body[data-page="home"] .advantages { background: #2f6657; }
body[data-page="home"] .advantages::before {
  background: linear-gradient(110deg, transparent, rgba(232,209,165,.14), transparent);
}
body[data-page="home"] .adv-item { border-color: rgba(255,255,255,.20); }
body[data-page="home"] .adv-item h4 { color: #f3dfb9; }
body[data-page="home"] .adv-item p { color: rgba(255,255,255,.78); }
body[data-page="home"] .about-editorial figcaption { background: rgba(48,91,78,.92); }
body[data-page="home"] .about-editorial figcaption small { color: rgba(255,255,255,.72); }
body[data-page="home"] .space-journal { background: #29463e; }
body[data-page="home"] .space-journal::before { color: rgba(255,255,255,.045); }
body[data-page="home"] .journal-heading > p { color: rgba(255,255,255,.76); }
body[data-page="home"] .journal-feature::after {
  background: linear-gradient(transparent, rgba(20,48,40,.58));
}
body[data-page="home"] .material-swatch {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.24), transparent 22%),
    repeating-linear-gradient(108deg, #4f8374 0, #4f8374 3px, #3f7164 4px, #3f7164 7px);
  box-shadow: inset 0 0 60px rgba(0,0,0,.20);
}
body[data-page="home"] .material-swatch::after {
  background: linear-gradient(145deg, rgba(255,255,255,.16), transparent 40%, rgba(0,0,0,.16));
}
body[data-page="home"] .material-swatch span { color: rgba(255,255,255,.88); }

/* Keep the homepage viewport stable while preserving the internal product scroller. */
body[data-page="home"] { overflow-x: hidden; }
@media (max-width: 768px) {
  body[data-page="home"] .hscroll { margin-inline: -18px; }
}
/* Lighten the homepage editorial interior without flattening its warm tones. */
body[data-page="home"] .about-editorial img {
  filter: brightness(1.18) saturate(.90) contrast(.94);
}
/* Lift the homepage hero image while keeping the text-protecting overlay intact. */
body[data-page="home"] .hero-bg img {
  filter: brightness(1.26) saturate(.90) contrast(.94);
}


/* Cozia: seven application images use balanced centered rows without empty grid cells */
.pd-gallery--effect7 { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.pd-gallery--effect7 figure { flex:0 1 calc((100% - 42px) / 4); margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); cursor:zoom-in; }
.pd-gallery--effect7 img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--effect7 figure:hover img { transform:scale(1.02); }
@media (max-width:1024px) { .pd-gallery--effect7 figure { flex-basis:calc((100% - 24px) / 3); } }
@media (max-width:520px) {
  .pd-gallery--effect7 { flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding-bottom:10px; scrollbar-width:thin; }
  .pd-gallery--effect7 figure { flex:0 0 78%; max-width:78%; scroll-snap-align:center; }
}

/* 竖版应用效果：4:3 的 cover 会把竖图的沙发整段裁掉，所以改用图片自身比例。
   比例由 script.js 按首图实际尺寸写入 --pd-effect-ar（如 Pura ≈0.41、Sylva ≈0.83），
   取不到时回退 2/5（Pura 的历史值）；锚定顶部，行内高度统一、不裁到沙发主体。
   只对竖图生效，横版效果图的 4:3 不受影响。 */
.pd-gallery--effect-tall img { aspect-ratio:var(--pd-effect-ar, 2 / 5); object-fit:cover; object-position:50% 0; }


/* Cozia: sixteen swatches form a complete 4 x 4 desktop grid */
.pd-gallery--color4 { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.pd-gallery--color4 figure { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); cursor:zoom-in; }
.pd-gallery--color4 img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; transition:transform .3s ease; }
.pd-gallery--color4 figure:hover img { transform:scale(1.03); }
@media (max-width:1024px) { .pd-gallery--color4 { grid-template-columns:repeat(4,1fr); gap:10px; } }
@media (max-width:520px) {
  .pd-gallery--color4 { display:flex; gap:12px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding-bottom:10px; scrollbar-width:thin; }
  .pd-gallery--color4 > figure { flex:0 0 78%; max-width:78%; scroll-snap-align:center; }
}


/* ---------- 机构测试报告 ---------- */
.report-preview { position:fixed; inset:0; z-index:130; display:none; align-items:center; justify-content:center; padding:22px; background:rgba(7,27,22,.93); }
.report-preview.is-open { display:flex; }
.report-preview__panel { width:min(1180px,96vw); height:min(900px,92vh); display:flex; flex-direction:column; overflow:hidden; border-radius:14px; background:#f5f5f2; box-shadow:0 28px 80px rgba(0,0,0,.42); }
.report-preview__toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:72px; padding:12px 14px 12px 22px; background:var(--brand-dark); color:#fff; }
.report-preview__heading { display:flex; flex-direction:column; min-width:0; }
.report-preview__heading strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:17px; }
.report-preview__heading span { margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:rgba(255,255,255,.65); font-size:12px; }
.report-preview__actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.report-preview__actions a { min-height:42px; display:inline-flex; align-items:center; padding:0 16px; border:1px solid rgba(255,255,255,.35); border-radius:8px; color:#fff; font-size:14px; font-weight:700; }
.report-preview__actions a:hover { color:#fff; border-color:var(--gold); background:rgba(255,255,255,.08); }
.report-preview__actions button { width:42px; height:42px; border:0; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; font-size:25px; cursor:pointer; }
.report-preview iframe { flex:1; width:100%; min-height:0; border:0; background:#777; }
@media (max-width:900px) { }
@media (max-width:600px) {
  .report-preview { padding:0; }
  .report-preview__panel { width:100%; height:100%; border-radius:0; }
  .report-preview__toolbar { min-height:64px; padding:9px 10px 9px 14px; gap:10px; }
  .report-preview__heading strong { font-size:14px; }
  .report-preview__heading span { display:none; }
  .report-preview__actions a { min-height:40px; padding:0 10px; font-size:12px; }
  .report-preview__actions button { width:40px; height:40px; }
}


/* ---------- H material spectrum: shared site theme, 2026-10-16 ---------- */
:root {
  --ink: #282d30;
  --brand: #65735e;
  --brand-dark: #4f6047;
  --gold: #ad8a5e;
  --gold-light: #c8ac89;
  --paper: #ffffff;
  --paper-2: #f6f8f5;
  --muted: #70766f;
  --line: #e2e7e1;
  --shadow: 0 8px 24px rgba(47,64,43,.05);
  --radius: 2px;
  --maxw: 1320px;
  --header-h: 78px;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
}
body { color: var(--ink); background: #fff; background-image: none; }
/* Content remains visible even before scrolling or after API refreshes. */
.reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
main { min-width: 0; }
.container { width: calc(100% - 104px); max-width: 1320px; padding-inline: 0; }
.section { padding-block: 62px; }
.section--tight { padding-block: 44px; }
.section-heading { text-align: left; max-width: none; margin: 0 0 30px; }
.section-heading h2, .about-copy h2, .page-hero h1 {
  font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: .025em;
}
.section-heading h2, .about-copy h2 { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.45; }
.section-heading p { font-size: 15px; line-height: 1.85; color: var(--muted); }
.section-heading .eyebrow, .page-hero .eyebrow { font-family: inherit; letter-spacing: .18em !important; font-size: 12px; color: #7b886f !important; font-weight: 500; }
html[lang="en"] .section-heading > .eyebrow,
html[lang="en"] .brand-core .bc-label { display: none; }
.site-header, .site-header.is-scrolled {
  height: 78px; padding-inline: max(28px, calc((100vw - 1380px) / 2));
  background: #fff; box-shadow: none; border-bottom: 1px solid #efefec;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header .brand { gap: 20px; padding-right: 24px; }
.site-header .brand img { height: 44px; max-width: 100px; object-fit: contain; }
.site-header .h-brand-name { font-family: var(--serif); font-size: 20px; font-weight: 600; white-space: nowrap; letter-spacing: .05em; }
.desktop-nav a, .site-header.is-scrolled .desktop-nav a { font-size: 13px; padding: 9px 11px; color: #454a45; }
/* Keep the eight Chinese navigation labels on an even visual rhythm. */
html[lang="zh-CN"] .desktop-nav a { flex: 0 0 86px; text-align: center; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #52644d; }
.desktop-nav a.is-active::after, .desktop-nav a:hover::after { background: #819078; height: 1px; }
.lang-switch { border: 0; background: transparent; margin-inline: 12px; padding: 0; gap: 0; }
.lang-opt { color: #686d67; padding-inline: 8px; background: none; font-weight: 400; border-radius: 0; }
.lang-opt.is-active { color: #303a2c; font-weight: 600; background: none; }
.lang-opt + .lang-opt::before { content: "/"; margin-right: 14px; color: #b2b6af; }
.header-cta { background: #ad8a5e; color: #fff !important; border-radius: 2px; padding: 9px 21px; margin-left: 10px; font-size: 13px; letter-spacing: .06em; }
.header-cta:hover { background: #95734a; color: #fff !important; }
.button { min-height: 46px; padding: 11px 25px; font-size: 14px; font-weight: 500; border-radius: 2px; letter-spacing: .06em; }
.button.primary { background: #78836d; color: #fff; border-color: #78836d; }
.button.primary:hover { background: #59694e; border-color: #59694e; transform: none; }
.button.secondary, .button.ghost { background: #fff; color: #59694e; border-color: #87917f; }
.button.secondary:hover, .button.ghost:hover { color: #fff; background: #59694e; }
.mobile-menu { background: #f5f7f2; }
.mobile-menu a, .mobile-menu .lang-opt { color: #3c4937; }
.mobile-menu .lang-switch { background: #fff; border: 1px solid #e2e7e1; }
.mobile-menu .lang-opt.is-active { background: #e6ecdf; }
.mobile-menu .lang-opt { padding-inline: 16px; }
.mobile-menu .lang-opt + .lang-opt::before { content: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #657756; outline-offset: 4px; }

/* An uncovered textile banner connects every inner page to the home. */
.page-hero {
  padding: 46px 0 0; margin-top: 0; min-height: 0; text-align: center;
  color: var(--ink); background: #fff !important; border: 0;
}
.page-hero::before { content: none; }
.page-hero::after {
  content: ""; display: block; position: static; inset: auto; height: 170px;
  width: 100%; margin-top: 35px; border: 0; opacity: 1;
  background: #f5f4f0 url("assets/img/home-h/fabric-hero-display.webp") center 54% / cover no-repeat;
}
.page-hero h1 { font-size: clamp(32px, 3.7vw, 50px); line-height: 1.38; margin: 12px auto 16px; max-width: 1120px; padding-inline: 24px; text-shadow: none; }
.page-hero > p { color: #747b71; padding-inline: 24px; font-size: 15px; margin: 0 auto; max-width: 1000px; }
.page-hero .eyebrow { color: #7b886f; font-size: 12px; }
.page-hero h1 > span { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }

/* Product catalog: its own editorial showroom banner and a quieter intro. */
body[data-page="products"] .page-hero h1 { letter-spacing: .08em; }
body[data-page="products"] .page-hero > p { max-width: 760px; line-height: 1.8; }
body[data-page="products"] .page-hero::after {
  background-image: url("assets/img/site-previews/products-showroom-banner-33b290e85b220367.webp");
  background-position: center 58%;
}
body[data-page="news"] .page-hero::after {
  background-image: url("assets/img/site-previews/news-exhibition-banner-e9b6cfab502d8aa3.webp");
  background-position: center 51%;
}
body[data-page="contact"] .page-hero::after {
  background-image: url("assets/img/site-previews/contact-reception-banner-988450ae7b5b83a7.webp");
  background-position: center 52%;
}
body[data-page="laboratory"] .page-hero::after {
  background-image: url("assets/img/site-previews/quality-testing-banner-92aae0351a033e6f.webp");
  background-position: center 54%;
}
body[data-page="manufacturing"] .page-hero::after {
  background-image: url("assets/img/site-previews/manufacturing-looms-banner-22ae348ebe8d9e17.webp");
  background-position: center 53%;
}
body[data-page="inspiration"] .page-hero::after {
  background-image: url("assets/img/site-previews/inspiration-studio-banner-22b287034253d6b9.webp");
  background-position: center 54%;
}
@media (max-width: 600px) {
  body[data-page="products"] .page-hero::after { height: 100px; }
}

/* Header, navigation and all three original QR codes share the accepted homepage style. */
.site-footer { background: #edf3f6; color: #58656a; border: 0; padding: 42px 0 18px; }
.site-footer .container { width: calc(100% - 104px); max-width: 1320px; padding: 0; display: grid; grid-template-columns: 1.1fr .6fr 1fr 1.6fr; gap: 30px; }
.site-footer .f-links-qr { display: contents; }
.site-footer .f-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: auto; }
.site-footer .f-brand img { width: auto; height: 42px; margin: 0; }
.site-footer .f-brand p { color: #637278; font-size: 13px; line-height: 1.8; margin: 0; max-width: 250px; }
.site-footer h4 { font-family: inherit; color: #374c53; font-size: 14px; font-weight: 600; margin-bottom: 12px; letter-spacing: .04em; }
.site-footer a, .site-footer .f-contact > div span, .site-footer .f-contact > div strong { color: #56666c; font-size: 13px; font-weight: 400; }
.site-footer a:hover { color: #334a36; }
.site-footer .f-contact > div { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.site-footer .f-contact > div span { min-width: 0; overflow-wrap: anywhere; }
.site-footer .f-qr { display: flex; gap: 12px; padding: 0; margin: 0; }
.site-footer .f-qr img { width: 68px; height: 68px; object-fit: contain; background: #fff; border-radius: 3px; padding: 4px; }
.site-footer .f-qr figcaption { color: #637278; font-size: 12px; }
.site-footer .copyright { border-top: 1px solid #d6e0e4; color: #748187; margin-top: 4px; padding-top: 16px; font-size: 12px; }

/* About: centered readable copy, lightly divided editorial cards. */
[data-sec="about_intro"] .about-copy { width: 100%; max-width: 980px !important; margin-inline: auto; }
.about-copy p { line-height: 1.95; font-size: 16px; }
.about-copy .lead { font-family: var(--serif); font-size: 20px; line-height: 1.85; color: #414c3c; }
.value-card, .policy-item { background: #fff; border: 0; border-top: 1px solid #dbe1d8; border-radius: 0; box-shadow: none; padding: 25px 24px; text-align: left; }
.value-card:hover, .policy-item:hover { transform: none; box-shadow: none; }
.value-card h3, .policy-item h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.6; }
.value-card p, .policy-item p { font-size: 15px; line-height: 1.95; color: var(--muted); }
.culture-card h3 span { display: block; margin: 4px 0 0; color: #829076; font-family: inherit; font-size: 14px; font-weight: 400; }
.value-card .vc-en, .policy-item .pi-num { color: #839077; font-size: 12px; font-weight: 500; }
.brand-core { background: #edf3f6; border: 0; border-radius: 2px; padding: 38px 35px; }
.brand-core .bc-slogan { font-family: var(--serif); font-size: clamp(25px, 3vw, 36px); font-weight: 500; }
.brand-core p { font-size: 16px; line-height: 1.95; }
.policy-statement { font-family: var(--serif); font-weight: 500; font-size: 26px; color: #4e5e46; }
.vision-block { max-width: 980px; text-align: left; }
.vision-block p { font-size: 16px; }

/* Product center: real catalog imagery, no image masks, light material cards. */
.tabs { justify-content: flex-start; gap: 10px; padding-bottom: 23px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.tabs .tab { background: #fff; color: #697262; font-size: 14px; font-weight: 400; border: 1px solid #dbe1d8; padding: 10px 24px; border-radius: 2px; }
.tabs .tab:hover { border-color: #84927a; }
.tabs .tab.is-active { background: #78836d; border-color: #78836d; color: #fff; }
.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 26px; }
.product-grid > p:only-child { grid-column: 1 / -1; }
.product-card { background: #fff; border: 0; border-bottom: 1px solid #e4e8e0; border-radius: 0; box-shadow: none; }
.product-card:hover { transform: translateY(-3px); box-shadow: none; }
.product-card .pc-media { aspect-ratio: 1 / 1; background: #f4f5f1; }
.product-card .pc-media img { object-fit: cover; filter: none; opacity: 1; }
.product-card .pc-body { padding: 18px 4px 22px; }
.product-card .pc-tag { font-size: 12px; font-weight: 400; letter-spacing: .04em; color: #839077; }
.product-card h3 { font-family: Georgia, var(--serif); font-size: 23px; font-weight: 400; margin: 6px 0 8px; }
.product-card p { font-size: 14px; line-height: 1.7; }
.product-card .pc-more { font-weight: 400; font-size: 14px; }

/* Details: content count determines the actual media width, never an unused cell. */
.pd-specs { max-width: 900px; box-shadow: none; border: 1px solid var(--line); border-radius: 0; }
.pd-specs th { background: #edf1e9; color: #46533e; white-space: normal; line-height: 1.7; padding: 14px 20px; border-bottom: 1px solid #dbe3d5; }
.pd-specs td { background: #fff; line-height: 1.8; padding: 14px 20px; overflow-wrap: anywhere; }
.pd-specs tr:last-child th { border-bottom: 0; }
.pd-hero-shot { max-width: 360px; width: 100%; margin: 0 auto 38px; }
.pd-hero-shot img { width: 100%; max-width: none; height: auto; border-radius: 2px; box-shadow: none; }

/* 详情页顶部主图（多张，最多 3 张）
   PC：flex 等分 → 几张都均分宽度，不用为 2 张 / 3 张各写一套 grid 列数；
   ≤900px：改为满宽横向滑动 + scroll-snap，下方圆点 + n/m 计数。 */
.pd-hero-shots { margin: 0 0 38px; }
.phs-track { display: flex; gap: 18px; align-items: stretch; }
.phs-item { flex: 1 1 0; min-width: 0; margin: 0; border-radius: 2px; overflow: hidden; background: #f6f8f5; }
.phs-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; cursor: zoom-in; }
.phs-bar { display: none; }

@media (max-width: 900px) {
  .phs-track {
    gap: 0; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .phs-track::-webkit-scrollbar { display: none; }
  .phs-item { flex: 0 0 100%; scroll-snap-align: center; border-radius: 2px; }
  .phs-bar {
    display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px;
  }
  .phs-dots { display: inline-flex; align-items: center; gap: 7px; }
  .phs-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #cfd9c9;
    transition: width .22s ease, background .22s ease, border-radius .22s ease; cursor: pointer;
  }
  .phs-dot.is-on { width: 18px; border-radius: 3px; background: var(--brand); }
  .phs-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
}
.pd-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1200px; margin-inline: auto; }
.pd-gallery > figure { flex: 1 1 calc(25% - 16px); min-width: 0; margin: 0; border-radius: 2px; background: #fff; box-shadow: none; }
.pd-gallery > figure:only-child { grid-column: 1 / -1; flex-basis: 100%; width: 100%; max-width: none; }
.pd-gallery img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block; }
.pd-colorcard img { box-shadow: none; border-radius: 2px; }
.pd-colorcard--pair > figure:only-child { flex-basis: 100%; width: 100%; max-width: none; }
.pd-test-list { max-width: 980px; border-radius: 2px; background: #fff; }
.pd-test-info { background: #f4f6f0; }
.pd-test-info p { font-size: 14px; }
.pd-test-num { background: #e3e9dc; color: #4b5e40; font-weight: 500; border-radius: 2px; }
.pd-test-images figure { box-shadow: none; }
.pd-test-images img { height: auto; aspect-ratio: auto; object-fit: contain; }
.pd-test-images > figure:only-child { grid-column: 1 / -1; width: 100%; max-width: none; }
.pd-test-row:not(:has(.pd-test-images)) { grid-template-columns: 1fr; }
.pd-test-row:not(:has(.pd-test-images)) .pd-test-info { border-right: 0; }

/* Laboratory: captions below the unmasked photographs and readable report covers. */
.report-preview__panel { border-radius: 3px; }
.report-preview__toolbar { background: #edf3f6; color: #374c53; }
.report-preview__heading span { color: #637278; }
.report-preview__actions a { color: #4d6057; border-color: #b5c4bf; background: #fff; border-radius: 2px; }
.report-preview__actions a:hover { color: #334a36; background: #f8faf8; }
.report-preview__actions button { color: #445645; background: #e0e7de; }

/* News uses the same light editorial surface as the material journal. */
.exhibition-gallery figure { box-shadow: none; border-radius: 2px; }
.news-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.news-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.news-card:hover { box-shadow: none; transform: translateY(-3px); }
.news-card .nc-link { position: static; display: block; }
.news-card .nc-body { padding: 20px 4px 24px; }
.news-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.news-card p { font-size: 15px; line-height: 1.9; }
.dark-article-page { max-width: 980px; padding: 48px 30px 66px; background: #fff; }
.da-breadcrumb, .da-breadcrumb a, .da-current, .da-sep { color: #7a8571; }
.da-title, .article-title { color: var(--ink); font-family: var(--serif); font-size: clamp(29px,3.5vw,44px); font-weight: 500; line-height: 1.5; }
.da-featured-img { border-radius: 2px; background: #f5f6f2; }
.da-featured-img img { max-height: none; object-fit: contain; }
.da-content, .article-content { font-size: 16px; color: #626c5d; line-height: 2; }
.da-content strong, .article-content strong { color: #394b30; font-weight: 500; }
.da-content p[style] { color: #727d6c !important; border-color: #e2e7e1 !important; }
.da-back { border-color: var(--line); }
.da-back-link { color: #65785a; }
.article-topbar { background: #f6f8f5; color: #6e7b65; }
.hero-overlay { display: none; }
.article-sidebar { border-right: 1px solid var(--line); padding-right: 22px; }
.en-text { font-style: normal; }

/* Contact and overlays retain their existing actions. */
.contact-wrap { gap: 70px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; }
.contact-info .ci-list { gap: 8px; }
.contact-info .ci-row { padding-block: 10px; border-bottom: 1px solid #edf0e9; }
.contact-info .ci-ic { background: #f1f5ec; color: #738468; border: 1px solid #dce5d5; border-radius: 2px; font-size: 13px; font-weight: 400; }
.contact-info .ci-row span { font-size: 15px; }
.contact-info .ci-row b { font-size: 15px; font-weight: 500; }
.map-img-wrap { margin-top: 0 !important; }
.map-img-wrap img { border-radius: 2px !important; border-color: #e2e7e1 !important; }
/* 三个地址搬到右侧与地图同组（见 .ci-addresses），左栏只留电话/邮箱，两边高度自然接近 */
.ci-addresses { margin-bottom: 22px; }
.ci-addresses h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 0 0 14px; }
.ci-addr { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #edf0e9; }
.ci-addr:first-of-type { border-top: 0; padding-top: 0; }
.ci-addr-ic { flex: none; width: 34px; height: 34px; border-radius: 2px; background: #f1f5ec; border: 1px solid #dce5d5;
  color: #738468; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.ci-addr b { display: block; font-size: 15px; font-weight: 500; }
.ci-addr span { display: block; font-size: 14px; color: var(--muted); line-height: 1.7; }
.contact-form { background: #f6f8f5; box-shadow: none; border-radius: 2px; }
.contact-form input, .contact-form textarea, .contact-form select { border-radius: 2px; }
.certificate-preview { background: rgba(248,250,247,.97); }
.certificate-preview img { border-radius: 2px; }
.certificate-preview__close { background: #e5ebdf; color: #405137; border: 1px solid #cdd7c5; }
.fullscreen-modal { background: rgba(246,249,244,.98); }
.fullscreen-modal__close { color: #405137; background: #e5ebdf; }
.modal-article, .modal-article__body, .modal-article__hero h2, .modal-figure + .modal-cap { color: var(--ink); }
.modal-article__body { background: #fff; }
.modal-figure { background: #f5f6f1; }
.modal-kicker { color: #78876b; }

/* 1181–1419px：英文 8 项长标签 + CTA 在中等桌面宽度会触发横向溢出，提前收紧导航与品牌区，保证单行不溢出 */
@media (max-width:1419px) {
  .site-header .brand { gap: 14px; padding-right: 16px; }
  .site-header .h-brand-name { font-size: 17px; }
  .desktop-nav a { font-size: 12px; padding-inline: 7px; }
  html[lang="zh-CN"] .desktop-nav a { flex-basis: 78px; }
  .lang-opt { padding-inline: 7px; }
}
@media (max-width:1180px) {
  .site-header { padding-inline: 22px; }
  .site-header .brand { gap: 10px; padding-right: 12px; }
  .site-header .h-brand-name { font-size: 16px; }
  .desktop-nav a { padding-inline: 6px; font-size: 12px; }
  html[lang="zh-CN"] .desktop-nav a { flex-basis: 74px; }
  .lang-opt { padding-inline: 6px; }
  .header-cta { padding: 8px 14px; font-size: 12px; }
  .site-footer .container { grid-template-columns: 1fr .7fr 1fr; }
  .site-footer .f-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 30px; border-top: 1px solid #d6e0e4; padding-top: 20px; }
  .site-footer .f-contact h4 { margin: 0; }
  .site-footer .f-contact > div { flex-direction: row; margin: 0; }
}
/* 961–1100px：桌面导航仍可见，隐藏 CTA 并把导航压到最小，保证 8 个英文长标签单行不溢出 */
@media (max-width:1100px) {
  .header-cta { display: none; }
  .desktop-nav a { font-size: 11px; padding-inline: 5px; }
  .lang-opt { padding-inline: 5px; }
}
@media (max-width:1000px) {
  .container { width: calc(100% - 56px); }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 26px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 20px; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer .container { width: calc(100% - 56px); }
  .contact-wrap { gap: 36px; }
  .pd-gallery > figure { flex-basis: calc(33.333% - 16px); }
}
@media (max-width:600px) {
  :root { --header-h: 66px; }
  .site-header, .site-header.is-scrolled { height: 66px; padding-inline: 18px; }
  .site-header .brand { gap: 8px; padding: 0; }
  .site-header .brand img { height: 34px; max-width: 65px; }
  .site-header .h-brand-name { font-size: 16px; letter-spacing: 0; }
  .header-cta { display: none; }
  .container { width: calc(100% - 36px); padding: 0; }
  .page-hero { padding-top: 30px; }
  .page-hero h1 { font-size: 31px; margin-block: 10px 12px; line-height: 1.45; }
  .page-hero > p { font-size: 13px; }
  .page-hero::after { margin-top: 24px; height: 60px; }
  .section { padding-block: 35px; }
  .section-heading h2, .about-copy h2 { font-size: 27px; }
  .section-heading p { font-size: 14px; }
  .section-heading { margin-bottom: 24px; }
  .about-copy .lead { font-size: 18px; }
  .about-copy p, .brand-core p, .vision-block p { font-size: 15px; }
  .values { grid-template-columns: 1fr; gap: 16px; }
  .value-card, .policy-item { padding: 23px 15px; }
  .brand-core { padding: 26px 20px; }
  .brand-core .bc-slogan { font-size: 25px; }
  .policy-statement { font-size: 22px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px 16px; }
  .product-card h3 { font-size: 21px; }
  .product-card p, .product-card .pc-more { font-size: 13px; }
  .product-card .pc-body { padding-block: 14px 18px; }
  .tabs { gap: 8px; padding-bottom: 18px; }
  .tabs .tab { padding-inline: 15px; font-size: 13px; }
  .news-grid, .contact-wrap { grid-template-columns: 1fr; }
  .news-card h3 { font-size: 22px; }
  .dark-article-page { padding: 30px 18px 40px; }
  .da-title { font-size: 29px; }
  .article-sidebar { border-right: 0; padding-right: 0; }
  .contact-info h2 { font-size: 27px; }
  .site-footer { padding-block: 30px 18px; }
  .site-footer .container { width: calc(100% - 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .site-footer .f-brand { width: auto; }
  .site-footer .f-links-qr { display: contents; }
  .site-footer .f-qr { grid-column: 1 / -1; gap: 22px; justify-content: flex-start; }
  .site-footer .f-qr img { width: 72px; height: 72px; }
  .site-footer .f-contact { display: block; }
  .site-footer .f-contact h4 { margin-bottom: 12px; }
  .site-footer .f-contact > div { margin-bottom: 7px; }
  .site-footer .copyright { font-size: 11px; }
  .pd-gallery, .pd-gallery--texture:has(> figure:nth-child(3)),
  .pd-gallery--texture6:has(> figure:nth-child(3)),
  .pd-gallery--color:has(> figure:nth-child(3)), .pd-gallery--color7:has(> figure:nth-child(3)),
  .pd-gallery--effect5:has(> figure:nth-child(3)), .pd-gallery--texture5:has(> figure:nth-child(3)) {
    display: flex; flex-wrap: wrap; justify-content: center; overflow: visible; gap: 12px; padding: 0;
  }
  .pd-gallery > figure,
  .pd-gallery--texture6:has(> figure:nth-child(3)) > figure,
  .pd-gallery--texture:has(> figure:nth-child(3)) > figure,
  .pd-gallery--color:has(> figure:nth-child(3)) > figure,
  .pd-gallery--color7:has(> figure:nth-child(3)) > figure,
  .pd-gallery--effect5:has(> figure:nth-child(3)) > figure,
  .pd-gallery--texture5:has(> figure:nth-child(3)) > figure { flex: 1 1 calc(50% - 12px); max-width: none; }
  .pd-gallery > figure:only-child { flex-basis: 100%; }
  .pd-gallery img { width: 100%; height: auto; aspect-ratio: auto; }
  .pd-hero-shot { max-width: 280px; }
  .pd-test-info { padding: 18px; }
  .pd-specs th, .pd-specs td { padding: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* English captions must not change the distance between social QR codes. */
html[lang="en"] .site-footer .container {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .6fr) minmax(0, 1.2fr) minmax(0, 1.45fr);
}
html[lang="en"] .site-footer .f-qr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  justify-content: start;
  width: 100%;
  max-width: 306px;
}
html[lang="en"] .site-footer .f-qr figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
}
html[lang="en"] .site-footer .f-qr img { flex: none; }
html[lang="en"] .site-footer .f-qr figcaption {
  width: 100%;
  margin: 8px 0 0;
  text-align: center;
  line-height: 1.45;
  text-wrap: balance;
}
@media (max-width: 1180px) {
  html[lang="en"] .site-footer .container { grid-template-columns: 1fr .65fr 1.25fr; }
}
@media (max-width: 960px) {
  html[lang="en"] .site-footer .container { grid-template-columns: 1fr 1fr; }
  html[lang="en"] .site-footer .f-qr { grid-column: 1 / -1; }
}

/* Mobile footer: use the whole row, not a half-empty desktop column. */
@media (max-width: 600px) {
  html[lang] .site-footer .container { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  html[lang] .site-footer .f-brand { flex-direction: row; align-items: center; gap: 14px; }
  html[lang] .site-footer .f-brand img { flex: none; height: 36px; }
  html[lang] .site-footer .f-brand p { flex: 1; max-width: none; min-width: 0; }
  html[lang] .site-footer .f-links-qr { display: contents; }
  html[lang] .site-footer .f-links-qr > div:first-child {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 14px;
    width: 100%;
    min-width: 0;
  }
  html[lang] .site-footer .f-links-qr > div:first-child h4 { grid-column: 1 / -1; margin: 0; }
  html[lang] .site-footer .f-links-qr > div:first-child a {
    display: flex; justify-content: center; align-items: center;
    min-height: 38px; padding: 5px 0; margin: 0;
    line-height: 1.5; text-align: center; border-bottom: 1px solid #d6e0e4;
  }
  html[lang] .site-footer .f-qr {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px; width: 100%; max-width: none; align-items: start;
  }
  html[lang] .site-footer .f-qr figure { display: flex; flex-direction: column; align-items: center; min-width: 0; margin: 0; }
  html[lang] .site-footer .f-qr figcaption { width: 100%; margin-top: 8px; text-align: center; }
  html[lang] .site-footer .f-contact { grid-column: 1 / -1; margin: 0; padding-top: 18px; }
  html[lang] .site-footer .copyright { grid-column: 1 / -1; margin-top: 0; padding-top: 16px; }
}

/* 技术参数区：关键数值大卡 + 表格/样布图两栏（把原本两侧的空留白用掉）
   仅在有 scene='swatch' 图或能解析出数值时生效，其余产品保持原样。 */
.pd-spec-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; max-width: 900px; margin: 0 auto 24px;
}
.pd-spec-card { background: #f4f7f2; border-radius: 2px; padding: 16px 18px; }
.pd-spec-card .sc-label { font-size: 11px; letter-spacing: .08em; color: #839077; }
.pd-spec-card .sc-num {
  font-family: Georgia, var(--serif); font-size: 30px; line-height: 1.25;
  color: #2f3a2c; margin-top: 6px;
}
.pd-spec-card .sc-unit { font-family: var(--font-sans, inherit); font-size: 12px; color: #839077; margin-left: 5px; }

.pd-specs-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px; align-items: start; max-width: 1100px; margin: 0 auto;
}
.pd-specs-wrap .pd-specs { max-width: none; }
.pd-swatch { margin: 0; width: 312px; }
.pd-swatch img { width: 100%; height: auto; display: block; border-radius: 2px; cursor: zoom-in; }

@media (max-width: 900px) {
  .pd-spec-cards { grid-template-columns: 1fr; gap: 10px; }
  .pd-specs-wrap { grid-template-columns: 1fr; gap: 20px; max-width: 900px; }
  .pd-swatch { width: 100%; max-width: 312px; margin: 0 auto; }
}

/* 实验室：测试仪器与执行标准
   PC：五列真表格（内容换行、保留原文换行）；≤900px：一台仪器一张卡片，表头由 data-label 补回单元格上方。 */
/* 仪器名 = 型号（次要小字）+ 名称，两行堆叠 */
/* 名称下方的仪器实拍图：所有图统一 4:3，宽度跟随列宽 */
/* contain 而非 cover：部分仪器照是竖幅（拍摄时相机横持，已顺时针 90° 纠正），
   用 cover 会把竖图裁成中间一条，仪器只剩局部。contain 保证任何朝向都完整显示，
   框仍是统一 4:3，留白由底色补齐。 */

/* A · 图文主角：图片与仪器说明同等清晰，视频从说明区按需播放。 */
@media (max-width: 760px) {
}

@media (max-width: 900px) {
  /* 移动端首格当卡片标题：不再重复「仪器名称」标签，直接放大加粗 */
  /* 移动端图片放大到卡片整宽（上限 280px），保持 4:3 统一 */
}

/* 实验室：分组介绍 / 品质标准
   首行是总纲（执行标准 + 等级），其余是指标条目；PC 条目两列，≤900px 单列。 */

@media (max-width: 900px) {
}

/* 产品中心：面板本身就代表某个分类，卡片上的分类标签是重复信息 → 隐藏。
   同时覆盖「静态兜底卡片」（export_static_products.py 生成的那份）；
   首页精选不在 [data-panel-group="cat"] 内，标签照常显示。 */
[data-panel-group="cat"] .pc-tag { display: none; }

/* ============================================================
   产品详情：面料介绍 / 产品功能说明 —— 编辑专题双栏版式（全站统一标准）
   与 Sylva 手工页 .sylva-editorial 视觉一致；此为模板通用版（.pd-editorial）。
   选择器刻意三层嵌套 + 置于文件末尾，确保压过「H shared presentation」全局块
   对 .value-card / .pd-test-* 的重写。
   ============================================================ */
.pd-editorial { background:#fff; color:#293329; padding:72px 0; }
.pd-editorial .pd-ed-cols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(34px,5vw,76px); }
.pd-editorial .pd-ed-kicker { display:block; font-size:11px; letter-spacing:.15em; color:#758c72; }
.pd-editorial .pd-ed-cols > div > h2 { font-family:var(--serif); font-size:clamp(28px,2.5vw,36px); font-weight:500; line-height:1.35; margin:10px 0 20px; color:#293329; }
.pd-editorial .pd-ed-intro-list,
.pd-editorial .pd-ed-test-list { border-top:1px solid #c7d5c4; }
/* 面料介绍：去卡片边框，细横线分隔 */
.pd-editorial .pd-ed-intro-list .value-card { display:block; max-width:none; min-height:0; background:none; border:0; border-bottom:1px solid #dfe7dc; box-shadow:none; border-radius:0; padding:20px 0 22px; text-align:left; transform:none; }
.pd-editorial .pd-ed-intro-list .vc-en { color:#82977e; font-size:11px; letter-spacing:.14em; margin:0 0 7px; }
.pd-editorial .pd-ed-intro-list h3 { font-family:var(--serif); font-size:22px; font-weight:500; margin:0 0 8px; color:#293329; }
.pd-editorial .pd-ed-intro-list p { font-size:14px; color:#647368; line-height:1.85; margin:0; }
/* 产品功能说明：编号用衬线文本，细横线分隔 */
.pd-editorial .pd-ed-test-list .pd-test-row { display:block; min-height:0; background:none; border:0; border-bottom:1px solid #dfe7dc; border-radius:0; padding:0; transform:none; }
.pd-editorial .pd-ed-test-list .pd-test-info { display:grid; grid-template-columns:40px minmax(0,1fr); gap:16px; align-items:start; padding:17px 0; background:transparent; border:0; }
.pd-editorial .pd-ed-test-list .pd-test-num { background:none; border:0; border-radius:0; color:#82977e; width:auto; height:auto; min-width:0; font-family:Georgia,serif; font-size:21px; font-weight:400; line-height:1.3; }
.pd-editorial .pd-ed-test-list strong { display:block; font-size:15px; color:#263329; line-height:1.55; margin:0; }
.pd-editorial .pd-ed-test-list p { font-size:13px; color:#69776b; line-height:1.75; margin:5px 0 0; }
@media (max-width:760px) {
  .pd-editorial .pd-ed-cols { grid-template-columns:1fr; gap:37px; }
  .pd-editorial .pd-ed-intro-list .value-card { padding-block:16px; }
}

/* ============================================================
   产品详情：Story Hero 横幅（详情页顶部深色布料背景 + 叠加文案）
   与 Sylva 手工页 .se-hero 视觉一致；此为模板通用版（.pd-story-hero）。
   放在 .pd-editorial 内部最前，作为「编辑专题」区的引子横幅；
   背景复用产品自身布料图 + CSS 暗化（brightness .58），零 AI 生图。
   ============================================================ */
.pd-editorial .pd-story-hero { position:relative; overflow:hidden; height:310px; background:#354038; margin-bottom:0; }
.pd-editorial .pd-story-hero > img { width:100%; height:100%; object-fit:cover; object-position:center 43%; filter:brightness(.58); }
.pd-editorial .pd-sh-copy { position:absolute; inset:0; max-width:var(--maxw); margin:auto; padding:35px 24px; color:#fff; display:flex; flex-direction:column; justify-content:center; }
.pd-editorial .pd-sh-copy > span { font-size:11px; letter-spacing:.2em; color:#e4eadf; }
.pd-editorial .pd-sh-copy > h2 { font-family:var(--serif); font-size:clamp(36px,4vw,56px); line-height:1.32; font-weight:500; margin:14px 0 12px; color:#fff; white-space:pre-line; }
.pd-editorial .pd-sh-copy > p { color:#f4f7f0; font-size:15px; line-height:1.7; margin:0; max-width:620px; }
@media (max-width:760px) {
  .pd-editorial .pd-story-hero { height:270px; }
  .pd-editorial .pd-sh-copy { padding-inline:28px; }
  .pd-editorial .pd-sh-copy > h2 { font-size:38px; }
}
@media (max-width:480px) {
  .pd-editorial .pd-story-hero { height:245px; }
  .pd-editorial .pd-sh-copy { padding-inline:18px; }
  .pd-editorial .pd-sh-copy > h2 { font-size:34px; }
  .pd-editorial .pd-sh-copy > p { font-size:13px; }
}

/* 应用效果 5 图：2 / 2 / 1 三层展示（2026-11-06）
   :has 精确命中「恰好 5 张」的画廊，6/7/8/9 张的产品保持原有居中流式排布。
   追加在文件末尾，以压过「H shared presentation」的 .pd-gallery flex 全局块。 */
.pd-gallery--effect7:has(> figure:nth-child(5):last-child) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin-inline: auto;
  justify-content: initial;
  overflow: visible;
  padding: 0;
}
.pd-gallery--effect7:has(> figure:nth-child(5):last-child) > figure {
  flex: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
}
/* 第三层：单张居中，宽度与上层单列一致 */
.pd-gallery--effect7:has(> figure:nth-child(5):last-child) > figure:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 8px);
  margin-inline: auto;
}
@media (max-width:760px) {
  .pd-gallery--effect7:has(> figure:nth-child(5):last-child) { gap: 12px; }
  .pd-gallery--effect7:has(> figure:nth-child(5):last-child) > figure:last-child { width: calc(50% - 6px); }
}
@media (max-width:520px) {
  .pd-gallery--effect7:has(> figure:nth-child(5):last-child) {
    gap: 10px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .pd-gallery--effect7:has(> figure:nth-child(5):last-child) > figure:last-child { width: calc(50% - 5px); }
}

/* Story Hero 横幅：只保留 eyebrow + 大标题，去掉整段密集副文案。
   一条规则覆盖模板通用版（20 页）与 Sylva 手工页（2 页），全站统一；
   数据 product_story.subtitle_* 保留，日后想恢复只需删这两行选择器。 */
.pd-editorial .pd-story-hero .pd-sh-copy > p,
.sylva-editorial .se-hero .se-hero-copy > p { display: none; }

/* 颜色展示色号图注：由 export_static_products.py 从图片 alt 提取（如 R35832-1）。
   只有 alt 里带色号的产品才会生成 figcaption，其它产品画廊保持原样。 */
.pd-gallery--color7 figcaption {
  padding: 8px 4px 4px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--muted);
  background: #fff;
}
.roan-detail .pd-gallery--texture,
.roan-detail .pd-gallery--color7 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.roan-detail .pd-gallery--texture > figure,
.roan-detail .pd-gallery--color7 > figure {
  flex: 0 0 calc((100% - 4 * 14px) / 5);
  min-width: 0;
  margin: 0;
}
.roan-detail .pd-gallery--texture,
.roan-detail .pd-gallery--color7 { gap: 14px; }
@media (max-width: 760px) {
  .roan-detail .pd-gallery--texture > figure,
  .roan-detail .pd-gallery--color7 > figure { flex-basis: calc((100% - 14px) / 2); }
}
/* 灯箱大图也带色号：只有含 figcaption 的详情页会由导出脚本注入这段标签 */
.certificate-preview__label {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom) + 18px);
  left: 0; right: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #405137;
  pointer-events: none;
}

/* 成分卡：整串展示完整成分（92%涤纶/8%锦纶），比克重/门幅的大数字字号小、可换行。
   放在末尾压过「H shared presentation」全局块。 */
.pd-spec-card .sc-num--text {
  font-family: var(--font-sans, inherit);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: .01em;
  word-break: break-word;
}
@media (max-width: 900px) {
  .pd-spec-card .sc-num--text { font-size: 20px; }
}

/* 品控体系：产品检测图集（按产品名分组，位于页面最下方）
   由产品详情页「产品功能说明」的检测配图归档而来。追加在末尾压过全局块。 */
@media (max-width: 760px) {
}

/* ==========================================================================
   导航统一（2026-11-11）
   问题：全局 1487 行 .site-header.is-scrolled .desktop-nav a 的特异性高于
   @media 断点里的 .desktop-nav a，滚动后导航会回弹到 13px / 11px 内边距，
   在 961–1419px 撑破视口；首页另有 14px 导航（已在 homepage-h.css 移除）。
   处理：把各断点的同一套收紧值同时应用到 .is-scrolled 状态，
   使所有页面在滚动前后、以及首页与其它页面之间完全一致。
   ========================================================================== */
@media (max-width: 1419px) {
  .site-header.is-scrolled .brand { gap: 14px; padding-right: 16px; }
  .site-header.is-scrolled .h-brand-name { font-size: 17px; }
  .site-header.is-scrolled .desktop-nav a { font-size: 12px; padding-inline: 7px; }
}
@media (max-width: 1180px) {
  .site-header.is-scrolled { padding-inline: 22px; }
  .site-header.is-scrolled .brand { gap: 10px; padding-right: 12px; }
  .site-header.is-scrolled .h-brand-name { font-size: 16px; }
  .site-header.is-scrolled .desktop-nav a { padding-inline: 6px; font-size: 12px; }
  .site-header.is-scrolled .header-cta { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 1100px) {
  .site-header.is-scrolled .desktop-nav a { font-size: 11px; padding-inline: 5px; }
  .site-header.is-scrolled .header-cta { display: none; }
}
/* 当前栏目用下划线标识，不再改字重：避免不同页面因 active 项宽度不同
   导致整条导航左右位置轻微跳动（8 项英文标签尤其明显）。 */
.desktop-nav a.is-active { font-weight: 500; }


/* Responsive section banners */
@media (max-width: 760px) {
  body[data-page="products"] .page-hero::after { background-image: url("assets/img/site-previews/products-showroom-banner-a163c2010fa433e6.webp"); }
  body[data-page="news"] .page-hero::after { background-image: url("assets/img/site-previews/news-exhibition-banner-da5a3bfac6983e92.webp"); }
  body[data-page="contact"] .page-hero::after { background-image: url("assets/img/site-previews/contact-reception-banner-5dd42cf5e5deba83.webp"); }
  body[data-page="laboratory"] .page-hero::after { background-image: url("assets/img/site-previews/quality-testing-banner-535f94531ca2fea2.webp"); }
  body[data-page="manufacturing"] .page-hero::after { background-image: url("assets/img/site-previews/manufacturing-looms-banner-671ab8c659c7f3a0.webp"); }
  body[data-page="inspiration"] .page-hero::after { background-image: url("assets/img/site-previews/inspiration-studio-banner-3f92a299d80d6935.webp"); }
}
/* End responsive section banners */

@media (scripting: none) {
  img[data-gallery-src] { display: none; }
}
