body.vx-contact-popup-open { overflow: hidden; }
.vx-contact-popup, .vx-contact-popup * { box-sizing: border-box; }
.vx-contact-popup[hidden], .vx-contact-popup [hidden] { display: none !important; }

.vx-contact-popup {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 32px;
	font-family: "Montserrat", Arial, sans-serif;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity .28s ease, visibility .28s ease;
}

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

.vx-contact-popup__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 16% 12%, rgba(235, 7, 93, .22), transparent 34%),
		radial-gradient(circle at 84% 88%, rgba(25, 55, 205, .24), transparent 38%),
		rgba(3, 2, 9, .82);
	-webkit-backdrop-filter: blur(18px) saturate(120%);
	backdrop-filter: blur(18px) saturate(120%);
}

.vx-contact-popup__dialog {
	position: relative;
	width: min(100%, 690px);
	max-height: min(90dvh, 860px);
	overflow: hidden auto;
	padding: 48px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 36px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045) 48%, rgba(255, 255, 255, .08)),
		rgba(12, 10, 23, .76);
	box-shadow: 0 42px 120px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(42px) saturate(135%);
	backdrop-filter: blur(42px) saturate(135%);
	transform: translateY(22px) scale(.97);
	transition: transform .34s cubic-bezier(.22, 1, .36, 1);
	isolation: isolate;
}

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

.vx-contact-popup__dialog::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	background:
		linear-gradient(115deg, rgba(255, 255, 255, .11), transparent 31%),
		linear-gradient(180deg, rgba(236, 7, 93, .08), transparent 37%, rgba(26, 52, 189, .08));
	pointer-events: none;
}

.vx-contact-popup__close {
	position: absolute;
	z-index: 3;
	top: 22px;
	right: 22px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	color: #fff;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.vx-contact-popup__close:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .14); transform: rotate(5deg); }
.vx-contact-popup__close:focus-visible { outline: 3px solid rgba(236, 7, 93, .4); outline-offset: 3px; }
.vx-contact-popup__close span::before,
.vx-contact-popup__close span::after { content: ""; position: absolute; left: 12px; top: 20px; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; }
.vx-contact-popup__close span::before { transform: rotate(45deg); }
.vx-contact-popup__close span::after { transform: rotate(-45deg); }

.vx-contact-popup__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 52px 10px 0;
	color: #ff4b8d;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vx-contact-popup__eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.vx-contact-popup__content h2,
.vx-contact-popup__success h2 { margin: 0; color: #fff; font-size: clamp(36px, 4vw, 52px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.vx-contact-popup__intro { max-width: 540px; margin: 14px 0 28px; color: rgba(255, 255, 255, .68); font-size: 16px; line-height: 1.55; }

.vx-contact-popup__form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.vx-contact-popup__field { position: relative; min-width: 0; }
.vx-contact-popup__field--phone,
.vx-contact-popup__field--message { grid-column: 1 / -1; }
.vx-contact-popup__field label { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px 4px; color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.vx-contact-popup__field label span { color: rgba(255, 255, 255, .38); font-size: 9px; }

.vx-contact-popup__field input,
.vx-contact-popup__field textarea {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 14px 17px;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 16px;
	outline: 0;
	background: rgba(6, 5, 16, .34);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
	color: #fff;
	font: inherit;
	font-size: 15px;
	line-height: 1.35;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.vx-contact-popup__field textarea { min-height: 105px; resize: vertical; }
.vx-contact-popup__field input::placeholder,
.vx-contact-popup__field textarea::placeholder { color: rgba(255, 255, 255, .34); opacity: 1; }
.vx-contact-popup__field input:hover,
.vx-contact-popup__field textarea:hover { border-color: rgba(255, 255, 255, .38); }
.vx-contact-popup__field input:focus,
.vx-contact-popup__field textarea:focus { border-color: #ff4b8d; background: rgba(6, 5, 16, .5); box-shadow: 0 0 0 3px rgba(236, 7, 93, .16); }

.vx-contact-popup__honey { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

.vx-contact-popup__submit {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 58px;
	margin-top: 3px;
	padding: 13px 20px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
	color: #05040c;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.vx-contact-popup__submit i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ec075d; color: #fff; font-size: 17px; font-style: normal; font-weight: 400; line-height: 1; }
.vx-contact-popup__submit:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, .36); background: #fff7fa; }
.vx-contact-popup__submit:focus-visible { outline: 3px solid rgba(236, 7, 93, .55); outline-offset: 3px; }
.vx-contact-popup__submit:disabled { cursor: wait; opacity: .68; transform: none; }
.vx-contact-popup__status { grid-column: 1 / -1; min-height: 18px; margin: -2px 4px 0; color: rgba(255, 255, 255, .7); font-size: 12px; line-height: 1.4; text-align: center; }
.vx-contact-popup__status.is-error { color: #ff92bb; }

.vx-contact-popup__success { min-height: 430px; place-content: center; text-align: center; }
.vx-contact-popup__success:not([hidden]) { display: grid; }
.vx-contact-popup__success > span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 50%; background: linear-gradient(135deg, #ec075d, #1537c9); color: #fff; font-size: 28px; }
.vx-contact-popup__success p { max-width: 430px; margin: 16px auto 28px; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.55; }
.vx-contact-popup__success button { justify-self: center; min-width: 150px; min-height: 48px; padding: 11px 24px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .09); color: #fff; cursor: pointer; font: inherit; font-weight: 600; }

@media (max-width: 767px) {
	.vx-contact-popup { align-items: end; padding: 10px; }
	.vx-contact-popup__dialog { width: 100%; max-height: calc(100dvh - 20px); padding: 34px 20px 24px; border-radius: 28px; transform: translateY(32px) scale(.99); }
	.vx-contact-popup__close { top: 14px; right: 14px; width: 38px; height: 38px; }
	.vx-contact-popup__close span::before,
	.vx-contact-popup__close span::after { left: 10px; top: 18px; }
	.vx-contact-popup__eyebrow { margin-right: 46px; font-size: 11px; }
	.vx-contact-popup__content h2,
	.vx-contact-popup__success h2 { font-size: clamp(34px, 11vw, 46px); }
	.vx-contact-popup__intro { margin: 10px 0 22px; font-size: 14px; line-height: 1.45; }
	.vx-contact-popup__form { grid-template-columns: 1fr; gap: 12px; }
	.vx-contact-popup__field--phone,
	.vx-contact-popup__field--message,
	.vx-contact-popup__submit,
	.vx-contact-popup__status { grid-column: 1; }
	.vx-contact-popup__field label { margin-bottom: 6px; }
	.vx-contact-popup__field input { min-height: 49px; }
	.vx-contact-popup__field textarea { min-height: 84px; }
	.vx-contact-popup__submit { min-height: 54px; }
	.vx-contact-popup__success { min-height: 390px; }
}

@media (max-height: 720px) and (min-width: 768px) {
	.vx-contact-popup { padding: 18px; }
	.vx-contact-popup__dialog { max-height: calc(100dvh - 36px); padding: 34px 42px 28px; }
	.vx-contact-popup__content h2 { font-size: 40px; }
	.vx-contact-popup__intro { margin-bottom: 20px; }
	.vx-contact-popup__field input { min-height: 49px; }
	.vx-contact-popup__field textarea { min-height: 82px; }
	.vx-contact-popup__submit { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
	.vx-contact-popup,
	.vx-contact-popup__dialog,
	.vx-contact-popup__close,
	.vx-contact-popup__submit { transition: none; }
}
