.page-banner {
  position: relative;
  height: 350px;
  width: 100%;
  overflow: hidden;
  display: none;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .banner-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  display: flex;
  align-items: center;
  color: #fff;
  z-index: 2;
}

.page-banner .banner-mask h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
}

.page-banner .banner-mask h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.page-banner .banner-mask p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.position {
  padding: 20px 0;
  margin-bottom: 30px;
}

.position .page-breadcrumb {
  text-align: right;
  color: #888;
}

.position .page-breadcrumb li {
  display: inline-block;
  font-size: 14px;
  color: #666;
}

.position .page-breadcrumb li a {
  color: #666;
  transition: 0.3s;
}

.position .page-breadcrumb li a:hover {
  color: var(--primary-color);
  transition: 0.3s;
}

.position .page-breadcrumb li .icon-right {
  font-size: 12px;
  margin: 0 5px;
  opacity: 0.5;
}

/* 分页器样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-top: 50px;
  gap: 5px;
}

.pagination li a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #666;
  border: 1px solid #eee;
  font-size: 14px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.pagination li:not(.active) a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(240, 109, 57, 0.05);
}

.pagination li.active a {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  cursor: default;
}

.pagination li:first-child a {
  border: none;
  color: #999;
  cursor: default;
}

.pagination li:first-child a:hover {
  background: none;
}

/* 新闻页面 */


/* 列表布局 */
.news-section {
  background-color: #fff;
  padding: 50px 0;
}

.news-section .d-flex {
  column-gap: 30px;
}

.news-section .left-nav {
  width: 30%;
}

.news-section .right-main {
  flex: 1;
  min-width: 0;
}

.news-section .news-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-section .left-nav {
  padding: 60px 0;
  width: 260px;
  flex: 0 0 260px;
  background-color: #fff;
}

/* 标题美化 */
.left-nav h3 {
  font-size: 20px;
  color: var(--text-main);
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
  font-weight: bold;
}

/* 标题下方的橙色短线装饰 */
.left-nav h3::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

/* 列表美化 */
.left-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
}

.left-nav ul li {
  border-bottom: 1px solid #f0f0f0;
}

.left-nav ul li:last-child {
  border-bottom: none;
}

.left-nav ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.left-nav ul li a:hover {
  color: var(--primary-color);
  background-color: rgba(240, 109, 57, 0.05);
  padding-left: 25px;
}

.left-nav ul li.active a,
.left-nav ul li a.active {
  background-color: var(--primary-color);
  color: #fff !important;
  font-weight: 500;
}

/* 单个新闻项 */
.news-item {
  display: flex;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  border-bottom: 1px solid #ddd;
}

.news-item:hover {
  border-bottom: 2px solid var(--primary-color);
}

/* 图片区域 */
.news-img {
  flex: 0 0 220px;
  height: 160px;
  position: relative;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 保证图片不缩放变形 */
  transition: transform 0.5s ease;
}

.news-item:hover .news-img img {
  transform: scale(1.1);
}

.news-meta {
  display: flex;
  align-items: center;
  /* 垂直居中 */
  gap: 15px;
  /* Tag 和 时间的间距 */
  margin-bottom: 12px;
}

.news-tag {
  font-size: 12px;
  color: var(--primary-color);
  background: rgba(240, 109, 57, 0.1);
  padding: 3px 10px;
  border-radius: 2px;
  font-weight: 500;
}

.news-time {
  font-size: 14px;
  color: #999;
  position: relative;
  padding-left: 15px;
}

/* 在时间前面加一个小竖线分割 */
.news-time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: #ddd;
}

/* 文字信息区域 */
.news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.news-title {
  margin-bottom: 15px;
  line-height: 1.4;
}

.news-title a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 22px;
  transition: color 0.3s;
}

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

.news-excerpt {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  /* 限制两行显示，超出打点 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-btn .news-more {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 14px;
  border: 1px solid var(--primary-color);
  transition: all 0.3s;
  padding: 10px 20px;
}

.news-btn .news-more span {
  transition: margin-left 0.3s;
}

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

.news-btn .news-more:hover span {
  margin-left: 8px;
}

@media (max-width: 992px) {
  .news-section .d-flex {
    flex-direction: column;
    /* 平板及手机端改为上下布局 */
  }

  .news-section .left-nav {
    width: 100%;
    margin-bottom: 40px;
  }

  .left-nav ul {
    display: flex;
    /* 手机端导航可以横向排列 */
    flex-wrap: wrap;
    gap: 10px;
    border: none;
  }

  .left-nav ul li {
    border: 1px solid #eee;
    border-radius: 4px;
  }

  .left-nav ul li a {
    padding: 8px 15px;
  }
}

/* 响应式 */
@media (max-width: 768px) {
  .page-banner {
    height: 200px;
  }

  .page-banner .banner-mask h2 {
    font-size: 28px;
  }

  .page-banner .banner-mask p {
    font-size: 14px;
  }

  .news-section .news-item {
    flex-direction: column;
    gap: 15px;
  }

  .news-section .news-excerpt {
    margin-bottom: 0;
  }

  .news-section .news-img {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .news-section .news-title a {
    font-size: 18px;
  }
}

/* 文章页面 */
/* 文章头部 */
.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 30px;
  color: #222;
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-meta {
  font-size: 14px;
  color: #999;
}

.article-meta span {
  margin: 0 15px;
}

.article-meta i {
  margin-right: 5px;
  color: #ccc;
}

/* 文章正文排版优化 - 重要 */
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  padding-bottom: 50px;
  border-bottom: 1px dashed #eee;
  margin-bottom: 30px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 20px auto;
  border-radius: 4px;
}

/* 上下一页 */
.article-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 60px;
}

.article-footer-nav .nav-item a {
  color: #555;
  text-decoration: none;
  transition: 0.3s;
}

.article-footer-nav .nav-item a:hover {
  color: var(--primary-color);
}

.article-footer-nav strong {
  color: #333;
}

/* 相关文章卡片 */
.related-posts {
  margin-top: 40px;
}

.related-title {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.related-title h4 {
  font-size: 20px;
  color: #333;
  margin: 0;
}

.related-title .line {
  flex: 1;
  height: 1px;
  background: #eee;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.related-item {
  transition: 0.3s;
}

.related-img {
  display: block;
  height: 140px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.related-item:hover .related-img img {
  transform: scale(1.1);
}

.related-item h5 {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.related-item h5 a {
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}

.related-item h5 a:hover {
  color: var(--primary-color);
}

.related-item .date {
  font-size: 12px;
  color: #bbb;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .related-list {
    grid-template-columns: 1fr;
  }

  .article-header h1 {
    font-size: 22px;
  }

  .article-meta span {
    display: block;
    margin: 5px 0;
  }
}

/* 产品中心 */

.product-section {
  padding: 50px 0;
  background-color: #fff;
}

.product-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* 左侧导航 */
.product-sidebar {
  width: 280px;
  flex: 0 0 280px;
  position: -webkit-sticky;
  position: sticky;
  top: 30px;
}

.sidebar-box {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-title {
  background: var(--text-main);
  color: #fff;
  padding: 20px;
  font-size: 18px;
  margin: 0;
}

.sidebar-title span {
  font-size: 12px;
  opacity: 0.5;
  margin-left: 10px;
  font-weight: normal;
}

.cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-list li {
  border-bottom: 1px solid var(--border-color);
}

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

.cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: var(--text-main);
  text-decoration: none;
  transition: 0.3s;
}

.cat-list li:hover a,
.cat-list li.active a {
  background-color: var(--bg-gray);
  color: var(--primary-color);
  padding-left: 25px;
}

.sidebar-contact {
  margin-top: 30px;
  padding: 30px 20px;
  background: var(--bg-gray);
  border-radius: 4px;
  text-align: center;
}

.sidebar-contact h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.sidebar-contact p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.btn-sidebar-contact {
  display: inline-block;
  padding: 10px 25px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s;
}

.btn-sidebar-contact:hover {
  background: var(--primary-color);
  color: #fff;
}

/* 右侧产品列表 */
.product-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f1f1;
}

.breadcrumb {
  font-size: 14px;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumb i {
  margin: 0 10px;
  font-style: normal;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-item {
  background: #fff;
  border: 1px solid #eee;
  transition: 0.4s;
  position: relative;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.pro-img {
  display: block;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.pro-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: 0.5s;
}

.pro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 109, 57, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

.product-item:hover .pro-overlay {
  opacity: 1;
}

.view-btn {
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 20px;
  border-radius: 2px;
}

.pro-info {
  padding: 20px;
}

.pro-title {
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: bold;
}

.pro-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: 0.3s;
}

.pro-title a:hover {
  color: var(--primary-color);
}

.pro-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  height: 42px;
  overflow: hidden;
  margin-bottom: 15px;
}

.pro-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f5f5f5;
}

.cat-tag {
  font-size: 12px;
  color: var(--primary-color);
  background: rgba(240, 109, 57, 0.1);
  padding: 2px 8px;
}

.more-link {
  color: #ccc;
}


/* 响应式适配 */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .product-layout {
    flex-direction: column;
  }

  .product-sidebar {
    width: 100%;
    position: static;
    flex: none;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* 关于我们页面 */
.contact-info-section {
  padding: 50px 0;
  position: relative;
  z-index: 10;
  background-color: #fff;
}

.contact-info-section .info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-info-section .info-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;

  text-align: center;
  transition: transform 0.3s ease;
}

.contact-info-section .info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info-section .info-card .iconfont {
  font-size: 50px;
  line-height: 55px;
  height: 55px;
  margin-bottom: 15px;
  display: inline-block;
  color: var(--primary-color);
}

.contact-info-section .info-card h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--text-dark);
}

.contact-info-section .info-card p {
  font-size: 15px;
  color: var(--text-gray);
  margin: 5px 0;
  line-height: 1.4;
}

.contact-info-section .info-card .sub {
  font-size: 12px;
  color: #999;
}

/* Main Section Layout */
.contact-main {
  padding: 80px 0;
  background: #fff;
}

.contact-wrapper {
  display: flex;
  gap: 50px;
}

.contact-form-box {
  flex: 1.2;
}

.contact-map-box {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  min-height: 400px;
}

.contact-map-box #map-container {
  height: 100%;
}

.contact-map-box #map-container img {
  height: 100%;
}

/* Form Style */
.contact-main .section-title h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-main .section-title .line {
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin-bottom: 20px;
}

.contact-main .form-tip {
  color: #888;
  margin-bottom: 30px;
  font-size: 14px;
}

.contact-main .form-group {
  margin-bottom: 20px;
}

.contact-main .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-main .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.contact-main input,
.contact-main textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.3s;
  outline: none;
}

.contact-main input:focus,
.contact-main textarea:focus {
  border-color: var(--primary-color);
}

.contact-main .submit-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-main .submit-btn:hover {
  background: #d85a2b;
}

/* Map Placeholder */
.contact-main .map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #999;
}

/* Responsive */
@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .contact-info-section .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-main .form-row {
    flex-direction: column;
  }
}

/* --- 产品详情页 --- */
.product-intro-box {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
}

.product-gallery {
  flex: 0 0 400px;
}

.product-gallery .main-image {
  border: 1px solid #eee;
  padding: 10px;
  background: #fff;
  border-radius: 4px;
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}

.product-gallery .main-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.product-brief {
  flex: 1;
}

.entry-title {
  font-size: 28px;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.3;
}

.entry-meta {
  padding: 15px 0;
  border-top: 1px solid #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 20px;
  font-size: 14px;
}

.entry-meta .label {
  color: #999;
  margin-right: 5px;
}

.entry-meta .val {
  color: #333;
  margin-right: 25px;
}

.entry-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.entry-action {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-quote {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-quote:hover {
  background-color: #d85a2b;
  box-shadow: 0 5px 15px rgba(240, 109, 57, 0.3);
}

.entry-action .tel {
  font-size: 14px;
  color: var(--text-light);
}

/* 详情详情选项卡风格 */
.product-detail-container {
  margin-top: 40px;
}

.detail-tabs {
  border-bottom: 2px solid #eee;
  margin-bottom: 30px;
}

.detail-tabs .tab-item {
  display: inline-block;
  padding: 12px 30px;
  background: var(--text-main);
  color: #fff;
  font-size: 16px;
  border-radius: 4px 4px 0 0;
}

/* 正文排版 */
.detail-content {
  font-size: 16px;
  color: #444;
  line-height: 2;
}

.detail-content img {
  max-width: 100% !important;
  height: auto !important;
  margin: 20px 0;
}

/* 底部导航 */
.product-footer-nav {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.product-footer-nav .nav-link {
  margin-bottom: 10px;
  font-size: 14px;
}

.product-footer-nav .nav-link a {
  color: #666;
  text-decoration: none;
  transition: 0.3s;
}

.product-footer-nav .nav-link a:hover {
  color: var(--primary-color);
}

.related-products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.related-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.related-head h3 {
  font-size: 20px;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
}

.related-head h3 span {
  font-size: 12px;
  color: #bbb;
  margin-left: 10px;
  font-weight: normal;
}

.related-head .line {
  flex: 1;
  height: 1px;
  background-color: #eee;
}

/* 4格网格布局 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-item {
  border: 1px solid #f5f5f5;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.related-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.rp-img {
  display: block;
  height: 160px;
  overflow: hidden;
  background: #fff;
  padding: 10px;
}

.rp-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 工业产品建议用contain保持比例 */
  transition: 0.5s;
}

.related-item:hover .rp-img img {
  transform: scale(1.1);
}

.rp-info {
  padding: 15px;
  border-top: 1px solid #f9f9f9;
}

.rp-info h4 {
  font-size: 15px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 标题单行截断 */
}

.rp-info h4 a {
  text-decoration: none;
  color: var(--text-main);
  transition: 0.3s;
}

.rp-info h4 a:hover {
  color: var(--primary-color);
}

.rp-info p {
  font-size: 13px;
  color: #999;
  margin: 0;
  line-height: 1.4;
  height: 36px;
  overflow: hidden;
}

/* 详情页响应式 */
@media (max-width: 768px) {
  .product-intro-box {
    flex-direction: column;
  }

  .product-gallery {
    flex: none;
    width: 100%;
  }

  .entry-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-quote {
    width: 100%;
    text-align: center;
  }

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

/* 资料资源下载页面 */
/* 下载列表容器 */
.download-section {
  padding: 50px 0;
  background-color: #fff;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 单个下载条目样式 */
.download-item {
  display: flex;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--border-color);
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.download-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* 图标部分 */
.file-icon {
  flex: 0 0 60px;
  height: 60px;
  background-color: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-right: 25px;
  color: var(--primary-color);
}

.file-icon i {
  font-size: 32px;
}

/* 内容部分 */
.file-info {
  flex: 1;
}

.file-info h3 {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.file-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
}

.file-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* 下载按钮部分 */
.file-action {
  flex: 0 0 150px;
  text-align: right;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  border-radius: 2px;
  transition: all 0.3s;
}

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

/* 响应式适配 */
@media (max-width: 768px) {
  .download-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .file-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .file-meta {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
  }

  .file-action {
    width: 100%;
    margin-top: 20px;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
  }
}

/* 下载详情页特有样式 */
.download-container {
  background: #fff;
}

/* 标题区 */
.download-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.download-header h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.download-meta {
  font-size: 14px;
  color: #999;
}

.download-meta span {
  margin-right: 25px;
}

/* 重点：下载功能卡片 */
.download-feature-box {
  display: flex;
  align-items: center;
  background-color: #fcfcfc;
  border: 2px solid #f1f1f1;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  gap: 30px;
}

.file-preview {
  flex: 0 0 80px;
  height: 80px;
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--primary-color);
}

.file-preview i {
  font-size: 40px;
}

.file-details {
  flex: 1;
}

.file-details h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.file-details p {
  font-size: 14px;
  color: #777;
  margin: 4px 0;
}

/* 显眼的下载按钮 */
.btn-main-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(240, 109, 57, 0.2);
}

.btn-main-download:hover {
  background-color: #d85a2b;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(240, 109, 57, 0.3);
}

/* 正文介绍 */
.content-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--primary-color);
}

.content-body {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .download-feature-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .btn-main-download {
    width: 100%;
    justify-content: center;
  }
}

/*工程服务页面*/
.honor-list-section {
  padding: 50px 0;
  background-color: #fff;
}

/* 4列网格 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.honor-card {
  background: #fff;
  transition: all 0.3s ease;
}

/* 封面容器 */
.honor-cover {
  position: relative;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 3 / 4.2;
  /* 证书标准比例 */
  cursor: pointer;
}

.honor-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
  /* 证书留白感 */
  transition: 0.5s;
}

/* 悬停遮罩 */
.honor-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 109, 57, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: 0.4s;
}

.honor-card:hover .honor-mask {
  opacity: 1;
}

.honor-card:hover .honor-cover img {
  transform: scale(1.08);
}

.honor-mask i {
  font-size: 30px;
  margin-bottom: 10px;
}

.honor-mask span {
  font-size: 13px;
  letter-spacing: 1px;
}

/* 标题区域 */
.honor-info {
  padding: 15px 5px;
  text-align: center;
}

.honor-info h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.honor-info p {
  font-size: 12px;
  color: #bbb;
  margin: 0;
}

.honor-card:hover h3 {
  color: var(--primary-color);
}

/* 隐藏组图中的非封面图 */
.hide-img {
  display: none !important;
}

/* 响应式 */
@media (max-width: 1200px) {
  .honor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .honor-info h3 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .honor-info h3 {
    white-space: normal;
    height: 40px;
  }
}

/* 关于我们页面 */
.about-page-section {
  padding: 50px 0;
  background-color: #fff;
}

.about-block {
  margin-bottom: 80px;
  scroll-margin-top: 100px;
}

.block-title {
  margin-bottom: 30px;
}

.block-title h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.block-title .line {
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.block-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
  text-align: justify;
}

.block-content .emphasize {
  font-size: 18px;
  color: #333;
  font-weight: 500;
}


.org-tree-container {
  width: 100%;
  overflow-x: auto;
  padding: 20px;
}

.org-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 40px;
}

.org-node {
  flex: 1;
  padding: 12px 5px;
  background: #fff;
  border: 1px solid #c8d6e5;
  text-align: center;
  font-size: 14px;
  color: #2f3542;
  transition: 0.3s;
}

.active-node {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.top-row .org-node:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.org-node:hover {
  border-color: var(--primary-color);
}

.sub-row {
  justify-content: flex-start;
  gap: 20px;
  padding-left: 10%;
  position: relative;
  min-width: 600px;
}


.sub-col,
.workshop-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 180px;
}

.workshop-col {
  border-left: 2px solid #eee;
  padding-left: 30px;
}

.org-node.plain {
  border-style: dashed;
  background: transparent;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cap-item {
  padding: 25px;
  background: #f9f9f9;
  border-top: 3px solid #eee;
  transition: 0.3s;
}

.cap-item:hover {
  border-top-color: var(--primary-color);
  transform: translateY(-5px);
}

.cap-item h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.test-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.test-list li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
}

.quality-card {
  display: flex;
  align-items: center;
  padding: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  gap: 30px;
}

.quality-card i {
  font-size: 60px;
  opacity: 0.8;
}

.quality-card h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.prod-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #fcfcfc;
  border: 1px solid #f1f1f1;
  transition: 0.3s;
}

.prod-item:hover {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.prod-icon {
  flex: 0 0 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.prod-icon i {
  font-size: 24px;
}

.prod-info h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.prod-info p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

.capacity-table-box {
  margin-top: 50px;
}

.capacity-table-box h5 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary-color);
  padding-left: 10px;
  border-left: 3px solid var(--primary-color);
}

.flat-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.flat-table th {
  background: #f8f9fa;
  text-align: left;
  padding: 15px;
  font-size: 14px;
  color: #333;
  border-bottom: 2px solid #eee;
}

.flat-table td {
  padding: 15px;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #f1f1f1;
}

.flat-table tr:hover td {
  background-color: #fcfcfc;
  color: var(--primary-color);
}

.test-main-card {
  background: #333;
  color: #fff;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

.test-range {
  flex: 0 0 200px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.range-label {
  display: block;
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 10px;
}

.range-val {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.test-desc p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  opacity: 0.9;
}

.test-other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.other-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 4px;
}

.other-item i {
  font-size: 32px;
  color: var(--primary-color);
}

.other-item h5 {
  margin-bottom: 5px;
  font-size: 16px;
}

.other-item p {
  margin: 0;
  font-size: 13px;
  color: #888;
}

.prod-item {
  display: flex;
  flex-direction: column;
  /* 改为上下结构，更像产品卡片 */
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
}

.prod-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.prod-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(240, 109, 57, 0.9);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 2px;
}

.prod-item:hover .prod-img img {
  transform: scale(1.1);
}

.prod-info {
  padding: 20px;
}

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

.about-swiper-container {
  width: 100%;
  height: 400px;
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid #eee;
}

.about-swiper-container .swiper-slide {
  position: relative;
}

.about-swiper-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  margin: 0;
  padding: 15px 25px;
  font-size: 14px;
}

.about-swiper-container .swiper-button-next,
.about-swiper-container .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: rgba(240, 109, 57, 0.8);
  background-size: 15px;
  border-radius: 50%;
  color: #fff;
}

.about-swiper-container .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.production-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.p-info-item h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
  border-left: 3px solid var(--primary-color);
  padding-left: 15px;
}

.p-info-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* 响应式适配 */
@media (max-width: 768px) {

  .org-row,
  .capability-grid,
  .test-list {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .sub-row {
    padding-left: 0;
    justify-content: center;
  }

  .quality-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .production-grid,
  .test-other-grid {
    grid-template-columns: 1fr;
  }

  .test-main-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .test-range {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    flex: none;
    width: 100%;
  }

  .flat-table {
    font-size: 12px;
    min-width: 600px;
    width: 100%;
  }

  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
  }

  .production-grid {
    grid-template-columns: 1fr;
  }

  .production-info-grid {
    grid-template-columns: 1fr;
  }

  .about-swiper-container {
    height: 250px;
  }
}