﻿/* ========== 基础 ========== */
:root {
  --green: #8bc34a;
  --green-dark: #7cb342;
  --ink: #1a1a1a;
  --muted: #666;
  --line: #e8e8e8;
  --bg: #f7f8fa;
  --util-h: 32px;
  --header-h: 64px;
  --header-stack: calc(var(--util-h) + var(--header-h));
  --sub-h: 48px;
  --teal-deep: #061820;
  --teal: #0a3d3a;
  --accent-cyan: #2ee6a6;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(960px, 92vw);
  text-align: center;
}

/* 首屏包裹：导航默认 absolute 叠在轮播上；上划时由 JS 改为 fixed 吸顶 */
.hero-wrap {
  position: relative;
}


/* ========== 顶栏：集团网站 / 语言（展开顶开主导航） ========== */
.site-header {
  display: flex;
  flex-direction: column;
}

.top-utility {
  height: var(--util-h);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 3;
}

/* 叠在轮播、未悬停：仅顶栏半透明；主导航（红色框区域）保持全透明、无毛玻璃 */
.site-header.is-over-banner:not(.is-nav-hover):not(.is-mega-open):not(.is-shop-open):not(.is-util-open) .top-utility {
  background: rgba(255, 255, 255, 0.12);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-over-banner:not(.is-nav-hover):not(.is-mega-open):not(.is-shop-open):not(.is-util-open) .util-trigger {
  color: rgba(255, 255, 255, 0.92);
}

.top-utility-inner {
  width: min(1400px, 96vw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.util-trigger {
  display: inline-flex;
  align-items: center; /* 图标 / 文字 / 箭头垂直居中 */
  justify-content: center;
  gap: 6px;
  height: 100%; /* 撑满顶栏高度，整体垂直居中 */
  border: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.util-trigger span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.util-trigger .util-ico {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.util-trigger .util-chev {
  display: block;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.util-trigger:hover,
.util-trigger.is-active {
  color: var(--green-dark);
}

.util-trigger.is-active .util-chev {
  transform: rotate(180deg);
}

.util-drawer {
  max-height: 0;
  overflow: hidden;
  background: #f5f5f5;
  transition: max-height 0.45s ease;
}

.site-header.is-util-open .util-drawer {
  max-height: 340px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.util-panel[hidden] {
  display: none !important;
}

.util-panel-inner {
  width: min(1400px, 96vw);
  margin: 0 auto;
  padding: 28px 0 36px;
}

.util-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.util-title-chev {
  flex-shrink: 0;
  color: var(--green-dark);
}

.util-site-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 48px;
}

.util-site-card {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* 图标与文字贴近 */
  padding: 8px 0;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  width: auto;
}

.util-site-card:hover {
  color: var(--green-dark);
}

.util-site-ico {
  flex-shrink: 0;
  display: block;
}

/* 右侧小箭头紧挨文字，不用大于号、不拉满整行 */
.util-site-arrow {
  flex-shrink: 0;
  color: #999;
  margin-left: 2px;
}

.util-site-card:hover .util-site-arrow {
  color: var(--green-dark);
}

.util-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 28px;
}

.util-lang-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  text-align: left;
  padding: 4px 0;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  font-family: inherit;
}

.util-lang-item:hover {
  color: var(--green-dark);
}

.util-lang-item.is-active {
  color: #111;
  font-weight: 700;
}

.util-lang-check {
  flex-shrink: 0;
  color: var(--green-dark);
  visibility: hidden;
}

.util-lang-item.is-active .util-lang-check {
  visibility: visible;
}

.site-header.is-util-open,
.site-header.is-util-open.is-over-banner {
  background: #fff !important;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 展开顶栏时强制深色字（需压过 is-over-banner 的白字，否则白底上看不见） */
.site-header.is-util-open .nav-link,
.site-header.is-util-open .logo-text,
.site-header.is-util-open .lang,
.site-header.is-util-open .icon-btn,
.site-header.is-util-open .shop-link,
.site-header.is-util-open .util-trigger,
.site-header.is-util-open.is-over-banner .nav-link,
.site-header.is-util-open.is-over-banner .logo-text,
.site-header.is-util-open.is-over-banner .lang,
.site-header.is-util-open.is-over-banner .icon-btn,
.site-header.is-util-open.is-over-banner .shop-link,
.site-header.is-util-open.is-over-banner .util-trigger {
  color: #333 !important;
}

.site-header.is-util-open .menu-toggle span,
.site-header.is-util-open.is-over-banner .menu-toggle span {
  background: #333 !important;
}

.site-header.is-util-open .top-utility {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
  .util-lang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-utility-inner {
    gap: 14px;
  }
}

/* ========== Header：默认 absolute 叠在轮播上；上划时 fixed 吸顶，下划隐藏 ========== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  /* 底部分割线：透明态用半透明白线，方便与轮播区分 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.3s ease;
  will-change: transform;
}

/* 上划：固定在视口顶部 */
.site-header.is-pinned {
  position: fixed;
  top: 0;
  transform: translateY(0);
}

/* 下划：已吸顶时向上收起，不挡内容 */
.site-header.is-pinned.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
  box-shadow: none;
}

/* 未悬停叠在轮播：整条 header 背景透明，避免主导航出现半透明/毛玻璃感 */
.site-header.is-over-banner:not(.is-nav-hover):not(.is-mega-open):not(.is-shop-open):not(.is-util-open) {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.site-header.is-over-banner .nav-link,
.site-header.is-over-banner .logo-text,
.site-header.is-over-banner .lang,
.site-header.is-over-banner .icon-btn,
.site-header.is-over-banner .shop-link {
  color: #fff;
}

.site-header.is-over-banner .menu-toggle span {
  background: #fff;
}

.site-header.is-solid,
.site-header.is-pinned {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-header.is-pinned .nav-link,
.site-header.is-pinned .logo-text,
.site-header.is-pinned .lang,
.site-header.is-pinned .icon-btn,
.site-header.is-pinned .shop-link,
.site-header.is-pinned .util-trigger {
  color: #333;
}

.site-header.is-pinned .menu-toggle span {
  background: #333;
}

.site-header.is-pinned .top-utility {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* 打开 Mega / 悬停导航 / 购物袋展开时强制白底 */
.site-header.is-mega-open,
.site-header.is-nav-hover,
.site-header.is-shop-open {
  background: #fff !important;
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-header.is-mega-open .nav-link,
.site-header.is-mega-open .logo-text,
.site-header.is-mega-open .lang,
.site-header.is-mega-open .icon-btn,
.site-header.is-mega-open .shop-link,
.site-header.is-nav-hover .nav-link,
.site-header.is-nav-hover .logo-text,
.site-header.is-nav-hover .lang,
.site-header.is-nav-hover .icon-btn,
.site-header.is-nav-hover .shop-link,
.site-header.is-shop-open .nav-link,
.site-header.is-shop-open .logo-text,
.site-header.is-shop-open .lang,
.site-header.is-shop-open .icon-btn,
.site-header.is-shop-open .shop-link {
  color: #333;
}

.site-header.is-mega-open .menu-toggle span,
.site-header.is-nav-hover .menu-toggle span,
.site-header.is-shop-open .menu-toggle span {
  background: #333;
}

.site-header.is-solid .nav-link,
.site-header.is-solid .logo-text,
.site-header.is-solid .lang,
.site-header.is-solid .icon-btn,
.site-header.is-solid .shop-link {
  color: #333;
}

.site-header.is-solid .menu-toggle span {
  background: #333;
}

.site-header.is-solid .nav-link:hover,
.site-header.is-solid .nav-link.is-active {
  color: var(--green-dark);
}

.header-inner {
  width: min(1400px, 96vw);
  margin: 0 auto;
  height: var(--header-h);
  /* 华为式：左 Logo / 中 tabs 居中 / 右操作，两侧等分保证 tabs 相对整栏居中 */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  column-gap: 16px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  justify-self: start;
}

.logo-img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
  /* 居中列：不拉伸，tabs 相对整栏水平居中 */
  grid-column: 2;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 26px;
  font-size: 17px;
  color: #333;
  position: relative;
  white-space: nowrap;
}

/* 每个 tab 底部绿色指示线（悬停 / 当前 / 下拉打开） */
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px; /* 各 tab 统一粗细 */
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  border-radius: 1px 1px 0 0;
  z-index: 2; /* 避免被 mega 遮挡 */
  pointer-events: none;
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-item.has-mega.is-open > .nav-link::after,
.nav-item.has-mega:hover > .nav-link::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.is-active,
.nav-item.has-mega.is-open > .nav-link {
  color: var(--green);
}

.site-header.is-over-banner:not(.is-nav-hover):not(.is-mega-open) .nav-link:hover,
.site-header.is-over-banner:not(.is-nav-hover):not(.is-mega-open) .nav-item.has-mega.is-open > .nav-link {
  color: var(--green);
}

.site-header.is-solid .nav-link:hover,
.site-header.is-solid .nav-link.is-active,
.site-header.is-solid .nav-item.has-mega.is-open > .nav-link,
.site-header.is-mega-open .nav-link:hover,
.site-header.is-mega-open .nav-item.has-mega.is-open > .nav-link,
.site-header.is-nav-hover .nav-link:hover,
.site-header.is-nav-hover .nav-item.has-mega.is-open > .nav-link {
  color: var(--green-dark);
}

.nav-item {
  position: static;
  display: flex;
  align-items: stretch;
}

.nav-item.has-mega > .nav-link {
  position: relative;
}

/* ========== 全宽三级 Mega Menu：白底通栏铺满视口 ========== */
/* 与顶栏底边衔接：不用上移遮盖绿条，用透明热区补命中空隙 */
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  top: 100%;
  padding-top: 0;
  /* 通栏白底：左右铺满整个屏幕，不再做成居中小白块 */
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  z-index: 120;
  color: var(--ink);
}

/* 向上伸出透明热区，鼠标从 tab 移入下拉不断开 */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

/* 仅用 is-open 控制显示，避免 :hover 断层导致菜单瞬间 display:none */
.nav-item.is-open > .mega-menu {
  display: block;
}

.mega-menu-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1400px) / 2));
  display: grid;
  grid-template-columns: 220px 260px 1fr;
  min-height: 400px;
  max-height: min(72vh, 560px);
  background: transparent;
  border-top: none;
  box-shadow: none;
  box-sizing: border-box;
}

/* 华为式：左「产品」多列 + 右「解决方案」分区 */
.mega-combo-inner {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  min-height: 340px;
  max-height: min(70vh, 480px);
  padding-top: 28px;
  padding-bottom: 36px;
  align-items: start;
}

.mega-zone {
  padding: 0 28px 8px;
  overflow-y: auto;
  max-height: inherit;
}

.mega-zone--products {
  border-right: 1px solid var(--line);
  padding-left: 8px;
}

.mega-zone--solutions {
  padding-right: 8px;
}

.mega-zone-title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}

/* 标题下绿色短下划线（对齐华为红线风格） */
.mega-zone-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  background: var(--green);
}

.mega-zone-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
}

.mega-col-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.mega-col-link {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.45;
  transition: color 0.15s;
}

.mega-col-link:hover {
  color: var(--green-dark);
}

.mega-zone-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.mega-sol-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-sol-title {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  transition: color 0.15s;
}

.mega-sol-title:hover {
  color: var(--green-dark);
}

.mega-sol-sub {
  display: block;
  padding: 3px 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  transition: color 0.15s;
}

.mega-sol-sub:hover {
  color: var(--green-dark);
}

/* 一级分类 */
.mega-l1 {
  border-right: 1px solid var(--line);
  padding: 16px 0;
  overflow-y: auto;
}

.mega-l1-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  text-align: left;
  transition: 0.15s;
}

.mega-l1-item span {
  color: #bbb;
  font-size: 18px;
}

.mega-l1-item:hover,
.mega-l1-item.is-active {
  color: var(--green-dark);
  background: #f7faf2;
}

.mega-l1-item.is-active span {
  color: var(--green);
}

/* 二级分组 */
.mega-l2 {
  border-right: 1px solid var(--line);
  padding: 20px 18px;
  overflow-y: auto;
}

.mega-l2-group {
  margin-bottom: 18px;
}

.mega-l2-group:last-child {
  margin-bottom: 0;
}

.mega-l2-title {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
}

.mega-l2-title::after {
  content: " ›";
}

.mega-l2-link {
  display: block;
  padding: 7px 8px;
  margin: 0 -8px;
  font-size: 15px;
  color: #555;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  background: none;
  width: calc(100% + 16px);
  text-align: left;
  font-family: inherit;
}

.mega-l2-link:hover,
.mega-l2-link.is-active {
  color: var(--green-dark);
  background: #f3f8ea;
}

/* 三级产品网格 */
.mega-l3 {
  padding: 24px 28px;
  overflow-y: auto;
}

.mega-l3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
}

.mega-prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px;
  transition: 0.2s;
  color: #333;
}

.mega-prod:hover {
  background: #f7faf2;
  color: var(--green-dark);
}

.mega-prod-icon {
  width: 72px;
  height: 56px;
  margin-bottom: 10px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, #e8f5c8 0%, #f5f5f5 40%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 6px,
      rgba(124, 179, 66, 0.15) 6px,
      rgba(124, 179, 66, 0.15) 7px
    );
  border: 1px solid #e0e8d0;
  position: relative;
}

.mega-prod-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border: 2px solid #7cb342;
  border-radius: 3px;
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px rgba(124, 179, 66, 0.3);
}

.mega-prod-icon.icon-module::before {
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.mega-prod-icon.icon-board::before {
  width: 36px;
  height: 22px;
  border-radius: 2px;
}

.mega-prod-icon.icon-cloud::before {
  width: 32px;
  height: 18px;
  border-radius: 10px 10px 4px 4px;
  border-bottom-width: 3px;
}

.mega-prod-icon.icon-engine::before {
  width: 30px;
  height: 20px;
  border-style: dashed;
}

.mega-prod span {
  font-size: 15px;
  line-height: 1.4;
  max-width: 110px;
}

/* 行业方案宽幅卡片 */
.mega-solutions-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 24px;
  min-height: 0;
  max-height: none;
}

.mega-sol-card {
  display: block;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: 0.2s;
}

.mega-sol-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(124, 179, 66, 0.12);
  transform: translateY(-2px);
}

.mega-sol-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f5c8, #f0f0f0);
}

.mega-sol-icon.sol-peps { background: linear-gradient(135deg, #1a5cff33, #e8f5c8); }
.mega-sol-icon.sol-tpms { background: linear-gradient(135deg, #00c2ff33, #e8f5c8); }
.mega-sol-icon.sol-all { background: linear-gradient(135deg, #7cb34244, #f5f5f5); }
.mega-sol-icon.sol-cloud { background: linear-gradient(135deg, #2ee6a644, #e8f5c8); }

.mega-sol-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: #222;
}

.mega-sol-card p {
  margin: 0;
  font-size: 15px;
  color: #888;
  line-height: 1.5;
}

.header-actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 14px;
  justify-self: end;
  grid-column: 3;
}

.btn-cta {
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 500;
}

.btn-cta:hover {
  background: var(--green-dark);
}

.icon-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #444;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-actions .icon-btn svg {
  width: 28px;
  height: 28px;
}

/* 华为式：购物袋展开虚实云 / 商城（带动画）
   购物袋与关闭图标叠在同一位置，链接在其左侧展开 */
.header-shop {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 40px;
}

.shop-icon-slot {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.shop-icon-slot .shop-trigger,
.shop-icon-slot .shop-close {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

/* 默认：显示购物袋，隐藏关闭 */
.shop-icon-slot .shop-close {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  pointer-events: none;
}

.header-shop.is-open .shop-trigger {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  pointer-events: none;
}

.header-shop.is-open .shop-close {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

/* 展开后左侧主导航淡出 */
.site-header.is-shop-open .main-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-12px);
}

.header-actions > .icon-btn:not(.shop-trigger):not(.shop-close),
.header-actions .lang {
  transition: opacity 0.45s ease, visibility 0.45s, transform 0.45s ease;
}

/* 展开购物袋时隐藏搜索等，但保留占位，避免关闭按钮右移到搜索位置 */
.site-header.is-shop-open .header-actions > .icon-btn:not(.shop-close),
.site-header.is-shop-open .lang {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
}

.shop-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateX(12px);
  pointer-events: none;
  transition:
    max-width 0.55s ease,
    opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0.5s;
}

.header-shop.is-open .shop-panel {
  max-width: 360px;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.shop-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s, opacity 0.25s ease;
}

.shop-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.shop-link:hover {
  color: var(--green-dark);
}

.shop-divider {
  width: 1px;
  height: 16px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.18);
  margin: 0 4px 0 2px;
}

.shop-close:hover {
  transform: rotate(90deg);
}

.header-shop.is-open .shop-close:hover {
  transform: scale(1) rotate(90deg);
}

.lang {
  font-size: 15px;
  color: #555;
  cursor: default;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
}

/* ========== Sub nav（轮播下方） ========== */
.sub-nav {
  position: sticky;
  top: var(--header-stack);
  z-index: 90;
  background: #2b2b2b;
  color: #fff;
  height: var(--sub-h);
}

.sub-nav-inner {
  width: min(1400px, 96vw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sub-title {
  font-size: 16px;
  font-weight: 500;
}

.sub-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.sub-links a {
  opacity: 0.75;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.sub-links a:hover,
.sub-links a.is-active {
  opacity: 1;
  border-bottom-color: var(--green);
}

/* ========== 首页大轮播 Banner：接近铺满，用上限防止全屏拉伸 ========== */
.banner {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 680px;
  max-height: 1000px; /* 保留上限，避免全屏时被无限拉高 */
  overflow: hidden;
  color: #fff;
  cursor: grab;
  user-select: none;
  touch-action: pan-y; /* 允许纵向滚动，横向交给拖拽 */
}

.banner.is-dragging {
  cursor: grabbing;
}

.banner-track {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
  pointer-events: none;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 30, 55, 0.55) 0%, rgba(20, 80, 120, 0.25) 55%, transparent 100%);
}

.banner-bg-1 {
  background:
    linear-gradient(90deg, rgba(8, 30, 55, 0.72) 0%, rgba(20, 80, 120, 0.35) 55%, rgba(0, 0, 0, 0.15) 100%),
    url("../images/hw-chip.jpg") center / cover no-repeat;
}

.banner-bg-2 {
  background:
    linear-gradient(90deg, rgba(8, 40, 50, 0.72) 0%, rgba(20, 100, 110, 0.35) 55%, rgba(0, 0, 0, 0.15) 100%),
    url("../images/hw-pcb.jpg") center / cover no-repeat;
}

.banner-bg-3 {
  background:
    linear-gradient(90deg, rgba(20, 28, 36, 0.75) 0%, rgba(40, 55, 70, 0.4) 55%, rgba(0, 0, 0, 0.2) 100%),
    url("../images/hw-pcb.jpg") center / cover no-repeat;
}

.banner-bg-4 {
  background:
    linear-gradient(90deg, rgba(6, 40, 35, 0.75) 0%, rgba(10, 70, 60, 0.4) 55%, rgba(0, 0, 0, 0.2) 100%),
    url("../images/cloud-server.jpg") center / cover no-repeat;
}

.banner-bg-5 {
  background:
    linear-gradient(90deg, rgba(20, 20, 50, 0.75) 0%, rgba(40, 40, 90, 0.4) 55%, rgba(0, 0, 0, 0.2) 100%),
    url("../images/code-screen.jpg") center / cover no-repeat;
}

.banner-bg-6 {
  background:
    linear-gradient(90deg, rgba(10, 28, 42, 0.8) 0%, rgba(20, 70, 90, 0.4) 55%, rgba(0, 0, 0, 0.2) 100%),
    url("../images/device-warehouse.jpg") center / cover no-repeat;
}

.xs-deliver {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.xs-deliver span {
  padding: 6px 12px;
  font-size: 13px;
  color: #0b3a45;
  background: rgba(46, 230, 166, 0.15);
  border: 1px solid rgba(46, 230, 166, 0.45);
}

.xs-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.xs-caps span {
  padding: 4px 8px;
  font-size: 12px;
  color: #9adbc7;
  border: 1px solid #3a5550;
}


.banner-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, 92vw);
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: var(--header-stack);
}

/* 无右侧图时：版心宽度与双栏一致，文案仍落在左侧区域 */
.banner-inner--solo {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.banner-inner--solo .banner-copy {
  grid-column: 1;
  text-align: left;
  max-width: 560px;
}

.banner-copy {
  text-align: left;
  padding-bottom: 24px;
}

.banner-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.banner-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.banner-copy p {
  margin: 0 0 28px;
  font-size: clamp(18px, 1.9vw, 22px);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.banner-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 16px;
  border-radius: 2px;
  transition: 0.2s;
  background: transparent;
}

.banner-btn:hover {
  background: #fff;
  color: #1a4a7a;
}

.banner-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.product-shot {
  position: relative;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
  animation: shotIn 0.8s ease;
}

.banner-slide.is-active .product-shot {
  animation: shotIn 0.85s ease;
}

@keyframes shotIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.shot-body {
  width: 280px;
  height: 200px;
  background: linear-gradient(160deg, #2a3548, #121820);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.shot-body.wide {
  width: 320px;
  height: 180px;
}

.shot-body.round {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a3a45, #0d2228);
}

.shot-body.cloud-ui,
.shot-body.engine-ui {
  width: 300px;
  height: 190px;
  background: linear-gradient(160deg, #1e2a32, #0c1418);
  border-radius: 12px;
  padding: 20px;
}

.shot-ports {
  position: absolute;
  left: 16px;
  top: 20px;
  width: 70px;
  height: 100px;
  background:
    repeating-linear-gradient(
      #2ecc71 0 8px,
      transparent 8px 14px
    );
  border-radius: 2px;
  opacity: 0.85;
}

.shot-leds {
  position: absolute;
  right: 20px;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shot-leds i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ee6a6;
  box-shadow: 0 0 8px #2ee6a6;
}

.shot-leds i:nth-child(2) { background: #ffb347; box-shadow: 0 0 8px #ffb347; }
.shot-leds i:nth-child(3) { background: #5b9dff; box-shadow: 0 0 8px #5b9dff; }

.shot-chip {
  position: absolute;
  right: 48px;
  bottom: 36px;
  width: 56px;
  height: 56px;
  background: #333;
  border: 2px solid #777;
  border-radius: 4px;
}

.shot-gauge {
  width: 120px;
  height: 120px;
  border: 6px solid rgba(46, 230, 166, 0.5);
  border-top-color: var(--green);
  border-radius: 50%;
  position: relative;
}

.shot-gauge::after {
  content: "2.4";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.shot-pcb {
  position: absolute;
  inset: 16px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(46, 230, 166, 0.25) 50%, transparent 51%),
    linear-gradient(#1a4a3a, #0d2a24);
  border: 1px solid rgba(46, 230, 166, 0.35);
  border-radius: 4px;
}

.shot-ant {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(100, 180, 255, 0.7);
  border-radius: 50%;
}

.cloud-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100%;
  padding: 10px 8px 0;
}

.cloud-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-cyan), #1a8cff);
  opacity: 0.85;
}

.cloud-bars span:nth-child(1) { height: 40%; }
.cloud-bars span:nth-child(2) { height: 70%; }
.cloud-bars span:nth-child(3) { height: 55%; }
.cloud-bars span:nth-child(4) { height: 88%; }

.ew-mini {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 15px;
  color: var(--accent-cyan);
  margin-top: 50px;
  padding-left: 8px;
}

.shot-reflect {
  height: 28px;
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent);
  filter: blur(6px);
  border-radius: 50%;
  transform: scaleY(0.4);
  opacity: 0.5;
}

/* 轮播左右：仅箭头图标，无圆形底 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 80px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s, color 0.25s, opacity 0.25s;
  opacity: 0.85;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.banner-arrow-icon {
  width: 28px;
  height: 56px;
  display: block;
}

.banner-arrow:hover {
  color: var(--green);
  opacity: 1;
  transform: translateY(-50%) scale(1.12);
}

.banner-arrow.prev:hover {
  transform: translateY(-50%) translateX(-4px) scale(1.12);
}

.banner-arrow.next:hover {
  transform: translateY(-50%) translateX(4px) scale(1.12);
}

.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 108px; /* 与下方滚动提示拉开间距 */
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: 0.2s;
}

.banner-dots button.is-active {
  background: var(--green);
  transform: scale(1.15);
}

/* 下拉提示图标（鼠标 + 向下箭头） */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  animation: scrollHintBounce 1.8s ease-in-out infinite;
}

.scroll-hint-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  position: relative;
  box-sizing: border-box;
}

.scroll-hint-mouse i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

.scroll-hint-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  margin-top: -2px;
}

.scroll-hint:hover {
  color: var(--green);
}

.scroll-hint:hover .scroll-hint-mouse {
  border-color: var(--green);
}

.scroll-hint:hover .scroll-hint-mouse i {
  background: var(--green);
}

.scroll-hint:hover .scroll-hint-arrow {
  border-color: var(--green);
}

@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.85; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  60% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ========== Sections ========== */
.section {
  padding: 72px 0;
}

.section.light {
  background: var(--bg);
}

.section.alt {
  background: #fafafa;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-head.light-text h2,
.section-head.light-text p,
.section-head.light-text .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.section-head.light-text p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 720px;
  margin: 0 auto;
}

.section.light h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.section-sub {
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
}

.eyebrow {
  font-size: 15px;
  color: var(--green-dark);
  margin: 0 0 8px;
  font-weight: 500;
}

.protocol-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  opacity: 0.55;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #444;
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split.reverse .split-text {
  order: 2;
}

.split.reverse .split-card {
  order: 1;
}

.split-text h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.35;
}

.split-text > p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 20px;
}

.check-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 16px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff;
  background: var(--green);
}

.btn-outline,
.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  font-size: 16px;
  border-radius: 2px;
  transition: 0.2s;
}

.btn-outline {
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.split-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.split-card h3 {
  margin: 0 0 20px;
  font-size: 22px;
}

.peps-card {
  background: linear-gradient(160deg, #0d1f24, #14352f);
  color: #fff;
  border: none;
}

.peps-card .card-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(46, 230, 166, 0.35), transparent 70%);
  pointer-events: none;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.kpi-grid strong {
  display: block;
  font-size: 15px;
  color: var(--accent-cyan);
  margin-bottom: 4px;
  font-weight: 500;
}

.kpi-grid span {
  font-size: 16px;
  opacity: 0.9;
}

.tpms-card {
  background: #fff;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.steps li:last-child {
  border-bottom: none;
}

.steps span {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef7e4;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

/* ========== Products ========== */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.tab {
  border: none;
  background: none;
  padding: 12px 20px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  color: #666;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab.is-active {
  color: #1a73e8;
  border-bottom-color: #1a73e8;
  font-weight: 500;
}

.product-table-wrap,
.spec-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.product-table,
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.product-table th,
.product-table td,
.spec-table th,
.spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.product-table th,
.spec-table th {
  background: #fafafa;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
}

.product-table tr:last-child td,
.spec-table tr:last-child td {
  border-bottom: none;
}

.product-table tr[hidden] {
  display: none;
}

.col-check {
  width: 40px;
}

.prod-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.prod-name a {
  color: #1a73e8;
  font-weight: 500;
}

.sku {
  font-size: 14px;
  color: #999;
  margin-top: 2px;
}

.thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: #eef1f5;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
}

.thumb-chip {
  background:
    linear-gradient(135deg, #cfd8dc 30%, transparent 30%),
    linear-gradient(225deg, #90a4ae, #546e7a);
}

.thumb-uwb {
  background: linear-gradient(145deg, #1a237e, #3949ab);
}

.thumb-rf {
  background: linear-gradient(145deg, #004d40, #00897b);
}

.thumb-board {
  background: linear-gradient(145deg, #263238, #455a64);
}

.price {
  color: #e65100;
  font-weight: 600;
  white-space: nowrap;
}

.spec-table a {
  color: var(--green-dark);
}

/* ========== 主营业务（参考致远：图标上 / 标题 / 描述竖排） ========== */
.biz {
  background: #fff;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.biz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 32px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.biz-card:hover {
  border-color: var(--green);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.biz-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-icon svg {
  width: 64px;
  height: 64px;
}

.biz-card:hover .biz-icon {
  color: var(--green);
}

.biz-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.biz-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* ========== 汽车电子解决方案（参考致远 adsuse 竖条面板） ========== */
.solutions-hero {
  padding: 0 0 0;
  background: #0a0a0a;
}

.solutions-hero-head {
  padding: 56px 24px 28px;
  margin-bottom: 0;
}

.solutions-hero-head h2 {
  color: #fff;
}

.solutions-stage {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.solutions-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.62) 100%),
    url("../images/hw-chip.jpg");
  background-size: cover;
  background-position: center;
  transition: opacity 0.35s ease;
}

/* 悬停切换实景背景图（叠加暗色遮罩保证白字可读） */
.solutions-stage[data-active="1"] .solutions-bg {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.62)),
    url("../images/hw-chip.jpg");
}
.solutions-stage[data-active="2"] .solutions-bg {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.65)),
    url("../images/hw-pcb.jpg");
}
.solutions-stage[data-active="3"] .solutions-bg {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.62)),
    url("../images/hw-motherboard.jpg");
}
.solutions-stage[data-active="4"] .solutions-bg {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.65)),
    url("../images/cloud-server.jpg");
}
.solutions-stage[data-active="5"] .solutions-bg {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.65)),
    url("../images/code-screen.jpg");
}
.solutions-stage[data-active="6"] .solutions-bg {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.62)),
    url("../images/device-warehouse.jpg");
}

.solutions-panels {
  /* 整块竖条铺满舞台高度，对齐致远全高面板 */
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 2;
}

.sol-panel {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px 48px;
  color: #fff;
  text-align: center;
  background: transparent;
  transition: background 0.3s, flex 0.35s;
  border: none;
  position: relative;
  height: 100%;
}

.sol-panel .t1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.sol-panel .wz {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

.sol-panel .line {
  width: 28px;
  height: 2px;
  background: transparent;
  margin: 14px auto 0;
  transition: background 0.25s;
}

/* 激活项：竖向抬高色块（对齐致远高亮条） */
.sol-panel.is-active {
  background: rgba(10, 60, 120, 0.92);
  flex: 1.15;
}

.sol-panel.is-active .line {
  background: #fff;
}

.sol-panel:hover:not(.is-active) {
  background: rgba(0, 0, 0, 0.28);
}

/* ========== 视频中心 ========== */
.video-sec {
  background: #111;
  color: #fff;
}

.video-sec .section-head h2 {
  color: #fff;
}

.video-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: stretch;
  min-height: 360px;
}

.video-main {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 360px;
}

.video-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s;
}

.video-frame.is-active {
  opacity: 1;
  visibility: visible;
}

.video-poster {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
}

.video-poster-1 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    url("../images/hw-lab.jpg") center / cover no-repeat;
}
.video-poster-2 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    url("../images/hw-bench.jpg") center / cover no-repeat;
}
.video-poster-3 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    url("../images/cloud-dash.jpg") center / cover no-repeat;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  background: rgba(0, 0, 0, 0.25);
}

.video-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-tabs li button {
  width: 100%;
  padding: 18px 16px;
  text-align: left;
  font-size: 16px;
  color: #ccc;
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.video-tabs li.is-active button,
.video-tabs li button:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

/* ========== 最新消息 ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s;
}

.news-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.news-cover {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.news-cover-1 {
  background: url("../images/hw-chip.jpg") center / cover no-repeat;
}
.news-cover-2 {
  background: url("../images/cloud-dash.jpg") center / cover no-repeat;
}
.news-cover-3 {
  background: url("../images/code-screen.jpg") center / cover no-repeat;
}

.news-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-body h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: #111;
}

.news-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  flex: 1;
}

.news-body time {
  font-size: 13px;
  color: #999;
}

/* ========== Cloud ========== */
.cloud {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(46, 230, 166, 0.12), transparent 50%),
    linear-gradient(160deg, #07141a, #0d2a28 60%, #0a1e24);
  color: #fff;
}

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cloud-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px 20px;
  transition: 0.25s;
}

.cloud-card:hover {
  background: rgba(46, 230, 166, 0.1);
  border-color: rgba(46, 230, 166, 0.35);
  transform: translateY(-3px);
}

.cloud-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--accent-cyan);
}

.cloud-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ========== Engine ========== */
.engine-visual {
  display: flex;
  justify-content: center;
}

.engine-window {
  width: 100%;
  max-width: 400px;
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid #333;
}

.ew-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #2d2d2d;
}

.ew-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}

.ew-bar i:nth-child(2) { background: #ffbd2e; }
.ew-bar i:nth-child(3) { background: #27c93f; }

.ew-bar span {
  margin-left: 10px;
  font-size: 14px;
  color: #aaa;
}

.ew-body {
  padding: 20px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 17px;
  color: #c5c8c6;
}

.ew-line {
  margin-bottom: 8px;
}

.ew-line.ok {
  color: var(--accent-cyan);
}

.ew-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.ew-bar-chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent-cyan), #1a5cff);
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
}

/* ========== Industry（旧四宫格保留兼容，页面已改用 solutions-hero） ========== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--img);
  color: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.industry-card span,
.industry-card strong {
  position: relative;
  z-index: 1;
}

.industry-card span {
  font-size: 15px;
  opacity: 0.85;
  letter-spacing: 1px;
}

.industry-card strong {
  margin-top: auto;
  font-size: 22px;
  font-weight: 600;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* ========== Support ========== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.support-grid h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.support-grid p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 16px;
  color: #444;
}

/* CSS 绘制箭头，不用大于号字符 */
.link-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.link-list a:hover {
  color: var(--green-dark);
}

/* ========== Footer ========== */
.site-footer {
  background: #111;
  color: #ccc;
  padding-top: 56px;
}

.footer-inner {
  width: min(1400px, 92vw);
  margin: 0 auto;
  display: grid;
  /* 末列略宽，保证热线号码与 label 同一行 */
  grid-template-columns: repeat(4, 1fr) 1.35fr;
  gap: 28px;
  padding-bottom: 48px;
}

.footer-col h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px; /* 对齐参考站栏目标题体量 */
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px; /* 链接略放大，避免对比参考站偏小 */
  padding: 7px 0;
  color: #b0b0b0;
  line-height: 1.5;
}

/* CSS 绘制箭头图标，替代大于号 */
.footer-col a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #888;
  border-bottom: 1.5px solid #888;
  transform: rotate(-45deg);
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-col a:hover {
  color: var(--green);
}

.footer-col a:hover::before {
  border-color: var(--green);
  opacity: 1;
}

.hotline {
  color: var(--green);
  font-size: 24px; /* 与 label 同一行展示，避免号码折行 */
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

/* 联系栏：左 label、右 value 横向排布 */
.footer-col.contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.footer-row--hotline,
.footer-row--social {
  align-items: center;
  flex-wrap: nowrap;
}

.footer-label {
  flex-shrink: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
  padding-top: 1px;
}

.footer-row--hotline .footer-label {
  padding-top: 0;
  font-size: 16px;
}

.footer-domains {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-col.contact .footer-domains a {
  padding: 2px 0;
  font-size: 15px;
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social > span,
.social-wechat-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.social > span:hover,
.social-wechat:hover .social-wechat-trigger,
.social-wechat:focus-within .social-wechat-trigger {
  color: #fff;
  border-color: #666;
}

.social-wechat {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: center;
  height: fit-content;
}

.social-wechat:hover .qr-panel,
.social-wechat:focus-within .qr-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 共用二维码弹层（页脚向上 / 侧栏向左） */
.qr-panel {
  position: absolute;
  width: 148px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  text-align: center;
  box-sizing: border-box;
  z-index: 20;
  writing-mode: horizontal-tb;
}

.qr-panel img {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  object-fit: contain;
}

.qr-panel p {
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  color: #555;
  line-height: 1.3;
}

/* 页脚：向上弹出 */
.qr-panel--up {
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
}

.qr-panel--up::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #fff;
}

/* 侧栏：向左弹出 */
.qr-panel--left {
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
}

.qr-panel--left::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  margin-top: -6px;
  border: 6px solid transparent;
  border-left-color: #fff;
}

.float-qr:hover .qr-panel,
.float-qr:focus-within .qr-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 18px 24px;
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}

.footer-bottom-inner {
  width: min(1400px, 96vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  flex-wrap: nowrap;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
  font-size: 13px;
}

.footer-bottom-meta a {
  flex-shrink: 0;
}

.footer-beian-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  margin: 0;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ccc;
  text-decoration: underline;
}

/* 华为式底部法律链接：与备案同排、整体居中 */
.footer-legal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
}

.footer-legal a {
  position: relative;
  padding: 0 12px;
  color: #aaa;
  font-size: 13px;
  white-space: nowrap;
}

.footer-legal a:first-child {
  padding-left: 12px;
}

.footer-legal a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: #444;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: none;
}

/* ========== 二级页：联系我们 / 法律声明 / 隐私 / 除名 ========== */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.page-shell .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-shell .site-header .logo-text,
.page-shell .site-header .nav-link,
.page-shell .site-header .icon-btn {
  color: var(--ink);
}

.page-hero {
  background: linear-gradient(120deg, #061820 0%, #0a3d3a 55%, #125048 100%);
  color: #fff;
  padding: 72px 24px 56px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.page-hero p {
  margin: 0;
  opacity: 0.85;
  font-size: 16px;
}

.page-main {
  flex: 1;
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 48px 0 72px;
}

.page-main h2 {
  margin: 36px 0 12px;
  font-size: 20px;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}

.page-main h2:first-child {
  margin-top: 0;
}

.page-main p,
.page-main li {
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
}

.page-main ul {
  padding-left: 1.2em;
}

.page-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.page-contact-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.page-contact-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--ink);
}

.page-contact-card a {
  color: var(--teal);
  text-decoration: none;
}

.page-contact-card a:hover {
  text-decoration: underline;
}

.page-contact-card p {
  margin: 0 0 8px;
}

.removal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}

.removal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.removal-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
}

.removal-form input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d0d0d0;
  font-size: 15px;
  font-family: inherit;
}

.removal-form input:focus {
  outline: 2px solid rgba(139, 195, 74, 0.35);
  border-color: var(--green);
}

.removal-form button {
  margin-top: 8px;
  height: 44px;
  border: none;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
}

.removal-form button:hover {
  background: #0c4d49;
}

.removal-aside {
  padding: 24px;
  background: #f5f7f6;
  border: 1px solid var(--line);
}

.removal-aside h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.removal-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.removal-msg.is-error {
  color: #c62828;
}

.removal-msg.is-ok {
  color: #2e7d32;
}

.page-crumb {
  width: min(1400px, 92vw);
  margin: 0 auto;
  padding: 14px 0;
  font-size: 13px;
  color: #888;
  border-bottom: 1px solid var(--line);
}

.page-crumb a {
  color: #666;
  text-decoration: none;
}

.page-crumb a:hover {
  color: var(--teal);
}

@media (max-width: 900px) {
  .footer-bottom-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom-meta {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .page-contact-grid,
  .removal-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== Float：联系客服 / 公众号 / TOP ========== */
.float-side {
  position: fixed;
  right: 0;
  top: auto;
  bottom: 160px; /* 偏下，贴近参考站侧栏位置 */
  transform: none;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.float-item {
  position: relative;
  width: 52px;
  min-height: 56px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #1a73e8;
  color: #fff;
  border-radius: 0;
  box-sizing: border-box;
  text-align: center;
  transition: background 0.2s;
  cursor: pointer;
}

.float-item + .float-item {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.float-item:hover,
.float-item:focus-within {
  background: #1557b0;
}

.float-ico {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.float-item > span {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
}

.float-cs > span,
.float-qr > span {
  font-size: 11px;
}

.float-top {
  background: #444;
  transition:
    background 0.2s,
    opacity 0.25s ease,
    visibility 0.25s,
    transform 0.25s ease;
}

.float-top:hover {
  background: #333;
}

.float-top.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: var(--header-stack);
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    align-items: stretch;
    gap: 0;
    max-height: 70vh;
    overflow: auto;
    grid-column: 1 / -1;
    z-index: 5;
  }

  .main-nav.is-open .nav-link {
    color: #333 !important;
  }

  .mega-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    max-height: none;
  }

  .nav-item.is-open > .mega-menu {
    display: block;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
    width: 100%;
  }

  .mega-combo-inner {
    grid-template-columns: 1fr;
    padding-top: 12px;
    padding-bottom: 16px;
    max-height: none;
  }

  .mega-zone--products {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }

  .mega-zone--solutions {
    padding: 16px 0 8px;
  }

  .mega-zone-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .mega-zone-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mega-l1,
  .mega-l2 {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .mega-l3-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-solutions-inner {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-cta {
    display: none;
  }

  .banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 56px;
  }

  .banner-copy {
    text-align: center;
  }

  .banner-media {
    order: -1;
  }

  .shot-body,
  .shot-body.wide,
  .shot-body.cloud-ui,
  .shot-body.engine-ui {
    width: 220px;
    height: 150px;
  }

  .shot-body.round {
    width: 160px;
    height: 160px;
  }

  .banner-arrow {
    display: none;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-text,
  .split.reverse .split-card {
    order: unset;
  }

  .cloud-grid,
  .industry-grid,
  .biz-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-layout {
    grid-template-columns: 1fr;
  }

  .video-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .video-tabs li {
    flex: 1;
    min-width: 100px;
  }

  .solutions-stage {
    height: 420px;
  }

  .sol-panel .t1 {
    font-size: 16px;
  }

  .support-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .sub-links {
    gap: 12px;
    overflow-x: auto;
    max-width: 60vw;
  }
}

@media (max-width: 640px) {
  .cloud-grid,
  .industry-grid,
  .biz-grid,
  .news-grid,
  .support-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .solutions-panels {
    flex-wrap: wrap;
    height: auto;
    position: relative;
  }

  .solutions-stage {
    height: auto;
    min-height: 360px;
  }

  .sol-panel {
    flex: 1 1 33%;
    min-height: 100px;
    padding-bottom: 24px;
  }

  .banner {
    height: 100vh;
    height: 100dvh;
    min-height: 520px;
    max-height: 780px;
  }

  .lang {
    display: none;
  }
}
