/* Nextech Headquarters and Innovation Lab layouts */
.nx-hub {
	--nx-blue: #2a388f;
	--nx-red: #be2031;
	--nx-deep: #0a1d41;
	--nx-panel: #132f60;
	width: 100%;
	background: var(--nx-deep);
	color: #fff;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
}

.nx-hub,
.nx-hub * {
	box-sizing: border-box;
}

.nx-hub h1,
.nx-hub h2,
.nx-hub h3 {
	margin: 0;
	font-family: "Inter", Arial, sans-serif !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	line-height: 1.2;
}

.nx-hub__hero,
.nx-hub__content {
	padding: 70px 100px;
}

.nx-hub__hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 22%, rgba(190, 32, 49, 0.42), transparent 23%),
		linear-gradient(125deg, #102b5a 0%, #172f7a 100%);
}

.nx-hub--innovation .nx-hub__hero {
	background:
		radial-gradient(circle at 72% 35%, rgba(143, 162, 255, 0.34), transparent 20%),
		radial-gradient(circle at 86% 65%, rgba(190, 32, 49, 0.38), transparent 24%),
		linear-gradient(125deg, #071a3d 0%, #2a388f 100%);
}

.nx-hub__hero::after {
	position: absolute;
	right: -8%;
	bottom: -46%;
	width: min(58vw, 690px);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.04), 0 0 0 120px rgba(255, 255, 255, 0.025);
	content: "";
}

.nx-hub__hero-inner {
	position: relative;
	z-index: 1;
	max-width: 790px;
}

.nx-hub__eyebrow {
	margin: 0 0 14px;
	color: var(--nx-red);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.13em;
	line-height: 1.25;
	text-transform: uppercase;
}

.nx-hub h1 {
	max-width: 760px;
	color: #fff;
}

.nx-hub__intro {
	max-width: 675px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.7;
}

.nx-hub__button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 48px;
	margin-top: 30px;
	padding: 12px 22px;
	border: 1px solid var(--nx-red);
	border-radius: 999px;
	background: var(--nx-red);
	color: #fff !important;
	font-family: "Roboto", Arial, sans-serif;
	font-weight: 400;
	text-decoration: none !important;
	transition: transform .2s ease, background .2s ease;
}

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

.nx-hub__content {
	padding-bottom: 0;
}

.nx-hub__heading {
	max-width: 710px;
	margin-bottom: 34px;
}

.nx-hub__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.nx-hub__grid article {
	min-height: 210px;
	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-hub__grid span {
	display: block;
	margin-bottom: 32px;
	color: #8fa2ff;
	font-size: 12px;
	letter-spacing: .12em;
}

.nx-hub__grid h3 {
	margin-bottom: 12px;
}

.nx-hub__grid p {
	margin: 0;
	color: rgba(255, 255, 255, .72);
	line-height: 1.65;
}

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

.nx-hub__contact .nx-hub__eyebrow {
	color: rgba(255, 255, 255, .68);
}

.nx-hub__button--light {
	margin-top: 0;
	border-color: #fff;
	background: #fff;
	color: var(--nx-blue) !important;
}

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

@media (min-width: 700px) {
	.nx-hub {
		font-size: 18px;
	}

	.nx-hub h1,
	.nx-hub h2,
	.nx-hub h3 {
		font-size: 36px !important;
	}

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

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

@media (max-width: 699px) {
	.nx-hub__hero,
	.nx-hub__content {
		padding: 20px;
	}

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