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

/* —— Hero —— */
.hns-ind-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-ind-hero__media {
	position: absolute;
	inset: 0;
	background: var(--hns-navy);
}

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

.hns-ind-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(4, 22, 40, 0.94) 0%,
		rgba(4, 22, 40, 0.78) 28%,
		rgba(4, 22, 40, 0.38) 55%,
		rgba(4, 22, 40, 0.1) 78%,
		rgba(4, 22, 40, 0.02) 100%
	);
	pointer-events: none;
}

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

.hns-ind-hero__title {
	margin: 0 0 14px;
	font-size: clamp(30px, 3.4vw, 46px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.08;
	text-transform: uppercase;
	color: #ffffff;
	text-align: left;
	white-space: nowrap;
}

.hns-ind-hero__subtitle {
	margin: 0;
	font-size: clamp(15px, 1.35vw, 19px);
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
	text-align: left;
}

/* —— Industry cards —— */
.hns-ind-grid {
	background: var(--hns-white);
	padding: 56px 0 28px;
}

.hns-ind-grid__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.hns-ind-card {
	background: var(--hns-white);
	border: 1px solid #e6e9ee;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(4, 22, 40, 0.05);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.hns-ind-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dce3ea;
}

.hns-ind-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hns-ind-card__body {
	padding: 18px 14px 22px;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hns-ind-card__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--hns-navy);
}

.hns-ind-card__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--hns-gray);
	max-width: 220px;
}

/* —— Additional industries —— */
.hns-ind-more {
	background: var(--hns-white);
	padding: 12px 0 72px;
}

.hns-ind-more__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.hns-ind-more__card {
	background: var(--hns-navy);
	border-radius: 8px;
	padding: 28px 32px;
	color: var(--hns-white);
	min-height: 110px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hns-ind-more__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #ffffff;
}

.hns-ind-more__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
}

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

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

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

	.hns-ind-hero__title {
		white-space: normal;
	}

	.hns-ind-grid {
		padding: 40px 0 16px;
	}

	.hns-ind-grid__cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hns-ind-more {
		padding: 8px 0 56px;
	}

	.hns-ind-more__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.hns-ind-more__card {
		padding: 24px;
	}
}
