/* ==========================================================================
   KLEM — Shanxi Klem Trading Co., Ltd.  |  Corporate Website Stylesheet
   Design: simple, spacious, professional (light theme)
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

/* ---------- 2. Design tokens ---------- */
:root {
  --navy-950: #060d17;
  --navy-900: #0a1524;
  --navy-800: #102137;
  --navy-700: #17304c;

  --ink: #101a26;
  --text: #22303f;
  --muted: #61748c;
  --faint: #8b9bad;

  --line: #e4eaf2;
  --line-strong: #d2dce8;

  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-mist: #eef3fa;

  --accent: #0a6cd8;
  --accent-dark: #0757b0;
  --accent-soft: #e9f2fe;

  --gold: #c8912f;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;

  --shadow-xs: 0 1px 2px rgba(16, 26, 38, 0.04);
  --shadow-s: 0 2px 8px rgba(16, 26, 38, 0.06);
  --shadow-m: 0 12px 32px rgba(16, 26, 38, 0.08);
  --shadow-l: 0 24px 60px rgba(10, 21, 36, 0.14);

  --maxw: 1200px;
  --pad: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2b. 双语内联文案 / Inline bilingual copy ---------- */
html[lang^="zh"] .lang-en { display: none !important; }
html[lang^="en"] .lang-zh { display: none !important; }

/* ---------- 3. Base ---------- */
body {
  font-family: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  /* 带浅蓝渐变底色的页面背景（不再纯白） */
  background:
    radial-gradient(1100px 540px at 88% -8%, #e2edfb 0%, rgba(226, 237, 251, 0) 62%),
    radial-gradient(880px 520px at -10% 34%, #eaf2fb 0%, rgba(234, 242, 251, 0) 60%),
    linear-gradient(180deg, #f7fafd 0%, #eef3f9 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 页面底纹：低透明度波纹曲线 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='430' viewBox='0 0 1200 430'%3E%3Cg fill='none' stroke='%23c9dcf2' stroke-width='1.4'%3E%3Cpath d='M0 70 C 200 10 400 130 600 70 S 1000 10 1200 70'/%3E%3Cpath d='M0 175 C 200 115 400 235 600 175 S 1000 115 1200 175'/%3E%3Cpath d='M0 280 C 200 220 400 340 600 280 S 1000 220 1200 280'/%3E%3Cpath d='M0 385 C 200 325 400 445 600 385 S 1000 325 1200 385'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1200px 430px;
  opacity: 0.5;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container-narrow { max-width: 880px; }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-mist { background: var(--bg-soft); }

/* ---------- 3b. 图片横幅区块 / Image band sections ---------- */
.band { padding: 30px 0; }
.band-tight { padding: 14px 0; }
.band-stack { display: grid; gap: 30px; padding: 30px 0; }

.band-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  background: #fff;
}

.band-caption {
  margin: 14px auto 0;
  max-width: 780px;
  text-align: center;
  font-size: 14.4px;
  color: var(--muted);
}
.section-line { border-top: 1px solid var(--line); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow-light { color: #7fb6f5; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

.lead { font-size: 18px; color: var(--muted); line-height: 1.8; }

.text-accent { color: var(--accent); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    box-shadow 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 108, 216, 0.24);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 26px rgba(10, 108, 216, 0.3); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.18); }

.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(16, 26, 38, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(10, 108, 216, 0.16);
  overflow: hidden;
}

.brand-mark img { width: 36px; height: 36px; object-fit: contain; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: 0.02em; }
.brand-text small { font-size: 11.5px; color: var(--faint); letter-spacing: 0.01em; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

.nav a:hover { color: var(--accent); background: var(--accent-soft); }

.nav a.is-active { color: var(--accent); font-weight: 600; }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-toggle {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  background: #fff;
  transition: all 0.16s var(--ease);
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  place-items: center;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 80;
  background: #fff;
  padding: 20px var(--pad) 40px;
  display: none;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav a.is-active { color: var(--accent); }
.mobile-nav .btn { margin-top: 20px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -8%, #e2eefc 0%, rgba(226, 238, 252, 0) 68%),
    radial-gradient(700px 380px at -6% 100%, rgba(238, 244, 251, 0.9) 0%, rgba(238, 244, 251, 0) 70%),
    linear-gradient(180deg, rgba(251, 252, 254, 0.75) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(16, 26, 38, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 26, 38, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(760px 480px at 30% 32%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 480px at 30% 32%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  padding: 88px 0 96px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.14;
  margin: 20px 0 22px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-copy .lead { max-width: 560px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 3px solid var(--accent);
}

.hero-visual { position: relative; }

.hero-visual svg { width: 100%; height: auto; }

/* 首屏实拍图 / hero photo */
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  background: #fff;
}

/* ---------- 8. Stats band ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 46px 0;
}

.stat { text-align: center; padding: 0 16px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat strong i { font-style: normal; font-size: 0.5em; font-weight: 600; color: #8fbdf0; margin-left: 2px; }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: #a9bdd4; }

/* ---------- 9. Card grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Feature card (advantages) */
.feature {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: #cfe0f5;
  box-shadow: var(--shadow-m);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature h3 { font-size: 17.5px; margin-bottom: 10px; }
.feature p { font-size: 14.8px; color: var(--muted); line-height: 1.75; }

/* Category card */
.cat-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: #cfe0f5;
  box-shadow: var(--shadow-m);
}

.cat-thumb {
  position: relative;
  height: 152px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, var(--c1, #eaf2fd) 0%, var(--c2, #d7e7fb) 100%);
}

.cat-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.7;
}

.cat-thumb svg {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  color: var(--c-ink, #17538f);
  opacity: 0.92;
}

/* 类目实拍图 / category photo */
.cat-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.cat-card:hover .cat-thumb img { transform: scale(1.05); }

.cat-thumb.is-photo { height: 178px; }
.cat-thumb.is-photo::after {
  background-image: none;
  background: linear-gradient(180deg, rgba(6, 13, 23, 0) 55%, rgba(6, 13, 23, 0.28) 100%);
  opacity: 1;
}

.cat-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 17px; margin-bottom: 8px; }
.cat-body p { font-size: 14.2px; color: var(--muted); line-height: 1.7; flex: 1; }

.cat-count {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.cat-card:hover .cat-count { text-decoration: underline; text-underline-offset: 3px; }

/* Chip list (applications) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.chip svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------- 10. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 62%, #1c4472 100%);
  color: #fff;
  padding: 62px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 108, 216, 0.42) 0%, rgba(10, 108, 216, 0) 68%);
}

.cta-band-text { position: relative; z-index: 1; max-width: 620px; }
.cta-band h2 { color: #fff; font-size: clamp(23px, 2.6vw, 32px); margin-bottom: 12px; }
.cta-band p { color: #b9cde4; font-size: 16px; }
.cta-band-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 66px;
  background:
    radial-gradient(760px 340px at 92% -30%, #e2eefc 0%, rgba(226, 238, 252, 0) 70%),
    linear-gradient(180deg, rgba(249, 251, 254, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); margin: 16px 0 16px; }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 17px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--faint);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--line-strong); }

/* ---------- 12. About page ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.prose p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 600; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px 30px;
}

.panel-mist { background: var(--bg-soft); }

.info-list { display: grid; gap: 0; }

.info-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--faint); font-weight: 500; }
.info-row dd { color: var(--text); font-weight: 500; }

/* Timeline */
.timeline { display: grid; gap: 0; counter-reset: step; }

.tl-item {
  position: relative;
  padding: 0 0 30px 62px;
  counter-increment: step;
}
.tl-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}
.tl-item::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::after { display: none; }
.tl-item h4 { font-size: 16px; margin-bottom: 6px; }
.tl-item p { font-size: 14.4px; color: var(--muted); line-height: 1.75; }

/* Market bars */
.market-list { display: grid; gap: 14px; }
.market-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 54px; gap: 16px; align-items: center; font-size: 14.5px; }
.market-row span:first-child { color: var(--text); }
.market-row .val { text-align: right; color: var(--faint); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.market-track { display: block; height: 7px; border-radius: 999px; background: var(--bg-mist); overflow: hidden; }
.market-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #4d9ceb); }

/* ---------- 13. Products page ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 0;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.16s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

.cat-block { padding: 66px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.cat-block:last-child { border-bottom: 0; }

.cat-block-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.cat-block-head h2 { font-size: clamp(23px, 2.6vw, 31px); margin: 12px 0 12px; }
.cat-block-head p { color: var(--muted); font-size: 15.5px; max-width: 720px; }

/* 类目横幅图 / category banner */
.cat-banner {
  margin-bottom: 34px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  overflow: hidden;
  background: #fff;
}
.cat-banner img { width: 100%; height: auto; }

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #cfe0f5;
  box-shadow: var(--shadow-s);
}

.product-thumb {
  position: relative;
  height: 118px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--c1, #eef4fb) 0%, var(--c2, #dcebfb) 100%);
}
.product-thumb svg { width: 46px; height: 46px; color: var(--c-ink, #17538f); opacity: 0.9; }

/* 产品实拍图 / product photo */
.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-thumb img { transform: scale(1.05); }

.product-thumb.is-photo { height: 172px; }
.product-thumb.is-photo::after { background-image: none; background: none; opacity: 0; }
.product-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: 0.65;
}

.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 15.8px; line-height: 1.45; margin-bottom: 9px; }
.product-body p { font-size: 13.8px; color: var(--muted); line-height: 1.72; flex: 1; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg-mist);
  color: var(--muted);
  font-size: 11.8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- 14. Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: start;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  padding: 40px;
  box-shadow: var(--shadow-s);
}

.form-head { margin-bottom: 28px; }
.form-head h2 { font-size: 24px; margin-bottom: 8px; }
.form-head p { color: var(--muted); font-size: 15px; }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }

.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field label .req { color: #d9483b; margin-left: 3px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  font-size: 14.8px;
  color: var(--ink);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.field textarea { min-height: 132px; resize: vertical; line-height: 1.7; }

.field input::placeholder,
.field textarea::placeholder { color: #a9b6c5; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 108, 216, 0.12);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.form-note { font-size: 13px; color: var(--faint); max-width: 300px; }

.form-msg {
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14.2px;
  display: none;
}
.form-msg.is-visible { display: block; }
.form-msg.ok { background: #e9f7ef; color: #1d7a45; border: 1px solid #bfe8d1; }
.form-msg.err { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

.contact-aside { display: grid; gap: 18px; }

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px 24px;
}
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }

.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item:first-child { padding-top: 6px; }

.contact-item .ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-item .ic svg { width: 19px; height: 19px; }
.contact-item .lb { font-size: 12.5px; color: var(--faint); }
.contact-item .vl { font-size: 15px; font-weight: 600; color: var(--ink); word-break: break-word; line-height: 1.5; }
.contact-item .vl a:hover { color: var(--accent); }

.aside-note {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 26px 24px;
}
.aside-note h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.aside-note p { color: #b9cde4; font-size: 14.2px; line-height: 1.75; }
.aside-note .hl { color: #fff; font-weight: 700; }

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #93a6bd;
  padding: 70px 0 0;
  font-size: 14.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #6d8299; }
.footer-brand p { margin-top: 20px; max-width: 340px; line-height: 1.8; color: #8296ab; }

.footer-col h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #93a6bd; transition: color 0.16s var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0 30px;
  font-size: 13.2px;
  color: #61748c;
}

/* ---------- 16. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature:hover, .cat-card:hover, .product-card:hover { transform: none; }
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { gap: 44px; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-actions .btn { display: none; }
  .brand-text small { display: none; }

  .hero-inner { grid-template-columns: 1fr; padding: 62px 0 70px; }
  .hero-visual { order: -1; max-width: 460px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .stat:nth-child(3)::before { display: none; }
  .cta-band { padding: 46px 32px; }
}

@media (max-width: 680px) {
  :root { --pad: 18px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 36px; }
  .grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 26px 20px; }
  .cat-block { padding: 46px 0; }
  .cat-block-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .info-row { grid-template-columns: 1fr; gap: 3px; }
  .market-row { grid-template-columns: 106px minmax(0, 1fr) 46px; gap: 10px; font-size: 13.5px; }
  .cta-band { padding: 38px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .page-hero { padding: 52px 0 46px; }
  .stats-grid { padding: 34px 0; }
}
