/* ========== 全局基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, li {
  list-style: none;
}

/* 容器统一宽度 + 左右安全边距 */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 图标占位样式（统一预留图标位置，后期替换字体图标/图片图标即可） */
.icon-arrow,
.icon-mail,
.icon-link {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  text-align: center;
  line-height: 16px;
}

/* 通用标题 */
.en-title {
  display: block;
  font-size: 14px;
  color: #ffc107;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.section-title {
  font-size: 26px;
  font-weight: 600;
  color: #222;
}

/* 通用黄色按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #ffc107;
  color: #000;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #ffb300;
}

/* ========== 头部样式 ========== */
.header {
  width: 100%;
  position: relative;
  z-index: 100;
}

/* 顶部黄色条 */
.header-top {
  background-color: #ffc107;
  padding: 6px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-left {
  font-size: 14px;
  color: #000;
}
.top-right {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000;
}
.top-right .phone-icon {
  margin-right: 4px;
}
.top-right a {
  color: #000;
  text-decoration: none;
}
.top-right .divider {
  margin: 0 10px;
  color: rgba(0,0,0,0.3);
}

/* 主菜单区域 */
.header-main {
  background-color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.header-main .container {
  display: flex;
  align-items: center;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
}
.logo-text {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}
.logo-text sup {
  font-size: 12px;
  color: #999;
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  margin: 0 0 0 60px;
  padding: 0;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-menu > li {
  position: relative;
  margin-right: 25px;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #333 !important;
  text-decoration: none !important;
  padding: 8px 0;
  background: transparent !important;
}
.nav-menu > li > a .arrow {
  font-size: 10px;
  margin-left: 4px;
  color: #999;
}
.nav-menu > li.active > a,
.nav-menu > li:hover > a {
  color: #ffc107 !important;
}
.nav-menu > li.active > a .arrow,
.nav-menu > li:hover > a .arrow {
  color: #ffc107;
}

/* 下拉菜单 */
.nav-menu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-top: 2px solid #ffc107;
  padding: 10px 0;
  min-width: 150px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-menu > li:hover .submenu {
  display: block;
}
.nav-menu .submenu li {
  padding: 0 15px;
}
.nav-menu .submenu li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  text-decoration: none;
}
.nav-menu .submenu li a:hover {
  color: #ffc107;
}

/* 搜索框 */
.search-box {
  margin-left: 30px;
  flex-shrink: 0;
}
.search-box form {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 6px 15px;
  width: 220px;
}
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #333;
  width: 100%;
}
.search-box input::placeholder {
  color: #999;
}
.search-box .search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

/* ========== 1. 首屏 Banner ========== */
.banner {
  position: relative;
  width: 100%;
  height: calc(100vh - 5rem); /* 减去固定定位头部高度 5rem */
  max-height: 800px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 5rem; /* 避开固定定位的头部 */
  box-sizing: border-box;
}
.banner-slide {
  position: absolute;
  top: 5rem; /* 从头部下方开始 */
  left: 0;
  width: 100%;
  height: calc(100vh - 5rem); /* 减去头部高度 */
  max-height: 800px;
  display: none;
}
.banner-slide.active {
  display: block;
}
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.banner-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.banner-dots .dot.active {
  background: #ffc107;
  transform: scale(1.2);
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.hero-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-text {
  width: 48%;
  padding-left: 8%;
  color: #fff;
}
.hero-text h1 {
  font-size: 34px;
  margin-bottom: 18px;
  line-height: 1.3;
}
.hero-text p {
  font-size: 15px;
  margin-bottom: 26px;
  opacity: 0.95;
}

/* ========== 2. 关于我们 ========== */
.about-section {
  padding: 80px 0;
  background: #fff;
}
.about-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}
.about-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.about-content {
  flex: 1;
}
.about-right {
  flex: 1.2;
  max-width: 850px;
}
.about-right img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}
.about-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}
.about-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin-bottom: 20px;
}
.about-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  white-space: pre-line;
  overflow-wrap: break-word;
  max-height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.about-desc::after {
  content: '...';
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fff;
  padding-left: 10px;
}
.about-btn-row {
  margin-bottom: 30px;
}
/* 数据统计行 */
.about-data {
  display: flex;
  justify-content: space-between;
  padding: 25px 40px;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 60%;
}
.data-icon {
  filter: grayscale(100%) brightness(93.3%);
  width: 32px;
  height: 32px;
}
.data-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 15px;
  border-right: 1px dashed #ddd;
}
.data-item:last-child {
  border-right: none;
}
.data-num-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.data-num {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}
.data-unit {
  font-size: 14px;
  color: #666;
}
.data-text {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #333;
  font-size: 14px;
  padding: 10px 22px;
  border: 1px solid #ddd;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: #ffc107;
  color: #ffc107;
}
.data-num-wrap {
  display: flex;
  align-items: center;
}
.data-num {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}
.data-unit {
  font-size: 16px;
  color: #666;
  margin-left: 4px;
}
.data-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  font-size: 20px;
  color: #999;
}
.data-text {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

/* ========== 3. 案例展示 ========== */
.case-section {
  padding: 0 0 70px;
}
.case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.case-item {
  max-width:500px;
  max-height:450px;
  background: #F8F8F8;
  border: 1px dashed  #999;
  border-radius: 10px;
  overflow: hidden;
}
.case-img {
  width: 100%;
  max-height: 330px;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
}
.case-txt h3 {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}
.case-txt p {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}
.case-more {
  font-size: 13px;
  background: #ffc107;
  padding: 2px 12px;
  border-radius: 50px;
}

/* ========== 4. 产品系列 ========== */
.product-section {
  padding: 80px 0;
  background: #f8f9fa;
  border-radius: 0 400px 0 0;
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 40px;
}
.head-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.head-left .en-title {
  margin-bottom: 0;
  font-size: 16px;
  letter-spacing: 2px;
}
.head-left .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
}
.product-tab {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
  min-width: calc(60% - 25px);
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  cursor: pointer;
  flex: 1;
  min-width: 95px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.tab-item:hover {
  transform: translateY(-2px);
}
.tab-icon {
  margin-bottom: 5px;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}
.tab-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.tab-content {
  padding: 0 8px 8px;
  text-align: center;
}
.tab-text {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}
.tab-item.active .tab-text {
  color: #333;
  font-weight: 500;
}
.tab-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffc107;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tab-item.active::after {
  opacity: 1;
}
/* 首页产品推荐区域 - 限定在.product-section内，避免与list_product.html冲突 */
.product-section .product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-section .no-product {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
  color: #999;
  font-size: 16px;
}
.product-section .product-item {
  background: #ffc107;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.product-section .product-img {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.product-section .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-section .product-brand {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  padding: 4px 10px;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
}
.product-section .product-info {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-section .product-detail {
  font-size: 13px;
  color: #000;
  padding: 6px 16px;
  border: 2px dashed #000;
  border-radius: 20px;
  text-decoration: none;
}
.product-section .product-model {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}
.product-section .product-desc {
  font-size: 13px;
  color: #666;
}

/* ========== 5. 行业应用 ========== */
.apply-section {
  padding: 70px 0;
}
.apply-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.apply-head .head-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.apply-head .en-title {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 0;
}
.apply-head .section-title {
  font-size: 28px;
  font-weight: bold;
  color: #222;
}
.apply-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.apply-link:hover {
  border-color: #ffc107;
  color: #ffc107;
}
.apply-link img {
  width: 16px;
  height: 16px;
  margin-left: 6px;
}
.apply-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 18px;
}
.apply-big {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  max-width: 1500px;
  max-height: 670px;
  margin: 0 auto;
}
.apply-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px dashed #444;
  max-width: 500px;
  aspect-ratio: 500 / 360; /* 图片300 + 黄色区域60 */
}
.apply-item img {
  width: 100%;
  height: calc(100% - 60px); /* 图片区域，预留60px给黄色区域 */
  object-fit: cover;
  transition: transform 0.3s ease;
}
.apply-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.apply-big img {
  max-height: 670px;
}
.apply-list > div:hover img {
  transform: scale(1.05);
}
.apply-big .apply-name {
    position: absolute;
    right: 0px;
    bottom: 30px;
    background: #ffc107;
    text-align: center;
    font-size: 16px;
    padding: 10px 30px;
    color: #000;
    border-radius: 2rem 0 0 2rem;
}
.apply-item .apply-name {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-height: 60px;
  background: #ffc107;
  text-align: center;
  font-size: 15px;
  padding: 12px 0;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* ========== 6. 技术指导 ========== */
.tech-section {
  padding: 70px 0;
  background: #f8f9fa;
  border-radius: 0 120px 0 0;
  position: relative;
}
.tech-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.tech-head .head-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.tech-head .en-title {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 0;
}
.tech-head .section-title {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.tech-link img {
  width: 16px;
  height: 16px;
  margin-left: 6px;
}
.tech-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #eee;
}
.tech-item {
  padding: 0 30px;
  border-right: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.tech-item:last-child {
  border-right: none;
}
.tech-title {
    margin-top: 10%;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.5;
}
.tech-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tech-date::before {
  content: '';
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
  background-size: 12px;
}
.tech-item .btn-primary {
  margin-top: auto;
  align-self: flex-start;
  background: #ffc107;
  color: #000;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tech-item .btn-primary:hover {
  background: #e6ae00;
}

/* ========== 响应式适配（修复小屏错位、挤压） ========== */
/* 平板 992px 以下 */
@media (max-width: 992px) {
  .banner {
    height: calc(100vh - 5rem);
    max-height: 600px;
  }
  .banner-slide {
    height: calc(100vh - 5rem);
    max-height: 600px;
  }
  .about-wrap {
    flex-direction: column;
    gap: 30px;
  }
  .about-left {
    order: 2;
  }
  .about-right {
    order: 1;
    margin-bottom: 0;
  }
  .about-right img {
    min-height: 300px;
  }
  .about-title {
    font-size: 28px;
  }
  .about-desc {
    font-size: 15px;
    line-height: 1.7;
  }
  .about-data {
    position: static;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
  }
  .data-item {
    flex: 1;
    min-width: 120px;
    border-right: none;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 15px;
  }
  .data-item:last-child {
    border-bottom: none;
  }
  .data-num {
    font-size: 28px;
  }
  .case-list,
  .product-section .product-list,
  .tech-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .apply-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .apply-item {
    max-width: 100%;
    aspect-ratio: auto;
  }
  .apply-item img {
    height: 200px;
  }
  .apply-item .apply-name {
    max-height: 50px;
    padding: 10px 0;
    font-size: 14px;
  }
  .hero-text {
    width: 60%;
  }
  .product-section,
  .tech-section {
    border-radius: 80px 0 0 0;
  }
}


@media (max-width: 768px) {
  .banner {
    height: calc(100vh - 5rem);
    max-height: 500px;
  }
  .banner-slide {
    height: calc(100vh - 5rem);
    max-height: 500px;
  }
  .hero-banner {
    height: 420px;
  }
  .hero-text {
    width: 90%;
    padding-left: 5%;
  }
  .hero-text h1 {
    font-size: 26px;
  }
  .section-title {
    font-size: 22px;
  }
  /* about-section 适配 */
  .about-wrap {
    flex-direction: column;
    gap: 25px;
  }
  .about-left {
    order: 2;
  }
  .about-right {
    order: 1;
  }
  .about-right img {
    min-height: 250px;
  }
  .about-title {
    font-size: 24px;
  }
  .about-desc {
    font-size: 14px;
    line-height: 1.7;
    max-height: 140px;
  }
  .about-data {
    position: static;
    width: 100%;
    flex-wrap: wrap;
    padding: 18px;
    gap: 15px;
    margin-top: 20px;
  }
  .data-item {
    flex: 1;
    min-width: 100px;
    border-right: none;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 12px;
  }
  .data-item:last-child {
    border-bottom: none;
  }
  .data-num {
    font-size: 24px;
  }
  .data-unit {
    font-size: 13px;
  }
  .data-text {
    font-size: 11px;
  }
  .case-list,
  .product-section .product-list,
  .tech-list,
  .apply-list {
    grid-template-columns: 1fr;
  }
  .apply-item {
    max-width: 100%;
    aspect-ratio: auto;
  }
  .apply-item img {
    height: 180px;
  }
  .apply-item .apply-name {
    max-height: 45px;
    padding: 8px 0;
    font-size: 13px;
  }
  .about-data {
    position: static;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
  .product-tab {
    flex-wrap: wrap;
    gap: 15px;
  }
  .product-section,
  .tech-section {
    border-radius: 50px 0 0 0;
  }
  .about-section,
  .case-section,
  .product-section,
  .apply-section,
  .tech-section {
    padding: 50px 0;
  }
}

/* 小屏手机 480px 以下 */
@media (max-width: 480px) {
  .banner {
    height: calc(100vh - 5rem);
    max-height: 400px;
  }
  .banner-slide {
    height: calc(100vh - 5rem);
    max-height: 400px;
  }
  .hero-banner {
    height: 380px;
  }
  .about-data {
    position: static;
    width: 100%;
    flex-direction: column;
    margin-top: 20px;
  }
  .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
  }
}