/**
 * "Why choose us" / stats section styles.
 *
 * @package Hima_Construction
 */

.why-us {
	width: 100%;
	background-color: #f4f4f4;
	color: #0a0a0a;
	border-radius: 0;
}

.why-us__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 5.5rem 3.5rem 6.5rem;
	border-radius: 0;
}

.why-us__header {
	display: grid;
	grid-template-columns: minmax(11rem, 0.28fr) minmax(0, 1fr);
	gap: 1.5rem 2.5rem;
	align-items: start;
	margin-bottom: 3.25rem;
}

.why-us__label {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 0.55rem;
}

.why-us__label-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	background-color: #0a0a0a;
	color: #ffffff;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	border-radius: 0;
}

.why-us__label-text {
	font-family: "Inter Placeholder", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #0a0a0a;
}

.why-us__title {
	margin: 0;
	padding: 0;
	max-width: 18ch;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 64px;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
	border-radius: 0;
}

.why-us__title-primary {
	display: block;
	color: #0a0a0a;
}

.why-us__title-secondary {
	display: block;
	color: #9a9a9a;
}

.why-us__body {
	display: grid;
	grid-template-columns: minmax(15rem, 0.38fr) minmax(0, 1fr);
	gap: 2.75rem 4.5rem;
	align-items: start;
}

.why-us__media {
	width: 100%;
}

.why-us__media-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background-color: #d0d0d0;
	background-image: linear-gradient(180deg, #d8d8d8 0%, #b8b8b8 100%);
	border-radius: 0;
}

.why-us__media-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}

.why-us__media-fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 38%;
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(244, 244, 244, 0.95) 0%,
		rgba(244, 244, 244, 0.35) 45%,
		rgba(244, 244, 244, 0) 100%
	);
	border-radius: 0;
}

.why-us__media-plus {
	position: absolute;
	top: 0.9rem;
	right: 0.9rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	background-color: #0a0a0a;
	color: #ffffff;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	border-radius: 0;
}

.why-us__content {
	display: flex;
	flex-direction: column;
	gap: 2.75rem;
	padding-top: 0.5rem;
	min-width: 0;
}

.why-us__text {
	margin: 0;
	max-width: 28rem;
	margin-left: auto;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	text-align: left;
}

.why-us__text-lead {
	font-weight: 700;
	color: #0a0a0a;
}

.why-us__text-body {
	font-weight: 600;
	color: #7a7a7a;
}

.why-us__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	width: 100%;
}

.why-us__stat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	min-height: 12.5rem;
	padding: 1.15rem 1.1rem 1.2rem;
	background-color: #ffffff;
	border-radius: 0;
}

.why-us__stat-index {
	position: absolute;
	top: 1rem;
	right: 1.05rem;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	color: #9a9a9a;
}

.why-us__stat-value {
	margin: 0;
	padding-top: 1.1rem;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 64px;
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: #0a0a0a;
}

.why-us__stat-label {
	margin: 0;
	max-width: 8.5rem;
	align-self: flex-end;
	text-align: right;
	font-family: "Inter Placeholder", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #0a0a0a;
}

@media (max-width: 1200px) {
	.why-us__title {
		font-size: 52px;
		max-width: none;
	}

	.why-us__stat-value {
		font-size: 52px;
	}
}

@media (max-width: 1100px) {
	.why-us__title {
		font-size: 44px;
	}

	.why-us__body {
		gap: 2rem 2.5rem;
	}

	.why-us__stat {
		min-height: 11rem;
	}

	.why-us__stat-value {
		font-size: 44px;
	}
}

@media (max-width: 900px) {
	.why-us__header {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		margin-bottom: 2.5rem;
	}

	.why-us__body {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.why-us__media-frame {
		aspect-ratio: 16 / 10;
	}

	.why-us__text {
		margin-left: 0;
		max-width: none;
	}

	.why-us__stats {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}

@media (max-width: 768px) {
	.why-us__inner {
		padding: 3.5rem 1.5rem 4rem;
	}

	.why-us__title {
		font-size: 32px;
	}

	.why-us__stat {
		min-height: 9.5rem;
	}

	.why-us__stat-value {
		font-size: 40px;
	}
}
