.intro-banner {
	margin-top: var(--nav-height);
	max-width: 100%;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;

}
.about-section{
	background: #fff;
	position: relative;
	background: url('../img/img5.jpg') no-repeat;
	background-size: 100% auto;
	/* 宽度拉满，高度自适应 */
	background-position: center bottom;
	/* 死死贴在底部 */
	padding-bottom: 80px;
}
/* 主容器 */
.containerxx {

	width: 1400px;
	margin: 0 auto;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 100px;
	position: relative;
}
.yincang{
	display: none;
}
.zx_p{
	display: block;
}
@media (max-width: 1400px) {
	.container {
		width: 100%;
	}
}

/* 标题样式 */
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;
	padding-bottom: 10px;
}

.intro-text {
	flex: 1;
	min-width: 300px;
	/* text-align: justify; */
}

.intro-text p {
	margin-bottom: 15px;
	font-size: 15px;
	color: #555;
	line-height: 2.2;
	text-indent: 2em;
	text-align: justify;
}

.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 {
    /* 核心修改：使用 Grid 布局 */
	display: grid;
    /* 强制分为 3 列，每列宽度相等 */
	grid-template-columns: repeat(3, 1fr); 
    /* 设置格子之间的间距 */
	gap: 30px; 
    
    /* 可选：如果希望最后一行（只有2个元素）居中显示，可以取消下面的注释 */
    /* justify-content: center; */ 
}

.photo-item {
    /* 移除原来的 flex: 1 和 min-width */
    /* flex: 1;  <-- 删除 */
    /* min-width: 300px; <-- 删除 */
    
    position: relative;
    /* 建议稍微增加高度，因为看截图证书是横向的，260px可能会裁切掉太多内容 */
    height: 320px; 
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
    /* 让图片在格子里填满 */
    width: 100%; 
}

.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(to top, rgba(10, 37, 63, 0.9), rgba(10, 37, 63, 0.4));
	color: #fff;
	font-size: 16px;
	text-align: center;
	font-weight: bold;
}

/* 响应式适配：屏幕变窄时自动变为 2 列或 1 列 */
@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 这里是遮罩层的css */
/* 这里是遮罩层的css */
/* 遮罩层：默认隐藏，全屏黑色半透明 */
.modal-overlay {
    display: none; /* 初始隐藏 */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 深灰色背景 */
    justify-content: center;
    align-items: center;
}

/* 放大后的图片样式 */
#modalImg {
    max-width: 90%;      /* 最大宽度不超过屏幕 90% */
    max-height: 90vh;    /* 最大高度不超过屏幕 90% */
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    cursor: pointer;     /* 提示可以点击图片关闭 */
}

/* 右上角关闭按钮 */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 这里是遮罩层的css */
/* --- 产品系列 --- */
/* 地图模块 */
.stats-container {
	display: flex;
	justify-content: space-around;
	/* 均匀分布 */
	flex-wrap: wrap;
	/* 允许换行 */
	gap: 0px;
	/* 间距 */
	width: 800px;
}

.stat-item {
	display: flex;
	align-items: center;
	/* 垂直居中 */
	flex: 1;
	/* 平分宽度 */
	min-width: 250px;
	/* 最小宽度，防止太窄 */
	padding: 0px;
	margin-bottom: 20px;
}

/* 左侧图标圆圈 */
.icon-box {
	width: 100px;
	height: 100px;
	border-radius: 50%;

	/* 浅灰底色 */
	/* 虚线边框 */
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	flex-shrink: 0;
	/* 防止图标被压缩 */
}

.icon_0 {
	width: 100%;
	height: 100%;
}

.icon-box svg {
	width: 36px;
	height: 36px;
	fill: #8899a6;
	/* 图标颜色 */
}

/* 右侧文字区域 */
.text-box {
	display: flex;
	flex-direction: column;
}

.number {
	font-size: 42px;
	font-weight: bold;
	color: #d32f2f;
	/* 红色数字 */
	line-height: 1;
	margin-bottom: 8px;
}

.number sup {
	font-size: 18px;
	margin-left: 2px;
}

.label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}



.map-dot {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #007AFF;
}

.map-dot::before,
.map-dot::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 50%;
	background-color: #0039C8;
}

.map-dot2 {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #d41b1d;
}

.map-dot2::before,
.map-dot2::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 50%;
	background-color: #d41b1d;
}

.map-dot::before {
	opacity: .1;
	animation: scaleMap 2s infinite cubic-bezier(0.33, 1, 0.68, 1);
}

.map-dot::after {
	z-index: 3;
	opacity: .25;
	animation: scaleMapSmall 2s infinite cubic-bezier(0.33, 1, 0.68, 1) 1s;
	animation-delay: 1s;
}

.map-dot em {
	position: absolute;
	top: -15px;
	right: -170px;
	width: 166px;
	font-size: 15px;
	display: none;
}

.map-dot:nth-child(1) {}

.map-dot:nth-child(1) em {
	transform: scale(0.78);
	top: -19px;
	right: -145px;
}

.map-dot:nth-child(2) {
	left: 79.12%;
	top: 40.22%;
	transform: scale(1.2);
}

.map-dot:nth-child(3) {
	left: 73.12%;
	top: 34.22%;
}

.map-dot:nth-child(4) {
	left: 70.22%;
	top: 70.48%;

}

.map-dot:nth-child(5) {
	left: 81.11%;
	top: 49%;

}


.map-dot:nth-child(6) {
	left: 77.22%;
	top: 67%;
}

.map-dot:nth-child(7) {
	left: 71.22%;
	top: 72%;
}

.map-dot:nth-child(8) {
	left: 82%;
	top: 51%;
}

.map-dot:nth-child(9) {
	left: 79.5%;
	top: 34%;
}

.map-dot:nth-child(10) {
	left: 78%;
	top: 50%;
}

.map-dot:nth-child(11) {
	left: 83.5%;
	top: 53%;
}

.map-dot:nth-child(12) {
	left: 77.5%;
	top: 41.5%;
}

@keyframes scaleMap {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(7);
	}
}

@keyframes scaleMapSmall {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(4);
	}
}

.series-section {
	padding: 130px 0;
	/* background: url('../img/img20.jpg') no-repeat;
	background-size: 100% auto;

	background-position: center center; */
	/* 死死贴在底部 */
	color: #fff;
	text-align: center;
	position: relative;
}
#bg-video {
    position: absolute; /* 固定定位，不随滚动条滚动 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 关键属性：保持视频比例填充，类似 background-size: cover */
    z-index: -1; /* 关键属性：层级设为 -1，确保在所有内容（地图、按钮）的下面 */
    pointer-events: none; /* 让鼠标事件穿透视频，不影响页面上的点击操作 */
}

/* --- 产品系列 --- */
.series-section2 {
	padding: 0px 0;

	background: url('../img/img20.jpg') no-repeat;
	background-size: 100% 100%;
	/* 宽度拉满，高度自适应 */
	background-position: center center;
	/* 死死贴在底部 */
	color: #fff;
	text-align: center;
}
/* 左侧地图区域 */
.map-section {
	flex: 1.2;

	position: relative;
	z-index: 10;
}

#chinaMap {
	width: 775.2px !important;
	height: 726.4px;
	position: relative;
}

/* 右侧列表区域 */
.list-section {
	flex: 0.8;
	display: flex;
	gap: 40px;

	z-index: 20;
}

.col {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* 按钮样式 */
.rep-btn {
	padding: 12px 20px;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s;
	position: relative;
	/* 默认深蓝背景 */
	background: linear-gradient(to right, #04355a, #3a8cc6);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	min-width: 140px;
}

/* .rep-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
	filter: brightness(1.2);
} */

/* 总部特殊样式 */
.rep-btn.headquarter {
	background: linear-gradient(to right, #ed2f26, #f6685d);
	font-weight: bold;
}

/* 激活状态 */
.rep-btn.active {
	background: #ff9900 !important;
	/* 选中时变为橙色/亮色 */
	box-shadow: 0 0 15px rgba(255, 153, 0, 0.6);
}



/* 响应式适配 */
@media (max-width: 1000px) {
	.container {
		flex-direction: column;
		height: auto;
	}

	.containerxx {
		flex-direction: column;
		height: auto;

	}

	.map-section {
		width: 100%;
		height: 50vh;
		/* 移动端地图高度 */
		margin-bottom: 20px;
	}

	.list-section {
		width: 100%;
		flex-direction: row;
		/* 保持两列，或者改为 column 视需求而定 */
		padding-right: 0;
		justify-content: center;
		gap: 20px;
		flex-wrap: wrap;
	}

	.col {
		flex: 1;
		min-width: 140px;
	}

	.rep-btn {
		padding: 10px;
		font-size: 14px;
		min-width: auto;
	}
}

@media (max-width: 600px) {
	.list-section {
		flex-direction: column;
		align-items: center;
	}
}

/* --- 核心模块样式 --- */
.stats-section {
	margin: 0 auto;

}
@media (max-width: 992px) {
	#chinaMap {
		width: 100% !important;
		display: none;
	}
	
	.containerxx {
		padding: 40px 0;
	
	}
	.stats-container {
		width: 100%;
	}
}
/* --- 响应式适配 --- */
@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 {
	    grid-template-columns: 1fr;
	}


}
