/* Vuolia global contact modal. */

.vl-contact-modal,
.vl-contact-modal * {
	box-sizing: border-box;
}

.vl-contact-modal[hidden],
.vl-contact-modal [hidden] {
	display: none !important;
}

.vl-contact-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 20px;
	font-family: "Poppins", Arial, sans-serif;
	color: #17171a;
}

.vl-contact-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 12, 14, 0.72);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	transition: opacity 220ms ease;
}

.vl-contact-panel {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(300px, 0.76fr) minmax(500px, 1.24fr);
	width: min(980px, 100%);
	max-height: calc(100dvh - 40px);
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 26px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32), 0 8px 30px rgba(0, 0, 0, 0.16);
	opacity: 0;
	transform: translateY(14px) scale(0.985);
	transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vl-contact-modal.is-open .vl-contact-backdrop {
	opacity: 1;
}

.vl-contact-modal.is-open .vl-contact-panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.vl-contact-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 40px 36px 36px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 0 0, rgba(242, 119, 73, 0.2), transparent 40%),
		linear-gradient(145deg, #1e1e21 0%, #121214 100%);
}

.vl-contact-intro::after {
	position: absolute;
	right: -90px;
	bottom: -100px;
	width: 260px;
	height: 260px;
	border: 1px solid rgba(242, 119, 73, 0.14);
	border-radius: 50%;
	box-shadow: 0 0 0 42px rgba(242, 119, 73, 0.035), 0 0 0 84px rgba(242, 119, 73, 0.02);
	content: "";
	pointer-events: none;
}

.vl-contact-logo {
	position: relative;
	z-index: 1;
	display: block;
	width: 98px;
	height: auto;
	margin: 0;
}

.vl-contact-intro-copy {
	position: relative;
	z-index: 1;
	margin: 72px 0 42px;
}

.vl-contact-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 15px;
	color: #f58a62;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}

.vl-contact-kicker::before {
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
}

.vl-contact-intro h2 {
	max-width: 280px;
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(29px, 3vw, 38px);
	font-weight: 650;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.vl-contact-intro-copy p {
	max-width: 290px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.7;
}

.vl-contact-details {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
	margin-top: auto;
}

.vl-contact-detail {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 12px;
	color: #fff;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 13px;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.vl-contact-detail:hover,
.vl-contact-detail:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(242, 119, 73, 0.4);
	transform: translateY(-1px);
}

.vl-contact-detail-icon {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	color: #f58a62;
	background: rgba(242, 119, 73, 0.11);
	border-radius: 10px;
}

.vl-contact-detail-icon svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

.vl-contact-detail > span:last-child {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.vl-contact-detail small {
	color: rgba(255, 255, 255, 0.48);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.vl-contact-detail strong {
	overflow: hidden;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vl-contact-form-side {
	position: relative;
	min-width: 0;
	padding: 40px 42px 38px;
	overflow-y: auto;
	background: #fff;
}

.vl-contact-close {
	position: absolute;
	top: 22px;
	right: 22px;
	z-index: 2;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	color: #55555d;
	background: #f5f5f7;
	border: 1px solid #e8e8ec;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: none;
	transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.vl-contact-close:hover,
.vl-contact-close:focus-visible {
	color: #151517;
	background: #eeeeF1;
	transform: rotate(4deg);
}

.vl-contact-close svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.vl-contact-form-heading {
	padding-right: 48px;
	margin: 0 0 26px;
}

.vl-contact-form-heading h3,
.vl-contact-success h3 {
	margin: 0;
	color: #17171a;
	font-family: inherit;
	font-size: 25px;
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.vl-contact-form-heading p {
	margin: 7px 0 0;
	color: #717178;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.55;
}

.vl-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px 14px;
	margin: 0;
}

.vl-contact-field {
	display: flex;
	min-width: 0;
	flex-direction: column;
	margin: 0;
}

.vl-contact-field--full {
	grid-column: 1 / -1;
}

.vl-contact-field label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 7px;
	color: #29292e;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.3;
}

.vl-contact-field label span {
	margin-right: auto;
	color: #ec7144;
}

.vl-contact-field label em {
	color: #9a9aa1;
	font-size: 9px;
	font-style: normal;
	font-weight: 500;
}

.vl-contact-field input,
.vl-contact-field textarea {
	width: 100%;
	margin: 0;
	color: #1f1f23;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	background: #f7f7f9;
	border: 1px solid #e2e2e7;
	border-radius: 11px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
	outline: none;
	transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.vl-contact-field input {
	height: 47px;
	padding: 0 13px;
}

.vl-contact-field textarea {
	min-height: 108px;
	padding: 11px 13px;
	resize: vertical;
}

.vl-contact-field input:hover,
.vl-contact-field textarea:hover {
	border-color: #d5d5db;
}

.vl-contact-field input:focus,
.vl-contact-field textarea:focus {
	background: #fff;
	border-color: #ee8158;
	box-shadow: 0 0 0 3px rgba(238, 129, 88, 0.13);
}

.vl-contact-field.is-invalid input,
.vl-contact-field.is-invalid textarea {
	background: #fffafa;
	border-color: #d84f4f;
	box-shadow: 0 0 0 3px rgba(216, 79, 79, 0.09);
}

.vl-contact-field-error {
	display: block;
	min-height: 0;
	margin: 4px 2px 0;
	color: #c53d3d;
	font-size: 9.5px;
	font-weight: 500;
	line-height: 1.35;
}

.vl-contact-field-error:empty {
	display: none;
}

.vl-contact-form-error {
	padding: 10px 12px;
	color: #a62f2f;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.45;
	background: #fff1f1;
	border: 1px solid #f2cccc;
	border-radius: 9px;
}

.vl-contact-submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 48px;
	margin: 1px 0 0;
	padding: 0 20px;
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 650;
	line-height: 1;
	background: linear-gradient(135deg, #f4875f 0%, #ec7043 100%);
	border: 0;
	border-radius: 11px;
	box-shadow: 0 8px 18px rgba(224, 91, 43, 0.2);
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.vl-contact-submit:hover,
.vl-contact-submit:focus-visible {
	color: #fff;
	filter: saturate(1.06) brightness(1.02);
	box-shadow: 0 11px 24px rgba(224, 91, 43, 0.26);
	transform: translateY(-1px);
}

.vl-contact-submit:active {
	transform: translateY(0);
}

.vl-contact-submit:disabled {
	cursor: wait;
	opacity: 0.78;
	transform: none;
}

.vl-contact-submit svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.vl-contact-submit i {
	display: none;
	width: 17px;
	height: 17px;
	border: 2px solid rgba(255, 255, 255, 0.42);
	border-top-color: #fff;
	border-radius: 50%;
	animation: vl-contact-spin 650ms linear infinite;
}

.vl-contact-submit.is-loading svg {
	display: none;
}

.vl-contact-submit.is-loading i {
	display: block;
}

.vl-contact-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.vl-contact-success {
	display: flex;
	min-height: 390px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 50px 20px 20px;
	text-align: center;
}

.vl-contact-success-icon {
	display: grid;
	width: 66px;
	height: 66px;
	margin-bottom: 22px;
	place-items: center;
	color: #fff;
	background: linear-gradient(135deg, #f4875f, #ec7043);
	border-radius: 50%;
	box-shadow: 0 10px 24px rgba(224, 91, 43, 0.22);
}

.vl-contact-success-icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.vl-contact-success p {
	max-width: 330px;
	margin: 10px 0 24px;
	color: #717178;
	font-size: 12.5px;
	line-height: 1.6;
}

.vl-contact-success button {
	min-width: 120px;
	height: 43px;
	padding: 0 22px;
	color: #fff;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	background: #1c1c1f;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

body.vl-contact-open {
	overflow: hidden;
}

@keyframes vl-contact-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
	.vl-contact-modal {
		display: block;
		padding: 0;
		overflow: hidden;
	}

	.vl-contact-panel {
		display: block;
		grid-template-columns: 1fr;
		width: 100%;
		height: 100dvh;
		max-height: 100dvh;
		margin: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.vl-contact-intro {
		padding: 26px 24px 24px;
	}

	.vl-contact-logo {
		width: 88px;
	}

	.vl-contact-intro-copy {
		margin: 34px 0 24px;
	}

	.vl-contact-intro h2 {
		max-width: 440px;
		font-size: 30px;
	}

	.vl-contact-intro-copy p {
		max-width: 470px;
		margin-top: 12px;
	}

	.vl-contact-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vl-contact-form-side {
		padding: 30px 24px 26px;
		overflow: visible;
	}

	.vl-contact-close {
		top: 18px;
		right: 18px;
		color: rgba(255, 255, 255, 0.8);
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.14);
	}

	.vl-contact-close:hover,
	.vl-contact-close:focus-visible {
		color: #fff;
		background: rgba(255, 255, 255, 0.14);
		transform: rotate(4deg);
	}
}

@media (max-width: 540px) {
	.vl-contact-modal {
		padding: 0;
	}

	.vl-contact-panel {
		border-radius: 0;
	}

	.vl-contact-intro {
		padding: 23px 20px 20px;
	}

	.vl-contact-logo {
		width: 82px;
	}

	.vl-contact-intro-copy {
		margin: 28px 0 20px;
	}

	.vl-contact-kicker {
		margin-bottom: 11px;
		font-size: 9.5px;
	}

	.vl-contact-intro h2 {
		padding-right: 36px;
		font-size: 26px;
		line-height: 1.1;
	}

	.vl-contact-intro-copy p {
		font-size: 11.5px;
		line-height: 1.55;
	}

	.vl-contact-details {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.vl-contact-detail {
		padding: 9px 10px;
	}

	.vl-contact-detail-icon {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.vl-contact-form-side {
		padding: 27px 20px 22px;
	}

	.vl-contact-close {
		top: 15px;
		right: 15px;
		width: 38px;
		height: 38px;
	}

	.vl-contact-close:hover,
	.vl-contact-close:focus-visible {
		transform: rotate(4deg);
	}

	.vl-contact-form-heading {
		padding-right: 0;
		margin-bottom: 22px;
	}

	.vl-contact-form-heading h3 {
		font-size: 22px;
	}

	.vl-contact-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 13px 10px;
	}

	.vl-contact-field--full {
		grid-column: 1 / -1;
	}

	.vl-contact-field input {
		height: 46px;
	}

	.vl-contact-field textarea {
		min-height: 104px;
	}

	.vl-contact-submit {
		height: 47px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vl-contact-backdrop,
	.vl-contact-panel,
	.vl-contact-detail,
	.vl-contact-close,
	.vl-contact-submit {
		transition: none;
	}
}
