.intro-banner {
	margin-top: var(--nav-height);
	max-width: 100%;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	/* 确保内部定位参考 */
}
.yincang{
	display: none;
}
.zx_p{
	display: block;
}

/* 标题样式 */
h2.section-title-red {
	color: #c92020;
	font-size: 25px;
	font-weight: bold;
	letter-spacing: 1px;
}

h2.section-title-black {
	color: #2c3e50;
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 50px;
}

h2.section-title-blackxx {
	margin-bottom: 30px;
}

/* --- 第一部分：公司简介 --- */
.intro-section {

	padding: 60px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	align-items: flex-start;
}

.intro-text {
	flex: 1;
	min-width: 300px;
	text-align: justify;
}

.intro-text p {
	margin-bottom: 15px;
	font-size: 14px;
	color: #555;
	line-height: 2.2;
	text-indent: 2em;
}

.intro-text p:first-child {
	text-indent: 0;
}

.zx_p {
	margin-bottom: 15px;
	font-size: 14px;
	color: #555;
	line-height: 2.2;
	text-indent: 2em;
	margin-top: -50px;
}

.zx_p:first-child {
	text-indent: 0;
}

.intro-video {
	flex: 0 0 800px;
	position: relative;

	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	margin-top: 120px;
}


.video-cover {
	width: 100%;
	/* height: 320px; */
	object-fit: cover;
	display: block;
	opacity: 0.9;
}

.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 2px solid rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(5px);
	transition: all 0.3s;
}

.play-btn:hover {
	background: rgba(255, 255, 255, 0.4);
	transform: translate(-50%, -50%) scale(1.1);
}

.play-btn::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-left: 18px solid #fff;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	margin-left: 5px;
}

/* --- 第二部分：代理资质 (核心修改部分) --- */
.cert-section {
	padding: 60px 0 80px 0;
	position: relative;
}

.cert-shelf-container {
	position: relative;
	margin-top: 40px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
	/* 确保容器足够宽以容纳内容，但不限制架子 */
	width: 90%;
	margin-left: 5%;
}

.cert-item {
	flex: 1;
	min-width: 160px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 2;
	/* 确保在架子上面 */
}

.cert-frame {
	width: 100%;
	/* 保持证书比例 */
	aspect-ratio: 3/4;

	padding: 8px;
	/* 给证书加一点阴影，增加立体感 */

	margin-bottom: 10px;
	transition: transform 0.3s;

}

.cert-frame:hover {
	transform: translateY(-5px);
	/* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); */
}

.cert-frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.cert-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
	padding: 2px 5px;
	border-radius: 2px;
}

/* 真实架子图片样式 */
.shelf-bg {
	position: absolute;
	bottom: 18px;
	width: 1600px;
	left: 50%;
	transform: translateX(-50%);
	height: auto;
	z-index: 1;
	pointer-events: none;
	display: block;
}

/* --- 第三部分：企业展示 --- */
.company-section {
	padding: 60px 0 100px 0;
}

.photo-grid {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.photo-item {
	flex: 1;
	min-width: 300px;
	position: relative;
	height: 260px;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.photo-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.photo-item:hover img {
	transform: scale(1.05);
}

.photo-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	background: linear-gradient(rgba(10, 37, 63, 0.6));
	color: #fff;
	font-size: 16px;
	text-align: center;
	font-weight: bold;
}

/* --- 响应式适配 --- */
@media (max-width: 768px) {
	.yincang{
		display: block;
	}
	.zx_p{
		display:none ;
	}
	.intro-section {
		flex-direction: column;
	}

	.intro-video {
		width: 100%;
		flex: auto;
		margin-top: 0px;
	}

	.cert-shelf-container {
		justify-content: center;
		padding-bottom: 40px;
		/* 手机端架子可能需要更多空间 */
		width: 100%;
		margin-left: 0;
	}

	.cert-item {
		flex: 0 0 40%;
		/* 手机端一行两个 */
		margin-bottom: 30px;
	}

	.shelf-bg {
		width: 20%;
		left: 50%;
		max-width: 60%;
		transform: translateX(-50%);
		display: none;
	}

	.photo-grid {
		flex-direction: column;
	}

	.company-section {
		padding: 0px 0 100px 0;
	}
}
