:root {
  --bg-black: #ffffff;
  --bg-blue-dark: #f5f8fc;
  --bg-blue-light: #ffffff;
  --surface-alt: #eef4fb;
  --text-main: #1b2b3f;
  --text-muted: #4f6279;
  --text-hero: rgba(255, 255, 255, 0.86);
  --accent-blue: #0b63ce;
  --accent-hover: #084ea8;
  --border-soft: rgba(31, 49, 71, 0.12);
  --border-accent: rgba(11, 99, 206, 0.2);
  --shadow-soft: 0 14px 36px rgba(31, 49, 71, 0.08);
  --shadow-hover: 0 18px 42px rgba(11, 99, 206, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Segoe UI", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-black);
  color: var(--text-main);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.bold-text {
  font-weight: bold;
  color: var(--text-main);
}

/* --- Header & Navigation --- */
header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 10px 30px rgba(31, 49, 71, 0.06);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
  height: 100px;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-blue);
}

.logo a {
  display: flex;
  align-items: center;
}

.logo-image {
  display: block;
  width: auto;
}

.logo-image-web {
  height: 50px;
}

.logo-image-mobile {
  display: none;
  height: 44px;
}

.logo span {
  color: var(--text-main);
}

nav {
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}
nav ul li a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-main);
  transition: 0.3s;
  text-transform: uppercase;
  white-space: nowrap;
}
nav ul li a:hover {
  color: var(--accent-blue);
}

/* --- 右侧区域：语言选择 + 汉堡菜单 --- */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  flex-shrink: 0;
  gap: 15px; /* 控制语言按钮和汉堡菜单之间的间距 */
}

.lang-container {
  position: relative;
  flex-shrink: 0;
}

.lang-switch {
  background-color: var(--bg-blue-light);
  color: var(--text-main);
  border: 1px solid var(--accent-blue);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 152px;
  min-height: 36px;
}
.lang-switch:hover {
  background: rgba(11, 99, 206, 0.08);
}
.lang-current {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}
.lang-caret {
  font-size: 10px;
  flex-shrink: 0;
}

.lang-menu {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-blue-light);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  min-width: 152px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  z-index: 1001;
}
.lang-menu.show {
  display: flex;
}
.lang-menu li a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  color: var(--text-main);
  white-space: nowrap;
  text-align: center;
  transition: 0.2s;
}
.lang-menu li a:hover {
  background-color: var(--accent-blue);
  color: #fff;
}

/* 电脑端隐藏汉堡菜单 */
.mobile-menu-btn {
  display: none;
  font-size: 28px;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1;
  width: 32px;
  min-width: 32px;
  text-align: center;
  flex-shrink: 0;
}

/* --- Hero Section --- */
#hero {
  height: 100vh;
  background:
    linear-gradient(rgba(10, 25, 47, 0.64), rgba(10, 25, 47, 0.78)),
    url("images/indexheader.jpg") center/cover;
  background-color: #0a192f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}
.hero-desc {
  font-size: 1.2rem;
  color: var(--text-hero);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* --- Common Sections --- */
section {
  padding: 100px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-blue);
  margin: 10px auto;
}

/* --- Products --- */
#products {
  background: var(--bg-blue-light);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.product-card {
  background: var(--bg-blue-light);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: var(--surface-alt);
}
.p-info {
  padding: 20px;
}
.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--accent-blue);
}
.card-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* --- Technology --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.tech-box {
  background: var(--bg-blue-light);
  padding: 30px;
  border: 1px solid var(--border-soft);
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

/* --- Vision --- */
.vision-section {
  text-align: center;
  background: linear-gradient(var(--bg-black), var(--bg-blue-dark));
}
.vision-desc {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* --- Clients (Logo Rolling) --- */
#clients {
  background-color: var(--bg-black);
}
.client-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.client-track {
  display: flex;
  width: max-content;
  animation: scrollLeftToRight 20s linear infinite;
}
.client-track:hover {
  animation-play-state: paused;
}
.client-logo {
  width: 150px;
  height: 80px;
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0 15px;
  transition: all 0.3s ease;
  cursor: default;
  flex-shrink: 0;
}
.client-logo:hover {
  background: var(--bg-blue-light);
  color: var(--accent-blue);
  box-shadow: var(--shadow-soft);
}
@keyframes scrollLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* --- Back to Top --- */
#backToTop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
  box-shadow: 0 10px 24px rgba(11, 99, 206, 0.28);
  transition: 0.3s;
}
#backToTop:hover {
  background: var(--accent-hover);
  transform: scale(1.1);
}

/* --- Footer --- */
footer {
  background: var(--bg-blue-light);
  padding: 60px 20px 30px;
  border-top: 1px solid var(--border-soft);
}
.footer-contact {
  text-align: center;
  margin-bottom: 30px;
}
.footer-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 12px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-soft);
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(11, 99, 206, 0.22);
  transition: 0.3s;
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* =======================================================
   移动端响应式处理 (手机版样式)
   ======================================================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-container {
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
    padding: 0 16px;
  }

  .logo-image-web {
    display: none;
  }

  .logo-image-mobile {
    display: block;
  }

  /* 显示汉堡按钮，此时 header-right 包含语言和汉堡，会自动并排 */
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .header-right {
    gap: 10px;
  }

  .lang-switch {
    width: 126px;
    min-height: 38px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .lang-menu {
    min-width: 126px;
  }

  /* 将主导航栏变成绝对定位的下拉折叠菜单 */
  #navbar {
    position: absolute;
    top: 80px; /* 紧贴在80px的Header下方 */
    left: 0;
    width: 100%;
    background-color: var(--bg-blue-dark);
    border-bottom: 1px solid var(--accent-blue);
    display: none; /* 默认隐藏 */
    z-index: 999;
  }

  /* JS触发此class来显示菜单 */
  #navbar.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-soft);
    text-align: center;
  }

  /* 手机版 Logo 一行显示两个，并滚动 */
  .client-logo {
    width: calc(50vw - 40px);
    margin: 0 10px;
  }
}

/* =======================================================
   About Us Page Styles (关于我们页面专属样式)
   ======================================================= */

.page-hero {
  height: 70vh; /* 相比首页的 100vh，内页的 Banner 稍窄一点更显专业 */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 0; /* 留出顶部导航的空间 */
}

.about-section {
  padding: 80px 20px;
}

.bg-dark {
  background-color: var(--bg-blue-dark);
}
.bg-black {
  background-color: var(--bg-black);
}

.text-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.text-content > div {
  margin-bottom: 25px;
  text-align: justify; /* 两端对齐，英文排版更美观 */
}

/* 图片网格展示 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.image-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

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

.img-wrapper:hover img {
  transform: scale(1.1); /* 鼠标悬停图片缓慢放大效果 */
}

/* 文化卡片 (Culture Grid) */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.culture-card {
  background: var(--bg-blue-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  min-height: 240px;
  padding: 44px 32px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.culture-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--accent-blue),
    rgba(11, 99, 206, 0.24)
  );
}

.culture-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  background: var(--bg-blue-light);
}

.culture-card h3 {
  color: var(--text-main);
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.culture-card-text {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.8;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 适配移动端 */
@media (max-width: 768px) {
  .page-hero {
    height: auto;
    padding: 120px 20px 60px;
  }
  .hero-title {
    font-size: 2.2rem !important;
  }
  .hero-desc {
    font-size: 1rem !important;
    text-align: left;
  }
  .text-content {
    text-align: left;
    font-size: 1rem;
  }

  /* 手机端图片变成单列或双列 */
  .image-grid,
  .image-grid.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))!important;
  }

  .culture-card h3 {
    font-size: 1.55rem;
  }
}

/* =======================================================
   Product Page Styles (产品列表页专属样式)
   ======================================================= */

.product-list-section {
  padding: 80px 20px;
  border-bottom: 1px solid var(--border-soft);
}

/* 标题与 More 按钮的 Flex 布局 */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 15px;
}

.category-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.more-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-blue-light);
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.more-btn:hover {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 99, 206, 0.18);
}

.category-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 1000px;
  text-align: justify;
}

/* 单个产品展示时的排版限制（防止图片被拉伸过大） */
.product-grid.single-item {
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  justify-content: flex-start; /* 靠左对齐 */
}

/* 移动端适配补丁 */
@media (max-width: 768px) {
  /* 让标题和按钮保持在同一行，并分别靠左和靠右 */
  .category-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  /* 稍微缩小一点手机端的标题字号，防止占用过多空间 */
  .category-title {
    font-size: 1.4rem;
    flex: 1; /* 占据左侧所有剩余空间 */
  }

  /* 确保 More 按钮在右侧，且文字不会换行、按钮不会被压缩 */
  .more-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 15px; /* 手机端按钮可以稍微改小一点 */
    font-size: 13px;
  }

  .product-grid.single-item {
    justify-content: center;
    grid-template-columns: 1fr;
  }
}

/* =======================================================
   Product Detail Page Styles (产品详情页专属样式)
   ======================================================= */

.product-detail-section {
  padding: 80px 20px;
}

/* 详情介绍与应用场景文案排版 */
.detail-text-content {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.app-paragraph {
  margin-bottom: 20px;
}

/* 响应式视频容器 (保持 16:9 比例) */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #000;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  box-shadow: var(--shadow-soft);
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 产品优势 4宫格 */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.advantage-card {
  background: var(--bg-blue-light);
  padding: 40px 20px;
  border-radius: 8px;
  text-align: center;
  border-bottom: 3px solid var(--accent-blue);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  background: var(--bg-blue-light);
}

.adv-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.adv-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

.adv-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 图片集 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* 技术参数图片限制 */
.tech-param-wrapper {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-param-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

/* 详情页移动端适配微调 */
@media (max-width: 768px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .advantage-card {
    padding: 25px 15px;
  }
  .adv-icon {
    font-size: 2rem;
  }
  .adv-title {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  /* 屏幕特别小的时候，优势块变为单列 */
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================================================
   Customised Service Process Styles (首页定制服务流程)
   ======================================================= */

.process-grid {
  display: grid;
  /* 电脑端默认排成 5 列等宽 */
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-step {
  background: var(--bg-blue-light);
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid var(--accent-blue);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  /* 增加细微的内边框让质感更好 */
  border-left: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  background: var(--bg-blue-light);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  /* 使用滤镜让 emoji 或图标在深色背景下不刺眼 */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.step-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent-blue);
  background: rgba(11, 99, 206, 0.08);
  border: 1px solid rgba(11, 99, 206, 0.12);
  border-radius: 999px;
  padding: 9px 16px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 服务流程移动端适配 */
@media (max-width: 992px) {
  /* 平板端：换行显示，自适应宽度 */
  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  /* 手机端：全部变成单列，上下堆叠 */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .process-step {
    padding: 25px 15px;
    /* 手机端稍微缩短交互位移，避免遮挡 */
    transform: none !important;
  }
}

/* =======================================================
   Honor Page Styles (荣誉资质页专属样式)
   ======================================================= */

.honor-section {
  padding: 80px 20px;
}

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

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

.certificate-box {
  position: relative;
  background: var(--bg-blue-light);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4; /* 保持证书垂直比例 */
}

.certificate-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zoom-overlay span {
  color: white;
  font-weight: bold;
  font-size: 14px;
  background: var(--accent-blue);
  padding: 8px 15px;
  border-radius: 20px;
}

.certificate-box:hover img {
  transform: scale(1.1);
}

.certificate-box:hover .zoom-overlay {
  opacity: 1;
}

.certificate-name {
  margin-top: 15px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
}

/* 灯箱模态窗样式 */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1001;
  display: none; /* 默认隐藏 */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border: 2px solid var(--accent-blue);
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
  animation: zoomIn 0.3s ease-out;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .honor-grid {
    grid-template-columns: repeat(2, 1fr); /* 手机端一行显示两个证书 */
    gap: 20px;
  }
  .certificate-name {
    font-size: 0.9rem;
  }
}

/* =======================================================
   News Page Styles (新闻动态页专属样式)
   ======================================================= */

/* 筛选模块 */
.news-filter-section {
  padding: 40px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.filter-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.filter-group label {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: bold;
}

.custom-select {
  background-color: var(--bg-blue-light);
  color: var(--text-main);
  border: 1px solid var(--border-accent);
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  min-width: 160px;
  transition: all 0.3s;
}

.custom-select:hover,
.custom-select:focus {
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
}

/* 移除浏览器默认下拉箭头，使用默认也行，这里保留一点原生质感适配性更好 */
.custom-select option {
  background-color: var(--bg-blue-light);
  color: var(--text-main);
}

.news-keyword-input {
  width: 220px;
  min-width: 220px;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid var(--border-accent);
  background: var(--bg-blue-light);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.news-keyword-input:hover,
.news-keyword-input:focus {
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
}

.news-search-btn {
  border: none;
  border-radius: 4px;
  background: var(--accent-blue);
  color: #fff;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.news-search-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 99, 206, 0.2);
}

/* 新闻列表模块 */
.news-list-section {
  padding: 60px 20px 100px;
}

.news-empty-state {
  display: none;
  padding: 40px 30px;
  border: 1px dashed var(--border-accent);
  border-radius: 12px;
  background: var(--bg-blue-light);
  color: var(--text-muted);
  text-align: center;
  font-size: 1.05rem;
}

.news-card {
  display: flex;
  background: var(--bg-blue-light);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

/* 日期盒子 (左侧) */
.news-date-box {
  min-width: 130px;
  text-align: center;
  border-right: 2px solid var(--accent-blue);
  padding-right: 30px;
  margin-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date-box .day {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 5px;
}

.news-date-box .month-year {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* 新闻内容 (右侧) */
.news-content {
  flex: 1;
}

.news-category-label {
  display: inline-block;
  background: var(--accent-blue);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: 12px; /* 标题与标签的间距 */
  vertical-align: middle;
  letter-spacing: 1px;
  transform: translateY(-2px); /* 视觉居中微调 */
}

.news-title {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
  transition: color 0.3s;
  line-height: 1.5;
}

.news-title:hover {
  color: var(--accent-blue);
}

.news-brief {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  /* 多行文本截断 (显示3行后变为...) */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.news-page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  background: var(--bg-blue-light);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.news-page-btn:hover:not(:disabled) {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.news-page-btn.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.news-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* 新闻页移动端适配 */
@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .filter-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .custom-select,
  .news-keyword-input,
  .filter-actions {
    width: 100%;
  }

  .filter-actions {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .news-search-btn {
    width: 100%;
  }

  /* 手机端新闻卡片改为上下排版 */
  .news-card {
    flex-direction: column;
    padding: 20px;
  }

  .news-date-box {
    border-right: none;
    border-bottom: 2px solid var(--accent-blue);
    padding-right: 0;
    margin-right: 0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
  }

  .news-date-box .day {
    font-size: 2rem;
  }
}

/* =======================================================
   Service Page Styles (服务支持页专属样式)
   ======================================================= */

.services-container-section {
  padding: 60px 20px 100px;
}

/* 左右轮换行排版容器 */
.service-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  opacity: 0.95;
}

/* 反向排版样式 (文左图右) */
.service-row.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.service-image img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.service-row:hover .service-image img {
  transform: scale(1.05);
}

.service-text {
  flex: 1;
}

.service-module-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-blue);
  margin-bottom: 25px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.service-module-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-blue);
}

/* 反向排版时标题下划线靠左对齐 (如果需要靠右可调整) */

.service-paragraph {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

/* 子模块标题样式 (用于保险 Claims) */
.service-sub-block {
  margin-top: 25px;
  padding-left: 20px;
  border-left: 2px solid var(--accent-blue);
}

.service-sub-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* 售后服务列表样式 */
.service-list {
  margin-top: 20px;
  list-style: none;
}

.service-list li {
  color: var(--text-muted);
  font-size: 1.05rem;
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

.service-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

/* 移动端适配 */
@media (max-width: 992px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column; /* 手机端统一图上文下 */
    gap: 30px;
    margin-bottom: 60px;
  }

  .service-module-title {
    font-size: 1.6rem;
  }
}

/* =======================================================
   Contact Page Styles (联系我们页专属样式)
   ======================================================= */

.contact-section {
  padding: 80px 20px;
}

/* Banner 上的联系信息 */
.contact-banner-info {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 25px;
  /* 已经去掉了 border-left 属性，竖条消失 */
  display: inline-block;
}

.contact-banner-info .info-item {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.contact-banner-info .info-item strong {
  color: #ffffff; /* 将前面加粗的标题（如 Company:）也强制设为纯白色 */
  margin-right: 8px;
}

/* 服务理念文案 */
.philosophy-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
}

/* 在线留言表单样式 */
.message-form {
  background: var(--bg-blue-light);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--bg-blue-light);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  .contact-banner-info {
    padding: 15px;
    width: 100%;
  }
  .contact-banner-info .info-item {
    font-size: 1rem;
  }
  .message-form {
    padding: 25px 20px;
  }
  .philosophy-content {
    font-size: 1rem;
    text-align: left;
  }
}

/* --- 手机区号与号码组合输入框样式 --- */
.phone-input-group {
  display: flex;
  gap: 15px; /* 两个输入框之间的间距 */
}

.phone-input-group .country-code {
  width: 100px; /* 给区号一个固定的短宽度 */
  flex-shrink: 0; /* 防止区号框被挤压 */
  text-align: center; /* 区号居中显示更好看 */
}

.phone-input-group .mobile-number {
  flex: 1; /* 手机号框自动撑满剩余空间 */
}

/* 移动端适配：确保在特别窄的手机屏幕上也能完美并排 */
@media (max-width: 480px) {
  .phone-input-group {
    gap: 10px;
  }
  .phone-input-group .country-code {
    width: 80px;
  }
}

/* --- 客户 Logo 图片专项优化 --- */
.client-logo {
  /* 为图片预留一点呼吸空间 */
  padding: 5px 10px;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 保证不同比例的Logo都能完整显示，不被拉伸变形 */
  /* 默认变成黑白/灰度状态，在深色背景下显得高级统一 */
  transition: all 0.4s ease;
}

/* 鼠标悬停到外框时，图片恢复原本的色彩和亮度 */
.client-logo:hover img {
  transform: scale(1.1); /* 图片本身也会稍微放大一点 */
}

/* =======================================================
   News Detail Page Styles (新闻详情页专属样式)
   ======================================================= */

.article-section {
  padding: 60px 20px 100px;
}

.article-container {
  max-width: 900px; /* 控制文章宽度，提高阅读体验 */
  margin: 0 auto;
  background: var(--bg-blue-light);
  padding: 50px 60px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

/* 头部信息 */
.article-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 20px;
}

.article-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 15px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 简介模块 */
.article-brief {
  background: rgba(0, 123, 255, 0.08);
  border-left: 4px solid var(--accent-blue);
  padding: 20px;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  border-radius: 0 4px 4px 0;
}

.article-brief strong {
  color: var(--text-main);
}

/* 正文排版 */
.article-body {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: justify;
}

.article-paragraph {
  margin-bottom: 25px;
}

.article-body h3 {
  color: var(--text-main);
  font-size: 1.5rem;
  margin: 40px 0 15px;
  border-left: 3px solid var(--accent-blue);
  padding-left: 10px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  border: 1px solid var(--border-soft);
}

.article-body ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.article-body ul li {
  margin-bottom: 10px;
  list-style-type: square;
  color: var(--text-muted);
}

/* 上一篇/下一篇导航 */
.article-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
  gap: 30px;
}

.article-navigation a {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--surface-alt);
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
}

.article-navigation a:hover {
  background: rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.3);
  transform: translateY(-3px);
}

.nav-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: bold;
}

.nav-title {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: bold;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.8em;
  overflow: hidden;
  word-break: break-word;
}

.nav-next .nav-title {
  text-align: left;
}

/* 详情页移动端适配 */
@media (max-width: 768px) {
  .article-container {
    padding: 30px 20px;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .article-navigation {
    flex-direction: column;
    gap: 15px;
  }
}

/* =======================================================
   Shared Utility Styles
   ======================================================= */

.page-hero-about {
  background:
    linear-gradient(rgba(10, 25, 47, 0.72), rgba(5, 5, 5, 0.82)),
    url("images/aboutUs-img.jpg") center/cover;
}

.page-hero-contact {
  background:
    linear-gradient(rgba(10, 25, 47, 0.68), rgba(5, 5, 5, 0.82)),
    url("images/contact-support.jpg") center/cover;
}

.page-hero-honor {
  background:
    linear-gradient(rgba(10, 25, 47, 0.68), rgba(5, 5, 5, 0.82)),
    url("images/honor-img.jpg") center/cover;
}

.page-hero-news {
  background:
    linear-gradient(rgba(10, 25, 47, 0.68), rgba(5, 5, 5, 0.82)),
    url("images/operations-team.jpg") center/cover;
}

.page-hero-news-detail {
  height: 40vh;
  min-height: 300px;
  background:
    linear-gradient(rgba(10, 25, 47, 0.8), rgba(5, 5, 5, 0.92)),
    url("images/operations-team.jpg") center/cover;
}

.page-hero-product {
  background:
    linear-gradient(rgba(10, 25, 47, 0.68), rgba(5, 5, 5, 0.82)),
    url("images/product-img.jpg") center/cover;
}

.page-hero-product-detail {
  background:
    linear-gradient(rgba(10, 25, 47, 0.62), rgba(5, 5, 5, 0.84)),
    url("images/flexitank-shipping.jpg") center/cover;
}

.page-hero-services {
  background:
    linear-gradient(rgba(10, 25, 47, 0.68), rgba(5, 5, 5, 0.82)),
    url("images/services-img.jpg") center/cover;
}

.hero-content-900 {
  max-width: 900px;
}

.hero-content-1000 {
  max-width: 1000px;
}

.hero-content-1100 {
  max-width: 1100px;
}

.hero-content-left {
  text-align: left;
}

.hero-title-sm {
  font-size: 2.5rem;
}

.hero-title-md {
  font-size: 2.8rem;
}

.hero-title-lg {
  font-size: 3rem;
}

.hero-title-xl {
  font-size: 3.5rem;
}

.hero-title-uppercase {
  text-transform: uppercase;
}

.hero-title-gap-md {
  margin-bottom: 20px;
}

.hero-title-gap-lg {
  margin-bottom: 30px;
}

.hero-desc-lg {
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-desc-top-gap {
  margin-top: 20px;
}

.text-content-centered {
  text-align: center;
  margin-bottom: 40px;
}

.container-800 {
  max-width: 800px;
}

.container-1000 {
  max-width: 1000px;
}

.form-actions-center {
  text-align: center;
  margin-top: 30px;
}

.service-process-section {
  background-color: var(--bg-blue-dark);
}

.news-category-label-product {
  background: #e67e22;
}

.news-category-label-industry {
  background: #27ae60;
}

.meta-item-accent {
  color: var(--accent-blue);
}

.footer-social {
  margin: 10px auto 40px;
  text-align: center;
}
.footer-social-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-social-item {
  position: relative;
}
.footer-social-trigger {
  width: 170px;
  min-height: 108px;
  padding: 18px 14px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
}
.footer-social-item:hover .footer-social-trigger {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}
.footer-social-icon {
  width: 28px;
  height: 28px;
  display: block;
}
.footer-social-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  min-height: calc(1.4em * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social-qr {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  width: 190px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(31, 49, 71, 0.16);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 5;
}
.footer-social-qr::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  transform: translateX(-50%) rotate(45deg);
}
.footer-social-item:hover .footer-social-qr {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.footer-social-qr-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.footer-social-qr-text {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}


@media (max-width: 768px){
  .footer-social-list{
    gap: 10px;
  }

  .footer-social-trigger{
    width: 150px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))!important;
  }
}