/* Nexus Group — professional finish (v2.7): mobile menu, live radar, follow and share band. */

/* ------------------------------------------------------------------ mobile menu */
.nav-toggle,
.site-nav__cta {
	display: none;
}

@media (max-width: 760px) {
	:root {
		--header-h: 64px;
	}

	.site-header {
		position: sticky;
		top: var(--adminbar-h);
	}

	.site-header__inner {
		flex-wrap: nowrap;
		gap: 10px;
		min-height: 64px;
		padding-block: 10px;
	}

	.brand__logo {
		height: 34px;
	}

	.lang-switch {
		margin-inline-start: auto;
	}

	.site-header__cta {
		display: none;
	}

	.nav-toggle {
		order: 5;
		display: inline-grid;
		place-items: center;
		flex: none;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 1px solid var(--line);
		border-radius: 50%;
		background: #fff;
		color: var(--navy);
		cursor: pointer;
	}

	.nav-toggle__bars {
		display: grid;
		gap: 4px;
		width: 18px;
	}

	.nav-toggle__bars i {
		display: block;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.3s var(--ease), opacity 0.2s;
	}

	.is-menu-open .nav-toggle__bars i:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.is-menu-open .nav-toggle__bars i:nth-child(2) {
		opacity: 0;
	}

	.is-menu-open .nav-toggle__bars i:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.site-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		order: 0;
		width: auto;
		margin: 0;
		padding: 8px var(--gutter) 22px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(18, 41, 74, 0.55);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
	}

	.is-menu-open .site-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s;
	}

	html:not(.js) .site-nav {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
	}

	.site-nav .nav-list {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0;
	}

	.site-nav .nav-list a {
		display: block;
		padding: 15px 2px;
		border-bottom: 1px solid var(--line);
		font-size: 1.06rem;
	}

	.site-nav .nav-list a::after {
		display: none;
	}

	.site-nav__cta {
		display: flex;
		width: 100%;
		margin-top: 18px;
	}
}

/* ------------------------------------------------------------------ live radar (home) */
.radar-live {
	margin-top: 2rem;
	padding: 22px 22px 18px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
}

.radar-live__pulse {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font: 700 0.74rem/1 var(--font-head);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-bright);
}

html[dir="rtl"] .radar-live__pulse {
	letter-spacing: 0;
	font-size: 0.86rem;
}

.radar-live__pulse i {
	position: relative;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3ecf8e;
}

.radar-live__pulse i::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid #3ecf8e;
	animation: nxPulse 1.8s ease-out infinite;
}

@keyframes nxPulse {
	from {
		transform: scale(0.4);
		opacity: 0.9;
	}

	to {
		transform: scale(1.5);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.radar-live__pulse i::after {
		animation: none;
	}
}

.radar-live__stats {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.radar-live__stats li {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
}

.radar-live__stats li.is-total {
	background: linear-gradient(135deg, rgba(240, 196, 106, 0.22), rgba(212, 162, 74, 0.08));
}

.radar-live__stats b {
	font: 800 1.7rem/1 var(--font-head);
	color: #fff;
}

.radar-live__stats .is-total b {
	color: var(--gold-bright);
}

.radar-live__stats span {
	font: 500 0.82rem/1.25 var(--font-head);
	color: var(--on-navy-quiet);
}

.radar-live__head {
	margin: 18px 0 8px;
	font: 700 0.92rem/1 var(--font-head);
	color: #fff;
}

.radar-live__soon {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.section--night .radar-live__soon a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--on-navy);
	text-decoration: none;
	transition: background-color 0.25s;
}

.section--night .radar-live__soon a:hover {
	background: rgba(255, 255, 255, 0.08);
}

.radar-live__type {
	padding: 5px 9px;
	border-radius: 999px;
	font: 700 0.7rem/1 var(--font-head);
	color: #fff;
	background: #1d6aa8;
}

.radar-live__type--tender {
	background: #0f8d82;
}

.radar-live__type--job {
	background: #8a4a7a;
}

.radar-live__title {
	overflow: hidden;
	font: 500 0.92rem/1.3 var(--font-head);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.radar-live__due {
	font: 600 0.8rem/1 var(--font-head);
	color: var(--gold-bright);
	white-space: nowrap;
}

@media (max-width: 560px) {
	.radar-live__stats {
		grid-template-columns: repeat(3, 1fr);
	}

	.radar-live__stats li.is-total {
		grid-column: 1 / -1;
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 12px;
	}

	.section--night .radar-live__soon a {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.radar-live__due {
		grid-column: 2;
	}

	.radar-live__title {
		white-space: normal;
	}
}

/* ------------------------------------------------------------------ follow and share band */
.follow {
	position: relative;
	padding-block: clamp(48px, 7vw, 80px);
	background:
		radial-gradient(700px 360px at 0% 0%, rgba(240, 196, 106, 0.3), transparent 60%),
		linear-gradient(180deg, var(--sand), #fff);
	border-top: 1px solid var(--sand-deep);
}

.follow__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.follow h2 {
	margin: 0 0 0.8rem;
	font-size: clamp(1.7rem, 3.2vw, 2.4rem);
	line-height: 1.12;
	color: var(--ink);
}

.follow__copy p:last-child {
	margin: 0;
	color: var(--slate);
	font-size: 1.06rem;
	line-height: 1.65;
}

.follow__actions {
	display: grid;
	gap: 16px;
	justify-items: start;
}

.follow__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.follow__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 20px;
	border-radius: 999px;
	color: #fff;
	font: 600 0.98rem/1 var(--font-head);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.follow__btn:hover {
	transform: translateY(-2px);
}

.follow__btn svg {
	width: 20px;
	height: 20px;
}

.follow__btn--linkedin {
	background: #0a66c2;
	box-shadow: 0 14px 26px -16px rgba(10, 102, 194, 0.9);
}

.follow__btn--instagram {
	background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
	box-shadow: 0 14px 26px -16px rgba(220, 39, 67, 0.9);
}

.follow__btn--facebook {
	background: #1877f2;
}

.follow__btn .ico,
.follow__btn svg {
	color: #fff;
}

.share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.share-bar__label {
	margin-inline-end: 4px;
	font: 600 0.9rem/1 var(--font-head);
	color: var(--slate);
}

.share-bar__btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--navy);
	cursor: pointer;
	transition: border-color 0.25s, transform 0.25s var(--ease), color 0.25s;
}

.share-bar__btn:hover {
	border-color: var(--gold);
	transform: translateY(-2px);
}

.share-bar__btn svg {
	width: 19px;
	height: 19px;
}

.share-bar__btn:first-of-type {
	color: #1f9e55;
}

.share-bar__btn.is-done {
	border-color: #1f9e55;
	color: #1f9e55;
}

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

	.follow__radar {
		width: 100%;
	}
}

/* ------------------------------------------------------------------ v2.8 design (preview: ?nx_preview=1) */
.hero-radar {
	position: relative;
	margin-top: 26px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 22px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7);
	animation: rise 1s var(--ease) 0.6s both;
}

.hero-radar__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 14px;
	margin: 0 0 12px;
	font: 600 0.84rem/1.3 var(--font-head);
	color: var(--on-navy);
}

.hero-radar__live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold-bright);
}

.hero-radar__live i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3ecf8e;
	box-shadow: 0 0 0 4px rgba(62, 207, 142, 0.22);
}

.hero-radar__field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	padding-inline-start: 14px;
	border-radius: 999px;
	background: #fff;
}

.hero-radar__field svg {
	flex: none;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--slate);
	stroke-width: 2;
	stroke-linecap: round;
}

.hero-radar__field input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font: 500 1rem/1.2 var(--font-head);
	color: var(--ink);
}

.hero-radar__field .btn {
	min-height: 46px;
	padding-inline: 22px;
}

.hero-radar__soon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	font: 500 0.82rem/1.2 var(--font-head);
	color: var(--on-navy-quiet);
}

.hero-radar__soon > span {
	align-self: center;
}

.section--night .hero-radar__soon a,
.hero .hero-radar__soon a {
	display: inline-flex;
	gap: 6px;
	padding: 7px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.25s;
}

.hero .hero-radar__soon a:hover {
	background: rgba(255, 255, 255, 0.2);
}

.hero-radar__soon b {
	color: var(--gold-bright);
	font-weight: 700;
}

/* Photos in one brand tone, so mixed stock pictures read as one set. */
.nx-v28 .frame__img {
	filter: grayscale(0.35) contrast(1.05) saturate(0.85);
	transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}

.nx-v28 .frame:hover .frame__img {
	filter: none;
}

.nx-v28 .frame {
	position: relative;
}

.nx-v28 .frame::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(200deg, rgba(18, 41, 74, 0) 45%, rgba(18, 41, 74, 0.45));
	mix-blend-mode: multiply;
	pointer-events: none;
}

@media (max-width: 560px) {
	.hero-radar {
		padding: 14px;
	}

	.hero-radar__field .btn span {
		font-size: 0.95rem;
	}

	.hero-radar__soon a:nth-of-type(n + 3) {
		display: none;
	}
}

.hero__top > *,
.hero-radar,
.hero-radar__field {
	min-width: 0;
}

.hero-radar__field input {
	width: 100%;
}
