/* =========================================================
   EKE Packaging — Brand Website
   零依赖设计系统（无外部 CDN）
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand — 深墨绿：专业稳重 + 食品/环保语义 */
  --brand-950: #05231a;
  --brand-900: #0a3a2c;
  --brand-800: #0e4b39;
  --brand-700: #136046;
  --brand-600: #177554;
  --brand-500: #1e8f66;
  --brand-400: #4cae88;
  --brand-300: #85cbaf;
  --brand-200: #b9e2d3;
  --brand-100: #dcf0e8;
  --brand-50: #eef8f4;

  /* Accent — 叶绿：可降解产品线强调色 */
  --leaf-600: #5e9b2e;
  --leaf-500: #75b93a;
  --leaf-400: #97cf62;
  --leaf-100: #eaf5dd;

  /* Neutral */
  --ink-900: #0d1a16;
  --ink-800: #1c2c26;
  --ink-700: #35473f;
  --ink-600: #52645c;
  --ink-500: #6d7d76;
  --ink-400: #94a29c;
  --ink-300: #bcc7c2;

  --line: #e3eae6;
  --line-strong: #cfdad4;
  --bg: #ffffff;
  --bg-soft: #f6faf8;
  --bg-tint: #f0f6f3;

  /* Semantic */
  --warn: #b45309;
  --danger: #c0392b;
  --ok: #177554;

  /* Geometry */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(10, 58, 44, .05);
  --shadow-sm: 0 2px 8px rgba(10, 58, 44, .06);
  --shadow: 0 6px 20px rgba(10, 58, 44, .08);
  --shadow-lg: 0 18px 44px rgba(10, 58, 44, .13);

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.018em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-500); }

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

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

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

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark {
  background: var(--brand-900);
  color: var(--brand-100);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--brand-200); }

.grid { display: grid; gap: 28px; }
.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)); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-400);
  border-radius: 2px;
}
.section-dark .eyebrow { color: var(--brand-300); }
.section-dark .eyebrow::before { background: var(--leaf-400); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-500); font-size: 1.03rem; }
.section-dark .section-head p { color: var(--brand-200); }

.lead { font-size: 1.08rem; color: var(--ink-600); }
.text-accent { color: var(--leaf-600); }
.muted { color: var(--ink-500); }
.small { font-size: .875rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(19, 96, 70, .26);
}
.btn-primary:hover {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 10px 26px rgba(19, 96, 70, .32);
}

.btn-accent {
  background: var(--leaf-500);
  color: #0f2a10;
  box-shadow: 0 6px 18px rgba(117, 185, 58, .3);
}
.btn-accent:hover { background: var(--leaf-400); color: #0f2a10; }

.btn-outline {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--brand-800);
}
.btn-outline:hover {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-800);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: .92rem;
  color: var(--brand-700);
}
.link-arrow span.arrow { transition: transform .24s var(--ease); }
.link-arrow:hover span.arrow { transform: translateX(5px); }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(10, 58, 44, .07);
}

/* 内页（非首页）header 默认就是白底 */
.site-header.solid {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom-color: var(--line);
}
.site-header.solid.is-scrolled { box-shadow: 0 2px 14px rgba(10, 58, 44, .07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: #fff;
  transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand-mark,
.site-header.solid .brand-mark { color: var(--brand-800); }
.site-footer .brand-mark { color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  transition: color .3s var(--ease);
}
.brand-sub {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand-name,
.site-header.solid .brand-name { color: var(--brand-900); }
.site-header.is-scrolled .brand-sub,
.site-header.solid .brand-sub { color: var(--ink-400); }

.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  font-size: .93rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  border-radius: var(--radius-sm);
  transition: color .22s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }

.site-header.is-scrolled .nav-link,
.site-header.solid .nav-link { color: var(--ink-600); }
.site-header.is-scrolled .nav-link:hover,
.site-header.solid .nav-link:hover,
.site-header.is-scrolled .nav-link.active,
.site-header.solid .nav-link.active { color: var(--brand-800); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-ghost-light { padding: 10px 18px; }
.site-header.is-scrolled .header-actions .btn-outline-light,
.site-header.solid .header-actions .btn-outline-light { display: none; }

.header-quote {
  padding: 10px 20px;
  font-size: .9rem;
}
/* 透明态下的 CTA：浅色描边 */
.site-header:not(.solid):not(.is-scrolled) .header-quote {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.site-header:not(.solid):not(.is-scrolled) .header-quote:hover {
  background: #fff;
  color: var(--brand-800);
}

/* 汉堡 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0;
}
.nav-toggle .bars { position: relative; width: 21px; height: 14px; }
.nav-toggle .bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease),
              background-color .3s var(--ease), top .28s var(--ease);
}
.nav-toggle .bars i:nth-child(1) { top: 0; }
.nav-toggle .bars i:nth-child(2) { top: 6px; }
.nav-toggle .bars i:nth-child(3) { top: 12px; }
.site-header.is-scrolled .nav-toggle .bars i,
.site-header.solid .nav-toggle .bars i { background: var(--brand-900); }
body.nav-open .nav-toggle .bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.nav-open .nav-toggle .bars i:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* 移动抽屉 */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 190;
  background: #fff;
  padding: 24px 24px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
body.nav-open .mobile-drawer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-drawer .nav-link {
  display: block;
  color: var(--ink-800);
  font-size: 1.15rem;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.mobile-drawer .nav-link::after { display: none; }
.mobile-drawer .nav-link.active { color: var(--brand-600); }
.mobile-drawer .drawer-cta { margin-top: 26px; }
.mobile-drawer .drawer-meta {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-500);
}

/* ---------- 6b. Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1.5px solid rgba(255, 255, 255, .34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition: color .22s var(--ease), border-color .22s var(--ease),
              background-color .22s var(--ease), transform .22s var(--ease);
}
.lang-switch svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-switch:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .16);
  transform: translateY(-1px);
}
.site-header.is-scrolled .lang-switch,
.site-header.solid .lang-switch {
  color: var(--ink-600);
  border-color: var(--line-strong);
  background: #fff;
}
.site-header.is-scrolled .lang-switch:hover,
.site-header.solid .lang-switch:hover {
  color: var(--brand-700);
  border-color: var(--brand-400);
  background: var(--brand-50);
}

/* 抽屉内的语言切换 */
.mobile-drawer .lang-switch {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 18px;
  color: var(--ink-700);
  border-color: var(--line-strong);
  background: #fff;
  backdrop-filter: none;
}
.mobile-drawer .lang-switch:hover {
  color: var(--brand-700);
  border-color: var(--brand-400);
  background: var(--brand-50);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-950);
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.hero-bg {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 85% at 78% 14%, rgba(117, 185, 58, .34) 0%, rgba(117, 185, 58, 0) 55%),
    radial-gradient(95% 75% at 12% 88%, rgba(30, 143, 102, .5) 0%, rgba(30, 143, 102, 0) 58%),
    linear-gradient(150deg, #0a3a2c 0%, #0d2a22 44%, #05231a 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(120% 100% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 30%, transparent 78%);
}

/* Hero 内的装饰容器剪影 */
.hero-art {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(620px, 52vw);
  transform: translateY(-50%);
  opacity: .17;
  z-index: 1;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }
.hero-copy { max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--brand-100);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf-400);
  box-shadow: 0 0 0 3px rgba(151, 207, 98, .25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  letter-spacing: -.026em;
  margin-bottom: 22px;
}
.hero h1 .hl {
  color: var(--leaf-400);
  position: relative;
  white-space: nowrap;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(220, 240, 232, .88);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 28px;
  max-width: 760px;
}
.hero-stat {
  flex: 1 1 150px;
  padding-right: 26px;
}
.hero-stat + .hero-stat { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-stat .num {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.hero-stat .num .suffix { color: var(--leaf-400); }
.hero-stat .num .prefix { color: var(--leaf-400); }
.hero-stat .lbl {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(200, 226, 216, .7);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(220, 240, 232, .6);
}
.hero-scroll .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .55), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* 内页 Hero */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 68px) 0 62px;
  background: linear-gradient(155deg, var(--brand-900) 0%, var(--brand-950) 100%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 120% at 88% 0%, rgba(117, 185, 58, .2) 0%, transparent 62%),
    radial-gradient(60% 100% at 4% 100%, rgba(30, 143, 102, .32) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p {
  color: rgba(220, 240, 232, .85);
  font-size: 1.06rem;
  max-width: 660px;
  margin: 0;
}
.page-hero .eyebrow { color: var(--brand-300); }
.page-hero .eyebrow::before { background: var(--leaf-400); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: .84rem;
  color: rgba(200, 226, 216, .6);
}
.breadcrumb a { color: rgba(200, 226, 216, .78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .45; }
.breadcrumb .current { color: var(--leaf-400); font-weight: 600; }

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7%;
  background: linear-gradient(158deg,
    var(--media-bg1, #f2f8f5) 0%,
    var(--media-bg2, #e3efe9) 100%);
}
.card-media svg { width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

/* 占位图占位标注（真实素材到位后删除 .art-placeholder 即可） */
.art-placeholder::before {
  content: "PLACEHOLDER";
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 4;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-400);
  opacity: .55;
}

.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 9px; }
.card-body p { color: var(--ink-500); font-size: .93rem; }
.card-body .card-foot { margin-top: auto; padding-top: 18px; }

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-700);
  backdrop-filter: blur(4px);
}
.card-tag.tag-accent {
  background: var(--leaf-500);
  border-color: var(--leaf-500);
  color: #12300c;
}

/* 产品线卡片（首页三入口） */
.line-card .card-media { aspect-ratio: 16 / 11; }
.line-card .card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 35, 26, .5) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.line-card:hover .card-media::after { opacity: 1; }

/* 优势卡 */
.value-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-200);
}
.value-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 20px;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.value-card:hover .value-icon {
  transform: scale(1.09);
  background: var(--brand-100);
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { color: var(--ink-500); font-size: .92rem; margin: 0; }

/* 优势卡 · 深色版 */
.section-dark .value-card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}
.section-dark .value-card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(151, 207, 98, .42);
}
.section-dark .value-icon { background: rgba(151, 207, 98, .14); color: var(--leaf-400); }
.section-dark .value-card h3 { color: #fff; }
.section-dark .value-card p { color: rgba(200, 226, 216, .75); }

/* ---------- 9. 信任墙 ---------- */
.trust-strip { padding: 54px 0; background: #fff; border-bottom: 1px solid var(--line); }
.trust-label {
  text-align: center;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 30px;
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: center;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 8px 10px;
  border-radius: var(--radius);
  filter: grayscale(1);
  opacity: .5;
  transition: filter .3s var(--ease), opacity .3s var(--ease),
              transform .3s var(--ease), background-color .3s var(--ease);
}
.logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
  background: var(--bg-soft);
}
.logo-item svg { height: 30px; width: auto; max-width: 100%; }

/* 数据条 */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.stat-cell {
  background: #fff;
  padding: 34px 24px;
  text-align: center;
}
.stat-cell .num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand-700);
  line-height: 1.1;
}
.stat-cell .num .suffix { color: var(--leaf-500); }
.stat-cell .lbl {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  color: var(--ink-500);
  letter-spacing: .04em;
}

/* ---------- 10. 案例 ---------- */
.case-card { cursor: pointer; }
.case-card .card-media { aspect-ratio: 3 / 2; }
.case-card .case-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(5, 35, 26, 0) 30%, rgba(5, 35, 26, .9) 100%);
  opacity: 0;
  transition: opacity .32s var(--ease);
}
.case-card:hover .case-overlay { opacity: 1; }
.case-card .case-overlay .t { color: #fff; font-weight: 700; font-size: 1.05rem; }
.case-card .case-overlay .d { color: rgba(220, 240, 232, .82); font-size: .88rem; }
.case-card .case-overlay .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--leaf-400);
  font-size: .85rem;
  font-weight: 700;
}

.industry-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.result-list { list-style: none; padding: 0; margin: 14px 0 0; }
.result-list li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  color: var(--ink-600);
  margin-bottom: 6px;
}
.result-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf-100);
  border: 2.5px solid var(--leaf-500);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-600);
  transition: all .22s var(--ease);
}
.filter-btn:hover { border-color: var(--brand-400); color: var(--brand-700); }
.filter-btn.active {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
}

/* ---------- 11. Tab（产品页） ---------- */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.tab-btn {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 650;
  color: var(--ink-600);
  transition: all .24s var(--ease);
}
.tab-btn:hover { background: rgba(255, 255, 255, .7); color: var(--brand-700); }
.tab-btn.active {
  background: #fff;
  color: var(--brand-800);
  box-shadow: var(--shadow-sm);
}
.tab-btn .count {
  font-size: .74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
}
.tab-btn.active .count { background: var(--brand-700); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .42s var(--ease) both; }

/* 产品卡（含参数） */
.product-card .card-media { aspect-ratio: 1 / 1; }
.product-spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line-strong);
  font-size: .84rem;
}
.product-spec dt { color: var(--ink-400); }
.product-spec dd { margin: 0; color: var(--ink-700); font-weight: 600; }

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--ink-600);
  font-size: .74rem;
  font-weight: 600;
}
.chip-leaf { background: var(--leaf-100); color: var(--leaf-600); }

.custom-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 44px;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-900) 0%, var(--brand-800) 100%);
  color: var(--brand-100);
}
.custom-cta .t { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
.custom-cta .d { font-size: .92rem; color: rgba(200, 226, 216, .8); }

/* ---------- 12. About 区块 ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .split-media { order: -1; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: var(--shadow);
}
.media-frame svg { display: block; width: 100%; height: auto; }
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.media-frame:hover img { transform: scale(1.04); }

.media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.media-badge .t { display: block; font-weight: 800; color: var(--brand-800); font-size: 1.1rem; }
.media-badge .s { display: block; font-size: .78rem; color: var(--ink-500); }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink-600);
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177554' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/13px no-repeat;
}
.section-dark .check-list li { color: rgba(220, 240, 232, .88); }
.section-dark .check-list li::before { background-color: rgba(151, 207, 98, .18); }

/* ---------- 13. 时间线 ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-300), var(--line));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding-bottom: 34px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .year {
  text-align: right;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-600);
  padding-top: 2px;
}
.timeline-item .content { position: relative; }
.timeline-item .content::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-400);
  box-shadow: 0 0 0 4px #fff;
}
.timeline-item.latest .content::before {
  background: var(--leaf-500);
  border-color: var(--leaf-500);
}
.timeline-item h4 { margin-bottom: 5px; }
.timeline-item p { color: var(--ink-500); font-size: .93rem; margin: 0; }

/* ---------- 14. 认证 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cert-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cert-card {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert-seal {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-50);
  border: 1.5px dashed var(--brand-300);
  color: var(--brand-600);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
}
.cert-card .cname { font-weight: 700; color: var(--ink-900); font-size: .98rem; }
.cert-card .cdesc { font-size: .82rem; color: var(--ink-500); margin-top: 6px; }
.cert-card .cstatus {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #fff7ed;
  color: var(--warn);
  border: 1px solid #fed7aa;
}
.cert-card .cstatus.done { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-200); }

.cert-note {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  font-size: .87rem;
}

/* ---------- 15. 表单 ---------- */
.form-card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .85rem;
  font-weight: 650;
  color: var(--ink-800);
  display: flex;
  align-items: center;
  gap: 4px;
}
.field label .req { color: var(--danger); }
.field .hint { font-size: .76rem; color: var(--ink-400); font-weight: 500; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-size: .94rem;
  color: var(--ink-800);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3.5px rgba(30, 143, 102, .13);
}
.textarea { min-height: 132px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d7d76' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }

.field.invalid .input,
.field.invalid .select,
.field.invalid .textarea { border-color: var(--danger); background: #fef7f6; }
.field .error {
  display: none;
  font-size: .78rem;
  color: var(--danger);
  font-weight: 600;
}
.field.invalid .error { display: block; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--ink-600);
}
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand-600); flex-shrink: 0; }

.form-note {
  margin-top: 18px;
  font-size: .8rem;
  color: var(--ink-400);
  text-align: center;
}

.form-success {
  display: none;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: var(--brand-50);
  border: 1.5px solid var(--brand-200);
  text-align: center;
}
.form-success.show { display: block; animation: fadeUp .45s var(--ease) both; }
.form-success .ico {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
}
.form-success .ico svg { width: 28px; height: 28px; }
.form-success h3 { color: var(--brand-800); }
.form-success p { color: var(--ink-600); font-size: .94rem; }

/* ---------- 15b. 询盘提交兜底（本地模式 / 提交失败） ---------- */
.submit-fallback,
.form-notice-error {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius);
  text-align: left;
}
.submit-fallback {
  background: #fff;
  border: 1.5px dashed var(--brand-300);
}
.form-notice-error {
  background: #fef7f6;
  border: 1.5px solid var(--danger);
}
.submit-fallback strong,
.form-notice-error strong {
  display: block;
  margin-bottom: 6px;
  font-size: .95rem;
}
.submit-fallback strong { color: var(--brand-800); }
.form-notice-error strong { color: var(--danger); }
.submit-fallback p,
.form-notice-error p {
  margin-bottom: 14px;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--ink-600);
}
.submit-fallback .acts,
.form-notice-error .acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.submit-fallback .btn,
.form-notice-error .btn { padding: 10px 16px; font-size: .86rem; }
.submit-fallback .mail,
.form-notice-error .mail {
  font-size: .84rem;
  color: var(--ink-500);
  word-break: break-all;
}

/* 首页轻量表单 */
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; }
.inline-form .input { flex: 1 1 190px; }
.inline-form .btn { flex: 0 0 auto; }

/* ---------- 16. 联系信息卡 ---------- */
.info-list { display: grid; gap: 16px; }
.info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.info-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-xs); }
.info-item .ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.info-item .ico svg { width: 20px; height: 20px; }
.info-item .k {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 3px;
}
.info-item .v { color: var(--ink-800); font-weight: 600; font-size: .95rem; word-break: break-word; }
.info-item .v a { color: var(--brand-700); }
.info-item .sub { font-size: .82rem; color: var(--ink-500); font-weight: 400; margin-top: 2px; }

.map-placeholder {
  position: relative;
  margin-top: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-tint);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder svg { width: 100%; height: 100%; }
.map-placeholder .map-note {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: .85rem;
  color: var(--ink-600);
  backdrop-filter: blur(4px);
  max-width: 78%;
}
.map-placeholder .map-note strong { display: block; color: var(--ink-900); margin-bottom: 3px; }

/* ---------- 17. CTA 带 ---------- */
.cta-band {
  position: relative;
  padding: 76px 0;
  background: linear-gradient(125deg, var(--brand-900) 0%, var(--brand-800) 52%, #0f5a3f 100%);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 207, 98, .22) 0%, transparent 68%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(200, 226, 216, .82); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 18. Footer ---------- */
.site-footer {
  padding: 66px 0 0;
  background: #061d16;
  color: rgba(200, 226, 216, .72);
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(200, 226, 216, .55); }
.footer-about { margin-top: 18px; max-width: 320px; line-height: 1.7; font-size: .88rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  position: relative;
  color: rgba(200, 226, 216, .78);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .28s var(--ease), color .2s var(--ease);
}
.footer-links a:hover { color: #fff; background-size: 100% 1px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
  line-height: 1.55;
}
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--leaf-400); }
.footer-contact a { color: rgba(200, 226, 216, .8); }
.footer-contact a:hover { color: #fff; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(200, 226, 216, .85);
  transition: all .24s var(--ease);
}
.social-btn:hover {
  background: var(--leaf-500);
  border-color: var(--leaf-500);
  color: #0f2a10;
  transform: translateY(-3px);
}
.social-btn svg { width: 18px; height: 18px; }

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .82rem;
  color: rgba(200, 226, 216, .5);
}
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: rgba(200, 226, 216, .62); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 19. Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 29, 22, .62);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98);
  transition: transform .3s var(--ease);
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink-600);
  transition: all .22s var(--ease);
}
.modal-close:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; transform: rotate(90deg); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-media { background: var(--bg-tint); display: flex; align-items: center; justify-content: center; }
.modal-media svg { width: 100%; height: 100%; }
.modal-content { padding: 40px 38px; }
.modal-content h3 { margin-bottom: 6px; }
.modal-content .sku { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); }
.modal-content .desc { color: var(--ink-500); font-size: .93rem; margin-top: 14px; }
.modal-spec { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 22px 0; font-size: .89rem; }
.modal-spec dt { color: var(--ink-400); font-weight: 500; }
.modal-spec dd { margin: 0; color: var(--ink-800); font-weight: 600; }

.modal-quote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--leaf-500);
  background: var(--bg-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.modal-quote p {
  margin: 0;
  color: var(--ink-700);
  font-size: .95rem;
  font-style: italic;
  line-height: 1.6;
}
.modal-quote footer {
  margin-top: 9px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-500);
  font-style: normal;
}

/* ---------- 20. Reveal 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-fade { animation: fadeIn 1.1s var(--ease) both; }
.hero-copy > * { animation: fadeUp .8s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .1s; }
.hero-copy > *:nth-child(2) { animation-delay: .22s; }
.hero-copy > *:nth-child(3) { animation-delay: .34s; }
.hero-copy > *:nth-child(4) { animation-delay: .46s; }
.hero-copy > *:nth-child(5) { animation-delay: .58s; }

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

/* ---------- 21. 工具类 ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.center { text-align: center; }
.hidden { display: none !important; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); margin: 44px 0; border: 0; }

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1080px) {
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer-grid > *:nth-child(3) { display: none; }
  .split { gap: 40px; }
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .header-quote { display: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-media { aspect-ratio: 16 / 10; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 72px) 0 68px; }
  .hero-art { display: none; }
  .hero-scroll { display: none; }
  .timeline::before { left: 5px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
  .timeline-item .year { text-align: left; }
  .timeline-item .content::before { left: -34px; }
}

@media (max-width: 680px) {
  .section { padding: 62px 0; }
  .section-sm { padding: 44px 0; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid { gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > *:nth-child(3) { display: block; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .hero-stat + .hero-stat {
    padding-left: 0;
    border-left: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
  .hero-stat { padding-right: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .custom-cta { padding: 24px 22px; }
  .modal-content { padding: 30px 22px; }
  .tab-btn { flex: 1 1 100%; }
  .inline-form .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 23. 询盘收件箱（本机工具页，不参与营销导航） ---------- */
.inbox-body { background: var(--bg-soft); }
.inbox-top { background: var(--brand-900); }
.inbox-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}
.inbox-top .brand { color: #fff; }
.inbox-top .brand-sub { color: rgba(255, 255, 255, .62); }
.inbox-top-acts { display: flex; align-items: center; gap: 10px; }

.inbox-main { padding: 42px 0 84px; }
.inbox-main h1 { font-size: 1.85rem; color: var(--ink-900); }
.inbox-sub { margin-top: 8px; color: var(--ink-500); font-size: .92rem; }

.ib-banner {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .88rem;
  line-height: 1.65;
}
.ib-warn { background: #fff8ed; border: 1.5px solid #f0d3a8; color: var(--warn); }
.ib-ok   { background: var(--brand-50); border: 1.5px solid var(--brand-200); color: var(--brand-800); }
.ib-bad  { background: #fef7f6; border: 1.5px solid var(--danger); color: var(--danger); }
.ib-banner code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(10, 58, 44, .07);
  font-size: .88em;
}

.inbox-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.ib-stat {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.ib-stat-num { font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: var(--brand-800); }
.ib-stat-num.ok { color: var(--brand-600); }
.ib-stat-num.bad { color: var(--danger); }
.ib-stat-k { margin-top: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-500); }

.inbox-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.ib-card {
  margin-top: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.ib-card-bad { border-color: #f0c9c3; }
.ib-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ib-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-800);
  font-size: .74rem;
  font-weight: 700;
}
.ib-card-bad .ib-badge { background: #fde8e5; color: var(--danger); }
.ib-time { margin-left: 10px; font-size: .8rem; color: var(--ink-400); }
.ib-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.ib-fields {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 16px;
  margin-top: 16px;
  font-size: .88rem;
}
.ib-fields dt { color: var(--ink-400); font-weight: 600; }
.ib-fields dd { color: var(--ink-800); word-break: break-word; }

.ib-msg {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg-tint);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .87rem;
  line-height: 1.65;
  color: var(--ink-700);
  white-space: pre-wrap;
  word-break: break-word;
}

.ib-empty {
  margin-top: 26px;
  padding: 70px 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
  color: var(--ink-400);
}
.ib-empty-hint { margin-top: 8px; font-size: .86rem; }

@media (max-width: 760px) {
  .inbox-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-fields { grid-template-columns: 1fr; gap: 2px 0; }
  .ib-fields dt { margin-top: 8px; }
}

/* ---------- 24. 蜜罐字段（反垃圾，对用户不可见） ---------- */
.hp-field {
  position: fixed !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
