/* The assigned widget box owns structural layout; Elementor owns control breakpoints. */
.elementor-widget-noise-hero {
	container: ndw-hero / inline-size;
	/* Supply a preferred width when Elementor asks for intrinsic (auto) sizing. */
	contain-intrinsic-inline-size: 1140px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ndw-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 72vh;
	overflow: hidden;
	background: #f5f7f7;
}

.ndw-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding: 64px 32px;
	gap: 64px;
}

.ndw-hero--media-left .ndw-hero__media {
	order: -1;
}

.ndw-hero--background {
	background-position: center;
	background-size: cover;
	color: #fff;
}

.ndw-hero--background::before {
	position: absolute;
	inset: 0;
	background: rgb(12 18 24 / 68%);
	content: "";
}

.ndw-hero--background .ndw-hero__inner {
	grid-template-columns: minmax(0, 760px);
	min-height: inherit;
}

/* Alignment is variable-driven so it can differ per breakpoint, and so it keeps
   working on mobile where the single grid track already fills the width. */
.ndw-hero--background .ndw-hero__inner {
	justify-content: var(--ndw-hero-justify, start);
	align-items: var(--ndw-hero-vertical, center);
}

.ndw-hero--background .ndw-hero__content {
	align-items: var(--ndw-hero-align, flex-start);
	text-align: var(--ndw-hero-text, left);
}

.ndw-hero--background .ndw-hero__statistics {
	justify-items: var(--ndw-hero-align, flex-start);
}

.ndw-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.ndw-hero--background.ndw-hero--content-center .ndw-hero__content {
	align-items: center;
	text-align: center;
}

.ndw-hero--background.ndw-hero--content-right .ndw-hero__content {
	align-items: flex-end;
	text-align: right;
}

:where(.ndw-hero__badge) {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 24px;
	padding: 7px 11px;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: #1f7667;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.ndw-hero__badge--text {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ndw-hero__badge-dot {
	display: inline-block;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--e-global-color-accent, #1f7667);
	animation: ndw-hero-badge-pulse 1.8s ease-in-out infinite;
}

@keyframes ndw-hero-badge-pulse {
	0%,
	100% {
		opacity: 0.45;
		box-shadow: 0 0 0 0 currentColor;
		transform: scale(0.88);
	}

	50% {
		opacity: 1;
		box-shadow: 0 0 0 5px transparent;
		transform: scale(1);
	}
}

:where(.ndw-hero__eyebrow) {
	margin: 0 0 14px;
	color: #1f7667;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

:where(.ndw-hero__heading) {
	margin: 0;
	color: #15191e;
	font-size: 64px;
	font-weight: 750;
	line-height: 1.02;
}

:where(.ndw-hero__highlight) {
	color: var(--e-global-color-accent, #1f7667);
}

:where(.ndw-hero__description) {
	max-width: 680px;
	margin-top: 24px;
	color: #4b5563;
	font-size: 19px;
	line-height: 1.65;
}

.ndw-hero__description > :first-child {
	margin-top: 0;
}

.ndw-hero__description > :last-child {
	margin-bottom: 0;
}

.ndw-hero--background :where(.ndw-hero__heading, .ndw-hero__description, .ndw-hero__eyebrow, .ndw-hero__badge) {
	color: #fff;
}

.ndw-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ndw-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

/* An inline font-icon SVG carries no width or height of its own, so as a flex
   item it collapsed to 0x0 and the button icon never appeared unless someone
   moved the Icon size slider, which has no default. Sizing in `em` matches it to
   the button label, and the slider still overrides it. See services-grid.css. */
.ndw-hero__button i,
.ndw-hero__button svg {
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	fill: currentColor;
}

:where(.ndw-hero__button--primary) {
	background: #15191e;
	color: #fff;
}

:where(.ndw-hero__button--secondary) {
	border-color: currentColor;
	background: transparent;
	color: #15191e;
}

.ndw-hero--background :where(.ndw-hero__button--secondary) {
	color: #fff;
}

.ndw-hero__button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.ndw-hero__statistics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	margin: 36px 0 0;
	padding: 0;
	gap: 22px 32px;
}

.ndw-hero__stat {
	display: flex;
	flex-direction: column-reverse;
	min-width: 0;
	margin: 0;
}

:where(.ndw-hero__stat-value) {
	margin: 0;
	color: #15191e;
	font-size: 30px;
	font-weight: 750;
	line-height: 1;
}

.ndw-hero__stat-suffix {
	color: #1f7667;
}

:where(.ndw-hero__stat-label) {
	margin-top: 7px;
	color: #66717d;
	font-size: 12px;
	line-height: 1.3;
}

.ndw-hero--background :where(.ndw-hero__stat-value, .ndw-hero__stat-label) {
	color: #fff;
}

.ndw-hero--stats-bottom-bar .ndw-hero__inner {
	flex: 1 1 auto;
}

.ndw-hero--stats-bottom-bar > .ndw-hero__statistics {
	position: relative;
	z-index: 1;
	width: calc(100% - 64px);
	max-width: 1240px;
	margin: 0 auto;
	padding: 36px 0;
}

.ndw-hero__statistics--top-line {
	border-top: 1px solid rgb(102 113 125 / 35%);
}

.ndw-hero__statistics--dividers .ndw-hero__stat:not(:last-child) {
	border-right: 1px solid rgb(102 113 125 / 28%);
}

.ndw-hero--stats-bottom-bar .ndw-hero__stat {
	align-items: flex-start;
	padding-inline: 24px;
	text-align: left;
}

.ndw-hero__media {
	width: 100%;
	height: 620px;
	overflow: hidden;
	border-radius: 8px;
	background: #dce4e2;
}

.ndw-hero__media.ndw-hero__media img,
.ndw-hero__media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ndw-hero__media-placeholder {
	background: linear-gradient(135deg, #dbe5e2, #a9c1bb);
}

.ndw-hero__scroll-indicator {
	--ndw-hero-scroll-edge: 28px;
	--ndw-hero-scroll-duration: 1.8s;
	position: absolute;
	bottom: 11%;
	z-index: 2;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	/* The vertical label is ~20px wide; keep the link a 24px touch target. */
	min-width: 24px;
	gap: 14px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.ndw-hero__scroll-indicator--left {
	left: var(--ndw-hero-scroll-edge);
}

.ndw-hero__scroll-indicator--right {
	right: var(--ndw-hero-scroll-edge);
}

.ndw-hero__scroll-text {
	writing-mode: vertical-rl;
}

.ndw-hero__scroll-indicator--animated .ndw-hero__scroll-text {
	animation: ndw-hero-scroll-text var(--ndw-hero-scroll-duration) ease-in-out infinite;
}

.ndw-hero__scroll-line {
	display: block;
	width: 1px;
	height: 52px;
	background: #1f7667;
	transform-origin: top;
}

.ndw-hero__scroll-indicator--animated .ndw-hero__scroll-line {
	animation: ndw-hero-scroll-line var(--ndw-hero-scroll-duration) ease-in-out infinite;
}

@keyframes ndw-hero-scroll-text {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(6px);
	}
}

@keyframes ndw-hero-scroll-line {
	0% {
		opacity: 0.35;
		transform: scaleY(0.18);
	}

	55%,
	100% {
		opacity: 1;
		transform: scaleY(1);
	}
}

.ndw-hero__scroll-indicator:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 6px;
}

@container ndw-hero (max-width: 1024px) {
	.ndw-hero__inner {
		gap: 36px;
		padding: 56px 28px;
	}

	:where(.ndw-hero__heading) {
		font-size: 48px;
	}

	.ndw-hero__media {
		height: 520px;
	}

	/* Caps the chosen statistics columns at two but never raises them.
	   !important only outranks Elementor's generated selector; min() keeps a
	   smaller user value, and the fallback reproduces pre-0.15.4 CSS. */
	@supports (grid-template-columns: repeat(min(1, 2), 1fr)) {
		.ndw-hero__statistics {
			grid-template-columns: repeat(min(var(--ndw-hero-stat-columns, 2), 2), minmax(0, 1fr)) !important;
		}
	}

	.ndw-hero__statistics--dividers .ndw-hero__stat:nth-child(2n) {
		border-right: 0;
	}
}

@container ndw-hero (max-width: 767px) {
	.ndw-hero__inner,
	.ndw-hero--background .ndw-hero__inner {
		grid-template-columns: 1fr;
		padding: 42px 20px;
		gap: 30px;
	}

	.ndw-hero--media-left .ndw-hero__media {
		order: initial;
	}

	:where(.ndw-hero__heading) {
		font-size: 40px;
	}

	.ndw-hero__media {
		height: 380px;
	}

	.ndw-hero__actions {
		flex-direction: column;
	}

	.ndw-hero__button {
		width: 100%;
	}

	.ndw-hero--stats-bottom-bar > .ndw-hero__statistics {
		width: calc(100% - 40px);
		padding: 28px 0;
	}

	.ndw-hero--stats-bottom-bar .ndw-hero__stat {
		padding: 14px 10px;
	}

	.ndw-hero__statistics--dividers .ndw-hero__stat {
		border-right: 0;
	}

	.ndw-hero__statistics--dividers .ndw-hero__stat:nth-child(odd) {
		border-right: 1px solid rgb(102 113 125 / 28%);
	}

	.ndw-hero__scroll-indicator {
		display: none;
	}

	.ndw-hero--scroll-mobile .ndw-hero__scroll-indicator {
		right: 14px;
		bottom: 18px;
		display: inline-flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ndw-hero__badge-dot,
	.ndw-hero__scroll-text,
	.ndw-hero__scroll-line {
		animation: none;
	}
}
