/* ============================================================
   MAISEN v2 — design system
   视觉方向 B：极简浅色专业风
   主色：蓝绿（teal-blue）+ 深海军蓝文字 + 大量留白
   ============================================================ */

:root {
  /* 色板：面向欧美采购的高对比「水处理工业蓝」——深蓝文字 + 白底 + 强化蓝主色 */
  --ink: #0b1b2b;            /* 标题：近黑深蓝 */
  --body: #33475b;           /* 正文：深蓝灰（对比度 ≥ 7:1） */
  --muted: #56687a;          /* 次要文字 */
  --line: #dbe3ea;           /* 分隔线 */
  --bg: #ffffff;
  --bg-soft: #f3f6f9;        /* 浅灰底 */
  --bg-tint: #e8f1f7;        /* 浅蓝水色底 */
  --brand: #0a6cb0;          /* 主色：工业水蓝 */
  --brand-deep: #074b7d;
  --brand-soft: #d6e7f4;
  --green: #0f8a5f;          /* 成功/环保 */
  --amber: #a15c07;          /* 高亮点缀（少用） */
  --navy: #0a1e2e;           /* 页脚/数据带深色 */
  --navy-2: #123145;
  --white: #ffffff;

  /* 水处理调性：水色渐变 */
  --water-1: #0a7fb8;
  --water-2: #0a6cb0;
  --water-3: #075a8f;
  --water-tint: #e8f1f7;
  --grad-water: linear-gradient(135deg, #0a7fb8 0%, #0a6cb0 55%, #075a8f 100%);

  /* 字体 */
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;

  /* 尺寸 */
  --container: 1180px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(18, 38, 58, 0.05), 0 1px 6px rgba(18, 38, 58, 0.06);
  --shadow-md: 0 4px 14px rgba(18, 38, 58, 0.08), 0 1px 3px rgba(18, 38, 58, 0.06);
  --shadow-lg: 0 12px 32px rgba(18, 38, 58, 0.12);

  --header-h: 64px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
/* 内联图标：默认按字号缩放，避免无尺寸 SVG 撑破布局 */
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; display: inline-block; }
.btn .ic { width: 1.05em; height: 1.05em; }
.card h3 .ic, .feature h3 .ic { color: var(--brand); margin-right: 6px; }

/* ---------- WhatsApp 图标强化（品牌绿，全站统一） ---------- */
.ic[data-icon="whatsapp"] { color: #25d366; }
.topbar__item .ic[data-icon="whatsapp"] { width: 15px; height: 15px; vertical-align: -2px; }
.footer-contact .ic[data-icon="whatsapp"] { width: 16px; height: 16px; color: #4ade80; }
.card h3 .ic[data-icon="whatsapp"] { color: #25d366; }
/* WhatsApp 按钮：绿色描边 + 绿图标，悬停填充 */
.btn--wa { border-color: #25d366; }
.btn--wa .ic[data-icon="whatsapp"] { width: 1.25em; height: 1.25em; }
.btn--wa:hover { background: #25d366; border-color: #25d366; color: #08301a; }
.btn--wa:hover .ic[data-icon="whatsapp"] { color: #08301a; }
/* 关键：组件类（如 .product-card 的 display:flex）会覆盖浏览器默认的 [hidden] 规则，
   这里强制兜底，保证 JS 用 hidden 属性做的筛选/显隐真正生效 */
[hidden] { display: none !important; }

/* ---------- 工具类 ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--navy { background: var(--navy); color: #c9d8e2; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 8px; transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }

/* 区块头部 */
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head--left { margin: 0 0 32px; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 10px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--water-1), var(--brand)); border-radius: 2px; }
.section-head p { color: var(--muted); margin: 0; }

/* 标题视觉等级：h2 显示为 h3 大小（保持语义层级正确） */
.h-sm { font-size: 1.15rem; margin: 0 0 .5em; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-water); color: #fff; }
.btn--primary:hover { background: linear-gradient(135deg, #0e7490 0%, #0a5f72 100%); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-soft); color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 7px 14px; font-size: .86rem; }
.btn--lg { padding: 14px 28px; font-size: 1.02rem; }
.btn .icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--navy); color: #b9cbd7; font-size: .82rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #d5e3ec; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 13px; height: 13px; opacity: .8; }
.topbar__right { display: flex; align-items: center; gap: 12px; }

/* 语言切换 */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 3px 12px; font-weight: 600; color: #e6eff5;
}
.lang-switch:hover { background: rgba(255,255,255,.12); color: #fff; }
.lang-switch svg { width: 14px; height: 14px; }

/* ---------- 主导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 40px; height: 40px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name b { color: var(--ink); font-size: 1.12rem; letter-spacing: .04em; }
.brand__name span { color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-block;
  padding: 8px 11px; border-radius: 7px;
  color: var(--body); font-weight: 600; font-size: .93rem;
}
@media (max-width: 1199px) and (min-width: 1024px) {
  .nav a { padding: 8px 8px; font-size: .9rem; }
  .brand__name span { display: none; }
  .header-cta .btn--sm { padding: 6px 12px; font-size: .8rem; }
}
.nav a:hover { color: var(--brand); background: var(--bg-tint); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动导航 */
@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .header-cta .btn--primary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f2f8fb 0%, #e6f2f7 55%, #dceef5 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 84% 14%, rgba(10, 108, 176, .14), transparent 44%),
    radial-gradient(circle at 4% 92%, rgba(10, 108, 176, .10), transparent 48%),
    linear-gradient(rgba(10,108,176,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,108,176,.05) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  pointer-events: none;
}
/* 底部水波纹（承接数据带深蓝色，形成水面感） */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.hero-wave svg { display: block; width: 100%; height: 56px; }
.hero .container {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; font-size: .82rem; font-weight: 600; color: var(--brand-deep);
  box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { margin-bottom: 14px; }
.hero h1 .accent { color: var(--brand); }
.hero__sub { font-size: 1.06rem; color: var(--body); max-width: 34em; margin-bottom: 26px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero__note { font-size: .86rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 14px; height: 14px; color: var(--green); }

.hero__media { position: relative; }
/* 首屏静态图（单图，避免轮播兼容问题）；浮层卡片必须在图片之上 */
.hero__media .hero__img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 6px solid #fff; background: var(--bg-tint);
}
.hero__card {
  position: absolute; left: -18px; bottom: 22px; z-index: 3;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--line);
}
.hero__card .num { font-size: 1.5rem; font-weight: 800; color: var(--brand); font-family: var(--font-mono); }
.hero__card .lbl { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.hero__card--2 { left: auto; right: -10px; bottom: auto; top: 24px; }

/* ---------- 数据带 ---------- */
.stat-band { background: var(--navy); color: #fff; }
.stat-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 22px; padding-bottom: 22px; }
.stat { text-align: center; padding: 6px 10px; }
.stat .num { font-size: 1.7rem; font-weight: 800; color: #fff; font-family: var(--font-mono); letter-spacing: -.02em; }
.stat .num em { font-style: normal; color: #7fd0e6; }
.stat .lbl { font-size: .8rem; color: #9db6c6; margin-top: 2px; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.card h3 { margin-bottom: 6px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--brand); }
.card .meta { font-size: .8rem; color: var(--muted); }
.card__link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: "→"; transition: transform .15s; }
.card__link:hover::after { transform: translateX(3px); }

/* ---------- 产品卡 ---------- */
.products-help { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.products-help .h-sm, .products-help h2 { margin: 0 0 4px; font-size: 1.05rem; }
.products-help .meta { margin: 0; }
.products-help__actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* 规格速览（采购/工程师扫参数） */
.pc-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 2px 0 8px; }
.pc-spec { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; line-height: 1.25; }
.pc-spec b { display: block; font-family: var(--font-mono); font-size: .88rem; color: var(--brand); }
.pc-spec span { display: block; font-size: .68rem; color: var(--muted); }
/* 卡片底部快捷操作：规格 / PDF / WhatsApp */
.pc-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.pc-actions .card__link { margin-right: auto; }
.pc-icon {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; background: #fff;
  transition: border-color .15s, background .15s;
}
.pc-icon:hover { border-color: var(--brand); background: var(--bg-tint); }
.pc-icon .ic { width: 17px; height: 17px; color: var(--brand); vertical-align: 0; }
.pc-icon--wa { border-color: #bde8cf; }
.pc-icon--wa .ic[data-icon="whatsapp"] { color: #128c4b; }
.pc-icon--wa:hover { background: #eafaf0; border-color: #25d366; }

/* 产品卡 */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-card__img { position: relative; background: var(--bg-tint); }
.product-card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11,34,51,.82); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 999px;
}
.product-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__body h3 { margin: 0; font-size: 1.02rem; }
.product-card__body p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 首页两大系列卡（通栏两列） ---------- */
.families { gap: 22px; }
.family-card__img img { aspect-ratio: 16 / 10; }
.family-card .product-card__body { padding: 20px 22px 22px; gap: 12px; }
.family-card h3 { font-size: 1.16rem; }
.family-grades { display: flex; flex-wrap: wrap; gap: 8px; }
.tag--link {
  background: #fff; border: 1px solid var(--line); color: var(--brand-deep);
  font-size: .8rem; padding: 4px 11px; border-radius: 999px;
  transition: background .15s, border-color .15s, color .15s;
}
.tag--link:hover { background: var(--bg-tint); border-color: var(--brand); color: var(--brand-deep); }
.family-cta { margin-top: auto; padding-top: 6px; }
.tag {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--body);
  font-size: .74rem; font-weight: 600; padding: 2px 9px; border-radius: 999px;
}
.tag--brand { background: var(--brand-soft); border-color: transparent; color: var(--brand-deep); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 640px; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--bg-tint); }
td.param { color: var(--ink); font-weight: 600; white-space: nowrap; min-width: 190px; }
td.num, th.num { font-family: var(--font-mono); font-size: .88rem; }

/* ---------- 表格对比矩阵 ---------- */
.matrix td.yes { text-align: center; color: var(--green); font-weight: 700; }
.matrix td.part { text-align: center; color: var(--amber); font-weight: 700; }
.matrix td.no { text-align: center; color: #c3ced6; }

/* ---------- FAQ 手风琴 ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.accordion + .accordion { margin-top: 10px; }
.accordion summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--brand);
  transition: transform .15s; flex: 0 0 auto; line-height: 1;
}
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion[open] summary { border-bottom: 1px solid var(--line); }
.accordion .a { padding: 16px 20px 18px; color: var(--body); font-size: .95rem; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0 0; font-size: .84rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b8c6cf; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- 页头（内页） ---------- */
.page-hero { background: var(--bg-tint); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero .sub { color: var(--muted); max-width: 46em; margin: 0; font-size: 1.02rem; }

/* ---------- 产品详情 ---------- */
.product-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.product-hero__img { position: sticky; top: calc(var(--header-h) + 20px); }
.product-hero__img img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.product-hero__img .rep { font-size: .78rem; color: var(--muted); margin-top: 8px; text-align: center; }
.product-hero__body h1 { margin-bottom: 6px; }
.product-hero__sku { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); display: inline-block; padding: 2px 10px; border-radius: 999px; margin-bottom: 12px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 24px; }
.highlight { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.highlight .v { font-family: var(--font-mono); font-size: 1.18rem; font-weight: 700; color: var(--brand); }
.highlight .l { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.prod-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 7px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.prod-nav { display: flex; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); margin-top: 40px; }
.prod-nav a { font-weight: 600; font-size: .9rem; }

/* ---------- 筛选 chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--body);
  border-radius: 999px; padding: 7px 16px; font-size: .88rem; font-weight: 600;
  transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 图标块 ---------- */
.feature { display: flex; gap: 14px; }
.feature__icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 4px; font-size: 1.02rem; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- 发货记录 ---------- */
.shipment { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.shipment img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); width: 100%; }
.shipment__body h3 { margin-bottom: 4px; }
.shipment__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.shipment__meta b { color: var(--ink); font-weight: 600; }

/* ---------- 步骤条 ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  flex: 0 0 auto; font-family: var(--font-mono); font-weight: 700;
  font-size: 1.05rem; color: var(--brand); background: var(--brand-soft);
  border-radius: 8px; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0 0 4px; font-size: 1rem; }
.step p { margin: 0; font-size: .9rem; color: var(--muted); }

/* 四步流程带：通栏 4 列（联系页），手机上单列 */
.steps--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.steps--4 .step { flex-direction: column; gap: 12px; padding: 22px 20px; border-radius: var(--radius-lg); }
.steps--4 .step::before { width: 38px; height: 38px; font-size: .95rem; border-radius: 10px; }
.steps--4 .step h3 { font-size: 1.02rem; margin: 0 0 6px; }
.steps--4 .step p { color: var(--body); font-size: .92rem; line-height: 1.6; }
@media (max-width: 1023px) {
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .steps--4 { grid-template-columns: 1fr; }
}

/* ---------- 公式 ---------- */
.formula {
  background: var(--navy); color: #e8f1f6; border-radius: var(--radius);
  padding: 20px 24px; margin: 12px 0;
}
.formula .f { font-family: var(--font-mono); font-size: 1.15rem; color: #7fd0e6; font-weight: 600; }
.formula .terms { font-size: .8rem; color: #9db6c6; margin-top: 6px; }
.formula .name { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #7fd0e6; margin-bottom: 4px; }

/* ---------- CTA 带 ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0b2233 0%, #103146 55%, #0c3a52 100%); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 88% 10%, rgba(10,108,176,.25), transparent 46%),
                    radial-gradient(circle at 6% 96%, rgba(10,108,176,.20), transparent 48%);
}
.cta-band .container { display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #9db6c6; margin: 0; max-width: 34em; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #9db6c6; font-size: .9rem; }
.site-footer .container { padding-top: 48px; padding-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; }
.site-footer .footer__h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer a { color: #9db6c6; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.footer-brand p { margin-top: 10px; font-size: .85rem; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: #7fd0e6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #7d94a5;
}
.footer-bottom a { color: #7d94a5; }
.footer-note { font-size: .74rem; color: #d9a05b; }

/* ---------- 浮动按钮 ---------- */
.float-btns { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float-btn {
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform .15s, box-shadow .15s; border: 0;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn svg { width: 28px; height: 28px; }
/* WhatsApp 大号胶囊按钮（桌面端带文字标签，国外常见做法） */
.float-btn--wa {
  background: #25d366; color: #fff; position: relative;
  height: 60px; padding: 0 24px 0 18px; gap: 10px; width: auto;
}
.float-btn--wa svg, .float-btn--wa .ic[data-icon="whatsapp"] { width: 30px; height: 30px; color: #fff; }
.float-btn__label { font-weight: 700; font-size: .95rem; color: #06351c; white-space: nowrap; letter-spacing: .01em; }
/* 呼吸光环，让 WhatsApp 更醒目（尊重减少动效） */
.float-btn--wa::after {
  content: ""; position: absolute; inset: -6px; border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(.94); opacity: .9; }
  70% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float-btn--wa::after { animation: none; opacity: .35; }
}
.float-btn--top { width: 48px; height: 48px; background: #fff; color: var(--brand); border: 1px solid var(--line); }
.float-btn--top svg { width: 22px; height: 22px; }
.float-btn--top[hidden] { display: none; }

/* ---------- 手机端底部常驻联系条（国外移动端习惯） ---------- */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(11, 34, 51, .08);
  }
  .mobile-cta a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  }
  .mobile-cta .ic { width: 1.25em; height: 1.25em; }
  .mobile-cta__wa { background: #25d366; color: #06351c; }
  .mobile-cta__wa .ic[data-icon="whatsapp"] { color: #06351c; }
  .mobile-cta__quote { background: var(--grad-water); color: #fff; }
  .mobile-cta__quote .ic { color: #fff; }
  /* 手机端把悬浮按钮上移，避免与底部条重叠；标签收起为圆形 */
  .float-btns { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); right: 12px; }
  .float-btn--wa { width: 60px; height: 60px; padding: 0; gap: 0; }
  .float-btn__label { display: none; }
  body { padding-bottom: 70px; } /* 给底部条留空间，防止遮挡页脚 */
}

/* ---------- 博客 / 文章 ---------- */
.blog-card { display: flex; flex-direction: column; gap: 6px; }
.blog-card h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card .meta { flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.article { max-width: 760px; }
.article h1 { margin-bottom: 10px; }
.post-lead {
  font-size: 1.08rem; color: var(--body);
  border-left: 3px solid var(--brand); padding-left: 14px; margin: 14px 0 26px;
}
.article h2 { margin-top: 30px; font-size: 1.25rem; }
.article p, .article li { color: var(--body); line-height: 1.75; }
.article ul { padding-left: 1.2em; }
.article-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 34px; }

/* 装柜过程 6 步 */
.loading-grid { margin-top: 16px; gap: 18px; }
.loading-card {
  margin: 0; padding: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.loading-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.loading-card figcaption {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: .9rem; font-weight: 600; color: var(--ink);
  border-top: 1px solid var(--line);
}
.loading-card .step-no {
  flex: 0 0 auto; font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 6px; padding: 3px 7px;
}
@media (max-width: 767px) {
  .loading-card figcaption { font-size: .82rem; }
}

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid #c9d6de; border-radius: 8px; padding: 10px 12px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,116,144,.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); }

/* 四通道面板 */
.modal {
  position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center;
  background: rgba(11,34,51,.55); padding: 20px; backdrop-filter: blur(3px);
}
.modal[hidden] { display: none; }
.modal__box { background: #fff; border-radius: var(--radius-lg); max-width: 460px; width: 100%; padding: 26px; box-shadow: var(--shadow-lg); }
.modal__box h3 { margin-bottom: 4px; }
.modal__box .sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.channel {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 14px 16px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s;
}
.channel:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.channel__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.channel__icon svg { width: 20px; height: 20px; }
.channel--wa .channel__icon { background: #e7f9ef; color: #128c4b; }
.channel--mail .channel__icon { background: #eaf2fd; color: #2563eb; }
.channel--gmail .channel__icon { background: #fdecec; color: #d93025; }
.channel--copy .channel__icon { background: var(--bg-soft); color: var(--ink); }
.channel b { display: block; color: var(--ink); font-size: .95rem; }
.channel span { font-size: .8rem; color: var(--muted); }
.channel--wa { border-color: #bde8cf; }
/* 网页邮箱服务商选择（识别不出客户邮箱域名时兜底） */
.mailbox-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -2px 0 12px 56px; }
.mailbox-label { font-size: .78rem; color: var(--muted); }
.mailbox-chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 5px 13px; font-size: .8rem; font-weight: 600;
  transition: border-color .15s, color .15s, background .15s;
}
.mailbox-chip:hover, .mailbox-chip:focus-visible { border-color: #25d366; color: #0b7a3e; background: #f2fdf6; }
.modal__close { float: right; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; }

/* ---------- 提示条 ---------- */
.notice {
  background: var(--bg-tint); border: 1px dashed var(--brand); border-radius: var(--radius);
  padding: 12px 16px; font-size: .88rem; color: var(--brand-deep); margin-bottom: 20px;
}
.notice b { font-weight: 700; }

/* 信任条（联系页表单上方） */
.trust-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; font-size: .88rem; color: var(--body); }
.trust-inline span { display: inline-flex; align-items: center; gap: 6px; }
.trust-inline .ic { color: var(--green); }

/* ---------- 术语表 ---------- */
.glossary-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.glossary-item + .glossary-item { margin-top: 10px; }
.glossary-item dt { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.glossary-item dd { margin: 0; font-size: .92rem; color: var(--body); }

/* ---------- 徽章证书 ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-cert {
  display: flex; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: var(--shadow-sm);
}
.badge-cert .code { font-weight: 800; color: var(--brand-deep); font-size: .88rem; white-space: nowrap; }
.badge-cert .txt { font-size: .76rem; color: var(--muted); line-height: 1.35; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 90px 0; }
.error-page .code { font-family: var(--font-mono); font-size: 5rem; font-weight: 800; color: var(--brand-soft); line-height: 1; }
.error-page h1 { margin-top: 8px; }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .nav { max-height: calc(100vh - 64px); overflow-y: auto; }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .hero__media { order: -1; }
  .hero__card--2 { top: 12px; right: 8px; }
  .stat-band .container { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero__img { position: static; }
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .container { grid-template-columns: 1fr; }
  .shipment { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 40px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .topbar__left { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand__name span { display: none; }
}

/* ---------- 手机端专项优化 ---------- */
@media (max-width: 767px) {
  body { -webkit-tap-highlight-color: transparent; }
  .hero .container { padding-bottom: 60px; }
  .hero-wave svg { height: 34px; }
  /* 手机端已有底部常驻联系条，隐藏右下悬浮按钮，避免遮挡内容 */
  .float-btns { display: none !important; }
  .hero__card { left: 6px; bottom: 6px; padding: 9px 12px; }
  .hero__card--2 { right: 6px; top: 6px; }
  .hero__card .num { font-size: 1.2rem; }
  .hero__card .lbl { font-size: .7rem; }
  /* 顶栏精简：保留 WhatsApp + 语言切换（外国访客一眼能切中文） */
  .topbar__left .topbar__item:nth-child(3) { display: none; }
  /* 触控目标 ≥ 44px */
  .chip { padding: 10px 18px; }
  .btn { min-height: 44px; }
  .btn--sm { min-height: 38px; }
  .nav a { padding: 13px 14px; }
  /* 表单 16px，避免 iOS 聚焦自动放大 */
  .field input, .field select, .field textarea { font-size: 16px; }
  /* 表格横向滚动更顺 */
  .table-wrap { -webkit-overflow-scrolling: touch; }
  /* 产品页操作按钮占满一行 */
  .prod-actions .btn { flex: 1 1 100%; }
  .page-hero { background: linear-gradient(180deg, #eef6fa 0%, #e6f1f6 100%); }
}
@media (max-width: 560px) {
  .topbar__left .topbar__item:nth-child(1) { display: none; }
  .topbar .container { min-height: 36px; }
  .section-head { margin-bottom: 22px; }
  .card { padding: 18px; }
  .step { padding: 14px 16px; }
  .steps .step::before { width: 34px; height: 34px; font-size: .95rem; }
  .accordion summary { padding: 13px 15px; gap: 10px; }
  .accordion .a { padding: 13px 15px 16px; }
  .trust-inline { gap: 6px 14px; font-size: .82rem; }
  table th, table td { padding: 9px 12px; }
  .footer-grid { gap: 24px; }
  .stat .num { font-size: 1.45rem; }
  .page-hero { padding: 26px 0 30px; }
  .hero__note { font-size: .8rem; }
}

/* ---------- 打印 ---------- */
@media print {
  .topbar, .site-header, .float-btns, .cta-band, .prod-nav, .footer-bottom, .breadcrumb { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; }
  .section { padding: 12px 0; }
}
