/* Nextech branded solution page layout */

.nx-solution-page {
	--nx-blue: #2a388f;
	--nx-red: #be2031;
	--nx-navy: #102b5a;
	--nx-deep: #0a1d41;
	--nx-panel: #132f60;
	--nx-ink: #ffffff;
	--nx-muted: rgba(255, 255, 255, 0.72);
	width: 100%;
	color: var(--nx-ink);
	background: var(--nx-deep);
	font-family: "Roboto", Arial, sans-serif;
	font-weight: 400;
}

.nx-solution-page p,
.nx-solution-page a,
.nx-solution-page span {
	font-family: "Roboto", Arial, sans-serif;
}

.nx-solution-page h1,
.nx-solution-page h2,
.nx-solution-page h3,
.nx-solution-page__title,
.nx-solution-page__section-heading h2,
.nx-solution-page__contact h2,
.nx-solution-page__value-grid h3,
.nx-solution-page__related-card h3 {
	font-family: "Inter", Arial, sans-serif !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	line-height: 1.2;
	letter-spacing: 0;
}

.nx-solution-page *,
.nx-solution-page *::before,
.nx-solution-page *::after {
	box-sizing: border-box;
}

.nx-solution-page__hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 70px 100px;
	background: var(--nx-navy);
	color: #fff;
}

.nx-solution-page__hero::after {
	position: absolute;
	z-index: -1;
	right: -12%;
	bottom: -43%;
	width: min(72vw, 900px);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.04), 0 0 0 110px rgba(255, 255, 255, 0.025);
	content: "";
}

.nx-solution-page__hero-media,
.nx-solution-page__hero-overlay {
	position: absolute;
	z-index: -2;
	inset: 0;
}

.nx-solution-page__hero-media {
	background-image: var(--nx-solution-image);
	background-position: center;
	background-size: cover;
	opacity: 0.28;
}

.nx-solution-page__hero-overlay {
	z-index: -1;
	background:
		radial-gradient(circle at 78% 40%, rgba(190, 32, 49, 0.45), transparent 29%),
		linear-gradient(105deg, rgba(18, 43, 90, 0.98) 10%, rgba(18, 43, 90, 0.88) 59%, rgba(42, 56, 143, 0.78));
}

.nx-solution-page__hero-inner,
.nx-solution-page__content {
	width: 100%;
	max-width: none;
	margin: 0;
}

.nx-solution-page__hero-inner {
	max-width: 840px;
}

.nx-solution-page__eyebrow,
.nx-solution-page__kicker {
	margin: 0 0 14px;
	color: var(--nx-red);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
}

.nx-solution-page__title {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(2.5rem, 5.8vw, 5.25rem);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 0.99;
}

.nx-solution-page__intro {
	max-width: 680px;
	margin: 26px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
}

.nx-solution-page__hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-top: 34px;
}

.nx-solution-page__button,
.nx-solution-page__text-link,
.nx-solution-page__related-card a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nx-solution-page__button {
	min-height: 48px;
	padding: 13px 22px;
	border: 1px solid var(--nx-red);
	border-radius: 999px;
	background: var(--nx-red);
	color: #fff !important;
}

.nx-solution-page__button:hover,
.nx-solution-page__button:focus {
	background: #9f1928;
	color: #fff !important;
	transform: translateY(-2px);
}

.nx-solution-page__text-link {
	color: #fff !important;
}

.nx-solution-page__text-link:hover,
.nx-solution-page__text-link:focus,
.nx-solution-page__related-card a:hover,
.nx-solution-page__related-card a:focus {
	transform: translateX(3px);
}

.nx-solution-page__content {
	padding: 70px 100px 0;
}

.nx-solution-page__section-heading {
	max-width: 700px;
	margin-bottom: 36px;
}

.nx-solution-page__section-heading h2,
.nx-solution-page__contact h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 750;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.nx-solution-page__value-grid,
.nx-solution-page__related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.nx-solution-page__value-grid article {
	min-height: 220px;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-top: 3px solid var(--nx-red);
	background: rgba(255, 255, 255, 0.045);
}

.nx-solution-page__number {
	display: block;
	margin-bottom: 35px;
	color: #8fa2ff;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.nx-solution-page__value-grid h3,
.nx-solution-page__related-card h3 {
	margin: 0 0 11px;
	color: #fff;
	font-size: 1.22rem;
	line-height: 1.25;
}

.nx-solution-page__value-grid p,
.nx-solution-page__related-card p {
	margin: 0;
	color: var(--nx-muted);
	font-family: "Roboto", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.nx-solution-page__related {
	margin-top: 70px;
	padding-top: 70px;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.nx-solution-page__related-grid {
	gap: 18px;
}

.nx-solution-page__related-card {
	display: flex;
	min-height: 260px;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: var(--nx-panel);
	box-shadow: none;
}

.nx-solution-page__related-card a {
	margin-top: auto;
	padding-top: 25px;
	color: var(--nx-red) !important;
	font-size: 0.92rem;
}

.nx-solution-page__contact {
	display: flex;
	flex-direction: column;
	gap: 26px;
	align-items: flex-start;
	justify-content: space-between;
	margin: 70px -100px 0;
	padding: 70px 100px;
	background:
		radial-gradient(circle at 88% 30%, rgba(190, 32, 49, 0.44), transparent 30%),
		var(--nx-blue);
}

.nx-solution-page__contact .nx-solution-page__kicker {
	color: rgba(255, 255, 255, 0.67);
}

.nx-solution-page__contact h2 {
	max-width: 670px;
	color: #fff;
}

.nx-solution-page__button--light {
	border-color: #fff;
	background: #fff;
	color: var(--nx-blue) !important;
}

.nx-solution-page__button--light:hover,
.nx-solution-page__button--light:focus {
	background: #f3f5fb;
	color: var(--nx-blue) !important;
}

@media (min-width: 700px) {
	.nx-solution-page h1,
	.nx-solution-page h2,
	.nx-solution-page h3,
	.nx-solution-page__title,
	.nx-solution-page__section-heading h2,
	.nx-solution-page__contact h2,
	.nx-solution-page__value-grid h3,
	.nx-solution-page__related-card h3 {
		font-size: 36px !important;
	}

	.nx-solution-page__intro,
	.nx-solution-page__value-grid p,
	.nx-solution-page__related-card p {
		font-size: 18px;
	}

	.nx-solution-page__value-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.nx-solution-page__related-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nx-solution-page__contact {
		flex-direction: row;
		align-items: center;
	}
}

@media (min-width: 1050px) {
	.nx-solution-page__related-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 699px) {
	.nx-solution-page__hero,
	.nx-solution-page__content {
		padding: 20px;
	}

	.nx-solution-page__value-grid article,
	.nx-solution-page__related-card {
		padding: 24px;
	}

	.nx-solution-page__related {
		margin-top: 50px;
		padding-top: 50px;
	}

	.nx-solution-page__contact {
		margin: 50px -20px 0;
		padding: 40px 20px;
	}
}
