/**
 * Contact page — Workforce Solutions deck styling
 */

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

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

.cnt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(at 14% 22%, hsl(var(--brand-green) / 0.2) 0, transparent 42%),
		radial-gradient(at 88% 8%, hsl(var(--brand-navy) / 0.16) 0, transparent 38%);
	pointer-events: none;
}

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

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

@media (min-width: 1024px) {
	.cnt-hero-inner.cnt-hero-has-image {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 3.25rem;
	}
}

.cnt-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);
}

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

.cnt-hero-title {
	margin-top: 1rem;
	font-size: clamp(1.9rem, 4.2vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	color: hsl(var(--foreground));
}

.cnt-hero-title em {
	display: block;
	margin-top: 0.2rem;
	font-style: normal;
	background: linear-gradient(120deg, var(--cnt-navy), var(--cnt-teal), var(--cnt-green-bright));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

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

.cnt-hero-img-wrap {
	position: relative;
}

.cnt-hero-img {
	border-radius: 1.25rem;
	box-shadow: 0 24px 56px -18px hsl(var(--brand-navy) / 0.34);
	border: 1px solid hsl(var(--border) / 0.5);
	object-fit: cover;
	width: 100%;
	height: 360px;
}

@media (min-width: 1024px) {
	.cnt-hero-img {
		height: 400px;
	}
}

.cnt-hero-img-badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.85rem;
	border-radius: 0.65rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #fff;
	background: hsl(var(--brand-navy) / 0.88);
	border: 1px solid hsl(0 0% 100% / 0.14);
	backdrop-filter: blur(8px);
}

.cnt-hero-img-badge svg {
	width: 0.95rem;
	height: 0.95rem;
	color: var(--cnt-green-bright);
}

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

.cnt-pillars-strip {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	padding: 1.15rem;
	border-radius: 1.15rem;
	background: linear-gradient(135deg, var(--cnt-dark) 0%, hsl(220 38% 22%) 50%, hsl(var(--brand-green) / 0.82) 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) {
	.cnt-pillars-strip {
		grid-template-columns: repeat(3, 1fr);
		gap: 0;
		padding: 0;
		overflow: hidden;
	}
}

.cnt-pillar {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1.3rem 1.2rem;
	color: hsl(0 0% 98%);
}

@media (min-width: 768px) {
	.cnt-pillar {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.55rem 1rem 1.4rem;
	}

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

.cnt-pillar-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.85rem;
	height: 2.85rem;
	border-radius: 0.8rem;
	background: hsl(0 0% 100% / 0.1);
	border: 1px solid hsl(0 0% 100% / 0.16);
}

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

.cnt-pillar-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.cnt-pillar-value {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #fff;
}

@media (min-width: 768px) {
	.cnt-pillar-value {
		margin-top: 0.75rem;
	}
}

.cnt-pillar-desc {
	margin: 0.4rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.48;
	color: hsl(0 0% 100% / 0.76);
}

/* —— Connect section —— */
.cnt-connect {
	padding: 4rem 0 3.5rem;
	background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary) / 0.22) 100%);
}

.cnt-connect-header {
	max-width: 40rem;
	margin-bottom: 2.25rem;
}

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

.cnt-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;
}

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

.cnt-connect-grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.cnt-connect-grid {
		grid-template-columns: 1.35fr 1fr;
		gap: 2.5rem;
	}
}

/* —— Form —— */
.cnt-form-card {
	position: relative;
	border-radius: 1.25rem;
	border: 1px solid hsl(var(--border) / 0.65);
	background: hsl(var(--card));
	box-shadow: 0 16px 40px -20px hsl(var(--brand-navy) / 0.22);
	padding: 2rem;
}

@media (min-width: 640px) {
	.cnt-form-card {
		padding: 2.25rem 2.5rem;
	}
}

.cnt-form-card-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid hsl(var(--border) / 0.55);
}

.cnt-form-card-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.cnt-form-card-sub {
	margin: 0.45rem 0 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: hsl(var(--muted-foreground));
}

.cnt-form-card .cnt-alert {
	margin-bottom: 1.25rem;
	border-radius: 0.75rem;
	padding: 0.85rem 1rem;
	font-size: 0.875rem;
}

.cnt-alert--success {
	border: 1px solid hsl(var(--brand-green) / 0.4);
	background: hsl(var(--brand-green) / 0.1);
}

.cnt-alert--error {
	border: 1px solid hsl(0 72% 70% / 0.5);
	background: hsl(0 80% 97%);
}

.cnt-form-fields {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.cnt-form-row {
	display: grid;
	gap: 1.15rem;
}

@media (min-width: 640px) {
	.cnt-form-row {
		grid-template-columns: 1fr 1fr;
	}
}

.cnt-form-field label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: hsl(var(--foreground));
}

.cnt-form-field input,
.cnt-form-field textarea {
	margin-top: 0.45rem;
	width: 100%;
	border-radius: 0.65rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	padding: 0.65rem 0.85rem;
	font-size: 0.9375rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cnt-form-field input:focus,
.cnt-form-field textarea:focus {
	outline: none;
	border-color: hsl(var(--brand-green) / 0.55);
	box-shadow: 0 0 0 3px hsl(var(--brand-green) / 0.14);
}

.cnt-form-field textarea {
	min-height: 140px;
	resize: vertical;
}

.cnt-form-submit {
	margin-top: 0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.35rem;
	border-radius: 0.65rem;
	border: none;
	font-size: 0.9375rem;
	font-weight: 600;
	color: hsl(var(--primary-foreground));
	background: hsl(var(--brand-navy));
	box-shadow: 0 8px 20px -10px hsl(var(--brand-navy) / 0.55);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.cnt-form-submit:hover {
	background: hsl(var(--brand-navy) / 0.9);
}

.cnt-form-submit svg {
	width: 1rem;
	height: 1rem;
}

/* —— Channel cards —— */
.cnt-channels-stack {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.cnt-channel-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.15rem 1.2rem;
	border-radius: 1rem;
	border: 1px solid hsl(var(--border) / 0.65);
	background: hsl(var(--card));
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	text-decoration: none;
	color: inherit;
}

.cnt-channel-card:hover {
	border-color: hsl(var(--brand-navy) / 0.25);
	box-shadow: 0 10px 28px -16px hsl(var(--brand-navy) / 0.28);
}

.cnt-channel-card--whatsapp {
	border-color: hsl(var(--brand-green) / 0.35);
	background: linear-gradient(135deg, hsl(var(--brand-green) / 0.08) 0%, hsl(var(--card)) 100%);
}

.cnt-channel-card--whatsapp:hover {
	border-color: hsl(var(--brand-green) / 0.55);
	background: linear-gradient(135deg, hsl(var(--brand-green) / 0.14) 0%, hsl(var(--card)) 100%);
}

.cnt-channel-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.75rem;
}

.cnt-channel-card--email .cnt-channel-icon {
	color: var(--cnt-violet);
	background: hsl(258 58% 58% / 0.14);
}

.cnt-channel-card--phone .cnt-channel-icon {
	color: var(--cnt-teal);
	background: hsl(168 62% 42% / 0.14);
}

.cnt-channel-card--whatsapp .cnt-channel-icon {
	color: var(--cnt-green-bright);
	background: hsl(var(--brand-green) / 0.2);
}

.cnt-channel-card--location .cnt-channel-icon {
	color: var(--cnt-amber);
	background: hsl(38 92% 52% / 0.14);
}

.cnt-channel-icon-svg {
	width: 1.2rem;
	height: 1.2rem;
}

.cnt-channel-body {
	min-width: 0;
	flex: 1;
}

.cnt-channel-title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.cnt-channel-detail {
	margin: 0.3rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: hsl(var(--muted-foreground));
}

.cnt-channel-card a.cnt-channel-detail,
.cnt-channel-card:hover .cnt-channel-detail {
	color: hsl(var(--brand-navy));
}

.cnt-channels-heading {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

/* —— Inquiry pathways —— */
.cnt-pathways {
	padding: 3.5rem 0 4.5rem;
}

.cnt-pathways-header {
	max-width: 36rem;
	margin-bottom: 2rem;
}

.cnt-pathways-grid {
	display: grid;
	gap: 1.15rem;
}

@media (min-width: 768px) {
	.cnt-pathways-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.cnt-path-card {
	position: relative;
	overflow: hidden;
	padding: 1.65rem 1.5rem;
	border-radius: 1.15rem;
	border: 1px solid hsl(var(--border) / 0.6);
	background: hsl(var(--card));
}

.cnt-path-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
}

.cnt-path-card--employer::before {
	background: linear-gradient(90deg, var(--cnt-navy), var(--cnt-teal));
}

.cnt-path-card--candidate::before {
	background: linear-gradient(90deg, var(--cnt-green-bright), var(--cnt-accent));
}

.cnt-path-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 0.75rem;
	margin-bottom: 1rem;
}

.cnt-path-card--employer .cnt-path-icon {
	color: var(--cnt-teal);
	background: hsl(168 62% 42% / 0.14);
}

.cnt-path-card--candidate .cnt-path-icon {
	color: var(--cnt-green-bright);
	background: hsl(var(--brand-green) / 0.16);
}

.cnt-path-icon svg {
	width: 1.2rem;
	height: 1.2rem;
}

.cnt-path-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.cnt-path-desc {
	margin: 0.55rem 0 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: hsl(var(--muted-foreground));
}

.cnt-path-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1rem;
}

.cnt-path-tag {
	padding: 0.28rem 0.65rem;
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: hsl(var(--brand-navy));
	background: hsl(var(--brand-navy) / 0.07);
	border: 1px solid hsl(var(--brand-navy) / 0.12);
}

.cnt-path-card--candidate .cnt-path-tag {
	color: hsl(var(--brand-green));
	background: hsl(var(--brand-green) / 0.1);
	border-color: hsl(var(--brand-green) / 0.2);
}

/* —— Map —— */
.cnt-map {
	padding-bottom: 5rem;
}

.cnt-map-wrap {
	position: relative;
	border-radius: 1.25rem;
	overflow: hidden;
	border: 1px solid hsl(var(--border) / 0.6);
	box-shadow: 0 20px 48px -22px hsl(var(--brand-navy) / 0.28);
}

.cnt-map-wrap iframe {
	display: block;
	width: 100%;
	height: 360px;
	border: 0;
}

@media (min-width: 640px) {
	.cnt-map-wrap iframe {
		height: 420px;
	}
}

.cnt-map-overlay {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	max-width: 18rem;
	padding: 1rem 1.1rem;
	border-radius: 0.85rem;
	background: hsl(var(--card) / 0.94);
	border: 1px solid hsl(var(--border) / 0.55);
	backdrop-filter: blur(10px);
	box-shadow: 0 12px 32px -14px hsl(var(--brand-navy) / 0.35);
}

.cnt-map-overlay-title {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cnt-accent);
}

.cnt-map-overlay-body {
	margin: 0.4rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: hsl(var(--foreground));
	white-space: pre-line;
}
