/* =========================================================
   服务与支持页面样式
   ========================================================= */

/* ===== 页面标题 ===== */
.page-title {
	text-align: center;
	margin: 60px 0 60px 0;
}
.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: #e94e1b;
	margin: 18px auto;
}
.page-title .page-subtitle {
	font-size: 15px;
	color: #777;
	line-height: 1.8;
	max-width: 760px;
	margin: 0 auto;
}

/* =========================================================
   重新优化的优势总结模块（实心图标 + 防空白底纹）
   ========================================================= */
.advantage-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 80px;
	position: relative;
	z-index: 1;
}

.adv-card {
	position: relative;
	background: #ffffff; /* 恢复纯白底，看起来更干净 */
	border-radius: 12px;
	padding: 45px 24px 32px 24px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
	border: 1px solid #ebf0f6;
	display: flex;
	flex-direction: column;
}

/* 顶部常驻渐变装饰条 */
.adv-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #0c5a9e, #4facfe);
	z-index: 2;
}

/* 右下角巨大的半透明底纹图标（防空白） */
.adv-card::after {
	font-family: "FontAwesome";
	position: absolute;
	right: -15px;
	bottom: -15px;
	font-size: 120px;
	color: rgba(12, 90, 158, 0.03);
	z-index: 0;
	line-height: 1;
	pointer-events: none;
	transition: all 0.5s ease;
}

/* 动态设置底纹符号 */
.adv-card:nth-child(1)::after { content: "\f017"; }
.adv-card:nth-child(2)::after { content: "\f108"; }
.adv-card:nth-child(3)::after { content: "\f132"; }
.adv-card:nth-child(4)::after { content: "\f19d"; }

/* 悬停动效 */
.adv-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(12, 90, 158, 0.1);
	border-color: #d6e6f5;
}
.adv-card:hover::after {
	transform: scale(1.1) rotate(-5deg);
	color: rgba(12, 90, 158, 0.06);
}

/* ===== 核心修改：默认实心背景的图标 ===== */
.adv-card-icon {
	position: relative;
	z-index: 1;
	width: 72px;
	height: 72px;
	margin: 0 auto 24px auto;
	background: #0c5a9e; /* 默认深蓝背景 */
	border-radius: 16px; /* 采用更加现代的圆角矩形（Squircle感） */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s ease;
	box-shadow: 0 8px 20px rgba(12, 90, 158, 0.25); /* 自带投影 */
}

.adv-card-icon i {
	font-size: 32px;
	color: #ffffff; /* 图标纯白 */
	transition: all 0.4s ease;
}

/* 悬停时，图标微微放大并换一种稍微亮一点的蓝色 */
.adv-card:hover .adv-card-icon {
	transform: scale(1.08) rotate(4deg);
	background: #1a7ad4; /* 稍微提亮 */
	box-shadow: 0 12px 24px rgba(26, 122, 212, 0.35);
}

/* 文字 */
.adv-card h3 {
	position: relative;
	z-index: 1;
	font-size: 18px;
	color: #222;
	font-weight: bold;
	margin: 0 0 14px 0;
}

.adv-card p {
	position: relative;
	z-index: 1;
	font-size: 14px;
	color: #666;
	line-height: 1.8;
	text-align: justify;
	margin: 0;
	flex: 1;
}

/* =========================================================
   针对优势卡片的响应式
   ========================================================= */
@media screen and (max-width: 1200px) {
	.advantage-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media screen and (max-width: 760px) {
	.advantage-cards {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 50px;
	}
	.adv-card {
		padding: 30px 20px 24px 20px;
	}
	.adv-card-icon {
		width: 60px;
		height: 60px;
		margin-bottom: 16px;
		border-radius: 14px;
	}
	.adv-card-icon i {
		font-size: 26px;
	}
	.adv-card::after {
		font-size: 90px;
		right: -10px;
		bottom: -10px;
	}
}

/* =========================================================
   服务区块
   ========================================================= */
.service-section {
	padding: 0; /* 按要求清零 */
}

.service-row {
	padding: 70px 0;
	background: #fff;
}
.service-row.gray {
	background: #fafafa;
}

/* 图文交替 */
.service-block {
	display: flex;
	align-items: center;
	gap: 60px;
}
.service-block.reverse {
	flex-direction: row-reverse;
}

/* 文字区 */
.service-text {
	flex: 1;
	min-width: 0;
}

.service-head {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
}

/* 橙色线框图标 */
.service-icon {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	font-size: 28px;
	color: #e94e1b;
	border: 2px solid #f5c6a5;
	border-radius: 12px;
	margin-right: 20px;
	background: #fff;
	transition: all 0.3s ease;
}
.service-block:hover .service-icon {
	background: #e94e1b;
	color: #fff;
	border-color: #e94e1b;
}

.service-head h2 {
	font-size: 30px;
	color: #222;
	font-weight: bold;
	line-height: 1.3;
	margin: 0;
}

.service-text p {
	font-size: 15px;
	color: #666;
	line-height: 2;
	margin: 0;
	text-align: justify;
}

/* 图片区：5:3 比例 */
.service-img {
	flex: 0 0 45%;
	max-width: 45%;
}

.service-img-inner {
	position: relative;
	width: 100%;
	padding-bottom: 60%;
	height: 0;
	overflow: hidden;
	border-radius: 8px; /* 图片加微圆角提升精致感 */
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
	background-color: #f2f2f2;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	transition: transform 0.6s ease;
}
.service-block:hover .service-img-inner {
	transform: scale(1.04);
}

/* =========================================================
   询盘表单模块
   ========================================================= */
#fh5co-inquiry {
	padding: 80px 0 90px 0;
	background: #fafafa; /* 按要求改为 #fafafa */
	overflow: hidden;
}

.inquiry-header {
	text-align: center;
	margin-bottom: 50px;
}
.inquiry-header h2 {
	font-size: 32px;
	color: #333;
	font-weight: normal;
	margin: 0 0 15px 0;
	letter-spacing: 1px;
}
.inquiry-header p {
	font-size: 18px;
	color: #333;
	margin: 0;
	line-height: 1.6;
}

.inquiry-wrap {
	display: flex;
	align-items: stretch;
	gap: 40px;
}

.inquiry-form {
	flex: 0 0 45%;
	max-width: 45%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.inquiry-form-box {
	width: 100%;
}

.inquiry-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.inquiry-field {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.inquiry-field-full {
	width: 100%;
}

.inquiry-input,
.inquiry-textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	background: #fff;
	font-size: 15px;
	color: #333;
	font-family: inherit;
	line-height: 1.6;
	transition: all 0.3s ease;
	outline: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.inquiry-input {
	height: 52px;
	padding: 0 18px;
}
.inquiry-textarea {
	padding: 16px 18px;
	resize: vertical;
	min-height: 140px;
}

.inquiry-input::placeholder,
.inquiry-textarea::placeholder {
	color: #a0a0a0;
	font-size: 15px;
}

.inquiry-input:hover,
.inquiry-textarea:hover {
	border-color: #d0d0d0;
}

.inquiry-input:focus,
.inquiry-textarea:focus {
	border-color: #2b2343;
	box-shadow: 0 0 0 3px rgba(43, 35, 67, 0.1);
	background: #fff;
}

.inquiry-submit {
	margin-top: 15px;
}
.inquiry-btn {
	display: block;
	width: 160px;
	height: 50px;
	line-height: 48px;
	padding: 0;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	background: #2b2343;
	border: 1px solid #2b2343;
	border-radius: 6px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	box-shadow: 0 4px 12px rgba(43, 35, 67, 0.2);
}

.inquiry-btn:hover {
	background: #1a1529;
	border-color: #1a1529;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(43, 35, 67, 0.3);
}

.inquiry-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(43, 35, 67, 0.2);
}

.inquiry-img-box {
	flex: 1;
	min-width: 0;
	display: flex;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	background: #eaeaea;
}

.inquiry-img-box img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.inquiry-img-box:hover img {
	transform: scale(1.03);
}

/* =========================================================
   响应式
   ========================================================= */
@media screen and (max-width: 1200px) {
	.advantage-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media screen and (max-width: 1000px) {
	.service-row {
		padding: 55px 0;
	}
	.service-block {
		gap: 40px;
	}
	.service-head h2 {
		font-size: 24px;
	}
	.service-icon {
		width: 52px;
		height: 52px;
		line-height: 52px;
		font-size: 24px;
		margin-right: 16px;
		border-radius: 10px;
	}
	.service-text p {
		font-size: 14px;
		line-height: 1.9;
	}

	.inquiry-header h2 { font-size: 26px; }
	.inquiry-header p { font-size: 16px; }
	.inquiry-wrap { gap: 30px; }
	.inquiry-form {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media screen and (max-width: 760px) {
	.page-title {
		margin: 40px 0 40px 0;
	}
	.page-title h1 {
		font-size: 24px;
	}
	.page-title .page-subtitle {
		font-size: 13px;
		padding: 0 10px;
	}

	.advantage-cards {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 50px;
	}
	.adv-card {
		padding: 30px 20px;
	}
	.adv-card-icon {
		width: 64px;
		height: 64px;
		margin-bottom: 16px;
	}
	.adv-card-icon i {
		font-size: 28px;
	}

	.service-section {
		padding: 0;
	}
	.service-row {
		padding: 40px 0;
	}
	.service-block,
	.service-block.reverse {
		flex-direction: column;
		gap: 24px;
	}
	.service-text {
		width: 100%;
	}
	.service-img {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}
	.service-head {
		margin-bottom: 16px;
	}
	.service-icon {
		width: 46px;
		height: 46px;
		line-height: 46px;
		font-size: 20px;
		margin-right: 14px;
		border-radius: 8px;
	}
	.service-head h2 {
		font-size: 20px;
	}
	.service-text p {
		font-size: 14px;
		line-height: 1.9;
	}

	#fh5co-inquiry {
		padding: 50px 0;
	}
	.inquiry-header {
		margin-bottom: 30px;
	}
	.inquiry-header h2 { font-size: 22px; }
	.inquiry-header p { font-size: 14px; }

	.inquiry-wrap {
		flex-direction: column;
		gap: 30px;
	}
	.inquiry-form {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.inquiry-row {
		flex-direction: column;
		gap: 16px;
		margin-bottom: 16px;
	}
	.inquiry-input {
		height: 48px;
	}
	.inquiry-btn {
		width: 100%;
	}
	.inquiry-img-box {
		height: 250px;
	}
}