/* ===== 统一 Footer 样式 - 优化版 ===== */
footer.footer {
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
  color: #e2e8f0;
  padding: 60px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

footer .footer-col h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4299e1;
  font-weight: 600;
}

footer .footer-col p {
  margin-bottom: 15px;
  color: #cbd5e0;
  line-height: 1.6;
}

/* 链接列表样式 */
footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-links li {
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

footer .footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 2px 0;
}

footer .footer-links a:hover {
  color: #4299e1;
  padding-left: 5px;
}

/* 微信公众号样式 */
footer .wechat-qr {
  margin-top: 20px;
  text-align: center;
}

footer .qr-code {
  width: 120px;
  height: 120px;
  background: white;
  padding: 8px;
  border-radius: 8px;
  margin: 0 auto 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

footer .qr-code img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

footer .wechat-qr p {
  font-size: 12px;
  color: #a0aec0;
  margin: 0;
}

/* 联系信息样式 */
footer .contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

footer .contact-item i {
  color: #4299e1;
  margin-right: 12px;
  margin-top: 2px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

footer .contact-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #cbd5e0;
  letter-spacing: 0.2px;
}

/* 社交媒体样式 */
footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #4a5568;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

footer .social-link:hover {
  background: #4299e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

/* ===== 响应式设计 ===== */

/* 平板设备 (768px-992px) */
@media (max-width: 992px) {
  footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* 移动设备 (小于768px) */
@media (max-width: 768px) {
  footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  /* 只在移动端隐藏有mobile-hide类的版块 */
  .footer-col.mobile-hide {
    display: none !important;
  }
  
  /* 确保其他版块正常显示 */
  .footer-col-company,
  .footer-col-contact {
    width: 100% !important;
  }
}

/* 桌面端 (大于768px) - 确保所有版块显示 */
@media (min-width: 769px) {
  .footer-col.mobile-hide {
    display: block !important;
  }
  
  footer .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
  }
}

/* ===== Footer底部版权区域 ===== */
footer .footer-bottom {
  position: relative;
  padding: 5px 0;
  margin-top: 40px;
  text-align: center;
  z-index: 1;
}

footer .footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

footer .footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* 版权文字样式 */
.text-part {
  margin-right: 100px;
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.copyright-single-line a {
  margin-right: 100px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.copyright-single-line a:hover {
  color: #4299e1;
}

.copyright-single-line a:last-child {
  margin-right: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .text-part {
    margin-right: 30px;
  }
  
  .copyright-single-line a {
    margin-right: 30px;
  }
  
  footer .footer-bottom-content {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .text-part {
    margin-right: 15px;
    display: block;
    margin-bottom: 10px;
  }
  
  .copyright-single-line a {
    margin-right: 15px;
    display: inline-block;
  }
}





:root {
      --primary: #0055aa;
      --primary-dark: #003f80;
      --secondary: #00a0e9;
      --accent: #00c1d4;
      --light: #f5f9ff;
      --dark: #001f3f;
      --gray: #6c757d;
      --light-gray: #f8f9fa;
      --success: #28a745;
      --border-radius: 8px;
      --box-shadow: 0 6px 20px rgba(0, 85, 170, 0.1);
      --transition: all 0.3s ease;
      --header-height: 80px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Roboto', 'Noto Sans SC', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #fff;
      overflow-x: hidden;
    }

    body.lang-zh {
      font-family: 'Noto Sans SC', 'Roboto', sans-serif;
    }

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

    .container {
      width: 100%;
      max-width: 1650px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .btn {
      display: inline-block;
      padding: 12px 28px;
      background-color: var(--primary);
      color: white;
      border-radius: var(--border-radius);
      font-weight: 500;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      text-align: center;
      font-size: 16px;
    }

    .btn:hover {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 85, 170, 0.2);
    }

    .btn-secondary {
      background-color: white;
      color: var(--primary);
      border: 1px solid var(--primary);
    }

    .btn-secondary:hover {
      background-color: var(--light);
    }

    .section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 50px;
    }

    .section-title h2 {
      font-size: 36px;
      color: var(--dark);
      margin-bottom: 15px;
      position: relative;
      display: inline-block;
    }

    .section-title h2:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
    }

    .section-title p {
      color: var(--gray);
      font-size: 18px;
      max-width: 700px;
      margin: 20px auto 0;
    }

    /* Header & Navigation */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      transition: var(--transition);
      height: var(--header-height);
    }

    .header.scrolled {
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: var(--header-height);
    }

    .logo {
      display: flex;
      align-items: center;
      height: 60px;
    }

    .logo img {
      height: 50px;
    }

    .nav-menu {
      display: flex;
      list-style: none;
    }

    .nav-item {
      position: relative;
      margin: 0 15px;
    }

    .nav-link {
      font-weight: 500;
      color: var(--dark);
      padding: 8px 0;
      position: relative;
      transition: var(--transition);
    }

    .nav-link:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: var(--transition);
    }

    .nav-link:hover:after,
    .nav-link.active:after {
      width: 100%;
    }

    .dropdown {
      position: relative;
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      width: 220px;
      background: white;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      padding: 10px 0;
      opacity: 0;
      visibility: hidden;
      transform: none;
      transition: opacity 0.3s ease, visibility 0.3s ease;;
      z-index: 100;
    }

    .dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: none;
    }

    .dropdown-item {
      display: block;
      padding: 10px 20px;
      color: var(--gray);
      transition: var(--transition);
    }

    .dropdown-item:hover {
      color: var(--primary);
      background: var(--light);
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .mobile-toggle {
      display: none;
      font-size: 24px;
      cursor: pointer;
    }




//* === Header 标语区域 === */
.header-slogan {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  margin: 0 10px;
}

.header-slogan span {
  display: inline-block;
  line-height: 1.4;
}

/* 调整头部布局，让标语在 logo 和导航之间 */
.header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  flex-wrap: wrap;
}

/* Logo 样式 */
.logo {
  display: flex;
  align-items: center;
  height: 60px;
  flex-shrink: 0;
}

/* 响应式设计 - 移动端隐藏标语 */
@media (max-width: 768px) {
  .header-slogan {
    display: none; /* 在移动端隐藏标语 */
  }
}


                                                                                              
/* ========== 添加header高度变量 ========== */
:root {
  --header-height-desktop: 80px;
  --header-height-mobile: 70px;
  --header-height-mobile-small: 60px;
  --header-height: 80px; /* 保持兼容性 */
}

/* ========== Banner Slider ========== */
.banner-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: var(--header-height-desktop) !important;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-slide.active {
  opacity: 1;
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  width: 90%;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.slider-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.slider-desc {
  font-size: 20px;
  margin-bottom: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #e0f7ff 0%, #f0faff 100%);
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 150px;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 16px;
  color: var(--gray);
}

/* ========== 移动端修复开始 ========== */

/* 平板设备 (768px以下) */
@media screen and (max-width: 768px) {
  .banner-slider {
    height: 450px;
    margin-top: 0 !important;
    padding-top: var(--header-height-mobile) !important;
  }
  
  .slider-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    padding: 0 15px;
  }
  
  .slider-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .slider-desc {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.4;
  }
  
  .slider-dots {
    bottom: 25px;
  }
  
  /* Hero Section 移动端调整 */
  .hero {
    min-height: 400px;
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    max-width: 90%;
  }
  
  .hero-stats {
    gap: 20px;
    margin-top: 30px;
  }
  
  .stat-item {
    min-width: 120px;
  }
  
  .stat-value {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 14px;
  }
}

/* 手机设备 (480px以下) */
@media screen and (max-width: 480px) {
  :root {
    --header-height-mobile: 65px;
    --header-height-mobile-small: 60px;
  }
  
  .banner-slider {
    height: 350px;
    margin-top: 0 !important;
    padding-top: var(--header-height-mobile-small) !important;
  }
  
  .slider-slide {
    background-size: cover;
    background-position: center center;
  }
  
  .slider-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    backdrop-filter: blur(2px);
  }
  
  .slider-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .slider-desc {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .slider-dots {
    bottom: 15px;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
  
  /* 横屏模式优化 */
  @media (orientation: landscape) and (max-height: 500px) {
    .banner-slider {
      height: 280px;
    }
    
    .slider-content {
      padding: 15px;
    }
    
    .slider-title {
      font-size: 20px;
      margin-bottom: 8px;
    }
    
    .slider-desc {
      font-size: 14px;
      margin-bottom: 15px;
    }
  }
  
  /* 小屏幕手机 (360px以下) */
  @media screen and (max-width: 360px) {
    :root {
      --header-height-mobile-small: 55px;
    }
    
    .banner-slider {
      height: 300px;
      padding-top: 55px !important;
    }
    
    .slider-content {
      padding: 15px 10px;
    }
    
    .slider-title {
      font-size: 22px;
    }
    
    .slider-desc {
      font-size: 15px;
    }
  }
}

/* 超大手机屏幕 (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
  .banner-slider {
    height: 400px;
    margin-top: 0 !important;
    padding-top: var(--header-height-mobile) !important;
  }
  
  .slider-content {
    width: 80%;
  }
  
  .slider-title {
    font-size: 28px;
  }
  
  .slider-desc {
    font-size: 17px;
  }
}

/* ========== 移动端修复结束 ========== */

/* 确保在移动端保持居中裁剪显示 */
@media screen and (max-width: 768px) {
  .slider-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
}

/* 修复触摸设备上的交互 */
@media (hover: none) and (pointer: coarse) {
  .slider-dot {
    width: 14px;
    height: 14px;
  }
  
  .slider-dot:active {
    transform: scale(1.1);
  }
}

/* ========== 为fixed header预留body空间 ========== */
/* 添加在文件末尾，确保覆盖其他样式 */
body:not(.page):not(.page-template-default):not(.home):not(.blog):not(.archive):not(.single):not(.single-service):not([class*="market-"]):not([class*="service-"]) {
  padding-top: var(--header-height-desktop) !important;
}

@media screen and (max-width: 768px) {
  body {
    padding-top: var(--header-height-mobile) !important;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding-top: var(--header-height-mobile-small) !important;
  }
}

@media screen and (max-width: 360px) {
  body {
    padding-top: 55px !important;
  }
}

/* ========== iOS Safari特殊修复 ========== */
@supports (-webkit-touch-callout: none) {
  .banner-slider {
    /* iOS需要特殊处理100vh */
    height: -webkit-calc(100vh - var(--header-height-desktop));
    height: calc(100vh - var(--header-height-desktop));
    min-height: 600px;
    max-height: 700px;
  }
  
  @media screen and (max-width: 768px) {
    .banner-slider {
      height: -webkit-calc(100vh - var(--header-height-mobile));
      height: calc(100vh - var(--header-height-mobile));
      min-height: 400px;
      max-height: 500px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .banner-slider {
      height: -webkit-calc(100vh - var(--header-height-mobile-small));
      height: calc(100vh - var(--header-height-mobile-small));
      min-height: 350px;
      max-height: 450px;
    }
  }
}

/* ========== 修复header固定定位问题 ========== */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: white !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* ========== 确保内容区域不被header遮挡 ========== */
main {
  position: relative;
  z-index: 1;
}

/* ========== 修复水平滚动问题 ========== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

* {
  max-width: 100% !important;
  box-sizing: border-box !important;
}



                                                                                                                                                  
    /* Hero Section */
    .hero {
      min-height: 500px;
      position: relative;
      display: flex;
      align-items: center;
      background: linear-gradient(120deg, #e0f7ff 0%, #f0faff 100%);
      padding: 80px 0;
      text-align: center;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 1650px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .hero-title {
      font-size: 42px;
      font-weight: 700;
      color: var(--dark);
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-title span {
      color: var(--primary);
    }

    .hero-subtitle {
      font-size: 18px;
      color: var(--gray);
      margin-bottom: 30px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 40px;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
      min-width: 150px;
    }

    .stat-value {
      font-size: 36px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 5px;
    }

    .stat-label {
      font-size: 16px;
      color: var(--gray);
    }


                                                                                   




/* Services Section */
.services {
  background-color: var(--light);
}

.services-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 12px 25px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.services-panels {
  display: block;
  width: 100%;
}

.services-panel {
  display: none;
}

.services-panel.active {
  display: block;
}

.services-grid {
  display: block;
  text-align: center;
}

.service-header {
  padding: 25px;
  background: var(--primary);
  color: white;
  text-align: center;
  position: relative;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.service-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.service-body {
  padding: 25px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.country-card {
  background: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 15px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #eee;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.country-flag {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.country-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.country-reg {
  color: var(--primary);
  font-size: 14px;
}



/* ===== 手机端：市场展示两列布局 ===== */
@media (max-width: 768px) {
  /* 覆盖电脑端的网格布局 */
  .country-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  /* 调整国家卡片样式 */
  .country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px !important;
    min-height: auto !important;
  }
  
  .country-flag {
    width: 45px !important;
    height: 30px !important;
    margin: 0 auto 8px !important;
  }
  
  .country-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }
  
  .country-reg {
    font-size: 11px !important;
    text-align: center;
    line-height: 1.2 !important;
    opacity: 0.8;
  }
}

/* ===== 平板端：保持单列 ===== */
@media (min-width: 769px) and (max-width: 992px) {
  .country-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== 电脑端：保持原样不变 ===== */
@media (min-width: 993px) {
  .country-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  }
}

                                                                                  

    /* About Section */
    .about-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    .about-text h3 {
      font-size: 28px;
      color: var(--dark);
      margin-bottom: 20px;
    }

    .about-text p {
      margin-bottom: 20px;
      color: #555;
    }

    .about-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 30px;
    }

    .about-stat {
      background: var(--light);
      padding: 20px;
      border-radius: var(--border-radius);
      text-align: center;
    }

    .about-stat i {
      font-size: 30px;
      color: var(--primary);
      margin-bottom: 15px;
    }

    .about-video {
      position: relative;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--box-shadow);
      height: 100%;
    }

    .about-video img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .about-video:hover img {
      transform: scale(1.05);
    }

    .play-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 70px;
      height: 70px;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
    }

    .play-btn i {
      color: var(--primary);
      font-size: 24px;
      margin-left: 5px;
    }

    .play-btn:hover {
      background: white;
      transform: translate(-50%, -50%) scale(1.1);
    }

    /* Advantages Section */
    .advantages-section {
      background: linear-gradient(120deg, #f8fdff 0%, #e6f4ff 100%);
    }

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


    .advantage-item {
      background: white;
      padding: 30px;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      display: flex;
      align-items: flex-start;
      gap: 20px;
    }

    .advantage-number {
      min-width: 50px;
      height: 50px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .advantage-text h3 {
      font-size: 20px;
      margin-bottom: 10px;
      color: var(--dark);
    }

    .advantage-text p {
      color: var(--gray);
    }

    /* Clients Section */
    .clients-section {
      background-color: white;
    }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(8, auto); 
  gap: 12px;
  justify-content: center;  
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  border: 1px solid #eee;
  aspect-ratio: 2.5 / 1;
}



    .client-logo:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }


.client-logo {
  background: white;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: var(--box-shadow);
  padding: 0;
  display: inline-block;
}

.client-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 294px;  
}



    /* News Section */
    .news-section {
      background-color: var(--light);
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 30px;
    }

    .news-card {
      background: white;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--box-shadow);
      transition: var(--transition);
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

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

    .news-content {
      padding: 25px;
    }

    .news-category {
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 10px;
      display: block;
    }

    .news-title {
      font-size: 20px;
      margin-bottom: 15px;
    }

    .news-date {
      color: var(--gray);
      font-size: 14px;
      display: flex;
      align-items: center;
    }

    .news-date i {
      margin-right: 5px;
    }

    /* CTA Section */
    .cta {
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      color: white;
      text-align: center;
      padding: 80px 0;
    }

    .cta h2 {
      font-size: 36px;
      margin-bottom: 20px;
    }

    .cta p {
      font-size: 20px;
      max-width: 700px;
      margin: 0 auto 40px;
      opacity: 0.9;
    }

    .cta-btns {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .btn-light {
      background: white;
      color: var(--primary);
    }

    .btn-light:hover {
      background: rgba(255, 255, 255, 0.9);
    }






    .contact-info {
      list-style: none;
    }

    .contact-info li {
      display: flex;
      margin-bottom: 15px;
    }

    .contact-info i {
      margin-right: 10px;
      color: var(--accent);
      min-width: 20px;
    }

    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      transition: var(--transition);
    }

    .social-links a:hover {
      background: var(--accent);
      transform: translateY(-3px);
    }

    .copyright {
      text-align: center;
      padding: 25px 0;
      font-size: 14px;
    }

    /* Mobile Navigation */
    @media (max-width: 992px) {
      .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
      }
      
      .nav-menu.active {
        left: 0;
      }
      
      .nav-item {
        margin: 15px 0;
        width: 100%;
      }
      
      .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
        margin-top: 10px;
      }
      
      .dropdown-menu.active {
        display: block;
      }
      
      .dropdown .nav-link:after {
        display: none;
      }
      
      .dropdown .nav-link i {
        transition: transform 0.3s;
      }
      
      .dropdown .nav-link.active i {
        transform: rotate(180deg);
      }
      
      .mobile-toggle {
        display: block;
      }
      
      /* Other responsive styles */
      .hero-title {
        font-size: 32px;
      }
      
      .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      
      .hero-content {
        max-width: 100%;
        text-align: center;
        padding-top: 40px;
      }
      
      .hero-stats {
        justify-content: center;
      }
      
      .service-nav {
        display: none;
      }
      
      .advantages-grid {
        grid-template-columns: 1fr;
      }
      
.clients-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);  /* 
  gap: 20px;
  align-items: stretch;  /* 
}
    }

    @media (max-width: 768px) {
      .section {
        padding: 60px 0;
      }
      
      .hero-title {
        font-size: 28px;
      }
      
      .hero-subtitle {
        font-size: 16px;
      }
      
      .hero-stats {
        flex-wrap: wrap;
      }
      
      .section-title h2 {
        font-size: 28px;
      }
      
      .footer-grid {
        gap: 30px;
      }
      
      .banner-slider {
        height: 400px;
      }
      
      .slider-title {
        font-size: 32px;
      }
      
      .slider-desc {
        font-size: 18px;
      }
      
      .service-title {
        font-size: 24px;
      }
      
      .clients-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    /* Language Switcher */
.lang-switcher {
  display: flex;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 30px;
  overflow: hidden;
  margin-right: 15px;
}



/* 新增语言切换按钮样式 */
.lang-btn {
  padding: 8px 16px;
  background: white;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  font-size: 14px;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.lang-btn:hover:not(.active) {
  background-color: #f0f0f0;
}

/* 新增视频模态框样式 */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    z-index: 10;
}
.video-play-btn img {
    width: 80px;
    height: 80px;
}

/* === Header 基础布局 === */
.header {
  position: sticky; /* 需要固定可改成 fixed */
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.header .container.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

/* Logo */
.header .logo img {
  display: block;
  max-height: 40px;
}

/* === 导航列表 === */
.header .nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;           /* 去掉圆点 */
}

.header .nav-menu > li {
  position: relative;
}

.header .nav-menu > li > a {
  display: block;
  padding: 10px 14px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
}

.header .nav-menu > li > a:hover,
.header .nav-menu > li.current-menu-item > a,
.header .nav-menu > li.current-page-ancestor > a {
  color: #0d6efd;             /* 悬停/当前高亮 */
}

/* 子菜单（如果你有） */
.header .nav-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 1001;
}

.header .nav-menu li:hover > .sub-menu {
  display: block;
}

.header .nav-menu .sub-menu li a {
  display: block;
  padding: 10px 14px;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
}
.header .nav-menu .sub-menu li a:hover {
  background: #f8fafc;
  color: #0d6efd;
}

/* 语言切换 */
.header .lang-switcher .lang-btn {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #111827;
  text-decoration: none;
}
.header .lang-switcher .lang-btn:hover {
  border-color: #0d6efd;
  color: #0d6efd;
}

/* 移动端汉堡按钮 */
.header .mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  user-select: none;
}

/* === 响应式：小屏收起菜单 === */
   @media (max-width: 992px) {
  .header .container.navbar {
    gap: 12px;
  }

  .header nav {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    display: none;            /* 初始收起 */
  }

  .header nav.active {
    display: block;           /* 展开 */
  }

  .header .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
    gap: 6px;
  }

  .header .nav-menu > li > a {
    padding: 10px 6px;
    width: 100%;
  }

  .header .mobile-toggle { display: block; }
}



    /* Animation for language switch */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .animate-fade {
      animation: fadeIn 0.5s ease forwards;
    }
    
    
    
    /* ===============================
   基础变量（按需改配色）
   =============================== */
:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --link:#0d6efd;
  --link-hover:#0b5ed7;
  --border:#e5e7eb;
  --soft:#f8fafc;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}

/* 简单 Reset */
* { box-sizing: border-box; }
html,body { margin:0; padding:0; }
body { color:var(--text); font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; background:#fff; }
img { max-width:100%; display:block; height:auto; }
a { color:inherit; text-decoration:none; }
.container { width:min(1180px, 92vw); margin:0 auto; }

/* 工具类 */
.section { padding:60px 0; }
.text-center { text-align:center; }
.btn {
  display:inline-block; padding:10px 16px; border-radius:6px;
  border:1px solid var(--border); background:#fff; color:var(--text);
  cursor:pointer; transition:.2s;
}
.btn:hover { border-color:var(--link); color:var(--link); }

/* ===============================
   Header / 导航
   =============================== */
.header{
  position:sticky; top:0; z-index:1000;
  background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.header .container.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; min-height:64px;
}
.header .logo img{ max-height:40px; }

/* 主导航 */
.header .nav-menu{
  display:flex; align-items:center; gap:20px;
  margin:0; padding:0; list-style:none;
}
.header .nav-menu > li { position:relative; }
.header .nav-menu > li > a{
  display:block; padding:10px 14px; line-height:1;
  color:#1f2937; font-weight:500;
}
.header .nav-menu > li > a:hover,
.header .nav-menu > li.current-menu-item > a,
.header .nav-menu > li.current-page-ancestor > a{
  color:var(--link);
}

/* 下拉子菜单（如果有） */
.header .nav-menu .sub-menu{
  position:absolute; left:0; top:100%;
  min-width:180px; padding:8px 0; margin:0; list-style:none;
  background:#fff; border:1px solid var(--border); box-shadow:var(--shadow);
  display:none; z-index:1001;
}
.header .nav-menu li:hover > .sub-menu{ display:block; }
.header .nav-menu .sub-menu li a{
  display:block; padding:10px 14px; white-space:nowrap; color:#374151;
}
.header .nav-menu .sub-menu li a:hover{ background:var(--soft); color:var(--link); }

/* 语言按钮 & 汉堡 */
.header .lang-switcher .lang-btn{
  display:inline-block; padding:8px 12px;
  border:1px solid var(--border); border-radius:6px;
}
.header .lang-switcher .lang-btn:hover{ border-color:var(--link); color:var(--link); }
.header .mobile-toggle{ display:none; font-size:24px; cursor:pointer; user-select:none; }

/* 响应式：小屏收起菜单 */
@media (max-width: 992px){
  .header .mobile-toggle{ display:block; }
  .header nav{
    position:absolute; left:0; top:100%; width:100%;
    background:#fff; border-top:1px solid var(--border); display:none;
  }
  .header nav.active{ display:block; }
  .header .nav-menu{
    flex-direction:column; align-items:flex-start; gap:6px;
    padding:8px 12px;
  }
  .header .nav-menu > li > a{ padding:10px 6px; width:100%; }
}

/* ===============================
   Banner / 轮播（与你的 style.js 对应）
   需要 .slider-slide / .slider-dot 的结构
   =============================== */
.banner-slider{ position:relative; overflow:hidden; }
.slider-container{ position:relative; }
.slider-slide{
  display:none; min-height:420px; /* 可按你图片高度设置 */
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.slider-slide.active{ display:block; }
.slider-content{
  color:#fff; text-align:center; padding:80px 20px;
  text-shadow:0 2px 12px rgba(0,0,0,.4);
}
.slider-title{ font-size:28px; margin-bottom:10px; }
.slider-desc{ font-size:15px; margin-bottom:18px; }
.slider-content .btn{ background:#fff; border-color:#fff; }
.slider-content .btn:hover{ color:#fff; background:var(--link); border-color:var(--link); }

.slider-dots{
  position:absolute; left:0; right:0; bottom:18px;
  display:flex; justify-content:center; gap:8px;
}
.slider-dot{
  width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,.5); cursor:pointer;
}
.slider-dot.active{ background:#fff; }

/* ===============================
   栏目 / Hero / 统计块
   =============================== */
.hero{ background:#f1f5f9; }
.hero .hero-btns{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

.hero-stats{
  margin-top:22px; display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px; text-align:center;
}
.stat-item .stat-value{ font-size:26px; font-weight:700; }
.stat-item .stat-label{ color:var(--muted); }

/* ===============================
   服务 Tab & 卡片（与你的 HTML IDs 对齐）
   =============================== */
.services.section{ background:#f8fbff; }
.services .section-title{ text-align:center; margin-bottom:18px; }
.services-tabs{
  display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:14px;
}
.services .tab-btn{
  padding:8px 12px; border:1px solid var(--border); border-radius:999px; cursor:pointer; background:#fff;
}
.services .tab-btn.active,
.services .tab-btn:hover{ border-color:var(--link); color:var(--link); }

.service-card{ display:none; }
.service-card.active{ display:block; }

.country-grid{
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px; margin-top:14px;
}
.country-card{
  text-align:center; padding:10px; border:1px solid var(--border); border-radius:8px; background:#fff;
}
.country-flag{ width:48px; height:32px; margin:0 auto 8px; object-fit:cover; }
.country-name{ font-weight:600; }
.country-reg{ color:var(--muted); font-size:12px; }

@media (max-width: 768px){
  .country-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

/* ===============================
   About 视频按钮（如果你有封面+播放按钮）
   =============================== */
.about .about-video{ position:relative; display:inline-block; width:100%; }
.about .about-video .play-btn{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:80px; height:80px; display:inline-block;
}

/* ===============================
   优势 / 客户墙 / 新闻
   =============================== */
.advantages-section{ background:#f6fbff; }
.advantages-grid{
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px;
}
.advantage-item{
  display:flex; gap:12px; padding:14px; border:1px solid var(--border);
  border-radius:8px; background:#fff;
}
.advantage-number{
  width:28px; height:28px; border-radius:50%; background:var(--link);
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700;
}
@media(max-width: 992px){
  .advantages-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media(max-width: 600px){
  .advantages-grid{ grid-template-columns:1fr; }
}

/* 客户墙 */
.clients-section .clients-grid{
  display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:12px; align-items:center;
}
.clients-section .client-logo{
  border:1px solid var(--border); border-radius:8px; background:#fff; padding:8px;
  display:flex; align-items:center; justify-content:center;
}
@media (max-width: 992px){
  .clients-section .clients-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); }
}
@media (max-width: 600px){
  .clients-section .clients-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}

/* 新闻列表 */
.news-section .news-grid{
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px;
}
.news-item{
  border:1px solid var(--border); border-radius:8px; background:#fff; overflow:hidden;
}
.news-item a{ display:block; padding:12px; }
.news-date{ color:var(--muted); font-size:12px; margin-bottom:6px; }
.news-item h3{ font-size:15px; margin:0 0 6px; }
@media (max-width: 992px){
  .news-section .news-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px){
  .news-section .news-grid{ grid-template-columns:1fr; }
}





/* ===============================
   小修正：按钮主色版
   =============================== */
.btn-primary{
  border-color:var(--link); background:var(--link); color:#fff;
}
.btn-primary:hover{ background:var(--link-hover); border-color:var(--link-hover); }

/* End */

/* ===== Header 布局修复 ===== */
.header {
  position: sticky;       /* 顶部吸附 */
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 10px 16px;
}
.header .logo img { max-height: 44px; }
.site-name { font-weight: 700; font-size: 18px; }

/* ===== 主菜单（桌面端） ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-block;
  padding: 8px 4px;
  text-decoration: none;
  color: #0a0a0a;
}
.nav-link:hover,
.nav-item.current-menu-item > .nav-link { color: #0a58ca; }

/* 子菜单 */
.nav-menu .sub-menu {
  position: absolute;
  left: 0; top: 100%;
  display: none;
  min-width: 180px;
  padding: 8px 0;
  margin-top: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-radius: 6px;
  z-index: 10000;
}
.nav-menu .sub-menu .nav-link { padding: 8px 14px; display:block; white-space: nowrap; }
.nav-item:hover > .sub-menu { display: block; }

/* 语言切换 */
.lang-switcher { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  font-size: 13px;
  color: #0a0a0a;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.lang-btn.active { color: #fff; background: #0a58ca; border-color: #0a58ca; }
.lang-divider { color: #b3b3b3; }

/* 移动端 */
.mobile-toggle { display: none; font-size: 26px; cursor: pointer; }

@media (max-width: 992px) {
  .mobile-toggle { display: block; }
  .site-nav { position: relative; }
  .nav-menu {
    position: absolute;
    right: 0; top: 56px;
    display: none;
    flex-direction: column;
    gap: 0;
    width: min(280px, 90vw);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    padding: 8px 0;
    z-index: 10000;
  }
  .nav-menu.active { display: flex; }
  .nav-menu .nav-link { padding: 12px 16px; width: 100%; }
  .nav-menu .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: 1px solid #eee;
    margin: 0; padding: 0;
  }
  .nav-item.open > .sub-menu { display: block; }
}

/* ====== 桌面端主导航基础 ====== */
.header { position: sticky; top: 0; z-index: 1000; background: #fff; }
.nav-menu, .nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu { display: flex; gap: 24px; align-items: center; }

/* 顶级菜单项 */
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-block;
  padding: 14px 8px;
  line-height: 1;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
}

/* 子菜单：默认隐藏 */
.nav-menu li ul.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 8px 0;
  display: none;           /* 关键：默认隐藏 */
  z-index: 1001;
}

/* 子菜单中的 li/a */
.nav-menu li ul.sub-menu > li { position: relative; }
.nav-menu li ul.sub-menu a {
  display: block;
  padding: 10px 14px;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
}
.nav-menu li ul.sub-menu a:hover { background: #f5f7fb; }

/* 悬停时显示子菜单（桌面端） */
@media (hover:hover) {
  .nav-menu li:hover > ul.sub-menu { display: block; }
}

/* 三级菜单往右展开 */
.nav-menu li ul.sub-menu li ul.sub-menu {
  top: 0;
  left: 100%;
}

/* 给有子菜单的项加个小箭头（可选） */
.nav-menu .menu-item-has-children > a::after {
  content: '▾';
  margin-left: 6px;
  font-size: 12px;
  color: #666;
}

/* ====== 移动端：点击展开 ====== */
@media (max-width: 992px) {
  .navbar { display: flex; justify-content: space-between; align-items: center; }
  .mobile-toggle { display: block; cursor: pointer; font-size: 24px; padding: 10px; }

  .nav-menu {
    display: none;               /* 移动端默认收起 */
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-top: 1px solid #eee;
    background: #fff;
  }
  .nav-menu.active { display: flex; }

  .nav-menu > li > a { padding: 14px 16px; }

  /* 移动端子菜单改为静态流式，点击父项打开 */
  .nav-menu li ul.sub-menu {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    display: none;               /* 默认还是隐藏 */
  }
  .nav-menu li.open > ul.sub-menu { display: block; } /* JS 会给打开的 li 加 .open */

  .nav-menu .menu-item-has-children > a::after { content: '▸'; float: right; }
  .nav-menu li.open > a::after { content: '▾'; }
}


/* === 修复导航栏一级菜单横向排列 & 子菜单隐藏 === */

/* 一级菜单横向排列 */
.nav-menu {
    display: flex !important;
    justify-content: flex-end; /* 一级菜单靠右，可改为 flex-start/center */
    align-items: center;
    gap: 20px; /* 一级菜单之间的间距 */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 一级菜单项 */
.nav-menu > li {
    position: relative;
}

/* 一级菜单链接 */
.nav-menu > li > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* 子菜单默认隐藏 */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 9999;
}

/* 子菜单项 */
.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu li a {
    padding: 8px 15px;
    display: block;
    color: #333;
    white-space: nowrap;
}

/* 悬停时展开子菜单 */
.nav-menu li:hover > .sub-menu {
    display: block;
}

/* 语言切换按钮微调 */
.lang-switcher {
    margin-left: 20px;
}

.lang-btn {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    margin: 0 5px;
}
.lang-btn.active {
    color: #0073aa;
}





/* ===== Generic Page ===== */
.page-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background: #0c2c44;
  color: #fff;
}
.page-hero--simple {
  min-height: 120px;
  align-items: center;
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .55; /* 让标题可读 */
}
.page-hero-overlay {
  position: relative; width: 100%;
  padding: 56px 0 28px;
  background: linear-gradient(to top, rgba(12,44,68,.6), rgba(12,44,68,0));
}
.page-title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 700;
  color: #fff;
}

.page-content {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
  line-height: 1.8;
  color: #21313e;
}
.page-content h2, .page-content h3 {
  margin: 28px 0 12px;
  font-weight: 700;
}
.page-content p { margin: 0 0 16px; }
.page-content img { max-width: 100%; height: auto; margin: 14px 0; }
.page-content ul, .page-content ol { padding-left: 1.2em; margin: 0 0 16px; }
.page-content blockquote {
  margin: 16px 0; padding: 12px 16px;
  border-left: 3px solid #2fa6df; background: #f6fbff;
  color: #0c2c44;
}
.page-pagination { margin-top: 24px; }
.page-pagination span { display: inline-block; margin-right: 6px; padding: 6px 10px; background: #eef6fb; border-radius: 4px; }
.page-pagination .current { background: #2fa6df; color: #fff; }

@media (max-width: 640px) {
  .page-content { margin: 28px auto 60px; }
  .page-hero-overlay { padding: 40px 0 18px; }
}



/* ========= Page / Archive unified style ========= */

/* 内页头部（面包屑风格，可复用首页字体/颜色） */
.hero--inner{
  padding: 56px 0 32px;
  background: #0a2740; /* 深蓝跟首页一致 */
  color:#fff;
}
.hero--inner .page-title{
  margin:0;
  font-size: 32px;
  font-weight: 700;
}

/* 版心宽度 */
.container--narrow{max-width: 920px;}

/* 页面正文 */
.page-content, .post-content{
  font-size: 16px;
  line-height: 1.9;
  color: #1a1a1a;
}
.page-content h2, .post-content h2{font-size:24px;margin:32px 0 12px;}
.page-content h3, .post-content h3{font-size:20px;margin:28px 0 10px;}
.page-content img, .post-content img{max-width:100%;height:auto;border-radius:6px;}
.page-content ul, .post-content ul{padding-left:1.2em;}

/* 分类/归档列表 */
.post-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:18px;}
.post-card{padding:18px;border:1px solid #e8eef5;border-radius:10px;background:#fff;transition:.2s;}
.post-card:hover{box-shadow:0 8px 20px rgba(2,35,81,.06);transform:translateY(-2px);}
.post-card__thumb{width:100%;height:180px;overflow:hidden;border-radius:8px;margin-bottom:12px;background:#f3f6f9;}
.post-card__thumb img{width:100%;height:100%;object-fit:cover;}
.post-card__title{display:block;font-size:18px;font-weight:700;color:#0a2740;text-decoration:none;margin:6px 0 8px;}
.post-card__title:hover{text-decoration:underline;}
.post-card__meta{font-size:12px;color:#6b7b8c;margin-bottom:6px;}
.post-card__excerpt{font-size:14px;color:#3b4a5a;}
.post-card__more{margin-top:10px;display:inline-block;font-size:14px;color:#0a59ff;}

/* 分页 */
.pagination{display:flex;gap:8px;justify-content:center;margin-top:24px;}
.pagination .page-numbers{padding:6px 12px;border:1px solid #d6dee8;border-radius:6px;color:#24364a;text-decoration:none;background:#fff;}
.pagination .current{background:#0a59ff;color:#fff;border-color:#0a59ff;}

/* 响应 */
@media (min-width: 768px){
  .post-list{grid-template-columns:1fr 1fr;}
  .hero--inner .page-title{font-size:36px;}
}
@media (min-width: 1100px){
  .post-list{grid-template-columns:1fr 1fr 1fr;}
}

/* ===== 市场服务模块：Tab 按钮区域 ===== */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.services-tabs .tab-btn {
  padding: 10px 16px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.services-tabs .tab-btn:hover {
  background-color: #e0e0e0;
}

.services-tabs .tab-btn.active {
  background-color: #007BFF;
  color: #fff;
  border-color: #007BFF;
}

/* ===== 市场服务模块：内容面板区域 ===== */
/* 可选动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== 服务面板显示控制（保留这组） ===== */
.services-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.services-panel.active {
  display: block;
  opacity: 1;
}



/* Global CSS Variables */
:root {
  --primary: #007BFF;
  --light: #f8f9fa;
  --dark: #343a40;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --gray: #6c757d;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* === Services Tabs === */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}

.services-tabs .tab-btn {
  padding: 10px 16px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.services-tabs .tab-btn:hover {
  background-color: #e0e0e0;
}

.services-tabs .tab-btn.active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* === Panels === */
.services-panel {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.services-panel.active {
  visibility: visible;
  opacity: 1;
  height: auto;
  position: static;
  z-index: 1;
}

/* === Service Card === */
.service-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.service-header {
  padding: 25px;
  background: var(--primary);
  color: white;
  text-align: center;
}

.service-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.service-body {
  padding: 25px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}



/* ===== 手机端：市场展示强制两列布局 ===== */
@media screen and (max-width: 768px) {
  .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 15px !important;
    margin-top: 15px !important;
  }
  
  /* 调整卡片内内容 */
  .country-card {
    padding: 12px 8px !important;
    text-align: center;
  }
  
  .country-flag {
    width: 50px !important;
    height: 35px !important;
    margin: 0 auto 10px !important;
  }
  
  .country-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
  }
  
  .country-reg {
    font-size: 12px !important;
    line-height: 1.2 !important;
    opacity: 0.9;
  }
}

/* ===== 小屏幕手机优化 ===== */
@media screen and (max-width: 480px) {
  .country-grid {
    gap: 12px !important;
  }
  
  .country-card {
    padding: 10px 6px !important;
  }
  
  .country-flag {
    width: 45px !important;
    height: 30px !important;
  }
  
  .country-name {
    font-size: 13px !important;
  }
  
  .country-reg {
    font-size: 11px !important;
  }
}

/* ===== 平板端保持单列（如果需要） ===== */
@media screen and (min-width: 769px) and (max-width: 992px) {
  .country-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  }
}




.country-card {
  background: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 15px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #eee;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.country-flag {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.country-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.country-reg {
  color: var(--primary);
  font-size: 14px;
}


/* 修复 Market Tabs 的显示隐藏逻辑 */
.services-panel {
  display: none;
}

.services-panel.active {
  display: block;
}




/* Services Page - 专业现代化样式 */
.services-overview-page {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #1e293b;
}

/* 现代化页头 */
.services-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: white;
  padding: 140px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.4rem;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* 特性网格 */
.features-section {
  padding: 100px 20px;
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03),
    0 0 0 1px rgba(241, 245, 249, 0.8);
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #004a99, #0077b6, #0096c7);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004a99;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.feature-card p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* 市场网格 */
.markets-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.market-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 45px 35px;
  text-decoration: none;
  color: inherit;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.market-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #004a99, #0077b6, #0096c7);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.market-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.market-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 32px 64px -12px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.market-card:hover::before {
  transform: scaleX(1);
}

.market-card:hover::after {
  left: 100%;
}

.market-header {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.market-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #004a99;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.market-card:hover .market-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.market-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.market-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tag {
  background: #f8fafc;
  color: #475569;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.market-card:hover .feature-tag {
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  border-color: #004a99;
  color: #004a99;
  transform: translateY(-2px);
}

/* 公司信息区域 */
.company-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.company-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.company-description {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 服务表格 */
.services-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.services-table th {
  background: linear-gradient(135deg, #004a99, #0077b6);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

.services-table td {
  padding: 20px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.services-table tr:last-child td {
  border-bottom: none;
}

.services-table tr:hover {
  background: #f8fafc;
}

/* 联系信息 */
.contact-info {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  text-align: center;
}

.contact-item h4 {
  color: #004a99;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-item p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.5;
}

/* 页脚 */
.page-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.copyright {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .services-hero {
    padding: 100px 20px 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .feature-card {
    padding: 40px 30px;
  }
  
  .markets-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .market-card {
    padding: 35px 25px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .market-header {
    flex-direction: column;
    text-align: center;
  }
  
  .market-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .services-table {
    display: block;
    overflow-x: auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .market-title {
    font-size: 1.4rem;
  }
  
  .feature-tag {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
  
  .services-table th,
  .services-table td {
    padding: 15px 10px;
    font-size: 0.9rem;
  }
}





/* ====== 彻底修复水平滚动问题 ====== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

body {
  width: 100%;
  min-height: 100vh;
}

/* 强制所有容器不超过视口 */
.container, 
.container-fluid, 
.row, 
.col, 
[class*="col-"],
section,
article,
div,
main,
footer,
header {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* 防止图片和媒体元素溢出 */
img, video, iframe, canvas, table {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* ====== 全局基础设置 ====== */
* {
  box-sizing: border-box !important;
}

/* ====== 桌面端样式 ====== */
@media (min-width: 993px) {
  /* 1. 确保导航容器正常 */
  .site-nav {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex: 1 !important;
    position: relative !important;
    max-width: 100% !important;
  }
  
  /* 2. 恢复主导航菜单 */
  .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }
  
  /* 3. 恢复导航项 */
  .nav-menu > li {
    position: relative !important;
    max-width: 100% !important;
  }
  
  .nav-menu > li > a {
    display: block !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    color: #222 !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
    position: relative !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .nav-menu > li > a:hover {
    color: #0073aa !important;
  }
  
  /* 4. 关键：恢复下拉菜单容器 */
  .nav-menu ul.sub-menu,
  .nav-menu ul.children {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    max-width: 300px !important;
    background: white !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 9999 !important;
    border-radius: 4px !important;
    border: 1px solid #eee !important;
    overflow: hidden !important;
  }
  
  /* 5. 关键：悬停显示下拉菜单 */
  .nav-menu li:hover > ul.sub-menu,
  .nav-menu li:hover > ul.children {
    display: block !important;
  }
  
  /* 6. 下拉菜单项样式 */
  .nav-menu .sub-menu li,
  .nav-menu .children li {
    position: relative !important;
    max-width: 100% !important;
  }
  
  .nav-menu .sub-menu li a,
  .nav-menu .children li a {
    display: block !important;
    padding: 10px 16px !important;
    color: #333 !important;
    text-decoration: none !important;
    white-space: normal !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    border-left: 3px solid transparent !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }
  
  .nav-menu .sub-menu li a:hover,
  .nav-menu .children li a:hover {
    background: #f8f9fa !important;
    color: #0073aa !important;
    border-left-color: #0073aa !important;
    padding-left: 20px !important;
  }
  
  /* 7. 三级菜单 */
  .nav-menu .sub-menu .sub-menu,
  .nav-menu .children .children {
    top: 0 !important;
    left: 100% !important;
    margin-top: -8px !important;
    max-width: 250px !important;
  }
  
  /* 8. 当前菜单项样式 */
  .nav-menu > li.current-menu-item > a,
  .nav-menu > li.current-page-ancestor > a {
    color: #0073aa !important;
  }
  
  /* 9. 隐藏移动端元素 */
  .mobile-toggle {
    display: none !important;
  }
  
  .mobile-nav-container {
    display: none !important;
  }
  
  /* 10. 恢复头部布局 */
  .header .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 80px !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    padding: 0 20px !important;
  }
  
  /* 11. 恢复标语显示 */
  .header-slogan {
    display: block !important;
    text-align: center !important;
    flex: 1 !important;
    padding: 0 20px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
  
  /* 12. 恢复语言切换器 */
  .lang-switcher {
    display: flex !important;
    align-items: center !important;
    margin-left: 20px !important;
    flex-shrink: 0 !important;
  }
  
  .lang-btn {
    padding: 6px 12px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
  }
  
  .lang-btn.active {
    color: #0073aa !important;
    font-weight: 600 !important;
  }
  
  .lang-divider {
    color: #ccc !important;
    margin: 0 5px !important;
    flex-shrink: 0 !important;
  }
  
  /* 重要：桌面端不应用移动端菜单样式 */
  .mobile-nav,
  .mobile-nav * {
    display: none !important;
  }
}

/* ====== 移动端样式 ====== */
@media (max-width: 992px) {
  /* 全局移动端修复 */
  html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
  }
  
  /* 菜单打开时的优化样式 */
  body.mobile-menu-open {
    overflow: hidden !important;
    position: relative !important;
    height: 100vh !important;
    width: 100% !important;
  }
  
  /* 隐藏桌面端导航 */
  .site-nav {
    display: none !important;
  }
  
  /* 显示移动端汉堡按钮 */
  .mobile-toggle {
    display: block !important;
    font-size: 24px !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 10px !important;
    color: #333 !important;
    flex-shrink: 0 !important;
  }
  
  /* 移动端菜单容器 */
  .mobile-nav-container {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 9998 !important;
    overflow: hidden !important;
  }
  
  .mobile-nav-container.active {
    display: block !important;
  }
  
  /* 关键修复：移动端菜单面板 - 确保可以滚动 */
  .mobile-nav {
    position: fixed !important;
    top: 0 !important;
    left: -280px !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: white !important;
    z-index: 9999 !important;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 60px 20px 20px !important;
    transition: left 0.3s ease !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }
  
  .mobile-nav.active {
    left: 0 !important;
  }
  
  /* 确保菜单内容可以完全滚动 */
  .mobile-nav .mobile-menu {
    min-height: calc(100vh - 80px) !important;
    padding-bottom: 20px !important;
  }
  
  /* 移动端菜单关闭按钮 */
  .mobile-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    font-size: 24px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #666 !important;
    padding: 5px !important;
    flex-shrink: 0 !important;
  }
  
  /* 移动端菜单列表 */
  .mobile-nav .mobile-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .mobile-nav .mobile-menu > li {
    margin: 0 !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }
  
  .mobile-nav .mobile-menu > li:last-child {
    border-bottom: none !important;
  }
  
  .mobile-nav .mobile-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 0 !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  /* 移动端下拉菜单箭头 */
  .mobile-nav .menu-item-has-children > a {
    position: relative !important;
  }
  
  .mobile-nav .menu-item-has-children > a::after {
    content: "›" !important;
    font-size: 18px !important;
    color: #999 !important;
    transition: all 0.3s ease !important;
    transform: rotate(0deg) !important;
    margin-left: 10px !important;
    flex-shrink: 0 !important;
  }
  
  .mobile-nav .menu-item-has-children.active > a::after {
    content: "›" !important;
    color: #0073aa !important;
    transform: rotate(90deg) !important;
  }
  
  /* 移动端下拉菜单样式 */
  .mobile-nav .sub-menu {
    display: none !important;
    background: #f8f9fa !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    border: 1px solid #e9ecef !important;
    overflow: hidden !important;
  }
  
  .mobile-nav .menu-item-has-children.active > .sub-menu {
    display: block !important;
  }
  
  .mobile-nav .sub-menu li a {
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #555 !important;
    background: #f8f9fa !important;
    border-left: 3px solid transparent !important;
    display: block !important;
    transition: all 0.2s ease !important;
  }
  
  .mobile-nav .sub-menu li a:hover {
    color: #0073aa !important;
    background: #e9ecef !important;
    border-left-color: #0073aa !important;
    padding-left: 25px !important;
  }
  
  /* 移动端头部布局调整 */
  .header .navbar {
    padding: 10px 15px !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 10000 !important;
    background: white !important;
  }
  
  .header-slogan {
    display: none !important;
  }
  
  .lang-switcher {
    margin-left: auto !important;
    margin-right: 15px !important;
    flex-shrink: 0 !important;
  }
  
  /* 确保所有移动端内容不溢出 */
  .container {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
  }
  
  /* 修复右侧联系工具栏导致的水平滚动 */
  .vertical-contact.professional {
    right: -2px !important;
  }
  
  .contact-tab {
    max-width: 42px !important;
  }
  
  /* 添加滚动条样式美化 */
  .mobile-nav::-webkit-scrollbar {
    width: 6px;
  }
  
  .mobile-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .mobile-nav::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
  }
  
  .mobile-nav::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }
}





/* ========== 桌面端普通页面蓝色Banner间距修复 ========== */
/* 仅适用于电脑端：关于我们、服务项目、联系我们、新闻中心等普通页面 */

/* 仅电脑端生效 */
@media (min-width: 993px) {
    /* 1. 移除普通页面body的顶部padding（仅桌面端） */
    body.page,
    body.page-template-default,
    body.home:not(.single-service),
    body.blog,
    body.archive {
        padding-top: 0 !important;
    }
    
    /* 2. 普通页面的蓝色banner样式（仅桌面端） */
    .page .hero,
    .page-template-default .hero,
    .home:not(.single-service) .hero,
    .blog .hero,
    .archive .hero,
    .single .hero:not(.single-service) {
        /* 桌面端：200px高度（比市场详情页300px小） */
        min-height: 200px !important;
        padding: 40px 20px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: #004a99 !important;
        color: white !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    
    /* 3. 普通页面标题样式（仅桌面端） */
    .page .hero h1,
    .page-template-default .hero h1,
    .home:not(.single-service) .hero h1,
    .blog .hero h1,
    .archive .hero h1,
    .single .hero:not(.single-service) h1 {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        color: white !important;
        font-weight: 700 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* 4. 普通页面描述样式（仅桌面端） */
    .page .hero p,
    .page-template-default .hero p,
    .home:not(.single-service) .hero p,
    .blog .hero p,
    .archive .hero p,
    .single .hero:not(.single-service) p {
        margin: 0 auto 20px !important;
        padding: 0 !important;
        max-width: 900px !important;
        font-size: 1.2rem !important;
        opacity: 0.95 !important;
        line-height: 1.7 !important;
        text-align: center !important;
        font-weight: 400 !important;
    }
    
    /* 5. 特定页面检查（确保覆盖） */
    .page-id-about .hero,        /* 关于我们 */
    .page-id-services .hero,     /* 服务项目 */
    .page-id-contact .hero,      /* 联系我们 */
    .page-id-news .hero,         /* 新闻中心 */
    /* 英文页面 */
    .page-id-about-us .hero,
    .page-id-services-2 .hero,
    .page-id-contact-us .hero,
    .page-id-news-center .hero {
        min-height: 200px !important;
        padding: 40px 20px !important;
        background: #004a99 !important;
    }
    
    /* 6. 移除市场详情页样式对普通页面的影响 */
    body:not(.single-service):not([class*="market-"]):not([class*="service-"]) .hero {
        min-height: 200px !important;
    }
    
    /* 7. 强效修复（覆盖内联样式）- 仅桌面端 */
    .hero[style*="min-height"]:not(.single-service) {
        min-height: 200px !important;
    }
    
    .hero[style*="padding"]:not(.single-service) {
        padding: 40px 20px !important;
    }
}