/* =========================================================
   联系我们页面样式
   ========================================================= */

.contact-wrap {
	padding: 60px 0 80px 0;
}

/* ===== 页面标题 ===== */
.page-title {
	text-align: center;
	margin-bottom: 60px;
}
.page-title h1 {
	font-size: 36px;
	color: #222;
	font-weight: bold;
	line-height: 1.3;
	margin: 0;
}
.page-title .title-line {
	width: 60px;
	height: 3px;
	background: #c52525;
	margin: 18px auto;
}
.page-title .page-subtitle {
	font-size: 15px;
	color: #777;
	line-height: 1.8;
	max-width: 760px;
	margin: 0 auto;
}

/* ===== 联系方式卡片（2 列） ===== */
.contact-info {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-bottom: 60px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	background: #fff;
	border-radius: 10px;
	padding: 24px 22px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	border-bottom: 4px solid #c52525;
	transition: all 0.35s ease;
}
.contact-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.contact-icon {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	font-size: 22px;
	color: #c52525;
	background: #fafafa;
	border-radius: 50%;
	margin-right: 16px;
	transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
	background: #c52525;
	color: #fff;
}

.contact-text {
	flex: 1;
	min-width: 0;
}
.contact-text h3 {
	font-size: 16px;
	color: #222;
	font-weight: bold;
	line-height: 1.4;
	margin: 0 0 8px 0;
}
.contact-text p {
	font-size: 14px;
	color: #666;
	line-height: 1.7;
	margin: 0;
	word-break: break-all;
}
.contact-text p a {
	color: #666;
	transition: color 0.3s ease;
}
.contact-text p a:hover {
	color: #c52525;
}

/* ===== 快速留言 ===== */
.contact-form-wrap {
	background: #fafafa;
	border-radius: 10px;
	padding: 50px 60px 60px 60px;
}

.contact-form-title {
	text-align: center;
	margin-bottom: 40px;
}
.contact-form-title h2 {
	font-size: 28px;
	color: #222;
	font-weight: bold;
	line-height: 1.3;
	margin: 0 0 12px 0;
}
.contact-form-title p {
	font-size: 14px;
	color: #888;
	line-height: 1.8;
	margin: 0;
}

.contact-form .book_list {
	margin-bottom: 20px;
}

.book_input {
	width: 100%;
	height: 50px;
	line-height: 20px;
	padding: 15px 18px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: #333;
	box-sizing: border-box;
	transition: all 0.3s ease;
}
.book_input:focus {
	border-color: #c52525;
	outline: none;
	box-shadow: 0 0 0 3px rgba(197, 37, 37, 0.08);
}

.book_text {
	width: 100%;
	height: 140px;
	line-height: 1.8;
	padding: 15px 18px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: #333;
	box-sizing: border-box;
	resize: vertical;
	transition: all 0.3s ease;
}
.book_text:focus {
	border-color: #c52525;
	outline: none;
	box-shadow: 0 0 0 3px rgba(197, 37, 37, 0.08);
}

.book_btn {
	display: inline-block;
	padding: 0 44px;
	height: 50px;
	line-height: 50px;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
	background: #c52525;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.book_btn:hover {
	background: #a81d1d;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(197, 37, 37, 0.3);
}

/* =========================================================
   响应式
   ========================================================= */

@media screen and (max-width: 1000px) {
	.contact-info {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.contact-form-wrap {
		padding: 40px 30px 50px 30px;
	}
}

@media screen and (max-width: 760px) {
	.contact-wrap {
		padding: 40px 0 50px 0;
	}
	.page-title {
		margin-bottom: 35px;
	}
	.page-title h1 {
		font-size: 24px;
	}
	.page-title .page-subtitle {
		font-size: 13px;
		padding: 0 10px;
	}

	.contact-info {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-bottom: 40px;
	}
	.contact-item {
		padding: 18px 18px;
	}
	.contact-icon {
		width: 44px;
		height: 44px;
		line-height: 44px;
		font-size: 18px;
		margin-right: 14px;
	}
	.contact-text h3 {
		font-size: 15px;
		margin-bottom: 6px;
	}
	.contact-text p {
		font-size: 13px;
	}

	.contact-form-wrap {
		padding: 30px 18px 40px 18px;
		border-radius: 8px;
	}
	.contact-form-title {
		margin-bottom: 24px;
	}
	.contact-form-title h2 {
		font-size: 20px;
		margin-bottom: 8px;
	}
	.contact-form-title p {
		font-size: 13px;
	}

	.book_input {
		height: 46px;
		padding: 12px 14px;
		font-size: 14px;
	}
	.book_text {
		height: 120px;
		padding: 12px 14px;
		font-size: 14px;
	}
	.book_btn {
		width: 100%;
		height: 46px;
		line-height: 46px;
		padding: 0;
		font-size: 15px;
	}
}