/* Why Choose Us Section - 为什么选择我们六边形优势模块 */

.why-choose-us {
	position: relative;
	padding: 64px 0 72px;
	background: linear-gradient(135deg, #1e8a47 0%, #146c35 50%, #0d5227 100%);
	overflow: hidden;
}

/* 背景装饰：半透明建筑图案 */
.why-choose-us::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		linear-gradient(180deg, rgba(13, 82, 39, 0.3) 0%, rgba(30, 138, 71, 0.15) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='500' viewBox='0 0 800 500'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Crect width='800' height='500' fill='%23ffffff' fill-opacity='0.02'/%3E%3Cg stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M0 250h800M0 125h800M0 375h800M200 0v500M400 0v500M600 0v500'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Crect x='50' y='120' width='120' height='280' rx='2'/%3E%3Crect x='200' y='80' width='180' height='340' rx='2'/%3E%3Crect x='410' y='100' width='140' height='300' rx='2'/%3E%3Crect x='580' y='140' width='160' height='260' rx='2'/%3E%3Crect x='60' y='150' width='20' height='20'/%3E%3Crect x='90' y='150' width='20' height='20'/%3E%3Crect x='120' y='150' width='20' height='20'/%3E%3Crect x='60' y='180' width='20' height='20'/%3E%3Crect x='90' y='180' width='20' height='20'/%3E%3Crect x='120' y='180' width='20' height='20'/%3E%3Crect x='60' y='210' width='20' height='20'/%3E%3Crect x='90' y='210' width='20' height='20'/%3E%3Crect x='120' y='210' width='20' height='20'/%3E%3Crect x='220' y='110' width='25' height='25'/%3E%3Crect x='260' y='110' width='25' height='25'/%3E%3Crect x='300' y='110' width='25' height='25'/%3E%3Crect x='340' y='110' width='25' height='25'/%3E%3Crect x='220' y='150' width='25' height='25'/%3E%3Crect x='260' y='150' width='25' height='25'/%3E%3Crect x='300' y='150' width='25' height='25'/%3E%3Crect x='340' y='150' width='25' height='25'/%3E%3Crect x='220' y='190' width='25' height='25'/%3E%3Crect x='260' y='190' width='25' height='25'/%3E%3Crect x='300' y='190' width='25' height='25'/%3E%3Crect x='340' y='190' width='25' height='25'/%3E%3Crect x='430' y='130' width='22' height='22'/%3E%3Crect x='465' y='130' width='22' height='22'/%3E%3Crect x='500' y='130' width='22' height='22'/%3E%3Crect x='430' y='165' width='22' height='22'/%3E%3Crect x='465' y='165' width='22' height='22'/%3E%3Crect x='500' y='165' width='22' height='22'/%3E%3Crect x='600' y='170' width='25' height='25'/%3E%3Crect x='640' y='170' width='25' height='25'/%3E%3Crect x='680' y='170' width='25' height='25'/%3E%3Crect x='600' y='210' width='25' height='25'/%3E%3Crect x='640' y='210' width='25' height='25'/%3E%3Crect x='680' y='210' width='25' height='25'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	background-size: cover;
	background-position: center;
	pointer-events: none;
	z-index: 0;
}

.why-choose-us__inner {
	position: relative;
	z-index: 1;
}

/* ========== 标题区 ========== */
.why-choose-us__header {
	text-align: center;
	margin-bottom: 56px;
}

.why-choose-us__title {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.3;
	color: #ffffff;
	margin: 0 0 20px;
	letter-spacing: 0.5px;
}

.why-choose-us__title-accent {
	color: #ff8a1f;
}

.why-choose-us__subtitle {
	display: inline-block;
	margin: 0;
	padding: 10px 28px;
	background: #ff8a1f;
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.3px;
}

/* ========== 标题左右装饰线 ========== */
.why-choose-us__header {
	position: relative;
}

.why-choose-us__title::before,
.why-choose-us__title::after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 120px;
	height: 1px;
	background: rgba(255, 255, 255, 0.3);
	margin: 0 20px;
	position: relative;
	top: -4px;
}

/* ========== 六边形网格 ========== */
.why-choose-us__features {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	align-items: start;
	justify-items: center;
}

.wcu-feature {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* ========== 六边形 ========== */
.wcu-feature__hex {
	position: relative;
	width: 100%;
	max-width: 180px;
	margin-bottom: 20px;
}

/* 六边形主体 - 使用 clip-path */
.wcu-feature__hex-inner {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1.1547; /* 正六边形比例 */
	background: #ffffff;
	clip-path: polygon(
		50% 0%,
		100% 25%,
		100% 75%,
		50% 100%,
		0% 75%,
		0% 25%
	);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 16px 20px;
	gap: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 六边形外部细边框效果 */
.wcu-feature__hex::before {
	content: '';
	position: absolute;
	top: -3px;
	left: -3px;
	right: -3px;
	bottom: 12px;
	background: rgba(255, 255, 255, 0.15);
	clip-path: polygon(
		50% 0%,
		100% 25%,
		100% 75%,
		50% 100%,
		0% 75%,
		0% 25%
	);
	z-index: -1;
}

.wcu-feature:hover .wcu-feature__hex-inner {
	transform: translateY(-4px);
}

/* 图标 */
.wcu-feature__icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wcu-feature__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* 标题 */
.wcu-feature__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #146c35;
	text-align: center;
	letter-spacing: 0.3px;
}

/* 底部橙色三角箭头 */
.wcu-feature__hex-arrow {
	position: absolute;
	left: 50%;
	bottom: -2px;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 18px solid transparent;
	border-right: 18px solid transparent;
	border-top: 14px solid #ff8a1f;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
	z-index: 2;
}

/* 箭头下方的小三角 */
.wcu-feature__hex-arrow::after {
	content: '';
	position: absolute;
	left: 50%;
	top: -14px;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 8px solid #ffffff;
}

/* ========== 描述文字 ========== */
.wcu-feature__desc {
	text-align: center;
	color: #ffffff;
	line-height: 1.6;
}

.wcu-feature__desc p {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
}

.wcu-feature__desc p + p {
	margin-top: 2px;
	opacity: 0.9;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1199px) {
	.why-choose-us__title::before,
	.why-choose-us__title::after {
		width: 80px;
	}

	.why-choose-us__title {
		font-size: 30px;
	}

	.why-choose-us__features {
		gap: 8px;
	}

	.wcu-feature__hex {
		max-width: 160px;
	}

	.wcu-feature__icon {
		width: 52px;
		height: 52px;
	}

	.wcu-feature__title {
		font-size: 15px;
	}
}

@media (max-width: 991px) {
	.why-choose-us {
		padding: 48px 0 56px;
	}

	.why-choose-us__title::before,
	.why-choose-us__title::after {
		display: none;
	}

	.why-choose-us__title {
		font-size: 26px;
	}

	.why-choose-us__subtitle {
		font-size: 14px;
		padding: 8px 20px;
	}

	.why-choose-us__header {
		margin-bottom: 44px;
	}

	.why-choose-us__features {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto auto;
		gap: 24px 12px;
	}

	/* 5个六边形：上3下2，下排居中 */
	.wcu-feature:nth-child(4) {
		grid-column: 1 / 2;
		grid-row: 2 / 3;
		justify-self: end;
		padding-right: 24px;
	}

	.wcu-feature:nth-child(5) {
		grid-column: 3 / 4;
		grid-row: 2 / 3;
		justify-self: start;
		padding-left: 24px;
	}
}

@media (max-width: 767px) {
	.why-choose-us {
		padding: 40px 0 48px;
	}

	.why-choose-us__title {
		font-size: 22px;
	}

	.why-choose-us__subtitle {
		font-size: 13px;
		padding: 8px 16px;
		max-width: 90%;
	}

	.why-choose-us__header {
		margin-bottom: 36px;
	}

	.why-choose-us__features {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto auto auto;
		gap: 24px 16px;
	}

	.wcu-feature:nth-child(4),
	.wcu-feature:nth-child(5) {
		grid-column: auto;
		grid-row: auto;
		justify-self: center;
		padding: 0;
	}

	/* 第5个居中 */
	.wcu-feature:nth-child(5) {
		grid-column: 1 / -1;
		max-width: 50%;
	}

	.wcu-feature__hex {
		max-width: 150px;
	}

	.wcu-feature__icon {
		width: 48px;
		height: 48px;
	}

	.wcu-feature__title {
		font-size: 14px;
	}

	.wcu-feature__desc p {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.why-choose-us {
		padding: 32px 0 40px;
	}

	.why-choose-us__title {
		font-size: 19px;
	}

	.why-choose-us__subtitle {
		font-size: 12px;
		padding: 7px 14px;
	}

	.why-choose-us__header {
		margin-bottom: 28px;
	}

	.why-choose-us__features {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.wcu-feature:nth-child(5) {
		grid-column: auto;
		max-width: 100%;
	}

	.wcu-feature__hex {
		max-width: 170px;
	}
}
