/* ===== 彩维官网样式 —— 深蓝科技风，参考德业 ===== */
:root {
  --navy: #071f16;
  --navy-2: #0d3b2a;
  --blue: #0f7a4a;
  --blue-bright: #17a15f;
  --accent: #2ec27a;
  --ink: #17233a;
  --grey: #6b7688;
  --bg-soft: #f4f8f5;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(10, 31, 61, 0.10);
  --shadow-hover: 0 24px 60px rgba(10, 31, 61, 0.18);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans Arabic", Tahoma, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background-color 0.6s cubic-bezier(.38, 0, 0, 1), padding 0.6s cubic-bezier(.38, 0, 0, 1), box-shadow 0.6s ease;
}
/* 滚动后使用深色底，白色 Logo 与按钮在浅色正文上也能清晰显示。
   不加 backdrop-filter，避免固定定位的手机菜单被导航条限制。 */
.nav.scrolled {
  background: rgba(5, 24, 17, 0.94);
  box-shadow: 0 4px 20px rgba(4, 20, 12, 0.16);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; gap: 36px; width: min(1440px, 94%); }
.nav .logo { flex-shrink: 0; }
.nav .logo-img { height: 44px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--white); letter-spacing: 1px; }
.nav.scrolled .logo { color: var(--white); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-bright), var(--accent));
  color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900;
  box-shadow: 0 6px 16px rgba(26, 122, 224, 0.4);
}
.logo-text em { font-style: normal; font-size: 12px; font-weight: 500; opacity: 0.75; margin-inline-start: 6px; }

/* 导航首屏与滚动深底都使用白字版 Logo。 */
.logo-img { height: 38px; width: auto; display: block; }
.nav .logo-img-dark { display: none; }
.footer .logo-img { height: 42px; }

.nav-links { display: flex; align-items: center; gap: 38px; margin-inline-start: auto; }
/* 菜单内语言条只在手机/平板菜单里出现 */
.nav-lang-inmenu { display: none; }
/* 「+」展开图标只在手机菜单里出现 */
.nav-plus { display: none; }
.nav-links a {
  color: rgba(255, 255, 255, 0.96); font-size: 19px; font-weight: 600;
  position: relative; padding: 8px 0; transition: color 0.3s;
}
.nav-links > a, .nav-drop > .drop-toggle { white-space: nowrap; letter-spacing: 0.02em; }
:lang(zh) .nav-links > a, :lang(zh) .nav-drop > .drop-toggle { letter-spacing: 0.12em; }
.nav-drop > .drop-toggle { display: inline-block; }
.nav.scrolled .nav-links a { color: rgba(255, 255, 255, 0.96); }
.nav-links a::after {
  content: ""; position: absolute; bottom: -2px; inset-inline-start: 0;
  width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue-bright), var(--accent));
  color: #fff !important; font-size: 16px; font-weight: 600; white-space: nowrap;
  padding: 11px 24px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(26, 122, 224, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 122, 224, 0.45); }

/* 语言下拉 */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; padding: 7px 14px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 500; white-space: nowrap;
  cursor: pointer; transition: background 0.3s;
}
.nav.scrolled .lang-btn { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.lang-btn:hover, .nav.scrolled .lang-btn:hover { background: rgba(255, 255, 255, 0.25); }
.chev { transition: transform 0.3s; }
.lang-switch.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-hover);
  min-width: 150px; padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.25s ease; z-index: 110;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li {
  padding: 9px 14px; font-size: 14px; color: var(--ink);
  border-radius: 8px; cursor: pointer; transition: background 0.2s;
}
.lang-menu li:hover { background: #e8f6ee; color: var(--blue); }

/* 产品下拉菜单 */
.nav-drop { position: relative; }
/* 「+」展开按钮只属于手机端抽屉菜单，桌面端不渲染显示 */
.nav-drop > .nav-plus { display: none; }
.nav-drop > .drop-toggle { padding-inline-end: 16px; }
.nav-drop > .drop-toggle::before {
  content: ""; position: absolute; inset-inline-end: 2px; top: calc(50% - 5px);
  width: 6px; height: 6px;
  border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.3s ease;
}
.nav-drop:hover .drop-toggle::after { width: 100%; }
.nav-drop.open .drop-toggle::before { transform: rotate(225deg); }
.submenu {
  position: absolute; top: calc(100% + 14px); inset-inline-start: -14px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-hover);
  min-width: 480px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s ease; z-index: 120;
}
.nav-drop:hover .submenu, .nav-drop.open .submenu, .nav-drop:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu::before { content: ""; position: absolute; top: -16px; inset-inline: 0; height: 16px; }
.about-menu { width: min(600px, 90vw); min-width: 0; inset-inline-start: auto; inset-inline-end: -20px; }
/* 纯文字下拉（解决方案/新闻展会/联系我们）：窄一点，单列 */
.submenu.is-compact {
  min-width: 210px; grid-template-columns: 1fr; padding: 8px;
}
.submenu.is-compact a { padding: 11px 16px; font-size: 15px; }
.about-menu .submenu-img { width: 76px; height: 60px; object-fit: cover; border-radius: 6px; filter: none; }
.about-menu .submenu-txt { min-width: 0; }
.about-menu .submenu-txt b { font-size: 16px; }
.about-menu .submenu-txt i { line-height: 1.55; }
.nav-links .submenu a {
  color: var(--ink) !important; display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; font-size: 14px; border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-links .submenu a::after { display: none; }
.nav-links .submenu a:hover { background: #e8f6ee; transform: translateX(3px); }
[dir="rtl"] .nav-links .submenu a:hover { transform: translateX(-3px); }
.submenu-img {
  width: 62px; height: 62px; object-fit: contain; flex: 0 0 auto;
  filter: drop-shadow(0 6px 10px rgba(10, 31, 61, 0.14));
  transition: transform 0.25s ease;
}
.submenu a:hover .submenu-img { transform: scale(1.08); }
.submenu-txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.submenu-txt b { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.submenu-txt i { font-style: normal; font-size: 12px; color: var(--grey); }
.submenu a:hover .submenu-txt b { color: var(--blue); }

/* 汉堡按钮 */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.nav.scrolled .burger span { background: #fff; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 首屏 ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -4%;
  background: url("../images/hero.webp") center/cover no-repeat;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1.5%); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 26, 17, 0.88) 0%, rgba(7, 34, 22, 0.65) 45%, rgba(6, 30, 19, 0.15) 100%);
}
[dir="rtl"] .hero-overlay {
  background: linear-gradient(-100deg, rgba(5, 26, 17, 0.88) 0%, rgba(7, 34, 22, 0.65) 45%, rgba(6, 30, 19, 0.15) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; color: #fff; max-width: 720px; }
.hero-badge {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08);
  padding: 7px 18px; border-radius: 999px; margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-title { font-size: clamp(38px, 6vw, 64px); font-weight: 900; line-height: 1.18; margin-bottom: 22px; }
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-bottom: 38px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: all 0.3s ease; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--accent)); color: #fff;
  box-shadow: 0 10px 28px rgba(26, 122, 224, 0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(26, 122, 224, 0.55); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

.hero-scroll {
  position: absolute; bottom: 34px; inset-inline-start: 50%; transform: translateX(-50%);
  width: 26px; height: 44px; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 20px;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 4px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(16px); } 100% { opacity: 0; } }

/* ===== 数据带 ===== */
.stats { background: var(--navy); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--accent); }
.stat-lab { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }

/* ===== 通用板块 ===== */
.section { padding: 96px 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--navy); position: relative; display: inline-block; padding-bottom: 16px; }
.sec-head h2::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-bright), var(--accent));
}

/* ===== 公司宣传视频区（固德威式浅灰斜切色带，隐约厂区纹理） ===== */
.video-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 96px 0 108px;
  background: #ffffff;
  --vb-p: 0;
}
.vb-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* 斜切色带：一条干净的浅灰带，照片压成隐约纹理（固德威式） */
.vb-band-photo {
  position: absolute; inset: 0;
  clip-path: polygon(0 18%, 100% 8%, 100% 87%, 0 96%);
  transition: clip-path 1.4s cubic-bezier(.22, .8, .28, 1);
}
.vb-band-photo img {
  position: absolute; left: 50%; top: 50%; width: 106%; height: 140%;
  transform: translate(-50%, -50%) translateY(calc(var(--vb-p, 0) * -22px));
  object-fit: cover; object-position: center 46%;
  filter: grayscale(.45) saturate(.28) contrast(.88) brightness(1.06);
  will-change: transform;
  animation: vbDrift 30s ease-in-out infinite alternate;
}
/* 极慢的呼吸式推拉，背景不像死图，又不至于让人分神 */
@keyframes vbDrift {
  from { transform: translate(-50%, -50%) translateY(calc(var(--vb-p, 0) * -22px)) scale(1); }
  to   { transform: translate(-51%, -49.3%) translateY(calc(var(--vb-p, 0) * -22px)) scale(1.05); }
}
/* 色带上的白罩：把实景压成"隐约纹理"，只留结构感 */
.vb-band-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(248, 251, 249, 0.6) 50%, rgba(255, 255, 255, 0.52) 100%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.5) 100%);
}

/* 进场：色带从中间横向展开 */
.video-band:not(.in) .vb-band-photo { clip-path: polygon(0 55%, 100% 55%, 100% 57%, 0 57%); }

/* 上下收边：让色带和白底无缝衔接 */
.vb-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 7%, rgba(255, 255, 255, 0) 93%, #ffffff 100%),
    radial-gradient(44% 38% at 50% 50%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 78%);
}

/* 鼠标划过：一层浅灰一次性从左扫到右（固德威式 hover 扫光） */
.vb-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(36, 58, 48, 0.12) 0%,
    rgba(36, 58, 48, 0.07) 46%,
    rgba(36, 58, 48, 0.02) 78%,
    rgba(36, 58, 48, 0) 100%);
  transform: scaleX(var(--vb-mx, 0));
  transform-origin: left center;
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
  pointer-events: none;
}
[dir="rtl"] .vb-sheen { transform-origin: right center; }

.vb-inner { position: relative; z-index: 2; }

/* 标题文字闪光：一道高光周期性从字面扫过（固德威式） */
.video-band .sec-head h2 {
  background: linear-gradient(115deg,
    var(--navy, #12312a) 42%,
    #2fae76 49%,
    #8fdcba 52%,
    #2fae76 55%,
    var(--navy, #12312a) 62%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vbShine 4.5s linear infinite;
}
@keyframes vbShine {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.vid-wrap {
  max-width: 960px; margin: 0 auto; border-radius: 18px; overflow: hidden;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.95),
    0 26px 70px rgba(9, 56, 37, 0.22),
    0 2px 8px rgba(9, 56, 37, 0.07);
  position: relative;
}
.vid-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; z-index: 2;
  pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.6);
}
.vid-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0a1f16; }

@media (max-width: 900px) {
  .video-band { padding: 68px 0 76px; }
  .vb-band-photo { clip-path: polygon(0 26%, 100% 16%, 100% 90%, 0 98%); }
  .vb-band-photo img { width: 178%; height: 140%; filter: grayscale(.45) saturate(.25) contrast(.85) brightness(1.08); }
  .vid-wrap { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9), 0 16px 40px rgba(9, 56, 37, 0.18); }
}
@media (max-width: 768px) { .vid-wrap { border-radius: 14px; } }

/* 无动效偏好：背景静止、扫光关闭、标题恢复正常颜色 */
@media (prefers-reduced-motion: reduce) {
  .vb-band-photo img { animation: none; }
  .vb-sheen { display: none; }
  .video-band .sec-head h2 {
    animation: none;
    -webkit-text-fill-color: var(--navy, #12312a);
  }
}

/* 阿拉伯语 RTL 时斜切方向镜像：面积比例不变，方向翻转 */
[dir="rtl"] .vb-slab-a { clip-path: polygon(0 0, 100% 0, 100% 71%, 0 58%); }
[dir="rtl"] .vb-slab-b { clip-path: polygon(0 58%, 100% 71%, 100% 100%, 0 100%); }

.sec-head p { color: var(--grey); margin-top: 14px; font-size: 16px; }

/* 滚动淡入 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ===== 产品 ===== */
.products { background: var(--bg-soft); }
.pm-sec { background: #fff; }
/* ===== 产品矩阵：四大类横向手风琴（固德威式浅色卡片 + 产品抠图） ===== */
/* 结构：a.items > .images(产品透明图) + .words.words1(收拢态) + .words.words2(展开态)
   浅色渐变卡底 + 居中产品图 + 深绿文字，hover/active 展开到约 47% 宽。 */
section.pm-sec {
  background: #fff;
  padding: clamp(56px, 6vw, 94px) 0 clamp(56px, 6vw, 94px);
}
.pm-sec .sec-head { margin-bottom: clamp(30px, 3.4vw, 48px); }
.wel-indu-list {
  display: flex;
  gap: 14px;
  width: min(1240px, calc(100% - clamp(36px, 6vw, 96px)));
  margin: 0 auto;
  font-size: 0;
}
.wel-indu-list .items {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: clamp(540px, 76vh, 820px);
  font-size: 15px;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f9f6;
  border: 1px solid rgba(10, 42, 27, 0.07);
  box-shadow: 0 10px 30px rgba(9, 56, 37, 0.06);
  transition: flex-grow 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease, border-color 0.5s ease;
}
.wel-indu-list .items:hover,
.wel-indu-list .items.active {
  box-shadow: 0 26px 60px rgba(9, 56, 37, 0.14);
  border-color: rgba(23, 161, 95, 0.35);
}
/* 每列一层极淡的品牌色渐变，四列依次是 绿 / 青绿 / 蓝绿 / 暖沙 */
.wel-indu-list .items:nth-child(1) { background: linear-gradient(180deg, #eef7f1 0%, #fbfdfc 78%); }
.wel-indu-list .items:nth-child(2) { background: linear-gradient(180deg, #ecf6f3 0%, #fbfdfc 78%); }
.wel-indu-list .items:nth-child(3) { background: linear-gradient(180deg, #eaf4f5 0%, #fbfdfc 78%); }
.wel-indu-list .items:nth-child(4) { background: linear-gradient(180deg, #f9f4ea 0%, #fdfcf9 78%); }

/* 产品图：透明图居中悬放，收拢列自然变窄、展开列放大 */
.wel-indu-list .items .images {
  position: absolute;
  inset: 3.5% 0 27% 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wel-indu-list .items .images img {
  width: min(86%, 440px);
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 26px 26px rgba(9, 56, 37, 0.16));
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}
.wel-indu-list .items:hover .images img,
.wel-indu-list .items.active .images img,
.wel-indu-list .items:first-child .images img {
  transform: scale(1.06) translateY(-6px);
}

/* 底部文字：深绿；四列收拢仍有约 17% 宽，标题横排放得下 */
.wel-indu-list .items .words {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(26px, 2.6vw, 40px) clamp(22px, 2.6vw, 38px) clamp(26px, 2.6vw, 38px);
  font-size: 0;
}
.wel-indu-list .items .words::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -64px; bottom: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0) 100%);
}
.wel-indu-list .items .words .tits {
  margin: 0;
  font-size: clamp(19px, 1.3vw, 25px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #0d2b1d;
  white-space: nowrap;
}
.wel-indu-list .items .words2 .tits { white-space: normal; }
.wel-indu-list .items .words .txts {
  margin: 0;
  color: rgba(13, 43, 29, 0.74);
}
.wel-indu-list .items .words1 { opacity: 1; transition: opacity 0.45s ease; }
.wel-indu-list .items .words1 .txts { display: none; }   /* 收拢只留标题，窄列不挤 */
.wel-indu-list .items .words2 {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.wel-indu-list .items .words2 .txts {
  margin-top: clamp(10px, 1vw, 14px);
  font-size: clamp(13.5px, 0.95vw, 15.5px);
  line-height: 1.66;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-width: 24em;
}
.wel-indu-list .items .pm-link {
  display: inline-block;
  margin-top: clamp(12px, 1.2vw, 18px);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 600;
  color: #0f7a4a;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease;
}
.wel-indu-list .items:hover .pm-link,
.wel-indu-list .items.active .pm-link { transform: translateX(4px); }
[dir="rtl"] .wel-indu-list .items:hover .pm-link,
[dir="rtl"] .wel-indu-list .items.active .pm-link { transform: translateX(-4px); }

/* 展开比例：四列 收拢 0.5 / 展开 1.33 → 展开列约 47%，其余各约 17.7% */
.wel-indu-list:hover .items { flex-grow: 0.5; }
.wel-indu-list .items:hover,
.wel-indu-list .items.active { flex-grow: 1.33; }

.wel-indu-list .items:hover .words1,
.wel-indu-list .items.active .words1,
.wel-indu-list .items:first-child .words1 { opacity: 0; }
.wel-indu-list .items:hover .words2,
.wel-indu-list .items.active .words2,
.wel-indu-list .items:first-child .words2 { opacity: 1; }

/* 收拢列：产品图轻微缩小、阴影变淡 */
.wel-indu-list:hover .items:not(:hover):not(.active):not(:first-child) .images img {
  transform: scale(0.94);
  filter: drop-shadow(0 16px 18px rgba(9, 56, 37, 0.10));
}

/* 键盘聚焦：和悬停同一套表现 */
.wel-indu-list .items:focus-visible { outline: none; }
.wel-indu-list .items:focus-visible .words1 { opacity: 0; }
.wel-indu-list .items:focus-visible .words2 { opacity: 1; }
.wel-indu-list .items:focus-visible { flex-grow: 1.33; }

/* ---- 桌面初始态：第一列默认展开 ---- */
@media (min-width: 901px) and (hover: hover) {
  .wel-indu-list .items:first-child { flex-grow: 1.33; }
  .wel-indu-list:hover .items:first-child:not(:hover):not(.active) {
    flex-grow: 0.5;
  }
  .wel-indu-list:hover .items:first-child:not(:hover):not(.active) .words1 { opacity: 1; }
  .wel-indu-list:hover .items:first-child:not(:hover):not(.active) .words2 { opacity: 0; }
  .wel-indu-list:hover .items:first-child:not(:hover):not(.active) .images img {
    transform: scale(0.94);
  }
}

@media (max-width: 1280px) {
  .wel-indu-list .items { height: clamp(500px, 72vh, 760px); }
  .wel-indu-list .items .words { padding: 24px 20px 26px; }
}
@media (max-width: 1024px) {
  .wel-indu-list .items { height: clamp(460px, 66vh, 700px); }
  .wel-indu-list .items .words { padding: 22px 16px 24px; }
}

/* 触屏 / 窄屏：横滑大卡 */
@media (max-width: 900px), (hover: none) {
  .wel-indu-list {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: clamp(18px, 5vw, 32px);
    scroll-padding-inline: clamp(18px, 5vw, 32px);
  }
  .wel-indu-list::-webkit-scrollbar { display: none; }
  .wel-indu-list:hover .items,
  .wel-indu-list .items,
  .wel-indu-list .items.active,
  .wel-indu-list .items:first-child { flex: 0 0 auto; }
  .wel-indu-list .items {
    width: min(86vw, 440px);
    height: clamp(380px, 58vh, 500px);
    margin-inline-end: 10px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .wel-indu-list .items:last-child { margin-inline-end: 0; }
  .wel-indu-list .items .words1 { display: none; }
  .wel-indu-list .items .words2 { opacity: 1; }
  .wel-indu-list .items .words { padding: 24px 22px 28px; }
  .wel-indu-list .items .words .tits { font-size: 21px; line-height: 1.45; }
  .wel-indu-list .items .words2 .txts {
    -webkit-line-clamp: 4;
    max-width: none;
    font-size: 13.5px;
    line-height: 1.7;
  }
  .wel-indu-list .items .pm-link { font-size: 14px; }
  .wel-indu-list .items:first-child .words1 { opacity: 1; }
  .wel-indu-list .items:first-child .words2 { opacity: 1; }
  .wel-indu-list .items .images { inset: 0 0 30% 0; }
  .wel-indu-list .items .images img,
  .wel-indu-list .items:first-child .images img { transform: none; }
  .wel-indu-list .items {
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-x pan-y;
  }
}
@media (max-width: 380px) {
  .wel-indu-list .items { width: 88vw; height: clamp(330px, 54vh, 420px); }
  .wel-indu-list .items .words .tits { font-size: 19px; }
  .wel-indu-list .items .words { padding: 20px 18px 22px; }
}

/* ===== 应用场景 ===== */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sol-card {
  background: var(--grad, var(--navy));
  border-radius: var(--radius); color: #fff; padding: 44px 34px;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sol-card::after {
  content: ""; position: absolute; inset-inline-end: -60px; bottom: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); transition: transform 0.5s ease;
}
.sol-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.sol-card:hover::after { transform: scale(1.4); }
.sol-card svg { margin-bottom: 20px; opacity: 0.95; }
.sol-card h3 { font-size: 22px; margin-bottom: 12px; }
.sol-card p { color: rgba(255, 255, 255, 0.85); font-size: 15px; }

/* ===== 优势 ===== */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-item {
  background: #fff; border-radius: var(--radius); padding: 34px 26px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.why-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.why-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
  background: linear-gradient(135deg, #e7f5ec, #d2eedd);
  display: grid; place-items: center; font-size: 28px;
}
.why-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--grey); }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.news-cover {
  height: 170px; display: grid; place-items: center; position: relative; overflow: hidden;
}
.news-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
}
.news-cover span {
  position: relative; font-size: 26px; font-weight: 900; letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.95);
}
.news-cover.c1 { background: linear-gradient(135deg, #0d3b2a, #17a15f); }
.news-cover.c2 { background: linear-gradient(135deg, #0a3330, #0f9a72); }
.news-cover.c3 { background: linear-gradient(135deg, #0f4028, #21a76b); }
.news-body { padding: 26px 24px; }
.news-body time {
  font-size: 12px; font-weight: 700; color: var(--blue);
  background: #e7f5ec; padding: 3px 10px; border-radius: 6px; display: inline-block; margin-bottom: 12px;
}
.news-body h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; line-height: 1.45; }
.news-body p { font-size: 14px; color: var(--grey); }

/* ===== 联系 ===== */
.contact { background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.contact-info > p { color: rgba(255, 255, 255, 0.8); margin-bottom: 34px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.ci-ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; font-size: 20px;
}
.contact-list b { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.65); font-weight: 500; }
.contact-list i { font-style: normal; font-size: 16px; }

.contact-form {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 36px; backdrop-filter: blur(8px);
  display: grid; gap: 14px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08);
  color: #fff; font-family: inherit; transition: border-color 0.3s, background 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.13);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; border: none; cursor: pointer; }

/* ===== 页脚 ===== */
.footer { background: #051810; color: rgba(255, 255, 255, 0.75); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding: 64px 0 40px;
}
.logo.light { color: #fff; }
.f-brand p { font-size: 14px; margin-top: 18px; max-width: 260px; }
.f-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.f-col a { display: block; font-size: 14px; padding: 5px 0; transition: color 0.25s, transform 0.25s; }
.f-col a:hover { color: var(--accent); transform: translateX(4px); }
[dir="rtl"] .f-col a:hover { transform: translateX(-4px); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0; font-size: 13px; text-align: center; color: rgba(255, 255, 255, 0.5);
}

/* ===== 产品详情页新增 ===== */
.section.soft { background: var(--bg-soft); }
.pd-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-btns .btn { margin: 0; }

.spec-wrap {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.spec-full { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-full thead th {
  background: var(--navy); color: #fff; text-align: start;
  padding: 16px 26px; font-weight: 600; font-size: 14px; letter-spacing: 0.5px;
}
.spec-full tbody tr { border-bottom: 1px solid var(--bg-soft); transition: background 0.25s; }
.spec-full tbody tr:hover { background: var(--bg-soft); }
.spec-full tbody tr:last-child { border-bottom: none; }
.spec-full td { padding: 14px 26px; }
.spec-full td:first-child { color: var(--grey); width: 42%; }
.spec-full td:last-child { color: var(--navy); font-weight: 600; }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card {
  background: var(--white); border: 1px solid var(--bg-soft); border-radius: var(--radius);
  padding: 30px 26px; transition: all 0.35s ease; position: relative; overflow: hidden;
}
.app-card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--blue-bright), var(--accent));
  transform: scaleY(0); transform-origin: top; transition: transform 0.35s ease;
}
.app-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.app-card:hover::before { transform: scaleY(1); }
.app-num {
  display: block; font-size: 13px; font-weight: 800; color: var(--accent);
  letter-spacing: 2px; margin-bottom: 10px;
}
.app-card p { color: var(--ink); font-size: 15px; }

/* ===== 型号卡片 / 大类区块 ===== */
.cat-block { margin-bottom: 70px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 18px; margin-bottom: 30px; border-bottom: 2px solid var(--bg-soft);
}
.cat-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--navy); }
.cat-head p { color: var(--grey); font-size: 15px; margin-top: 6px; max-width: 640px; }
.cat-head .btn { flex: 0 0 auto; }

.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.battery-series-head { margin: 0 0 24px; scroll-margin-top: 100px; }
.battery-series-head-ip54 { margin-top: 54px; padding-top: 36px; border-top: 1px solid rgba(15, 122, 74, .14); }
.battery-series-head h3 { color: var(--navy); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.battery-series-head p { color: var(--grey); font-size: 15px; margin-top: 6px; }
.model-card {
  display: block; background: var(--white); border: 1px solid var(--bg-soft);
  border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden;
  transition: all 0.35s ease;
}
.model-card::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue-bright), var(--accent));
  opacity: 0; transition: opacity 0.35s ease; z-index: 0;
}
.model-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); border-color: transparent; }
.model-card:hover::after { opacity: 1; }
.model-card > * { position: relative; z-index: 1; }
.mc-img {
  display: block; width: 100%; height: 150px; object-fit: contain; margin: 0 auto 18px;
  filter: drop-shadow(0 10px 16px rgba(10, 31, 61, 0.16));
  transition: transform 0.4s ease, filter 0.4s ease;
}
.model-card:hover .mc-img {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
}
.mc-power {
  display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 900; color: var(--navy);
  letter-spacing: -0.5px; line-height: 1.15; transition: color 0.35s ease;
}
.mc-volt {
  display: inline-block; margin: 8px 0 12px; padding: 3px 12px; border-radius: 30px;
  background: var(--bg-soft); color: var(--blue); font-size: 13px; font-weight: 700;
  transition: all 0.35s ease;
}
.mc-note { color: var(--grey); font-size: 14px; min-height: 48px; transition: color 0.35s ease; }
.mc-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--blue); transition: all 0.3s ease; }
.model-card:hover .mc-power, .model-card:hover .mc-note, .model-card:hover .mc-link { color: #fff; }
.model-card:hover .mc-volt { background: rgba(255, 255, 255, 0.22); color: #fff; }

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dl-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--white); border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow); transition: all 0.35s ease;
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.dl-icon {
  flex: 0 0 58px; height: 58px; border-radius: 14px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  transition: all 0.35s ease;
}
.dl-card:hover .dl-icon { background: var(--blue); color: #fff; }
.dl-meta { flex: 1; min-width: 0; }
.dl-meta h4 { font-size: 17px; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.dl-file { font-size: 12px; color: var(--grey); word-break: break-all; }
.dl-size { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.dl-arrow {
  flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--blue);
  padding: 8px 16px; border: 1.5px solid var(--blue); border-radius: 30px;
  transition: all 0.3s ease;
}
.dl-card:hover .dl-arrow { background: var(--blue); color: #fff; }
.dl-note { text-align: center; color: var(--grey); font-size: 14px; margin-top: 26px; }

.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* 品类增加到 7 个后，相关产品固定 6 张卡（其余 6 个品类）：桌面 3 列，窄屏 2 列 */
@media (min-width: 1101px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 641px) and (max-width: 1100px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
.rel-card {
  background: var(--white); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); text-align: center; transition: all 0.35s ease;
}
.rel-card img { height: 150px; object-fit: contain; margin: 0 auto 16px; transition: transform 0.5s ease; }
.rel-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.rel-card:hover img { transform: scale(1.07); }
.rel-card h4 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }

/* ===== 型号页：标题里的功率后缀 ===== */
.sub-banner h1 em, .pd-info h2 em { font-style: normal; font-weight: 700; opacity: 0.9; }
.sub-banner h1 em { color: var(--accent); }

/* ===== 阿拉伯语（RTL）微调 ===== */
[dir="rtl"] body { font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, "PingFang SC", sans-serif; }
[dir="rtl"] .hero-content { margin-inline-start: auto; }

/* ===== 栏目横幅文字入场 ===== */
@keyframes bannerTextEnter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .products-showcase-copy > h1,
  .co-hero-copy > h1 { animation: bannerTextEnter .85s cubic-bezier(.22, 1, .36, 1) .12s both; }
  .products-showcase-copy > p,
  .co-hero-copy > p:not(.co-eyebrow) { animation: bannerTextEnter .85s cubic-bezier(.22, 1, .36, 1) .28s both; }
  .products-showcase-copy > .crumb,
  .co-hero-copy > .co-eyebrow { animation: bannerTextEnter .7s cubic-bezier(.22, 1, .36, 1) both; }
}

/* ===== 产品中心全家福横幅 ===== */
.products-showcase { position: relative; overflow: hidden; background: #d7dadd; color: #15241c; }
.products-showcase-visual { width: min(1240px, 100%); margin: 24px auto 0; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, #000 64px); }
.products-showcase-image { width: 100%; height: auto; display: block; margin-top: -16.9%; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 25%); mask-composite: intersect; }
.products-showcase-copy { position: relative; z-index: 1; padding-top: 112px; text-align: center; }
.products-showcase .crumb { color: #536159; font-size: 12px; text-align: start; margin-bottom: 18px; }
.products-showcase .crumb a { color: #314d3d; }
.products-showcase h1 { line-height: 1.24; font-weight: 500; letter-spacing: .025em; }
.products-showcase h1 span { display: block; }
.products-showcase h1 [lang="en"] { font-size: clamp(22px, 3.1vw, 43px); }
.products-showcase h1 [lang="zh"] { font-size: clamp(21px, 2.2vw, 30px); margin-top: 10px; letter-spacing: .14em; }
.products-showcase-copy > p { margin-top: 13px; font-size: 19px; color: #435149; line-height: 1.6; }
.products-showcase-copy > p span { display: block; }
.products-showcase-copy > p [lang="zh"] { font-size: 15px; letter-spacing: .16em; }
@media (max-width: 768px) {
  .products-showcase-copy { padding-top: 100px; }
  .products-showcase-visual { margin-top: 28px; }
  .products-showcase .crumb { margin-bottom: 20px; }
  .products-showcase h1 [lang="en"] { font-size: clamp(21px, 5.5vw, 31px); }
  .products-showcase h1 [lang="zh"] { font-size: 23px; }
  .products-showcase-copy > p { font-size: 16px; }
}

/* ===== 询盘提交反馈 ===== */
.contact-form .inquiry-status { margin: 14px 0 0; color: #e4fff0; line-height: 1.6; font-size: 14px; }
.contact-form .inquiry-status:empty { display: none; }
.contact-form .inquiry-status[data-state="sent"] { color: #8ff0c0; }
.contact-form .inquiry-status[data-state="failed"], .contact-form .inquiry-status[data-state="unconfigured"] { color: #ffe3b0; }
.contact-form .inquiry-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-form .inquiry-notice { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: #c2d8ce; }
.contact-form button:disabled { opacity: .65; cursor: wait; }

/* ===== 联系我们：客户提供的合作照片 ===== */
.contact-showcase .products-showcase-visual { mask-image: none; }
@media (min-width: 769px) {
  .contact-showcase.page-showcase .products-showcase-image { object-position: 50% 50%; }
}
@media (max-width: 768px) {
  .contact-showcase.page-showcase .products-showcase-visual { margin-top: 0; }
  .contact-showcase.page-showcase .products-showcase-copy { min-height: 0; padding-bottom: 30px; }
}

/* ===== 栏目主题横幅：与产品中心统一规格 ===== */
.page-showcase .products-showcase-copy { min-height: 316px; }
.page-showcase h1 { font-size: clamp(42px, 4vw, 58px); font-weight: 600; text-align: center; }
.page-showcase .products-showcase-copy > p { max-width: 1000px; margin-inline: auto; font-size: clamp(20px, 1.65vw, 24px); text-align: center; text-wrap: balance; }
.page-showcase .products-showcase-image { mask-image: none; }
@media (min-width: 769px) {
  .page-showcase { height: clamp(680px, 51vw, 980px); }
  .page-showcase .products-showcase-visual { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; mask-image: none; }
  .page-showcase .products-showcase-image { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center 62%; }
  .page-showcase .products-showcase-copy { min-height: 0; padding-top: 112px; }
  .page-showcase::after { content: ""; position: absolute; inset: 0 0 auto; height: 280px; pointer-events: none; background: linear-gradient(to bottom, rgba(246,248,247,.92), rgba(246,248,247,.65) 65%, transparent); }
  .page-showcase .products-showcase-copy { z-index: 2; }
}
@media (max-width: 768px) {
  .page-showcase .products-showcase-copy { min-height: 300px; }
  .page-showcase h1 { font-size: clamp(36px, 9vw, 44px); }
  .page-showcase .products-showcase-copy > p { font-size: clamp(18px, 4.7vw, 21px); }
  .page-showcase .products-showcase-image { margin-top: 0; }
  .page-showcase .products-showcase-visual { margin-top: 12px; }
}

/* ===== 联系我们与新闻：紧凑首屏横幅 ===== */
.compact-showcase.page-showcase { height: clamp(360px, 52vh, 540px); }
.compact-showcase.page-showcase .products-showcase-visual { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; mask-image: none; }
.compact-showcase.page-showcase .products-showcase-image { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; mask-image: none; }
.compact-showcase.page-showcase::after { content: ""; position: absolute; inset: 0; height: 100%; pointer-events: none; background: linear-gradient(to bottom, rgba(246,248,247,.96), rgba(246,248,247,.72) 42%, rgba(246,248,247,.12) 85%); }
.compact-showcase.page-showcase .products-showcase-copy { z-index: 2; min-height: 0; padding-top: 104px; padding-bottom: 28px; }
.compact-showcase.page-showcase h1 { font-size: clamp(36px, 3.5vw, 48px); }
.compact-showcase.page-showcase .products-showcase-copy > p { font-size: clamp(18px, 1.5vw, 22px); }
@media (max-width: 768px) {
  .compact-showcase.page-showcase { height: 360px; }
  .compact-showcase.page-showcase .products-showcase-copy { padding-top: 100px; padding-bottom: 24px; }
  .compact-showcase.page-showcase .crumb { margin-bottom: 14px; }
  .compact-showcase.page-showcase h1 { font-size: clamp(32px, 8vw, 38px); }
  .compact-showcase.page-showcase .products-showcase-copy > p { margin-top: 10px; font-size: 17px; }
}

/* ===== 二级页面顶部横幅 ===== */
.sub-banner {
  position: relative; min-height: 340px; display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: 48px; color: #fff;
}
.sub-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
}
.sub-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 26, 17, 0.72), rgba(6, 30, 19, 0.92));
}
.sub-banner-content { position: relative; z-index: 2; padding-top: 140px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 12px; }
.crumb a { color: rgba(255, 255, 255, 0.9); }
.crumb a:hover { color: var(--accent); }
.sub-banner h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; margin-bottom: 10px; }
.sub-banner p { color: rgba(255, 255, 255, 0.82); font-size: 16px; }

/* ===== 板块“查看全部”按钮 ===== */
.sec-more { text-align: center; margin-top: 44px; }
.btn-outline {
  border: 1.5px solid var(--blue); color: var(--blue);
  padding: 12px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  display: inline-block; transition: all 0.3s ease;
}
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

/* ===== 产品详情页 ===== */
.pdetail {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid #e8eef6;
}
.pdetail:last-child { border-bottom: none; }
.pdetail.reverse .pd-media { order: 2; }
.pd-media {
  background: linear-gradient(160deg, #eef8f1, #d7efe0);
  border-radius: 20px; padding: 40px; display: grid; place-items: center; min-height: 320px;
}
.pd-media img { max-height: 300px; object-fit: contain; transition: transform 0.5s ease; }
.pd-media:hover img { transform: scale(1.06); }
.pd-info h2 { font-size: clamp(24px, 3vw, 34px); color: var(--navy); margin: 6px 0 14px; }
.pd-intro { color: var(--ink); font-size: 16px; margin-bottom: 18px; }
.pd-features { margin-bottom: 24px; }
.pd-features li {
  position: relative; padding-inline-start: 26px; margin-bottom: 10px; font-size: 15px; color: var(--ink);
}
.pd-features li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--blue); font-weight: 700;
}
.spec { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 14px; }
.spec tr { border-bottom: 1px solid #e8eef6; }
.spec tr:last-child { border-bottom: none; }
.spec td { padding: 10px 0; }
.spec td:first-child { color: var(--grey); width: 40%; }
.spec td:last-child { color: var(--navy); font-weight: 600; }

/* ===== 方案详情页 ===== */
.sol-detail {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sol-detail:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.sd-head {
  background: var(--grad, var(--navy)); color: #fff;
  display: flex; align-items: center; gap: 16px; padding: 30px 36px;
}
.sd-head h2 { font-size: clamp(20px, 2.6vw, 28px); }
.sd-body { padding: 32px 36px; background: #fff; }
.sd-desc { font-size: 17px; color: var(--navy); font-weight: 600; margin-bottom: 12px; }
.sd-extra { font-size: 15px; color: var(--grey); margin-bottom: 22px; }
.sd-body h4 { font-size: 14px; color: var(--navy); margin-bottom: 12px; letter-spacing: 1px; }
.sd-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sd-list li a {
  display: block; font-size: 14px; color: var(--blue);
  background: #eaf7f0; border-radius: 10px; padding: 12px 14px; text-align: center;
  transition: all 0.3s ease;
}
.sd-list li a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ===== 流程 ===== */
.process { background: var(--bg-soft); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proc-item {
  background: #fff; border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow); position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.proc-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.proc-num {
  font-size: 34px; font-weight: 900; color: #d4ecdd; line-height: 1; display: block; margin-bottom: 12px;
}
.proc-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.proc-item p { font-size: 14px; color: var(--grey); }

/* ===== 优势详情页 ===== */
.adv-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.adv-card {
  background: #fff; border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow); transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.adv-card h2 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.adv-lead { font-size: 16px; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.adv-long { font-size: 15px; color: var(--grey); }

/* ===== 新闻展开 ===== */
.news-full { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.4s ease; opacity: 0; }
.news-card.open .news-full { max-height: 400px; opacity: 1; margin-top: 12px; }
.news-full p {
  font-size: 14px; color: var(--grey);
  border-top: 1px dashed #d9e8de; padding-top: 12px;
}
.news-toggle {
  margin-top: 14px; background: none; border: none; cursor: pointer; padding: 0;
  font-size: 14px; font-weight: 600; color: var(--blue); font-family: inherit;
}
.news-toggle:hover { text-decoration: underline; }

/* ===== 常见问题 ===== */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 12px; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: start;
  padding: 20px 26px; font-size: 16px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.faq-q i { font-style: normal; font-size: 22px; color: var(--blue); transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 26px 22px; font-size: 15px; color: var(--grey); }

/* ===== 底部咨询条 ===== */
.cta-band { background: linear-gradient(120deg, #071f16, #0f7a4a); padding: 60px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, 0.82); font-size: 15px; }

.con-tip {
  margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, 0.7);
  border-inline-start: 3px solid var(--accent); padding-inline-start: 14px;
}

/* ===== 手机端 ===== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdetail { grid-template-columns: 1fr; gap: 30px; }
  .pdetail.reverse .pd-media { order: 0; }
  .adv-detail { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1201px) and (max-width: 1350px) {
  .nav-inner { gap: 24px; }
  .nav-links { gap: 24px; }
  .nav-links > a, .nav-drop > .drop-toggle { font-size: 18px; }
  .nav-cta { font-size: 15px; padding: 10px 18px; }
}
@media (max-width: 1200px) {
  /* 手机端只切换底色，保持顶部栏高度，避免按钮随滚动跳动。 */
  .nav.scrolled { padding: 18px 0; }
  .nav-inner { gap: 14px; }
  .nav .logo-img { height: 34px; }
  .nav-right { margin-inline-start: auto; gap: 10px; }
  .nav-cta { display: none; }

  /* 手机/平板菜单：固定铺满右侧整屏。用 right 负值滑入，不用 transform，
     因为 transform 会创建层叠上下文，把面板困在 73px 高的导航条里导致下半屏点不到 */
  /* 手机菜单：整屏铺满、通栏列表（固德威式）。从右侧滑入 */
  .nav-links {
    position: fixed; top: 0; bottom: 0;
    left: 0; right: 0; width: 100%;
    background: #101815;
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
    padding: 72px 0 40px; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 210;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(.22, .8, .28, 1);
    visibility: hidden;
  }
  [dir="rtl"] .nav-links { transform: translateX(-100%); }
  .nav-links.show { transform: translateX(0); visibility: visible; }

  /* 遮罩层：菜单打开时压暗页面，点它关闭菜单 */
  .nav-mask {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(4, 20, 12, 0.62);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .nav-mask.show { opacity: 1; visibility: visible; }

  /* 菜单打开时：导航条透明，只保留右上角关闭按钮 */
  body.nav-open { overflow: hidden; }
  body.nav-open .nav {
    z-index: 215; background: transparent;
    box-shadow: none; backdrop-filter: none;
  }
  body.nav-open .nav .logo { opacity: 0; pointer-events: none; }
  /* 保留关闭按钮所在容器，只隐藏语言与报价，避免连关闭按钮一起藏掉。 */
  body.nav-open .nav-right > :not(.burger) { display: none; }
  body.nav-open .burger span { background: #fff; }
  /* 关闭按钮钉在面板内右上角 */
  body.nav-open .burger {
    position: fixed; z-index: 220;
    top: 22px; inset-inline-end: 24px;
  }

  /* 菜单内底部的语言切换条：通栏排列，跟着内容滚动 */
  .nav-lang-inmenu {
    display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px;
    margin: 26px 0 0; padding: 22px 24px 0;
    width: 100%;
  }
  .nav-lang-inmenu button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px; font-weight: 500;
    padding: 7px 14px; border-radius: 999px;
    cursor: pointer; transition: all 0.25s; font-family: inherit;
  }
  .nav-lang-inmenu button:hover { background: rgba(255, 255, 255, 0.12); }
  .nav-lang-inmenu button.on {
    background: var(--accent); border-color: var(--accent); color: #fff;
  }
  body.nav-open .burger {
    position: fixed; z-index: 220;
    top: 22px; inset-inline-end: 24px;
  }

  /* 菜单打开时隐藏聊天悬浮球、第三方客服气泡，避免压住菜单内容 */
  body.nav-open .cw-float,
  body.nav-open #contact-widget-auto { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

  /* ===== 手机菜单项：固德威式通栏列表（整行可点，右侧「+」展开） ===== */
  .burger { display: flex; }
  .nav-links > a,
  .nav-links > .nav-drop > .drop-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 19px 24px;
    color: #fff !important; font-size: 17px; font-weight: 500;
    letter-spacing: 0; text-align: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    transition: background 0.25s ease, color 0.25s ease;
  }
  .nav-links > a::after { display: none; }
  .nav-links > a:active,
  .nav-links > .nav-drop > .drop-toggle:active { background: rgba(255, 255, 255, 0.06); }
  .nav-drop { width: 100%; text-align: start; }
  .nav-drop > .drop-toggle { cursor: pointer; }
  /* 桌面端那个小三角箭头在手机端不要，只用右侧「+」按钮 */
  .nav-links > .nav-drop > .drop-toggle::before { display: none; }
  .nav-drop.open > .drop-toggle { color: var(--accent) !important; }
  /* 右侧「+」：独立按钮，点它展开子菜单；点标题文字则直接跳链接 */
  .nav-links > .nav-drop > .nav-plus {
    position: absolute; inset-inline-end: 14px; top: 11px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: 0; border-radius: 50%;
    color: #fff; cursor: pointer;
    transition: transform 0.32s cubic-bezier(.22, .8, .28, 1), color 0.25s ease, background 0.25s ease;
  }
  .nav-links > .nav-drop > .nav-plus svg { display: block; }
  .nav-links > .nav-drop > .nav-plus:active { background: rgba(255, 255, 255, 0.08); }
  .nav-drop.open > .nav-plus { transform: rotate(45deg); color: var(--accent); }

  /* 子菜单：紧贴父项下方展开，通栏缩进列表 */
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: rgba(255, 255, 255, 0.045); box-shadow: none;
    min-width: 0; padding: 0; margin: 0; border-radius: 0;
    grid-template-columns: 1fr; gap: 0;
    display: none;
    overflow: hidden;
  }
  .nav-drop.open > .submenu {
    display: grid;
    animation: navSubIn 0.34s cubic-bezier(.22, .8, .28, 1) both;
  }
  @keyframes navSubIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .submenu::before { display: none; }
  .about-menu { width: 100%; }
  /* 带图的产品项：小图 + 左对齐文字 */
  .nav-links .submenu a {
    color: #fff !important; font-size: 15px;
    flex-direction: row; align-items: center; justify-content: flex-start;
    text-align: start; gap: 12px;
    padding: 13px 24px 13px 32px;
    border-radius: 0; background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  [dir="rtl"] .nav-links .submenu a { padding: 13px 32px 13px 24px; }
  .nav-links .submenu a:last-child { border-bottom: 0; }
  .submenu-img {
    width: 42px; height: 42px; background: rgba(255, 255, 255, 0.9);
    border-radius: 8px; padding: 3px; flex: 0 0 auto;
  }
  .about-menu .submenu-img { width: 54px; height: 44px; padding: 0; }
  .submenu-txt { align-items: flex-start; gap: 2px; min-width: 0; }
  .submenu-txt b { color: #fff; font-size: 15px; font-weight: 600; }
  .about-menu .submenu-txt b { font-size: 15px; }
  .submenu-txt i { color: rgba(255, 255, 255, 0.55); font-size: 12px; line-height: 1.4; }
  /* 纯文字的子项（解决方案/新闻/联系）：无图，单行 */
  .submenu.is-compact a { padding: 14px 24px 14px 32px; font-size: 15px; }
  [dir="rtl"] .submenu.is-compact a { padding: 14px 32px 14px 24px; }
  .nav-links .submenu a:hover { background: rgba(255, 255, 255, 0.1); color: var(--accent) !important; transform: none; }
  .submenu a:hover .submenu-txt b { color: var(--accent); }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .why-grid, .sol-grid, .news-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .section { padding: 70px 0; }
  .proc-grid { grid-template-columns: 1fr; }
  .sd-list { grid-template-columns: 1fr; }
  .sd-head, .sd-body { padding: 24px 22px; }
  .pd-media { padding: 24px; min-height: 240px; }
  .pd-media img { max-height: 210px; }
  .sub-banner { min-height: 260px; }
  .sub-banner-content { padding-top: 120px; }
  .cta-inner { text-align: center; justify-content: center; }
  .adv-card, .proc-item { padding: 26px 22px; }
  .app-grid, .dl-grid, .rel-grid, .model-grid { grid-template-columns: 1fr; }
  .cat-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .spec-full td { padding: 12px 16px; font-size: 14px; }
  .spec-full thead th { padding: 14px 16px; }
  .dl-card { padding: 20px; gap: 14px; }
  .pd-btns .btn { width: 100%; text-align: center; }
}

/* ================================
   派能科技 / 固德威风格动画复刻
   ================================ */

/* ===== 全屏轮播首屏（派能式） ===== */
.hero-slider { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #051810; }
.hs-slides { position: absolute; inset: 0; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.hs-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
}
.hs-slide .hs-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hs-slide .hs-video-poster { display: none; }
.hs-slide.active { opacity: 1; visibility: visible; z-index: 1; }
/* 派能式的 Ken Burns 缓慢推近 */
.hs-slide.active img { animation: hsZoom 7s ease-out forwards; }
@keyframes hsZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hs-mask {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(5, 26, 17, 0.82) 0%, rgba(7, 34, 22, 0.5) 50%, rgba(6, 30, 19, 0.2) 100%);
}
[dir="rtl"] .hs-mask {
  background: linear-gradient(-100deg, rgba(5, 26, 17, 0.82) 0%, rgba(7, 34, 22, 0.5) 50%, rgba(6, 30, 19, 0.2) 100%);
}

.hs-content { position: relative; z-index: 3; padding-top: 90px; color: #fff; max-width: 760px; }

/* 场景副标题：切换时上移淡入 */
.hs-caption { position: relative; height: 56px; margin-bottom: 34px; }
.hs-cap {
  position: absolute; inset: 0; margin: 0;
  font-size: clamp(15px, 1.7vw, 19px); color: rgba(255, 255, 255, 0.88); max-width: 560px;
  opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease;
}
.hs-cap.active { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }

/* 固德威式左右箭头 */
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: all 0.3s ease;
}
.hs-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.08); }
.hs-prev { inset-inline-start: 34px; }
.hs-next { inset-inline-end: 34px; }

/* 派能式底部场景标签 + 进度条 */
/* 五个标签等分铺满、首尾相接，底下的进度条才是一条完整的线而不是断成五截 */
.hs-tabs { position: absolute; bottom: 0; inset-inline: 0; z-index: 5; display: flex; justify-content: center; gap: 0; padding-inline: clamp(24px, 7vw, 120px); }
.hs-tab {
  position: relative; flex: 1 1 0; min-width: 0; max-width: 280px; padding: 18px 12px 22px; text-align: center;
  background: none; border: none; cursor: pointer; color: rgba(255, 255, 255, 0.65);
  font-size: 15px; font-weight: 600; font-family: inherit; transition: color 0.4s;
}
.hs-tab:hover { color: #fff; }
.hs-tab.active { color: #fff; }
/* 英/法/阿语标签较长会折成两行，单双行混排时基线参差；
   统一预留两行高度并垂直居中，五段文字才对得齐 */
.hs-tab-t { display: flex; align-items: center; justify-content: center; min-height: 2.6em; line-height: 1.3; }
.hs-bar {
  position: absolute; bottom: 0; inset-inline: 0; height: 3px;
  background: rgba(255, 255, 255, 0.25); overflow: hidden;
}
.hs-bar i {
  position: absolute; top: 0; inset-inline-start: 0; height: 100%; width: 0%;
  background: linear-gradient(90deg, #80d9a6, var(--accent));
}
.hs-tab.active .hs-bar i { animation: hsProgress 7s linear forwards; }
@keyframes hsProgress { from { width: 0%; } to { width: 100%; } }

.hero-slider .hero-scroll { bottom: 96px; z-index: 4; display: none; }

/* Home campaign art direction: real product photos over illustrative scenarios. */
.hs-slide picture { display: block; width: 100%; height: 100%; }
.hero-slider .hs-slide img { object-position: center; }
.hero-slider .hs-content { width: min(1440px, 82%); max-width: none; margin-inline: auto; padding-top: 42px; }
/* 大标题现在固定显示"光伏逆变器 · 储能系统制造商"，字号略收、加宽容器保证一行排下 */
.hero-slider .hero-title { max-width: 900px; font-size: clamp(32px, 3.3vw, 50px); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
/* 上方小字现在是随轮播切换的标语句子，稍微放大保证可读 */
.hero-slider .hero-badge { border: 0; border-radius: 0; padding: 0; background: transparent; letter-spacing: .05em; font-size: 14px; font-weight: 500; margin-bottom: 28px; }
.hero-slider .hs-cap { max-width: min(500px, 42vw); font-size: 17px; }
/* 视频文案较长，按实际内容撑开高度，避免与按钮重叠。 */
.hero-slider[data-hero-mode="video"] .hs-caption { height: auto; min-height: 56px; }
.hero-slider[data-hero-mode="video"] .hs-cap.active { position: relative; }
.hero-slider .hs-mask { background: linear-gradient(90deg, rgba(3,17,13,.67), rgba(3,17,13,.27) 43%, transparent 67%), linear-gradient(180deg, rgba(3,17,13,.55), transparent 23%, transparent 80%, rgba(3,17,13,.35)); }
.hero-slider .hs-tab { font-weight: 500; letter-spacing: .025em; }
[dir="rtl"] .hero-slider .hs-content { text-align: right; direction: ltr; }
[dir="rtl"] .hero-slider .hero-title, [dir="rtl"] .hero-slider .hero-badge, [dir="rtl"] .hero-slider .hs-caption, [dir="rtl"] .hero-slider .hero-btns { direction: rtl; width: min(900px, 60vw); margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero-slider .hs-cap { text-align: right; }
/* ===== 工厂帧版式：高透毛玻璃悬浮面板 + 亮金立体大数字 + 双数据块 + 金点卖点行 ===== */
/* 默认隐藏，只有「源头厂家直供」帧才显示（on-glass 由 main.js 切换） */
.hs-fac-hero { display: none; }
.hero-slider.on-glass .hs-fac-hero {
  display: grid;
  position: absolute; z-index: 4;
  top: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%);
  width: min(1240px, 80vw);
  padding: clamp(30px, 2.8vw, 44px) clamp(30px, 3.2vw, 52px) clamp(18px, 1.7vw, 26px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-areas: "left right" "bullets bullets";
  column-gap: clamp(28px, 3.2vw, 52px);
  align-items: start;
  /* 高透毛玻璃：几乎没有白底，全靠强模糊把背后厂房化成乳白雾面 */
  background: linear-gradient(150deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .16) 46%, rgba(255, 253, 248, .10) 100%);
  -webkit-backdrop-filter: blur(38px) saturate(1.9) brightness(1.06);
  backdrop-filter: blur(38px) saturate(1.9) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 16px;
  box-shadow:
    0 40px 110px -40px rgba(4, 18, 12, .58),
    0 2px 10px -4px rgba(4, 18, 12, .16),
    inset 0 1px 0 rgba(255, 255, 255, .75),
    inset 0 -1px 0 rgba(255, 255, 255, .22);
  color: #0e1a16;
}
/* 玻璃斜向高光：模拟真实玻璃的反射亮带 */
.hero-slider.on-glass .hs-fac-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .06) 26%, transparent 44%, transparent 76%, rgba(255, 255, 255, .10) 100%);
}
/* 顶部一道亮金细线 */
.hero-slider.on-glass .hs-fac-hero::after {
  content: ""; position: absolute; inset-inline: 18px; top: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 138, .95) 18%, rgba(255, 240, 200, 1) 50%, rgba(255, 214, 138, .95) 82%, transparent);
}
.hs-fac-left { grid-area: left; position: relative; z-index: 1; padding-top: 2px; }
.hs-fac-right { grid-area: right; position: relative; z-index: 1; display: flex; gap: clamp(16px, 1.8vw, 30px); }
/* 巨大亮金数字：24K 金属亮面 + 深古铜挤出厚度、上半截探出面板顶边 */
.hs-fac-num {
  position: relative; display: inline-flex; align-items: flex-start;
  line-height: .84; margin: calc(clamp(72px, 7.4vw, 130px) * -.30) 0 0 -0.03em;
}
.hs-fac-num-big {
  position: relative; display: inline-block;
  font-size: clamp(72px, 7.4vw, 130px); font-weight: 900; letter-spacing: -.05em;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(163deg,
    #fffdf0 0%, #ffe9a8 12%, #ffd267 24%, #f3b53c 40%,
    #ffdb85 52%, #e8a32c 66%, #c9871f 80%, #ffd97f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(1.5px 1.5px 0 #d59a30) drop-shadow(1.5px 1.5px 0 #b47c1c)
    drop-shadow(1.5px 1.5px 0 #966313) drop-shadow(1.5px 1.5px 0 #7a4f0d)
    drop-shadow(1.5px 1.5px 0 #5d3a08) drop-shadow(8px 10px 18px rgba(94, 60, 6, .34));
}
.hs-fac-num-sup {
  font-size: clamp(24px, 2.5vw, 40px); font-weight: 900; margin: .08em 0 0 .06em;
  background: linear-gradient(163deg, #fff6d8, #ffd267 48%, #d59a30 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(1px 1px 0 rgba(181, 124, 28, .45)) drop-shadow(2px 3px 4px rgba(94, 60, 6, .3));
}
/* 「年行业经验」：独立一行（不再绝对定位，彻底避开与大数字重叠） */
.hs-fac-num-cap {
  display: block; position: relative; margin: clamp(4px, .5vw, 8px) 0 0 2px;
  font-size: clamp(12px, 1.02vw, 14.5px); font-weight: 700; color: #3a4a43;
  letter-spacing: .12em; white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.hs-fac-num-cap::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 16px; height: 2px; margin-inline-end: 8px; border-radius: 2px;
  background: linear-gradient(90deg, #ffd267, rgba(255, 210, 103, 0));
}
/* 主标题：近黑墨绿粗体 */
.hs-fac-title {
  margin: clamp(12px, 1.3vw, 20px) 0 clamp(8px, .9vw, 12px);
  font-size: clamp(19px, 1.78vw, 27px); font-weight: 800;
  color: #0c1a15; line-height: 1.28; letter-spacing: -.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .62);
}
/* 一行小字 */
.hs-fac-sub {
  margin: 0 0 clamp(16px, 1.8vw, 26px);
  font-size: clamp(13px, 1.12vw, 16.5px); font-weight: 600; color: #3c4c45; letter-spacing: .015em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}
/* 深墨绿按钮 + 金边金字 */
.hs-fac-cta {
  display: inline-block; padding: clamp(11px, 1.05vw, 15px) clamp(22px, 2.3vw, 36px);
  background: linear-gradient(96deg, #0a1a14, #1b3d31 92%);
  color: #ffdb8e; font-size: clamp(12px, 1.06vw, 15px); font-weight: 700; letter-spacing: .03em;
  border: 1px solid rgba(255, 214, 138, .62);
  border-radius: 4px;
  box-shadow: 0 12px 26px -14px rgba(6, 20, 14, .95), inset 0 1px 0 rgba(255, 231, 170, .34);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.hs-fac-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(96deg, #10261d, #265442 92%);
  box-shadow: 0 16px 32px -14px rgba(6, 20, 14, 1), inset 0 1px 0 rgba(255, 231, 170, .5);
}
/* 右侧数据块：亮金数字 + 说明 + 3:2 配图 */
.hs-fac-stat { flex: 1 1 0; min-width: 0; text-align: center; }
.hs-fac-stat + .hs-fac-stat { position: relative; }
.hs-fac-stat + .hs-fac-stat::before {
  content: ""; position: absolute; inset-inline-start: clamp(-9px, -.9vw, -15px); top: 6%;
  width: 1px; height: 88%;
  background: linear-gradient(180deg, transparent, rgba(255, 214, 138, .55) 30%, rgba(255, 214, 138, .55) 70%, transparent);
}
.hs-fac-stat b {
  display: block; font-size: clamp(28px, 2.75vw, 42px); font-weight: 900;
  background: linear-gradient(163deg, #fff9e2 0%, #ffdf90 26%, #f5bb45 52%, #d99a28 74%, #ffd97f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  line-height: 1; letter-spacing: -.025em;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .85)) drop-shadow(1px 2px 3px rgba(120, 80, 10, .34));
}
.hs-fac-stat b i { font-style: normal; font-size: .56em; }
.hs-fac-stat span {
  display: block; margin: clamp(7px, .75vw, 11px) 0 clamp(10px, 1.1vw, 16px);
  font-size: clamp(12px, 1.02vw, 15px); font-weight: 600; color: #26362f; letter-spacing: .03em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}
.hs-fac-stat img {
  display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 226, 165, .5);
  box-shadow: 0 16px 32px -16px rgba(4, 18, 12, .72);
}
/* 底部金点卖点行：横跨两栏，顶部金细线 */
.hs-fac-bullets {
  grid-area: bullets; position: relative; z-index: 1;
  list-style: none; margin: clamp(16px, 1.8vw, 26px) 0 0; padding: clamp(12px, 1.2vw, 17px) 0 0;
  border-top: 1px solid rgba(196, 160, 92, .42);
  display: flex; flex-wrap: wrap; gap: 9px clamp(18px, 2.4vw, 38px);
}
.hs-fac-bullets li {
  position: relative; padding-inline-start: 14px;
  font-size: clamp(11.5px, 1vw, 14px); font-weight: 600; color: #1d2b25;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.hs-fac-bullets li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .5em;
  width: 5px; height: 5px; border-radius: 50%;
  background: linear-gradient(150deg, #ffe9a8, #f3b53c);
  box-shadow: 0 0 6px rgba(255, 205, 110, .85);
  flex-shrink: 0;
}
[dir="rtl"] .hs-fac-hero { text-align: right; }
[dir="rtl"] .hs-fac-title, [dir="rtl"] .hs-fac-sub, [dir="rtl"] .hs-fac-bullets { direction: rtl; }
/* RTL：inset-inline-start 在阿拉伯语下等于 right，translate 方向要反过来才居中（仅桌面，手机端用 left/right 双贴边） */
@media (min-width: 769px) {
  [dir="rtl"] .hero-slider.on-glass .hs-fac-hero { transform: translate(50%, -50%); }
}
[dir="rtl"] .hero-slider.on-glass .hs-fac-num { margin-inline-start: 0; margin-inline-end: -0.03em; }
[dir="rtl"] .hero-slider.on-glass .hs-fac-num-cap { text-align: right; }
/* 入场：数字缩放上浮、其余依次上浮 */
.hero-slider.on-glass .hs-fac-num-big { animation: facNumIn .7s cubic-bezier(.2, .72, .2, 1) both; }
.hero-slider.on-glass .hs-fac-num-sup { animation: facNumIn .7s .04s cubic-bezier(.2, .72, .2, 1) both; }
.hero-slider.on-glass .hs-fac-num-cap { animation: facUp .6s .1s cubic-bezier(.2, .72, .2, 1) both; }
.hero-slider.on-glass .hs-fac-title { animation: facUp .6s .16s cubic-bezier(.2, .72, .2, 1) both; }
.hero-slider.on-glass .hs-fac-sub { animation: facUp .6s .22s cubic-bezier(.2, .72, .2, 1) both; }
.hero-slider.on-glass .hs-fac-cta { animation: facUp .6s .28s cubic-bezier(.2, .72, .2, 1) both; }
.hero-slider.on-glass .hs-fac-right { animation: facUp .7s .32s cubic-bezier(.2, .72, .2, 1) both; }
.hero-slider.on-glass .hs-fac-bullets { animation: facUp .7s .40s cubic-bezier(.2, .72, .2, 1) both; }
@keyframes facNumIn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes facUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slider.on-glass .hs-fac-num-big, .hero-slider.on-glass .hs-fac-num-sup,
  .hero-slider.on-glass .hs-fac-num-cap,
  .hero-slider.on-glass .hs-fac-title,
  .hero-slider.on-glass .hs-fac-sub, .hero-slider.on-glass .hs-fac-cta,
  .hero-slider.on-glass .hs-fac-right, .hero-slider.on-glass .hs-fac-bullets { animation: none; }
}

/* 工厂帧背景：白底产品阵列完整显示（电脑+手机通用），不裁切 */
.hero-slider .hs-slide.hs-factory { background: #fff; }
.hero-slider .hs-slide.hs-factory img { object-fit: contain; object-position: center bottom; animation: none; }
/* 桌面/平板：拼图 cover 铺满整屏（和其它帧一致，顶部不留白），右锚定保住全部照片，只裁左侧留白区 */
@media (min-width: 769px) {
  .hero-slider .hs-slide.hs-factory img { object-fit: cover; object-position: right center; }
}
.hero-slider.on-glass .hs-mask { background: none; }
/* 工厂帧：导航保持透明（和其它帧一致），仅用深色 Logo 与深字保证浅底可读 */
.nav.on-glass:not(.scrolled) { background: transparent; box-shadow: none; }
/* 深字压在照片上时加一圈白色柔光，保证任何底色下都清晰 */
.nav.on-glass:not(.scrolled) .nav-links a,
.nav.on-glass:not(.scrolled) .lang-btn {
  text-shadow: 0 0 6px rgba(255, 255, 255, .95), 0 0 14px rgba(255, 255, 255, .85), 0 1px 2px rgba(255, 255, 255, .9);
}
.nav.on-glass:not(.scrolled) .logo-img-light { display: none; }
.nav.on-glass:not(.scrolled) .logo-img-dark { display: block; }
.nav.on-glass:not(.scrolled) .nav-links a { color: #17382b; }
.nav.on-glass:not(.scrolled) .nav-links a.active { color: #218557; }
.nav.on-glass:not(.scrolled) .lang-btn { color: #17382b; }
/* 平板断点里 nav-links 有 color:#fff !important，白底帧必须同权重覆盖，否则白字压在白图上看不见 */
.nav.on-glass:not(.scrolled) .nav-links > a,
.nav.on-glass:not(.scrolled) .nav-links > .nav-drop > .drop-toggle { color: #17382b !important; }
.nav.on-glass:not(.scrolled) .nav-links > a:hover { color: #218557 !important; }
.nav.on-glass:not(.scrolled) .nav-cta { color: #fff !important; }
/* 工厂帧用专属玻璃面板，旧文案块整块隐去（含子元素与动画） */
.hero-slider.on-glass .hs-content,
.hero-slider.on-glass .hs-caption,
.hero-slider.on-glass .hs-fac-hero ~ .hs-content { display: none; }
.hero-slider.on-glass .hs-tabs { background: #0b241a; }
.hero-slider.on-glass .hs-arrow { color: #17382b; border-color: rgba(23, 56, 43, .4); background: rgba(255, 255, 255, .6); }
@media (max-width: 1200px) {
  /* 平板：面板两侧留出让位空间，避免右侧悬浮客服按钮压住配图 */
  .hero-slider.on-glass .hs-fac-hero {
    width: min(1240px, calc(100vw - 160px));
    padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 32px) clamp(14px, 2vw, 20px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 26px;
  }
  /* 面板几乎占满宽度，左右箭头会压在文案上，此档隐藏 */
  .hero-slider.on-glass .hs-arrow { display: none; }
}
@media (max-width: 768px) {
  /* 泰琪丰式横幅轮播：横版图按原比例显示，统一高度让五张图文案都有同样空间 */
  .hero-slider { min-height: 340px; display: block; padding-bottom: 54px; }
  .hero-slider .hs-slides, .hero-slider .hs-mask { bottom: 54px; }
  .hero-slider .hs-content { width: 88%; padding-top: 64px; padding-bottom: 12px; }
  .hero-slider .hero-title { font-size: clamp(20px, 5vw, 25px); max-width: 100%; line-height: 1.2; margin-bottom: 8px; }
  .hero-slider .hero-badge { font-size: 10.5px; letter-spacing: .03em; margin-bottom: 6px; }
  [dir="rtl"] .hero-slider .hero-title, [dir="rtl"] .hero-slider .hero-badge, [dir="rtl"] .hero-slider .hs-caption, [dir="rtl"] .hero-slider .hero-btns { width: 100%; }
  /* 副标题高度随内容撑开（激活项转普通流），英法阿长句也不会被裁掉 */
  .hero-slider .hs-caption { height: auto; margin-bottom: 8px; }
  .hero-slider .hs-cap.active { position: relative; }
  .hero-slider .hs-cap { max-width: 100%; font-size: 12px; line-height: 1.5; }
  .hero-slider .hero-btns { gap: 8px; }
  .hero-slider .hero-btns .btn { padding: 8px 14px; font-size: 12px; }
  .hero-slider .hs-slide { background: #081b25; }
  .hero-slider .hs-slide img { object-fit: cover; object-position: center; animation: none; }
  /* 手机端同样播放首屏视频（横版），竖版封面图不再使用 */
  .hero-slider .hs-slide .hs-video { object-fit: cover; object-position: center; }
  /* 标签栏移到横幅下方的深色窄条，类似泰琪丰的小圆点位置 */
  .hero-slider .hs-tabs { background: #04140d; padding: 0 10px; }
  .hero-slider .hs-tab { padding: 9px 1px 11px; font-size: 11px; }
  .hero-slider .hs-tab-t-s { min-height: 2.2em; }
  /* 工厂帧（手机）：左文案 + 右「数字/说明/3:2 整图」，配图按原比例缩放不裁不压扁 */
  .hero-slider.on-glass .hs-fac-hero {
    position: absolute; inset-inline-start: 10px; inset-inline-end: 10px; inset-block-start: 72px;
    width: auto;
    transform: none; margin-inline-start: 0;
    padding: 10px 12px 9px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-areas: "left right" "foot foot";
    row-gap: 6px;
    column-gap: 10px;
    border-radius: 10px;
    /* 手机端同样高透：白底只留一层薄雾 */
    background: linear-gradient(150deg, rgba(255, 255, 255, .40) 0%, rgba(255, 255, 255, .26) 60%, rgba(255, 253, 248, .20) 100%);
    -webkit-backdrop-filter: blur(24px) saturate(1.7) brightness(1.05);
    backdrop-filter: blur(24px) saturate(1.7) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, .58);
  }
  /* 数字：手机端不探出面板，避免压到面板外元素 */
  .hero-slider.on-glass .hs-fac-num { margin: 0; line-height: .92; }
  .hero-slider.on-glass .hs-fac-num-big { font-size: 40px; }
  .hero-slider.on-glass .hs-fac-num-sup { font-size: 13px; }
  .hero-slider.on-glass .hs-fac-num-cap { margin-top: 3px; font-size: 9px; letter-spacing: .04em; }
  .hero-slider.on-glass .hs-fac-num-cap::before { width: 9px; height: 2px; margin-inline-end: 4px; }
  .hero-slider.on-glass .hs-fac-title { font-size: 12px; line-height: 1.3; margin: 6px 0 3px; }
  /* 手机端空间紧：小字与底部卖点重复（100 亩 / OEM·ODM 都在卖点行与按钮里），直接隐去，避免英法阿长句撑破面板 */
  .hero-slider.on-glass .hs-fac-sub { display: none; }
  .hero-slider.on-glass .hs-fac-cta {
    display: inline-block; padding: 6px 10px; font-size: 9px; line-height: 1.3;
    border-radius: 3px; margin-top: 7px;
  }
  /* 右栏：数字 + 说明 + 3:2 配图，图整张可见 */
  .hero-slider.on-glass .hs-fac-right { flex-direction: row; gap: 8px; align-items: flex-start; }
  .hero-slider.on-glass .hs-fac-stat { display: block; text-align: center; }
  .hero-slider.on-glass .hs-fac-stat b { font-size: 17px; }
  .hero-slider.on-glass .hs-fac-stat b i { font-size: .56em; }
  .hero-slider.on-glass .hs-fac-stat span { font-size: 8.5px; margin: 2px 0 5px; letter-spacing: 0; white-space: nowrap; }
  .hero-slider.on-glass .hs-fac-stat img { border-radius: 4px; }
  .hero-slider.on-glass .hs-fac-stat + .hs-fac-stat::before { display: none; }
  .hero-slider.on-glass .hs-fac-bullets {
    grid-area: foot; margin: 0; padding-top: 6px; gap: 3px 9px;
    border-top: 1px solid rgba(196, 160, 92, .4);
  }
  .hero-slider.on-glass .hs-fac-bullets li { font-size: 8.5px; padding-inline-start: 8px; }
  .hero-slider.on-glass .hs-fac-bullets li::before { width: 3.5px; height: 3.5px; }
  /* 左右箭头缩小适配横幅高度 */
  .hs-arrow { width: 40px; height: 40px; }
  .hs-prev { inset-inline-start: 10px; }
  .hs-next { inset-inline-end: 10px; }
}
/* 大屏手机 / 小平板：手机版式放大一档（8px 字号在这个宽度太细） */
@media (min-width: 560px) and (max-width: 768px) {
  .hero-slider { min-height: 400px; }
  .hero-slider.on-glass .hs-fac-hero {
    inset-inline-start: 18px; inset-inline-end: 18px; inset-block-start: 74px;
    padding: 14px 18px 12px; column-gap: 16px; row-gap: 8px;
  }
  .hero-slider.on-glass .hs-fac-num-big { font-size: 48px; }
  .hero-slider.on-glass .hs-fac-num-sup { font-size: 15px; }
  .hero-slider.on-glass .hs-fac-num-cap { font-size: 10px; margin-top: 3px; }
  .hero-slider.on-glass .hs-fac-num-cap::before { width: 11px; margin-inline-end: 5px; }
  .hero-slider.on-glass .hs-fac-title { font-size: 15px; margin: 8px 0 4px; }
  .hero-slider.on-glass .hs-fac-cta { font-size: 11px; padding: 7px 14px; margin-top: 8px; }
  .hero-slider.on-glass .hs-fac-right { gap: 13px; }
  .hero-slider.on-glass .hs-fac-stat b { font-size: 21px; }
  .hero-slider.on-glass .hs-fac-stat span { font-size: 10px; margin: 3px 0 6px; }
  .hero-slider.on-glass .hs-fac-bullets { padding-top: 8px; gap: 4px 14px; }
  .hero-slider.on-glass .hs-fac-bullets li { font-size: 10.5px; padding-inline-start: 10px; }
  .hero-slider.on-glass .hs-fac-bullets li::before { width: 4px; height: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hs-slide img { animation: none; }
}

/* ===== 开屏品牌动画（仅首页，每次会话一次） ===== */
#cw-intro {
  --in-dur-logo: .6s;   /* logo 亮起 */
  --in-dur-text: .9s;   /* slogan 显现 */
  --in-dur-line: .55s;  /* 绿线生长 */
  --in-delay-logo: .1s;
  --in-delay-text: .5s;
  --in-delay-line: 1.35s;
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #04140d;
  cursor: pointer;
}
html.cw-skip-intro #cw-intro { display: none; }
body:has(#cw-intro:not(.cw-intro-out)) { overflow: hidden; }
.cw-intro-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.cw-intro-inner img {
  height: clamp(34px, 5.5vw, 62px); width: auto;
  opacity: 0; transform: scale(.94);
  animation: cwIntroLogo var(--in-dur-logo) var(--in-delay-logo) cubic-bezier(.2,.65,.25,1) forwards;
}
.cw-intro-slogan {
  margin-top: 18px;
  font-size: clamp(14px, 2vw, 19px); font-weight: 600;
  color: rgba(255,255,255,.92);
  opacity: 0; filter: blur(9px); letter-spacing: .5em;
  animation: cwIntroText var(--in-dur-text) var(--in-delay-text) cubic-bezier(.2,.6,.2,1) forwards;
}
[dir="rtl"] .cw-intro-slogan { letter-spacing: 0; }
.cw-intro-line {
  margin-top: 22px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(46,194,122,.15));
  animation: cwIntroLine var(--in-dur-line) var(--in-delay-line) cubic-bezier(.3,.6,.2,1) forwards;
}
@keyframes cwIntroLogo { to { opacity: 1; transform: scale(1); } }
@keyframes cwIntroText { to { opacity: 1; filter: blur(0); letter-spacing: .16em; } }
@keyframes cwIntroLine { to { width: min(280px, 60vw); } }
/* 揭幕：整层慢慢透明化，首页内容从后面柔和透出来（安泰式溶解过渡） */
#cw-intro { transition: background-color 1s ease .05s; }
#cw-intro.cw-intro-out { background-color: transparent; pointer-events: none; }
.cw-intro-out .cw-intro-inner {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(7px);
  transition: opacity .85s ease, transform 1s cubic-bezier(.2,.6,.2,1), filter .85s ease;
}
@media (max-width: 768px) {
  /* 手机端整体缩短：约 1.3 秒完成进入首页 */
  #cw-intro { --in-dur-logo: .45s; --in-dur-text: .6s; --in-dur-line: .45s; --in-delay-logo: .05s; --in-delay-text: .3s; --in-delay-line: .8s; }
  .cw-intro-slogan { margin-top: 14px; }
  .cw-intro-line { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #cw-intro { display: none; }
}

/* ===== 固德威式数据带增强 ===== */
.stats { position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 200px at 15% 0%, rgba(46, 194, 122, 0.14), transparent 70%),
    radial-gradient(600px 200px at 85% 100%, rgba(46, 194, 122, 0.10), transparent 70%);
}
.stats .container { position: relative; }
.stats { padding: 72px 0; }
.stat { position: relative; }
.stat::after {
  content: ""; position: absolute; top: 12%; bottom: 12%; inset-inline-end: -12px;
  width: 1px; background: rgba(255, 255, 255, 0.12);
}
.stat:last-child::after { display: none; }
.stat-num {
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; line-height: 1.1;
  background: linear-gradient(120deg, #fff 20%, var(--accent) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-lab { font-size: 15px; color: rgba(255, 255, 255, 0.72); margin-top: 8px; letter-spacing: 0.5px; }

/* ===== 派能式解决方案双图卡片 ===== */
.solutions { background: var(--bg-soft); }
.scard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.scard {
  display: block; background: #fff; border-radius: 18px; overflow: hidden;
  text-decoration: none; box-shadow: 0 6px 22px rgba(7, 31, 22, 0.07);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.scard:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(7, 31, 22, 0.16); }
.scard-img { position: relative; height: 250px; overflow: hidden; }
.scard-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.7s ease, transform 0.9s ease;
}
.scard-img .img-b { opacity: 0; transform: scale(1.06); }
/* 派能核心动效：hover 时两张图交叉切换 + 缩放 */
.scard:hover .scard-img .img-a { opacity: 0; transform: scale(1.08); }
.scard:hover .scard-img .img-b { opacity: 1; transform: scale(1); }
.scard-info { padding: 26px 26px 30px; }
.scard-info h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.scard-info p { font-size: 14.5px; color: var(--grey); line-height: 1.75; margin-bottom: 16px; }
.scard-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700; color: var(--accent);
}
.scard-more i { font-style: normal; transition: transform 0.35s ease; display: inline-block; }
.scard:hover .scard-more i { transform: translateX(6px); }
[dir="rtl"] .scard:hover .scard-more i { transform: translateX(-6px) scaleX(-1); }
[dir="rtl"] .scard-more i { transform: scaleX(-1); }

/* ===== 派能式案例研究 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  display: block; border-radius: 18px; overflow: hidden; text-decoration: none;
  background: #fff; box-shadow: 0 6px 22px rgba(7, 31, 22, 0.07);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.case-card:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(7, 31, 22, 0.16); }
.case-img { height: 210px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.case-card:hover .case-img img { transform: scale(1.07); }
.case-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px 0;
}
.case-loc { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; }
.case-year { font-size: 13px; color: var(--grey); }
.case-desc { padding: 10px 24px 24px; font-size: 14.5px; color: var(--ink); line-height: 1.75; }

/* ===== 派能式新闻行列表 ===== */
.news-list { display: flex; flex-direction: column; }
.news-row {
  display: flex; align-items: center; gap: 34px; padding: 26px 18px;
  text-decoration: none; border-bottom: 1px solid var(--line, #e5ece7);
  transition: background 0.35s ease, padding 0.35s ease;
}
.news-row:first-child { border-top: 1px solid var(--line, #e5ece7); }
.news-row:hover { background: var(--bg-soft); padding-inline-start: 30px; }
.news-row time { flex: 0 0 96px; font-size: 15px; font-weight: 700; color: var(--accent); }
.news-row-main { flex: 1; min-width: 0; }
.news-row-main h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; transition: color 0.3s; }
.news-row:hover .news-row-main h3 { color: var(--accent); }
.news-row-main p { font-size: 14px; color: var(--grey); line-height: 1.6; }
.news-arrow {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: #fff; border: 1.5px solid #d7efe0;
  transition: all 0.35s ease;
}
.news-row:hover .news-arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateX(6px); }
[dir="rtl"] .news-arrow { transform: scaleX(-1); }
[dir="rtl"] .news-row:hover .news-arrow { transform: scaleX(-1) translateX(6px); }
[dir="rtl"] .news-row:hover .news-arrow svg { transform: scaleX(-1); }

/* ===== 视差大图关于条 ===== */
.about-band { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; }
.about-bg {
  position: absolute; inset: -18% 0;
  background: url("../images/hero-offgrid.webp") center/cover no-repeat;
  will-change: transform;
}
.about-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 26, 17, 0.92) 0%, rgba(5, 26, 17, 0.55) 55%, rgba(5, 26, 17, 0.25) 100%);
}
[dir="rtl"] .about-band::after {
  background: linear-gradient(-90deg, rgba(5, 26, 17, 0.92) 0%, rgba(5, 26, 17, 0.55) 55%, rgba(5, 26, 17, 0.25) 100%);
}
.about-inner { position: relative; z-index: 2; }
.about-text { max-width: 560px; color: #fff; }
.about-text h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 18px; }
.about-text p { font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, 0.85); margin-bottom: 30px; }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .scard-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-caption { height: 66px; }
}
@media (max-width: 768px) {
  .scard-grid, .case-grid { grid-template-columns: 1fr; }
  .scard-img { height: 220px; }
  .hs-arrow { display: none; }
  .hs-tab { flex: 1 1 0; padding: 14px 10px 16px; font-size: 13px; }
  .hs-caption { height: 80px; }
  .news-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .news-arrow { display: none; }
  .about-band { min-height: 420px; }
  .stat::after { display: none; }
  .stats-grid { gap: 26px 16px; }
  /* 手机端数据带压扁：留白和字号都收一档 */
  .stats { padding: 28px 0; }
  .stat-num { font-size: clamp(22px, 5.6vw, 28px); }
  .stat-lab { font-size: 12px; margin-top: 3px; letter-spacing: 0; }
}

/* ================================
   固德威式产品页（gw-*）
   ================================ */

/* ===== 产品头：悬浮大图 + 规格标签 ===== */
.gw-hero {
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(800px 400px at 78% 20%, rgba(46, 194, 122, 0.10), transparent 65%),
    radial-gradient(500px 300px at 10% 90%, rgba(23, 161, 95, 0.07), transparent 60%),
    linear-gradient(180deg, #f4f8f5 0%, #ffffff 100%);
  overflow: hidden;
}
.gw-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }

/* 产品图悬浮动画（固德威式） */
.gw-hero-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 30px; }
.gw-hero-media img {
  position: relative; z-index: 2; max-height: 420px; width: auto; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(7, 31, 22, 0.22));
  animation: gwFloat 4.5s ease-in-out infinite;
}
@keyframes gwFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
/* 绿色光晕 */
.gw-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 194, 122, 0.22) 0%, rgba(46, 194, 122, 0) 68%);
  animation: gwPulse 5s ease-in-out infinite;
}
@keyframes gwPulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.15); opacity: 1; } }
/* 地面投影 */
.gw-shadow {
  position: absolute; bottom: 14px; width: 58%; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(7, 31, 22, 0.20) 0%, transparent 70%);
  animation: gwShadow 4.5s ease-in-out infinite;
}
@keyframes gwShadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.82); opacity: 0.6; } }

/* 主图镜面倒影（立体感，仅视觉反射，不改变产品外观） */
.gw-main-img {
  -webkit-box-reflect: below -2px linear-gradient(transparent 62%, rgba(7, 31, 22, 0.14));
  transition: opacity .25s ease;
}
/* 多角度缩略图（正面/侧面/底部切换） */
.gw-thumbs {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 3;
}
[dir="rtl"] .gw-thumbs { left: auto; right: 0; }
.gw-thumb {
  width: 62px; height: 62px; padding: 6px; cursor: pointer;
  border-radius: 12px; border: 1.5px solid #dcebe1;
  background: linear-gradient(160deg, #ffffff 0%, #eef6f0 100%);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.gw-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; animation: none; filter: none; }
.gw-thumb:hover { border-color: var(--accent); transform: translateY(-2px); }
.gw-thumb.is-active { border-color: var(--accent); box-shadow: 0 6px 16px rgba(23, 161, 95, 0.20); }

.gw-hero-info .crumb { font-size: 13px; color: var(--grey); margin-bottom: 16px; }
.gw-hero-info .crumb a:hover { color: var(--accent); }
.gw-hero-info h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--navy); line-height: 1.25; margin-bottom: 18px; }
.gw-hero-info h1 em {
  display: block; font-style: normal; font-size: clamp(18px, 2vw, 24px); font-weight: 700;
  color: var(--accent); margin-top: 6px;
}
/* 规格标签 chips（固德威 DNS 头部的 5-6kW | 单相 | 2 MPPT） */
.gw-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.gw-chip {
  font-size: 14px; font-weight: 700; color: var(--blue);
  background: #e8f6ee; border: 1px solid #bfe8d2;
  padding: 6px 16px; border-radius: 999px;
}
.gw-hero-info .pd-intro { font-size: 15.5px; color: var(--grey); line-height: 1.85; margin-bottom: 18px; }
.gw-hero-info .pd-features { margin-bottom: 28px; }
.gw-hero-info .pd-features li {
  position: relative; padding-inline-start: 28px; margin-bottom: 8px;
  font-size: 15px; color: var(--ink); font-weight: 500;
}
.gw-hero-info .pd-features li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #e8f6ee;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}

/* 同系列左右切换箭头（固德威式） */
.gw-sw {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(6px);
  border: 1px solid #d7efe0; border-radius: 999px;
  padding: 10px 16px; color: var(--navy); font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(7, 31, 22, 0.10);
  transition: all 0.3s ease;
}
.gw-sw:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-50%) scale(1.05); }
.gw-sw-prev { inset-inline-start: 20px; }
.gw-sw-next { inset-inline-end: 20px; }
.gw-sw-t { display: none; }
@media (min-width: 1280px) { .gw-sw-t { display: inline; } }

/* ===== 吸顶锚点导航（固德威式） ===== */
.gw-subnav {
  position: sticky; top: 74px; z-index: 90;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2eefc;
  border-bottom-color: #d9f0e4;
  box-shadow: 0 2px 12px rgba(7, 31, 22, 0.04);
}
.gw-subnav-inner { display: flex; gap: 8px; overflow-x: auto; }
.gw-subnav a {
  position: relative; padding: 16px 22px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--grey); transition: color 0.3s;
}
.gw-subnav a::after {
  content: ""; position: absolute; bottom: 0; inset-inline: 22px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--accent);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.gw-subnav a:hover { color: var(--navy); }
.gw-subnav a.active { color: var(--blue); }
.gw-subnav a.active::after { transform: scaleX(1); }

/* ===== 关键参数大数字卡（固德威式） ===== */
.gw-kp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px; }
.gw-kp {
  background: #fff; border: 1px solid #e2f0e8; border-radius: 16px;
  padding: 30px 24px; text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.gw-kp:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(7, 31, 22, 0.12); border-color: var(--accent); }
.gw-kp-val {
  display: block; font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; color: var(--blue);
  line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.5px;
}
.gw-kp-lab { font-size: 14px; color: var(--grey); font-weight: 500; }

/* 卖点图标卡 */
.gw-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gw-feat {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid #e2f0e8; border-radius: 16px; padding: 26px 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.gw-feat:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(7, 31, 22, 0.12); border-color: var(--accent); }
.gw-feat-ico {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f6ee, #d7efe0); color: var(--blue);
}
.gw-feat-ico svg { width: 24px; height: 24px; }
.gw-feat p { font-size: 15px; color: var(--ink); font-weight: 500; line-height: 1.7; }

/* ===== 上一型号 / 下一型号条 ===== */
.gw-bar { background: var(--navy); padding: 26px 0; }
.gw-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.gw-bar-link { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.gw-bar-right { text-align: end; align-items: flex-end; }
.gw-bar-lab { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.gw-bar-code { font-size: 18px; font-weight: 800; color: var(--accent); transition: transform 0.3s ease; display: inline-block; }
.gw-bar-link:hover .gw-bar-code { transform: translateX(6px); }
.gw-bar-right:hover .gw-bar-code { transform: translateX(-6px); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .gw-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .gw-hero-media { padding: 10px; flex-direction: column; }
  .gw-hero-media img { max-height: 320px; }
  .gw-thumbs { position: static; transform: none; flex-direction: row; justify-content: center; margin-top: 16px; }
  .gw-thumb { width: 54px; height: 54px; }
  .gw-kp-grid { grid-template-columns: repeat(2, 1fr); }
  .gw-feat-grid { grid-template-columns: 1fr; }
  .gw-hero { padding-top: 130px; }
  .gw-subnav { top: 68px; }
}
@media (max-width: 768px) {
  .gw-sw { display: none; }
  .gw-kp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gw-kp { padding: 22px 14px; }
  .gw-bar-inner { flex-direction: column; gap: 14px; }
  .gw-bar-right { text-align: start; align-items: flex-start; }
}

/* ===== 首页第四张：蓝天产品图与独立四语文案 ===== */
.hero-slider[data-hero-mode="showcase"] { background: #4389bd; }
.hero-slider[data-hero-mode="showcase"] .hs-content { visibility: hidden; pointer-events: none; }
.hero-slider[data-hero-mode="showcase"] .hs-mask {
  background: linear-gradient(180deg, rgba(15,57,92,.24), transparent 24%, transparent 82%, rgba(15,57,92,.3));
}
.hero-slider .hs-slide.hs-product-family { background: #4389bd url('../images/hero-family-sky-desktop.webp') center / cover no-repeat; }
.hero-slider .hs-slide.hs-product-family img { object-fit: cover; object-position: center 85%; animation: none; transform: none; }
@media (max-width: 768px) {
  .hero-slider .hs-slide.hs-product-family { background-image: url('../images/hero-family-sky-mobile.webp'); }
  .hero-slider .hs-slide.hs-product-family::before { content: ""; position: absolute; inset: -24px; background: inherit; filter: blur(18px); }
  .hero-slider .hs-slide.hs-product-family picture { position: relative; }
  .hero-slider .hs-slide.hs-product-family img { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: center bottom; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 94%, transparent); }
}
.hs-family-copy {
  display: none; position: absolute; z-index: 3; top: max(110px, 15%); inset-inline: 0;
  width: min(1080px, 88%); margin-inline: auto; color: #fff; text-align: center;
  text-shadow: 0 2px 12px rgba(15,57,92,.3);
}
.hero-slider[data-hero-mode="showcase"] .hs-family-copy { display: block; }
.hs-family-brand { font-size: clamp(34px, 3.2vw, 48px); font-weight: 750; line-height: 1.2; letter-spacing: .1em; }
.hs-family-title { margin: 8px 0 12px; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.12; font-weight: 600; }
.hs-family-subtitle { font-size: 24px; line-height: 1.35; text-wrap: balance; }
.hs-family-benefits {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  max-width: 900px; margin: 22px auto 0; padding: 0; list-style: none;
  font-size: 17px; line-height: 1.35; font-weight: 500;
}
.hs-family-benefits li { padding-inline: 8px; }
.hs-family-benefits li + li { border-inline-start: 1px solid rgba(255,255,255,.45); }
.hero-slider[data-hero-mode="showcase"] .hs-tabs { background: linear-gradient(transparent, rgba(15,57,92,.45)); }
.hero-slider[data-hero-mode="showcase"] .hs-tab { color: rgba(255,255,255,.85); text-shadow: 0 1px 5px rgba(15,57,92,.35); }
.hero-slider[data-hero-mode="showcase"] .hs-tab.active,
.hero-slider[data-hero-mode="showcase"] .hs-tab:hover { color: #fff; }
.hero-slider[data-hero-mode="showcase"] .hs-bar i { background: #fff; }
@media (max-width: 768px) {
  /* 全家福横幅：与视频/图片张共用一套左对齐版式 */
  .hs-family-copy { top: 64px; width: 88%; margin-inline: auto; text-align: start; text-shadow: 0 1px 8px rgba(3,17,13,.5); }
  .hs-family-brand { font-size: 16px; letter-spacing: .14em; opacity: .95; }
  .hs-family-title { margin: 4px 0 8px; font-size: clamp(20px, 5vw, 25px); line-height: 1.2; }
  .hs-family-subtitle { font-size: 12px; line-height: 1.5; }
  .hs-family-benefits { display: flex; gap: 16px; margin-top: 10px; font-size: 11px; line-height: 1.3; }
  .hs-family-benefits li { padding-inline: 0; }
  .hs-family-benefits li + li { border: 0; }
  /* 横版图统一铺满，不再用竖图模糊背景 */
  .hero-slider[data-hero-mode="showcase"] .hs-tabs { background: #04140d; }
  .hero-slider .hs-slide.hs-product-family { background: #4389bd; }
  .hero-slider .hs-slide.hs-product-family::before { display: none; }
  .hero-slider .hs-slide.hs-product-family picture { position: static; }
  .hero-slider .hs-slide.hs-product-family img { position: static; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; mask-image: none; -webkit-mask-image: none; }
}

/* ===== 首页第五张：庭院储能实景（文字是 HTML 覆盖层，不烤进图片） ===== */
.hero-slider[data-hero-mode="ess"] .hs-content { visibility: hidden; pointer-events: none; }
.hero-slider[data-hero-mode="ess"] .hs-mask {
  background:
    linear-gradient(96deg, rgba(3,17,13,.76) 0%, rgba(3,17,13,.58) 36%, rgba(3,17,13,.38) 58%, rgba(3,17,13,.14) 71%, transparent 80%),
    linear-gradient(180deg, rgba(3,17,13,.3), transparent 26%, transparent 78%, rgba(3,17,13,.4));
}
[dir="rtl"] .hero-slider[data-hero-mode="ess"] .hs-mask {
  background:
    linear-gradient(-96deg, rgba(3,17,13,.76) 0%, rgba(3,17,13,.58) 36%, rgba(3,17,13,.38) 58%, rgba(3,17,13,.14) 71%, transparent 80%),
    linear-gradient(180deg, rgba(3,17,13,.3), transparent 26%, transparent 78%, rgba(3,17,13,.4));
}
.hero-slider .hs-slide.hs-ess-scene img { object-position: center; }
/* 阿语是从右往左读，文字在右侧；把这张图水平镜像，让白色柜子移到左边，文字落在树影上 */
[dir="rtl"] .hero-slider .hs-slide.hs-ess-scene picture { transform: scaleX(-1); }
/* 这张图底部草地偏亮，补一层深色渐变让底部标签看得清 */
.hero-slider[data-hero-mode="ess"] .hs-tabs { background: linear-gradient(transparent, rgba(3,17,13,.55)); }
.hero-slider[data-hero-mode="ess"] .hs-tab { color: rgba(255,255,255,.8); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero-slider[data-hero-mode="ess"] .hs-tab.active,
.hero-slider[data-hero-mode="ess"] .hs-tab:hover { color: #fff; }
.hero-slider[data-hero-mode="ess"] .hs-bar i { background: linear-gradient(90deg, var(--accent), #8fe8b6); }
.hs-ess-copy { display: none; }
.hero-slider[data-hero-mode="ess"] .hs-ess-copy {
  display: block; position: absolute; z-index: 3; top: 50%; inset-inline: 0;
  width: min(1440px, 82%); margin-inline: auto; transform: translateY(-48%);
  color: #fff; text-align: start; pointer-events: none;
}
.hero-slider[data-hero-mode="ess"] .hs-ess-copy a { pointer-events: auto; }
.ess-kicker { font-size: 13px; font-weight: 600; letter-spacing: .18em; color: #9be8c4; margin-bottom: 16px; }
.ess-title { font-size: clamp(30px, 3.5vw, 56px); font-weight: 750; line-height: 1.1; letter-spacing: -.02em; max-width: 15em; text-shadow: 0 2px 20px rgba(0,0,0,.32); }
.ess-rule { display: block; width: 48px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), #8fe8b6); margin: 20px 0 18px; }
.ess-lead { font-size: clamp(15px, 1.4vw, 19px); color: rgba(255,255,255,.9); letter-spacing: .02em; }
.ess-feats { display: flex; gap: clamp(22px, 3vw, 48px); margin-top: 34px; }
.ess-feats li { display: flex; align-items: center; gap: 16px; }
/* 固德威式圆环：整圈浅绿打底，一段亮绿弧光绕圈转 */
.ess-ico {
  position: relative; flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.55);
  box-shadow: 0 4px 18px rgba(3,17,13,.3);
}
.ess-ico::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent);
  border-right-color: rgba(46,194,122,.4);
  animation: essRing 3.6s linear infinite;
}
.ess-ico::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.3);
}
.ess-ico svg { position: relative; z-index: 1; width: 56px; height: 56px; }
@keyframes essRing { to { transform: rotate(360deg); } }
/* 英/法/阿语第三项文案较长会伸到亮部，加描边阴影保证任何背景都读得清 */
.ess-feats b { font-size: 16px; font-weight: 600; text-shadow: 0 1px 3px rgba(3,17,13,.85), 0 0 14px rgba(3,17,13,.6); }
/* 手机端专用短标签，默认隐藏 */
.hs-tab-t-s { display: none; }
.ess-btns { display: flex; gap: 14px; margin-top: 34px; }
.hero-slider.hs-entering .ess-kicker { animation: hsCopyEnter .6s ease-out both; }
.hero-slider.hs-entering .ess-title { animation: hsCopyEnter .8s .08s ease-out both; }
.hero-slider.hs-entering .ess-rule { animation: hsCopyEnter .8s .16s ease-out both; }
.hero-slider.hs-entering .ess-lead { animation: hsCopyEnter .8s .2s ease-out both; }
.hero-slider.hs-entering .ess-feats { animation: hsCopyEnter .8s .28s ease-out both; }
.hero-slider.hs-entering .ess-btns { animation: hsCopyEnter .8s .34s ease-out both; }
@media (max-width: 768px) {
  .hero-slider[data-hero-mode="ess"] .hs-mask,
  [dir="rtl"] .hero-slider[data-hero-mode="ess"] .hs-mask {
    background: linear-gradient(180deg, rgba(3,17,13,.84), rgba(3,17,13,.56) 42%, rgba(3,17,13,.14) 68%, transparent);
  }
  .hero-slider[data-hero-mode="ess"] .hs-ess-copy { top: 0; transform: none; padding-top: 64px; padding-bottom: 8px; width: 88%; }
  .hero-slider[data-hero-mode="ess"] .hs-tabs { background: #04140d; }
  .ess-kicker { font-size: 10.5px; letter-spacing: .14em; margin-bottom: 5px; }
  .ess-title { font-size: clamp(20px, 5vw, 25px); max-width: 100%; }
  .ess-rule { width: 32px; margin: 7px 0 5px; }
  .ess-lead { font-size: 12px; }
  /* 横幅高度有限：卖点改为三列纯文字，去掉大圆环图标 */
  .ess-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
  .ess-feats li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ess-ico { display: none; }
  .ess-feats b { font-size: 11px; line-height: 1.3; font-weight: 600; }
  .ess-btns { margin-top: 8px; gap: 8px; }
  .ess-btns .btn { padding: 8px 14px; font-size: 12px; }
  /* 手机端底部只显示短文案；五个标签等分铺满并整体居中 */
  .hs-tabs { gap: 0; padding: 0 14px; justify-content: center; }
  .hs-tab { flex: 1 1 0; min-width: 0; padding: 14px 1px 16px; font-size: 11px; letter-spacing: 0; text-align: center; }
  .hs-tab-t { display: none; }
  .hs-tab-t-s { display: flex; align-items: center; justify-content: center; min-height: 2.8em; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
  [lang="en"] .hs-tab-t-s, [lang="fr"] .hs-tab-t-s, [lang="ar"] .hs-tab-t-s { overflow-wrap: normal; }
}
/* 平板竖屏（480–768）标签文字稍大一点，储能张字号与其余四张保持同一阶梯 */
@media (min-width: 480px) and (max-width: 768px) {
  .hs-tab { font-size: 13.5px; padding: 16px 4px 18px; }
  .hs-tabs { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ess-ico::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider.hs-entering .ess-kicker, .hero-slider.hs-entering .ess-title,
  .hero-slider.hs-entering .ess-rule, .hero-slider.hs-entering .ess-lead,
  .hero-slider.hs-entering .ess-feats, .hero-slider.hs-entering .ess-btns { animation: none; }
}

/* ===== 浅色 hero 页面的导航配色 =====
   产品详情页的 hero 是浅绿渐变，未滚动时导航仍用白色文字会看不见，
   这里只改颜色，不改任何布局尺寸。 */
/* Restrained motion preserves the full frame: scale never exceeds 1. */
@keyframes hsFullFrameMotion { from { transform: scale(1); } to { transform: scale(1.012); } }
@keyframes hsWideMotion { from { transform: scale(1); } to { transform: scale(1.012); } }
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .hero-slider .hs-slide.hs-product-family.active img { animation: hsWideMotion 7s ease-out both !important; }
}
@keyframes hsCopyEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-slider .hs-slide.active img, .hero-slider .hs-slide.hs-product-family.active img { animation: hsFullFrameMotion 7s ease-out both; }
.hero-slider.hs-entering .hero-badge, .hero-slider.hs-entering .hs-family-brand { animation: hsCopyEnter .65s ease-out both; }
.hero-slider.hs-entering .hero-title, .hero-slider.hs-entering .hs-family-title { animation: hsCopyEnter .8s .1s ease-out both; }
.hero-slider.hs-entering .hs-caption, .hero-slider.hs-entering .hs-family-subtitle { animation: hsCopyEnter .8s .2s ease-out both; }
.hero-slider.hs-entering .hero-btns, .hero-slider.hs-entering .hs-family-benefits { animation: hsCopyEnter .8s .3s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hs-slide { transition: none; }
  .hero-slider .hs-slide.active img, .hero-slider .hs-slide.hs-product-family.active img,
  .hero-slider.hs-entering .hero-badge, .hero-slider.hs-entering .hero-title,
  .hero-slider.hs-entering .hs-caption, .hero-slider.hs-entering .hero-btns,
  .hero-slider.hs-entering .hs-family-brand, .hero-slider.hs-entering .hs-family-title,
  .hero-slider.hs-entering .hs-family-subtitle, .hero-slider.hs-entering .hs-family-benefits { animation: none; }
}
.hs-family-link { display: none; position: absolute; inset: 0; z-index: 3; cursor: pointer; }
.hero-slider[data-hero-mode="showcase"] .hs-family-link { display: block; }
.hero-slider[data-hero-mode="showcase"] .hs-family-copy { pointer-events: none; }
.hs-family-link:focus-visible { outline: 3px solid #a2e960; outline-offset: -6px; }
.hs-link-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.on-light:not(.scrolled) {}
body.on-light .nav:not(.scrolled) .nav-links a { color: var(--ink); }
body.on-light .nav:not(.scrolled) .nav-links a:hover { color: var(--accent); }
body.on-light .nav:not(.scrolled) .logo-img-light { display: none; }
body.on-light .nav:not(.scrolled) .logo-img-dark { display: block; }
body.on-light .nav:not(.scrolled) .lang-btn { background: #eef8f1; border-color: #bfe8d2; color: var(--navy); }
body.on-light .nav:not(.scrolled) .lang-btn:hover { background: #d9f0e4; }
body.on-light:not(.nav-open) .nav:not(.scrolled) .burger span { background: var(--navy); }
/* 浅色 hero 页面的面包屑：.crumb a 默认是白色，在浅底上看不见 */
body.on-light .gw-hero-info .crumb, body.on-light .gw-hero-info .crumb a { color: var(--grey); }
body.on-light .gw-hero-info .crumb a:hover { color: var(--accent); }

/* ===== 产品中心：四大类 + 产品外观卡（固德威式） ===== */
.pp4 { background: #fff; }
.pp4-group { margin-bottom: clamp(48px, 5vw, 76px); }
.pp4-group:last-child { margin-bottom: 0; }
.pp4-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(22px, 2.4vw, 32px); }
.pp4-head h2 { font-size: clamp(24px, 2vw, 32px); color: #0d2b1d; margin: 0 0 6px; }
.pp4-head p { margin: 0; color: rgba(13, 43, 29, 0.62); font-size: 15px; }
.pp4-ser-row { margin-bottom: clamp(28px, 3vw, 42px); }
.pp4-ser-row:last-child { margin-bottom: 0; }
.pp4-ser-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; border-bottom: 1px solid rgba(10, 42, 27, 0.08); padding-bottom: 10px; }
.pp4-ser-head h3 { font-size: clamp(17px, 1.3vw, 20px); color: #0f7a4a; margin: 0; }
.pp4-ser-link { font-size: 13.5px; color: #0f7a4a; font-weight: 600; white-space: nowrap; }
.pp4-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.pm-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(10, 42, 27, 0.08); border-radius: 16px; padding: 0 0 16px; text-decoration: none; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.pm-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(9, 56, 37, 0.14); border-color: rgba(23, 161, 95, 0.4); }
.pmc-img { display: flex; align-items: center; justify-content: center; height: 210px; background: linear-gradient(180deg, #f2f8f4 0%, #fbfdfc 85%); margin-bottom: 14px; overflow: hidden; }
.pmc-img img { max-width: 78%; max-height: 86%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(9, 56, 37, 0.12)); transition: transform 0.4s ease; }
.pm-card:hover .pmc-img img { transform: scale(1.05) translateY(-3px); }
.pmc-power { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(15, 122, 74, 0.92); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pmc-code { font-size: 13px; font-weight: 700; color: #0d2b1d; padding: 0 18px; letter-spacing: 0.02em; }
.pmc-note { margin: 6px 0 0; padding: 0 18px; font-size: 12.5px; line-height: 1.6; color: rgba(13, 43, 29, 0.62); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; flex: 0 0 auto; }
.pmc-link { margin-top: auto; padding: 10px 18px 0; font-size: 13px; font-weight: 600; color: #0f7a4a; }
@media (max-width: 640px) {
  .pp4-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .pmc-img { height: 150px; }
  .pp4-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===== 展会新闻卡：真实照片封面 + 展开三张图 ===== */
.news-cover.has-photo img.cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.news-cover.has-photo::before {
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(7, 31, 22, 0.04) 0%, rgba(7, 31, 22, 0.62) 100%);
  background-size: 100% 100%;
}
.news-cover.has-photo span {
  position: absolute; inset-inline-start: 14px; bottom: 12px; z-index: 2;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.4px;
  background: rgba(15, 122, 74, 0.92); color: #fff; padding: 4px 12px; border-radius: 999px;
}
.news-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.news-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.news-card.has-photos.open .news-full { max-height: 1600px; }
@media (max-width: 640px) { .news-photos img { aspect-ratio: 1 / 1; } }

/* Group identical portable enclosures, keeping every model available. */
#cat-portable .pp4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portable-family, .product-family { min-width: 0; }
#cat-aio .pp4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lowfreq-family { grid-column: span 2; }
@media (max-width: 768px) { #cat-aio .pp4-grid { grid-template-columns: 1fr; } .lowfreq-family { grid-column: 1 / -1; } }
.portable-family .pmc-img { height: 235px; }
.portable-options { padding: 12px 18px 0; display: grid; gap: 8px; }
.portable-options a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 10px 0; border-top: 1px solid #e4ede7; font-size: 12px; color: var(--ink); }
.portable-options a span { color: var(--accent); }
.portable-options a:hover, .portable-options a:focus-visible { color: var(--accent); text-decoration: underline; }

/* Shared footer social channels, hover on desktop and tap on touchscreens. */
.footer .f-brand { min-width: 0; }
.footer-social { margin-top: 26px; }
.footer-social h4 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.footer-social-list { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social-item { position: relative; }
.social-trigger { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: rgba(255,255,255,.09); color: #9aa9a0; border: 0; border-radius: 6px; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.social-trigger svg { width: 23px; height: 23px; }
.footer-social-item:hover .social-trigger, .footer-social-item.is-open .social-trigger, .social-trigger:focus-visible { color: #fff; background: #31a965; transform: translateY(-3px); }
.social-douyin.is-open .social-trigger { background: #202322; }
.social-channels.is-open .social-trigger { background: #ed982b; }
.social-popup { position: absolute; inset-inline-start: -14px; bottom: calc(100% + 12px); width: 244px; padding: 12px; background: #fff; border: 1px solid #e2e9e4; border-radius: 12px; color: #18382a; box-shadow: 0 14px 40px rgba(0,0,0,.22); z-index: 20; animation: socialPopup .18s ease-out; text-align: center; }
.social-popup[hidden] { display: none; }
.social-popup::after { content: ""; position: absolute; top: 100%; inset-inline: 0; height: 16px; }
.footer .social-popup a { display: block; margin: 8px 0; }
.social-popup img { display: block; width: 100%; height: 220px; object-fit: contain; background: #fff; }
.social-popup strong { font-size: 14px; }
.social-popup span { display: block; font-size: 12px; line-height: 1.5; color: #63776a; }
.footer .footer-address { font-size: 12px; line-height: 1.8; margin: 8px 0 12px; overflow-wrap: anywhere; }
.footer .footer-phone, .footer a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
@keyframes socialPopup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.contact-location { background: #f5f9f6; }
.contact-map-wrap { border: 1px solid #dce8df; border-radius: 16px; overflow: hidden; background: #e8f0e9; }
.contact-map { width: 100%; height: 440px; display: block; border: 0; }
.contact-map-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; color: var(--grey); font-size: 14px; }
.contact-list a { color: inherit; overflow-wrap: anywhere; }
@media (max-width: 768px) {
  #cat-portable .pp4-grid { grid-template-columns: 1fr; }
  .portable-family .pmc-img { height: 210px; }
  .footer-social-list { gap: 8px; }
  .social-trigger { width: 32px; height: 34px; }
  .social-popup { position: fixed; inset-inline-start: 50%; inset-inline-end: auto; bottom: 22px; width: min(280px, calc(100vw - 36px)); transform: translateX(-50%); animation: none; z-index: 1002; }
  [dir="rtl"] .social-popup { transform: translateX(50%); }
  .contact-map { height: 360px; }
}
@media (prefers-reduced-motion: reduce) { .social-trigger { transition: none; } .social-popup { animation: none; } }

/* ===== 产品中心：四段全屏滚动叙事 ===== */
.prodstory { position: relative; background: #fff; }
.ps-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; }
.ps-deck { position: relative; }
.ps-panel { position: relative; overflow: hidden; background: #fff; --ps-tint: #eef6f1; --ps-glow: rgba(23, 161, 95, .18); }
.ps-panel:nth-of-type(2) { --ps-tint: #eff3f7; --ps-glow: rgba(37, 99, 235, .13); }
.ps-panel:nth-of-type(3) { --ps-tint: #f0f6f2; --ps-glow: rgba(15, 122, 74, .17); }
.ps-panel:nth-of-type(4) { --ps-tint: #f7f4ee; --ps-glow: rgba(214, 137, 46, .16); }
.ps-bg { position: absolute; inset: 0; background: radial-gradient(120% 92% at 76% 44%, var(--ps-glow) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(158deg, #fff 0%, var(--ps-tint) 64%, #fff 100%); }
.ps-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(13, 43, 29, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 43, 29, .04) 1px, transparent 1px); background-size: 96px 96px; -webkit-mask-image: radial-gradient(72% 72% at 72% 46%, #000, transparent 80%); mask-image: radial-gradient(72% 72% at 72% 46%, #000, transparent 80%); }
.ps-inner { position: relative; display: grid; grid-template-columns: minmax(320px, 40%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: clamp(24px, 4vw, 64px); width: min(1340px, 92%); margin: 0 auto; height: 100%; }
.ps-stage { position: relative; grid-column: 2; grid-row: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.ps-copy { grid-column: 1; grid-row: 1; align-self: center; padding-block: 24px; }
.ps-rail-wrap { grid-column: 1 / -1; grid-row: 2; padding-bottom: 22px; }
.ps-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #6b7f72; }
.ps-num { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #0f7a4a; padding: 3px 9px; border: 1px solid rgba(15, 122, 74, .35); border-radius: 999px; }
.ps-title { margin: 14px 0 0; font-size: clamp(40px, 5.2vw, 80px); line-height: 1.04; letter-spacing: -.02em; font-weight: 600; color: #0d2b1d; }
.ps-desc { margin: 18px 0 0; max-width: 30em; font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.75; color: rgba(13, 43, 29, .66); }
.ps-series { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; max-width: 440px; }
.ps-series a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(13, 43, 29, .1); font-size: 14.5px; color: #0d2b1d; transition: color .2s, padding-inline-start .25s, border-color .2s; }
.ps-series a:hover, .ps-series a:focus-visible { color: #0f7a4a; padding-inline-start: 6px; border-color: rgba(15, 122, 74, .45); }
.ps-series em { font-style: normal; font-size: 12.5px; color: #6b7f72; white-space: nowrap; }
.ps-series em, .ps-rail a span, .ps-count { direction: ltr; unicode-bidi: isolate; }
.ps-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.ps-cta { display: inline-flex; align-items: center; background: #0f7a4a; color: #fff; font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 999px; transition: background .2s, transform .2s; }
.ps-cta:hover { background: #0b5f39; transform: translateY(-2px); }
.ps-count { font-size: 12.5px; letter-spacing: .06em; color: #6b7f72; }
.ps-watermark { position: absolute; inset-inline-start: 0; bottom: -3%; font-size: clamp(110px, 15vw, 230px); font-weight: 300; line-height: .8; letter-spacing: -.05em; color: rgba(13, 43, 29, .05); pointer-events: none; }
.ps-product { position: relative; max-height: min(56vh, 560px); max-width: 88%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 34px 46px rgba(9, 56, 37, .2)); }
.ps-rail-label { margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7d8f83; }
.ps-rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.ps-rail::-webkit-scrollbar { display: none; }
.ps-rail a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(13, 43, 29, .13); border-radius: 999px; background: rgba(255, 255, 255, .74); font-size: 12.5px; color: #0d2b1d; white-space: nowrap; scroll-snap-align: start; transition: border-color .2s, background .2s, color .2s; }
.ps-rail a span { color: #0f7a4a; font-weight: 600; }
.ps-rail a:hover, .ps-rail a:focus-visible { border-color: #0f7a4a; background: #fff; }
.ps-dots, .ps-hint { display: none; }

@media (min-width: 1025px) {
  .prodstory { height: calc(var(--ps-count, 4) * 100vh); }
  .ps-deck { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .ps-panel { position: absolute; inset: 0; padding: 88px 0 0; opacity: 0; visibility: hidden; transform: translateY(4%); transition: opacity .72s ease, transform .95s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .72s; }
  .ps-panel.is-active { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .72s ease, transform .95s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
  .ps-bg { transform: scale(1.05); transition: transform 1.5s cubic-bezier(.22, 1, .36, 1); }
  .ps-panel.is-active .ps-bg { transform: scale(1); }
  .ps-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
  .ps-panel.is-active .ps-copy > * { opacity: 1; transform: none; }
  .ps-panel.is-active .ps-copy > *:nth-child(1) { transition-delay: .08s; }
  .ps-panel.is-active .ps-copy > *:nth-child(2) { transition-delay: .16s; }
  .ps-panel.is-active .ps-copy > *:nth-child(3) { transition-delay: .24s; }
  .ps-panel.is-active .ps-copy > *:nth-child(4) { transition-delay: .32s; }
  .ps-panel.is-active .ps-copy > *:nth-child(5) { transition-delay: .4s; }
  .ps-product { opacity: 0; transform: scale(.94) translateY(20px); transition: opacity .8s ease, transform 1.05s cubic-bezier(.22, 1, .36, 1) .1s; }
  .ps-panel.is-active .ps-product { opacity: 1; transform: none; }
  .ps-rail-wrap { opacity: 0; transform: translateY(16px); transition: opacity .7s ease .38s, transform .8s cubic-bezier(.22, 1, .36, 1) .38s; }
  .ps-panel.is-active .ps-rail-wrap { opacity: 1; transform: none; }
  .ps-dots { position: absolute; inset-inline-end: 78px; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; gap: 12px; }
  .ps-dot { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; padding: 4px; background: none; border: 0; cursor: pointer; }
  .ps-dot i { display: block; width: 22px; height: 2px; background: rgba(13, 43, 29, .25); transition: width .35s ease, background .35s ease; }
  .ps-dot.is-active i { width: 44px; background: #0f7a4a; }
  .ps-dot-label { font-size: 11.5px; color: #56695d; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .3s ease, transform .3s ease; }
  .ps-dot:hover .ps-dot-label, .ps-dot:focus-visible .ps-dot-label, .ps-dot.is-active .ps-dot-label { opacity: 1; transform: none; }
  .ps-hint { position: absolute; inset-inline-start: 50%; bottom: 6px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; margin: 0; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #8a9c90; pointer-events: none; }
  .ps-hint i { width: 1px; height: 20px; background: linear-gradient(#0f7a4a, rgba(15, 122, 74, 0)); animation: psHint 1.8s ease-in-out infinite; }
}

@keyframes psHint { 0%, 100% { transform: translateY(-3px); opacity: .35; } 50% { transform: translateY(3px); opacity: 1; } }

@media (max-width: 1024px) {
  .ps-panel { padding: 26px 0 30px; }
  .ps-panel:first-of-type { padding-top: 26px; }
  .ps-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; width: min(720px, 90%); row-gap: 4px; }
  .ps-stage { grid-column: 1; grid-row: 1; padding: 8px 0 10px; }
  .ps-copy { grid-column: 1; grid-row: 2; padding-block: 0; }
  .ps-rail-wrap { grid-column: 1; grid-row: 3; padding-bottom: 0; padding-top: 18px; }
  .ps-product { max-height: 40vh; max-width: 72%; }
  .ps-watermark { font-size: 108px; bottom: 2%; }
  .ps-title { font-size: clamp(30px, 8.6vw, 40px); }
  .ps-desc { margin-top: 14px; font-size: 15px; }
  .ps-series { margin-top: 16px; max-width: none; padding-inline-end: 58px; }
  .ps-series a { font-size: 14px; padding: 10px 0; }
  .ps-actions { margin-top: 20px; gap: 12px; padding-inline-end: 58px; }
  .ps-rail-label { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-panel, .ps-panel .ps-bg, .ps-copy > *, .ps-product, .ps-rail-wrap { transition: none !important; opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .ps-hint i { animation: none; }
}
[dir="rtl"] .ps-dots { flex-direction: column; }
[dir="rtl"] .ps-dot { flex-direction: row; }
[dir="rtl"] .ps-dot-label { transform: translateX(-6px); }
[dir="rtl"] .ps-dot:hover .ps-dot-label, [dir="rtl"] .ps-dot.is-active .ps-dot-label { transform: none; }

/* ===== 首页产品介绍：与产品中心同一套滚动叙事，产品图更突出、文案更精简 ===== */
.prodstory-home .ps-product { max-height: min(62vh, 620px); max-width: 94%; }
.prodstory-home .ps-title { font-size: clamp(36px, 4.8vw, 70px); }
.prodstory-home .ps-desc { max-width: 27em; }
.ps-count-link { color: #0f7a4a; text-decoration: none; border-bottom: 1px solid rgba(15, 122, 74, .35); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.ps-count-link:hover, .ps-count-link:focus-visible { color: #0b5f39; border-color: #0b5f39; }
@media (max-width: 1024px) {
  .prodstory-home .ps-product { max-height: 38vh; max-width: 74%; }
  .prodstory-home .ps-title { font-size: clamp(28px, 8.2vw, 38px); }
  .prodstory-home .ps-desc { font-size: 14.5px; line-height: 1.7; }
  .prodstory-home .ps-panel { padding: 22px 0 26px; }
  .prodstory-home .ps-actions { padding-inline-end: 0; gap: 14px; }
}

/* ===== cw 白名单动效：仅脚本标记的安全外壳生效 ===== */
.cw-reveal.reveal {
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1) var(--cw-delay, 0ms),
              translate .9s cubic-bezier(.22, 1, .36, 1) var(--cw-delay, 0ms),
              transform .4s cubic-bezier(.22, 1, .36, 1),
              box-shadow .4s ease, border-color .35s ease, background-color .35s ease,
              padding .35s ease;
}
.cw-reveal.reveal:not(.cw-shell) { transform: none; translate: 0 24px; }
.cw-reveal.reveal.visible:not(.cw-shell) { translate: 0 0; }
/* strength 只增强原外壳入场，悬停及内部图标留给 about.css。 */
.cw-shell.reveal { transition-delay: var(--cw-delay, 0ms); }
.cw-reveal.reveal.cw-settled {
  transition-delay: 0ms;
}
.cw-card.reveal:focus-within { opacity: 1; translate: 0 0; }

/* 不新增透明度隐藏；文字层只做小幅错位，i18n 替换内部仍保留外壳。 */
.cw-text-group.cw-reveal.reveal { translate: none; }
.cw-text-layer {
  translate: 0 14px;
  transition: translate .85s cubic-bezier(.22, 1, .36, 1) var(--cw-layer-delay, 0ms);
}
.cw-text-group.visible > .cw-text-layer { translate: 0 0; }
.cw-text-group:focus-within > .cw-text-layer { translate: 0 0; transition-delay: 0ms; }

/* 图片外壳揭幕与图片自身的 hover transform 分开，不裁切新闻全文。 */
.cw-image-window {
  clip-path: inset(18% 0 0 0);
  transition: clip-path 1.05s cubic-bezier(.22, 1, .36, 1) var(--cw-delay, 0ms);
}
.cw-image-content {
  scale: 1.035;
  /* 既有 transform 缩放仍独立负责 hover。 */
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), scale 1.15s cubic-bezier(.22, 1, .36, 1);
}
.cw-reveal.visible > .cw-image-window { clip-path: inset(0); }
.cw-reveal.visible > .cw-image-window > .cw-image-content { scale: 1; }

/* 不改变横幅高度、图片尺寸及文档流；预留缩放仅用于遮住视差边缘。 */
.cw-banner-image { transform: translate3d(0, var(--cw-banner-y, 0px), 0) scale(1.065); }

.cw-button { position: relative; -webkit-tap-highlight-color: transparent; }
.cw-button-shine { overflow: hidden; isolation: isolate; }
.cw-button-shine::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .22) 48%, transparent 74%);
  translate: -120% 0; opacity: 0;
  transition: translate .65s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
}
.cw-button-arrow {
  display: inline-block;
  transition: translate .35s cubic-bezier(.22, 1, .36, 1);
}
.cw-button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.cw-button:active:not(:disabled) { translate: 0 1px; }
.cw-pointer-light { position: relative; isolation: isolate; }
.cw-pointer-light::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--cw-pointer-x, 50%) var(--cw-pointer-y, 50%), rgba(166, 222, 181, .18), transparent 72%);
  opacity: 0; transition: opacity .4s ease;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cw-card.reveal.visible:hover { transform: translateY(-5px); }
  .cw-button-shine:hover::before { translate: 120% 0; opacity: 1; }
  .cw-button:hover > .cw-button-arrow { translate: 3px 0; }
  [dir="rtl"] .cw-button:hover > .cw-button-arrow { translate: -3px 0; }
  .cw-pointer-light.cw-pointer-active::before { opacity: 1; }
}
@media (max-width: 768px), (hover: none) {
  .cw-reveal.reveal:not(.cw-shell) { translate: 0 14px; }
  .cw-reveal.reveal.visible:not(.cw-shell) { translate: 0 0; }
  .cw-text-group.cw-reveal.reveal { translate: none; }
  .cw-text-layer { translate: 0 8px; }
  .cw-text-group.visible > .cw-text-layer { translate: 0 0; }
  .cw-banner-image { transform: translate3d(0, var(--cw-banner-y, 0px), 0) scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .cw-reveal.reveal { opacity: 1; transform: none; translate: none !important; transition: none; }
  .cw-text-layer, .cw-image-content, .cw-button, .cw-button-arrow { translate: none !important; scale: none; transition: none; }
  .cw-image-window { clip-path: none; transition: none; }
  .cw-banner-image { transform: none; }
  .cw-button-shine::before, .cw-pointer-light::before { display: none; transition: none; }
}

/* ===== 手机端首屏通屏：图片左右铺满、上缘顶满，中间只保留左侧定位一处的间隙 ===== */
@media (max-width: 768px) {
  /* 轮播容器本身不留内边距/外边距，图片从屏幕最上沿开始 */
  .hero-slider { margin: 0; padding-inline: 0; border-radius: 0; }
  .hero-slider .hs-slides { left: 0; right: 0; top: 0; width: 100%; margin: 0; }
  .hero-slider .hs-slide { left: 0; right: 0; top: 0; width: 100%; }
  /* 图片始终铺满容器：宽度拉满到视口，避免小图居中留边 */
  .hero-slider .hs-slide img,
  .hero-slider .hs-slide .hs-video,
  .hero-slider .hs-slide picture { width: 100%; height: 100%; margin: 0; border-radius: 0; }
  .hero-slider .hs-slide img { object-fit: cover; object-position: center; }
  /* 工厂帧：天空明亮，顶部加一层极轻的压暗，让白色导航与菜单图标的边界更清楚 */
  .hero-slider .hs-slide.hs-factory::after {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 96px; z-index: 2;
    background: linear-gradient(180deg, rgba(6, 26, 18, .30), rgba(6, 26, 18, 0));
    pointer-events: none;
  }
}
