:root {
	--primary: #3b82f6;
	--bg-dark: #0a0f1a;
}

/* ========== 资质区域通用样式 ========== */
.honor-section {
	padding: 70px 0 80px 0;
}

.honor-section:nth-child(even) {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* ========== 卡片通用样式 ========== */
.honor-item {
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(59, 130, 246, 0.08);
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	cursor: pointer;
	width: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
	height: 100%;
}

.honor-item:hover {
	border-color: rgba(59, 130, 246, 0.3);
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
}

.honor-image {
	width: 100%;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(124, 58, 237, 0.04) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding: 15px;
}
.honor-image img{
	width: 100%;
	height: 400px;
	}
.honor-image svg {
	width: 60%;
	height: 60%;
	transition: transform 0.4s ease;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.honor-item:hover .honor-image svg {
	transform: scale(1.1);
}

.honor-name {
	padding: 16px 12px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--fg);
	background: #fff;
	border-top: 1px solid rgba(59, 130, 246, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
}

/* ========== Swiper 容器样式 ========== */

.swiper {
	width: 100%;
	padding: 50px 0 !important;
	/* 给分页器留空间 */
	overflow: hidden;
}

.swiper-slide {
	height: auto !important;
	display: flex;
}

/* 箭头样式 */
.swiper-button-next,
.swiper-button-prev {
	color: var(--blue);
	background: rgba(255, 255, 255, 0.9);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
	opacity: 0;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background: #fff;
	transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 18px;
	font-weight: bold;
}

/* 分页器样式 */
.swiper-pagination {
	bottom: 10px !important;
}

.swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.1);
	opacity: 1;
	transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
	background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
	width: 24px;
	border-radius: 5px;
}

/* ================= 纵横比样式 ================= */
/* 3/4 样式：企业资质 */
.ratio-3-4 .honor-image {
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.ratio-3-4 .honor-image svg {
	width: 55%;
	height: auto;
	object-fit: contain;
}

/* 16/9 样式：企业荣誉 */
.ratio-16-9 .honor-image img{
	width: 100%;
	height: 258px;
}

/* ================= 产品资质 (Grid 模式) ================= */
/* Grid 模式不需要特殊的 CSS Grid，Swiper JS 会处理布局 */
.product-grid-container .honor-image {
	
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.product-grid-container .honor-image svg {
	width: 55%;
	height: auto;
}

/* 分隔线 */
.section-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
	margin: 0;
}
 /* ========== 分类导航 ========== */
      .category-section {
      	padding: 20px 0 0 0;
      	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      }
      
      .category-list {
      	display: flex;
      	justify-content: center;
      	gap: 260px;
      }
      
      .category-item {
      	font-size: 18px;
      	font-weight: 500;
      	color: #666680;
      	cursor: pointer;
      	padding: 12px 0;
      	position: relative;
      	transition: all 0.3s ease;
      	text-decoration: none;
      }
      
      .category-item::after {
      	content: '';
      	position: absolute;
      	bottom: 0;
      	left: 50%;
      	transform: translateX(-50%);
      	width: 0;
      	height: 3px;
      	background: linear-gradient(90deg, var(--blue), var(--purple));
      	border-radius: 2px;
      	transition: width 0.3s ease;
      }
      
      .flex {
      	display: flex;
      }
      
      .category-item:hover,
      .category-item.active {
      	color: #3b82f6;
      }
      
      .category-item:hover::after,
      .category-item.active::after {
      	width: 100%;
      }
/* ================= 响应式调整 ================= */
@media (max-width: 1200px) {
	/* 移动端产品资质 Grid 也会自动调整，不需要额外 CSS */
}

@media (max-width: 768px) {
	
	.category-list {
		gap: 20px;
	}

.honor-image img{
	height: auto;
	}
	.ratio-16-9 .honor-image img{
		height: auto;
	}
	.category-item {
		font-size: 15px;
		padding: 15px 5px;
	}

	.swiper {
	    padding: 20px 0  50px 0!important;
	}

	.honor-section {
		padding: 50px 0 40px;
	}

	.honor-name {
		font-size: 13px;
		padding: 10px;
	}
}