/* 站点头部与首页大区块样式（全站 common/header 已带 body.zjmf-home-hw zjmf-home-page，与首页同一顶栏与顶距） */

body.zjmf-home-hw {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  padding-top: 108px;
}

/* 与首页一致：仅云脉顶栏一行，顶距与顶栏等高 */
body.zjmf-home-hw.zjmf-home-page {
  padding-top: 56px;
}

@media (min-width: 1200px) {
  body.zjmf-home-hw {
    padding-top: 56px;
  }
}

/* 顶栏：fixed 避免部分浏览器下 sticky 与下方区块组合时滚动「卡住」 */
body.zjmf-home-hw .header.hasBottom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
  overflow: visible;
}

body.zjmf-home-hw .header .navbar-default {
  background: #fff;
  border: none;
  margin-bottom: 0;
}

/* 全站：任意屏宽只保留云脉顶栏，隐藏下方 Bootstrap 白条 */
body.zjmf-home-hw.zjmf-home-page .header.hasBottom > .container {
  display: none !important;
}

@media (min-width: 1200px) {
  body.zjmf-home-hw .hw-top-bar-huawei {
    display: block !important;
  }

  body.zjmf-home-hw .header.hasBottom > .container {
    display: none !important;
  }
}

.hw-top-bar-huawei {
  overflow: visible;
  /* 与 .hw-top-bar-inner min-height 对齐，产品全宽下拉 top 用 */
  --hw-mega-top-offset: 56px;
}

.hw-top-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12px 0 8px;
  min-height: 56px;
  display: flex;
  align-items: center;
  overflow: visible;
  justify-content: space-between;
  gap: 16px;
}

.hw-top-bar-left {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.hw-bar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 14px;
}

.hw-bar-logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.hw-bar-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  /* 不可 overflow-x: auto，否则子级绝对定位的下拉会被裁切，悬停/点击都像「不展开」 */
  overflow-x: visible;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  min-width: 0;
}

.hw-bar-nav::-webkit-scrollbar {
  display: none;
}

.hw-bar-nav > a {
  flex-shrink: 0;
  padding: 6px 8px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.hw-bar-nav > a:hover,
.hw-bar-nav > a:focus {
  color: #1677ff;
  text-decoration: none;
}

/* 顶栏「产品」：悬停/聚焦展开；左一级、右二级（面板内不重复「产品」标题） */
.hw-bar-nav > .hw-bar-mega {
  position: relative;
  flex-shrink: 0;
  /* 向下扩展可悬停区域，与上拉的面板重叠，避免鼠标经过缝隙时菜单消失 */
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.hw-bar-nav > .hw-bar-mega .hw-bar-mega-trigger {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  font-size: 13px;
  color: #333;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

.hw-bar-nav > .hw-bar-mega .hw-bar-mega-trigger:hover,
.hw-bar-nav > .hw-bar-mega .hw-bar-mega-trigger:focus {
  color: #1677ff;
  outline: none;
}

.hw-bar-mega-panel {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% - 6px);
  width: min(720px, calc(100vw - 24px));
  min-width: 280px;
  z-index: 11000;
  padding-top: 2px;
  box-sizing: border-box;
}

/* 华为云官网同款：顶栏下全宽白底 mega（参考 https://www.huaweicloud.com 产品下拉） */
.hw-bar-mega-panel--huawei {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--hw-mega-top-offset, 56px);
  width: 100%;
  max-width: none;
  max-height: calc(100vh - var(--hw-mega-top-offset, 56px) - env(safe-area-inset-bottom, 0px));
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  align-items: stretch;
  z-index: 11000;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.hw-bar-mega-close {
  position: absolute;
  right: max(16px, env(safe-area-inset-right, 0px));
  top: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  font-family: inherit;
}

.hw-bar-mega-close:hover,
.hw-bar-mega-close:focus {
  color: #c7000b;
  background: #fff;
  outline: none;
}

.hw-bar-mega:hover .hw-bar-mega-panel:not(.hw-bar-mega-panel--huawei),
.hw-bar-mega:focus-within .hw-bar-mega-panel:not(.hw-bar-mega-panel--huawei),
.hw-bar-mega.is-open .hw-bar-mega-panel:not(.hw-bar-mega-panel--huawei) {
  display: block;
}

.hw-bar-mega:hover .hw-bar-mega-panel--huawei,
.hw-bar-mega:focus-within .hw-bar-mega-panel--huawei,
.hw-bar-mega.is-open .hw-bar-mega-panel--huawei {
  display: flex;
}

.hw-bar-mega-inner {
  display: flex;
  min-height: 220px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.hw-bar-mega-inner--huawei {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 320px;
  align-items: stretch;
  align-self: stretch;
  border-radius: 0;
  padding: 8px 12px 20px;
  box-shadow: none;
  border: none;
  background: #fff;
}

.hw-bar-mega-aside {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid #eee;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hw-bar-mega-viewall {
  display: block;
  padding: 10px 16px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.hw-bar-mega-viewall:hover,
.hw-bar-mega-viewall:focus {
  color: #c7000b;
  text-decoration: none;
  outline: none;
}

.hw-bar-mega-viewall-arr {
  color: #c7000b;
  font-weight: 400;
}

.hw-bar-mega-search-wrap {
  position: relative;
  margin: 0 12px 10px;
}

.hw-bar-mega-search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  opacity: 0.45;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='M15 15l6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hw-bar-mega-search {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px 8px 36px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  background: #fff;
  outline: none;
}

.hw-bar-mega-search:focus {
  border-color: #c7000b;
  box-shadow: 0 0 0 2px rgba(199, 0, 11, 0.12);
}

.hw-bar-mega-l1 {
  list-style: none;
  margin: 0;
  padding: 4px 0 12px;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}

.hw-bar-mega-l1 li {
  margin: 0;
}

.hw-bar-mega-l1 button,
.hw-bar-mega-l1 .hw-bar-mega-l1-btn {
  width: 100%;
  padding: 10px 14px 10px 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  border-left: 3px solid transparent;
}

.hw-bar-mega-l1 li.is-active button {
  font-weight: 700;
  color: #111;
  background: #fff;
  border-left-color: #c7000b;
}

.hw-bar-mega-l1 li:not(.is-active) button:hover,
.hw-bar-mega-l1 li:not(.is-active) button:focus {
  background: rgba(199, 0, 11, 0.04);
  color: #c7000b;
  outline: none;
}

.hw-bar-mega-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}

.hw-bar-mega-center-placeholder {
  padding: 24px 20px;
  flex: 1 1 auto;
}

.hw-bar-mega-center-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.hw-bar-mega-recent-block {
  flex-shrink: 0;
  padding: 12px 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hw-bar-mega-recent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-bottom: 10px;
}

.hw-bar-mega-recent-link {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.hw-bar-mega-recent-link:hover,
.hw-bar-mega-recent-link:focus {
  color: #c7000b;
  text-decoration: underline;
  outline: none;
}

.hw-bar-mega-panes {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow-y: auto;
  padding: 0 20px 16px;
}

.hw-bar-mega-pane {
  display: none;
}

.hw-bar-mega-pane.is-visible {
  display: block;
}

.hw-bar-mega-cat-title {
  margin: 16px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
}

.hw-bar-mega-section {
  margin-bottom: 8px;
}

.hw-bar-mega-sec-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #888;
}

.hw-bar-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 12px;
}

.hw-bar-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.hw-bar-mega-item:hover,
.hw-bar-mega-item:focus {
  background: #f7f8fa;
  outline: none;
}

.hw-bar-mega-item.is-hidden {
  display: none;
}

.hw-bar-mega-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.hw-bar-mega-item-icon--img {
  overflow: hidden;
  background: #f0f0f0;
}

.hw-bar-mega-item-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hw-bar-mega-item-body {
  min-width: 0;
  flex: 1 1 auto;
}

.hw-bar-mega-item-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.hw-bar-mega-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.hw-bar-mega-item-hot {
  display: inline-block;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  color: #fff;
  background: #c7000b;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.hw-bar-mega-item-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #888;
}

.hw-bar-mega-promo {
  width: 216px;
  flex-shrink: 0;
  padding: 12px 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
  border-left: 1px solid #eee;
}

.hw-bar-mega-promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 118px;
  padding: 13px 13px 11px;
  border-radius: 10px;
  text-decoration: none;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.hw-bar-mega-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 0;
}

.hw-bar-mega-promo-card > span {
  position: relative;
  z-index: 1;
}

.hw-bar-mega-promo-card--a {
  background: linear-gradient(135deg, #1a5fb4 0%, #0d3d82 55%, #062a5c 100%);
}

.hw-bar-mega-promo-card--b {
  background: linear-gradient(135deg, #c7000b 0%, #8a0007 50%, #5c0005 100%);
}

.hw-bar-mega-promo-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.hw-bar-mega-promo-desc {
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.92;
}

.hw-bar-mega-empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.45);
}

@media (max-width: 900px) {
  .hw-bar-mega-inner--huawei {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hw-bar-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hw-bar-mega-promo {
    width: 188px;
  }
}

@media (max-width: 720px) {
  .hw-bar-mega-inner--huawei {
    flex-direction: column;
    max-width: 100%;
    max-height: none;
    min-height: 0;
  }

  .hw-bar-mega-aside {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .hw-bar-mega-l1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 4px 8px 8px;
    max-height: none;
    overflow: visible;
  }

  .hw-bar-mega-l1 li {
    flex: 1 1 50%;
  }

  .hw-bar-mega-l1 button {
    padding: 8px 10px;
    font-size: 13px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .hw-bar-mega-l1 li.is-active button {
    border-left-color: transparent;
    border-bottom-color: #c7000b;
  }

  .hw-bar-mega-promo {
    width: 100%;
    flex-direction: row;
    border-left: none;
    border-top: 1px solid #eee;
  }

  .hw-bar-mega-promo-card {
    flex: 1 1 50%;
    min-height: 100px;
  }

  .hw-bar-mega-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hw-bar-mega-inner:not(.hw-bar-mega-inner--huawei) {
    flex-direction: column;
    min-height: 0;
  }

  .hw-bar-mega-inner:not(.hw-bar-mega-inner--huawei) .hw-bar-mega-l1 {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 4px 0;
  }

  .hw-bar-mega-inner:not(.hw-bar-mega-inner--huawei) .hw-bar-mega-l1 li {
    flex: 1 1 50%;
  }

  .hw-bar-mega-inner:not(.hw-bar-mega-inner--huawei) .hw-bar-mega-l1 button {
    padding: 8px 10px;
    font-size: 13px;
  }
}

.hw-top-bar-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  padding-left: 12px;
}

.hw-top-bar-right > a:not(.hw-bar-reg) {
  padding: 6px 8px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.hw-top-bar-right > a:not(.hw-bar-reg):hover {
  color: #1677ff;
  text-decoration: none;
}

.hw-bar-reg {
  display: inline-block;
  margin-left: 6px;
  padding: 7px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #fff !important;
  background: #1677ff;
  border-radius: 999px;
  text-decoration: none !important;
  border: none;
}

.hw-bar-reg:hover,
.hw-bar-reg:focus {
  background: #0958d9;
  color: #fff !important;
}

/* 顶栏：已登录用户名 + 悬停/聚焦下拉菜单 */
.hw-user-menu {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  margin-left: 2px;
  outline: none;
}

.hw-user-menu:focus-visible {
  outline: 2px solid rgba(22, 119, 255, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.hw-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 10px;
  font-size: 14px;
  color: #333;
  cursor: default;
  user-select: none;
  border-radius: 4px 4px 0 0;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.hw-user-name {
  max-width: 10em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hw-user-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #6b7280;
  margin-top: 1px;
  flex-shrink: 0;
}

.hw-user-dropdown {
  display: block;
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  min-width: 268px;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 0 1px rgba(15, 23, 42, 0.08);
  z-index: 1050;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transform-origin: top right;
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.22s;
}

.hw-user-menu:hover .hw-user-dropdown,
.hw-user-menu:focus-within .hw-user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hw-user-dropdown {
    transition-duration: 0.01ms;
    transform: translateY(0);
  }
}

.hw-user-menu:hover .hw-user-trigger,
.hw-user-menu:focus-within .hw-user-trigger {
  background: #fff;
  position: relative;
  z-index: 1051;
  box-shadow: 0 1px 0 #fff;
}

.hw-user-dropdown-head {
  padding: 14px 16px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hw-user-balance {
  padding: 12px 16px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hw-user-balance-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.hw-user-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hw-user-balance-num {
  font-size: 20px;
  font-weight: 600;
  color: #1677ff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hw-user-recharge {
  flex-shrink: 0;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1677ff !important;
  text-decoration: none !important;
  border: 1px solid rgba(22, 119, 255, 0.45);
  border-radius: 4px;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hw-user-recharge:hover {
  background: rgba(22, 119, 255, 0.06);
  border-color: #1677ff;
  color: #1677ff !important;
}

.hw-user-links {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.hw-user-links li {
  margin: 0;
}

.hw-user-links a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #374151 !important;
  text-decoration: none !important;
  transition: background 0.12s ease, color 0.12s ease;
}

.hw-user-links a:hover {
  background: #f9fafb;
  color: #1677ff !important;
}

.hw-user-dropdown-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 16px 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.hw-user-dropdown-foot a {
  font-size: 13px;
  color: #374151 !important;
  text-decoration: none !important;
}

.hw-user-dropdown-foot a:hover {
  color: #1677ff !important;
}

/* Bootstrap 导航条内的用户菜单（内页大屏） */
.hw-navbar-user-item {
  position: relative;
}

.hw-navbar-user-item .hw-user-menu--nav {
  display: block;
  padding: 12px 10px;
}

.hw-navbar-user-item .hw-user-trigger {
  padding: 6px 10px;
}

.hw-navbar-user-item .hw-user-dropdown {
  right: 0;
  left: auto;
}

/* 非首页：隐藏静态主导航，沿用后台菜单 */
.hw-site-nav {
  display: none !important;
}

/* 首页小屏：仍用原导航 + 四链；大屏顶栏已换云脉条 */
body.zjmf-home-hw .hw-site-nav {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  float: none;
  margin: 0;
}

@media (max-width: 1199px) {
  body.zjmf-home-hw .hw-site-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  body.zjmf-home-hw .hw-site-nav > li > a {
    padding: 12px 15px;
  }
}

body.zjmf-home-hw .www-top-menu {
  display: none !important;
}

body.zjmf-home-hw .hw-site-nav > li > a {
  color: #666 !important;
  font-size: 15px;
  font-weight: 400;
  padding: 18px 14px;
  margin-right: 2px;
}

body.zjmf-home-hw .hw-site-nav > li > a:hover,
body.zjmf-home-hw .hw-site-nav > li > a:focus {
  color: #1677ff !important;
  background: transparent !important;
}

body.zjmf-home-hw .header .container {
  padding-left: 10px;
  padding-right: 16px;
  max-width: 1280px;
}

body.zjmf-home-hw .header .navbar-header {
  margin-right: 8px;
}

body.zjmf-home-hw .header .navbar-brand {
  margin-left: 0;
  margin-right: 4px;
}

@media (min-width: 1200px) {
  body.zjmf-home-hw .header .navbar > .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  body.zjmf-home-hw #bs-example-navbar-collapse-1 {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    border-top: none;
    box-shadow: none;
    float: none;
  }

  body.zjmf-home-hw #bs-example-navbar-collapse-1 .hw-site-nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    margin-right: auto;
  }

  body.zjmf-home-hw #bs-example-navbar-collapse-1 .navbar-right {
    float: none !important;
    display: flex !important;
    align-items: center;
    margin: 0;
  }
}

body.zjmf-home-hw .header .navbar-right > li > a {
  color: #666 !important;
  font-size: 15px;
  padding: 8px 12px;
}

body.zjmf-home-hw .header .navbar-right > li.register > a {
  background: #1677ff !important;
  color: #fff !important;
  border-radius: 999px;
}

body.zjmf-home-hw .header .navbar-right > li.register > a:hover {
  background: #0958d9 !important;
}

/* Hero：底层视频 + 上层 Swiper 文案（高度略低于旧版，贴近云参考站首屏比例） */
.hw-hero {
  position: relative;
  margin-top: 0;
  height: min(46vh, 440px);
  min-height: 360px;
  overflow: hidden;
  background: #e8eaed;
}

@media (min-width: 992px) {
  .hw-hero {
    height: min(52vh, 500px);
    min-height: 420px;
  }
}

.hw-hero-video-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hw-hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hw-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.65) 45%,
    rgba(255, 255, 255, 0.35) 100%
  );
}

.hw-hero .swiper-container {
  position: relative;
  z-index: 2;
  height: min(46vh, 440px);
  min-height: 360px;
}

@media (min-width: 992px) {
  .hw-hero .swiper-container {
    height: min(52vh, 500px);
    min-height: 420px;
  }
}

/* fade 模式下满高，文案在可视区域垂直居中 */
.hw-hero .swiper-wrapper {
  height: 100%;
}

.hw-hero .swiper-slide {
  background: transparent;
  box-sizing: border-box;
  height: 100%;
}

/* 文案锚在轮播视频区域垂直中部（略偏下避开顶栏视觉重心） */
.hw-hero .swiper-slide > .container.hw-hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(calc(-50% + 28px));
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-bottom: 40px;
}

.hw-hero h1 {
  margin: 0 0 20px;
  font-size: 36px;
  font-weight: 600;
  color: #000;
  line-height: 1.25;
  max-width: 720px;
}

@media (min-width: 768px) {
  .hw-hero h1 {
    font-size: 44px;
  }
}

.hw-hero .hw-hero-sub {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 640px;
}

.hw-hero .hw-cta {
  display: inline-block;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.hw-hero .hw-cta:hover {
  border-color: #1677ff;
  color: #1677ff;
  text-decoration: none;
}

.hw-hero .swiper-pagination {
  bottom: 28px !important;
}

.hw-hero .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.hw-hero .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 4px;
  background: #1677ff;
  border-color: #1677ff;
}

/* 四格推广条 */
.hw-promo-bar {
  background: #f5f5f5;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.hw-promo-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.hw-promo-card {
  flex: 1 1 50%;
  min-width: 140px;
  padding: 28px 24px;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

@media (min-width: 768px) {
  .hw-promo-card {
    flex: 1 1 25%;
    border-bottom: none;
  }
}

.hw-promo-card:last-child {
  border-right: none;
}

.hw-promo-card:hover {
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.hw-promo-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.hw-promo-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

/* 首页首屏下方：产品展示 */
.hw-cloud-lead {
  margin: -1rem auto 1.75rem;
  max-width: 56rem;
  padding: 0 8px;
  text-align: center;
  font-size: clamp(14px, 0.35vw + 13px, 16px);
  line-height: 1.6;
  color: #555;
}

.hw-cloud-card-price {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1677ff;
}

.hw-cloud-card-media--placeholder {
  background: linear-gradient(135deg, #eef3ff 0%, #e4ebf7 45%, #dce6f5 100%);
  min-height: clamp(160px, 22vw, 220px);
}

.hw-cloud-card--skeleton {
  pointer-events: none;
}

.hw-cloud-card--skeleton .hw-skel-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eee 0%, #f5f5f5 50%, #eee 100%);
  background-size: 200% 100%;
  animation: hw-skel-shimmer 1.2s ease-in-out infinite;
  margin-bottom: 12px;
}

.hw-cloud-card--skeleton .hw-skel-line--short {
  width: 62%;
}

@keyframes hw-skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.hw-home-product-fallback {
  margin: 1rem auto 0;
  max-width: 56rem;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* 产品展示：一级分组宫格（HTML：hw-fg-board；最多 8 项 · 桌面 4×2） */
.hw-fg-board-wrap {
  position: relative;
  z-index: 0;
  max-width: min(1460px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 0 clamp(12px, 2.4vw, 22px);
}

.hw-fg-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  align-content: start;
  min-height: min(260px, 36vh);
}

.hw-fg-board > .hw-fg-loading,
.hw-fg-board > .hw-fg-empty {
  grid-column: 1 / -1;
}

@media (max-width: 991px) {
  .hw-fg-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .hw-fg-board {
    grid-template-columns: 1fr;
  }
}

.hw-fg-card {
  position: relative;
  display: block;
  box-sizing: border-box;
  min-height: clamp(150px, 20vw, 190px);
  padding: clamp(18px, 1.6vw, 22px) clamp(16px, 1.5vw, 20px);
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

a.hw-fg-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.hw-fg-card-title {
  margin: 0 0 10px;
  padding-right: 2.5rem;
  font-size: clamp(16px, 1vw + 14px, 20px);
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.hw-fg-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #6b7280;
}

.hw-fg-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  z-index: 1;
  width: 120px;
  text-align: center;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(22, 119, 255, 0.35);
  pointer-events: none;
  letter-spacing: 0.04em;
}

.hw-fg-empty,
.hw-fg-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #9ca3af;
  font-size: 14px;
}

.hw-fg-loading {
  gap: 10px;
}

.hw-fg-loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  animation: hw-fg-bounce 0.9s ease-in-out infinite;
}

.hw-fg-loading-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.hw-fg-loading-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes hw-fg-bounce {
  0%,
  80%,
  100% {
    transform: scale(0.65);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 云上 AI / 产品展示：四卡流体适配（大屏舒适、小屏不挤，随视口伸缩） */
.hw-cloud-section {
  padding: clamp(48px, 5vw, 72px) 0 clamp(56px, 6vw, 88px);
  background: #fff;
}

.hw-cloud-wrap {
  padding-left: clamp(12px, 2.4vw, 22px);
  padding-right: clamp(12px, 2.4vw, 22px);
}

.hw-cloud-inner {
  width: 100%;
  max-width: min(1460px, calc(100vw - 28px));
  margin: 0 auto;
}

/* 版块总标题：产品展示 / 云服务器性能 / 技术即引擎 / 成熟行业实践 —— 同级大标题 */
.hw-cloud-title,
.hw-models-title,
.hw-product-showcase-title,
.hw-solutions-title,
.hw-infra-title {
  text-align: center;
  font-size: clamp(1.625rem, 2vw + 1rem, 2.375rem);
  font-weight: 600;
  color: #000;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

@media (min-width: 1200px) {
  .hw-cloud-title,
  .hw-models-title,
  .hw-product-showcase-title,
  .hw-solutions-title,
  .hw-infra-title {
    font-size: clamp(2rem, 2.2vw + 1rem, 2.5rem);
  }
}

.hw-cloud-title {
  margin: 0 auto clamp(32px, 3.5vw, 52px);
  max-width: 56rem;
  padding: 0 8px;
}

/* Grid 四等分 */
.hw-cloud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  margin: 0;
}

@media (min-width: 768px) {
  .hw-cloud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 22px);
  }
}

@media (min-width: 992px) {
  .hw-cloud-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 2.2vw, 28px);
  }
}

.hw-cloud-card {
  display: flex;
  flex-direction: column;
  min-height: clamp(430px, 56vw, 505px);
  padding: 0;
  overflow: hidden;
  border-radius: clamp(15px, 1vw, 18px);
  border: 1px solid #ebebeb;
  background: #fff;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.055);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

@media (min-width: 768px) {
  .hw-cloud-card {
    min-height: clamp(445px, 46vw, 525px);
  }
}

@media (min-width: 992px) {
  .hw-cloud-card {
    min-height: clamp(475px, 38vw, 560px);
  }
}

.hw-cloud-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #e0e0e0;
  text-decoration: none;
  color: inherit;
}

.hw-cloud-card-body {
  flex: 0 0 auto;
  padding: clamp(18px, 1.9vw, 26px) clamp(16px, 1.65vw, 24px) clamp(14px, 1.45vw, 20px);
  text-align: left;
}

.hw-cloud-card--codearts .hw-cloud-card-body {
  background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 45%, #fff 100%);
}

.hw-cloud-card--modelarts .hw-cloud-card-body {
  background: #fff;
}

/* 第三张：原版整卡暖橙粉渐变，与左右白底卡区分 */
.hw-cloud-card--maas {
  border-color: #f0e0d4;
  background: linear-gradient(
    165deg,
    #fffdfb 0%,
    #fff4ea 18%,
    #ffe8d4 42%,
    #ffd8c8 68%,
    #fff0e8 100%
  );
}

.hw-cloud-card--maas .hw-cloud-card-body {
  background: transparent;
}

.hw-cloud-card--maas .hw-cloud-card-media {
  background: transparent;
}

.hw-cloud-card--agentarts .hw-cloud-card-body {
  background: linear-gradient(180deg, #eef5fc 0%, #f7fbff 50%, #fff 100%);
}

.hw-cloud-card h3 {
  margin: 0 0 clamp(8px, 0.85vw, 11px);
  font-size: clamp(16px, 0.65vw + 14px, 19px);
  font-weight: 600;
  color: #000;
  line-height: 1.35;
}

.hw-cloud-card-desc {
  margin: 0;
  font-size: clamp(13px, 0.42vw + 12px, 15px);
  line-height: 1.62;
  color: #595959;
}

.hw-cloud-card-btn {
  display: inline-block;
  margin-top: clamp(14px, 1.5vw, 20px);
  padding: clamp(7px, 0.6vw, 9px) clamp(16px, 1.7vw, 24px);
  font-size: clamp(13px, 0.32vw + 12px, 14px);
  color: #333;
  background: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 999px;
  line-height: 1.45;
}

.hw-cloud-card:hover .hw-cloud-card-btn {
  border-color: #8c8c8c;
  color: #000;
}

/* 图示区高度随视口变化，避免大屏过小、小屏撑爆 */
.hw-cloud-card-media {
  position: relative;
  flex: 1 1 0;
  width: 100%;
  min-height: clamp(232px, 32vw, 292px);
  margin-top: auto;
  overflow: hidden;
  background: #ededed;
}

@media (min-width: 768px) {
  .hw-cloud-card-media {
    min-height: clamp(242px, 28vw, 308px);
  }
}

@media (min-width: 992px) {
  .hw-cloud-card-media {
    min-height: clamp(258px, 24vw, 330px);
  }
}

.hw-cloud-card-media img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

/* MaaS 车图略偏中上展示，更接近原版构图 */
.hw-cloud-card--maas .hw-cloud-card-media img {
  object-position: center 42%;
}

/* 云服务器性能：左 accordion + 右侧产品视觉 */
.hw-models-section {
  padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px);
  background: #fff;
}

.hw-models-title {
  margin: 0 auto clamp(12px, 1.2vw, 16px);
  padding: 0 8px;
  max-width: 56rem;
}

.hw-models-lead {
  margin: 0 auto clamp(28px, 3.2vw, 44px);
  padding: 0 8px;
  max-width: 42rem;
  text-align: center;
  font-size: clamp(14px, 0.35vw + 13px, 16px);
  line-height: 1.65;
  color: #5c6370;
}

.hw-models-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.2vw, 36px);
  align-items: stretch;
  background: #f5f6f8;
  border-radius: 22px;
  padding: clamp(22px, 2.8vw, 42px);
  border: 1px solid #ececec;
}

@media (min-width: 992px) {
  .hw-models-panel {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1.28fr);
    gap: clamp(26px, 3.2vw, 44px);
  }
}

.hw-models-accordion {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eaeaea;
  overflow: hidden;
}

.hw-acc-item + .hw-acc-item {
  border-top: 1px solid #eee;
}

.hw-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: inherit;
  color: #000;
}

.hw-acc-trigger:hover {
  background: #fafafa;
}

.hw-acc-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

/* 缩略图：替换 assets/img/home/hw-models-acc-*.svg 或改为 .png 即可 */
.hw-acc-thumb {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  background: #f0f0f0;
}

.hw-acc-thumb-img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.hw-acc-titles {
  display: block;
  min-width: 0;
}

.hw-acc-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8c8c8c;
  text-transform: uppercase;
}

.hw-acc-titles .hw-acc-name {
  display: block;
  margin-top: 4px;
  font-size: clamp(15px, 0.45vw + 14px, 17px);
  font-weight: 600;
  line-height: 1.35;
  color: #141414;
}

.hw-acc-icon {
  flex-shrink: 0;
  margin-left: 4px;
  color: #666;
  font-size: 14px;
}

/* 手风琴高度动画：grid 0fr→1fr，需 .hw-acc-panel-inner 包一层以正确裁剪内容 */
.hw-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.hw-acc-item.is-open .hw-acc-panel {
  grid-template-rows: 1fr;
}

.hw-acc-panel-inner {
  overflow: hidden;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hw-acc-panel {
    transition-duration: 0.01ms;
  }
}

.hw-acc-panel-body {
  padding: 4px 22px 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.hw-acc-lead {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: #1f2937;
}

.hw-acc-bullets {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.hw-acc-bullets li {
  margin: 0 0 10px;
  padding-left: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #4b5563;
}

.hw-acc-bullets li:last-child {
  margin-bottom: 0;
}

.hw-acc-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #666;
}

.hw-acc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hw-models-btn {
  display: inline-block;
  padding: 8px 22px;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none !important;
  line-height: 1.4;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s;
}

.hw-models-btn--solid {
  background: #000;
  color: #fff !important;
  border: 1px solid #000;
}

.hw-models-btn--solid:hover {
  opacity: 0.85;
  color: #fff !important;
}

.hw-models-btn--ghost {
  background: #fff;
  color: #000 !important;
  border: 1px solid #333;
}

.hw-models-btn--ghost:hover {
  border-color: #000;
  color: #000 !important;
}

.hw-models-video-col {
  min-height: 280px;
  display: flex;
}

.hw-models-video-wrap {
  flex: 1;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a2e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hw-models-video-el {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .hw-models-video-col {
    min-height: 340px;
  }

  .hw-models-video-el {
    min-height: 340px;
  }
}

/* 技术即引擎：Tab + 左大卡（码道）+ 右 2×2 产品 */
.hw-product-showcase {
  padding: clamp(48px, 5vw, 80px) 0 clamp(56px, 6vw, 96px);
  background: #fff;
}

.hw-product-showcase-title {
  margin: 0 auto clamp(28px, 3vw, 44px);
  padding: 0 8px;
  max-width: 56rem;
}

.hw-product-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 4px clamp(12px, 2vw, 28px);
  margin: 0 auto clamp(28px, 3.5vw, 44px);
  padding: 0 4px 1px;
  max-width: 1100px;
  border-bottom: 1px solid #e8e8e8;
}

/* 底部激活条：由 JS 设置 width + translateX，切换 Tab 时横向滑到新按钮下 */
.hw-product-tabs-indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 2;
  height: 3px;
  width: 0;
  border-radius: 2px 2px 0 0;
  background: #000;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.22s cubic-bezier(0.34, 1.12, 0.64, 1), width 0.22s cubic-bezier(0.34, 1.12, 0.64, 1);
  will-change: transform, width;
}

.hw-product-tab {
  margin: 0;
  padding: 10px 2px 14px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: none;
  font-size: clamp(14px, 0.35vw + 13px, 16px);
  color: #555;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease, font-weight 0.22s ease, transform 0.22s ease;
}

.hw-product-tab:active {
  transform: translateY(1px);
}

.hw-product-tab:hover {
  color: #000;
}

.hw-product-tab.is-active {
  color: #000;
  font-weight: 600;
}

.hw-product-panels {
  width: 100%;
}

/* 多面板叠层：淡入 + 轻微上移（避免用 hidden，否则无法过渡） */
.hw-product-panels--stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.hw-product-panels--stack > .hw-product-panel {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.36s;
}

.hw-product-panels--stack > .hw-product-panel.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s, 0s, 0s;
}

@keyframes hw-product-child-in {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hw-product-panels--stack > .hw-product-panel.is-active .hw-product-hero,
.hw-product-panels--stack > .hw-product-panel.is-active .hw-product-card {
  animation: hw-product-child-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hw-product-panels--stack > .hw-product-panel.is-active .hw-product-hero {
  animation-delay: 0.02s;
}

.hw-product-panels--stack > .hw-product-panel.is-active .hw-product-card:nth-child(1) {
  animation-delay: 0.04s;
}

.hw-product-panels--stack > .hw-product-panel.is-active .hw-product-card:nth-child(2) {
  animation-delay: 0.08s;
}

.hw-product-panels--stack > .hw-product-panel.is-active .hw-product-card:nth-child(3) {
  animation-delay: 0.12s;
}

.hw-product-panels--stack > .hw-product-panel.is-active .hw-product-card:nth-child(4) {
  animation-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .hw-product-panels--stack > .hw-product-panel {
    transform: none;
    transition: opacity 0.12s ease, visibility 0s linear 0.12s;
  }

  .hw-product-tab:active {
    transform: none;
  }

  .hw-product-tabs-indicator {
    transition-duration: 0.04s;
  }

  .hw-product-panels--stack > .hw-product-panel.is-active .hw-product-hero,
  .hw-product-panels--stack > .hw-product-panel.is-active .hw-product-card {
    animation: none;
  }
}

.hw-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.2vw, 26px);
  align-items: stretch;
}

@media (min-width: 992px) {
  .hw-product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.hw-product-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(380px, 52vw, 480px);
  overflow: hidden;
  border-radius: clamp(14px, 1vw, 18px);
  border: 1px solid #eaeaea;
  background: #fff;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.05);
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.25s, transform 0.25s;
}

@media (min-width: 992px) {
  .hw-product-hero {
    min-height: 100%;
  }
}

.hw-product-hero:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.hw-product-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://res-static.hc-cdn.cn/cloudbu-site/china/zh-cn/advertisement/smart_for_homepage_product/background/codeartsv2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left bottom;
  pointer-events: none;
}

/* 各 Tab 主卡背景：同底图 + 色相微调，区分栏目氛围 */
.hw-product-hero-bg--featured {
  filter: none;
}

.hw-product-hero-bg--ai {
  filter: hue-rotate(200deg) saturate(1.15) brightness(0.93);
}

.hw-product-hero-bg--compute {
  filter: hue-rotate(-28deg) saturate(1.08) brightness(0.98);
}

.hw-product-hero-bg--storage {
  filter: hue-rotate(130deg) saturate(1.12) brightness(0.96);
}

.hw-product-hero-bg--network {
  filter: hue-rotate(275deg) saturate(1.08) brightness(0.94);
}

.hw-product-hero-bg--database {
  filter: hue-rotate(315deg) saturate(1.1) brightness(0.95);
}

.hw-product-hero-bg--security {
  filter: hue-rotate(345deg) saturate(1.12) contrast(1.04) brightness(0.93);
}

@media (prefers-reduced-motion: reduce) {
  .hw-product-hero-bg--ai,
  .hw-product-hero-bg--compute,
  .hw-product-hero-bg--storage,
  .hw-product-hero-bg--network,
  .hw-product-hero-bg--database,
  .hw-product-hero-bg--security {
    filter: none;
  }
}

.hw-product-hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(380px, 52vw, 480px);
  padding: clamp(22px, 2.5vw, 34px);
}

.hw-product-hero-icon {
  width: clamp(52px, 5vw, 64px);
  height: clamp(52px, 5vw, 64px);
  object-fit: contain;
  margin-bottom: 18px;
}

.hw-product-hero h3 {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.1vw + 14px, 22px);
  font-weight: 600;
  color: #000;
  line-height: 1.35;
  max-width: 20em;
}

.hw-product-hero .hw-product-hero-desc {
  margin: 0 0 auto;
  padding-bottom: 22px;
  font-size: clamp(14px, 0.4vw + 13px, 16px);
  line-height: 1.65;
  color: #555;
  max-width: 22em;
}

.hw-product-hero:hover .hw-cloud-card-btn {
  border-color: #8c8c8c;
  color: #000;
}

.hw-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  min-height: 0;
}

.hw-product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: clamp(13px, 0.9vw, 16px);
  border: 1px solid #eaeaea;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.hw-product-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #e0e0e0;
}

.hw-product-card-icon {
  width: clamp(48px, 4.5vw, 56px);
  height: clamp(48px, 4.5vw, 56px);
  object-fit: contain;
  margin-bottom: 16px;
}

.hw-product-card h3 {
  margin: 0 0 10px;
  font-size: clamp(15px, 0.5vw + 14px, 17px);
  font-weight: 600;
  color: #000;
  line-height: 1.35;
}

.hw-product-card .hw-product-card-desc {
  margin: 0 0 auto;
  padding-bottom: 18px;
  font-size: clamp(13px, 0.35vw + 12px, 14px);
  line-height: 1.62;
  color: #666;
  flex: 1 1 auto;
}

.hw-product-card:hover .hw-cloud-card-btn {
  border-color: #8c8c8c;
  color: #000;
}

.hw-product-showcase-footer {
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
}

.hw-product-showcase-footer a {
  font-size: clamp(15px, 0.4vw + 14px, 17px);
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.hw-product-showcase-footer a:hover {
  color: #1677ff;
}

/* 成熟行业实践：Tab + 横向轮播（右箭头看教育等后续卡片） */
.hw-solutions-section {
  padding: clamp(48px, 5vw, 80px) 0 clamp(56px, 6vw, 96px);
  background: #fff;
}

.hw-solutions-title {
  margin: 0 auto clamp(28px, 3vw, 44px);
  padding: 0 8px;
  max-width: 56rem;
}

.hw-solutions-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px clamp(20px, 4vw, 48px);
  margin: 0 auto clamp(28px, 3.5vw, 44px);
  padding: 0 4px 1px;
  max-width: 720px;
  border-bottom: 1px solid #e8e8e8;
}

.hw-solutions-tab {
  margin: 0;
  padding: 10px 4px 14px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: none;
  font-size: clamp(14px, 0.4vw + 13px, 16px);
  color: #777;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.hw-solutions-tab:hover {
  color: #000;
}

.hw-solutions-tab.is-active {
  color: #000;
  font-weight: 600;
  border-bottom-color: #000;
}

/* 轮播突破中间栏 max-width，贴齐视口左右用满横向空间（标题区仍在 hw-cloud-inner 内居中） */
.hw-solutions-section .hw-solutions-panel--industry {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.hw-solutions-swiper-outer {
  position: relative;
  margin: 0;
  /* 仅留极小安全边距，避免卡片「悬空」在大块留白中间 */
  padding: 0 max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px));
}

.hw-industry-swiper {
  overflow: hidden;
  padding-bottom: 4px;
}

.hw-industry-swiper .swiper-slide {
  width: clamp(248px, 72vw, 288px);
  height: auto;
}

@media (min-width: 768px) {
  .hw-industry-swiper .swiper-slide {
    width: clamp(258px, 30vw, 300px);
  }
}

@media (min-width: 1200px) {
  .hw-industry-swiper .swiper-slide {
    width: clamp(268px, 19vw, 318px);
  }
}

/* 整卡背景图 + 顶部文案叠层（非「白底 + 下图」拼贴） */
.hw-solution-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: clamp(420px, 50vh, 500px);
  overflow: hidden;
  border-radius: clamp(16px, 1.1vw, 20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #e8eaee;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
  text-decoration: none !important;
  transition: box-shadow 0.25s, transform 0.25s;
}

.hw-solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* 浅底图卡片：顶部浅色渐变衬底，深色字 */
.hw-solution-card--text-dark::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.72) 28%,
    rgba(255, 255, 255, 0.25) 58%,
    transparent 82%
  );
}

/* 深/艳底图卡片：顶部暗角渐变，浅色字 */
.hw-solution-card--text-light::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.22) 38%,
    transparent 78%
  );
}

.hw-solution-card-inner {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3.2vw, 42px) clamp(22px, 2.6vw, 38px) 20px;
  max-width: 100%;
}

.hw-solution-card-inner h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.15vw + 14px, 24px);
  font-weight: 600;
  line-height: 1.28;
}

.hw-solution-card-inner p {
  margin: 0;
  font-size: clamp(13px, 0.42vw + 12px, 15px);
  line-height: 1.68;
}

.hw-solution-card--text-dark .hw-solution-card-inner h3 {
  color: #000;
}

.hw-solution-card--text-dark .hw-solution-card-inner p {
  color: rgba(0, 0, 0, 0.72);
}

.hw-solution-card--text-light .hw-solution-card-inner h3,
.hw-solution-card--text-light .hw-solution-card-inner p {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hw-solution-card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.hw-industry-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hw-industry-nav:hover {
  background: #fff;
  border-color: #bbb;
  color: #000;
}

.hw-industry-nav:focus {
  outline: 2px solid #1677ff;
  outline-offset: 2px;
}

.hw-industry-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.hw-industry-nav--prev {
  left: max(4px, env(safe-area-inset-left, 0px));
}

.hw-industry-nav--next {
  right: max(4px, env(safe-area-inset-right, 0px));
}

.hw-industry-nav .fa {
  font-size: 18px;
  line-height: 42px;
}

.hw-solutions-footer {
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
}

.hw-solutions-footer a {
  font-size: clamp(15px, 0.4vw + 14px, 17px);
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.hw-solutions-footer a:hover {
  color: #1677ff;
}

.hw-solutions-placeholder {
  margin: 0;
  padding: 48px 16px;
  text-align: center;
  font-size: 15px;
  color: #888;
}

/* 全球客户案例：全宽大图 + 顶栏居中；主文案区在剩余高度内垂直居中、左对齐（对齐站内边距） */
.hw-customer-case {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: clamp(580px, 82vh, 880px);
  overflow: hidden;
  background: #1a2332;
}

.hw-customer-case-media {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: opacity 0.45s ease;
}

.hw-customer-case-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* 必应类高亮壁纸：加深遮光，保证白字与 Tab 可读 */
  background:
    linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.42) 36%,
      rgba(0, 0, 0, 0.24) 68%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.52) 100%);
}

.hw-customer-case-wrap {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(44px, 7vw, 96px);
  padding-left: max(clamp(12px, 2.4vw, 22px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(12px, 2.4vw, 22px), env(safe-area-inset-right, 0px));
}

.hw-customer-case-header {
  flex: 0 0 auto;
}

.hw-customer-case-heading {
  margin: 0 auto clamp(22px, 3vw, 36px);
  max-width: min(52rem, 92vw);
  text-align: center;
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2.35rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hw-customer-case-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px clamp(10px, 2vw, 22px);
  margin: 0 auto 0;
  padding: 0 4px 12px;
  max-width: min(1100px, 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hw-customer-case-main {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
  padding-top: clamp(20px, 3.5vw, 40px);
}

.hw-customer-case-tab {
  margin: 0;
  padding: 8px 2px 12px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -13px;
  background: none;
  font-size: clamp(13px, 0.35vw + 12px, 15px);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.hw-customer-case-tab:hover {
  color: #fff;
}

.hw-customer-case-tab.is-active {
  color: #fff;
  font-weight: 600;
  border-bottom-color: #fff;
}

.hw-customer-case-panels {
  width: 100%;
  max-width: min(1460px, 100%);
  margin: 0;
  /* 主文案相对左缘向右挪，落在湖面「中间偏左」，不与导航栏贴死 */
  padding-left: clamp(20px, 5.5vw, 140px);
  box-sizing: border-box;
}

.hw-customer-case-panel {
  display: none;
}

.hw-customer-case-panel.is-active {
  display: flex;
  align-items: center;
  width: 100%;
}

.hw-customer-case-content {
  width: 100%;
  max-width: min(36rem, calc(100vw - 48px));
  text-align: left;
  color: #fff;
}

.hw-customer-case-logo {
  display: block;
  width: auto;
  max-width: min(280px, 72vw);
  height: clamp(48px, 6.5vw, 68px);
  margin: 0 0 clamp(22px, 2.8vw, 32px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45));
}

/* 无品牌图时：与互联网区同款排版的文字客户名 */
.hw-customer-case-brand {
  display: block;
  max-width: min(280px, 72vw);
  margin: 0 0 clamp(22px, 2.8vw, 32px);
  font-size: clamp(1.05rem, 0.9vw + 0.85rem, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hw-customer-case-lead {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(1.45rem, 1.35vw + 1rem, 2rem);
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hw-customer-case-desc {
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-size: clamp(14px, 0.35vw + 13px, 16px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.hw-customer-case-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 26px);
  margin: 0 0 clamp(28px, 3.5vw, 40px);
}

@media (min-width: 640px) {
  .hw-customer-case-features {
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 36px);
  }
}

.hw-customer-case-feature h4 {
  margin: 0 0 8px;
  font-size: clamp(15px, 0.4vw + 14px, 17px);
  font-weight: 600;
  color: #fff;
}

.hw-customer-case-feature p {
  margin: 0;
  font-size: clamp(13px, 0.3vw + 12px, 14px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.hw-customer-case-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hw-customer-case-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

.hw-customer-case-placeholder {
  margin: 0;
  max-width: min(36rem, calc(100vw - 48px));
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* 全球基础设施：左文案数据 + 右地图 + 底部认证（全宽容器） */
.hw-infra-section {
  padding: clamp(52px, 6vw, 96px) 0 clamp(44px, 5vw, 72px);
  background: #f5f6f8;
}

.hw-infra-inner {
  width: 100%;
  max-width: min(1460px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 0 clamp(12px, 2.4vw, 22px);
  box-sizing: border-box;
}

.hw-infra-title {
  margin: 0 auto clamp(36px, 4.5vw, 56px);
  padding: 0 8px;
  max-width: 56rem;
}

.hw-infra-layout {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

@media (min-width: 992px) {
  .hw-infra-layout {
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
  }
}

.hw-infra-col--text {
  text-align: left;
}

.hw-infra-subtitle {
  margin: 0 0 12px;
  font-size: clamp(18px, 0.9vw + 15px, 22px);
  font-weight: 600;
  color: #000;
  line-height: 1.35;
}

.hw-infra-desc {
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  font-size: clamp(14px, 0.35vw + 13px, 16px);
  line-height: 1.75;
  color: #555;
  max-width: 26rem;
}

.hw-infra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  border: 1px solid #000;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  background: #fff;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hw-infra-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.hw-infra-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px) clamp(16px, 3vw, 36px);
}

.hw-infra-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hw-infra-stat-label {
  font-size: clamp(13px, 0.3vw + 12px, 14px);
  color: #666;
  line-height: 1.4;
}

.hw-infra-stat-num {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
  font-weight: 700;
  color: #000;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hw-infra-map {
  width: 100%;
  min-height: clamp(200px, 32vw, 340px);
}

.hw-infra-col--map {
  min-width: 0;
}

.hw-infra-map img {
  display: block;
  width: 100%;
  height: auto;
}

.hw-infra-certs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 16px);
  padding-top: clamp(8px, 1.5vw, 16px);
  border-top: 1px solid #e4e6ea;
}

.hw-infra-cert {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(168px, 30vw);
  text-align: center;
}

.hw-infra-cert img {
  display: block;
  width: auto;
  height: clamp(38px, 4.5vw, 54px);
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hw-infra-cert-name {
  font-size: clamp(11px, 0.25vw + 10px, 12px);
  line-height: 1.45;
  color: #555;
}

@media (max-width: 991px) {
  .hw-infra-certs {
    justify-content: center;
  }

  .hw-infra-cert {
    flex: 0 1 calc(33.333% - 14px);
    max-width: 148px;
  }
}

/* 右侧悬浮：纵向胶囊贴右边 + 整体偏下（非视口正中方块） */
.hw-float-dock {
  position: fixed;
  right: 0;
  bottom: clamp(64px, 12vh, 140px);
  top: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-right: none;
  border-radius: 26px 0 0 26px;
  box-shadow: -3px 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.hw-float-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 52px;
  margin: 0;
  background: transparent;
  color: #555;
  border: none;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.hw-float-dock a:last-child {
  border-bottom: none;
}

.hw-float-dock a:hover {
  background: #f7f8fa;
  color: #1677ff;
}

.hw-float-dock svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hw-float-dock-mascot img {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hw-float-dock {
    display: none;
  }
}

/* 顶栏/注册与首页区块链接强调色（全站 body 含 zjmf-home-page） */
body.zjmf-home-hw.zjmf-home-page .hw-bar-nav > .hw-bar-mega .hw-bar-mega-trigger:hover,
body.zjmf-home-hw.zjmf-home-page .hw-bar-nav > .hw-bar-mega .hw-bar-mega-trigger:focus {
  color: #1677ff;
}

body.zjmf-home-hw.zjmf-home-page .hw-bar-nav > a:hover,
body.zjmf-home-hw.zjmf-home-page .hw-bar-nav > a:focus {
  color: #1677ff;
}

body.zjmf-home-hw.zjmf-home-page .hw-top-bar-right > a:not(.hw-bar-reg):hover {
  color: #1677ff;
}

body.zjmf-home-hw.zjmf-home-page .hw-bar-reg {
  background: #1677ff;
}

body.zjmf-home-hw.zjmf-home-page .hw-bar-reg:hover,
body.zjmf-home-hw.zjmf-home-page .hw-bar-reg:focus {
  background: #0958d9;
}

body.zjmf-home-hw.zjmf-home-page .header .navbar-right > li.register > a {
  background: #1677ff !important;
}

body.zjmf-home-hw.zjmf-home-page .header .navbar-right > li.register > a:hover {
  background: #0958d9 !important;
}

body.zjmf-home-hw.zjmf-home-page .hw-product-showcase-footer a:hover {
  color: #1677ff;
}

body.zjmf-home-hw.zjmf-home-page .hw-solutions-footer a:hover {
  color: #1677ff;
}

/* 华为云「产品」全宽面板由 assets/css/hw-product-mega.css + hw-product-mega.js 驱动（不再加载官方 UMD，避免顶栏卡死） */
