/* =========================================================
   {{BRAND}} — design system v2 (LIGHT)
   Design read: B2B industrial PV site for overseas distributors
   and EPC buyers. Clean light industrial, native CSS, no build step.
   Structure is ours; tone references the reference site (bright,
   product-led, generous whitespace).
   Dials: VARIANCE 6 / MOTION 4 / DENSITY 5
   Palette lock: one accent only (#B45309 amber).
   Shape lock: radius 2px panels, 999px only for the nav pill.
   ========================================================= */

:root {
  --bg:        #FFFFFF;
  --bg-alt:    #F5F6F8;
  --bg-sunk:   #EDEFF2;
  --panel:     #FFFFFF;
  --line:      #E3E6EA;
  --line-soft: #EDEFF2;
  --text:      #0D1117;
  --text-2:    #5C646E;
  --text-3:    #8A929C;
  --accent:    #B45309;
  --accent-2:  #D97706;
  --accent-ink:#8A3F06;
  --r-panel:   2px;
  --r-pill:    999px;
  --pad:       clamp(20px, 4vw, 56px);
  --maxw:      1360px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --shadow-1:  0 1px 2px rgba(13,17,23,.04), 0 8px 24px rgba(13,17,23,.05);
  --shadow-2:  0 2px 6px rgba(13,17,23,.06), 0 18px 48px rgba(13,17,23,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px;
  font-size: 14.5px; font-weight: 560; letter-spacing: .005em; white-space: nowrap;
  border-radius: var(--r-panel); border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease),
              transform .12s var(--ease);
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }

.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--text); }

.btn-quiet { color: var(--text-2); padding: 0 4px; }
.btn-quiet:hover { color: var(--text); }

.btn-sm { height: 40px; padding: 0 20px; font-size: 13.5px; border-radius: var(--r-pill); }

.link-arrow {
  font-size: 14px; color: var(--accent); font-weight: 540;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .2s var(--ease); white-space: nowrap;
}
.link-arrow:hover { border-color: var(--accent); }
.link-arrow::after { content: " \2192"; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: 76px; display: flex; align-items: center; gap: 40px;
  padding: 0 var(--pad);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 20px; height: 20px; flex: none; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}
.brand-word { font-size: 17px; font-weight: 680; letter-spacing: -.015em; text-transform: uppercase; }

/* 2026-11-27: links moved to the optical centre of the bar (brand left, CTA right).
   Centred with left/right + flex, NOT transform: a transformed ancestor would turn
   the .nav-drop mega panel (position:fixed) into a positioned-descendant and break
   it. The layer spans the bar but is click-through; only the items take pointers. */
.nav-links {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 16px;
  color: var(--text-2);
  pointer-events: none;
}
.nav-links > * { pointer-events: auto; }

/* below ~980px the centred row starts crowding the logo / CTA */
@media (max-width: 980px) {
  .nav-links { gap: 20px; font-size: 15px; }
}
.nav-links a { position: relative; padding: 4px 0; transition: color .2s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--accent); transition: right .26s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-links a:focus-visible { color: var(--text); outline: none; }
.nav-links a:focus-visible::after { right: 0; }

.nav-end { margin-left: auto; display: flex; align-items: center; gap: 22px; flex: none; }
.nav-ghost { font-size: 14.5px; color: var(--text-2); }
.nav-ghost:hover { color: var(--text); }

/* ---------------- hero ----------------
   Light hero: copy on the left, product photo bleeding off the right
   edge. No centered stack, no dark mesh. */
.hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  padding: 132px var(--pad) 56px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8F9FB 0%, #FFFFFF 62%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  transform: scale(1.02);
  animation: heroDrift 26s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      #FFFFFF 0%,
      rgba(255,255,255,.99) 22%,
      rgba(255,255,255,.92) 36%,
      rgba(255,255,255,.55) 50%,
      rgba(255,255,255,.06) 66%,
      rgba(255,255,255,0) 100%),
    linear-gradient(0deg, #FFFFFF 0%, rgba(255,255,255,.55) 12%, rgba(255,255,255,0) 32%);
}

.hero-copy {
  position: relative; z-index: 2;
  max-width: 620px;
}

.hero-eyebrow {
  margin: 0 0 22px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -.033em;
  font-weight: 640;
  text-wrap: balance;
}

.hero-sub {
  margin: 0 0 36px;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 44ch;
}

.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero-spec {
  position: relative; z-index: 2;
  margin-top: 64px;
  display: flex; gap: 0;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.hero-spec > div {
  display: flex; flex-direction: column; gap: 5px;
  padding: 20px 28px 0 0;
  margin-right: 28px;
}
.hero-spec > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-spec .k {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
}
.hero-spec .v {
  font-size: 27px; font-weight: 640; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.hero-spec small { font-size: .55em; color: var(--text-2); margin-left: 1px; }

/* ---------------- metrics ---------------- */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.metric {
  padding: 42px var(--pad);
  display: flex; flex-direction: column; gap: 8px;
  border-left: 1px solid var(--line);
}
.metric:first-child { border-left: 0; }
.metric-n {
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 650;
  letter-spacing: -.038em; line-height: 1; font-variant-numeric: tabular-nums;
}
.metric-n em {
  font-style: normal; font-size: .46em; color: var(--accent);
  margin-left: 2px; letter-spacing: 0;
}
.metric-l { font-size: 13px; color: var(--text-2); letter-spacing: .01em; }

/* ---------------- section shell ---------------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(76px, 8.5vw, 132px) var(--pad); }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: clamp(40px, 4.6vw, 68px);
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.06; letter-spacing: -.032em; font-weight: 640;
  max-width: 20ch;
}

/* ---------------- product range ---------------- */
.range { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease),
              transform .24s var(--ease);
}
.card:hover { border-color: #CBD1D8; box-shadow: var(--shadow-1); transform: translateY(-2px); }

.card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line-soft);
}
.card-img img {
  display: block;
  width: 100%; height: 100%;
  /* padding on the img (not the box) keeps the whole product render
     inside the frame — box padding used to let it clip top/bottom */
  padding: 20px;
  object-fit: contain;
  transition: transform .7s var(--ease);
}
.card:hover .card-img img { transform: scale(1.035); }

.card-body { padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-kicker {
  font-size: 11.5px; letter-spacing: .12em; color: var(--text-3);
  font-variant-numeric: tabular-nums; font-weight: 560;
}
.card-body h3 { margin: 0; font-size: 20px; font-weight: 620; letter-spacing: -.02em; }
.card-body p { margin: 0; font-size: 13.5px; line-height: 1.62; color: var(--text-2); }
.card-go {
  margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 560;
  color: var(--accent);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.card:hover .card-go, .card:focus-visible .card-go { opacity: 1; transform: none; }

/* ---------------- feature split ----------------
   Full-bleed tinted band; a single inner grid does the split. */
.feature {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 120px) var(--pad);
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  gap: clamp(36px, 5.5vw, 88px);
}

.feature-media {
  position: relative; aspect-ratio: 4 / 3.05; overflow: hidden;
  border-radius: var(--r-panel); background: #E9ECEF;
  box-shadow: var(--shadow-2);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-eyebrow {
  margin: 0 0 20px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.feature-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 3.1vw, 42px); line-height: 1.1;
  letter-spacing: -.03em; font-weight: 640;
}
.feature-copy > p {
  margin: 0 0 32px; font-size: 15.5px; line-height: 1.68;
  color: var(--text-2); max-width: 46ch;
}

.spec-list { list-style: none; margin: 0 0 36px; padding: 0; }
.spec-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 13px 0; border-bottom: 1px solid #DFE3E8; font-size: 14.5px;
}
.spec-list li span { color: var(--text-2); }
.spec-list li b { font-weight: 620; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ---------------- applications ---------------- */
.apps {
  display: grid; grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(2, minmax(228px, 1fr)); gap: 16px;
}
.app { position: relative; overflow: hidden; border-radius: var(--r-panel); background: #E9ECEF; }
.app-tall { grid-row: span 2; }
.app img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.app:hover img { transform: scale(1.04); }
.app::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,12,18,.82) 2%, rgba(8,12,18,.12) 52%, rgba(8,12,18,0) 100%);
}
.app-label { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; color: #fff; }
.app-label h3 { margin: 0 0 4px; font-size: 21px; font-weight: 620; letter-spacing: -.02em; }
.app-label p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.74); }

/* ---------------- cta ---------------- */
.cta {
  background: var(--text);
  color: #fff;
}
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(76px, 8.5vw, 122px) var(--pad); }
.cta-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.cta-copy { max-width: 640px; }
.cta h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.8vw, 50px); line-height: 1.07;
  letter-spacing: -.034em; font-weight: 650;
}
.cta p { margin: 0; font-size: 16px; color: rgba(255,255,255,.66); max-width: 50ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; flex: none; }
.cta .btn-primary { background: var(--accent-2); color: #1A0F02; }
.cta .btn-primary:hover { background: #F0A83F; }
.cta .btn-quiet { color: rgba(255,255,255,.72); }
.cta .btn-quiet:hover { color: #fff; }

/* ---------------- footer ---------------- */
.foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot-top {
  max-width: var(--maxw); margin: 0 auto;
  padding: 64px var(--pad) 52px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; align-self: start; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols h4 {
  margin: 0 0 14px; font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); font-weight: 620;
}
.foot-cols a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-2); transition: color .2s var(--ease); }
.foot-cols a:hover { color: var(--text); }

.foot-bot {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--pad) 34px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 12.5px; color: var(--text-3);
}

/* ---------------- reveal ----------------
   Safety-first: content is visible by default. The .reveal class is
   only applied by JS, and only to elements that are BELOW the fold,
   so a JS failure never leaves the page blank. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .range { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr; }
  .hero-media { width: 66%; }
}

@media (max-width: 860px) {
  .nav-links, .nav-ghost { display: none; }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 92dvh;
    padding: 116px var(--pad) 40px;
  }
  .hero-media {
    position: relative;
    width: 100%;
    height: 46dvh;
    order: -1;
    margin: 0 calc(var(--pad) * -1) 28px;
    width: calc(100% + var(--pad) * 2);
  }
  .hero-media::before {
    background: linear-gradient(0deg, #FFFFFF 0%, rgba(255,255,255,0) 34%);
  }
  .hero-copy { max-width: none; }
  .hero-spec { margin-top: 32px; flex-wrap: wrap; gap: 14px 0; }
  .hero-spec > div { padding: 0 18px 0 0; margin-right: 18px; }
  .hero-spec > div + div { padding-left: 18px; }

  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { border-left: 0; border-top: 1px solid var(--line); padding: 28px var(--pad); }
  .metric:nth-child(-n+2) { border-top: 0; }
  .metric:nth-child(2n) { border-left: 1px solid var(--line); }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-media { aspect-ratio: 4 / 3; order: -1; }

  .apps {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(250px, auto) repeat(2, minmax(180px, auto));
  }
  .app-tall { grid-row: auto; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .foot-bot { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  .range { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .btn-quiet { justify-content: flex-start; padding-left: 0; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .hero-media { height: 38dvh; }
}


/* ---------- nav mega dropdown (2026-11-26) ---------- */
.nav-links .nav-item { position: relative; display: inline-flex; }
.nav-item > a { display: inline-flex; align-items: center; }

/* NOTE 2026-11-27: a caret must NOT ride on a::after here. The underline above
   also lives on a::after (position:absolute; left:0; right:100%; bottom:0), and
   .nav-item.has-drop > a::after outranks .nav-links a::after, so a 5px rotated
   box inherited that absolute placement and painted a stray diamond under the
   label while killing the orange underline on Products / Solutions / Projects.
   The caret is gone; the underline is the only nav indicator again. */

.nav-drop {
  position: fixed;
  left: 0; right: 0;
  top: 76px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(16, 24, 40, .10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop,
.nav-item.is-open .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 2026-11-27: 点完下拉里的链接就收起。app.js 给 nav-item 挂 is-closing，
   压过上面的 :hover / :focus-within（鼠标还停在导航上、焦点还在链接上时不收）。 */
.nav-item.is-closing .nav-drop {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) !important;
  pointer-events: none;
}
/* 2026-11-27: the column group is centred as a block with equal gutters on both
   sides (was: 4 equal tracks stretched edge to edge). Columns size to their own
   content, one gap value between them — Products / Solutions / Projects all use
   the same rule, so all three panels line up the same way. */
.drop-inner {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(22px, 2.6vw, 34px) var(--pad);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: center;
  gap: clamp(48px, 5.5vw, 104px);
}
.drop-col { display: flex; flex-direction: column; gap: 9px; }
.drop-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.drop-col a:not(.drop-head):not(.btn) {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s;
}
.drop-col a:not(.drop-head):not(.btn):hover { color: var(--text); }
.nav-scrolled .nav-drop { top: 64px; }

@media (max-width: 980px) {
  .nav-drop { display: none; }
}

/* 只给读屏软件的标题（cases / news 的列表标题用它）。
   2026-12-02: 之前类名到处在用但从来没定义过，结果 "All projects" /
   "All news" 直接显示在页面上了。 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   手机端适配（2026-12-02，felix）
   ① 隐藏「Request pricing」
   ② logo 居中 + 左侧汉堡 → 抽屉导航；二级分类右侧箭头、默认全折叠
   ③ 所有列表一行 2 个
   ---------------------------------------------------------
   为什么全写在这里：design.css 全站 107 页都加载，改一处即全站生效。
   网格在 inner/products/taxonomy/solution/about 里另有一份，后面才加载，
   所以统一加 body 前缀（body .x 特异性 0,1,1 > .x 0,1,0）压过去，
   不依赖文件顺序。桌面端这些规则都在 @media 内，不影响现有版式。
   ========================================================= */

/* ---------------- ① ② 手机导航 ---------------- */
/* 汉堡与折叠箭头都是 app.js 注入的，桌面端必须彻底隐藏（否则会露出原生按钮） */
.nav-burger,
.nav-toggle { display: none; }

@media (max-width: 900px) {
  /* 顶栏：汉堡靠左（绝对定位，不参与居中），logo 居中，右侧 CTA 藏起来 */
  .nav { justify-content: center; gap: 0; }
  .nav-end { display: none !important; }

  .nav-burger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: calc(var(--pad) + 46px);
    padding: 0 0 0 var(--pad);
    background: none; border: 0; cursor: pointer;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
  }
  .nav-burger > span {
    display: block; position: relative;
    width: 22px; height: 2px;
    background: currentColor; border-radius: 1px;
    transition: background .16s linear;
  }
  .nav-burger > span::before,
  .nav-burger > span::after {
    content: "";
    position: absolute; left: 0;
    width: 22px; height: 2px;
    background: currentColor; border-radius: 1px;
    transition: top .2s var(--ease), transform .2s var(--ease);
  }
  .nav-burger > span::before { top: -7px; }
  .nav-burger > span::after  { top:  7px; }
  .nav.is-nav-open .nav-burger > span { background: transparent; }
  .nav.is-nav-open .nav-burger > span::before { top: 0; transform: rotate(45deg); }
  .nav.is-nav-open .nav-burger > span::after  { top: 0; transform: rotate(-45deg); }

  /* 抽屉。
     注意 .nav 有 backdrop-filter —— 它会成为 fixed 子元素的包含块，
     所以这里用 absolute + top:100%，不能用 fixed（否则高度会按导航条算）。 */
  .nav-links {
    display: flex !important;            /* 压掉 ≤860 的 display:none */
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100dvh - 76px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 4px 0 40px;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    z-index: 1;
  }
  .nav.is-scrolled .nav-links { height: calc(100dvh - 64px); }
  .nav.is-nav-open .nav-links {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  }
  body.is-nav-locked { overflow: hidden; }

  /* 一级行 */
  .nav-links > a,
  .nav-links .nav-item { display: block; width: 100%; }
  .nav-links .nav-item { position: relative; }
  .nav-links > a,
  .nav-item > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 0 var(--pad);
    font-size: 16.5px;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links a::after { display: none; }   /* 抽屉里不要桌面那条橙色下划线 */

  /* 二级折叠按钮（app.js 注入到 .nav-item 里） */
  .nav-toggle {
    position: absolute;
    right: 0; top: 0;
    width: 62px; height: 54px;
    display: grid; place-items: center;
    background: none; border: 0; cursor: pointer;
    color: var(--text-3);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle::before {
    content: "";
    width: 8px; height: 8px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .22s var(--ease);
  }
  .nav-item.is-open .nav-toggle::before {
    transform: translateY(2px) rotate(-135deg);
    color: var(--accent);
  }

  /* 二级面板：桌面是 fixed 通栏大面板，手机改成手风琴（默认折叠） */
  .nav-drop {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: var(--bg-alt);
    transition: none !important;
  }
  .nav-item.is-open .nav-drop { display: block !important; }
  /* 桌面「点完收起」的 !important 规则在手机上会跟手风琴打架，整条中和掉 */
  .nav-item.is-closing .nav-drop {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .drop-inner {
    display: flex;
    flex-direction: column;
    width: auto; max-width: none; margin: 0;
    padding: 2px 0 10px;
    gap: 0;
  }
  .drop-col { display: block; }
  .drop-head {
    margin: 0;
    padding: 16px var(--pad) 6px;
    font-size: 11px;
    color: var(--accent);
  }
  .drop-col a:not(.drop-head):not(.btn) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--pad) 0 calc(var(--pad) + 16px);
    font-size: 15px;
    color: var(--text-2);
    border-bottom: 1px solid rgba(13, 17, 23, .06);
  }
}

/* ---------------- ③ 列表一行 2 个 ---------------- */
@media (max-width: 900px) {
  /* 方案详情页：相关产品 / 案例卡（原本 ≤860 会整行铺满） */
  body .sol-prods, body .sol-cases { --cols: 2; }
  body .sol-prod, body .sol-case {
    flex: 0 1 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols));
    max-width: calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols));
  }
  /* 方案页要点清单：3 列 → 2 列 */
  body .sol-band-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 方案详情页 Program Features：三个图标卡手机端仍然一行 3 个（原来会竖着堆成 1 列） */
  body .sol-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body .sol-feat img { width: 54px; height: 54px; margin-bottom: 10px; }
  body .sol-feat h3 { font-size: 12.5px; line-height: 1.32; letter-spacing: 0; }

  /* 关于我们：制造基地 / 荣誉墙 */
  body .ab-bases { grid-template-columns: repeat(2, 1fr); }
  body .ab-honor-grid { grid-template-columns: repeat(2, 1fr); }

  /* 首页应用场景（bento → 规整 2×2） */
  body .apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 168px;
  }
  body .apps .app-tall { grid-row: auto; grid-column: auto; }
}

@media (max-width: 680px) {
  /* 产品页 61 个卡片 */
  body .rng-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .tile-media { padding: 14px; }
  body .tile-body { padding: 0 14px 14px; }
  body .tile-cat { font-size: 9px; letter-spacing: .1em; }
  body .tile-name { font-size: 13.5px; }
  body .tile-spec { font-size: 11px; }
  body .tile-go { padding: 10px 14px; font-size: 10.5px; }
}

@media (max-width: 560px) {
  /* 新闻 / 项目案例（同一套 case-grid） */
  body .case-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body .case-body { padding: 13px 13px 15px; }
  body .case-body h3 { font-size: 14px; line-height: 1.34; }
  body .case-body p { font-size: 12px; }
  body .case-meta { flex-wrap: wrap; gap: 6px 10px; margin-top: 9px; font-size: 11px; }

  /* 方案栏目页卡片 */
  body .sol-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body .sol-body { padding: 13px 13px 15px; gap: 6px; }
  body .sol-body h3 { font-size: 14.5px; }
  body .sol-body p { font-size: 12px; }

  /* 老版产品列表 / PDP 亮点 / 首页四条产品线 */
  body .product-grid { grid-template-columns: repeat(2, 1fr); }
  body .pdp-highlights { grid-template-columns: repeat(2, 1fr); }
  body .range { grid-template-columns: repeat(2, 1fr); }
}
