@charset "utf-8";

/* ======================== Banner 区域 ======================== */
.banner {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.banner-slides {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.banner-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.banner-bg.active {
    opacity: 0.9;
}
.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0066B3;
    opacity: 0.7;
    z-index: 1;
}
.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
}
.banner-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}
.banner-desc {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}
.banner-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 2;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* ======================== Banner 按钮（合并重复属性） ======================== */
.btn-service,
.btn-consult-banner {
	padding: 12px 30px;
	border-radius: 4px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	outline: none;
}
.btn-service {
	background: #00A896;
	color: #fff;
}
.btn-service:hover {
	background: #008c7e;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 168, 150, 0.2);
}
.btn-consult-banner {
	background: #ff6c00;
	color: #fff;
}
.btn-consult-banner:hover {
	background: #e56000;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 108, 0, 0.2);
}
.btn-service:active,
.btn-consult-banner:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ======================== JCAFM产品参数模块（与首页风格完全统一） ======================== */
.product-info {
    padding: 80px 0 0 0;
    background: #fff;
}
.product-wrap {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}
.product-img-box {
    width: 500px;
    flex-shrink: 0;
}
.product-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

/* 右侧参数容器 */
.product-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* 单行布局：胶囊标签 + 内容 */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

/* 胶囊标签：圆角、加粗、不同背景色 */
.info-label {
    padding: 6px 16px;
    border-radius: 99px; /* 胶囊圆角 */
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}
/* 每个标签独立颜色，贴合你网站蓝绿主色调 */
.label-1 { background-color: #0066B3; }
.label-2 { background-color: #00A896; }
.label-3 { background-color: #ff6c00; }
.label-4 { background-color: #28a745; }
.label-5 { background-color: #6f42c1; }

/* 右侧内容：加大行高 */
.info-value {
    flex: 1;
    color: #444;
    font-size: 15px;
    line-height: 1.8; /* 加大行高 */
}

/* 响应式适配 */
@media (max-width: 1440px) {
    .product-wrap {
        width: 95%;
    }
}
@media (max-width: 992px) {
    .product-wrap {
        flex-direction: column;
        gap: 40px;
    }
    .product-img-box {
        width: 100%;
    }
}

/* ======================== 滤料规格型号模块（和网站风格统一） ======================== */
.filter-specs {
    padding: 80px 0;
}
.specs-wrap {
    width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
}
.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
/* 圆形图片容器 */
.spec-img {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden; /* 隐藏放大溢出部分，保持圆形 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
/* 图片基础样式 + 过渡动画 */
.spec-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* 0.3秒平滑过渡 */
}
/* 鼠标移入放大1.15倍 */
.spec-img:hover img {
    transform: scale(1.15);
}
/* 文字区域 */
.spec-text {
    flex: 1;
}
.spec-name {
    font-size: 22px;
    color: #6f42c1; /* 匹配原图紫色标题 */
    font-weight: 600;
    margin-bottom: 12px;
}
.spec-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

/* 响应式 适配你网站原有逻辑 */
@media (max-width: 1440px) {
    .specs-wrap {
        width: 95%;
    }
}
@media (max-width: 992px) {
    .specs-wrap {
        grid-template-columns: 1fr;
    }
    .spec-item {
        gap: 20px;
    }
    .spec-img {
        width: 130px;
        height: 130px;
    }
}
@media (max-width: 768px) {
    .spec-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* ======================== 数据统计模块 ======================== */
.stats {
	padding: 60px 0;
	background: #f8f9fa;
}
.stats-wrap {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px;
}
.stats-item {
	text-align: center;
}
.stats-num {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: bold;
	color: #005bbb;
	margin-bottom: 10px;
	display: inline-block;
	min-width: 80px;
	text-align: center;
}
.stats-text {
	font-size: 16px;
	color: #666;
}

/* ======================== 新闻中心 ======================== */
.news-section {
	padding: 70px 0 0 0;
	background: #fff;
  }
  /* 左右 1:1 平分宽度 */
  .news-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: stretch;
  }
  
  /* 左侧轮播：固定高度，不自适应，不乱跳 */
  .news-carousel {
	position: relative;
	width: 100%;
	height: 360px; /* 固定高度，你可以自己改 360/400/420 */
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  .news-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease;
  }
  .news-slide.active {
	opacity: 1;
  }
  .news-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }
  
  /* 轮播标题 */
  .slide-title {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 20px 25px;
	background: linear-gradient(transparent, rgba(0,0,0,0.6));
	color: #fff;
  }
  .slide-title h3 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
  }
  
  /* 左右箭头 */
  .carousel-prev,
  .carousel-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.25);
	border: none;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
	transition: all 0.3s;
  }
  .carousel-prev { left: 15px; }
  .carousel-next { right: 15px; }
  .carousel-prev:hover,
  .carousel-next:hover {
	background: rgba(0,102,179,0.8);
  }
  
  /* 右下角小圆点 */
  .news-dots {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: flex;
	gap: 8px;
	z-index: 5;
  }
  .news-dots .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	transition: all 0.3s;
  }
  .news-dots .dot.active {
	background: #fff;
	transform: scale(1.2);
  }
  
  /* 右侧新闻：高度和轮播完全对齐 */
  .news-list {
	height: 360px; /* 和左侧轮播高度一样 */
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: space-between;
  }
  .news-item {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	background: #f8f9fa;
	border-radius: 8px;
	transition: all 0.3s ease;
  }
  .news-item:hover {
	background: #fff;
	box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  }
  .news-icon {
	display: inline-block;
	width: 6px;
	height: 6px;
	background: #0066B3;
	border-radius: 50%;
	margin-right: 14px;
	flex-shrink: 0;
  }
  .news-item a {
	flex: 1;
	font-size: 15px;
	color: #333;
	text-decoration: none;
	line-height: 1.6;
	transition: color 0.3s;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }
  .news-item:hover a {
	color: #0066B3;
  }
  .news-time {
	font-size: 13px;
	color: #999;
	margin-left: 10px;
	flex-shrink: 0;
  }
  
  /* 查看更多按钮 —— 修复 hover 不变白 */
  .news-footer {
	text-align: center;
	margin: 3rem;
  }
  .btn-primary {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: var(--primary-blue);
	color: #fff;
	border-radius: 0.375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s ease;
  }
  .btn-primary:hover {
	background: #005299; /* 正常深蓝色，不变白 */
	color: #fff;
  }
  
  /* 移动端 */
  @media (max-width: 992px) {
	.news-wrapper {
	  grid-template-columns: 1fr;
	}
	.news-carousel,
	.news-list {
	  height: auto;
	}
  }

/* ======================== 核心优势模块 ======================== */
.advantages {
	padding: 60px 0;
	background: #fff;
}
.advantages-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
}
.advantage-item {
	flex: 1;
	min-width: 280px;
	text-align: center;
	padding: 30px 20px;
	background: #f8f9fa;
	border-radius: 8px;
}
.advantage-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #e8f4ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.advantage-icon img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}
.advantage-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}
.advantage-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* ======================== 我们的服务模块 ======================== */
.services {
	padding: 60px 0;
	background: #f8f9fa;
}
.section-title {
	font-size: 2.5rem;
	font-weight: bold;
	color: #333;
	text-align: center;
	margin-bottom: 50px;
}
.services-wrap {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin: 2rem;
}
.service-card {
	flex: 1;
	min-width: 250px;
	background: #fff;
	border-radius: 8px;
	padding: 25px 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.service-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 15px;
	border-radius: 8px;
	background: #e8f4ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.service-icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}
.service-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}
.service-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
}
.service-more {
	font-size: 14px;
	color: #005bbb;
	text-decoration: none;
}
.service-more:hover {
	text-decoration: underline;
}

/* ======================== 成功案例模块 ======================== */
.cases {
	padding: 80px 0;
	background: #fff;
}
.case-header {
	text-align: center;
	margin-bottom: 50px;
}
.case-title {
	font-size: 2.5rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
}
.case-subtitle {
	font-size: 16px;
	color: #666;
	max-width: 800px;
	margin: 0 auto;
}
.cases-wrap {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}
.case-card {
	flex: 1;
	min-width: 300px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.case-img {
	width: 100%;
	height: 280px;
	overflow: hidden;
}
.case-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.case-card:hover .case-img img {
	transform: scale(1.05);
}
.case-content {
	padding: 25px 20px;
}
.case-tag {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}
.tag-type {
	font-size: 12px;
	color: #009688;
	background: #e8f5f4;
	padding: 4px 8px;
	border-radius: 4px;
}
.tag-area {
	font-size: 12px;
	color: #666;
}
.case-card-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}
.case-desc {
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
	line-height: 1.6;
}
.case-more {
	font-size: 14px;
	color: #005bbb;
	text-decoration: none;
}
.case-more:hover {
	text-decoration: underline;
}

/* ======================== 工具类 ======================== */
.text-primary {
	color: #0066B3;
	font-size: 1.5rem;
}
.text-secondary {
	color: #00A896;
}
.text-3xl {
	font-size: 1.875rem;
	line-height: 2.25rem;
}
.hover\:shadow-lg:hover {
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.duration-300 {
	transition-duration: 300ms;
}

/* ======================== 响应式（清理重复、保留你原版隐藏按钮逻辑） ======================== */
@media (max-width: 992px) {
	.banner { height: 400px; }
	.case-img { height: 240px; }
}

@media (max-width: 768px) {
	.banner { height: 350px; }
	.banner-btns {
		flex-direction: column;
		align-items: center;
		display: none; /* 你本意移动端隐藏Banner按钮，完全保留 */
	}
	.btn-service,
	.btn-consult-banner {
		padding: 10px 20px;
		font-size: 14px;
	}

	.stats-wrap,
	.advantages-wrap,
	.services-wrap,
	.cases-wrap {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.advantage-item,
	.service-card,
	.case-card {
		width: 100%;
		max-width: 400px;
	}
	.section-title,
	.case-title {
		font-size: 2rem;
	}
	.case-img { height: 220px; }
}

@media (max-width: 480px) {
	.banner { height: 300px; }
}