/* ========================================
   主样式文件
   ======================================== */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  background-color: var(--gray-100) !important;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
  color: var(--primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

/* ---------- 通用工具类 ---------- */
.section-padding {
  padding: var(--spacing-2xl) 0;
}

.bg-light {
  background-color: var(--gray-100) !important;
}

.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-info    { color: var(--info) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger  { color: var(--danger) !important; }

/* ---------- 版块标题 ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-header .subtitle {
  color: var(--gray-600);
  font-size: var(--font-size-lg);
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- 按钮覆写 ---------- */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,82,217,0.35);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-link {
  color: var(--primary);
  text-align: left;
  font-weight: 400;
  gap: 6px;
  transition: gap var(--transition-fast);
  text-decoration:none !important;
}
.btn-link span{
  padding: 2px 10px;
  border-radius: 5px;
  background-color: crimson;
  color: #e5e5e5;
}

/* ========================================
   Header
   ======================================== */
.header-spacer {
  height: var(--header-height);
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar { padding: 0.75rem 0; }

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
  color: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.logo-sub {
  font-size: 0.6rem;
  color: var(--gray-500);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions .btn { white-space: nowrap; }


/* PC：hover 展开 */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ===== 手机端：导航子菜单强制展开 ===== */
@media (max-width: 991px) {

  /* 强制显示下拉菜单 */
  .dropdown-menu {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8f9fa !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* 子菜单项样式微调 */
  .dropdown-menu .dropdown-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }

  /* 去掉点击后的高亮背景 */
  .dropdown-toggle::after {
    display: none; /* 可选：隐藏小三角 */
  }

  /* 防止一级菜单被 JS 误收 */
  .nav-item.dropdown {
    flex-direction: column;
  }
}




/* ========================================
   Hero Banner
   ======================================== */
/* ===== HERO 基础 ===== */
.hero-banner {
  position: relative;
  height: 520px;
}

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

/* 单个幻灯片 */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  z-index: 0;
}

/* ===== 当前激活 ===== */
.hero-slide.active {
  opacity: 1;
  z-index: 2;              /* ✅ 盖住其他 */
}

.hero-slide:first-child {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;               /* 等同于 top/right/bottom/left: 0 */
  width: 100%;
  height: 100% !important;
  object-fit: cover;      /* 等比缩放，完整填充，不拉伸、不露白 */
  object-position: center center; /* 居中裁剪（可按需要调整） */
  z-index: 0;
}

.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.45) 0%,
    rgba(0,0,0,.15) 60%
  );
}

/* 内容层 */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #fff;
  z-index:999;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.hero-desc {
  font-size: 18px;
  opacity: .9;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.catch-logo {
  max-width: 220px;
}
/* 轮播指示点 */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}
/* ===== QUOTE FORM ===== */
.quote-form-wrapper {
  position: absolute;
  right: 10%;
  width: 80% !important;
  transform: translateY(-50%);
  bottom: 5px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  z-index: 10;

}

.quote-form-wrapper>div:nth-of-type(1) {
  position:absolute;
  font-size: 18px;
  text-align: center;
  color: var(--primary);
  background: rgba(255,255,255,.92);
  width: 200px;
  height: 40px;
  border-radius: 12px 12px 0 0;
  left: 0px;
  top: 0px;
  padding: 10px 0px;
}
.quote-form-wrapper>div:nth-of-type(2) {
  position:absolute;
  text-align: center;
  color: var(--primary);
  background: rgba(255,255,255,.92);
  width: 100%;
  border-radius: 0px 12px 12px 12px;
  left: 0px;
  top: 40px;
}

.quote-box{
  display: flex;
  margin-top: 30px;
}

.quote-box select,
.quote-box button {
  width: 100%;
  margin: 5px 10px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.quote-tip {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

/* 响应式：小屏隐藏右侧表单 */
@media (max-width: 992px) {
  .quote-form-wrapper {
    display: none;
  }
  .shipping-options{
    margin-top: 0px;
  }
}

/* ========================================
   服务卡片
   ======================================== */
.shipping-options{
  margin-top: 60px;
}

.service-item{
  position: relative;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--spacing-md);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.service-card h5 {
  text-align: left;
  margin-bottom: 20px;
  color: #003DA5;
}

.service-tag{
  position: absolute;
  right: 0px;
  top: 10px;
  background-color: #FFC107;
  padding: 2px 30px;
  
}
.service-tag svg:first-of-type{
  position: absolute;
  right: 0px;
  top: 0px;
  
}
.service-tag svg:nth-of-type(2){
  position: absolute;
  right: 0px;
  top: 28px;
  
}


.service-tag::before {
  content: "";
  position: absolute;
  left: 0px;
  transform: translateY(-2px);
  width: 0;
  height: 100%;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 14px solid transparent;
  border-left: 14px solid #fff;
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: var(--spacing-md);
}

.tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
}

.card-details {
  flex: 1;
}

.card-details li {
  padding: 6px 0;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-details i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  font-size: 0.85em;
}


/* ========================================
   核心优势
   ======================================== */
.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  margin: 0 auto var(--spacing-md);
}

.advantage-card h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.advantage-card p {
  color: var(--gray-600);
  font-size: var(--font-size-base);
}

/* ========================================
   11年深耕 - 数据统计
   ======================================== */
.experience-content>div:nth-of-type(1){
  margin-bottom: 30px;
}

.experience-section {
  background: var(--white);
}

.world-map-wrapper {
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #D6E8FF 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.map-placeholder i {
  font-size: 80px;
  opacity: 0.5;
  margin-bottom: var(--spacing-sm);
}

.map-placeholder p {
  color: var(--gray-600);
  font-size: var(--font-size-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.stat-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: var(--primary-light);
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
}

/* ========================================
   客户信赖
   ======================================== */


   .clients-trust{
    width: 100%;
    background:
      /* 波浪层 A：4 条线，向左滚动 */
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cpath d='M0 80 Q100 30 200 80 T400 80 T600 80 T800 80' fill='none' stroke='rgba(255,255,255,0.13)' stroke-width='1.5'/%3E%3Cpath d='M0 180 Q100 230 200 180 T400 180 T600 180 T800 180' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='1.2'/%3E%3Cpath d='M0 280 Q100 230 200 280 T400 280 T600 280 T800 280' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3Cpath d='M0 370 Q100 420 200 370 T400 370 T600 370 T800 370' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E"),
      /* 波浪层 B：3 条线，向右滚动（相位不同） */
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cpath d='M0 120 Q75 70 150 120 T300 120 T450 120 T600 120' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Cpath d='M0 250 Q75 300 150 250 T300 250 T450 250 T600' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3Cpath d='M0 340 Q75 290 150 340 T300 340 T450 340 T600 340' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E"),
      /* 主渐变 */
      linear-gradient(120deg, #0072E5, #0060C0, #004A95);
  
    background-repeat: repeat, repeat, no-repeat;
    background-size: 800px 400px, 600px 400px, cover;
    animation: waveMove 22s linear infinite;
  }
  
  @keyframes waveMove {
    0%   { background-position: 0px 0px,     0px 0px,     center; }
    100% { background-position: -800px 0px,  600px 0px,   center; }
  }
  
  /* 尊重「减少动态效果」的系统偏好 */
  @media (prefers-reduced-motion: reduce) {
    .clients-trust { animation: none; }
  }

.clients-trust .section-header h2,
.clients-trust .section-header p,
.clients-trust .nav-pills .nav-link {
  color: var(--primary-light) !important;
}


.client-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.client-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-round);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.client-info h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.stars {
  color: #FFC107;
  margin-bottom: var(--spacing-sm);
}

.client-info p {
  color: var(--gray-600);
  font-style: italic;
}

/* ========================================
   合作伙伴
   ======================================== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
}

.partner-item {
  width: 150px;
  height: 70px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.partner-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: scale(1.05);
}

.partner-name {
  font-weight: 700;
  color: var(--gray-700);
  font-size: var(--font-size-sm);
}

/* ========================================
   行业资讯
   ======================================== */
.faq-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--spacing-md);
}

.faq-header i {
  font-size: 22px;
  color: var(--primary);
}

.faq-header h4 {
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  color: #003DA5;
}

.faq-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.faq-list a {
  color: var(--gray-700);
  transition: color var(--transition-fast);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faq-list a:hover { color: var(--primary); }

/* ========================================
   CTA
   ======================================== */
.cta-section {
  
  color: var(--white);    
  background:
  /* 波浪层 A：4 条线，向左滚动 */
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cpath d='M0 80 Q100 30 200 80 T400 80 T600 80 T800 80' fill='none' stroke='rgba(255,255,255,0.13)' stroke-width='1.5'/%3E%3Cpath d='M0 180 Q100 230 200 180 T400 180 T600 180 T800 180' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='1.2'/%3E%3Cpath d='M0 280 Q100 230 200 280 T400 280 T600 280 T800 280' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3Cpath d='M0 370 Q100 420 200 370 T400 370 T600 370 T800 370' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E"),
  /* 波浪层 B：3 条线，向右滚动（相位不同） */
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cpath d='M0 120 Q75 70 150 120 T300 120 T450 120 T600 120' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Cpath d='M0 250 Q75 300 150 250 T300 250 T450 250 T600' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3Cpath d='M0 340 Q75 290 150 340 T300 340 T450 340 T600 340' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E"),
  /* 主渐变 */
  linear-gradient(120deg, #0072E5, #0060C0, #004A95);

background-repeat: repeat, repeat, no-repeat;
background-size: 800px 400px, 600px 400px, cover;
animation: waveMove 22s linear infinite;
}

.cta-section h2 {
  font-weight: 800;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

/* ========================================
   Page Banner (子页面通用)
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #003DA5 100%);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
}

.page-banner h1 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.page-banner p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
}

.breadcrumb {
  justify-content: center;
  margin-top: var(--spacing-md);
}
.breadcrumb a{
  color:#fff;
  list-style: none;
}

.breadcrumb-item a { color: rgba(255,255,255,0.8); }
.breadcrumb-item.active { color: rgba(255,255,255,0.6); }


/* ========================================
    分页
   ======================================== */

   .pglist {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0;
    font-size: 14px;
    font-family: var(--font-main, sans-serif);
  }

  /* ===== 分页整体 ===== */
.pglist {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 40px 0;
  font-size: 14px;
  font-family: var(--font-main, sans-serif);
}

/* ===== 普通页码 ===== */
.pglist a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  color: #333;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  transition: all .25s ease;
}

/* ===== Hover 状态 ===== */
.pglist a:hover {
  background: var(--primary-color, #007BFF);
  border-color: var(--primary-color, #007BFF);
  color: #fff;
}

/* ===== 当前页 ===== */
.pglist a.active {
  background: var(--primary-color, #007BFF);
  border-color: var(--primary-color, #007BFF);
  color: #fff;
  font-weight: 600;
  cursor: default;
}

/* ===== 禁用状态（无链接） ===== */
.pglist span,
.pglist a.disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #bbb;
  border: 1px solid #eee;
  cursor: not-allowed;
}
.pglist li {
  list-style: none;
}
.pglist li::marker {
  display: none;
  content: '';
}
/* ===== 省略号（部分模板会生成） ===== */
.pglist .ellipsis {
  padding: 0 8px;
  color: #999;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
  .pglist {
    flex-wrap: wrap;
    gap: 4px;
  }

  .pglist a,
  .pglist span {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    padding: 0 8px;
  }

  /* 手机端可隐藏“首页/尾页”节省空间 */
  .pglist a:first-child,
  .pglist a:last-child {
    display: none;
  }
}




/* ========================================
   Footer
   ======================================== */
.main-footer {
  background: var(--dark);
  color: var(--gray-400);
}

.footer-top {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
}

.footer-brand .logo-wrapper { margin-bottom: var(--spacing-md); }

.footer-brand .logo-icon { color: var(--primary); }

.footer-brand .logo-main {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-brand .logo-sub {
  color: var(--gray-500);
  font-size: 0.55rem;
}

.footer-desc {
  color: var(--gray-500);
  margin: var(--spacing-md) 0;
  max-width: 350px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links img{
  width: 150px;
}

.footer-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-base);
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--primary); }

.footer-contact li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary);
  width: 18px;
  text-align: center;
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: var(--spacing-md) 0;
  font-size: var(--font-size-sm);
}

.footer-bottom a {
  color: var(--gray-500);
  margin-left: var(--spacing-md);
}

.footer-bottom a:hover { color: var(--primary); }

/* ========================================
   服务详情页
   ======================================== */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-detail-card ul {
  text-align: left;
  margin-top: var(--spacing-md);
}

.service-detail-card li {
  padding: 6px 0;
  color: var(--gray-700);
}

/* ========================================
   新闻页
   ======================================== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #D6E8FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
}

.news-body { padding: var(--spacing-lg); }

.news-tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.news-tag.tag-company {
  background: #E8F5E9;
  color: var(--success);
}

.news-tag.tag-faq {
  background: #FFF3E0;
  color: var(--warning);
}

.news-body h4 a {
  color: var(--dark);
  font-weight: 600;
  font-size: var(--font-size-base);
}

.news-body h4 a:hover { color: var(--primary); }

.news-body p {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin: var(--spacing-sm) 0;
}

/* ========================================
   新闻分类子导航（非Tab风格）
   ======================================== */
.news-category-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  /* position: sticky; */
  top: var(--header-height);
  z-index: 1020;
  padding: 0;
}

.news-category-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-category-nav .category-link {
  display: inline-block;
  padding: 14px 28px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.news-category-nav .category-link:hover {
  color: var(--primary);
}

.news-category-nav .category-link.active {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: var(--primary);
}

/* ========================================
   新闻分页
   ======================================== */
.news-pagination {
  margin-top: var(--spacing-xl);
}

.news-pagination .page-link {
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  margin: 0 3px;
  border: 1px solid var(--gray-300);
  padding: 8px 16px;
  transition: all var(--transition-fast);
}

.news-pagination .page-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}

.news-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.news-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #f2f4f8;
}

.news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 兜底图标 */
.news-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #f2f4f8;
  display: flex;          /* 👈 新增 */
  align-items: center;    /* 👈 新增 */
  justify-content: center;/* 👈 新增 */
} 
/* 兜底图标 */
.news-img-box i {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #c5cbd3;
  z-index: 2;
}

.news-img-box.no-image i {
  display: flex;
}
/* ========================================
   新闻详情页
   ======================================== */
.page-banner-sm {
  padding: 100px 0 40px;
}

.page-banner-sm h1 {
  font-size: var(--font-size-2xl);
}

/* 文章详情 */
.article-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: var(--spacing-lg);
}

.article-header h1 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  margin-top: var(--spacing-sm);
}

.article-meta {
  display: flex;
  gap: var(--spacing-lg);
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-sm);
  flex-wrap: wrap;
}

.article-meta i {
  margin-right: 4px;
  color: var(--primary);
}

/* 摘要 */
.article-summary {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--spacing-xl);
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

/* 正文 */
.article-content {
  color: var(--gray-800);
  line-height: 1.9;
  font-size: 1rem;
}

.article-content h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark);
  margin: var(--spacing-xl) 0 var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--gray-200);
}

.article-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--dark);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.article-content p {
  margin-bottom: var(--spacing-md);
  text-indent: 2em;
}

.article-content ul {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
  list-style: disc;
}

.article-content ul li {
  margin-bottom: var(--spacing-sm);
  color: var(--gray-700);
}

.article-content strong {
  color: var(--dark);
}

/* 文章标签 */
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
}

.tag-label {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
}

.tag-link {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* 上下篇 */
.article-prev-next {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
}

.prev-article,
.next-article {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  text-decoration: none;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: var(--gray-100);
  transition: all var(--transition-fast);
}

.prev-article:hover,
.next-article:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.next-article {
  text-align: right;
  justify-content: flex-end;
}

.prev-article span,
.next-article span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================
   侧边栏（新闻详情页）
   ======================================== */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: var(--spacing-lg);
}

.sidebar-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-title i {
  color: var(--primary);
}

/* 分类列表 */
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  margin-bottom: 2px;
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
}

.sidebar-categories a:hover,
.sidebar-categories a.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.sidebar-categories a span {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.sidebar-categories a:hover span,
.sidebar-categories a.active span {
  color: var(--primary);
}

/* 热门文章列表 */
.sidebar-hot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-hot-list li {
  margin-bottom: 2px;
}

.sidebar-hot-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px dashed var(--gray-200);
  transition: all var(--transition-fast);
}

.sidebar-hot-list li:last-child a {
  border-bottom: none;
}

.sidebar-hot-list a:hover {
  padding-left: 6px;
}

.hot-rank {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hot-rank.hot-rank-normal {
  background: var(--gray-400);
}

.hot-info {
  flex: 1;
  min-width: 0;
}

.hot-title {
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}

.sidebar-hot-list a:hover .hot-title {
  color: var(--primary);
}

.hot-info small {
  display: block;
  margin-top: 2px;
}

/* CTA 侧边 */
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  border: none;
}

.sidebar-cta i {
  font-size: 36px;
  margin-bottom: var(--spacing-sm);
  opacity: 0.8;
}

.sidebar-cta h4 {
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.sidebar-cta p {
  opacity: 0.9;
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-md);
}

.sidebar-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.sidebar-cta .btn-primary:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

/* ========================================
   关于我们
   ======================================== */
.about-img-placeholder {
  height: 300px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #D6E8FF 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.about-img-placeholder i {
  font-size: 64px;
  opacity: 0.5;
  margin-bottom: var(--spacing-sm);
}

.about-content {
  color: var(--gray-700);
  line-height: 1.9;
  font-size: var(--font-size-base);
}

.about-content p {
  margin-bottom: var(--spacing-md);
  text-indent: 2em;
}

.counter-box {
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.counter-box h3 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary);
}

.counter-box p {
  color: var(--gray-600);
  font-weight: 600;
}



/* ========================================
   FBA仓库
   ======================================== */

.fba-item a {
text-decoration: none;
color: #000;
}

.fba-card {
  display: flex;
  align-items: center;      /* 垂直居中 */
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.fba-item:hover .fba-card {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.fba-card .fba-thumb {
  width: 50%;
  aspect-ratio: 3 / 2;      /* 现代浏览器支持 */
  object-fit: cover;        /* 图片不变形 */
  display: block;
}

/* 兼容旧浏览器（可选） */
@supports not (aspect-ratio: 3 / 2) {
  .fba-card .fba-thumb {
      height: auto;
  }
}

.fba-card > div {
  width: 50%;
  padding: 12px 16px;
  box-sizing: border-box;
}

.fba-card h4 {
  margin: 0;
  font-size: 16px;
  color: #000;
  line-height: 1.4;
}

/* ===== 兄弟文章导航 ===== */
.sibling-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;                 /* 间距 */
  margin: 0 0 30px;          /* 覆盖 bootstrap row 负边距，并和内容隔开 */
}

.sibling-nav a {
  flex: 0 0 calc((100% - 60px) / 6);   /* 一行 6 个，减去 5 个 gap(12px×5) */
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;     /* 去掉 a 默认下划线 */
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;   /* 标题过长省略 */
  transition: all 0.25s ease;
}

/* hover 效果 */
.sibling-nav a:hover {
  border-color: #2f6fed;
  color: #2f6fed;
  background: #f3f7ff;
}

/* 当前文章 active 样式 */
.sibling-nav a.active {
  border-color: #2f6fed;
  color: #fff;
  background: #2f6fed;
  font-weight: 600;
  cursor: default;
}

/* ===== 内容区 ===== */
.article-body {
  line-height: 1.9;
  font-size: 15px;
  color: #333;
}