:root {
  --blue: #126be3;
  --orange: #ff6a00;
  --blue-deep: #082c68;
  --ink: #0b2b5b;
  --muted: #667893;
  --line: rgba(10, 43, 91, 0.15);
  --white: #fff;
  --header-height: 104px;
  --shadow: 0 18px 50px rgba(10, 44, 92, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: #082a5d;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.mega-open {
  color: #092b61;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 1px 22px rgba(15, 50, 100, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(1580px, calc(100% - 88px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 166px;
}

.brand-mark {
  display: block;
  width: 152px;
  height: auto;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  gap: clamp(19px, 2.05vw, 43px);
}

.primary-nav > a,
.primary-nav > .nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-top: 2px;
  color: #152f5b;
  /* 导航文字随视口放大，宽屏更大、窄屏自动收小避免挤压 */
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 600;
  white-space: nowrap;
}

.primary-nav > a::after,
.primary-nav > .nav-item > a::after {
  position: absolute;
  right: 0;
  bottom: 27px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after,
.primary-nav > .nav-item > a:hover::after,
.primary-nav > .nav-item > a.is-active::after,
.nav-products:hover > .product-nav-link::after,
.nav-products:focus-within > .product-nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.primary-nav > a.is-active,
.primary-nav > .nav-item > a.is-active,
.nav-products:hover > .product-nav-link,
.nav-products:focus-within > .product-nav-link {
  color: var(--orange);
}

.nav-item {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.product-nav-link {
  gap: 5px;
}

.product-nav-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 0.25s ease;
}

.nav-products:hover .product-nav-link svg,
.nav-products:focus-within .product-nav-link svg,
.nav-products.is-open .product-nav-link svg {
  transform: rotate(180deg);
}

.product-mega-menu {
  position: fixed;
  z-index: 60;
  top: var(--header-height);
  right: 0;
  left: 0;
  padding: 29px max(3.2vw, 34px) 0;
  border-top: 1px solid rgba(16, 65, 126, 0.08);
  color: #17365f;
  background:
    radial-gradient(circle at 85% 15%, rgba(23, 117, 231, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(245, 250, 255, 0.99));
  box-shadow: 0 25px 50px rgba(10, 43, 89, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  visibility: hidden;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.nav-products:hover .product-mega-menu,
.nav-products:focus-within .product-mega-menu,
.nav-products.is-open .product-mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 2.05fr repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.7vw, 48px);
  width: min(1510px, 100%);
  margin: 0 auto;
}

/* 数据驱动的大菜单：分类数量不固定，使用等宽列并自动换行 */
.mega-menu-inner--data {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mega-category {
  min-width: 0;
}

.mega-category + .mega-category {
  padding-left: clamp(14px, 1.5vw, 26px);
  border-left: 1px solid rgba(23, 70, 128, 0.1);
}

.mega-category-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.mega-category-heading span {
  color: #9eb6d5;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.mega-category-heading h3 {
  margin: 0;
  color: #092f68;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.mega-link-list {
  display: grid;
  gap: 2px 23px;
}

.mega-category-wide .mega-link-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-link-list a {
  position: relative;
  display: flex;
  min-height: 31px;
  align-items: center;
  padding: 4px 4px 4px 13px;
  color: #60728c;
  font-size: 13px;
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-link-list a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a7bdd7;
  content: "";
  transform: translateY(-50%);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.mega-link-list a:hover,
.mega-link-list a:focus-visible {
  color: var(--blue);
  transform: translateX(3px);
}

.mega-link-list a:hover::before,
.mega-link-list a:focus-visible::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 107, 227, 0.1);
}

.header-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  margin-left: 25px;
  color: #183661;
  font-size: clamp(13px, 0.95vw, 15px);
  white-space: nowrap;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.tool-link:hover,
.language-switch:hover {
  color: var(--blue);
}

.tool-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.whatsapp-link {
  color: #16c974;
}

.whatsapp-link span {
  color: #183661;
}

.tool-divider {
  width: 1px;
  height: 20px;
  background: rgba(36, 60, 93, 0.18);
}

.language-switch-wrap {
  position: relative;
  display: inline-flex;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.language-switch img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.language-switch svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.language-switch[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: 0;
  min-width: 148px;
  padding: 6px;
  border: 1px solid rgba(210, 224, 242, 0.95);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(18, 58, 112, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.language-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #183661;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.language-option:hover {
  color: var(--blue);
  background: rgba(18, 107, 227, 0.07);
}

.language-option.is-active {
  color: var(--blue);
  background: rgba(18, 107, 227, 0.1);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(15, 53, 105, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(720px - var(--header-height));
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  margin-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
  background-color: #eaf4ff;
}

.hero-slides {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #eaf4ff;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide-backdrop {
  position: absolute;
  inset: -28px;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  opacity: 0.32;
  transform: scale(1.05);
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide-1 {
  background-image: url("../imga/4e10a700-38f9-4862-88f0-285cf9714d1f.png");
}

.hero-slide-2 {
  background-image: url("../imga/49bd3021-d198-4c44-9d68-26efed410ace.png");
}

.hero-slide-3 {
  background-image: url("../imga/387b3e7f-e47c-46dd-94de-e29bbeb7a9b0.png");
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0.78) 44%, rgba(255, 255, 255, 0.34) 58%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 23%);
  pointer-events: none;
}

.hero-toolbar-mask {
  position: absolute;
  z-index: 1;
  top: 31%;
  right: 0;
  bottom: 25%;
  width: 124px;
  border-radius: 18px 0 0 18px;
  background: #fff;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1460px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  top: clamp(166px, 22.2vh, 211px);
  /* 文字整体左移，与下方区块内容左边缘基本对齐 */
  /* left: 1.1%; */
  width: min(650px, 49vw);
  padding: 0 0 28px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: #40516b;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.44em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
}

.eyebrow i {
  display: inline-block;
  width: 78px;
  height: 1px;
  background: var(--orange);
}

.hero h1 {
  margin: 39px 0 22px;
  color: #062a60;
  font-size: clamp(43px, 4.08vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.29;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.about-copy em {
  color: var(--blue);
  font-style: normal;
}

.hero-description {
  margin: 0;
  color: #65748b;
  font-size: clamp(15px, 1.18vw, 19px);
  font-weight: 500;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 39px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 181px;
  height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.button span {
  margin-left: 8px;
  font-size: 20px;
  line-height: 1;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(110deg, #ff8a1f, #ff6a00);
  box-shadow: 0 11px 21px rgba(255, 106, 0, 0.24);
}

.button-primary:hover {
  box-shadow: 0 14px 28px rgba(255, 106, 0, 0.34);
}

.button-outline {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.45);
}

.button-outline:hover {
  color: #fff;
  background: var(--orange);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  width: min(560px, 100%);
  margin-top: 118px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  min-height: 89px;
  padding: 0 26px;
  border-right: 1px solid rgba(18, 54, 102, 0.19);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item svg {
  width: 31px;
  height: 31px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.stat-item strong {
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 25px;
  line-height: 1.05;
}

.stat-item strong.stat-text {
  font-family: inherit;
  font-size: 18px;
  white-space: nowrap;
}

.stat-item span {
  margin-top: 5px;
  color: #738196;
  font-size: 12px;
  white-space: nowrap;
}

.hero-slogan {
  position: absolute;
  top: 98px;
  right: 2.5%;
  margin: 0;
  color: #183963;
  font-family: "STKaiti", "KaiTi", "FangSong", serif;
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 600;
  letter-spacing: 0.23em;
  line-height: 1.7;
  transform: rotate(-6deg);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 49%;
  display: grid;
  width: 43px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: rgba(65, 65, 65, 0.46);
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.72;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.hero-arrow:hover {
  background: var(--orange);
  opacity: 1;
}

.hero-arrow-prev {
  left: 18px;
}

.hero-arrow-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 27px;
  left: 50%;
  display: flex;
  gap: 13px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(86, 96, 108, 0.33);
  cursor: pointer;
  transition: width 0.2s ease, border-radius 0.2s ease, background-color 0.2s ease;
}

.hero-dots button.is-active {
  width: 15px;
  border-radius: 9px;
  background: var(--orange);
}

.achievement-strip {
  padding: 0 24px 10px;
  background: #fff;
}

.achievement-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1200px, 100%);
  min-height: 110px;
  margin: 0 auto;
  padding: 16px 10px 21px;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  background: #fff;
}

.achievement-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.achievement-item + .achievement-item {
  border-left: 1px solid #e1e1e1;
}

.achievement-item svg {
  width: 35px;
  height: 35px;
  flex: none;
  fill: none;
  stroke: #ae7836;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.achievement-copy strong {
  display: block;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1;
  white-space: nowrap;
}

.achievement-copy strong span {
  margin-left: 4px;
  font-size: 0.48em;
  vertical-align: 0.13em;
}

.achievement-copy p {
  margin: 8px 0 0;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .achievement-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .achievement-item {
    min-height: 105px;
    padding: 14px 8px;
  }

  .achievement-item:nth-child(3) {
    border-left: 0;
  }

  .achievement-item:nth-child(n + 3) {
    border-top: 1px solid #e1e1e1;
  }
}

@media (max-width: 520px) {
  .achievement-strip {
    padding: 0 14px 14px;
  }

  .achievement-item {
    min-height: 92px;
    gap: 9px;
  }

  .achievement-item svg {
    width: 27px;
    height: 27px;
  }

  .achievement-copy strong {
    font-size: clamp(29px, 8vw, 38px);
  }

  .achievement-copy p {
    margin-top: 6px;
    font-size: 12px;
  }
}

.floating-toolbar {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 18px;
  display: flex;
  width: 58px;
  flex-direction: column;
  overflow: visible;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(12, 48, 92, 0.17);
  transform: translateY(-50%);
}

.toolbar-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px auto;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 59, 103, 0.08);
  color: #14376d;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.toolbar-item:first-child {
  border-radius: 9px 9px 0 0;
}

.toolbar-item:last-child {
  border-bottom: 0;
  border-radius: 0 0 9px 9px;
}

.toolbar-icon {
  display: grid;
  width: 58px;
  height: 68px;
  place-items: center;
}

.toolbar-icon img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.toolbar-label {
  position: absolute;
  right: calc(100% + 10px);
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 13px;
  border-radius: 5px;
  color: #fff;
  background: #103b78;
  box-shadow: 0 7px 18px rgba(10, 45, 91, 0.2);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(7px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toolbar-label::after {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #103b78;
  content: "";
  transform: translateY(-50%);
}

.toolbar-item:hover .toolbar-label,
.toolbar-item:focus-visible .toolbar-label {
  opacity: 1;
  transform: translateX(0);
}

.chat-popover {
  position: fixed;
  z-index: 46;
  right: 93px;
  bottom: 155px;
  width: 260px;
  padding: 24px;
  border: 1px solid rgba(16, 59, 120, 0.1);
  border-radius: 12px;
  color: #193a6a;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-popover strong {
  display: block;
  font-size: 17px;
}

.chat-popover p {
  margin: 9px 0 17px;
  color: #71819a;
  font-size: 13px;
  line-height: 1.7;
}

.chat-popover a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}

.chat-close {
  position: absolute;
  top: 7px;
  right: 11px;
  border: 0;
  color: #7b8ba0;
  background: none;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.content-section {
  padding: 116px max(6vw, 32px);
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-kicker {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 17px 0 14px;
  color: #0a2d61;
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.section-heading > p:last-child {
  margin: 0;
  color: #718098;
  font-size: 16px;
  line-height: 1.9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1260px, 100%);
  margin: 0 auto;
}

.product-card {
  position: relative;
  min-height: 275px;
  padding: 38px 36px;
  overflow: hidden;
  border: 1px solid rgba(16, 66, 127, 0.1);
  border-radius: 6px;
  background: linear-gradient(145deg, #f3f8ff, #fff);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card::after {
  position: absolute;
  right: -30px;
  bottom: -65px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(26, 121, 236, 0.08);
  content: "";
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.product-card-blue {
  color: #fff;
  background: linear-gradient(140deg, #0c65d5, #0b3f9d);
}

.product-card-blue h3,
.product-card-blue p,
.product-card-blue a {
  color: #fff;
}

.card-number {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.product-card-blue .card-number {
  color: #a9d5ff;
}

.product-card h3 {
  margin: 38px 0 13px;
  color: #0a3069;
  font-size: 24px;
}

.product-card p {
  max-width: 265px;
  margin: 0;
  color: #70809a;
  font-size: 14px;
  line-height: 1.8;
}

.product-card a {
  position: absolute;
  bottom: 34px;
  left: 36px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.product-card a span,
.text-link span {
  margin-left: 8px;
  font-size: 18px;
}

.product-center {
  position: relative;
  padding: 31px max(3.5vw, 24px) 54px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(240, 247, 255, 0.98)),
    #f5faff;
}

.product-center::before,
.product-center::after {
  position: absolute;
  z-index: -1;
  bottom: -160px;
  width: 430px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(150, 193, 242, 0.24), rgba(150, 193, 242, 0) 70%);
  content: "";
  filter: blur(5px);
}

.product-center::before {
  left: -100px;
  transform: rotate(-17deg);
}

.product-center::after {
  right: -100px;
  transform: rotate(17deg);
}

.product-watermark {
  position: absolute;
  z-index: -1;
  top: 19px;
  left: 50%;
  color: rgba(93, 153, 226, 0.08);
  font-family: Arial, sans-serif;
  font-size: clamp(105px, 13vw, 215px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
  user-select: none;
}

.product-center-inner {
  width: min(1720px, 100%);
  margin: 0 auto;
}

.product-center-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.product-kicker {
  margin: 0;
  color: #4e6d9c;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.product-center-heading h2 {
  margin: 11px 0 0;
  color: #092c60;
  font-size: clamp(42px, 4.1vw, 62px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.product-center-heading h2 span {
  color: var(--blue);
}

.product-center-heading h2 span.accent-orange {
  color: var(--orange) !important;
}

.heading-underline {
  display: block;
  width: 39px;
  height: 3px;
  margin: 10px auto 17px;
  border-radius: 4px;
  background: var(--blue);
}

.product-center-heading > p:last-child {
  margin: 0;
  color: #566d92;
  font-size: 18px;
  line-height: 1.7;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 37px;
}

.product-item {
  display: flex;
  min-width: 0;
  min-height: 254px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px 15px;
  overflow: hidden;
  border: 1px solid rgba(228, 237, 249, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 18px rgba(34, 83, 144, 0.06);
  transition: box-shadow 0.28s ease, transform 0.28s ease, opacity 0.25s ease;
}

.product-item:hover {
  box-shadow: 0 15px 30px rgba(28, 93, 171, 0.14);
  transform: translateY(-5px);
}

.product-photo {
  display: grid;
  width: 100%;
  height: 188px;
  place-items: center;
  overflow: hidden;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-item:hover .product-photo img {
  transform: scale(1.045);
}

.product-item h3 {
  margin: 1px 0 8px;
  color: #0b2e64;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.product-line {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}

.product-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 217px;
  height: 45px;
  margin: 32px auto 0;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.38);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.product-more span {
  margin-left: 8px;
  font-size: 19px;
}

.product-more:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-2px);
}

.product-bottom-copy {
  position: absolute;
  right: max(6vw, 32px);
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #6e82a1;
  font-size: 14px;
}

.product-bottom-copy span {
  display: inline-block;
  width: 68px;
  height: 1px;
  background: #8aa3c7;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch;
  min-height: 560px;
  background: #f3f8fd;
}

.about-picture {
  min-height: 480px;
  background-image: linear-gradient(90deg, rgba(5, 46, 108, 0.04), rgba(5, 46, 108, 0.22)), url("../imga/hero-mobile.jpg");
  background-position: center;
  background-size: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(6vw, 40px);
}

.about-copy h2 {
  margin-top: 20px;
  font-size: clamp(30px, 3.2vw, 48px);
}

.about-copy > p:not(.section-kicker) {
  max-width: 480px;
  margin: 6px 0 28px;
  color: #718098;
  font-size: 15px;
  line-height: 2;
}

.text-link {
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 75px max(8vw, 40px);
  color: #fff;
  background: linear-gradient(115deg, #0a3d91, #0b73e8);
}

.contact-section .section-kicker {
  color: #b8dbff;
}

.contact-section h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 44px);
}

.button-white {
  color: #0b55bd;
  background: #fff;
}

.button-white:hover {
  color: #fff;
  background: #0a2f70;
}

@media (max-width: 1450px) {
  .header-inner {
    width: min(100% - 42px, 1400px);
  }

  .brand {
    min-width: 146px;
  }

  .primary-nav {
    gap: clamp(11px, 1.1vw, 18px);
  }

  .primary-nav > a,
  .primary-nav > .nav-item > a {
    font-size: 15px;
  }

  .header-tools {
    gap: 8px;
    margin-left: 10px;
    font-size: 12px;
  }

  .hero-copy {
    top: 145px;
    left: 1.5%;
  }

  .hero-stats {
    margin-top: 65px;
  }
}

/* 窄桌面：导航再收一档，避免文字与右侧工具栏互相挤压 */
@media (max-width: 1300px) {
  .primary-nav {
    gap: clamp(9px, 0.95vw, 15px);
  }

  .primary-nav > a,
  .primary-nav > .nav-item > a {
    font-size: 14px;
  }

  .header-tools {
    gap: 7px;
    margin-left: 8px;
    font-size: 11px;
  }
}

/* 更窄桌面：进一步压缩间距，保证导航与工具栏不重叠 */
@media (max-width: 1260px) {
  .primary-nav {
    gap: 6px;
  }

  .primary-nav > a,
  .primary-nav > .nav-item > a {
    font-size: 13.5px;
  }
}

@media (max-width: 1120px) {
  :root {
    --header-height: 82px;
  }

  .brand {
    min-width: 130px;
  }

  .brand-mark {
    width: 116px;
  }

  .primary-nav {
    display: none;
  }

  .header-tools {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    color: #0b2f68;
    background: rgba(255, 255, 255, 0.84);
  }

  .mobile-menu {
    position: absolute;
    top: var(--header-height);
    right: 21px;
    left: 21px;
    display: block;
    max-height: calc(100svh - var(--header-height) - 12px);
    padding: 10px 20px 20px;
    overflow-y: auto;
    border: 1px solid rgba(14, 56, 111, 0.08);
    border-radius: 0 0 13px 13px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: var(--shadow);
    opacity: 0;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: block;
  }

  .mobile-menu .mobile-main-link,
  .mobile-product-trigger {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5px;
    border: 0;
    border-bottom: 1px solid rgba(14, 56, 111, 0.08);
    color: #193b6c;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    text-align: left;
  }

  .mobile-menu .mobile-main-link.is-active,
  .mobile-product-trigger.is-active,
  .mobile-product-nav.is-open .mobile-product-trigger {
    color: var(--orange);
    font-weight: 700;
  }

  .mobile-product-trigger svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transition: transform 0.25s ease;
  }

  .mobile-product-nav.is-open .mobile-product-trigger svg {
    transform: rotate(180deg);
  }

  .mobile-product-panel {
    display: none;
    padding: 8px 7px 14px;
    border-bottom: 1px solid rgba(14, 56, 111, 0.08);
    background: linear-gradient(145deg, rgba(238, 247, 255, 0.78), rgba(250, 253, 255, 0.96));
  }

  .mobile-product-panel.is-open {
    display: block;
  }

  .mobile-product-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    margin-bottom: 5px;
    padding: 7px 11px;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(110deg, #0875ec, #145fc9);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-product-panel details {
    border-bottom: 1px solid rgba(24, 69, 125, 0.08);
  }

  .mobile-product-panel details:last-child {
    border-bottom: 0;
  }

  .mobile-product-panel summary {
    position: relative;
    padding: 12px 26px 12px 11px;
    color: #153866;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
  }

  .mobile-product-panel summary::-webkit-details-marker {
    display: none;
  }

  .mobile-product-panel summary::after {
    position: absolute;
    top: 50%;
    right: 9px;
    color: #7890ad;
    content: "+";
    font-size: 18px;
    font-weight: 400;
    transform: translateY(-50%);
  }

  .mobile-product-panel details[open] summary {
    color: var(--blue);
  }

  .mobile-product-panel details[open] summary::after {
    content: "−";
  }

  .mobile-product-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 13px;
    padding: 0 9px 12px;
  }

  .mobile-product-links a {
    position: relative;
    padding: 7px 5px 7px 12px;
    color: #677994;
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-product-links a::before {
    position: absolute;
    top: 15px;
    left: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #8aabd1;
    content: "";
  }

  .mobile-product-links a:hover {
    color: var(--blue);
  }

  .mobile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 17px;
    color: var(--blue);
    font-size: 13px;
  }

  .hero-copy {
    left: 4%;
    width: min(620px, 56vw);
  }

  .hero h1 {
    font-size: clamp(39px, 4.7vw, 55px);
  }

  .hero-stats {
    margin-top: 70px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    width: calc(100% - 34px);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 100px;
  }

  .primary-nav {
    display: none;
  }

  .mobile-menu {
    right: 17px;
    left: 17px;
    padding: 12px 20px 22px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(248, 252, 255, 0.98) 0%, rgba(248, 252, 255, 0.91) 47%, rgba(248, 252, 255, 0.33) 79%, rgba(248, 252, 255, 0.04) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.38), transparent 28%);
  }

  .hero-toolbar-mask {
    display: none;
  }

  .hero-inner {
    width: calc(100% - 42px);
  }

  .hero-copy {
    top: 130px;
    left: 0;
    width: min(650px, 92%);
  }

  .eyebrow {
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.25em;
  }

  .eyebrow i {
    width: 50px;
  }

  .hero h1 {
    margin-top: 28px;
    font-size: clamp(36px, 8.2vw, 56px);
    line-height: 1.34;
  }

  .hero-description {
    max-width: 500px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 29px;
  }

  .button {
    min-width: 145px;
    height: 47px;
    padding: 0 17px;
    font-size: 14px;
  }

  .hero-stats {
    width: min(510px, 100%);
    margin-top: 80px;
  }

  .stat-item {
    padding: 0 12px;
  }

  .stat-item strong {
    font-size: 20px;
  }

  .stat-item span {
    font-size: 10px;
  }

  .hero-slogan {
    display: none;
  }

  .floating-toolbar {
    right: 10px;
    width: 48px;
  }

  .toolbar-item {
    grid-template-columns: 48px auto;
    min-height: 56px;
  }

  .toolbar-icon {
    width: 48px;
    height: 56px;
  }

  .toolbar-icon img {
    width: 23px;
    height: 23px;
  }

  .toolbar-label {
    right: calc(100% + 8px);
  }

  .chat-popover {
    right: 68px;
  }

  .content-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .product-card {
    min-height: 230px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-picture {
    min-height: 360px;
  }

  .about-copy {
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: calc(100% - 26px);
  }

  .brand-mark {
    width: 92px;
  }

  .menu-toggle {
    width: 39px;
    height: 39px;
  }

  .hero {
    min-height: max(790px, 100svh);
  }

  .hero-inner {
    width: calc(100% - 34px);
  }

  .hero-copy {
    top: 114px;
    width: 100%;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: 34px;
    letter-spacing: -0.05em;
  }

  .hero-description {
    max-width: 310px;
    font-size: 13px;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-width: 0;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
    width: 270px;
    margin-top: 52px;
  }

  .stat-item {
    min-height: 74px;
    padding: 0 12px;
  }

  .stat-item:nth-child(3) {
    padding-left: 0;
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item svg {
    width: 25px;
    height: 25px;
  }

  .stat-item strong {
    font-size: 18px;
  }

  .stat-item strong.stat-text {
    font-size: 15px;
  }

  .hero-arrow {
    top: auto;
    bottom: 72px;
    width: 34px;
    height: 42px;
    font-size: 30px;
  }

  .hero-arrow-prev {
    left: 17px;
  }

  .hero-arrow-next {
    right: 17px;
  }

  .hero-dots {
    bottom: 86px;
  }

  .floating-toolbar {
    top: auto;
    right: 10px;
    bottom: 18px;
    flex-direction: row;
    width: 192px;
    max-width: calc(100vw - 20px);
    transform: none;
  }

  .toolbar-item,
  .toolbar-item:first-child,
  .toolbar-item:last-child {
    width: 48px;
    min-height: 48px;
    border-right: 1px solid rgba(24, 59, 103, 0.08);
    border-bottom: 0;
    border-radius: 0;
  }

  .toolbar-item:first-child {
    border-radius: 9px 0 0 9px;
  }

  .toolbar-item:last-child {
    border-right: 0;
    border-radius: 0 9px 9px 0;
  }

  .toolbar-icon {
    width: 48px;
    height: 48px;
  }

  .toolbar-label {
    top: auto;
    right: 50%;
    bottom: calc(100% + 9px);
    transform: translate(50%, 7px);
  }

  .toolbar-label::after {
    top: auto;
    right: 50%;
    bottom: -6px;
    border-top: 6px solid #103b78;
    border-right: 6px solid transparent;
    border-bottom: 0;
    border-left: 6px solid transparent;
    transform: translateX(50%);
  }

  .toolbar-item:hover .toolbar-label,
  .toolbar-item:focus-visible .toolbar-label {
    transform: translate(50%, 0);
  }

  .chat-popover {
    right: 16px;
    bottom: 83px;
    width: min(260px, calc(100% - 32px));
  }

  .content-section {
    padding-right: 21px;
    padding-left: 21px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 31px;
  }

  .section-heading > p:last-child {
    font-size: 14px;
  }

  .product-card {
    padding: 30px 25px;
  }

  .product-card h3 {
    margin-top: 29px;
    font-size: 21px;
  }

  .product-card a {
    bottom: 27px;
    left: 25px;
  }

  .about-picture {
    min-height: 280px;
  }

  .about-copy {
    padding: 57px 24px 64px;
  }

  .contact-section {
    padding: 57px 24px 68px;
  }
}

@media (max-width: 1120px) {
  .product-center {
    padding-right: 32px;
    padding-left: 32px;
  }

  .product-catalog {
    gap: 12px;
  }

  .product-item {
    min-height: 235px;
  }

  .product-photo {
    height: 170px;
  }
}

@media (max-width: 860px) {
  .product-center {
    padding: 64px 21px 82px;
  }

  .product-watermark {
    top: 27px;
    font-size: 19vw;
  }

  .product-kicker {
    font-size: 14px;
  }

  .product-center-heading h2 {
    margin-top: 8px;
    font-size: clamp(36px, 7.2vw, 52px);
  }

  .product-center-heading > p:last-child {
    font-size: 15px;
  }

  .product-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 27px;
  }

  .product-item {
    min-height: 220px;
    padding: 8px 8px 13px;
    border-radius: 11px;
  }

  .product-photo {
    height: 156px;
  }

  .product-item h3 {
    font-size: 15px;
  }

  .product-more {
    margin-top: 28px;
  }

  .product-bottom-copy {
    position: static;
    justify-content: center;
    margin-top: 32px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .product-center {
    padding: 52px 16px 68px;
  }

  .product-watermark {
    top: 34px;
    font-size: 24vw;
  }

  .product-kicker {
    font-size: 12px;
    letter-spacing: 0.25em;
  }

  .product-center-heading h2 {
    font-size: 36px;
  }

  .product-center-heading > p:last-child {
    font-size: 13px;
  }

  .product-catalog {
    grid-template-columns: 1fr;
    max-width: 370px;
    margin: 27px auto 0;
  }

  .product-item {
    min-height: 250px;
  }

  .product-photo {
    height: 190px;
  }

  .product-item h3 {
    font-size: 17px;
  }

  .product-bottom-copy {
    gap: 8px;
    font-size: 11px;
  }

  .product-bottom-copy span {
    width: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/* Shared inner-page hero banners fill the visible screen below the fixed navigation. */
.page-hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  margin-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #f2f2f2;
}
.video-page-main > .video-page-shell { margin-top: 54px; }
.case-directory-main > .case-directory-shell { margin-top: 30px; }
.honors-page-main > .honors-page-shell { margin-top: 36px; }
.news-page-main > .news-page-shell { margin-top: 40px; }
.page-hero-backdrop {
  position: absolute;
  z-index: 0;
  inset: -28px;
  background: var(--page-hero-image) center / cover no-repeat;
  filter: blur(18px);
  opacity: .34;
  transform: scale(1.05);
}
.page-hero > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay {
  position: absolute; z-index: 2; inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92) 0, rgba(255, 255, 255, .78) var(--header-height), rgba(255, 255, 255, 0) calc(var(--header-height) + 135px)),
    linear-gradient(90deg, rgba(5, 28, 58, .8), rgba(5, 28, 58, .2) 75%);
}
.page-hero-content {
  position: absolute; z-index: 3; top: 50%; left: max(40px, calc((100% - 1390px) / 2));
  transform: translateY(-50%);
}
.page-hero-content p { margin: 0 0 12px; color: #8fc4ff; font: 700 13px/1.2 Arial, sans-serif; letter-spacing: .2em; }
.page-hero-content h1 { margin: 0; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.15; letter-spacing: .08em; }
.page-hero-content span { display: block; margin-top: 16px; font-size: clamp(14px, 1.4vw, 19px); letter-spacing: .08em; opacity: .9; }
@media (max-width: 700px) {
  .page-hero-content { left: 24px; }
  .video-page-main > .video-page-shell { margin-top: 40px; }
  .case-directory-main > .case-directory-shell { margin-top: 22px; }
  .honors-page-main > .honors-page-shell,
  .news-page-main > .news-page-shell { margin-top: 20px; }
}

/* Main inner pages start with a hero positioned directly below the fixed navigation. */
main:is(.about-modules-page, .video-page-main, .case-directory-main, .honors-page-main, .news-page-main, .contact-page-main, .products-page-main) {
  padding-top: 0;
}

/* The product hero fills the visible screen below the fixed navigation. */
.products-page-main > .catalog-hero {
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 0;
  margin-top: var(--header-height);
  padding-top: 0;
}
 :root {
        --theme-dark: #666666;
        --theme-dark-deep: #4b4b4b;
        --theme-dark-soft: #777777;
        --theme-orange: #9b9b9b;
        --theme-orange-bright: #dedede;
        --theme-text: #ffffff;
        --theme-muted: #e6e6e6;
        --theme-line: rgba(255, 255, 255, 0.22);
      }

      body {
        color: var(--theme-text);
        background: var(--theme-dark);
      }

      .site-header {
        color: var(--theme-text);
        background: rgba(75, 75, 75, 0.88);
      }

      .site-header.is-scrolled,
      .site-header.mega-open {
        color: var(--theme-text);
        background: rgba(75, 75, 75, 0.97);
        box-shadow: 0 1px 22px rgba(0, 0, 0, 0.28);
      }

      .primary-nav > a,
      .primary-nav > .nav-item > a,
      .header-tools,
      .header-tools a,
      .site-header .language-switch,
      .site-header .menu-toggle {
        color: var(--theme-text);
      }

      .primary-nav > a.is-active,
      .primary-nav > .nav-item > a.is-active,
      .nav-products:hover > .product-nav-link,
      .nav-products:focus-within > .product-nav-link,
      .header-tools a:hover {
        color: var(--orange);
      }

      .primary-nav > a::after,
      .primary-nav > .nav-item > a::after {
        background-color: var(--orange);
      }

      .header-tools .tool-divider {
        background-color: var(--theme-orange);
      }

      .product-mega-menu {
        color: var(--theme-text);
        border-top-color: var(--theme-line);
        background: linear-gradient(145deg, rgba(112, 112, 112, 0.99), rgba(72, 72, 72, 0.99));
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
      }

      .mega-category + .mega-category {
        border-left-color: var(--theme-line);
      }

      .mega-category-heading h3,
      .mega-link-list a {
        color: var(--theme-text);
      }

      .mega-link-list a:hover,
      .mega-category-heading span {
        color: var(--theme-orange-bright);
      }

      /* ======================================================================
         头部「产品」二级下拉：改成「左分类 + 右产品」两级结构
         结构见 application/index/view/common/header.html
         （.mega-cat-list 分类列表 / .mega-goods-panels 产品面板）
         切换逻辑见 public/assets/index/js/main.js（mega-cat-item 悬停/点击/键盘）
         配色：左列白底深色字，选中项蓝底白字；右侧产品面板蓝底白字。
         本段必须放在上面深色主题规则之后，否则会被主题的灰底覆盖。
         ====================================================================== */
      /* 下拉面板挂到「产品中心」导航项下方：左边缘与该导航项对齐，
         而不是贴在浏览器左边（原来用 position:fixed + left:0 导致位置跑偏）。 */
      .nav-products {
        position: relative;
      }

      .product-mega-menu {
        position: absolute;
        top: 100%;
        right: auto;
        left: 0;
        width: auto;
        max-height: calc(100svh - var(--header-height));
        padding: 12px 0 0;
        overflow-y: auto;
        border-top: 0;
        background: none;
        box-shadow: none;
      }

      .mega-menu-inner,
      .mega-menu-inner--data {
        display: grid;
        grid-template-columns: 265px 265px;
        gap: 0;
        width: auto;
        margin: 0;
      }

      /* 左侧分类保持自身高度，右侧蓝色面板拉伸到整列高度，避免两栏长短悬殊 */
      .mega-cat-list {
        display: grid;
        align-self: start;
        margin: 0;
        padding: 0;
        list-style: none;
        background: #fff;
        box-shadow: 0 18px 34px rgb(8 30 54 / 18%);
      }

      .mega-cat-item {
        display: block;
        width: 100%;
        padding: 15px 22px;
        border: 0;
        border-bottom: 1px solid #eef2f7;
        color: #16263a;
        background: #fff;
        font-family: inherit;
        font-size: 15px;
        line-height: 1.45;
        text-align: left;
        cursor: pointer;
        transition: color .2s ease, background-color .2s ease;
      }

      .mega-cat-list li:last-child .mega-cat-item {
        border-bottom: 0;
      }

      .mega-cat-item:hover,
      .mega-cat-item:focus-visible {
        color: var(--orange);
        background: #fff4ea;
      }

      .mega-cat-item.is-active {
        color: #fff;
        background: var(--orange);
      }

      .mega-goods-panels {
        border-left: 1px solid #eef2f7;
        background: #fff;
        box-shadow: 0 18px 34px rgb(8 30 54 / 14%);
      }

      .mega-goods-group {
        display: none;
        padding: 22px 26px 24px;
      }

      .mega-goods-group.is-active {
        display: block;
      }

      .mega-goods-panels .mega-link-list {
        display: grid;
        gap: 0;
      }

      .mega-goods-panels .mega-link-list a {
        min-height: 38px;
        padding: 7px 10px;
        margin: 0 -10px;
        color: #16263a;
        font-size: 15px;
        font-weight: 700;
        transform: none;
        transition: color .2s ease, background-color .2s ease;
      }

      .mega-goods-panels .mega-link-list a::before {
        display: none;
      }

      .mega-goods-panels .mega-link-list a:hover,
      .mega-goods-panels .mega-link-list a:focus-visible {
        color: var(--orange);
        background: #fff4ea;
      }

      /* 没选一级分类时不显示二级产品面板，下拉里只留一级分类列表 */
      .product-mega-menu:not(.has-active-cat) .mega-goods-panels {
        display: none;
      }

      main,
      .achievement-strip,
      .product-center,
      .engineering-cases,
      .company-honors,
      .company-module,
      .company-news,
      .company-customers,
      .company-reviews,
      .company-requirements {
        color: var(--theme-text) !important;
        background: var(--theme-dark) !important;
      }

      .achievement-strip,
      .product-center,
      .engineering-cases,
      .company-honors,
      .company-news,
      .company-customers,
      .company-reviews,
      .company-requirements {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
      }

      .product-watermark,
      .cases-watermark {
        color: rgba(222, 222, 222, 0.08) !important;
      }

      .achievement-item,
      .stat-item,
      .module-heading,
      .cases-heading,
      .honors-heading,
      .module-title,
      .cases-title,
      .honors-heading h2,
      .module-subtitle,
      .cases-subtitle,
      .honors-heading p,
      .product-center-heading p,
      .about-description,
      .about-value p,
      .news-row-copy p,
      .news-featured-description,
      .review-quote,
      .requirements-intro-copy {
        color: var(--theme-muted) !important;
      }

      .product-center-heading h2,
      .module-title,
      .cases-title,
      .honors-heading h2,
      .about-lead,
      .news-featured-meta h3,
      .news-row-copy h3,
      .review-card h3,
      .requirements-intro h3,
      .equipment-form-heading h3 {
        color: var(--theme-text) !important;
      }

      .product-center-heading span,
      .module-title span,
      .about-lead span,
      .cases-title span,
      .honors-heading h2 span,
      .module-kicker,
      .cases-kicker,
      .honors-kicker,
      .product-kicker,
      .news-category,
      .requirements-intro-label,
      .review-stars,
      .about-statistic strong,
      .about-value h3,
      .news-date {
        color: var(--theme-orange-bright) !important;
      }

      .heading-underline,
      .module-heading-line,
      .cases-heading-line,
      .honors-heading-line,
      .about-copy-rule,
      .product-line,
      .case-rule,
      .footer-heading::after {
        background: var(--theme-orange) !important;
      }

      .product-item,
      .case-card,
      .news-featured,
      .news-row,
      .review-card,
      .requirements-panel,
      .honor-card,
      .equipment-form,
      .news-tab,
      .module-image-slot,
      .honor-image,
      .customer-photo {
        border-color: rgba(255, 255, 255, 0.12) !important;
        background: var(--theme-dark-soft) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18) !important;
      }

      .product-item:hover,
      .case-card:hover,
      .news-row:hover,
      .review-card:hover {
        border-color: var(--theme-orange) !important;
      }

      .product-more,
      .cases-more,
      .news-more,
      .about-more,
      .honors-actions a {
        border-color: var(--theme-orange) !important;
        color: var(--theme-orange-bright) !important;
      }

      .footer-inquiry {
        border-color: #6b6b6b !important;
        color: #ffffff !important;
        background: #6b6b6b !important;
      }

      .footer-inquiry:hover {
        color: #ffffff !important;
        background: #808080 !important;
      }

      .product-more:hover,
      .cases-more:hover,
      .news-more:hover,
      .about-more:hover,
      .honors-actions a:hover,
      .equipment-submit:hover,
      .inquiry-submit:hover {
        color: #1b1b1b !important;
        background: var(--theme-orange) !important;
      }

      .case-badge,
      .equipment-submit,
      .inquiry-submit,
      .news-tab.is-active {
        color: #1b1b1b !important;
        background: var(--theme-orange) !important;
      }

      .company-about .about-stage,
      .about-values,
      .news-layout,
      .customers-grid,
      .reviews-grid {
        color: var(--theme-text);
      }

      .about-video,
      .requirements-intro {
        background: linear-gradient(135deg, #343434, #222) !important;
      }

      .equipment-control,
      .inquiry-control,
      .inquiry-field input,
      .inquiry-field textarea {
        color: var(--theme-text) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        background: #555555 !important;
      }

      .equipment-control::placeholder,
      .inquiry-field input::placeholder,
      .inquiry-field textarea::placeholder {
        color: #948b82;
      }

      .site-footer {
        border-top-color: var(--theme-orange) !important;
        background: var(--theme-dark-deep) !important;
      }

      .footer-heading::after {
        background: var(--theme-orange) !important;
      }

      .floating-toolbar .toolbar-item,
      .inquiry-dialog {
        color: var(--theme-text);
        border-color: rgba(222, 222, 222, 0.36);
        background: #707070;
      }

      .floating-toolbar .toolbar-item:hover,
      .floating-toolbar .toolbar-item:focus-visible {
        background: var(--theme-orange);
      }

      .floating-toolbar .toolbar-label,
      .whatsapp-qr p,
      .whatsapp-qr strong {
        color: var(--theme-text);
      }

/* 顶部栏：页面停在顶部时为白色，向下滚动后变为灰色 */
.site-header:not(.is-scrolled):not(.mega-open) {
  color: #082a5d;
  background: #fff;
}

.site-header:not(.is-scrolled):not(.mega-open) .primary-nav > a,
.site-header:not(.is-scrolled):not(.mega-open) .primary-nav > .nav-item > a,
.site-header:not(.is-scrolled):not(.mega-open) .header-tools,
.site-header:not(.is-scrolled):not(.mega-open) .header-tools a,
.site-header:not(.is-scrolled):not(.mega-open) .language-switch,
.site-header:not(.is-scrolled):not(.mega-open) .menu-toggle {
  color: #082a5d;
}

.site-header:not(.is-scrolled):not(.mega-open) .primary-nav > a.is-active,
.site-header:not(.is-scrolled):not(.mega-open) .primary-nav > .nav-item > a.is-active,
.site-header:not(.is-scrolled):not(.mega-open) .nav-products:hover > .product-nav-link,
.site-header:not(.is-scrolled):not(.mega-open) .nav-products:focus-within > .product-nav-link {
  color: var(--orange);
}

/* 首页产品中心：标题与说明文字加黑 */
.product-item h3,
.product-more,
.product-bottom-copy {
  color: #000 !important;
}

/* 首页企业数据：区块底色已改为黑，数字与标签文字改为浅色，避免黑底黑字看不见 */
.about-statistic strong {
  color: #ffffff !important;
}

.about-statistic span {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* 窄屏头部始终为一排，由 main.js 按实际内容宽度等比收紧字号、图标和间距。 */
@media (max-width: 1120px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  }

  .header-inner {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 6px;
    align-items: center;
    justify-content: space-between;
    gap: calc(8px * var(--header-fit, 1));
  }

  .brand {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    width: calc(56px * var(--header-fit, 1));
    height: 100%;
    min-width: 0;
    align-items: center;
  }

  .brand-mark {
    width: 100%;
  }

  /* 所有栏目保持单行，无折叠菜单、换行或横向滚动。 */
  .primary-nav {
    position: static;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: max-content;
    height: 100%;
    min-width: 0;
    align-items: stretch;
    gap: calc(8px * var(--header-fit, 1));
    overflow: visible;
  }

  .primary-nav > a,
  .primary-nav > .nav-item > a {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: 100%;
    justify-content: center;
    padding: 0;
    color: #171717;
    font-size: calc(12px * var(--header-fit, 1));
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
  }

  .primary-nav > a::after,
  .primary-nav > .nav-item > a::after {
    bottom: -1px;
    height: 1px;
  }

  .nav-item {
    flex: 0 0 auto;
    min-width: 0;
    height: 100%;
  }

  .product-nav-link {
    gap: 0;
  }

  .header-tools {
    display: flex !important;
    flex: 0 0 auto;
    min-width: 0;
    height: 100%;
    align-items: center;
    gap: calc(4px * var(--header-fit, 1));
    margin-left: 0;
    color: #171717;
    font-size: calc(9px * var(--header-fit, 1));
    white-space: nowrap;
  }

  .header-tools .tool-link {
    gap: calc(3px * var(--header-fit, 1));
  }

  .header-tools .tool-link svg {
    width: calc(13px * var(--header-fit, 1));
    height: calc(13px * var(--header-fit, 1));
  }

  .header-tools .whatsapp-link,
  .header-tools .whatsapp-link span {
    color: #171717;
  }

  .header-tools .tool-divider {
    width: calc(1px * var(--header-fit, 1));
    height: calc(14px * var(--header-fit, 1));
    background: rgba(0, 0, 0, 0.18);
  }

  .header-tools .language-switch {
    gap: calc(1px * var(--header-fit, 1));
  }

  .header-tools .language-switch img {
    width: calc(18px * var(--header-fit, 1));
    height: calc(18px * var(--header-fit, 1));
  }

  .header-tools .language-switch svg {
    width: calc(8px * var(--header-fit, 1));
    height: calc(8px * var(--header-fit, 1));
  }

  .product-nav-link svg,
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  /* 产品下拉保持正常字号，固定在头部下方。 */
  .product-mega-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: block;
    width: auto;
    max-height: calc(100svh - var(--header-height));
    padding: 0;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  }

  /* 窄屏同样保持「左分类 + 右产品」两列，各占一半宽度 */
  .mega-menu-inner,
  .mega-menu-inner--data {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
  }

  .mega-cat-item {
    padding: 13px 14px;
    font-size: 13px;
  }

  .mega-goods-group {
    padding: 16px 16px 18px;
  }

  .mega-goods-panels .mega-link-list a {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 13px;
  }
}

/* ==========================================================================
   顶部导航配色：停在页面顶部时透明，向下滚动后为纯黑
   - 顶部（未滚动、未展开大菜单）：透明底、无阴影，保持深色文字
   - 滚动后 / 大菜单展开：纯黑底 + 白色文字
   - logo 与语言切换图标本身是深色图案（平均亮度约 62/33），
     黑色底上会看不见，故用滤镜转成纯白
   - 本段位于文件末尾且选择器权重更高，用于覆盖上方历史遗留的多套配色规则
   ========================================================================== */

/* 页面底色修正：
   本文件后段有一条遗留规则把 body 写成「灰底 #666666 + 白字」，
   过去一直被导航栏自身的白色底盖住。导航栏改成透明后它会直接露出来，
   而且页面内容不足一屏时页脚下方也会看到一条灰色带。
   这里改回文件开头原本的白底深色文字，不做其它改动。 */
body {
  background: #fff;
  color: var(--ink);
}

/* 顶部状态：透明底、去掉阴影 */
.site-header,
.site-header:not(.is-scrolled):not(.mega-open) {
  background: transparent;
  box-shadow: none;
}

/* 顶部状态：图案保持原本的深色 */
.site-header:not(.is-scrolled):not(.mega-open) .brand-mark,
.site-header:not(.is-scrolled):not(.mega-open) .language-switch img {
  filter: none;
}

/* 滚动后 / 大菜单展开：纯黑底 */
.site-header.is-scrolled,
.site-header.mega-open {
  color: #fff;
  background: #000;
  box-shadow: 0 1px 22px rgba(0, 0, 0, 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

/* 黑底状态：导航文字、工具栏、汉堡按钮转白 */
.site-header.is-scrolled .primary-nav > a,
.site-header.is-scrolled .primary-nav > .nav-item > a,
.site-header.is-scrolled .header-tools,
.site-header.is-scrolled .tool-link span,
.site-header.is-scrolled .language-switch,
.site-header.is-scrolled .menu-toggle,
.site-header.mega-open .primary-nav > a,
.site-header.mega-open .primary-nav > .nav-item > a,
.site-header.mega-open .header-tools,
.site-header.mega-open .tool-link span,
.site-header.mega-open .language-switch,
.site-header.mega-open .menu-toggle {
  color: #fff;
}

/* 黑底状态：当前页与悬停保持主题橙，在纯黑上更醒目 */
.site-header.is-scrolled .primary-nav > a.is-active,
.site-header.is-scrolled .primary-nav > .nav-item > a.is-active,
.site-header.is-scrolled .nav-products:hover > .product-nav-link,
.site-header.is-scrolled .nav-products:focus-within > .product-nav-link,
.site-header.mega-open .primary-nav > a.is-active,
.site-header.mega-open .primary-nav > .nav-item > a.is-active,
.site-header.mega-open .nav-products:hover > .product-nav-link,
.site-header.mega-open .nav-products:focus-within > .product-nav-link {
  color: var(--orange);
}

/* 黑底状态：logo 一律显示图片本身的颜色，不加任何滤镜。
   语言切换小图标太深，仍转白保证可见。 */
.site-header.is-scrolled .brand-mark,
.site-header.mega-open .brand-mark {
  filter: none;
}

.site-header.is-scrolled .language-switch img,
.site-header.mega-open .language-switch img {
  filter: brightness(0) invert(1);
}

/* 黑底状态：分隔线转亮，悬停用橙色 */
.site-header.is-scrolled .tool-divider,
.site-header.mega-open .tool-divider {
  background: rgba(255, 255, 255, 0.3);
}

.site-header.is-scrolled .tool-link:hover,
.site-header.is-scrolled .language-switch:hover,
.site-header.mega-open .tool-link:hover,
.site-header.mega-open .language-switch:hover {
  color: var(--orange);
}

/* 黑底状态：汉堡按钮改用深色底框，避免白色线条融进白色框 */
.site-header.is-scrolled .menu-toggle,
.site-header.mega-open .menu-toggle {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   首页首屏轮播：去掉压在图片上的白色遮罩，直接显示图片原样
   - .hero-overlay      原本是左侧 rgba(255,255,255,.95) 的白色渐变，
                        实测把图片左侧从亮度 40 洗成 212，图片几乎看不见
   - .hero-toolbar-mask 原本是右侧 124px 宽的纯白圆角块（≤860px 本来就已隐藏）
   - 新轮播图是深色照片（整体亮度约 50），遮罩去掉后深色文字会看不清，
     因此首屏文字、数据改为白色，并加轻微阴影保证任何图片上都可读
   ========================================================================== */

.hero-overlay,
.hero-toolbar-mask {
  display: none;
}

/* 首屏文字转白（仅作用于首屏，不影响页面其它同名元素） */
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero-description {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero-stats .stat-item {
  border-right-color: rgba(255, 255, 255, 0.3);
}

.hero-stats .stat-item strong {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero-stats .stat-item span {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-dots button {
  background: rgba(255, 255, 255, 0.5);
}

/* 描边按钮原本带半透明白底，在深色照片上也像一块白色；
   只去掉常态底色，保留悬停变橙的原有反馈 */
.hero-actions .button-outline:not(:hover) {
  background: transparent;
}

/* ==========================================================================
   首页：导航栏压在首屏轮播大图上
   - 只作用于首页。内页首屏图是亮色（实测顶部亮度 142~203），产品页首屏
     甚至没有大图，白字放上去看不清，所以内页维持原状（顶部白底 + 深色文字）。
   - 首页轮播图是深色矿山照片（亮度约 50），透明导航栏 + 白色文字可读。
   - 用 :has() 按「页面里有没有 .hero」来区分首页与内页，无需改模板。
   ========================================================================== */

/* 首屏上移到导航栏背后并铺满一屏（原本要让出导航栏高度） */
.hero {
  margin-top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 720px;
}

/* 首页停在顶部时：透明底上改用白色文字 */
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) {
  color: #fff;
}

body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .primary-nav > a,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .primary-nav > .nav-item > a,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .header-tools,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .header-tools a,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .tool-link,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .tool-link span,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .whatsapp-link,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .whatsapp-link span,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .language-switch,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .menu-toggle {
  color: #fff;
}

/* 当前页保持主题橙（沿用站点原有配色，也对应参照图里 Home 的橙色下划线） */
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .primary-nav > a.is-active,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .primary-nav > .nav-item > a.is-active,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .nav-products:hover > .product-nav-link,
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .nav-products:focus-within > .product-nav-link {
  color: var(--orange);
}

/* 首页顶部压在深色大图上：logo 同样保持图片本身的颜色，语言切换图标转白 */
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .brand-mark {
  filter: none;
}

body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .language-switch img {
  filter: brightness(0) invert(1);
}

/* 顶部透明时，原先的深色分隔线与浅色汉堡按钮在深色照片上都看不清，一并转白 */
body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .tool-divider {
  background: rgba(255, 255, 255, 0.3);
}

body:has(.hero, .page-hero, .products-page-main) .site-header:not(.is-scrolled):not(.mega-open) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.25);
}

/* logo 配色说明（勿删，避免以后重复踩坑）：
   logo 原图是深蓝 #103070 + 橙 #e04010，其中深蓝占 85.8%，橙色只在中段。
   按要求 logo 在任何状态下都显示图片本身的颜色，不加任何滤镜（filter: none）。
   实测对比度：白底 7.7:1 很清晰；纯黑导航栏 1.83:1、首页深色大图 1.55:1，偏暗
   ——这是深蓝与深色背景亮度接近造成的，属于物理限制，只能靠换图解决。
   若以后要提升深色背景下的辨识度，做法是请设计出一版浅色（白色）logo 文件，
   深色背景时换用该图；用滤镜提亮会把深蓝变成亮蓝、偏色，已试过不建议。 */

/* ==========================================================================
   首页「产品中心」模块：底色改成纯黑 + 深色矿山照片做背景
   该模块原本被上方那段深色主题规则统一设为 background: var(--theme-dark)
   !important（--theme-dark = #666666，实测渲染就是 RGB(102,102,102)），
   所以这里用同等权重、位置更靠后来覆盖。
   背景图复用首页轮播已经在加载的那三张矿山照片之一，浏览器已缓存，
   不会产生额外下载量；上面叠 85% 黑色蒙版，整体仍是黑色、只留一点质感。
   同时把原本为「浅灰底」配好的卡片与文字一起调深，避免出现黑底黑字：
   - 卡片原为比底色略亮的 #777777，按同样关系改成比黑略亮的 #1a1a1a
   - 卡片标题 / 探索更多产品 / 右下角装饰文案原本被强制为 #000，改成浅色
   ========================================================================== */

.product-center {
  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("/uploads/20261015/61efa6e1a698809e3af6760a2d849453.png") center / cover no-repeat,
    #000 !important;
}

/* 首页产品中心卡片：白底 + 圆角 + 阴影，图片区在上、文字在下 */
.product-center .product-item {
  padding: 0 0 22px;
  overflow: hidden;
  border-color: transparent !important;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.product-center .product-item:hover {
  border-color: var(--orange) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  transform: translateY(-6px);
}

.product-center .product-item h3 {
  margin: 16px 18px 7px;
  color: #0b2e64 !important;
  font-size: 17px;
}

.product-center .product-subtitle {
  margin: 0 18px;
  color: #64748b !important;
  font-size: 12px;
  line-height: 1.55;
}

.product-center .product-line {
  background: var(--orange);
}

/* 产品图铺满图片区：原来 object-fit: contain 会按原图比例缩放，
   竖图/方图时左右（或上下）会留出空白，改成 cover 填满。
   图片区按 16:9（产品图实际比例）自适应，避免固定高度时 cover 把主体裁掉。 */
.product-center .product-photo {
  height: auto;
  aspect-ratio: 16 / 9;
}

.product-center .product-photo img {
  object-fit: cover;
  object-position: center;
}

/* 中等屏（平板横屏/小笔记本）：4 列会挤压文字，改为 3 列 */
@media (min-width: 861px) and (max-width: 1120px) {
  .product-center .product-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .product-center .product-photo {
    height: clamp(150px, 17vw, 190px);
  }
}

/* 桌面端把卡片整体放大、留白加宽，观感更大气。
   放在 min-width 里是为了不影响窄屏原有的紧凑尺寸（图片区过高会挤占版面）。 */
@media (min-width: 1121px) {
  .product-center .product-catalog {
    gap: 28px;
    margin-top: 52px;
  }

  /* 卡片放大：图片区更高、标题更大，保持 4 列布局 */
  .product-center .product-item {
    min-height: 0;
    padding: 0 0 26px;
    border-radius: 16px;
    border-color: transparent !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  }

  .product-center .product-item:hover {
    border-color: var(--orange) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
    transform: translateY(-6px);
  }

  .product-center .product-photo {
    height: clamp(196px, 17.6vw, 272px);
    margin: 0;
    aspect-ratio: auto;
  }

  /* 图片填满图片区：原来 contain 会让 16:9 的图在更高的图框里上下留白
     （1440px 下上下各 40px 白条），改成 cover 铺满，不再有白边 */
  .product-center .product-photo img {
    object-fit: cover;
    object-position: center;
  }

  /* 与产品中心页一致：jpg 图本体四周留白较多，整体放大 1.24 倍填满 */
  .product-center .product-photo img[src$=".jpg"] {
    transform: scale(1.24);
  }

  .product-center .product-item:hover .product-photo img[src$=".jpg"] {
    transform: scale(1.28);
  }

  .product-center .product-item h3 {
    margin: 22px 24px 10px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
  }

  .product-center .product-subtitle {
    margin: 0 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  /* 产品中心页的卡片没有底部小横线，这里一起隐藏 */
  .product-center .product-line {
    display: none;
  }
}

.product-center .product-more {
  color: #fff !important;
}

.product-center .product-bottom-copy {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* 去掉标题背后的大字英文水印「MINETECH」。
   该水印是 .product-watermark，绝对定位 + z-index:-1 压在「产品中心」标题后面，
   在深色底上实测亮度约 24（底色约 7），能看出来，按要求隐藏。
   只作用于产品中心这一处；案例页的 .cases-watermark 不受影响。
   模板里的 <div class="product-watermark"> 仍保留，想恢复删掉这一行即可。 */
.product-watermark {
  display: none !important;
}

/* ==========================================================================
   首页「企业实力数据」条（20+ / 60+ / 120 / 5000+）：跟随产品中心一起改成黑色
   改前实测：条带底色 RGB(102,102,102)（同样是那段共享主题规则给的 #666666）、
   内部卡片纯白 RGB(255,255,255)、数字与标签纯黑 RGB(0,0,0)、图标橙 #ae7836。
   改动与产品中心保持同一套关系：
   - 条带底色 -> 纯黑
   - 内部卡片 -> #1a1a1a，描边与分隔线换成半透明白
   - 数字与标签 -> 白色 / 半透明白
   - 图标仍用原来的橙 #ae7836（在深色上清晰，不动）
   ========================================================================== */

.achievement-strip {
  background: #000 !important;
}

.achievement-strip-inner {
  background: #1a1a1a !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.achievement-item + .achievement-item {
  border-left-color: rgba(255, 255, 255, 0.12) !important;
}

.achievement-copy strong {
  color: #fff !important;
}

.achievement-copy p {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ==========================================================================
   内页（关于我们 / 视频 / 工程案例 / 资质荣誉 / 新闻资讯 / 联系我们）：
   导航栏统一压在首屏大图上，顶部透明，与首页保持一致。

   布局上要清掉两处让位（各页情况不同，这里统一处理）：
   - 部分页面的 <main> 有 padding-top: var(--header-height)（如联系我们页）
   - .page-hero 本身还有 margin-top: var(--header-height)
     两者叠加会让首屏从 y=192 才开始，所以把 padding 与 margin 都清零并铺满一屏。

   首屏图普遍是亮色（实测顶部 96px 亮度 142~239），白字直接压上去只有 1.1~1.6:1，
   所以把原本盖在导航栏高度上的「白色渐变」换成同位置的「淡深色渐变」：
   导航区域变暗、白字可读；渐变在 header 高度后 85px 就结束，图片主体不受影响。

   顶部白字 / 白色 logo / 橙色当前项等样式复用上面的
   body:has(.hero, .page-hero, .products-page-main) 规则组，首页与全部内页共用一套。
   ========================================================================== */

body:has(.page-hero) main {
  padding-top: 0;
}

body:has(.page-hero) .page-hero {
  margin-top: 0;
  height: 100vh;
  height: 100svh;
}

body:has(.page-hero) .page-hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0,
      rgba(0, 0, 0, 0.35) var(--header-height),
      rgba(0, 0, 0, 0) calc(var(--header-height) + 85px)
    ),
    linear-gradient(90deg, rgba(5, 28, 58, 0.8), rgba(5, 28, 58, 0.2) 75%);
}

/* 联系我们页的首屏图改为从 fa_config（name=contactus）读取，后台可随时换图。
   这张图本身是深色的（实测整体亮度 46、顶部 96px 为 13~70），
   不需要再压暗，所以这里只保留原有的深蓝横向渐变、去掉上面那层顶部深色渐变，
   导航栏在这页是真正透明的（与首页一致）。 */
body:has(.contact-page-main) .page-hero-overlay {
  background: linear-gradient(90deg, rgba(5, 28, 58, 0.8), rgba(5, 28, 58, 0.2) 75%);
}

@media (max-width: 700px) {
  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) > .page-hero {
    display: flex;
    align-items: flex-end;
    height: auto;
    min-height: calc(var(--header-height) + clamp(170px, 45vw, 260px));
    padding-top: var(--header-height);
    background: #000;
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) > .page-hero > img {
    object-position: 60% center;
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-backdrop {
    display: none;
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.24) var(--header-height), transparent calc(var(--header-height) + 50px));
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-content {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    transform: none;
    padding: 16px 18px 12px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-content p {
    margin: 0 0 4px;
    color: #ff6a00;
    font: 700 11px/1.2 Arial, sans-serif;
    letter-spacing: 0;
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-content h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-content span {
    margin-top: 6px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0;
    opacity: 1;
  }
}

@media (max-width: 360px) {
  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-content {
    padding: 12px 14px 10px;
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-content h1 {
    font-size: 26px;
  }

  main:is(.video-page-main, .case-directory-main, .honors-page-main, .news-page-main) .page-hero-content span {
    font-size: 11px;
  }
}

@media (max-width: 700px) {
  .hero {
    height: auto;
    min-height: 0;
    background-color: #000;
  }

  .hero-inner {
    height: auto;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: calc(var(--header-height) + 38px) 0 96px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: 0;
  }

  .hero-stats {
    display: none;
  }

  .hero-overlay {
    display: block;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 40%, rgba(0, 0, 0, 0.48));
  }

  .hero-arrow {
    bottom: 18px;
  }

  .hero-dots {
    bottom: 32px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 26px;
    line-height: 1.25;
  }
}

/* 侧边快捷联系工具栏整体加大（仅桌面端）：只调整尺寸与字号，配色、结构与样式不变 */
@media (min-width: 1121px) {
  .floating-toolbar {
    width: 74px;
  }

  .toolbar-item {
    grid-template-columns: 74px auto;
    min-height: 86px;
  }

  .toolbar-icon {
    width: 74px;
    height: 86px;
  }

  .toolbar-icon img {
    width: 34px;
    height: 34px;
  }

  .toolbar-label {
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }

  /* 工具栏变宽后，弹出的聊天面板同步外移，保持与工具栏之间的间距 */
  .chat-popover {
    right: 108px;
  }
}

/* 头部「产品中心」下拉面板：由纯白改为深色底 + 橙色点缀，
   与首页深色区块、黑色头部保持一致（只改配色，结构与尺寸不变） */
.product-mega-menu {
  background: none;
}

.mega-cat-list {
  border-top: 2px solid var(--orange);
  background: #141414;
  box-shadow: 0 18px 34px rgb(0 0 0 / 45%);
}

.mega-cat-item {
  color: #e9eef6;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: #141414;
}

.mega-cat-item:hover,
.mega-cat-item:focus-visible {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.07);
}

.mega-cat-item.is-active,
.mega-cat-item[aria-selected="true"] {
  color: #fff;
  background: var(--orange);
}

.mega-goods-panels {
  border-top: 2px solid var(--orange);
  border-left-color: rgba(255, 255, 255, 0.08);
  background: #141414;
  box-shadow: 0 18px 34px rgb(0 0 0 / 38%);
}

.mega-goods-panels .mega-link-list a {
  color: #e9eef6;
}

.mega-goods-panels .mega-link-list a:hover,
.mega-goods-panels .mega-link-list a:focus-visible {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.07);
}

/* 侧边快捷联系工具栏：每个图标下方常显文字标签。
   文字取后台 frontend_tools 的 label（已按当前语言返回 label_zh/en/es/ru），
   原来是悬停才出现的气泡提示，这里改为图标下方的固定说明文字。 */
.toolbar-item {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  text-align: center;
}

.toolbar-icon {
  width: 100%;
  height: auto;
}

.toolbar-label {
  position: static;
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #14376d;
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
  opacity: 1;
  transform: none;
}

.toolbar-label::after {
  display: none;
}

.toolbar-item:hover .toolbar-label,
.toolbar-item:focus-visible .toolbar-label {
  opacity: 1;
  transform: none;
}

/* 桌面端：工具栏略微加宽，给图标下方的文字留出换行空间 */
@media (min-width: 1121px) {
  .floating-toolbar {
    width: 84px;
  }

  .toolbar-icon {
    height: 54px;
  }

  .toolbar-icon img {
    width: 32px;
    height: 32px;
  }

  .toolbar-item {
    gap: 7px;
    padding: 13px 8px 11px;
  }

  .toolbar-label {
    font-size: 11px;
  }

  /* 工具栏加宽后，弹出的聊天面板同步外移，保持与工具栏之间的间距 */
  .chat-popover {
    right: 118px;
  }
}

/* 平板/小屏：工具栏略加宽并允许文字换 3 行，避免英文/西语/俄语标签被截断 */
@media (max-width: 1120px) {
  .floating-toolbar {
    width: 62px;
  }

  .toolbar-item {
    width: 62px;
  }

  .toolbar-icon {
    width: 62px;
  }

  .toolbar-label {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

/* 手机端工具栏为横向排列，每个图标只有 56px 宽，
   文字改用更小字号并允许 4 行，避免英文/西语/俄语标签被截断 */
@media (max-width: 520px) {
  .floating-toolbar {
    width: 224px;
  }

  .toolbar-item {
    width: 56px;
  }

  .toolbar-icon {
    width: 56px;
  }

  .toolbar-label {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    font-size: 9px;
  }
}

/* 侧边快捷联系工具栏：只把底色改为纯黑 #000（含悬停/聚焦/按下状态，
   盖过窄屏深色主题里 #707070 的灰底与 var(--theme-orange) 的悬停高亮）。
   图标保持图片原本的颜色，不做任何滤镜处理。 */
.floating-toolbar,
.floating-toolbar .toolbar-item,
.floating-toolbar .toolbar-item:hover,
.floating-toolbar .toolbar-item:focus-visible,
.floating-toolbar .toolbar-item:active {
  background: #000;
}

/* 文字说明原本是深蓝 #14376d，在黑底上看不见，故改为白色 */
.floating-toolbar .toolbar-label {
  color: #fff;
}
