/* BESCORE — product line pages (energy storage, PCS and hybrid inverters, split chargers).
   Loaded after product.css: the hero, sub-nav, lightbox and closing block come from there. */

/* ---------- hero with several products ---------- */
.lhero__stage { position: relative; margin: 0; height: min(58vh, 620px); }
.lhero__img { position: absolute; z-index: 2; width: auto; filter: drop-shadow(0 36px 46px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(160, 255, 240, 0.5)); }
.lhero__img--back { left: -4%; bottom: 15%; width: 92%; height: auto; }
.lhero__img--a { right: 30%; bottom: 0; height: 53%; z-index: 3; }
.lhero__img--b { right: -6%; bottom: 3%; height: 47%; z-index: 3; }
.lhero .phero__halo { top: 50%; width: 92%; }
.lhero .phero__title { font-size: clamp(40px, 4.6vw, 78px); }
/* 右下角的两个悬浮按钮会压到最后一格，宽屏时给参数行让出位置 */
@media (min-width: 1081px) { .lhero .phero__specs { padding-right: 190px; } }
/* one wide product (inverter, split charger cabinet) */
.lhero__stage--single .lhero__img--back { left: 0; bottom: 6%; width: 100%; }

/* ---------- tabs ---------- */
.ltabs { margin-top: 44px; display: inline-flex; gap: 4px; padding: 5px; max-width: 100%; border-radius: 999px; background: #fff; border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ltabs::-webkit-scrollbar { display: none; }
.ltabs button { flex: 0 0 auto; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background 0.3s, color 0.3s; }
.ltabs button:hover { color: var(--text); }
.ltabs button.is-active { background: var(--text); color: #fff; }
.dark .ltabs, .dark-2 .ltabs { background: rgba(255, 255, 255, 0.04); border-color: var(--ink-line); }
.dark .ltabs button, .dark-2 .ltabs button { color: var(--ink-muted); }
.dark .ltabs button.is-active, .dark-2 .ltabs button.is-active { background: #fff; color: var(--text); }

/* ---------- model cards ---------- */
.lgrid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lgrid[hidden] { display: none; }
.lcard { display: grid; grid-template-columns: 38% 1fr; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 150px; transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.lcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(4, 30, 32, 0.35); }
.lcard__media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 28px 20px; background: radial-gradient(70% 70% at 50% 60%, #ffffff 0%, #e9efef 100%); overflow: hidden; }
.lcard__media img { max-height: 300px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.16)); transition: transform 1.2s var(--ease); }
.lcard:hover .lcard__media img { transform: scale(1.04); }
.lcard__body { display: flex; flex-direction: column; padding: 28px 28px 26px; min-width: 0; }
.lcard__model { margin: 0; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.lcard__name { margin: 8px 0 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.lcard__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 16px 0 0; font-size: 11.5px; }
.lcard__specs li { padding: 6px 10px; border-radius: 6px; background: var(--mist); }
.lcard__use { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.lcard__cert { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.lcard__cert b { display: block; margin-bottom: 3px; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.lcard__note { align-self: flex-start; margin: 14px 0 0; padding: 5px 9px; border-radius: 6px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(21, 140, 134, 0.1); color: var(--teal-2); }
.lcard__links { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
/* containers and stations: the picture is wide, so it goes on top */
.lgrid--wide .lcard { grid-template-columns: 1fr; }
.lgrid--wide .lcard__media { min-height: 0; aspect-ratio: 16 / 8; padding: 30px 36px; }
.lgrid--wide .lcard__media img { max-height: 100%; }
.lnote { margin: 26px 0 0; max-width: 860px; font-size: 13px; }

/* ---------- asymmetric cards on dark ---------- */
.sbento { margin-top: 64px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: minmax(260px, auto) minmax(260px, auto) auto; gap: 18px; }
.sbento__item { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 30px; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.sbento__item--a { grid-column: 1 / 8; grid-row: 1 / 3; padding: 0; justify-content: flex-end; }
.sbento__item--b { grid-column: 8 / 13; grid-row: 1; }
.sbento__item--d { grid-column: 8 / 13; grid-row: 2; }
.sbento__item--c { grid-column: 1 / 13; grid-row: 3; flex-direction: row; align-items: flex-end; min-height: 0; }
.sbento__media { position: absolute; inset: 0; }
.sbento__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.sbento__item:hover .sbento__media img { transform: scale(1.03); }
.sbento__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, #071114 6%, rgba(7, 17, 20, 0.78) 34%, rgba(7, 17, 20, 0) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.sbento__body { position: relative; z-index: 2; padding: 30px; }
.sbento__k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glow); }
.sbento__item h3 { margin: 12px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.sbento__item p { margin: 10px 0 0; max-width: 560px; font-size: 15.5px; color: var(--ink-muted); }
.sbento__num { display: block; font-size: clamp(46px, 4.6vw, 72px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--glow); }
.sbento__pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; max-width: 460px; font-size: 11.5px; }
.sbento__pills li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, 0.03); color: var(--ink-text); white-space: nowrap; }
.sbento__pills li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }

/* ---------- text beside a screen ---------- */
.lsplit { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: center; }
.lcheck { list-style: none; display: grid; gap: 16px; margin: 30px 0 0; padding: 0; }
.lcheck li { position: relative; padding-left: 28px; color: var(--muted); }
.lcheck li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--teal); background: rgba(21, 140, 134, 0.12); }
.dark .lcheck li, .dark-2 .lcheck li { color: var(--ink-muted); }
.dark .lcheck li::before, .dark-2 .lcheck li::before { border-color: var(--glow); background: rgba(62, 240, 210, 0.15); }
.lshot { margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 50px 90px -50px rgba(4, 30, 32, 0.6), 0 0 0 1px rgba(11, 21, 23, 0.1); }
.lshot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- certificate wall ---------- */
.cwall__filters { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.cwall__filters button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.cwall__filters button:hover { border-color: var(--teal); color: var(--teal); }
.cwall__filters button.is-on { background: var(--text); border-color: var(--text); color: #fff; }
.cwall { margin-top: 38px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 38px 24px; }
.cwall__item { display: block; text-align: left; cursor: zoom-in; }
.cwall__item.is-off { display: none; }
.cwall__item img { width: 100%; aspect-ratio: 0.707; object-fit: cover; object-position: 50% 0; border-radius: 8px; background: #fff; rotate: var(--r, 0deg); box-shadow: 0 24px 44px -22px rgba(4, 30, 32, 0.45), 0 0 0 1px rgba(11, 21, 23, 0.06); transition: rotate 0.5s var(--ease), scale 0.5s var(--ease), box-shadow 0.5s; }
.cwall__item:hover img, .cwall__item:focus-visible img { rotate: 0deg; scale: 1.06; box-shadow: 0 34px 60px -24px rgba(4, 30, 32, 0.55), 0 0 0 1px rgba(21, 140, 134, 0.5); }
.cwall__cap { display: grid; gap: 3px; margin-top: 14px; line-height: 1.35; }
.cwall__cap b { font-weight: 500; font-size: 13px; color: var(--text); }
.cwall__cap em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.cwall__cap i { font-style: normal; font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.lightbox { flex-direction: column; gap: 14px; }
.lightbox img { max-height: 82vh; }
.lightbox__cap { margin: 0; max-width: 760px; text-align: center; font-size: 14px; color: #fff; }
.lightbox__cap:empty { display: none; }

/* ---------- photos ---------- */
.lproof { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lproof figure { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--ink-2); }
.lproof img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.lproof figure:hover img { transform: scale(1.03); }
.lproof figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, rgba(3, 8, 10, 0) 55%, rgba(3, 8, 10, 0.34) 100%), linear-gradient(0deg, rgba(3, 8, 10, 0.78) 0%, rgba(3, 8, 10, 0) 42%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.lproof figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; font-size: 15px; color: #fff; }

/* ---------- three steps ---------- */
.lsteps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lsteps article { position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--ink-line); background: rgba(255, 255, 255, 0.02); overflow: hidden; }
.lsteps span { font-size: 12px; letter-spacing: 0.1em; color: var(--glow); }
.lsteps h3 { margin: 46px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.lsteps p { margin: 10px 0 0; font-size: 15.5px; color: var(--ink-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .lgrid { grid-template-columns: 1fr; }
  .lgrid--wide { grid-template-columns: repeat(2, 1fr); }
  .cwall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .lhero__stage { height: 44vh; min-height: 300px; max-width: 560px; width: 100%; justify-self: center; }
  .lsplit { grid-template-columns: 1fr; gap: 40px; }
  .sbento { grid-template-columns: 1fr; grid-template-rows: none; }
  .sbento__item--a, .sbento__item--b, .sbento__item--c, .sbento__item--d { grid-column: auto; grid-row: auto; }
  .sbento__item--a { min-height: 440px; }
  .sbento__item--b, .sbento__item--d { min-height: 250px; }
  .sbento__item--c { flex-direction: column; align-items: flex-start; }
  .sbento__pills { justify-content: flex-start; }
  .lsteps, .lproof { grid-template-columns: 1fr; }
  .lgrid--wide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lcard { grid-template-columns: 1fr; }
  .lcard__media { min-height: 0; aspect-ratio: 4 / 3; }
  .lcard__media img { max-height: 100%; }
  .lgrid--wide .lcard__media { aspect-ratio: 16 / 9; padding: 22px; }
  .lcard__body { padding: 24px 22px; }
  .cwall { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .ltabs button { height: 42px; padding: 0 16px; font-size: 14px; }
}

/* =====================================================================
   逆变器页、分体式充电桩页用到的块
   ===================================================================== */

/* ---------- spec table: on a card, with two value columns, scrollable on phones ---------- */
.spec-table--card { margin-top: 50px; padding: 6px 30px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.spec-table--card .st-head { border-radius: 12px 12px 0 0; }
.st-row--2 { grid-template-columns: 1.3fr repeat(2, 2fr); }
.lsplit--head { grid-template-columns: 1fr 0.9fr; align-items: end; }
.lports { margin: 0; }
.lports img { width: 100%; filter: drop-shadow(0 30px 40px rgba(4, 30, 32, 0.25)); }
.ldocs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.seg--eight { border-radius: 30px; }
.seg--eight button { padding: 0 18px; }

/* ---------- configuration cards ---------- */
.lconf { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lconf article { padding: 30px; border-radius: 24px; background: var(--mist); border: 1px solid var(--line); }
.lconf b { display: block; font-size: clamp(44px, 4.4vw, 68px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.lconf b small { margin-left: 8px; font-size: 0.34em; letter-spacing: 0; color: var(--muted); }
.lconf span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; color: var(--teal); }
.lconf dl { display: grid; margin: 26px 0 0; }
.lconf dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.lconf dt { flex: 0 0 auto; max-width: 42%; color: var(--muted); }
.lconf dd { margin: 0; font-weight: 500; text-align: right; }
.lband { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; padding: 30px 36px; border-radius: 24px; background: var(--mist); }
.lband p { margin: 0; max-width: 780px; font-size: 17px; }

/* ---------- four cards in a row, picture beside a list ---------- */
.lsteps--four { grid-template-columns: repeat(4, 1fr); }
.lscene { margin-top: 70px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.lscene figure { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--ink-2); }
.lscene img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.lscene figure:hover img { transform: scale(1.03); }
.lscene figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(0deg, rgba(7, 17, 20, 0.6) 0%, rgba(7, 17, 20, 0) 45%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.lscene .h3 { margin-top: 14px; }
.fcards--three { grid-template-columns: repeat(3, 1fr); }
.fcard h3 a { transition: color 0.3s; }
.fcard h3 a:hover { color: var(--teal); }

/* ---------- pinned system tour: pictures swap as the page scrolls ---------- */
.stour { position: relative; height: 420vh; }
.stour__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.stour__bg { position: absolute; inset: 0; background: radial-gradient(50% 60% at 66% 52%, rgba(21, 140, 134, 0.22), transparent 70%), #03080a; }
.stour__media { position: absolute; right: max(var(--gutter), 5vw); top: 52%; width: min(50vw, 860px); aspect-ratio: 16 / 10; transform: translateY(-50%); }
.stour__media figure { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8%; opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.7s var(--ease), transform 1.1s var(--ease); }
.stour__media figure.is-on { opacity: 1; transform: none; }
.stour__media img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 36px 46px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(160, 255, 240, 0.5)); }
.stour__media figure.is-photo { border-radius: 24px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.stour__media figure.is-photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.stour__media figure.is-pair img { max-width: 34%; max-height: 96%; }
.stour .cap { transform: translateY(calc(-50% + 24px)); transition: opacity 0.5s, transform 0.7s var(--ease), visibility 0s linear 0.5s; }
.stour .cap.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 0s; }

@media (max-width: 1180px) {
  .lsteps--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .lsplit--head { grid-template-columns: 1fr; }
  .lconf, .lscene { grid-template-columns: 1fr; }
  .lscene { gap: 34px; }
  .fcards--three { grid-template-columns: 1fr 1fr; }
  .stour__media { left: 50%; right: auto; top: 13%; width: 92vw; transform: translateX(-50%); }
  .stour .cap, .stour .cap.is-on { transform: none; }
  .spec-table--scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec-table--scroll .st-row { min-width: 720px; grid-template-columns: 1.3fr repeat(4, 1fr); }
  .spec-table--scroll .st-row:not(.st-span):not(.st-head) b:nth-of-type(n+2) { display: block; }
  .spec-table--scroll .st-head { position: static; }
  .spec-table--scroll .st-head span:nth-child(n+3) { display: block; }
  .spec-table--scroll .st-span b { grid-column: span 4; }
  .spec-table--card { padding: 4px 18px 18px; }
  .st-row.st-row--2 { grid-template-columns: 0.9fr 1fr 1fr; gap: 10px; font-size: 13.5px; }
  .st-row.st-row--2:not(.st-span):not(.st-head) b:nth-of-type(n+2) { display: block; }
  .st-head.st-row--2 span:nth-child(n+3) { display: block; }
}
@media (max-width: 640px) {
  .lsteps--four, .fcards--three { grid-template-columns: 1fr; }
  .lband { padding: 24px; }
  .subnav__name { font-size: 14px; }
  .subnav__inner { gap: 14px; }
}
.spec-table--second { margin-top: 56px; }
.st-head.st-row--2 span:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }

/* =====================================================================
   第三轮（2026-11-30 夜）：视频首屏、证书叠放、卡片对
   ===================================================================== */

/* ---------- video hero: a muted loop behind the title ---------- */
.vhero { position: relative; min-height: 100svh; padding-top: calc(var(--nav-h) + 54px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
.vhero__media { position: absolute; inset: 0; }
.vhero__media video, .vhero__media img { width: 100%; height: 100%; object-fit: cover; }
.vhero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 8, 10, 0.95) 0%, rgba(3, 8, 10, 0.8) 34%, rgba(3, 8, 10, 0.22) 70%, rgba(3, 8, 10, 0.42) 100%), linear-gradient(0deg, #03080a 3%, rgba(3, 8, 10, 0) 38%), linear-gradient(180deg, rgba(3, 8, 10, 0.82) 0%, rgba(3, 8, 10, 0) 26%); }
.vhero__scrim::after { content: ""; position: absolute; inset: 0; background: #0a3f3d; mix-blend-mode: soft-light; opacity: 0.6; }
.vhero__inner { position: relative; z-index: 2; padding-top: 6vh; padding-bottom: 30px; }
.vhero__title { margin-top: 24px; max-width: 1000px; font-size: clamp(40px, 5.4vw, 92px); }
.vhero .lead { margin-top: 26px; max-width: 620px; color: rgba(233, 242, 241, 0.8); }
.vhero .phero__ctas { margin-top: 36px; }
.vhero .phero__specs { margin-top: 0; }
.vhero__note { position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 78px); z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.vhero__note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4d; box-shadow: 0 0 10px #ff5a4d; animation: blink 1.6s infinite; }
@media (min-width: 1081px) { .vhero .phero__specs { padding-right: 190px; } }

/* ---------- certificate pile: every document in one overlapping stack ---------- */
.cpile { --w: clamp(118px, 13.2vw, 190px); display: flex; flex-wrap: wrap; justify-content: center; margin-top: 48px; padding: calc(var(--w) * 0.5 + 34px) 0 16px calc(var(--w) * 0.74); }
.cpile .cwall__item { position: relative; flex: 0 0 auto; width: var(--w); margin: calc(var(--w) * -0.5) 0 0 calc(var(--w) * -0.74); rotate: var(--r, 0deg); translate: 0 var(--y, 0px); transition: rotate 0.45s var(--ease), translate 0.45s var(--ease), scale 0.45s var(--ease); }
.cpile .cwall__item img { display: block; width: 100%; aspect-ratio: 0.707; object-fit: cover; object-position: 50% 0; rotate: none; border-radius: 8px; background: #fff; box-shadow: -14px 18px 34px -18px rgba(4, 30, 32, 0.5), 0 0 0 1px rgba(11, 21, 23, 0.08); transition: box-shadow 0.45s; }
.cpile .cwall__item:hover, .cpile .cwall__item:focus-visible { rotate: 0deg; translate: 0 -30px; scale: 1.14; z-index: 6; }
.cpile .cwall__item:hover img, .cpile .cwall__item:focus-visible img { rotate: none; scale: none; box-shadow: 0 34px 60px -22px rgba(4, 30, 32, 0.65), 0 0 0 1px rgba(21, 140, 134, 0.6); }
.cpile .cwall__cap { position: absolute; left: 50%; bottom: calc(100% + 10px); margin: 0; display: block; translate: -50% 4px; padding: 5px 9px; border-radius: 6px; white-space: nowrap; font-size: 11px; line-height: 1.3; background: rgba(3, 8, 10, 0.92); color: #fff; opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.3s var(--ease); }
.cpile .cwall__cap b { font-size: 11px; font-weight: 500; color: #fff; }
.cpile .cwall__cap em, .cpile .cwall__cap i { display: none; }
.cpile .cwall__item:hover .cwall__cap { opacity: 1; translate: -50% 0; }
.cpile__hint { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.dark .cpile__hint, .dark-2 .cpile__hint { color: var(--ink-muted); }

/* ---------- two picture cards side by side (mounting options, product pair) ---------- */
.lpair { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lpair__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 34px; border-radius: 28px; overflow: hidden; background: #050b0d; color: #fff; border: 1px solid rgba(255, 255, 255, 0.08); }
.lpair__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.lpair__card:hover > img { transform: scale(1.03); }
.lpair__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(0deg, rgba(5, 11, 13, 0.96) 6%, rgba(5, 11, 13, 0.55) 36%, rgba(5, 11, 13, 0) 66%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.lpair__card > * { position: relative; z-index: 2; }
.lpair__card > img { z-index: 0; }
.lpair__k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glow); }
.lpair__card h3 { margin: 12px 0 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.lpair__card p { margin: 10px 0 0; max-width: 460px; font-size: 15.5px; color: var(--ink-muted); }
.lpair__card .link-arrow { margin-top: 18px; color: var(--glow); }
.lpair--product .lpair__card { background: radial-gradient(80% 70% at 62% 34%, #0d2c2d 0%, #050b0d 70%); }
.lpair--product .lpair__card > img { inset: 6% 8% 34% 8%; width: 84%; height: 60%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.lpair--product .lpair__card::after { background: linear-gradient(0deg, rgba(5, 11, 13, 0.9) 4%, rgba(5, 11, 13, 0) 44%); }
.lpair__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; font-size: 11.5px; }
.lpair__specs li { padding: 6px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }

/* ---------- four picture tiles with a label ---------- */
.ltiles { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ltile { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--ink-2); }
.ltile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ltile:hover img { transform: scale(1.04); }
.ltile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(0deg, rgba(3, 8, 10, 0.9) 4%, rgba(3, 8, 10, 0) 52%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ltile figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; }
.ltile figcaption b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.ltile figcaption span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: rgba(233, 242, 241, 0.72); }
/* 图里正中有产品的时候（逆变器的应用场景）：字放在图下面，不压住产品 */
.ltiles--below .ltile { aspect-ratio: auto; display: flex; flex-direction: column; background: #071114; }
.ltiles--below .ltile img { height: auto; aspect-ratio: 4 / 3; }
.ltiles--below .ltile::after { background: none; }
.ltiles--below .ltile figcaption { position: relative; left: auto; right: auto; bottom: auto; flex: 1; padding: 16px 20px 20px; background: #071114; }

@media (max-width: 900px) {
  .vhero__title { font-size: clamp(36px, 9vw, 60px); }
  .vhero__scrim { background: linear-gradient(0deg, #03080a 6%, rgba(3, 8, 10, 0.78) 46%, rgba(3, 8, 10, 0.4) 100%); }
  .vhero__note { display: none; }
  .lpair { grid-template-columns: 1fr; }
  .lpair__card { min-height: 440px; padding: 26px; }
  .ltiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cpile { --w: 108px; }
  /* 应用场景小图：手机上一行一张，字只占底部一条，不压住图里的产品 */
  .ltiles { grid-template-columns: 1fr; }
  .ltile { aspect-ratio: 16 / 10; }
  .ltile::after { background: linear-gradient(0deg, rgba(3, 8, 10, 0.92) 0%, rgba(3, 8, 10, 0) 46%); }
  .ltile figcaption { left: 16px; right: 16px; bottom: 14px; }
  .ltile figcaption b { font-size: 17px; }
  .ltile figcaption span { margin-top: 2px; font-size: 13px; }
  .ltiles--below .ltile { aspect-ratio: auto; }
  .ltiles--below .ltile img { aspect-ratio: 16 / 9; }
  .ltiles--below .ltile figcaption { left: auto; right: auto; bottom: auto; padding: 14px 16px 16px; }
}

/* ---------- 直流充电桩总览页 ---------- */
.lhero__stage--ev .lhero__img--back { left: 10%; bottom: 6%; width: 94%; }
.lhero__stage--ev .lhero__img--a { left: -4%; right: auto; bottom: 0; height: 80%; z-index: 3; }
.lsteps--two { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.lsteps--two h3 { margin-top: 26px; }
.lband--dark { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ink-line); }
.lband--dark p { color: var(--ink-text); }
a.lpair__card { text-decoration: none; }
.certs__grid--top { align-items: end; }
.certs__grid--top .certs__list { margin-top: 0; }
@media (max-width: 900px) { .lsteps--two { grid-template-columns: 1fr; } .certs__grid--top .certs__list { margin-top: 30px; } }
/* 首屏底部一排参数：字数多的时候不折行 */
.vhero .phero__specs b, .lhero .phero__specs b { font-size: clamp(18px, 1.55vw, 24px); white-space: nowrap; }
@media (max-width: 900px) { .vhero .phero__specs b, .lhero .phero__specs b { font-size: 18px; white-space: normal; } }

/* 视频里的主体在正中时，把画面右移，左边留给标题 */
.vhero--right .vhero__media video { width: 74%; margin-left: 26%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
@media (max-width: 900px) { .vhero--right .vhero__media video { width: 100%; margin-left: 0; -webkit-mask-image: none; mask-image: none; } }
.lpair--product .lpair__card > img { inset: 5% 8% 40% 8%; height: 55%; }
/* 手机上卡片里的字多了几行：卡片加高，产品图只占上面一段，字不再压在图上 */
@media (max-width: 640px) {
  .lpair--product .lpair__card { min-height: 600px; }
  .lpair--product .lpair__card > img { inset: 4% 9% auto 9%; width: 82%; height: 44%; }
  .lpair--product .lpair__card::after { background: linear-gradient(0deg, rgba(5, 11, 13, 0.94) 44%, rgba(5, 11, 13, 0) 62%); }
}
/* 证书叠放的提示语：有鼠标时说“悬停”，触屏上说“点一下” */
.cpile__hint--touch { display: none; }
@media (hover: none) { .cpile__hint { display: none; } .cpile__hint--touch { display: block; } }

/* ---------- 视频首屏（第四轮改）：视频是主角。字收进左下角一块半透明的小面板，标题比首页小得多，不挡画面 ---------- */
.vhero__scrim { background: linear-gradient(180deg, rgba(3, 8, 10, 0.78) 0%, rgba(3, 8, 10, 0) 24%), linear-gradient(0deg, rgba(3, 8, 10, 0.94) 0%, rgba(3, 8, 10, 0.5) 20%, rgba(3, 8, 10, 0) 44%); }
.vhero__scrim::after { opacity: 0.3; }
.vhero__inner { padding-top: 0; padding-bottom: 22px; }
.vhero__card { width: min(540px, 100%); padding: 26px 30px 30px; border-radius: 26px; background: rgba(3, 8, 10, 0.5); border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); }
.vhero__card .eyebrow { margin: 0; }
.vhero .vhero__title { margin-top: 14px; max-width: none; font-size: clamp(27px, 2.75vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.vhero .lead { margin-top: 14px; max-width: none; font-size: 15.5px; line-height: 1.55; color: rgba(233, 242, 241, 0.82); }
.vhero .phero__ctas { margin-top: 22px; }
.vhero .phero__specs { border-top-color: rgba(255, 255, 255, 0.14); }
@media (max-width: 900px) {
  .vhero { min-height: 0; padding-top: calc(var(--nav-h) + 46px + 44vh); }
  .vhero__media { bottom: auto; height: calc(var(--nav-h) + 46px + 52vh); }
  .vhero__scrim { background: linear-gradient(180deg, rgba(3, 8, 10, 0.7) 0%, rgba(3, 8, 10, 0) 20%, rgba(3, 8, 10, 0) 38%, #03080a 62%); }
  .vhero__card { padding: 22px 20px 24px; border-radius: 22px; background: rgba(3, 8, 10, 0.62); }
  .vhero .vhero__title { font-size: clamp(26px, 7vw, 34px); }
  .vhero--right .vhero__media video { width: 100%; margin-left: 0; -webkit-mask-image: none; mask-image: none; }
}

