/**
 * Industries page — Workforce Solutions sector intelligence styling
 */

.industries-page main {
	--ind-green: hsl(var(--brand-green));
	--ind-navy: hsl(var(--brand-navy));
	--ind-green-bright: hsl(142 58% 46%);
	--ind-teal: hsl(168 62% 42%);
	--ind-accent: hsl(158 55% 50%);
	--ind-violet: hsl(258 58% 58%);
	--ind-amber: hsl(38 92% 52%);
	--ind-coral: hsl(12 78% 58%);
	--ind-green-soft: hsl(var(--brand-green) / 0.14);
	--ind-navy-soft: hsl(var(--brand-navy) / 0.1);
	--ind-dark: hsl(220 28% 12%);
}

/* —— Hero —— */
.ind-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid hsl(var(--border) / 0.55);
	background: linear-gradient(
		155deg,
		hsl(var(--brand-navy) / 0.12) 0%,
		hsl(var(--background)) 40%,
		hsl(var(--brand-green) / 0.08) 100%
	);
}

.ind-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(at 15% 20%, hsl(var(--brand-green) / 0.22) 0, transparent 42%),
		radial-gradient(at 85% 10%, hsl(var(--brand-navy) / 0.18) 0, transparent 40%);
	pointer-events: none;
}

.ind-hero-inner {
	position: relative;
	z-index: 1;
}

.ind-hero-inner.ind-hero-has-image {
	display: grid;
	gap: 2.75rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.ind-hero-inner.ind-hero-has-image {
		grid-template-columns: 1.08fr 0.92fr;
		gap: 3.5rem;
	}
}

.ind-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.9rem;
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1a612d;
	background: hsl(var(--brand-navy) / 0.08);
	border: 1px solid hsl(var(--brand-navy) / 0.18);
}

.ind-hero-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ind-green-bright);
}

.ind-hero-title {
	margin-top: 1rem;
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
	color: hsl(var(--foreground));
}

.ind-hero-title em {
	font-style: normal;
	background: linear-gradient(120deg, var(--ind-navy), var(--ind-teal), var(--ind-green-bright));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ind-hero-lead {
	margin-top: 1.25rem;
	font-size: 1.0625rem;
	line-height: 1.68;
	color: hsl(var(--muted-foreground));
	max-width: 36rem;
}

.ind-hero-lead + .ind-hero-lead {
	margin-top: 0.85rem;
}

.ind-hero-img {
	border-radius: 1.25rem;
	box-shadow: 0 24px 56px -18px hsl(var(--brand-navy) / 0.32);
	border: 1px solid hsl(var(--border) / 0.5);
}

/* —— Pillars —— */
.ind-pillars {
	position: relative;
	padding: 0;
	margin-top: -1.75rem;
	z-index: 2;
}

.ind-pillars-strip {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	padding: 1.15rem;
	border-radius: 1.15rem;
	background: linear-gradient(135deg, var(--ind-dark) 0%, hsl(334 55% 18%) 48%, hsl(var(--brand-green) / 0.85) 100%);
	box-shadow: 0 18px 44px -16px hsl(var(--brand-navy) / 0.45);
	border: 1px solid hsl(0 0% 100% / 0.12);
}

@media (min-width: 768px) {
	.ind-pillars-strip {
		grid-template-columns: repeat(3, 1fr);
		gap: 0;
		padding: 0;
		overflow: hidden;
	}
}

.ind-pillar {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.35rem 1.25rem;
	color: hsl(0 0% 98%);
}

@media (min-width: 768px) {
	.ind-pillar {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.65rem 1.15rem 1.5rem;
	}

	.ind-pillar:not(:last-child) {
		border-right: 1px solid hsl(0 0% 100% / 0.14);
	}
}

.ind-pillar-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 0.85rem;
	background: hsl(0 0% 100% / 0.1);
	border: 1px solid hsl(0 0% 100% / 0.16);
	box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.12);
}

.ind-pillar--1 .ind-pillar-icon { color: hsl(258 70% 72%); background: hsl(258 58% 58% / 0.22); border-color: hsl(258 58% 58% / 0.35); }
.ind-pillar--2 .ind-pillar-icon { color: hsl(168 70% 68%); background: hsl(168 62% 42% / 0.22); border-color: hsl(168 62% 42% / 0.35); }
.ind-pillar--3 .ind-pillar-icon { color: hsl(142 65% 68%); background: hsl(var(--brand-green) / 0.28); border-color: hsl(var(--brand-green) / 0.4); }

.ind-pillar-icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

.ind-pillar-copy {
	min-width: 0;
}

.ind-pillar-value {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fff;
}

@media (min-width: 768px) {
	.ind-pillar-value {
		margin-top: 0.85rem;
		font-size: 1.35rem;
	}
}

.ind-pillar-label {
	margin: 0.3rem 0 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ind-accent);
}

.ind-pillar-desc {
	margin: 0.45rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: hsl(0 0% 100% / 0.78);
}

/* —— Sectors —— */
.ind-sectors {
	padding: 4.5rem 0;
	background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary) / 0.28) 100%);
}

.ind-sectors-header {
	max-width: 40rem;
	margin-bottom: 2.75rem;
}

.ind-section-eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ind-accent);
}

.ind-section-headline {
	margin-top: 0.65rem;
	font-size: clamp(1.65rem, 3.2vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
}

.ind-section-intro {
	margin-top: 0.85rem;
	font-size: 1rem;
	line-height: 1.65;
	color: hsl(var(--muted-foreground));
}

.ind-sectors-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.15rem;
}

@media (min-width: 640px) {
	.ind-sectors-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1280px) {
	.ind-sectors-grid {
		gap: 1.25rem;
	}
}

.ind-sector-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.35rem 1.35rem;
	border-radius: 1.15rem;
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border) / 0.78);
	box-shadow: 0 4px 18px -8px hsl(var(--brand-navy) / 0.12);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ind-sector-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ind-navy), var(--ind-teal));
}

.ind-sector-card--1::before { background: linear-gradient(90deg, hsl(258 58% 58%), hsl(200 72% 48%)); }
.ind-sector-card--2::before { background: linear-gradient(90deg, hsl(38 92% 52%), hsl(12 78% 58%)); }
.ind-sector-card--3::before { background: linear-gradient(90deg, hsl(12 78% 58%), var(--ind-amber)); }
.ind-sector-card--4::before { background: linear-gradient(90deg, hsl(200 72% 48%), var(--ind-teal)); }
.ind-sector-card--5::before { background: linear-gradient(90deg, var(--ind-navy), hsl(258 58% 58%)); }
.ind-sector-card--6::before { background: linear-gradient(90deg, var(--ind-coral), var(--ind-violet)); }
.ind-sector-card--7::before { background: linear-gradient(90deg, var(--ind-teal), var(--ind-green-bright)); }
.ind-sector-card--8::before { background: linear-gradient(90deg, var(--ind-green-bright), var(--ind-navy)); }

.ind-sector-card:hover {
	transform: translateY(-4px);
	border-color: hsl(var(--brand-green) / 0.28);
	box-shadow: 0 16px 36px -14px hsl(var(--brand-navy) / 0.18);
}

.ind-sector-card-head {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1rem;
}

.ind-sector-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 1rem;
}

.ind-sector-card--1 .ind-sector-icon { background: hsl(258 58% 58% / 0.14); color: hsl(258 58% 48%); }
.ind-sector-card--2 .ind-sector-icon { background: hsl(38 92% 52% / 0.14); color: hsl(38 80% 40%); }
.ind-sector-card--3 .ind-sector-icon { background: hsl(12 78% 58% / 0.14); color: hsl(12 78% 48%); }
.ind-sector-card--4 .ind-sector-icon { background: hsl(200 72% 48% / 0.14); color: hsl(200 72% 38%); }
.ind-sector-card--5 .ind-sector-icon { background: hsl(var(--brand-navy) / 0.12); color: var(--ind-navy); }
.ind-sector-card--6 .ind-sector-icon { background: hsl(320 58% 52% / 0.14); color: hsl(320 58% 42%); }
.ind-sector-card--7 .ind-sector-icon { background: hsl(168 62% 42% / 0.14); color: hsl(168 62% 32%); }
.ind-sector-card--8 .ind-sector-icon { background: hsl(var(--brand-green) / 0.14); color: hsl(var(--brand-green)); }

.ind-sector-icon-svg {
	width: 1.5rem;
	height: 1.5rem;
}

.ind-sector-title {
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: hsl(var(--foreground));
}

.ind-sector-body {
	font-size: 0.875rem;
	line-height: 1.6;
	color: hsl(var(--muted-foreground));
	flex: 1;
}

.ind-sector-roles {
	margin-top: 1.15rem;
	padding-top: 1.1rem;
	border-top: 1px solid hsl(var(--border) / 0.55);
}

.ind-sector-roles-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ind-navy);
}

.ind-sector-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.65rem;
	list-style: none;
	padding: 0;
}

.ind-sector-tag {
	padding: 0.35rem 0.65rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	color: hsl(var(--foreground));
	background: hsl(var(--secondary) / 0.55);
	border: 1px solid hsl(var(--border) / 0.65);
}

.ind-sector-card:hover .ind-sector-tag {
	background: var(--ind-green-soft);
	border-color: hsl(var(--brand-green) / 0.22);
}

/* —— Authority —— */
.ind-authority {
	padding: 0 0 3.5rem;
}

.ind-authority-inner {
	padding: 1.5rem 1.5rem 1.35rem;
	border-radius: 1rem;
	background: linear-gradient(135deg, hsl(var(--brand-navy) / 0.06), hsl(var(--brand-green) / 0.06));
	border: 1px solid hsl(var(--border) / 0.7);
	border-left: 4px solid var(--ind-teal);
}

.ind-authority-inner p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.65;
	color: hsl(var(--muted-foreground));
}

.ind-authority-inner strong {
	color: hsl(var(--foreground));
	font-weight: 700;
}

.ind-authority-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
	margin-top: 0.85rem;
}

.ind-authority-links a {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ind-navy);
	text-decoration: none;
	border-bottom: 1px solid hsl(var(--brand-green) / 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.ind-authority-links a:hover {
	color: var(--ind-teal);
	border-color: var(--ind-teal);
}

/* —— CTA —— */
.ind-cta {
	padding: 0 0 4.5rem;
}

.ind-cta-inner {
	text-align: center;
	padding: 2.75rem 2rem;
	border-radius: 1.25rem;
	background: linear-gradient(125deg, var(--ind-navy) 0%, hsl(334 55% 22%) 40%, var(--ind-green) 100%);
	color: hsl(var(--primary-foreground));
	box-shadow: 0 22px 54px -16px hsl(var(--brand-navy) / 0.45);
}

.ind-cta-inner h2 {
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.ind-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.5rem;
}

.ind-cta-btn-light {
	padding: 0.7rem 1.6rem;
	border-radius: 0.55rem;
	font-size: 0.9375rem;
	font-weight: 600;
	background: #fff;
	color: var(--ind-navy);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ind-cta-btn-light:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px hsl(0 0% 0% / 0.18);
}

.ind-cta-btn-ghost {
	padding: 0.7rem 1.6rem;
	border-radius: 0.55rem;
	font-size: 0.9375rem;
	font-weight: 600;
	border: 1px solid hsl(0 0% 100% / 0.45);
	color: inherit;
	background: hsl(0 0% 100% / 0.1);
	transition: background 0.2s ease;
}

.ind-cta-btn-ghost:hover {
	background: hsl(0 0% 100% / 0.2);
}

@media (prefers-reduced-motion: reduce) {
	.ind-sector-card:hover {
		transform: none;
	}
}
