/* ============================================================
   高杉针纺 · 移动端官网 v3
   风格：Clean Modern —— 纯白底 / 冷灰分区 / 黑色文字 / 单色蓝点缀
   要点：统一卡片体系、统一间距、去掉装饰性元素
   ============================================================ */

:root {
  /* 中性 */
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #0e1116;
  --ink-2: #39404b;
  --muted: #6b7280;
  --line: #e9ebef;
  --line-2: #dfe3e9;

  /* ------------------------------------------------------------
     主色：改下面 4 行即可换整站配色（按钮 / 标签 / 链接 / 角标同步）
     墨黑  #111418 / #000000 / #f1f2f4 / #ffffff   ← 当前
     墨绿  #14603c / #0b3d26 / #e9f5ee / #7fd1a5
     酒红  #9b1c31 / #7e1527 / #fdeef0 / #f0a7b2
     暖橙  #c2410c / #9a3412 / #fff1e8 / #fbbf87
     现代蓝 #1e4fe0 / #173fb8 / #eef3ff / #9db6ff
     ------------------------------------------------------------ */
  --brand: #111418;
  --brand-dark: #000000;
  --brand-soft: #f1f2f4;
  --brand-on-dark: #ffffff;

  /* 深色块 */
  --dark: #0e1116;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.68);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* 圆角与投影（全站统一） */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 14px rgba(16, 24, 40, 0.05);
  --sh-2: 0 10px 34px rgba(16, 24, 40, 0.10);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 56px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(70px + var(--safe-bottom));
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
svg { display: block; }

.container { width: min(100% - 40px, 620px); margin: 0 auto; }

/* ---------- 排版 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}
.h1 { font-size: clamp(28px, 8vw, 36px); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; }
.h2 { font-size: clamp(22px, 6vw, 26px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.desc { font-size: 14px; color: var(--muted); line-height: 1.75; }

.sec { padding: 54px 0; }
.sec-tight { padding: 34px 0 50px; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--dark); color: var(--on-dark); }

.sec-head { margin-bottom: 22px; }
.sec-head .h2 + .desc { margin-top: 8px; }
.sec-dark .desc { color: var(--on-dark-2); }
.sec-dark .eyebrow { color: var(--brand-on-dark); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:active { transform: scale(0.975); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(30, 79, 224, 0.28); }
.btn-primary:active { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-light { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-block { width: 100%; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand img {
  width: 44px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.28s ease;
}
.site-header.is-solid .brand img { filter: none; }
.brand-txt b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  transition: color 0.28s ease;
}
.site-header.is-solid .brand-txt b { color: var(--ink); }
.brand-txt i {
  display: block;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.28s ease;
}
.site-header.is-solid .brand-txt i { color: var(--muted); }

.header-tools { display: flex; align-items: center; gap: 8px; }

.seg {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.28s ease, border-color 0.28s ease;
}
.site-header.is-solid .seg { background: var(--bg-soft); border-color: transparent; }
.seg a {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.28s ease, background 0.2s ease;
}
.site-header.is-solid .seg a { color: var(--muted); }
.seg a.is-on { background: #fff; color: var(--ink); font-weight: 600; }
.site-header.is-solid .seg a.is-on { background: var(--ink); color: #fff; }

/* 语言切换 */
.lang-wrap { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: 0.28s ease;
}
.lang-btn svg { width: 15px; height: 15px; }
.site-header.is-solid .lang-btn { background: #fff; border-color: var(--line-2); color: var(--ink); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 156px;
  padding: 6px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--sh-2);
  display: none;
  z-index: 150;
}
.lang-menu.is-open { display: block; animation: pop 0.16s ease-out; }
.lang-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
}
.lang-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.lang-item span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.lang-item:active { background: var(--bg-soft); }
.lang-item.is-on { background: var(--bg-soft); font-weight: 700; color: var(--brand); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  height: 82svh;
  min-height: 540px;
  max-height: 720px;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
.hero-track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.32, 0.9, 0.24, 1); }
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;           /* 裁剪推近动画的溢出，保证黑色渐变完整覆盖 */
  isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.5) 0%, rgba(8, 10, 14, 0.1) 32%, rgba(8, 10, 14, 0.88) 100%);
}
.hero-slide.is-active .hero-img { animation: heroZoom 8s ease-out both; }
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 620px);
  margin: 0 auto;
  padding-bottom: 74px;
}
.hero .eyebrow { color: var(--brand-on-dark); }
.hero h1 {
  font-size: clamp(29px, 8.4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 20px;
  max-width: 30em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(20px + var(--safe-bottom));
  z-index: 3;
  width: min(100% - 40px, 620px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-dots { display: flex; gap: 6px; }
.hero-dot {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot.is-on { width: 30px; background: #fff; }
.hero-count { font-size: 12px; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; font-weight: 700; }

/* ---------- 数据卡（上浮白卡） ---------- */
.stats-wrap { position: relative; z-index: 4; margin-top: -26px; }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.stat { padding: 18px; }
.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stat i { font-style: normal; font-size: 12px; color: var(--brand); margin-left: 3px; font-weight: 600; }
.stat span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- 通用媒体卡 ---------- */
.media { position: relative; background: var(--bg-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-1610 { aspect-ratio: 16 / 10; }
.round-top { border-radius: var(--r) var(--r) 0 0; overflow: hidden; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 17, 22, 0.6);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.card { background: #fff; border-radius: var(--r); overflow: hidden; }
.shadow { box-shadow: var(--sh-1); }

/* ---------- 关于 ---------- */
.about-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.about-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.about-copy { margin-top: 20px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

/* ---------- 产品 ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px 16px;
  padding: 2px 20px 2px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 13px;
  white-space: nowrap;
  transition: 0.2s ease;
}
.chip.is-on { background: var(--ink); color: #fff; font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pcard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.pcard-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pcard-code { font-size: 11px; font-weight: 600; color: var(--brand); letter-spacing: 0.04em; }
.pcard-body h3 { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.pcard-sum {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-specs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 6px; }
.pcard-specs span { font-size: 10.5px; padding: 3px 8px; border-radius: 6px; background: var(--bg-soft); color: var(--ink-2); }

.more-row { margin-top: 18px; text-align: center; }

/* ---------- 工艺 / 品控 ---------- */
.info-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.info-body { padding: 13px 14px 15px; }
.info-body h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 5px; }
.info-body p { font-size: 12.5px; line-height: 1.62; color: var(--muted); }

/* ---------- 设备 ---------- */
.equip-list { display: flex; flex-direction: column; gap: 14px; }
.equip-copy { padding: 14px 15px 16px; }
.equip-copy h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.equip-copy p { font-size: 13px; line-height: 1.72; color: var(--muted); }

/* ---------- 流程 ---------- */
.flow { background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; }
.flow-item { display: flex; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); }
.flow-item:last-child { border-bottom: 0; }
.flow-no {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.flow-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.flow-body h3 em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  vertical-align: 2px;
}
.flow-body p { font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- 认证 / 专利 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cert-item {
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
  padding: 14px 8px 12px;
  text-align: center;
}
.cert-item img { width: 48px; height: 48px; margin: 0 auto 8px; object-fit: contain; }
.cert-item span { font-size: 11px; font-weight: 600; color: var(--ink-2); line-height: 1.35; display: block; }

.patents {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding: 2px 20px 8px;
}
.patents::-webkit-scrollbar { display: none; }
.patent-item { flex: none; width: 132px; }
.patent-item img {
  width: 100%;
  aspect-ratio: 7 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
}
.patent-item span { display: block; margin-top: 7px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

/* ---------- 品牌 ---------- */
.stack { display: flex; flex-direction: column; gap: 12px; }
.brand-card { background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); padding: 15px; }
.brand-top { display: grid; grid-template-columns: 64px 1fr; gap: 13px; align-items: start; }
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-main h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.brand-main .en { font-size: 11.5px; color: var(--brand); font-weight: 600; margin: 3px 0 6px; }
.brand-main p { font-size: 12.5px; line-height: 1.62; color: var(--muted); }
.brand-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.brand-person span { font-size: 12.5px; color: var(--muted); }
.brand-person a { font-size: 13.5px; font-weight: 700; color: var(--brand); }

/* ---------- 行业资讯 ---------- */
.news { background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; }
.news-item { border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-head { width: 100%; text-align: left; padding: 16px; display: grid; grid-template-columns: 1fr 26px; gap: 12px; align-items: start; }
.news-meta { font-size: 11.5px; font-weight: 600; color: var(--brand); margin-bottom: 5px; }
.news-head h3 { font-size: 15px; font-weight: 700; line-height: 1.45; }
.news-head p { margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.news-toggle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}
.news-item.is-open .news-toggle { transform: rotate(45deg); background: var(--brand); color: #fff; }
.news-body { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.news-item.is-open .news-body { max-height: 2200px; }
.news-body-inner { padding: 2px 16px 18px; }
.news-body-inner h2 { font-size: 14.5px; font-weight: 700; margin: 14px 0 6px; }
.news-body-inner h2:first-child { margin-top: 0; }
.news-body-inner h3 { font-size: 13.5px; font-weight: 700; margin: 12px 0 5px; }
.news-body-inner p { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); margin-bottom: 8px; }
.news-body-inner b { font-weight: 700; color: var(--ink); }

/* ---------- 全球市场 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.partner-grid img {
  width: 100%;
  height: 46px;
  object-fit: contain;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--sh-1);
}
.world-map {
  margin-top: 14px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-1);
  padding: 14px;
}
.world-map img { width: 100%; height: auto; }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.region { background: #fff; border-radius: var(--r-sm); box-shadow: var(--sh-1); padding: 13px 14px; }
.region b { display: block; font-size: 14px; font-weight: 700; }
.region span { font-size: 11.5px; color: var(--muted); }

/* ---------- 联系 ---------- */
.dept { background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); padding: 15px; }
.dept-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dept-head h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.dept-head span { font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
.dept-desc { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.dept-people { margin-top: 10px; }
.person-left { min-width: 0; }
.person-role {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink-2);
  margin-right: 6px;
}
.person-name { font-size: 14.5px; font-weight: 600; }
.person-right { text-align: right; flex: none; }
.person-right a { display: block; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.person-right a.mail { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }

.map-card { margin-top: 12px; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.map-card img { width: 100%; height: auto; }

.form-card { margin-top: 12px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); padding: 18px 16px 20px; }
.form-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.field { margin-bottom: 11px; }
.field label { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(30, 79, 224, 0.12);
}
.field textarea { min-height: 92px; resize: vertical; }
.form-tip { margin-top: 10px; font-size: 13px; text-align: center; }
.form-tip.ok { color: #0f9d58; }
.form-tip.err { color: #e2443c; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); padding: 38px 0 26px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 30px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand b { color: #fff; font-size: 15px; letter-spacing: -0.01em; }
.footer-brand i { display: block; font-style: normal; font-size: 9.5px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.5); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.footer-links a { font-size: 13px; color: var(--on-dark-2); }
.footer-meta { font-size: 12px; line-height: 1.9; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.footer-meta a { color: var(--on-dark-2); }
.footer-pc { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--brand-on-dark); font-size: 12.5px; font-weight: 600; }

/* ---------- 底部操作栏 ---------- */
.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  display: flex;
  gap: 8px;
  padding: 10px 14px calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--line);
}
.action-btn {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
}
.action-btn svg { width: 17px; height: 17px; }
.action-btn.is-main { flex: 1.15; background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(30, 79, 224, 0.26); }

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14, 17, 22, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(100%, 320px);
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px 20px 20px;
  text-align: center;
  box-shadow: var(--sh-2);
  animation: pop 0.24s ease-out;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.modal-card p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.wechat-id {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--r-sm);
  padding: 13px;
  margin-bottom: 14px;
  word-break: break-all;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(86px + var(--safe-bottom));
  z-index: 110;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 产品页 ---------- */
.page-head { background: var(--dark); color: #fff; padding: 84px 0 34px; margin-top: calc(var(--header-h) * -1); }
.page-head .eyebrow { color: var(--brand-on-dark); }
.page-head h1 { font-size: clamp(26px, 7.4vw, 32px); font-weight: 800; line-height: 1.24; letter-spacing: -0.02em; margin-bottom: 8px; }
.page-head p { font-size: 13.5px; color: var(--on-dark-2); }

.search { position: relative; margin-bottom: 14px; }
.search input {
  width: 100%;
  padding: 13px 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg-soft);
  font-size: 14.5px;
  outline: none;
}
.search input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 79, 224, 0.12); }
.search .s-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .s-icon svg { width: 17px; height: 17px; }
.search .s-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-1);
  color: var(--muted);
  display: none;
  align-items: center;
  justify-content: center;
}
.search .s-clear.is-on { display: flex; }

.p-count { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); font-size: 14px; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide.is-active .hero-img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (min-width: 640px) {
  .container, .hero-inner, .hero-foot { width: min(100% - 48px, 660px); }
  .sec { padding: 66px 0; }
  .cert-grid { gap: 12px; }
}

/* 窄屏渐进收缩：先隐藏英文副标，再隐藏品牌文字，保证导航与语言按钮不挤行 */
@media (max-width: 410px) {
  .brand-txt i { display: none; }
}
@media (max-width: 360px) {
  .brand-txt { display: none; }
}
