* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f5f5f5;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.clear {
	clear: both;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 顶部栏 */
.head {
	background-color: #fff;
	color: #333;
	padding: 12px 0;
	font-size: 14px;
	border-bottom: 1px solid #e8e8e8;
}

.head .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.head .slogan {
	color: #666;
}

.head .hotline {
	color: #ff6b6b;
	font-weight: bold;
}

.head .hotline a {
	color: #ff6b6b;
	text-decoration: none;
}

/* 轮播图 */
.banner {
	width: 100%;
	position: relative;
	overflow: hidden;
	background-color: #000;
}

.banner .bd {
	position: relative;
	width: 100%;
	height: 442px;
}

.banner .bd ul {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.banner .bd li {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-size: contain !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.banner .bd li.active {
	opacity: 1;
	z-index: 1;
}

.banner .bd li a {
	display: block;
	width: 100%;
	height: 100%;
}

/* 指示器 */
.banner .hd {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

.banner .hd ul {
	display: flex;
	gap: 10px;
}

.banner .hd li {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.banner .hd li.on {
	background-color: #fff;
	width: 30px;
	border-radius: 6px;
}

/* 快捷入口 */
.tu {
	padding: 30px 0;
	background-color: transparent;
	position: relative;
	z-index: 10;
	margin-top: -120px; /* 向上移动，覆盖在轮播图上 */
}

.tu ul {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
	list-style: none;
	background-color: transparent;
	padding: 20px;
	border-radius: 12px;
	box-shadow: none;
}

.tu li {
	text-align: center;
}

.tu li a {
	display: block;
	transition: transform 0.3s ease;
}

.tu li a:hover {
	transform: translateY(-5px);
}

.tu li img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 内容区块 */
.jin,
.liu {
	background-color: #fff;
	margin-top: 20px;
}

.men,
.jie {
	margin-top: 20px;
	background-color: #fff;
	padding: 30px 0;
}

.jin .container,
.liu .container,
.men,
.jie {
	text-align: center;
}

.jin img,
.liu img,
.men img,
.jie img {
	margin: 0 auto 15px;
	border-radius: 8px;
}

/* 页脚样式 */
.footer {
	background-color: #2c3e50;
	color: #ecf0f1;
	padding: 30px 0;
	margin-top: 40px;
	text-align: center;
}

.footer p {
	margin: 0;
	line-height: 1.8;
	font-size: 14px;
}

.footer a {
	color: #3498db;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer a:hover {
	color: #5dade2;
}

/* QQ客服悬浮按钮 */
.qqlink {
	position: fixed;
	right: 20px;
	bottom: 100px;
	z-index: 999;
	transition: all 0.3s ease;
}

.qqlink:hover {
	transform: translateY(-5px);
}

.qqlink img {
	display: block;
	width: 80px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
	.container {
		padding: 0 10px;
	}

	/* 顶部栏移动端 */
	.head {
		padding: 10px 0;
		font-size: 12px;
	}

	.head .container {
		flex-direction: column;
		gap: 5px;
		text-align: center;
	}

	.head .slogan {
		font-size: 11px;
	}

	.banner .bd {
		height: 300px; /* 移动端高度 */
	}

	.banner .hd {
		bottom: 10px;
	}

	.banner .hd li {
		width: 8px;
		height: 8px;
	}

	.banner .hd li.on {
		width: 20px;
	}

	/* 快捷入口改为2列 */
	.tu {
		padding: 20px 0;
		margin-top: -80px; /* 移动端向上移动较少 */
	}

	.tu ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		padding: 15px;
	}

	.men,
	.jie,
	.jin,
	.liu {
		margin-top: 15px;
		padding: 20px 0;
	}

	.footer {
		padding: 20px 0;
		margin-top: 30px;
	}

	.footer p {
		font-size: 12px;
		padding: 0 10px;
	}

	/* QQ客服移动端 */
	.qqlink {
		right: 10px;
		bottom: 80px;
	}

	.qqlink img {
		width: 60px;
	}
}

@media (max-width: 480px) {
	/* 小屏幕优化 */
	.tu ul {
		gap: 8px;
	}

	.banner .bd {
		height: 200px; /* 小屏幕高度 */
	}

	.men,
	.jie {
		padding: 15px 0;
	}
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
	.container {
		max-width: 1400px;
	}
}
