.mova-popup[hidden] {
	display: none !important;
}

.mova-popup .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mova-popup {
	--mova-popup-blue: #163e73;
	--mova-popup-orange: #f26822;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 48px);
	font-family: "Plus Jakarta Sans", sans-serif;
	opacity: 0;
	visibility: hidden;
	transition: opacity 220ms ease, visibility 220ms ease;
}

.mova-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.mova-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 24, 50, 0.76);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}

.mova-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 720px);
	max-height: calc(100dvh - clamp(32px, 8vw, 96px));
	overflow: auto;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: clamp(20px, 2.2vw, 30px);
	box-shadow: 0 34px 90px rgba(4, 25, 55, 0.34), 0 8px 24px rgba(4, 25, 55, 0.16);
	transform: translateY(18px) scale(0.975);
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
	outline: none;
}

.mova-popup.is-open .mova-popup__dialog {
	transform: translateY(0) scale(1);
}

.mova-popup__content {
	padding: clamp(38px, 6vw, 66px);
}

.mova-popup__eyebrow {
	display: block;
	margin: 0 52px 14px 0;
	color: #0c91a8;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.4;
}

.mova-popup__content h2 {
	margin: 0 52px 18px 0;
	color: var(--mova-popup-blue);
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.mova-popup__body {
	color: #34465e;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.72;
}

.mova-popup__body > :first-child {
	margin-top: 0;
}

.mova-popup__body > :last-child {
	margin-bottom: 0;
}

.mova-popup__body a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 10px;
	padding: 11px 22px;
	color: #fff;
	background: var(--mova-popup-orange);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.mova-popup__body a:hover,
.mova-popup__body a:focus-visible {
	color: #fff;
	background: #d95114;
	transform: translateY(-1px);
}

.mova-popup__dialog--image {
	width: min(100%, 900px);
	background: transparent;
	border: 0;
	overflow: visible;
	box-shadow: none;
}

.mova-popup__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100dvh - clamp(32px, 8vw, 96px));
	margin: 0 auto;
	object-fit: contain;
	border-radius: clamp(16px, 2vw, 26px);
	box-shadow: 0 34px 90px rgba(4, 25, 55, 0.38);
}

.mova-popup__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--mova-popup-blue);
	background: #fff;
	border: 1px solid rgba(22, 62, 115, 0.13);
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(7, 29, 58, 0.15);
	cursor: pointer;
	transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.mova-popup__dialog--image .mova-popup__close {
	top: 14px;
	right: 14px;
}

.mova-popup__close:hover {
	color: #fff;
	background: var(--mova-popup-blue);
	transform: rotate(4deg);
}

.mova-popup__close:focus-visible {
	outline: 3px solid rgba(242, 104, 34, 0.48);
	outline-offset: 3px;
}

.mova-popup__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

html.mova-popup-open,
html.mova-popup-open body {
	overflow: hidden;
}

@media (max-width: 600px) {
	.mova-popup {
		padding: 14px;
	}

	.mova-popup__dialog {
		max-height: calc(100dvh - 28px);
		border-radius: 20px;
	}

	.mova-popup__content {
		padding: 38px 24px 30px;
	}

	.mova-popup__content h2 {
		margin-right: 38px;
		font-size: clamp(25px, 8vw, 34px);
	}

	.mova-popup__eyebrow {
		margin-right: 38px;
	}

	.mova-popup__close {
		top: 12px;
		right: 12px;
		width: 38px;
		height: 38px;
	}

	.mova-popup__image {
		max-height: calc(100dvh - 28px);
		border-radius: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mova-popup,
	.mova-popup__dialog,
	.mova-popup__close,
	.mova-popup__body a {
		transition-duration: 0.01ms !important;
	}
}
