/* ==========================================================================
   绿洋光智能回收箱 官网样式表
   河北邻善科技有限公司
   ========================================================================== */

:root {
  --green-900: #07301f;
  --green-800: #0a4029;
  --green-700: #0d5a37;
  --green-600: #10794b;
  --green-500: #12a150;
  --green-400: #2fbf6d;
  --green-100: #dff5e7;
  --green-050: #f1faf4;

  --lime-500: #b9e021;
  --lime-400: #cdea4a;
  --lime-100: #f2fad3;

  --ink-900: #0c1512;
  --ink-800: #17241e;
  --ink-700: #2a3a33;
  --ink-500: #55665e;
  --ink-400: #7b8a83;
  --ink-200: #d8e2dc;
  --ink-100: #e9f0ec;

  --white: #ffffff;
  --bg: #f7fbf8;

  --shadow-sm: 0 1px 2px rgba(7, 48, 31, 0.05), 0 4px 10px -2px rgba(7, 48, 31, 0.07);
  --shadow-md: 0 2px 4px rgba(7, 48, 31, 0.04), 0 14px 30px -8px rgba(7, 48, 31, 0.13);
  --shadow-lg: 0 4px 10px rgba(7, 48, 31, 0.05), 0 28px 60px -16px rgba(7, 48, 31, 0.20);
  --shadow-glow: 0 10px 28px -8px rgba(18, 161, 80, 0.45);
  --grad-brand: linear-gradient(90deg, var(--green-500), var(--lime-500));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --wrap: 1180px;
  --nav-h: 76px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* 横向防溢出放在 html 上：会传播到视口，不会破坏 position: sticky */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-800);
  background: var(--bg);
  /* 用 clip 而非 hidden —— hidden 会让 body 变成滚动容器，导致吸顶导航失效 */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-500); }
::selection { background: rgba(185, 224, 33, .38); color: var(--ink-900); }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

/* ---------- 通用容器与工具类 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--white); }
.section--green {
  position: relative; overflow: hidden; color: #d9efe2;
  background:
    radial-gradient(620px 300px at 92% 0%, rgba(185, 224, 33, .14), transparent 64%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 100%);
}
.section--green > .wrap { position: relative; z-index: 1; }
.section--green::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 88% 6%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 88% 6%, #000 0%, transparent 62%);
}
.section--green h2, .section--green h3, .section--green h4 { color: var(--white); }
.section--green p { color: rgba(216, 240, 225, .82); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-600);
  background: var(--green-100); border-radius: var(--radius-full);
  padding: 6px 16px 6px 13px; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: currentColor; opacity: .8;
}
.section--green .eyebrow { color: var(--lime-400); background: rgba(185, 224, 33, .14); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { margin-bottom: 0; }
/* 标题下的品牌渐变小横条，取代单调的纯文字分段 */
.section-head h2::after {
  content: ""; display: block; width: 54px; height: 4px;
  border-radius: var(--radius-full); margin: 22px auto 18px;
  background: var(--grad-brand);
}
.section--green .section-head h2::after {
  background: linear-gradient(90deg, var(--lime-500), var(--green-400));
}
.section-head p { color: var(--ink-500); font-size: 1.03rem; margin-bottom: 0; }
.section--green .section-head p { color: rgba(216, 240, 225, .78); }

/* ---------- 无障碍：键盘焦点 ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(47, 191, 109, .55);
  outline-offset: 2px; border-radius: 6px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--green-600); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 700; font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-full);
  font-size: .97rem; font-weight: 700; font-family: inherit;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(18, 161, 80, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn--primary:hover {
  color: var(--white); transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(18, 161, 80, .38), inset 0 1px 0 rgba(255, 255, 255, .2);
}
/* 悬停时掠过一道高光，让主按钮更有质感 */
.btn--primary::after, .btn--lime::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .34) 48%, transparent 64%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.btn--primary:hover::after, .btn--lime:hover::after { transform: translateX(130%); }
.btn--lime { background: var(--lime-500); color: var(--green-900); box-shadow: 0 6px 18px rgba(185, 224, 33, .32); }
.btn--lime:hover { color: var(--green-900); background: var(--lime-400); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink-200); color: var(--ink-800); background: var(--white); }
.btn--ghost:hover {
  border-color: var(--green-500); color: var(--green-600);
  background: var(--green-050); transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(7, 48, 31, .35);
}
.btn--outline-light { border-color: rgba(255, 255, 255, .38); color: var(--white); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn--lg { padding: 16px 34px; font-size: 1.03rem; }
.btn--block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  /* 负外边距让首屏内容顶到页面最上方，导航悬浮其上（sticky 仍正常吸顶） */
  margin-bottom: calc(var(--nav-h) * -1);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* 未滚动时完全透明，让首屏视觉延伸；下滑后才浮出白色实底 */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; gap: 26px;
  height: var(--nav-h); max-width: var(--wrap); margin: 0 auto; padding: 0 22px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  display: block; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: contain;
}
.brand__text { line-height: 1.16; }
.brand__name { display: block; font-size: 1.08rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.01em; transition: color .3s ease; }
.brand__sub { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-400); letter-spacing: .14em; transition: color .3s ease; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  display: block; padding: 10px 16px; border-radius: var(--radius-full);
  color: var(--ink-700); font-size: .95rem; font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav__links a:hover { background: var(--green-050); color: var(--green-600); transform: translateY(-1px); }
.nav__links a[aria-current="page"] { color: var(--green-600); background: var(--green-100); }
.nav__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* 电话胶囊：绿色描边底 + 圆形图标 + 上行小字标签 / 下行大号号码，比裸文字更像「可点击」 */
.nav__tel {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 16px 4px 5px; border-radius: var(--radius-full);
  background: var(--green-050); border: 1px solid var(--green-100);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease,
              transform .25s ease;
}
.nav__tel-ico {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: var(--white);
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  box-shadow: 0 4px 10px -4px rgba(18, 161, 80, .7);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.nav__tel-ico svg { width: 16px; height: 16px; }
.nav__tel-text { display: block; line-height: 1.16; }
.nav__tel-text small {
  display: block; font-size: .64rem; font-weight: 600;
  color: var(--ink-400); letter-spacing: .1em;
}
.nav__tel-text b {
  display: block; font-size: 1rem; font-weight: 800; color: var(--green-700);
  letter-spacing: .015em; font-variant-numeric: tabular-nums;
}
.nav__tel:hover {
  background: var(--green-100); border-color: #b6e6c9;
  box-shadow: var(--shadow-sm); transform: translateY(-1px);
}
.nav__tel:hover .nav__tel-text b { color: var(--green-600); }

.nav__toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  border: 1px solid var(--ink-200); border-radius: 11px;
  background: var(--white); cursor: pointer; padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink-800);
  border-radius: 2px; position: relative; transition: background .2s ease;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink-800); border-radius: 2px; transition: transform .22s ease, top .22s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* 中等宽度（平板横屏 / 小笔记本）：品牌名 + 5 个菜单 + 电话胶囊会挤爆一行，
   这里统一收窄内边距与字号，并隐去电话上的小字标签。 */
@media (min-width: 861px) and (max-width: 1180px) {
  .nav { gap: 16px; padding: 0 18px; }
  .nav__links { gap: 2px; }
  .nav__links a { padding: 9px 11px; font-size: .9rem; }
  .nav__cta { gap: 8px; }
  .nav__tel { padding: 4px 12px 4px 5px; gap: 8px; }
  .nav__tel-ico { width: 30px; height: 30px; }
  .nav__tel-ico svg { width: 14px; height: 14px; }
  .nav__tel-text b { font-size: .94rem; }
  .nav__tel-text small { display: none; }
  .nav__cta .btn { padding: 12px 20px; font-size: .92rem; }
}

/* ---------- 深色首屏上的透明导航 ----------
   产品/加盟/关于/联系页首屏是深绿底，未滚动时导航需切换为浅色文字，
   滚动后恢复白底深字（.is-scrolled 一旦加上，以下规则全部失效）。 */
.site-header--over-dark:not(.is-scrolled) .brand__name { color: var(--white); }
.site-header--over-dark:not(.is-scrolled) .brand__sub { color: rgba(216, 240, 225, .62); }
.site-header--over-dark:not(.is-scrolled) .nav__toggle {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .1);
}
.site-header--over-dark:not(.is-scrolled) .nav__toggle span,
.site-header--over-dark:not(.is-scrolled) .nav__toggle span::before,
.site-header--over-dark:not(.is-scrolled) .nav__toggle span::after { background: var(--white); }
.site-header--over-dark:not(.is-scrolled) .nav__toggle[aria-expanded="true"] span { background: transparent; }
/* 电话胶囊在深绿首屏上：半透明白底 + 荧光绿图标 + 荧光绿号码 */
.site-header--over-dark:not(.is-scrolled) .nav__tel {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16);
}
.site-header--over-dark:not(.is-scrolled) .nav__tel-ico {
  background: var(--lime-500); color: var(--green-900);
  box-shadow: 0 4px 12px -4px rgba(185, 224, 33, .65);
}
.site-header--over-dark:not(.is-scrolled) .nav__tel-text small { color: rgba(216, 240, 225, .58); }
.site-header--over-dark:not(.is-scrolled) .nav__tel-text b { color: var(--lime-400); }
.site-header--over-dark:not(.is-scrolled) .nav__tel:hover {
  background: rgba(255, 255, 255, .15); border-color: rgba(185, 224, 33, .42);
}

/* 桌面端导航：深色首屏上转浅色，主按钮改用荧光绿提亮 */
@media (min-width: 861px) {
  .site-header--over-dark:not(.is-scrolled) .nav__links a { color: rgba(233, 248, 238, .9); }
  .site-header--over-dark:not(.is-scrolled) .nav__links a:hover {
    background: rgba(255, 255, 255, .14); color: var(--white);
  }
  .site-header--over-dark:not(.is-scrolled) .nav__links a[aria-current="page"] {
    background: rgba(255, 255, 255, .16); color: var(--lime-400);
  }
  .site-header--over-dark:not(.is-scrolled) .nav__cta .btn--primary {
    background: var(--lime-500); color: var(--green-900);
    box-shadow: 0 6px 18px rgba(185, 224, 33, .3);
  }
  .site-header--over-dark:not(.is-scrolled) .nav__cta .btn--primary:hover {
    background: var(--lime-400); color: var(--green-900);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(185, 224, 33, .22), transparent 62%),
    radial-gradient(900px 500px at 6% 100%, rgba(18, 161, 80, .14), transparent 60%),
    linear-gradient(170deg, #ffffff 0%, var(--green-050) 100%);
  padding: calc(var(--nav-h) + 46px) 0 88px;
}
.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl {
  position: relative; white-space: nowrap;
  background: linear-gradient(180deg, transparent 62%, rgba(185, 224, 33, .55) 62%);
  padding: 0 .06em;
}
.hero__lead { font-size: 1.1rem; color: var(--ink-500); max-width: 34em; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; padding-top: 26px; border-top: 1px solid var(--ink-200);
}
.hero__metric { position: relative; padding-left: 15px; }
.hero__metric::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 3px; width: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--green-500), var(--lime-500));
}
.hero__metric b {
  display: block; font-size: 1.7rem; font-weight: 800; color: var(--green-700);
  line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.hero__metric span { font-size: .85rem; color: var(--ink-400); }

.hero__media { position: relative; }
.hero__figure {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid var(--white);
  background: var(--white);
}
.hero__figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; }
.hero__figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 48, 31, .18), transparent 38%);
}
.hero__badge {
  position: absolute; left: -18px; bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: var(--radius);
  padding: 12px 18px; box-shadow: var(--shadow-md);
}
.hero__badge .dot {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: var(--green-100); display: grid; place-items: center;
  font-size: 1.1rem;
}
.hero__badge b { display: block; font-size: .95rem; color: var(--ink-900); line-height: 1.3; }
.hero__badge span { font-size: .78rem; color: var(--ink-400); }

/* ---------- 信任条 ---------- */
.trust {
  background: linear-gradient(180deg, #0a3d29 0%, var(--green-900) 100%);
  color: rgba(216, 240, 225, .9);
  padding: 18px 0;
  font-size: .93rem;
  border-top: 1px solid rgba(185, 224, 33, .1);
}
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; text-align: center; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; }
.trust__item + .trust__item::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: rgba(185, 224, 33, .55);
}
.trust__item svg { width: 16px; height: 16px; color: var(--lime-500); flex-shrink: 0; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.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)); }

.card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .38s cubic-bezier(.2, .7, .3, 1);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--green-100), var(--green-050));
  display: grid; place-items: center; color: var(--green-600);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 3px 10px -4px rgba(18, 161, 80, .25);
  transition: background .28s ease, color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.card:hover .card__icon {
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  color: var(--white); transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 24px -10px rgba(18, 161, 80, .75);
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-500); font-size: .95rem; margin-bottom: 0; }
.card__step {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  color: var(--green-600); background: var(--green-050); border: 1px solid var(--green-100);
  border-radius: var(--radius-full); padding: 3px 12px; margin-bottom: 14px;
}
.card__foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--ink-100); }
.card__foot a { font-size: .92rem; font-weight: 700; }

/* ---------- 产品展示 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.gallery__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.gallery__item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 42%;
  transition: transform .5s ease;
}
.gallery__cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 14px; padding: 34px 30px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--green-600), var(--green-900));
  border: 0; color: #fff; box-shadow: var(--shadow-sm);
}
.gallery__cta h3 { color: #fff; margin: 0; font-size: 1.22rem; }
.gallery__cta p { color: rgba(216, 240, 225, .82); font-size: .93rem; margin: 0; }
.gallery__cta .btn { margin-top: 4px; }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 44px 18px 16px; color: var(--white);
  background: linear-gradient(to top, rgba(7, 48, 31, .92), rgba(7, 48, 31, .55) 55%, transparent);
}
.gallery__cap b { display: block; font-size: 1rem; font-weight: 700; }
.gallery__cap span { font-size: .82rem; color: rgba(255, 255, 255, .78); }

.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ink-100); border-radius: var(--radius); overflow: hidden; margin-top: 34px; }
.spec__cell { background: var(--white); padding: 24px 18px 22px; text-align: center; transition: background .25s ease; }
.spec__cell:hover { background: var(--green-050); }
.spec__cell b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--green-700); letter-spacing: -.01em; }
.spec__cell b::after {
  content: ""; display: block; width: 22px; height: 3px; margin: 11px auto 10px;
  border-radius: var(--radius-full); background: var(--grad-brand); opacity: .75;
}
.spec__cell span { font-size: .84rem; color: var(--ink-400); }

/* ---------- 宽幅特写图 ---------- */
.feature-figure {
  margin: 34px 0 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--ink-100); box-shadow: var(--shadow-md); background: var(--white);
}
.feature-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 42%; }
.feature-figure figcaption {
  padding: 16px 22px 18px; font-size: .88rem; color: var(--ink-500);
  border-top: 1px solid var(--ink-100); background: var(--white);
}
.feature-figure figcaption b { color: var(--ink-900); }

/* ---------- 可回收品类 ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat {
  background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.cat__head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.cat__emoji {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--green-050); border: 1px solid var(--green-100);
  display: grid; place-items: center; font-size: 1.25rem;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), background .25s ease;
}
.cat:hover .cat__emoji { transform: scale(1.1) rotate(-5deg); background: var(--green-100); }
.cat__head b { font-size: 1.02rem; color: var(--ink-900); }
.cat ul { display: flex; flex-wrap: wrap; gap: 7px; }
.cat li {
  font-size: .82rem; color: var(--ink-500);
  background: var(--bg); border: 1px solid var(--ink-100);
  border-radius: var(--radius-full); padding: 3px 11px;
}

/* ---------- 使用流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps--flow { grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); }
.step {
  position: relative; background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 26px 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 13px; margin-bottom: 16px;
  font-size: 1.05rem; font-weight: 800; line-height: 1; letter-spacing: 0;
  color: var(--white);
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  box-shadow: 0 10px 20px -10px rgba(18, 161, 80, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.step b { display: block; font-size: .98rem; color: var(--ink-900); margin-bottom: 6px; }
.step span { font-size: .85rem; color: var(--ink-500); line-height: 1.6; }

/* ---------- 应用场景 ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scene {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 20px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.scene:hover {
  background: rgba(255, 255, 255, .09); border-color: rgba(185, 224, 33, .34);
  transform: translateY(-3px);
}
.scene__ico { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.scene b { display: block; color: var(--white); font-size: .98rem; margin-bottom: 4px; }
.scene span { font-size: .85rem; color: rgba(216, 240, 225, .72); line-height: 1.6; }

/* ---------- 加盟优势 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 6px solid var(--white); }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 34%; }

.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 3px; color: var(--green-500); }
.checks b { display: block; color: var(--ink-900); font-size: 1rem; }
.checks span { font-size: .92rem; color: var(--ink-500); }
.section--green .checks b { color: var(--white); }
.section--green .checks span { color: rgba(216, 240, 225, .78); }
.section--green .checks svg { color: var(--lime-500); }

/* ---------- 营收模型表 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--ink-100); background: var(--white); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 15px 18px; text-align: left; font-size: .93rem; border-bottom: 1px solid var(--ink-100); }
th { background: var(--green-050); color: var(--green-700); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--green-050); }
td b { color: var(--ink-900); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item {
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__item:hover { border-color: var(--green-100); }
.faq__item.is-open { border-color: var(--green-100); box-shadow: var(--shadow-md); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 19px 22px; margin: 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--ink-900);
  line-height: 1.55;
}
.faq__q:hover { color: var(--green-600); }
.faq__q i {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-050); color: var(--green-600);
  display: grid; place-items: center; font-style: normal; font-size: 1.1rem;
  font-weight: 700; transition: transform .25s ease, background .25s ease;
}
.faq__q[aria-expanded="true"] i { transform: rotate(45deg); background: var(--green-100); }
.faq__a { display: none; padding: 0 22px 20px; }
.faq__a p { color: var(--ink-500); font-size: .94rem; margin-bottom: 0; }
.faq__item.is-open .faq__a { display: block; }

/* ---------- 联系 / 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-bottom: 28px; }
.contact-item {
  position: relative; overflow: hidden;
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 17px 20px; box-shadow: var(--shadow-sm);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.contact-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-brand);
  transform: scaleY(0); transform-origin: top center; transition: transform .3s ease;
}
.contact-item:hover { border-color: var(--green-100); box-shadow: var(--shadow-md); }
.contact-item:hover::before { transform: scaleY(1); }
.contact-item__ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--green-050); border: 1px solid var(--green-100);
  display: grid; place-items: center; color: var(--green-600);
}
.contact-item__ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .8rem; color: var(--ink-400); margin-bottom: 2px; }
.contact-item b, .contact-item a { font-size: 1.05rem; font-weight: 700; color: var(--ink-900); word-break: break-all; }
.contact-item a:hover { color: var(--green-600); }

.qr-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: 26px; text-align: center; box-shadow: var(--shadow-md);
}
.qr-card::before {
  content: ""; position: absolute; top: -70px; right: -70px; width: 190px; height: 190px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(185, 224, 33, .24), transparent 68%);
}
.qr-card > * { position: relative; z-index: 1; }
.qr-card img { width: 100%; max-width: 250px; margin: 0 auto 14px; border-radius: 12px; }
.qr-card b { display: block; font-size: 1rem; color: var(--ink-900); }
.qr-card span { font-size: .85rem; color: var(--ink-400); display: block; }
.qr-card--lg { padding: 32px 28px; }
.qr-card--lg img { max-width: 280px; }
.qr-notes { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--ink-200); display: grid; gap: 10px; text-align: left; }
.qr-notes li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--ink-500); }
.qr-notes li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; border-radius: 50%; margin-top: .28em;
  background: var(--green-100); color: var(--green-600);
  font-size: .68rem; line-height: 16px; text-align: center; font-weight: 700;
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background:
    radial-gradient(760px 300px at 82% 0%, rgba(185, 224, 33, .2), transparent 62%),
    linear-gradient(140deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-lg); padding: 50px; color: var(--white);
  display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center;
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.cta-band::after {
  content: ""; position: absolute; right: -70px; bottom: -120px;
  width: 280px; height: 280px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(185, 224, 33, .22);
  box-shadow: 0 0 0 36px rgba(185, 224, 33, .07), 0 0 0 74px rgba(185, 224, 33, .035);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(216, 240, 225, .82); margin-bottom: 0; max-width: 46em; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- 内页头部 ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 340px at 82% -18%, rgba(185, 224, 33, .2), transparent 62%),
    radial-gradient(620px 300px at 4% 110%, rgba(47, 191, 109, .22), transparent 66%),
    linear-gradient(150deg, var(--green-800), var(--green-900));
  color: var(--white); padding: calc(var(--nav-h) + 38px) 0 66px;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 80% 6%, #000 0%, transparent 64%);
  mask-image: radial-gradient(circle at 80% 6%, #000 0%, transparent 64%);
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(216, 240, 225, .84); font-size: 1.06rem; max-width: 52em; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(216, 240, 225, .66); margin-bottom: 18px; }
.breadcrumb a { color: rgba(216, 240, 225, .86); }
.breadcrumb a:hover { color: var(--lime-400); }
.breadcrumb li::after { content: "/"; margin-left: 8px; opacity: .5; }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- 富文本内容区 ---------- */
.prose h2 { margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--ink-500); }
.prose ul { display: grid; gap: 10px; margin-bottom: 20px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .68em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-400);
}
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 22px 0; }
.prose strong { color: var(--ink-900); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(680px 300px at 6% 0%, rgba(185, 224, 33, .1), transparent 64%),
    linear-gradient(180deg, #09291c 0%, var(--green-900) 62%);
  color: rgba(216, 240, 225, .72); padding: 58px 0 26px; font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 38px; margin-bottom: 40px; }
.site-footer h3 { color: var(--white); font-size: .96rem; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer a { color: rgba(216, 240, 225, .72); }
.site-footer a:hover { color: var(--lime-400); }
.site-footer li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__sub { color: rgba(216, 240, 225, .55); }
.footer-desc { line-height: 1.75; margin-bottom: 18px; }
.footer-qr { display: flex; align-items: center; gap: 14px; }
.footer-qr img { width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 5px; }
.footer-qr span { font-size: .84rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .82rem; color: rgba(216, 240, 225, .55);
}
.footer-bottom > span { line-height: 1.7; }
.footer-icp {
  color: rgba(216, 240, 225, .55); white-space: nowrap;
  border-bottom: 1px solid rgba(216, 240, 225, .25);
  transition: color .2s ease, border-color .2s ease;
}
.footer-icp:hover { color: var(--green-100); border-bottom-color: var(--green-100); }

/* ---------- 浮动联系栏 ---------- */
.float-bar { position: fixed; right: 20px; bottom: 24px; z-index: 180; display: grid; gap: 10px; }
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--white); color: var(--green-600);
  box-shadow: var(--shadow-md); transition: transform .2s ease, background .2s ease, color .2s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); background: var(--green-500); color: #fff; }
.float-btn svg { width: 22px; height: 22px; }
.float-btn--qr { background: var(--green-500); color: #fff; }
.float-qr {
  position: absolute; right: 62px; bottom: 0;
  width: 208px; padding: 14px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-align: center;
  display: none;
}
.float-qr.is-visible { display: block; }
.float-qr img { width: 100%; border-radius: 8px; margin-bottom: 8px; }
.float-qr span { font-size: .78rem; color: var(--ink-500); }

/* ---------- 滚动入场动画（仅在 JS 可用时隐藏，避免无 JS 时内容不可见） ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .gallery__item:hover, .cat:hover, .step:hover, .scene:hover, .btn:hover { transform: none; }
  .card:hover .card__icon, .cat:hover .cat__emoji { transform: none; }
  .btn--primary::after, .btn--lime::after { display: none; }
  .nav__links.is-open { animation: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .hero__figure img { aspect-ratio: 4 / 3; object-position: center 30%; }
  .hero__badge { left: 14px; bottom: 14px; }
  .gallery__cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--media-right .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { grid-template-columns: 1fr; padding: 38px 30px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .brand__mark { width: 38px; height: 38px; }
}

@media (max-width: 980px) {
  .nav__tel { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--ink-100);
    padding: 14px 16px 20px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; animation: nav-drop .22s ease both; }
  @keyframes nav-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }
  .nav__links a { padding: 13px 14px; font-size: 1rem; }
  .nav { gap: 16px; padding: 0 18px; }
  .gallery__cta { flex-direction: column; align-items: flex-start; }
  .nav__cta { display: none; }
  .nav__links .nav__mobile-cta { display: flex; gap: 10px; margin-top: 12px; padding: 0 4px; }
  .nav__links .nav__mobile-cta .btn { flex: 1; padding: 13px 14px; }
  .section { padding: 62px 0; }
  .hero { padding: calc(var(--nav-h) + 34px) 0 66px; }
  .trust__inner { gap: 10px 22px; font-size: .86rem; }
}

@media (min-width: 861px) {
  .nav__mobile-cta { display: none !important; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .grid--2, .grid--3, .grid--4, .cats, .steps, .scenes, .gallery { grid-template-columns: 1fr; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item img { aspect-ratio: 4 / 5; }
  .feature-figure img { aspect-ratio: 4 / 3; }
  .qr-card--lg img { max-width: 220px; }
  .card { padding: 24px 20px; }
  .hero__metrics { grid-template-columns: 1fr; gap: 12px; }
  .hero__metric { display: flex; align-items: baseline; gap: 10px; }
  .hero__metric b { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 30px 22px; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .float-bar { right: 12px; bottom: 14px; }
  .float-qr { right: 0; bottom: 62px; }
  .qr-card, .qr-card--lg { padding: 22px; }
}
