/* KodexCC OEM Homepage
   Premium private-label manufacturer aesthetic
   Scope: .kx-home only — does not alter global theme pages
*/

/* Kill old bright header look + allow full-bleed hero under transparent nav */
body.home {
	background: #07111f;
}

body.home .kx-home {
	margin-top: 0;
}

.kx-home {
	--kx-navy: #07111f;
	--kx-navy-mid: #0d1f35;
	--kx-blue: #1a4a73;
	--kx-steel: #3d6f9c;
	--kx-mist: #e6ebf1;
	--kx-grey: #8a97a8;
	--kx-ink: #121a26;
	--kx-white: #f7f9fb;
	--kx-line: rgba(255, 255, 255, 0.12);
	--kx-font-display: "Syne", "Segoe UI", sans-serif;
	--kx-font-body: "Outfit", "Segoe UI", sans-serif;
	--kx-ease: cubic-bezier(0.22, 1, 0.36, 1);
	color: var(--kx-ink);
	font-family: var(--kx-font-body);
	background: var(--kx-white);
	overflow-x: hidden;
}

.kx-home *,
.kx-home *::before,
.kx-home *::after {
	box-sizing: border-box;
}

.kx-wrap {
	width: min(1180px, calc(100% - 3rem));
	margin-inline: auto;
}

.kx-section {
	padding: clamp(4.5rem, 9vw, 7.5rem) 0;
	position: relative;
}

.kx-section__head {
	max-width: 40rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.kx-section__head--light .kx-h2 {
	color: var(--kx-white);
}

.kx-eyebrow {
	display: inline-block;
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--kx-steel);
}

.kx-eyebrow--light {
	color: rgba(255, 255, 255, 0.65);
}

.kx-h2 {
	margin: 0 0 1rem;
	font-family: var(--kx-font-display);
	font-size: clamp(1.85rem, 3.6vw, 2.85rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--kx-navy);
}

.kx-body {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	line-height: 1.7;
	font-weight: 300;
	color: #4a5568;
}

.kx-body--narrow {
	max-width: 34rem;
}

.kx-body--light {
	color: rgba(255, 255, 255, 0.78);
}

.kx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.85rem 1.6rem;
	font-family: var(--kx-font-body);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.35s var(--kx-ease), background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.kx-btn:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.kx-btn--primary {
	background: #1e5a8a;
	color: #fff;
	border-color: #1e5a8a;
}

.kx-btn--primary:hover {
	background: #16476e;
	color: #fff;
}

.kx-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.kx-btn--ghost:hover {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.kx-text-link {
	display: inline-flex;
	align-items: center;
	margin-top: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--kx-blue);
	text-decoration: none;
	border-bottom: 1px solid rgba(26, 74, 115, 0.35);
	padding-bottom: 2px;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.kx-text-link:hover {
	color: var(--kx-navy);
	border-color: var(--kx-navy);
	text-decoration: none;
}

/* ---------- Trust strip ---------- */
.kx-trust {
	background: var(--kx-navy-mid);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kx-trust__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.kx-trust__item {
	padding: 1.15rem 1rem;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.kx-trust__item:last-child {
	border-right: 0;
}

.kx-trust__item span {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

/* ---------- Process ---------- */
.kx-process {
	background: #fff;
	border-top: 1px solid #e8eef4;
}

.kx-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	counter-reset: none;
}

.kx-process__step {
	padding: 0 0.25rem 0 0;
	border-top: 1px solid #d7dee8;
	padding-top: 1.5rem;
	position: relative;
}

.kx-process__num {
	display: block;
	margin-bottom: 1rem;
	font-family: var(--kx-font-display);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	color: var(--kx-steel);
}

.kx-process__step h3 {
	margin: 0 0 0.65rem;
	font-family: var(--kx-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--kx-navy);
}

.kx-process__step p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	font-weight: 300;
	color: #5a6575;
}

/* ---------- Reveal motion ---------- */
.kx-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--kx-ease), transform 0.9s var(--kx-ease);
}

.kx-reveal.is-in {
	opacity: 1;
	transform: none;
}

.kx-reveal--delay-1 { transition-delay: 0.1s; }
.kx-reveal--delay-2 { transition-delay: 0.2s; }
.kx-reveal--delay-3 { transition-delay: 0.3s; }
.kx-reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
	.kx-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------- Hero ---------- */
.kx-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: flex-end;
	color: #fff;
	isolation: isolate;
}

.kx-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.kx-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.06);
	animation: kx-hero-zoom 18s var(--kx-ease) forwards;
}

@keyframes kx-hero-zoom {
	to { transform: scale(1); }
}

.kx-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.78) 38%, rgba(13, 31, 53, 0.62) 68%, rgba(7, 17, 31, 0.75) 100%),
		linear-gradient(to top, rgba(7, 17, 31, 0.9) 0%, transparent 42%);
}

.kx-hero__grain {
	position: absolute;
	inset: 0;
	opacity: 0.18;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

.kx-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 3rem));
	margin: 0 auto;
	padding: 9.5rem 0 5.5rem;
}

.kx-hero__kicker {
	margin: 0 0 1.1rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.kx-hero__title {
	margin: 0 0 1.35rem;
	max-width: 14ch;
	font-family: var(--kx-font-display);
	font-size: clamp(2.4rem, 6.2vw, 4.6rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #fff;
}

.kx-hero__lede {
	margin: 0 0 2rem;
	max-width: 34rem;
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.kx-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 2.75rem;
}

.kx-hero__tagline {
	margin: 0;
	max-width: 40rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	border-top: 1px solid var(--kx-line);
	padding-top: 1.25rem;
}

.kx-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	z-index: 2;
	width: 28px;
	height: 44px;
	margin-left: -14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 20px;
	display: flex;
	justify-content: center;
	padding-top: 8px;
	text-decoration: none;
}

.kx-hero__scroll span {
	width: 4px;
	height: 8px;
	border-radius: 2px;
	background: #fff;
	animation: kx-scroll-dot 1.8s ease-in-out infinite;
}

@keyframes kx-scroll-dot {
	0%, 100% { opacity: 0.3; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(10px); }
}

/* ---------- About ---------- */
.kx-about {
	background:
		radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 74, 115, 0.08), transparent 55%),
		linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
}

.kx-about__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.kx-about__visual {
	margin: 0;
	position: relative;
}

.kx-about__visual img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
}

.kx-about__visual::after {
	content: "";
	position: absolute;
	inset: auto -1rem -1rem auto;
	width: 55%;
	height: 55%;
	border: 1px solid rgba(26, 74, 115, 0.25);
	pointer-events: none;
	z-index: -1;
}

.kx-about__caption {
	margin-top: 0.85rem;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--kx-grey);
}

/* ---------- Divisions ---------- */
.kx-divisions {
	background: var(--kx-navy);
	color: #fff;
}

.kx-divisions .kx-h2 {
	color: #fff;
}

.kx-divisions .kx-body {
	color: rgba(255, 255, 255, 0.7);
}

.kx-divisions .kx-eyebrow {
	color: rgba(255, 255, 255, 0.5);
}

.kx-divisions__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.kx-division {
	position: relative;
	min-height: 28rem;
	overflow: hidden;
	background: var(--kx-navy-mid);
}

.kx-division__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
	transition: transform 1.1s var(--kx-ease);
	filter: grayscale(0.25) brightness(0.55);
}

.kx-division:hover .kx-division__bg {
	transform: scale(1.12);
	filter: grayscale(0.05) brightness(0.62);
}

.kx-division__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.75rem;
	background: linear-gradient(to top, rgba(7, 17, 31, 0.95) 0%, rgba(7, 17, 31, 0.35) 55%, transparent 100%);
}

.kx-division__num {
	font-family: var(--kx-font-display);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 0.65rem;
}

.kx-division__title {
	margin: 0 0 0.65rem;
	font-family: var(--kx-font-display);
	font-size: 1.55rem;
	font-weight: 700;
	color: #fff;
}

.kx-division__desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.72);
	max-width: 22rem;
}

/* ---------- Why ---------- */
.kx-why {
	background: #f4f7fa;
}

.kx-why__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.kx-why__item {
	position: relative;
	min-height: 16rem;
	padding: 0;
	border: 1px solid transparent;
	overflow: hidden;
	background: var(--kx-navy-mid);
	isolation: isolate;
	transition: transform 0.45s var(--kx-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.kx-why__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	filter: saturate(0.85) brightness(0.7);
	transition: transform 0.8s var(--kx-ease), filter 0.4s ease;
}

.kx-why__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(7, 17, 31, 0.55) 0%, rgba(7, 17, 31, 0.88) 55%, rgba(7, 17, 31, 0.94) 100%);
	transition: background 0.4s ease;
}

.kx-why__content {
	position: relative;
	z-index: 1;
	padding: 1.75rem 1.6rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.kx-why__content--wide {
	flex-direction: row;
	align-items: flex-start;
	gap: 1.25rem;
	justify-content: flex-start;
}

.kx-why__item:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.16);
	box-shadow: 0 18px 40px rgba(7, 17, 31, 0.2);
}

.kx-why__item:hover .kx-why__bg {
	transform: scale(1.1);
	filter: saturate(1) brightness(0.82);
}

.kx-why__item:hover .kx-why__bg::after {
	background: linear-gradient(160deg, rgba(13, 31, 53, 0.45) 0%, rgba(7, 17, 31, 0.82) 55%, rgba(7, 17, 31, 0.92) 100%);
}

.kx-why__item--wide {
	grid-column: 1 / -1;
	min-height: 12rem;
}

.kx-why__item--wide .kx-why__bg::after {
	background: linear-gradient(110deg, rgba(7, 17, 31, 0.92) 0%, rgba(13, 31, 53, 0.78) 55%, rgba(26, 74, 115, 0.55) 100%);
}

.kx-why__icon {
	display: block;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.9);
	flex-shrink: 0;
}

.kx-why__content--wide .kx-why__icon {
	margin-bottom: 0;
}

.kx-why__icon svg {
	width: 100%;
	height: 100%;
}

.kx-why__title {
	margin: 0 0 0.55rem;
	font-family: var(--kx-font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
}

.kx-why__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.78);
	max-width: 36rem;
}


/* ---------- Capabilities ---------- */
.kx-capabilities {
	position: relative;
	color: #fff;
	overflow: hidden;
	padding: clamp(5rem, 10vw, 8rem) 0;
}

.kx-capabilities__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: brightness(0.35) saturate(0.7);
	transform: scale(1.04);
}

.kx-capabilities__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(7, 17, 31, 0.92) 0%, rgba(13, 31, 53, 0.78) 55%, rgba(7, 17, 31, 0.7) 100%);
}

.kx-capabilities__inner {
	position: relative;
	z-index: 1;
}

.kx-cap-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.12);
	max-width: 52rem;
}

.kx-cap-list li {
	margin: 0;
	padding: 1.35rem 1.25rem;
	background: rgba(7, 17, 31, 0.55);
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.9);
}

/* ---------- Industries ---------- */
.kx-industries {
	background:
		linear-gradient(180deg, #eef2f6 0%, #f7f9fb 100%);
}

.kx-industries__row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.75rem;
}

.kx-industry {
	position: relative;
	min-height: 14rem;
	display: flex;
	align-items: flex-end;
	padding: 1.4rem 1.25rem;
	border: 1px solid transparent;
	overflow: hidden;
	background: var(--kx-navy-mid);
	isolation: isolate;
	transition: transform 0.45s var(--kx-ease), border-color 0.35s ease;
}

.kx-industry__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	filter: saturate(0.9) brightness(0.75);
	transition: transform 0.8s var(--kx-ease), filter 0.4s ease;
}

.kx-industry__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.4) 55%, rgba(7, 17, 31, 0.15) 100%);
	transition: background 0.4s ease;
}

.kx-industry:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 255, 255, 0.18);
}

.kx-industry:hover .kx-industry__bg {
	transform: scale(1.12);
	filter: saturate(1) brightness(0.85);
}

.kx-industry:hover .kx-industry__bg::after {
	background: linear-gradient(to top, rgba(7, 17, 31, 0.88) 0%, rgba(13, 31, 53, 0.5) 55%, rgba(26, 74, 115, 0.28) 100%);
}

.kx-industry span {
	position: relative;
	z-index: 1;
	font-family: var(--kx-font-display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- Contact ---------- */
.kx-contact {
	padding-top: 0;
	padding-bottom: clamp(4.5rem, 9vw, 7rem);
	background: #f7f9fb;
}

.kx-contact__panel {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 2.5rem;
	align-items: center;
	padding: clamp(2.25rem, 5vw, 3.5rem);
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(61, 111, 156, 0.18), transparent 50%),
		linear-gradient(135deg, var(--kx-navy) 0%, var(--kx-navy-mid) 100%);
	color: #fff;
}

.kx-contact__panel .kx-h2 {
	color: #fff;
}

.kx-contact__panel .kx-body {
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 0;
}

.kx-contact__panel .kx-eyebrow {
	color: rgba(255, 255, 255, 0.55);
}

.kx-contact__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.kx-contact__link {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	padding-bottom: 2px;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.kx-contact__link:hover {
	color: #fff;
	border-color: #fff;
	text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.kx-divisions__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.kx-industries__row,
	.kx-process__list,
	.kx-trust__row {
		grid-template-columns: repeat(2, 1fr);
	}

	.kx-trust__item:nth-child(2n) {
		border-right: 0;
	}

	.kx-cap-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.kx-about__grid,
	.kx-contact__panel {
		grid-template-columns: 1fr;
	}

	.kx-about__visual img {
		aspect-ratio: 16 / 10;
	}

	.kx-about__visual::after {
		display: none;
	}

	.kx-hero__inner {
		padding: 8rem 0 4.5rem;
	}

	.kx-hero__title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.kx-wrap {
		width: calc(100% - 2rem);
	}

	.kx-divisions__grid,
	.kx-why__grid,
	.kx-industries__row,
	.kx-cap-list,
	.kx-process__list,
	.kx-trust__row {
		grid-template-columns: 1fr;
	}

	.kx-trust__item {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.kx-trust__item:last-child {
		border-bottom: 0;
	}

	.kx-division {
		min-height: 18rem;
	}

	.kx-why__item--wide {
		grid-template-columns: 1fr;
	}

	.kx-hero {
		min-height: 92vh;
	}

	.kx-hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.kx-btn {
		width: 100%;
	}
}

/* Soften inherited theme collisions on homepage body when this page is active */
body.home .kx-home .hd,
body.home .kx-home h1,
body.home .kx-home h2,
body.home .kx-home h3 {
	font-family: inherit;
}

/* ---------- Inner pages (About / Contact) ---------- */
.kx-page-hero {
	position: relative;
	min-height: clamp(22rem, 52vh, 32rem);
	display: flex;
	align-items: flex-end;
	color: #fff;
	isolation: isolate;
	overflow: hidden;
}

.kx-page-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.kx-page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
}

.kx-page-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.72) 45%, rgba(13, 31, 53, 0.55) 100%),
		linear-gradient(to top, rgba(7, 17, 31, 0.75) 0%, transparent 50%);
}

.kx-page-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 3rem));
	margin: 0 auto;
	padding: 8.5rem 0 3.5rem;
}

.kx-page-hero__title {
	margin: 0 0 1rem;
	max-width: 18ch;
	font-family: var(--kx-font-display);
	font-size: clamp(2rem, 4.8vw, 3.4rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #fff;
}

.kx-page-hero__lede {
	margin: 0;
	max-width: 36rem;
	font-size: 1.05rem;
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.kx-h2--sm {
	font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}

.kx-contact-page {
	background:
		radial-gradient(ellipse 70% 50% at 0% 0%, rgba(26, 74, 115, 0.06), transparent 50%),
		linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
	padding-top: clamp(3.5rem, 7vw, 5rem);
}

.kx-contact-page__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

.kx-contact-card {
	padding: 2rem 1.75rem;
	background:
		linear-gradient(145deg, var(--kx-navy) 0%, var(--kx-navy-mid) 100%);
	color: #fff;
}

.kx-contact-card .kx-eyebrow {
	color: rgba(255, 255, 255, 0.5);
}

.kx-contact-card .kx-h2 {
	color: #fff;
}

.kx-contact-card .kx-body {
	color: rgba(255, 255, 255, 0.72);
}

.kx-contact-card__list {
	list-style: none;
	margin: 1.75rem 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.kx-contact-card__list li {
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kx-contact-card__label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.kx-contact-card__list a,
.kx-contact-card__list span:not(.kx-contact-card__label) {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.kx-contact-card__list a:hover {
	color: #fff;
}

.kx-contact-card__note {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.5);
}

.kx-contact-form-wrap {
	padding: 2rem 1.75rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

.kx-contact-card {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

.kx-form__grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.15rem;
	margin: 1.5rem 0 1.25rem;
}

.kx-form__field {
	display: flex !important;
	flex-direction: column;
	gap: 0.4rem;
}

.kx-form__field--full {
	grid-column: 1 / -1;
}

.kx-form__field label {
	display: block !important;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--kx-grey);
}

.kx-form__field input,
.kx-form__field textarea,
.kx-form .kx-input {
	display: block !important;
	width: 100% !important;
	min-height: 2.85rem;
	padding: 0.85rem 0.95rem !important;
	border: 1px solid #d7dee8 !important;
	background: #f8fafc !important;
	color: #121a26 !important;
	font-family: var(--kx-font-body) !important;
	font-size: 0.95rem !important;
	line-height: 1.4 !important;
	outline: none;
	box-sizing: border-box;
	opacity: 1 !important;
	visibility: visible !important;
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.kx-form__field textarea,
.kx-form textarea.kx-input {
	min-height: 9rem !important;
	resize: vertical;
}

.kx-form__field input:focus,
.kx-form__field textarea:focus,
.kx-form .kx-input:focus {
	border-color: #3d6f9c !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(61, 111, 156, 0.15);
}

.kx-form__field label.error,
.kx-form__field .error {
	color: #c0392b;
	font-size: 0.78rem;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 500;
}

.kx-form__field input.error,
.kx-form__field textarea.error {
	border-color: #c0392b;
}

.kx-form__captcha,
.kx-form__local {
	margin: 0.5rem 0 1.25rem;
	font-size: 0.85rem;
	color: #667085;
}

.kx-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.kx-form__note {
	font-size: 0.8rem;
	color: var(--kx-grey);
}

.kx-form .kx-btn {
	width: auto;
	min-width: 11rem;
}

@media (max-width: 860px) {
	.kx-contact-page__grid {
		grid-template-columns: 1fr;
	}

	.kx-page-hero__inner {
		padding: 7.5rem 0 2.75rem;
	}

	.kx-page-hero__title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.kx-form__grid {
		grid-template-columns: 1fr;
	}

	.kx-form .kx-btn {
		width: 100%;
	}
}

/* ---------- About stats strip ---------- */
.kx-stats {
	padding-top: 0;
	background: #fff;
}

.kx-stats__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
}

.kx-stats__item {
	text-align: center;
	padding: clamp(2.25rem, 4vw, 3.25rem) 1.75rem;
	border-right: 1px solid #e2e8f0;
}

.kx-stats__item:last-child {
	border-right: 0;
}

.kx-stats__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.1rem;
	color: #1a4a73;
	font-size: 1.85rem;
}

.kx-stats__title {
	margin: 0 0 0.85rem;
	font-family: var(--kx-font-display);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--kx-navy);
}

.kx-stats__text {
	margin: 0 auto;
	max-width: 18rem;
	font-size: 0.95rem;
	line-height: 1.6;
	font-weight: 300;
	color: #5a6575;
}

@media (max-width: 860px) {
	.kx-stats__row {
		grid-template-columns: 1fr;
	}

	.kx-stats__item {
		border-right: 0;
		border-bottom: 1px solid #e2e8f0;
	}

	.kx-stats__item:last-child {
		border-bottom: 0;
	}
}
