/**
 * HNS Why HNS page — screenshot reconstruction.
 * Relies on shared tokens/header/footer from hns-home.css.
 */

/* —— Hero —— */
.hns-why-hero {
	position: relative;
	width: 100%;
	height: 382px;
	min-height: 382px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	color: var(--hns-white);
}

.hns-why-hero__media {
	position: absolute;
	inset: 0;
	background: var(--hns-navy);
}

.hns-why-hero__media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center center;
}

.hns-why-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(4, 22, 40, 0.94) 0%,
		rgba(4, 22, 40, 0.8) 30%,
		rgba(4, 22, 40, 0.4) 58%,
		rgba(4, 22, 40, 0.12) 80%,
		rgba(4, 22, 40, 0.04) 100%
	);
	pointer-events: none;
}

.hns-why-hero__content {
	position: relative;
	z-index: 1;
	padding: 56px 0;
	max-width: 560px;
	width: min(560px, calc(100% - (var(--hns-gutter) * 2)));
	margin: 0 auto 0 max(calc((100% - var(--hns-container)) / 2), var(--hns-gutter));
	text-align: left;
}

.hns-why-hero__title {
	margin: 0 0 14px;
	font-size: clamp(36px, 4.2vw, 52px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.05;
	text-transform: uppercase;
	color: #ffffff;
	text-align: left;
}

.hns-why-hero__subtitle {
	margin: 0;
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
	text-align: left;
}

/* —— Value cards —— */
.hns-why-values {
	background: var(--hns-white);
	padding: 64px 0 56px;
}

.hns-why-values__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.hns-why-card {
	background: var(--hns-white);
	border: 1px solid #e6e9ee;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(4, 22, 40, 0.05);
	padding: 28px 18px 26px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 220px;
}

.hns-why-card__icon {
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	color: var(--hns-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hns-why-card__icon img {
	width: 36px;
	height: 36px;
	/* Keep maple orange; force other icons navy */
	filter: none;
}

.hns-why-card:not(:first-child) .hns-why-card__icon img {
	filter: brightness(0) saturate(100%);
}

.hns-why-card__title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--hns-navy);
	max-width: 200px;
}

.hns-why-card__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--hns-gray);
	max-width: 210px;
}

/* —— Goal band —— */
.hns-why-goal {
	background: var(--hns-navy);
	padding: 56px 0;
	color: var(--hns-white);
}

.hns-why-goal__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	text-align: center;
}

.hns-why-goal__copy {
	max-width: 720px;
}

.hns-why-goal__eyebrow {
	margin: 0 0 12px;
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff;
}

.hns-why-goal__lead {
	margin: 0 0 8px;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 500;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.96);
}

.hns-why-goal__sub {
	margin: 0;
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.hns-why-goal__maple {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hns-why-goal__maple img {
	width: 40px;
	height: 40px;
}

/* —— Responsive —— */
@media (max-width: 1000px) {
	.hns-why-values__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.hns-why-hero {
		height: 220px;
		min-height: 220px;
	}

	.hns-why-hero__content {
		padding: 48px 0;
		margin-left: var(--hns-gutter);
		width: calc(100% - (var(--hns-gutter) * 2));
		max-width: none;
	}

	.hns-why-values {
		padding: 48px 0 40px;
	}

	.hns-why-values__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.hns-why-card {
		min-height: 0;
		padding: 24px 18px;
	}

	.hns-why-goal {
		padding: 48px 0;
	}

	.hns-why-goal__inner {
		flex-direction: column;
		gap: 20px;
	}
}
