/* 基础样式：沿用机械站版式与细节，颜色已换为暖色主题（由 _src/theme.py 生成，勿手改） */
:root {
  --ink: #1d2422;
  --ink-2: #4b524c;
  --muted: #8c8a80;
  --line: rgba(44, 34, 22, .09);
  --bg: #f4efe6;
  --card: #fffdf9;
  --dark: #132a2c;
  --dark-2: #1b3638;
  --accent: #e8892b;
  --radius: 16px;
  --radius-lg: 22px;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* 分层阴影：静止态要能看出来，悬停时再散开 */
  --sh-1: 0 1px 2px rgba(44,34,22,.045), 0 4px 12px -6px rgba(44,34,22,.1);
  --sh-2: 0 2px 6px rgba(44,34,22,.05), 0 14px 32px -14px rgba(44,34,22,.18);
  --sh-3: 0 10px 24px -8px rgba(44,34,22,.16), 0 32px 70px -28px rgba(44,34,22,.34);
  --ring: 0 0 0 3px rgba(232,137,43,.3);
  --hairline: rgba(44,34,22,.07);
  --font: "Manrope", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; /* 锚点跳转不被固定头部遮挡 */ }

/* 滚动条：不用系统默认的粗白条，统一细圆条 */
* { scrollbar-width: thin; scrollbar-color: rgba(44,34,22,.22) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-thumb {
  background-color: rgba(44,34,22,.2); border-radius: 999px;
  border: 3px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(44,34,22,.34); }
/* 深色区域（灯箱、页脚）里的滚动条用白色 */
.lb, .footer { scrollbar-color: rgba(255,255,255,.26) transparent; }
.lb ::-webkit-scrollbar-thumb, .footer ::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,.24); }
.lb ::-webkit-scrollbar-thumb:hover, .footer ::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,.4); }
body {
  font-family: var(--font);
  color: var(--ink);
  /* 平铺的灰底太死，加两团极淡的光让大面积留白有层次 */
  background:
    radial-gradient(1200px 620px at 100% 0%, #faf6ef, transparent 70%),
    radial-gradient(900px 500px at 0% 100%, #ebe2d4, transparent 70%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 80px); margin-inline: auto; }
@media (max-width: 720px) { .wrap { width: calc(100% - 40px); } }

/* ---------- 通用排版 ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; font-weight: 500; letter-spacing: -.03em; }
.h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
.h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 46ch; }
.small { font-size: 13px; color: var(--muted); }

.section { padding: 120px 0; }
.section-head {
  display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; gap: 40px; margin-bottom: 48px;
}
.section-head .h2 { margin-top: 14px; }
.section-head p { font-size: 14px; color: var(--muted); max-width: 40ch; }
/* 宽屏下描述文字单行显示，标题列可收缩 */
@media (min-width: 1000px) {
  .section-head { grid-template-columns: minmax(0, 1fr) auto auto; }
  .section-head p { max-width: none; white-space: nowrap; }
}
/* 只有「标题 + 右侧附属内容」两列的区块头 */
.section-head.head-2 { grid-template-columns: 1fr auto; }
@media (min-width: 1000px) { .section-head.head-2 { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 900px) {
  .section-head, .section-head.head-2 { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 80px 0; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 10px 0 26px;
  border-radius: 999px; font-size: 14px; font-weight: 600; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn .ic {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  transition: transform .35s var(--ease);
}
.btn:hover .ic { transform: translateX(3px) rotate(-45deg); }
.btn-light { background: linear-gradient(180deg, #fff, #f8f2e9); color: var(--ink); box-shadow: var(--sh-2); }
.btn-light .ic { background: var(--ink); color: #fff; }
.btn-dark { background: linear-gradient(180deg, #22393b, var(--ink)); color: #fff; box-shadow: 0 2px 6px rgba(44,34,22,.2), 0 16px 34px -16px rgba(44,34,22,.6); }
.btn-dark .ic { background: var(--accent); color: var(--ink); }
.btn-accent { background: linear-gradient(180deg, #f3a250, var(--accent)); color: #fff; box-shadow: 0 2px 6px rgba(150,72,10,.22), 0 16px 34px -16px rgba(232,137,43,.75); }
.btn-accent .ic { background: var(--ink); color: #fff; }
.btn-light:hover, .btn-dark:hover, .btn-accent:hover { transform: translateY(-2px); }
.btn-light:active, .btn-dark:active, .btn-accent:active { transform: translateY(0); }
/* 深色背景上的描边按钮：玻璃质感 */
.btn-ghost { color: #fff; padding: 0 18px 0 6px; gap: 12px; }
.btn-ghost .ic {
  border: 1px solid rgba(255,255,255,.4); width: 46px; height: 46px;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover .ic { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
/* LOGO 是带透明通道的图片：深色背景用白字版，浅色（solid）头部用深字版 */
.logo { display: flex; align-items: center; color: #fff; }
.logo img { height: 58px; width: auto; display: block; }
.logo .on-light { display: none; }
.nav { display: flex; gap: 6px; }
.nav a {
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: color .3s, background .3s; position: relative;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: background .3s;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.lang {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px;
}
.burger { display: none; }
.logo, .lang { white-space: nowrap; flex-shrink: 0; }
/* 手机端：头部空间有限，LOGO 缩小、间距收紧 */
@media (max-width: 560px) {
  .header .wrap { height: 68px; gap: 10px; }
  .header .logo img { height: 46px; }
  .header-tools { gap: 4px; }
  .lang { padding: 0 10px; gap: 6px; }
}

/* 滚动后 / 浅色页面：真正的磨砂玻璃——低不透明度 + 大模糊 + 提高饱和，底部用发丝线而不是硬边 */
.header.solid {
  background: linear-gradient(180deg, rgba(252,249,243,.72), rgba(244,239,230,.6));
  -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 1px 0 var(--hairline), 0 12px 30px -24px rgba(44,34,22,.5);
}
.header.solid .logo, .header.solid .icon-btn, .header.solid .lang { color: var(--ink); }
.header.solid .logo .on-dark { display: none; }
.header.solid .logo .on-light { display: block; }
.header.solid .lang { border-color: var(--line); }
.header.solid .icon-btn:hover { background: rgba(44,34,22,.06); }
.header.solid .nav a { color: var(--ink-2); }
.header.solid .nav a:hover { color: var(--ink); background: rgba(44,34,22,.05); }
.header.solid .nav a.active { color: var(--ink); }

@media (max-width: 1000px) {
  /* 注意：.nav 在带 backdrop-filter 的 .header 内，嵌套的 backdrop-filter 不会模糊页面内容，
     所以这里必须用接近实色的背景保证可读性，不能靠玻璃 */
  .nav {
    position: fixed; inset: 84px 16px auto 16px; flex-direction: column;
    background: #121a24;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 18px 50px -12px rgba(0,0,0,.6);
    padding: 14px; border-radius: var(--radius-lg); opacity: 0; pointer-events: none; transform: translateY(-10px);
    transition: all .35s var(--ease);
  }
  .nav a, .header.solid .nav a { color: #fff; padding: 14px 16px; font-size: 16px; }
  /* 选中项：原来沿用了浅色头部的深色文字，在深色抽屉里几乎看不见 */
  .nav a.active, .header.solid .nav a.active { color: var(--accent); background: rgba(232,137,43,.1); }
  .nav a.active::after { display: none; }        /* 竖排菜单不需要下划线 */
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .burger { display: grid; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; display: flex; align-items: center;
  background: #2f4443;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,33,35,.72) 0%, rgba(13,33,35,.35) 42%, rgba(13,33,35,0) 70%),
              linear-gradient(0deg, rgba(13,33,35,.6) 0%, rgba(13,33,35,0) 30%),
              linear-gradient(180deg, rgba(13,33,35,.45) 0%, rgba(13,33,35,0) 140px); /* 顶部压暗，保证导航可读 */
}
.hero > .wrap { position: relative; z-index: 2; padding: 140px 0 170px; }
.hero .eyebrow { color: rgba(255,255,255,.75); }
.hero h1 { margin: 22px 0 24px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.78); }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 40px; flex-wrap: wrap; }

.glass {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
/* 底部信息条 */
.hero-meta { position: absolute; z-index: 2; bottom: 34px; left: 0; right: 0; }
.hero-meta .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-nums { display: flex; gap: 46px; font-size: 12px; color: rgba(255,255,255,.7); }
.hero-nums b { display: block; font-size: 24px; color: #fff; font-weight: 500; letter-spacing: -.02em; }
/* 卖点：横向深色玻璃条，压在底部岩石上，不挡设备 */
.hero-points {
  display: flex; border-radius: 999px; padding: 6px;
}
.hero-points.glass {
  background: rgba(11,29,31,.42); border-color: rgba(255,255,255,.2);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  /* 顶部一道内高光，玻璃才有厚度 */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 40px -20px rgba(0,0,0,.7);
}
.hero-points li { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; }
.hero-points li + li { border-left: 1px solid rgba(255,255,255,.14); }
.hero-points li b { color: var(--accent); font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
/* 向下滚动指示 */
.scroll-down { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); padding: 0 20px 6px; }
.scroll-down i { display: block; width: 1px; height: 26px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.scroll-down i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drop 2s infinite var(--ease); }
@keyframes drop { to { top: 100%; } }
@media (max-width: 1200px) { .hero-points { display: none; } }
@media (max-width: 720px) {
  .hero > .wrap { padding-bottom: 150px; }
  .hero-nums { gap: 28px; }
  .hero-nums b { font-size: 20px; }
  .scroll-down { display: none; }
}

/* ---------- Tabs ---------- */
/* 品类数量多（7 个），不做整条底托的分段控件，保持轻量的独立胶囊 */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  height: 38px; padding: 0 18px; border-radius: 999px; font-size: 13px; color: var(--ink-2); font-weight: 500;
  border: 1px solid transparent; transition: all .3s var(--ease);
}
.tab:hover { background: rgba(255,255,255,.85); border-color: var(--hairline); color: var(--ink); box-shadow: var(--sh-1); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 2px 10px -3px rgba(44,34,22,.45); }

/* ---------- 产品卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  box-shadow: var(--sh-1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: rgba(44,34,22,.12); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(180deg, #f1ebe1, #e7dfd2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 2px 10px -4px rgba(44,34,22,.3);
}
.badge.new { background: rgba(232,137,43,.92); border-color: rgba(255,206,160,.9); }
.card-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-cat { font-size: 12px; color: var(--muted); }
.round {
  width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .35s var(--ease);
}
.card:hover .round { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-45deg); }
.specs { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.specs { flex-wrap: wrap; row-gap: 8px; }
.specs span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.specs svg { flex: none; }
/* 产品图为 3:2 浅灰棚拍图，容器同比例，整机不被裁切 */
.card-media, .gallery-main { aspect-ratio: 3 / 2; background: #f1ebe1; }
.specs svg { color: var(--muted); }
.card.hide { display: none; }

/* ---------- Why / 深色区 ---------- */
.dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.why { min-height: 620px; display: flex; align-items: center; }
.why-bg { position: absolute; inset: 0; }
.why-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.why::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,33,35,.96) 0%, rgba(13,33,35,.85) 45%, rgba(13,33,35,.15) 75%, rgba(13,33,35,.25) 100%);
}
.why .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; padding: 110px 0; }
.why .eyebrow { color: rgba(255,255,255,.6); }
.why .h2 { margin: 16px 0 22px; }
.why p.lead { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 34px; }
.feature-list { border-left: 1px solid rgba(255,255,255,.12); padding-left: 40px; display: flex; flex-direction: column; gap: 34px; justify-content: center; }
.feature { display: flex; gap: 18px; }
.feature .fi {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--accent);
}
.feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.feature p { font-size: 13px; color: rgba(255,255,255,.55); max-width: 30ch; }
.why-tag { align-self: start; justify-self: end; text-align: right; font-size: 13px; letter-spacing: .14em; line-height: 1.8; font-weight: 600; }
.why-tag::after { content: ""; display: block; width: 46px; height: 2px; background: var(--accent); margin: 18px 0 0 auto; }
@media (max-width: 1000px) { .why .wrap { grid-template-columns: 1fr; } .feature-list { border: 0; padding: 0; } .why-tag { display: none; } }

/* ---------- 采购流程（深色区 + 四张剪影配图） ---------- */
.flow-sec { padding: 110px 0; }
.flow-sec .eyebrow { color: rgba(255,255,255,.6); }
/* 这句描述较长，不跟随 .section-head 的宽屏 nowrap，否则会挤压标题列 */
.flow-sec .section-head p { color: rgba(255,255,255,.6); white-space: normal; max-width: 30ch; }
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.flow figure {
  margin: 0 0 18px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: #0c1d1f;
}
.flow figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.flow li:hover figure img { transform: scale(1.05); }
.flow b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.flow h3 { font-size: 17px; font-weight: 600; margin: 9px 0 8px; }
.flow p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.55); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; gap: 26px; } .flow figure { aspect-ratio: 16 / 10; } }

/* ---------- 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 26px 0 0; }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.stat b sup { font-size: .45em; color: var(--accent); vertical-align: top; margin-left: 4px; font-weight: 600; }
.stat span { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* ---------- Bento 品类 ---------- */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(44,34,22,.78) 0%, rgba(44,34,22,0) 60%); }
.tile:hover img { transform: scale(1.06); }
.tile:first-child { grid-row: span 2; }
.tile-info { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.tile-info h3 { font-size: 18px; font-weight: 600; }
.tile-info p { font-size: 12px; opacity: .7; margin-top: 2px; }
.tile .round { border-color: rgba(255,255,255,.4); }
.tile:hover .round { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(-45deg); }
.tile-num { position: absolute; top: 18px; left: 22px; font-size: 12px; opacity: .7; letter-spacing: .1em; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; } .tile:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile:first-child { grid-column: auto; } }

/* ---------- 品牌跑马灯 ---------- */
.brands { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands-row { display: flex; gap: 80px; width: max-content; animation: marquee 40s linear infinite; }
.brands:hover .brands-row { animation-play-state: paused; }
.brands-row { align-items: center; }
.brand-logo { display: flex; align-items: center; height: 48px; flex-shrink: 0; }
.brand-logo img { height: 34px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .45; transition: filter .3s, opacity .3s; }
.brand-logo:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 新闻 ---------- */
.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-card .media { aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow .5s var(--ease); }
.news-card:hover .media { box-shadow: var(--sh-2); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .media img { transform: scale(1.05); }
.news-card time { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.news-card h3 { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.news-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-arrow { margin-top: auto; font-size: 13px; }
.news-card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- 文章详情 ---------- */
.ar-head { max-width: 860px; }
.ar-head .crumbs { margin: 0 0 28px; color: var(--muted); }
.ar-head .crumbs a:hover { color: var(--ink); }
.ar-head time { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.ar-head h1 { margin: 12px 0 18px; font-size: clamp(30px, 3.8vw, 50px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.ar-lead { font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.ar-cover { margin: 44px 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--dark); }
.ar-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.detail-body.ar-body { margin-top: 56px; padding-top: 0; border-top: 0; max-width: 760px; }
.ar-body p { font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.ar-body li { font-size: 16px; }
.ar-side { position: sticky; top: 110px; margin-top: 56px; }
.ar-card { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 14px; }
.ar-card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ar-card p { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.ar-card .btn { justify-content: space-between; }
.ar-card .btn-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ar-card .btn-light .ic { background: rgba(255,255,255,.14); color: #fff; }
.ar-card .btn-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.38); }
.ar-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.ar-nav { display: grid; gap: 6px; padding: 22px 24px; background: #fff; border: 1px solid var(--hairline); box-shadow: var(--sh-1); border-radius: var(--radius); transition: box-shadow .3s; }
.ar-nav:hover { box-shadow: 0 0 0 2px var(--accent); }
.ar-nav span { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ar-nav b { font-size: 15px; font-weight: 600; line-height: 1.4; }
.ar-nav.next { text-align: right; grid-column: 2; }
@media (max-width: 900px) {
  .ar-layout { grid-template-columns: 1fr; gap: 0; }
  .ar-side { position: static; margin-top: 30px; }
  .ar-cover { aspect-ratio: 16 / 10; margin-top: 30px; }
  .ar-pn { grid-template-columns: 1fr; }
  .ar-nav.next { grid-column: auto; text-align: left; }
}

/* ---------- CTA ---------- */
.cta { border-radius: var(--radius-lg); overflow: hidden; position: relative; color: #fff; padding: 80px 70px; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,33,35,.9), rgba(13,33,35,.3)); }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta .h2 { max-width: 16ch; margin-top: 14px; }
.cta .eyebrow { color: rgba(255,255,255,.65); }
.cta p { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 14px; }
@media (max-width: 700px) { .cta { padding: 50px 28px; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.62); padding: 90px 0 36px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr; gap: 40px; }
.footer .logo { margin-bottom: 14px; }
.footer .logo img { height: 64px; }
.footer h5 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.pay-icons { display: grid; grid-template-columns: repeat(4, 54px); gap: 14px 12px; margin-top: 22px; align-items: center; }
.wechat-qr { margin: 18px 0 0; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-qrs { display: flex; gap: 12px; margin-top: 16px; }
.foot-qrs .wechat-qr { margin: 0; align-items: center; }
.wechat-qr img { display: block; width: 72px; height: 72px; padding: 4px; background: #fff; border-radius: 8px; }
.wechat-qr figcaption { font-size: 12px; color: rgba(255,255,255,.55); }
.pay-icons svg { width: 54px; height: 22px; display: block; }
.subscribe { display: flex; margin-top: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 5px; }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; padding: 0 16px; font: inherit; }
.subscribe input::placeholder { color: rgba(255,255,255,.4); }
.subscribe button { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.footer-bottom { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 6px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .3s; }
.socials a:hover { background: rgba(255,255,255,.1); }
@media (max-width: 1000px) {
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  /* 品牌、快速联系、订阅占满整行；热门产品 + 公司并排 */
  .footer-grid > :first-child, .footer-grid > :nth-child(4), .footer-grid > :last-child { grid-column: span 2; }
  .footer h5 { margin-bottom: 14px; }
  .footer li { margin-bottom: 8px; }
  .pay-icons { margin-top: 16px; gap: 10px 12px; }
  /* 联系方式在左、微信二维码在右，不再单独占一大块 */
  /* 与上方“热门产品 / 公司”两列对齐：二维码从“公司”列起始位置开始 */
  .foot-contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  .foot-contact ul { min-width: 0; overflow-wrap: anywhere; }
  .foot-contact .foot-qrs { margin: 0; flex: none; gap: 10px; }
  .wechat-qr figcaption { font-size: 11px; text-align: center; line-height: 1.3; }
  .footer-bottom { margin-top: 36px; padding-top: 20px; }
}

/* ---------- 内页 Page Hero ---------- */
.page-hero { position: relative; color: #fff; padding: 200px 0 90px; overflow: hidden; isolation: isolate; background: var(--dark); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,33,35,.88), rgba(13,33,35,.25)); }
.page-hero .eyebrow { color: rgba(255,255,255,.65); }
.page-hero h1 { margin-top: 18px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
/* 面包屑放在标题之上（层级从大到小），深色顶图上要够清楚 */
.crumbs { margin-bottom: 22px; font-size: 12.5px; color: rgba(255,255,255,.72); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.crumbs span { color: rgba(255,255,255,.4); }
.crumbs a { color: rgba(255,255,255,.72); transition: color .25s; }
.crumbs a:hover { color: #fff; }
.page-hero .crumbs + .eyebrow { margin-top: 0; }
/* 浅色底上的面包屑（产品详情页、文章页） */
.crumbs.on-light { margin: 0 0 30px; color: var(--muted); }
.crumbs.on-light a { color: var(--muted); }
.crumbs.on-light a:hover { color: var(--ink); }
.crumbs.on-light span { color: rgba(44,34,22,.3); }
.crumbs.on-light .cur { color: var(--ink); font-weight: 600; }

/* ---------- 产品列表页 ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.toolbar .tabs { margin: 0; }
.search {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); min-width: 260px;
}
.search input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; background: none; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); display: none; }

/* ---------- 产品详情 ---------- */
.detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #f1ebe1; aspect-ratio: 3/2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* 多图时主图上的左右切换：玻璃按钮，悬停才浮现 */
.g-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 50%; color: var(--ink);
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -8px rgba(44,34,22,.4);
  opacity: 0; transition: opacity .25s, background .25s, transform .25s;
}
.g-nav.prev { left: 14px; }
.g-nav.next { right: 14px; }
.g-nav.prev svg { transform: rotate(180deg); }
.detail-gal:hover .g-nav, .g-nav:focus-visible { opacity: 1; }
.g-nav:hover { background: #fff; }
.g-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.g-nav.next:hover { transform: translateY(-50%) translateX(2px); }
.g-count {
  position: absolute; right: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; letter-spacing: .02em; color: #fff; background: rgba(44,34,22,.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.g-count b { font-weight: 600; }
.g-zoom {
  position: absolute; left: 14px; bottom: 14px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; color: var(--ink);
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -8px rgba(44,34,22,.4);
  opacity: 0; transition: opacity .25s, background .25s;
}
.detail-gal:hover .g-zoom, .g-zoom:focus-visible { opacity: 1; }
.g-zoom:hover { background: #fff; }
#g-main { cursor: zoom-in; }
/* 触屏没有 hover；窄屏也直接常显，免得点不到 */
@media (hover: none), (max-width: 900px) { .g-nav, .g-zoom { opacity: 1; } }

/* 整屏图片预览 */
.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(9,22,24,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .22s; overscroll-behavior: contain;
}
.lb.in { opacity: 1; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 20px; overflow: auto; }
.lb-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px;
  cursor: zoom-in; transition: transform .28s cubic-bezier(.2,.8,.2,1);
  transform: scale(.96); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.lb.in .lb-stage img { transform: scale(1); }
.lb.zoom .lb-stage { cursor: grab; }
.lb.zoom .lb-stage img { transform: scale(2); cursor: zoom-out; max-height: none; }
.lb-x, .lb-nav {
  position: absolute; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.lb-x { top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; }
.lb-nav { top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; }
.lb-nav.prev { left: 20px; }
.lb-nav.next { right: 20px; }
.lb-nav.prev svg { transform: rotate(180deg); }
.lb-x:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-nav.prev:hover { transform: translateX(-2px); }
.lb-nav.next:hover { transform: translateX(2px); }
.lb-count {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lb-count b { font-weight: 600; }
@media (max-width: 640px) {
  .lb-stage { padding: 68px 10px 72px; }
  .lb-nav { width: 40px; height: 40px; margin-top: -20px; }
  .lb-nav.prev { left: 10px; }
  .lb-nav.next { right: 10px; }
}
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin-top: 12px; }
.thumbs button { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; opacity: .55; transition: opacity .3s; border: 2px solid transparent; }
.thumbs button.active, .thumbs button:hover { opacity: 1; }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { position: sticky; top: 110px; }
.card-media img { color: transparent; } /* 图片未加载时不显示 alt 文字 */
.detail-info h1 { line-height: 1.15; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; margin: 14px 0 10px; }
.spec-table { margin: 30px 0; border-top: 1px solid var(--line); }
.spec-table div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table dt { color: var(--muted); }
.spec-table dd { font-weight: 600; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-intro { font-size: 15px; color: var(--ink-2); margin: 6px 0 12px; line-height: 1.7; }
.spec-table dt:empty { display: none; }
.spec-table dd { text-align: right; max-width: 60%; }
/* 原站正文：分段标题 + 段落 + 列表 + 参数表 */
.detail-body { max-width: 900px; margin-top: 80px; padding-top: 50px; border-top: 1px solid var(--line); }
.detail-body:empty { display: none; }
.detail-body h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 40px 0 14px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin-bottom: 12px; }
.detail-body h3 { font-size: 17px; font-weight: 600; margin: 28px 0 10px; }
.detail-body ul { margin: 0 0 16px; display: grid; gap: 8px; }
.detail-body li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.detail-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--accent); }
/* 后台富文本可能产出的其它标签 */
.detail-body ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; list-style: decimal; }
.detail-body ol li { padding-left: 2px; }
.detail-body ol li::before { content: none; }
.detail-body strong { font-weight: 600; color: var(--ink); }
.detail-body em { font-style: italic; }
.detail-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.detail-body a:hover { color: var(--accent); }
.detail-body img { max-width: 100%; height: auto; display: block; margin: 22px 0; border-radius: var(--radius); }
.detail-body blockquote { margin: 0 0 18px; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.detail-body blockquote p:last-child { margin-bottom: 0; }
.detail-body code { background: #f4eee5; border-radius: 5px; padding: 1px 6px; font-size: 13.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.detail-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.detail-body > :first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 10px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.detail-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-body th, .detail-body td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.detail-body th { background: #faf6ef; font-weight: 600; }
.detail-body tr:last-child td { border-bottom: 0; }
.detail-body td:first-child { color: var(--muted); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail-info { position: static; } }

/* ---------- 关于页 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--ink-2); font-size: 15px; margin-top: 18px; max-width: 58ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.step b { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.step h3 { font-size: 18px; margin: 30px 0 8px; font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 600; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s; font-style: normal; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { margin-top: 14px; color: var(--ink-2); font-size: 14px; max-width: 70ch; white-space: pre-line; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.contact-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-item .fi { width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--hairline); box-shadow: var(--sh-1); display: grid; place-items: center; }
.contact-item span { font-size: 12px; color: var(--muted); display: block; }
.contact-item a, .contact-item p { font-size: 15px; font-weight: 600; }
.contact-qr { margin-top: 28px; padding: 26px; background: #fff; border: 1px solid var(--hairline); box-shadow: var(--sh-1); border-radius: var(--radius-lg); }
.contact-qr p { font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.contact-qr-row { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-qr-row figure { margin: 0; display: grid; justify-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.contact-qr-row img { width: 140px; height: 140px; display: block; }
.form { background: #fff; border: 1px solid var(--hairline); box-shadow: var(--sh-2); border-radius: var(--radius-lg); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: span 2; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fcf9f4; border-radius: 12px;
  padding: 14px 16px; outline: 0; transition: border-color .3s, background .3s, box-shadow .3s; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(44,34,22,.18); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: var(--ring); }
.form-note { font-size: 13px; color: #1f7a4a; display: none; }
.sub-note { font-size: 12px; color: #6fd39b; margin-top: 10px; min-height: 1em; }
.field input:user-invalid { border-color: #d64545; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; padding: 28px; } .form .full { grid-column: auto; } }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pager { align-items: center; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; border: 1px solid var(--hairline); background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--sh-1); transition: all .25s; }
.pager button:hover:not(:disabled):not(.active) { border-color: rgba(44,34,22,.2); box-shadow: var(--sh-2); transform: translateY(-1px); }
.pager button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager .gap { color: var(--muted); padding: 0 4px; }
/* 6 个品类：3 列等分 */
.bento.six { grid-template-columns: repeat(3, 1fr); }
.bento.six .tile:first-child { grid-row: auto; }
@media (max-width: 900px) { .bento.six { grid-template-columns: 1fr 1fr; } .bento.six .tile:first-child { grid-column: auto; } }
@media (max-width: 560px) { .bento.six { grid-template-columns: 1fr; } }

/* ---------- 悬浮 WhatsApp ---------- */
.float-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; height: 54px; padding: 0 22px 0 8px; border-radius: 999px;
  background: rgba(44,34,22,.78); color: #fff; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 40px -12px rgba(44,34,22,.55);
  transition: transform .3s var(--ease);
}
.float-wa:hover { transform: translateY(-3px); }
.float-wa i { width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: grid; place-items: center; }
/* 首屏和页脚可见时隐藏，避免遮挡首屏卖点条和页脚社交图标 */
.float-wa.off { opacity: 0; pointer-events: none; transform: translateY(16px); }
.float-wa { transition: transform .3s var(--ease), opacity .3s; }
@media (max-width: 720px) {
  .float-wa { padding: 7px; right: 16px; bottom: 16px; }
  .float-wa span { display: none; }
}

/* 最后一个区块到页脚的留白收紧 */
main > .section:last-child { padding-bottom: 90px; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 图片加载前的占位 */
img[data-ph] { background: linear-gradient(120deg, #e7dfd2, #dcd2c2); }

/* ---------- 自定义下拉（assets/js/select.js） ---------- */
.xs { position: relative; display: block; width: 100%; }
.xs > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.xs-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font: inherit; font-size: 14px; text-align: left; color: var(--ink);
  border: 1px solid var(--line); background: #fcf9f4; border-radius: 12px; padding: 14px 16px;
  box-shadow: inset 0 1px 2px rgba(44,34,22,.035);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.xs-btn:hover { border-color: rgba(44,34,22,.2); }
.xs.open .xs-btn, .xs-btn:focus-visible { border-color: var(--accent); background: #fff; box-shadow: var(--ring); outline: 0; }
.xs-lb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xs-lb.ph { color: #b3ab9d; }
.xs-ar { flex: none; color: var(--muted); transition: transform .25s var(--ease); }
.xs.open .xs-ar { transform: rotate(180deg); }
.xs.disabled { opacity: .55; pointer-events: none; }
/* 选项面板 */
.xs-pop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
  max-height: 280px; overflow-y: auto; padding: 6px;
  background: rgba(255,255,255,.92); border: 1px solid var(--hairline); border-radius: 14px;
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top center;
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.xs-pop.up { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; }
.xs.open .xs-pop { opacity: 1; visibility: visible; transform: none; }
.xs-opt {
  padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: background .14s, color .14s;
}
.xs-opt.hv { background: rgba(44,34,22,.05); color: var(--ink); }
.xs-opt.on { color: var(--ink); font-weight: 600; }
/* 选中项右侧打勾 */
.xs-opt.on::after {
  content: ""; width: 14px; height: 8px; flex: none; margin-right: 2px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
}
.xs-opt.dis { opacity: .4; cursor: default; }
.xs-pop::-webkit-scrollbar { width: 8px; }
.xs-pop::-webkit-scrollbar-thumb { background: rgba(44,34,22,.18); border-radius: 8px; }
