/* 首页样式 - 1:1 还原设计稿 + 响应式 */

/* ========== 动画：入场 + 悬停（兼容 prefers-reduced-motion 与移动端） ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 入场动画：由 JS 在进入视口时添加 .animate-in */
.js-animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-animate-in.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.js-animate-in.animate-in--fade {
  transform: none;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========== 箭头字体图标（CSS 绘制） ========== */
.icon-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
  vertical-align: middle;
  transition: transform 0.25s ease;
}
.icon-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.icon-arrow--sm {
  width: 24px;
  height: 24px;
}
.icon-arrow--sm::after {
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
}
.icon-arrow--lg {
  width: 32px;
  height: 32px;
}
.icon-arrow--lg::after {
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
}
.icon-arrow--down-right::after {
  transform: rotate(45deg);
}

/* ========== 头部 + 主视觉（全屏） ========== */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero__carousel {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__slide.hero__slide--active {
  opacity: 1;
  z-index: 1;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(181deg, rgba(0, 19, 41, 0) 0%, rgba(0, 19, 41, 0.9) 100%);
}

.hero__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  width:100%;
  max-width: 100%;
}

/* 超宽屏 (2560+): 导航使用更宽容器，确保右侧图标完整显示 */
@media (min-width: 1920px) {
  .hero__nav.container {
    /* max-width: min(1920px, calc(100vw - 120px)); */
	max-width: 100%;
  }
}

.hero__logo-wrap {
  display: block;
  flex-shrink: 0;
}
.hero__logo {
  width: 249px;
  height: 30px;
  margin-right: 56px;
}

.hero__menu {
  display: flex;
  align-items: center;
  gap: 46px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-primary);
  letter-spacing: 0.02em;
}

.hero__menu a {
  position: relative;
  color: inherit;
  padding-bottom: 6px;
  white-space: nowrap;
}

.hero__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.25s ease;
}

.hero__menu a.active::after,
.hero__menu a:hover::after {
  width: 100%;
}

.hero__menu a.active {
  border-bottom: none;
}

.hero__actions {
  margin-left: auto;
  padding-left: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.hero__lang {
  position: relative;
  font-size: 14px;
}

.hero__lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.hero__lang-label {
  letter-spacing: 0.08em;
}

.hero__lang-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.hero__lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 80px;
  padding: 6px 0;
  border-radius: 8px;
  background: rgba(0, 19, 41, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  list-style: none;
  margin: 0;
  display: none;
  z-index: 9999;
}

.hero__lang-menu li {
  padding: 6px 14px;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.hero__lang-menu li.is-active {
  background: rgba(0, 102, 255, 0.22);
}

.hero__lang-menu li:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero__lang.is-open .hero__lang-menu {
  display: block;
}

.hero__lang.is-open .hero__lang-arrow {
  transform: rotate(-135deg);
}

.hero__icon {
  width: 24px;
  height: 24px;
}

.hero__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.hero__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding-bottom: 100px;
}

.hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 64px;
  font-weight: 700;
  line-height: 70px;
  letter-spacing: 0.05em;
}

.hero__subtitle {
  margin: 0 0 42px;
  color: #fff;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* English homepage fine-tuning */
.page--en .hero__title.hero__title--en {
  font-size: 56px;
  line-height: 60px;
  letter-spacing: 0.03em;
}

.page--en .hero__subtitle--en {
  font-size: 24px;
  letter-spacing: 0.16em;
}

.page--en .hero__cta--en {
  padding-inline: 30px;
}

.page--en .section__title--en {
  font-size: 46px;
  line-height: 52px;
}

.page--en .section__desc--en {
  font-size: 22px;
}

.page--en .section-solution-wrap .solution-card__name {
  font-size: 18px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 33px 14px 33px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(0, 71, 157, 0.6) 0%, rgba(0, 71, 157, 0.4) 100%);
  color: #fff;
  font-size: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.hero__cta .icon-arrow {
  color: currentColor;
}

@media (hover: hover) {
  .hero__cta:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 71, 157, 0.35);
  }
  .hero__cta:hover .icon-arrow {
    transform: translateX(4px);
  }
  .hero__cta:active {
    transform: scale(0.98);
  }
}

.hero__dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.hero__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero__dots span:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero__dots span.active {
  background: #fff;
  border-color: #fff;
}

/* ========== 全球布局 ========== */
.section-global {
  position: relative;
  padding-top: 60px;
  background: #fff;
}

.section-global .container:first-child .section__title {
  text-align: left;
}

.section-global .container:first-child .section__desc {
  text-align: left;
}

.global-map {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}


.global-map__chart {
  position: absolute;
  inset: 0;
  background: transparent;
}

.global-map__office-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.global-map__office-node {
  cursor: pointer;
}

.global-map__office-line {
  fill: none;
  stroke: #0d4da2;
  stroke-width: 1.4;
  stroke-dasharray: 2 3;
  opacity: 0.45;
}

.global-map__office-label {
  fill: #0d4da2;
  font-size: 14px;
  font-weight: 600;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 3px;
}

.global-map__office-node.is-active .global-map__office-line {
  stroke: #f8b736;
  opacity: 0.95;
}

.global-map__office-node.is-active .global-map__office-label {
  fill: #f8b736;
}

.global-map-layout {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 24px;
}

.global-map-layout .global-map {
  flex: 1 1 0;
  max-width: calc(100% - 460px);
}

.global-map-office {
  width: 400px;
  flex: 0 0 400px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  align-self: center;
}

.global-map-office__image-wrap {
  padding: 10px 10px 0;
}

.global-map-office__image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.global-map-office__title {
  margin: 12px 0 14px;
  text-align: center;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: #222;
}

.global-map__bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #fff;
}

.global-map__markers {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

.global-map__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.global-map__node {
  cursor: pointer;
}

.global-map__node-dot {
  fill: #0d4da2;
  transition: fill 0.25s ease;
}

.global-map__node-pulse {
  fill: none;
  stroke: #f8b736;
  stroke-width: 2;
  opacity: 0;
}

.global-map__node-line {
  fill: none;
  stroke: #0d4da2;
  stroke-width: 1.5;
  stroke-dasharray: 2 3;
  opacity: 0.35;
}

.global-map__node-label {
  fill: #0d4da2;
  font-size: 14px;
  font-weight: 600;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.global-map__node.is-active .global-map__node-dot {
  fill: #f8b736;
}

.global-map__node.is-active .global-map__node-line {
  stroke: #f8b736;
  opacity: 1;
}

.global-map__node.is-active .global-map__node-pulse {
  opacity: 0.95;
  animation: mapNodePulse 1.25s ease-in-out infinite;
}

@keyframes mapNodePulse {
  0% { opacity: 0.12; }
  50% { opacity: 0.85; }
  100% { opacity: 0.12; }
}

/* 避免 SVG transform 引起的视觉“左右跳动” */
.global-map__node-pulse {
  transform-box: fill-box;
  transform-origin: center;
}

.global-map__node.is-active .global-map__node-label {
  fill: #f8b736;
  stroke: rgba(255, 255, 255, 0.95);
}

.global-map__marker {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.global-map__marker.is-active {
  z-index: 3;
}

.global-map__dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0d4da2;
  position: relative;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.global-map__marker.is-active .global-map__dot {
  background: #f8b736;
  box-shadow: 0 0 0 4px rgba(248, 183, 54, 0.35), 0 0 20px 8px rgba(248, 183, 54, 0.45);
}

.global-map__marker.is-active .global-map__dot::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid #f8b736;
  border-radius: 50%;
  animation: mapDotFlash 1.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mapDotFlash {
  0%, 100% { transform: scale(0.85); opacity: 0.2; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.global-map__line {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 44px;
  height: 32px;
  transform: translateX(0);
  color: #f8b736;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.global-map__line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.global-map__marker.is-active .global-map__line {
  opacity: 1;
  visibility: visible;
}

.global-map__label {
  position: absolute;
  left: calc(50% + 28px);
  bottom: 100%;
  transform: translateX(0) translateY(6px);
  padding: 6px 12px;
  background: #f8b736;
  color: #002a5d;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}


.global-map__marker.is-active .global-map__label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(6px);
}

@media (hover: hover) {
  .global-map__marker:hover .global-map__dot {
    box-shadow: 0 0 0 4px rgba(13, 77, 162, 0.32), 0 0 18px 6px rgba(13, 77, 162, 0.36);
  }
}

@media (hover: hover) {
  .global-map__marker:hover .global-map__dot {
    box-shadow: 0 0 0 4px rgba(13, 77, 162, 0.32), 0 0 18px 6px rgba(13, 77, 162, 0.36);
  }
}

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

.section__title {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  color: #001329;
  line-height: 42px;
}

.section-global .section__title {
  font-size: 42px;
  line-height: 42px;
}

.section__desc {
  margin: 8px 0 0;
  font-size: 20px;
  color: var(--color-gray);
  line-height: 28px;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.section-global .section__desc {
  font-size: 20px;
  line-height: 28px;
}

.section__title--mt,
.section__title--mt2 {
  text-align: center;
}

.section__title--mt + .section__desc,
.section__title--mt2 + .section__desc {
  text-align: center;
}

.section__title.section__title--left {
  text-align: left;
}

.section__desc.section__desc--left {
  text-align: left;
}

.section-news .news-header .section__title,
.section-news .news-header .section__desc {
  text-align: left;
}

.global-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px 60px;
  padding: 10px 0 20px;
}

@media (min-width: 1400px) {
  .global-stats {
    gap: 48px 120px;
  }
}

@media (min-width: 1600px) {
  .global-stats {
    gap: 48px 160px;
  }
}

/* 统计项换行时隐藏分隔线，避免 150% 缩放下溢出 */
@media (max-width: 1400px) {
  .stat:nth-child(n+3)::before {
    display: none;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 260px;
  position: relative;
}

.stat {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }
}

.stat {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }
}

.stat:nth-child(n+3)::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: #e5e7eb;
}

.stat__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  background-image: url('../img/icobg.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.stat__num {
  font-size: 64px;
  font-weight: 700;
  color: #001329;
  line-height: 64px;
}

.stat__num em {
  font-size: 32px;
  font-style: normal;
  vertical-align: top;
}

.stat__label {
  margin-top: 8px;
  font-size: 18px;
  color: var(--color-gray);
  text-align: center;
  word-break: keep-all;
}

.section__title--mt { margin-top: 140px; }
.section__title--mt2 { margin-top: 240px; }

.section-solution-wrap {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 110px;
}

.section-solution-wrap .container {
  max-width: none;
}

.section-solution-wrap .section__title {
  font-size: 42px;
  line-height: 48px;
}

.section-solution-wrap .section__desc {
  font-size: 20px;
  line-height: 28px;
}

.section-solution-wrap .solution-banner__name {
  font-size: 32px;
  line-height: 38px;
}

.section-solution-wrap .solution-banner__text {
  font-size: 16px;
  line-height: 16px;
}

.section-solution-wrap .btn--solution,
.section-solution-wrap .btn {
  font-size: 16px;
  padding: 10px 24px;
}

.section-solution-wrap .solution-nav__item {
  font-size: 14px;
}

.section-solution-wrap .solution-nav__item img {
  width: 64px;
  height: 64px;
}

.section-solution-wrap .solution-card__name {
  font-size: 26px;
  line-height: 28px;
}

.section-solution-wrap .solution-card__desc {
  font-size: 15px;
}

.section-solution-wrap .solution-card {
  padding: 28px 24px;
}

.section-solution-wrap .solution-card img,
.section-solution-wrap .solution-card__desc + img {
  width: 44px;
  height: 44px;
  margin-top: 16px;
}

/* ========== 解决方案横幅 ========== */
.solution-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 800px;
  margin-top: 60px;
}

.solution-banner__view {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.solution-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.solution-banner__slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.solution-banner__slide .solution-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 背景图两侧加深，突出白色文字 */
.solution-banner__slide .solution-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 左右两侧黑色更重，中间透明 */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 16%,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0) 58%,
    rgba(0, 0, 0, 0.55) 84%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.solution-banner__inner {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  height: 100%;
}

.solution-banner__left {
  position: relative;
  z-index: 2;
  width: 500px;
  max-width: min(500px, 100%);
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-banner__name {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 44px;
}

.solution-banner__text {
  margin: 16px 0 0;
  font-size: 18px;
  color: #fff;
  line-height: 28px;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.solution-banner__tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -110px;
  z-index: 10;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn .icon-arrow {
  color: currentColor;
}

@media (hover: hover) {
  .btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 71, 157, 0.2);
  }
  .btn:hover .icon-arrow {
    transform: translateX(4px);
  }
  .btn:active {
    transform: scale(0.98);
  }
}

.btn--solution {
  margin-top: 40px;
  background: green;
  border: 1px solid green;
  color: #fff;
  padding-left: 15px;
  padding-right: 15px;
  width: 200px;
}

@media (hover: hover) {
  .btn--solution:hover {
    background: var(--color-primary);
	border: 1px solid var(--color-primary);
  }
}

.btn--news {
  background: #fff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

@media (hover: hover) {
  .btn--news:hover {
    background: var(--color-primary);
    color: #fff;
  }
}

.solution-banner__right {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: transparent;
  padding: 28px 24px;
  border-radius: 12px;
}

.solution-nav__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.solution-nav__item img {
  width: 80px;
  height: 80px;
}

/* ========== 解决方案卡片 ========== */
.solution-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 40px;
  padding: 0;
}

.solution-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: 0;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  min-width: 0;
}

.solution-card img {
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .solution-card:hover img {
    transform: scale(1.05);
  }
  .solution-card:active {
    transform: translateY(-2px);
  }
}

.solution-card--gray {
  background: #e5e5ea;
}

.solution-card--blue {
  background: var(--color-primary);
  color: #fff;
}

.solution-card--blue .solution-card__desc { color: #fff; }

.solution-card--light {
  background: #f5f5f5;
}

.solution-card--active {
  background: var(--color-primary) !important;
  color: #fff;
}

.solution-card--active .solution-card__desc {
  color: rgba(255, 255, 255, 0.9);
}

.solution-card__name {
  font-size: 26px;
  font-weight: 700;
  line-height: 28px;
}

.solution-card__desc {
  margin-top: 4px;
  font-size: 15px;
  color: var(--color-gray);
}

.solution-card__desc + img {
  margin-top: 16px;
  width: 44px;
  height: 44px;
}

.solution-card img {
  margin-top: 16px;
  width: 44px;
  height: 44px;
}

/* ========== AI 项目展示 ========== */
.section-projects {
  position: relative;
  width: 100%;
  min-height: 1220px;
  margin-top: 120px;
  padding: 24px 0 60px;
  background-image: url('../img/section-projects-bg.png');
  background-size: cover;
  background-position: center 35%;
}

.section-projects::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 160px;
  background: #fff;
  z-index: 0;
}

.section-projects__head,
.section-projects__body {
  position: relative;
  z-index: 1;
}

.section-projects__body {
  margin-top: 120px;
}

.projects-row {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 33px;
}

.projects-col {
  flex-shrink: 0;
}

.projects-col--label {
  width: 90px;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff;
  font-size: 24px;
  font-weight: 700;
  color: #001329;
  line-height: 24px;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.projects-col--label.projects-col--active {
  background: #fff;
}

.projects-col--label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-primary);
}

.projects-img {
  flex: 1;
  min-width: 0;
  max-width: 465px;
  height: 272px;
  object-fit: cover;
}

/* 仅右侧卡片区域做横向轮播，左侧竖排标签保持不动 */
.projects-row__track {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0; /* 使用卡片 margin-right 作为间距，便于整块对齐移动 */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox 隐藏滚动条 */
}

.projects-row__track::-webkit-scrollbar {
  display: none; /* WebKit 隐藏滚动条 */
}

/* JS 无缝轮播模式：使用 transform 位移，隐藏原生滚动 */
.projects-row__track.is-looping {
  overflow: hidden;
  scroll-behavior: auto;
}

/* transform 无缝轮播时，需要保证两段内容拼接处仍有间距（否则会“跳”） */
.section-projects .projects-row__track.is-looping .projects-card {
  margin-right: 40px;
}
.section-projects .projects-row__track.is-looping .projects-card:last-child {
  margin-right: 40px;
}

.projects-card {
  flex: 1;
  min-width: 0;
  max-width: 465px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* 380+AI 项：PC 端每行始终只展示 3 张卡片，超出的通过左右滚动查看 */
.section-projects .projects-row__track .projects-card {
  /* (总宽度 - 2 个间距) / 3，保证 3 卡片等宽对齐 */
  flex: 0 0 calc((100% - 80px) / 3);
  max-width: calc((100% - 80px) / 3);
  margin-right: 40px;
}
.section-projects .projects-row__track .projects-card:last-child {
  margin-right: 0;
}

.projects-card img {
  flex: 1;
  width: 100%;
  height: 272px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .projects-card:hover {
    transform: translateY(-4px);
  }
  .projects-card:hover img {
    transform: scale(1.05);
  }
  .projects-card:active {
    transform: translateY(-2px);
  }
}

.projects-card__label {
  padding: 12px 22px;
  background: #fff;
  font-size: 18px;
  color: #001329;
  line-height: 24px;
}

/* 行内轮播左右透明按钮，覆盖在图片边缘位置 */
.projects-row__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.projects-row__arrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.projects-row__arrow--prev {
  left: 125px; /* 贴近第一张图片左侧，避开竖排标签 */
}

.projects-row__arrow--prev::before {
  transform: rotate(45deg);
  margin-left: 2px;
}

.projects-row__arrow--next {
  right: 16px;
}

.projects-row__arrow--next::before {
  transform: rotate(-135deg);
  margin-right: 2px;
}

/* ========== 新闻动态 ========== */
.section-news {
  padding: 146px 0 122px;
  background: #fff;
}

.section-news .news-header .section__title {
  font-size: 42px;
  line-height: 42px;
  font-weight: 700;
  color: #001329;
}

.section-news .news-header .section__desc {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-gray);
  margin-top: 12px;
}

.news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 56px;
}

/* PC端：左头条 + 右3篇，左右上下齐平 */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr;
  gap: 32px 40px;
  align-items: stretch;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.news-main {
  background: var(--color-gray-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.news-main__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.news-main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .news-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }
  .news-main:hover img {
    transform: scale(1.04);
  }
}

.news-main time {
  display: block;
  margin: 24px 0 0 46px;
  font-size: 16px;
  color: var(--color-gray);
}

.news-main h3 {
  margin: 16px 0 0 46px;
  font-size: 28px;
  font-weight: 400;
  color: #001329;
  line-height: 38px;
}

.news-link {
  display: block;
  margin: 32px 0 36px 46px;
  color: #001329;
}

/* PC端右侧：3篇新闻，图左文右，上下填满与左侧齐平 */
.news-cards {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 100%;
}

.news-cards .news-card:nth-child(n+4) {
  display: none;
}

.news-card {
  display: flex;
  flex-direction: row;
  min-width: 0;
  align-items: stretch;
  background: transparent;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  border-bottom: 1px solid #d8dce4;
  padding-bottom: 16px;
}

/* PC 端仅显示 3 条，第 3 条为最后一条无需底部分隔线及下边距 */
.news-cards .news-card:nth-child(3) {
  border-bottom: none;
  padding-bottom: 0;
}

.news-card img {
  width: 270px;
  min-width: 120px;
  max-width: 100%;
  flex-shrink: 0;
  height: 160px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
  position: relative;
  min-width: 0;
}

.news-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: #001329;
  line-height: 26px;
  flex: 1;
}

.news-card time {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-gray);
}

.news-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  transition: transform 0.25s ease;
  color: #001329;
}

@media (hover: hover) {
  .news-card:hover img {
    transform: scale(1.03);
  }
  .news-card:hover .news-card__arrow {
    transform: rotate(30deg);
  }
}

/* ========== 页脚 ========== */
.footer {
  background: #f7f8fc;
  padding: 70px 0 0;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(200px, 380px) minmax(100px, 0.8fr) minmax(100px, 0.8fr) minmax(260px, 1.6fr) minmax(100px, 0.8fr);
  gap: 48px 30px;
  padding-bottom: 48px;
}

.footer__main > * {
  min-width: 0;
}

.footer__brand {
  padding-right: 60px;
  border-right: 1px solid #e0e3e8;
  min-width: 0;
  overflow: hidden;
}

.footer__brand > img {
  width: 260px;
  max-width: 100%;
  height: 32px;
}

.footer__brand > p {
  margin: 16px 0 0;
  font-size: 15px;
  color: #8e8e93;
  line-height: 24px;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.footer__social {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.footer__social img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (hover: hover) {
  .footer__social a:hover img,
  .footer__social img:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

.footer__nav h4,
.footer__contact h4 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #001329;
  line-height: 28px;
}

.footer__nav a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #001329;
  line-height: 40px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

@media (hover: hover) {
  .footer__nav a:hover {
    color: var(--color-primary);
    padding-left: 4px;
  }
}

.footer__nav--solutions .footer__nav-grid {
  display: grid;
  grid-template-columns: minmax(4em, 1fr) minmax(4em, 1fr);
  gap: 0 48px;
  min-width: 0;
}

.footer__nav--solutions .footer__nav-grid > div {
  min-width: 0;
}

.footer__nav--solutions .footer__nav-grid a {
  font-size: 15px;
  line-height: 40px;
  white-space: nowrap;
}

.footer__contact p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: #001329;
  line-height: 40px;
}

.footer__contact p:last-child {
  white-space: normal;
  word-break: keep-all;
  max-width: 100%;
}

.footer__bottom {
  width: 100%;
  background: #262e3b;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px var(--gutter);
}

.footer__bottom-inner span {
  white-space: nowrap;
}

/* ========== 中等分辨率 (1400px)：确保导航完整显示，避免右侧被裁切 ========== */
@media (max-width: 1400px) {
  .hero__nav .hero__logo { margin-right: 32px; }
  .hero__nav .hero__menu { gap: 22px; font-size: 16px; }
  .hero__nav .hero__actions { padding-left: 32px; gap: 16px; }

  /* 页脚：150% 缩放时提前适配，避免布局错乱 */
  .footer__main {
    grid-template-columns: minmax(240px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) minmax(200px, 1.2fr);
    gap: 40px 36px;
  }
  .footer__brand { padding-right: 36px; }
  .footer__brand > img { width: 200px; max-width: 100%; }
  .footer__nav--solutions .footer__nav-grid {
    grid-template-columns: minmax(5em, 1fr) minmax(5em, 1fr);
    gap: 0 32px;
  }

  /* 解决方案卡片：保持 6 列一行，缩小比例并增加留白 */
  .solution-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 32px;
  }
  .solution-card {
    padding: 20px 16px;
  }
  .solution-card__name { font-size: 22px; line-height: 24px; }
  .solution-card__desc { font-size: 14px; }

  /* 新闻区：150% 缩放时列宽更均衡 */
  .news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
}

/* ========== 窄屏 (1100px)：进一步压缩导航，避免右侧裁切 ========== */
@media (max-width: 1100px) {
  .hero__nav .hero__logo { margin-right: 20px; width: 200px; }
  .hero__nav .hero__menu { gap: 14px; font-size: 14px; }
  .hero__nav .hero__actions { padding-left: 20px; gap: 10px; }
}

/* ========== 平板 (1200px) ========== */
@media (max-width: 1200px) {
  .hero__logo { margin-right: 24px; }
  .hero__menu { gap: 18px; font-size: 15px; }
  .hero__actions { padding-left: 24px; gap: 12px; }

  .hero__title { font-size: 56px; line-height: 56px; }
  .hero__subtitle { font-size: 24px; }
  .hero { min-height: 100vh; height: 100vh; }

  .section__title { font-size: 42px; line-height: 42px; }
  .section__desc { font-size: 22px; }

  .global-stats {
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .stat__num { font-size: 56px; line-height: 56px; }
  .stat__num em { font-size: 28px; }

  .solution-banner {
    height: 600px;
    padding-bottom: 0;
  }
  /* 780-1200 宽度段：解决方案标题/正文按比例缩小，避免压住背景 */
  .solution-banner__name { font-size: 32px; line-height: 38px; }
  .solution-banner__text { font-size: 16px; line-height: 28px; }

  .solution-banner__right {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
  }
  .solution-banner__tabs {
    bottom: 0;
  }
  .solution-nav__item img { width: 60px; height: 60px; }

  .solution-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px 24px;
  }
  .solution-card {
    padding: 16px 12px;
  }
  .solution-card__name { font-size: 20px; line-height: 22px; }
  .solution-card__desc { font-size: 13px; }
  .solution-card img,
  .solution-card__desc + img { width: 36px; height: 36px; margin-top: 12px; }
  .section__title--mt { margin-top: 80px; }
  .section__title--mt2 { margin-top: 120px; }

  /* 990 宽度附近：解决方案卡片再缩小一档文字 */
  @media (max-width: 990px) {
    .solution-cards {
      gap: 12px 16px;
    }
    .solution-card {
      padding: 14px 10px;
    }
    .solution-card__name {
      font-size: 18px;
      line-height: 22px;
    }
    .solution-card__desc {
      font-size: 12px;
    }
  }

  .news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: stretch;
    max-width: 100%;
  }
  .news-main { grid-row: auto; }
  .news-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
  }
  .news-cards .news-card:nth-child(n+4) {
    display: flex;
  }
  .news-card {
    flex-direction: column;
    border-top: none;
    background: var(--color-gray-light);
  }
  .news-card img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 140px;
  }

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

/* ========== 平板窄屏 (1024px)：导航切换为汉堡菜单 ========== */
@media (max-width: 1024px) {
  .hero__nav {
    flex-wrap: nowrap;
    padding: 20px var(--gutter);
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
  }
  .hero__logo-wrap,
  .hero__actions,
  .hero__menu-toggle {
    flex-shrink: 0;
  }
  .hero__logo { width: 160px; height: auto; margin-right: 0; max-width: 45%; }
  .hero__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    margin-top: 16px;
    width: auto;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: rgba(0, 19, 41, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }
  .hero__menu li { list-style: none; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .hero__menu li:last-child { border-bottom: none; }
  .hero__menu a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    white-space: normal;
  }
  .hero__menu a::after { display: none; }
  .hero__menu a:hover,
  .hero__menu a.active { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .hero.nav-open .hero__nav {
    z-index: 100;
  }
  .hero.nav-open .hero__content {
    pointer-events: none;
  }
  .hero.nav-open .hero__menu { display: flex; animation: menuSlideDown 0.3s ease; }
  .hero__menu-toggle { display: flex; padding: 8px; margin: -8px; border-radius: 8px; transition: background 0.2s ease; }
  .hero__menu-toggle:hover { background: rgba(255, 255, 255, 0.1); }
  .hero.nav-open .hero__menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hero.nav-open .hero__menu-toggle span:nth-child(2) { opacity: 0; }
  .hero.nav-open .hero__menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero__menu-toggle span { transition: transform 0.3s ease, opacity 0.2s ease; }
}

@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 移动端 (768px) ========== */
@media (max-width: 768px) {
  .hero { min-height: 100vh; height: 100vh; }
  .hero__nav { padding: 16px var(--gutter); gap: 8px 12px; }
  .hero__logo { width: 140px; max-width: 42%; }
  .hero__actions { padding-left: 0; gap: 8px; }
  .hero__lang-toggle { padding: 5px 8px; font-size: 12px; }
  .hero__title { font-size: 36px; line-height: 44px; }
  .hero__subtitle { font-size: 16px; }
  .page--en .hero__title.hero__title--en { font-size: 28px; line-height: 36px; }
  .page--en .hero__subtitle--en { font-size: 13px; }
  .hero__dots { bottom: 40px; }

  .section__title { font-size: 28px; line-height: 34px; }
  .section__desc { font-size: 18px; }
  .section-global .section__desc,
  .section-solution-wrap .section__desc,
  .section-projects .section__desc,
  .section-news .section__desc,
  .section-news .news-header .section__desc { font-size: 18px; }
  .section-global .section__title { font-size: 28px; line-height: 34px; }
  .section-solution-wrap .section__title { font-size: 28px; line-height: 34px; }
  .section-news .news-header .section__title { font-size: 28px; line-height: 34px; }

  .stat:nth-child(n+3)::before {
    display: none;
  }

  .global-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 24px 16px;
    padding-bottom: 48px;
  }
  .stat {
    flex: none;
    max-width: 160px;
  }
  .stat__num { font-size: 48px; line-height: 48px; }

  .global-map-layout {
    flex-direction: column;
    gap: 16px;
  }
  .global-map {
    width: 100%;
    /* 世界图偏宽，窄屏用更高比例避免纵向被压扁；底部留足高度给南美标签 */
    aspect-ratio: 4 / 3;
    min-height: 300px;
    max-width: none;
  }
  .global-map-layout .global-map { max-width: none; }
  .global-map__chart { min-height: 300px; }
  .global-map-office {
    width: min(88vw, 320px);
    flex: none;
    margin: 0 auto;
  }
  .global-map-office__title {
    font-size: 22px;
    margin: 8px 0 12px;
  }
  .global-map__office-label {
    font-size: 11px;
    stroke-width: 2px;
  }
  .global-map__office-line {
    stroke-width: 1.1;
    stroke-dasharray: 2 4;
  }
  .global-map__dot { width: 10px; height: 10px; }
  .global-map__marker.is-active .global-map__dot::before { inset: -6px; }
  .global-map__label { font-size: 12px; padding: 4px 10px; }

  .solution-banner {
    height: auto;
    min-height: 500px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  .solution-banner__view {
    position: relative;
    inset: auto;
    flex: 1;
    min-height: 700px;
    overflow: visible;
  }
  /* 手机端：去掉底部/整体深色蒙层 */
  .solution-banner::before {
    content: "";
    display: none;
  }
  .solution-banner__inner {
    position: relative;
    z-index: 2;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 60px;
  }
  .solution-banner__left {
    height: auto;
    padding-top: 150px;
    flex-shrink: 0;
  }
  .solution-banner__name { font-size: 28px; }
  .solution-banner__text { font-size: 16px; line-height: 28px; }
  .solution-banner__right {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 0 20px 20px;
    justify-items: center;
    align-items: center;
    flex-shrink: 0;
  }
  .solution-banner__tabs {
    position: static;
    margin-top: 40px;
  }
  .section-solution-wrap {
    padding-bottom: 24px;
  }
  .solution-cards {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .solution-nav__item {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    font-size: 12px;
  }
  .solution-nav__item img {
    width: 48px;
    height: 48px;
  }

  .solution-cards {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    gap: 16px;
    padding: 24px var(--gutter) 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .solution-cards::-webkit-scrollbar {
    display: none;
  }
  .solution-cards .solution-card {
    flex: 0 0 calc(100vw - var(--gutter) * 2 - 32px);
    min-width: 260px;
    scroll-snap-align: center;
    padding: 24px 20px;
  }
  .solution-card__name { font-size: 24px; }
  .solution-card__desc { font-size: 16px; }
  .section__title--mt { margin-top: 48px; }
  .section__title--mt2 { margin-top: 64px; }

  .section-projects {
    margin-top: 48px;
    padding: 24px 0 64px;
    background-position: center -80px;
  }
  .section-projects .section__title {
    font-size: 28px;
    line-height: 34px;
  }
  .section-projects .section__desc {
    font-size: 18px;
    line-height: 24px;
    margin-top: 8px;
  }
  .section-projects__head {
    padding-bottom: 20px;
  }
  .section-projects::before {
    height: 140px;
  }
  .section-projects__body {
    margin-top: 40px;
  }
  .projects-row {
    flex-direction: column;
    gap: 16px;
  }
  .projects-row__track {
    flex-direction: column;
    gap: 16px;
    overflow: visible;
  }
  .projects-col--label {
    width: 100%;
    min-width: 100%;
    min-height: 80px;
    writing-mode: horizontal-tb;
    padding-top: 40px;
    font-size: 18px;
  }
  .projects-col--label::before {
    height: 40px;
  }
  .projects-img,
  .projects-card { max-width: 100%; margin-right: 0; }
  .section-projects .projects-row__track .projects-card {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .projects-card img,
  .projects-img {
    display: block;
    width: 100%;
    /* 移动端按图片原始比例展示，不固定高度、不裁切 */
    height: auto;
    object-fit: contain;
    flex: 0 0 auto; /* 关键：不要让 img 在 flex 容器里被拉伸 */
  }
  .projects-labels {
    padding-left: 0;
    margin-top: 16px;
  }
  .projects-labels span {
    font-size: 16px;
    padding: 8px 16px;
  }
  /* 移动端：section-projects 内按“上标签 + 下轮播”显示，避免 track 被挤占为 0 */
  .section-projects .projects-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .section-projects .projects-col--label {
    width: 100%;
    min-width: 100%;
  }
  .section-projects .projects-row__track {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
  }
  .section-projects .projects-row__track .projects-card {
    flex: 0 0 100%;
    max-width: 100%;
    margin-right: 16px;
  }
  .section-projects .projects-row__track .projects-card:last-child {
    margin-right: 0;
  }
  .section-projects .projects-row__arrow {
    display: flex;
    width: 32px;
    height: 32px;
    top: 55%;                 /* 保持垂直居中在图片区域附近 */
    transform: translateY(-50%);
    left: auto;
    right: auto;
  }
  .section-projects .projects-row__arrow--prev {
    left: 12px;               /* 紧贴图片左侧内缘 */
  }
  .section-projects .projects-row__arrow--next {
    right: 12px;              /* 紧贴图片右侧内缘 */
  }

  .section-news { padding: 64px 0 64px; }
  .news-header { flex-direction: column; gap: 20px; }
  .news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }
  .news-main { grid-row: auto; }
  .news-main img { height: 240px; }
  .news-main h3 { font-size: 21px; }
  .news-cards {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .news-card {
    flex-direction: column;
    border-top: none;
    background: var(--color-gray-light);
  }
  .news-card img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 160px;
  }

  .footer { padding-top: 48px; }
  .footer__main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "links solutions"
      "contact contact";
    gap: 32px 24px;
  }
  .footer__brand {
    grid-area: brand;
    border-right: none;
    padding-right: 0;
  }
  .footer__nav:not(.footer__nav--solutions) {
    grid-area: links;
  }
  .footer__nav--solutions {
    grid-area: solutions;
  }
  .footer__nav--solutions .footer__nav-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__contact {
    grid-area: contact;
  }
  .footer__contact p:last-child {
    white-space: normal;
  }
  .footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ========== 小屏 (480px) ========== */
@media (max-width: 480px) {
  .hero__nav { padding: 12px var(--gutter); gap: 6px 8px; }
  .hero__logo { width: 120px; max-width: 40%; }
  .hero__actions { gap: 6px; }
  .hero__icon { width: 20px; height: 20px; }
  .hero__lang-toggle { padding: 4px 6px; font-size: 11px; }
  .hero__title { font-size: 28px; line-height: 36px; }
  .hero__subtitle { font-size: 14px; }
  .page--en .hero__title.hero__title--en { font-size: 24px; line-height: 30px; }
  .page--en .hero__subtitle--en { font-size: 12px; }
  .section__title { font-size: 28px; }
  .section-global .section__title,
  .section-solution-wrap .section__title,
  .section-projects .section__title,
  .section-news .news-header .section__title { font-size: 28px; line-height: 34px; }
  .section__desc,
  .section-global .section__desc,
  .section-solution-wrap .section__desc,
  .section-projects .section__desc,
  .section-news .section__desc,
  .section-news .news-header .section__desc { font-size: 16px; }
  .solution-cards {
    flex: 0 0 auto;
  }
  .solution-cards .solution-card {
    flex: 0 0 calc(100vw - 40px);
    min-width: 240px;
  }
  .global-map {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
  .global-map__chart { min-height: 280px; }
  .global-map-office {
    width: calc(100vw - 36px);
    max-width: 300px;
  }
  .global-map-office__title {
    font-size: 20px;
  }
  .global-map__office-label {
    font-size: 10px;
  }
}

/* ========== AI 项目详情弹窗 ========== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 41, 0.85);
  backdrop-filter: blur(8px);
}
.project-modal__content {
  position: relative;
  width: 100%;
  max-width: min(1240px, calc(100vw - 80px));
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.project-modal.is-open .project-modal__content {
  transform: scale(1);
}
.project-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.project-modal__close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}
.project-modal__body {
  padding: 24px;
  max-height: 90vh;
  overflow-y: auto;
}
.project-modal__media {
  display: block;
  width: 100%;
  align-items: start;
}
.project-modal__video-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.project-modal__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-modal__image-wrap {
  display: none;
}
.project-modal__image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.project-modal__label {
  font-size: 18px;
  font-weight: 600;
  color: #001329;
  padding: 12px 16px;
  background: #f2f2f7;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .project-modal__media {
    display: block;
  }
  .project-modal__content {
    max-width: calc(100vw - 24px);
  }
  .project-modal__body { padding: 16px; }
}
