/* helveticaneuecyr Roman */
@font-face {
  font-family: "Helveticaneuecyr Roman";
  src: url("../fonts/helveticaneuecyr Roman.eot");
  src: url("../fonts/helveticaneuecyr Roman.eot?#iefix") format("embedded-opentype"), url("../fonts/helveticaneuecyr Roman.woff") format("woff"), url("../fonts/helveticaneuecyr Roman.ttf") format("truetype"), url("../fonts/helveticaneuecyr Roman.svg#helveticaneuecyr Roman") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* SegoeUIRegular */
@font-face {
  font-family: "SegoeUIRegular";
  src: url("../fonts/SegoeUIRegular.eot");
  src: url("../fonts/SegoeUIRegular.eot?#iefix") format("embedded-opentype"), url("../fonts/SegoeUIRegular.woff") format("woff"), url("../fonts/SegoeUIRegular.ttf") format("truetype"), url("../fonts/SegoeUIRegular.svg#SegoeUIRegular") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* SegoeUISemiBold */
@font-face {
  font-family: "SegoeUISemiBold";
  src: url("../fonts/SegoeUISemiBold.eot");
  src: url("../fonts/SegoeUISemiBold.eot?#iefix") format("embedded-opentype"), url("../fonts/SegoeUISemiBold.woff") format("woff"), url("../fonts/SegoeUISemiBold.ttf") format("truetype"), url("../fonts/SegoeUISemiBold.svg#SegoeUISemiBold") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* HelveticaNeueCyr-Thin */
@font-face {
  font-family: "HelveticaNeueCyr-Thin";
  src: url("../fonts/HelveticaNeueCyr-Thin.eot");
  src: url("../fonts/HelveticaNeueCyr-Thin.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueCyr-Thin.woff") format("woff"), url("../fonts/HelveticaNeueCyr-Thin.ttf") format("truetype"), url("../fonts/HelveticaNeueCyr-Thin.svg#HelveticaNeueCyr-Thin") format("svg");
  font-weight: normal;
  font-style: normal;
}

.material-form {
	padding: 0 30px;
	background-color: transparent;
}

.material-form .input-block {
	background-color: transparent;
	border-bottom: solid 2px #fff;
	width: 100%;
	height: 50px;
	padding: 0;
	position: relative;
	margin-bottom: 22px;
	transition: all 0.3s ease-out;
}

.material-form .input-block::before {
	content: '';
	position: absolute;
	left: 50%;
	width: 0%;
	bottom: -2px;
	height: 2px;
	transition: all 0.3s ease-out;
	background-color: #448387;
}

.material-form .input-block.focus {
	border-color: transparent;
}

.material-form .input-block.focus label {
	color: #fff;
	top: 0;
	font-size: 14px;
}

.material-form .input-block.focus::before {
	left: 0%;
	width: 100%;
}

.material-form .input-block.has-value {
	background-color: transparent;
}

.material-form .input-block.has-value label {
	top: 0;
	font-size: 13px;
}

.material-form .input-block.error::before {
	left: 0%;
	width: 100%;
	background-color: #a6515e;
}

.material-form .input-block.true-decision::before {
	left: 0%;
	width: 100%;
	background-color: #448387;
}

.material-form .input-block.textarea {
	margin-bottom: 70px;
	height: auto;
}

.material-form .input-block.textarea .form-control {
	height: auto;
	resize: none;
	padding-top: 20px;
	font-family: 'Roboto', sans-serif;
}

.material-form .input-block.floating-field {
	padding: 2px 0 0;
	height: 62px;
}

.material-form .input-block.floating-field.textarea {
	height: auto;
}

.material-form .input-block label, .select-block label {
	position: absolute;
	left: 0;
	top: 29px;
	width: 100%;
	height: 20px;
	margin: 0;
	z-index: 1;
	color: #fff;
	font: 18px/20px "Helveticaneuecyr Roman";
	font-weight: normal;
	text-transform: uppercase;
	transition: all ease-out 0.3s;
	white-space: nowrap;
	overflow: hidden;
}

.material-form .textarea label {
	top: 34px;
	width: 450px;
}

.material-form .input-block .form-control {
	background-color: transparent;
	padding: 4px 0 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
	height: 100%;
	width: 450px;
	position: relative;
	z-index: 2;
	font-size: 18px;
	font-weight: 500;
	color: #fff;
}

.material-form .input-block .form-control:focus {
	outline: none;
}

.material-form .input-block .form-control:focus label {
	top: 0;
}

.material-form .error-label {
	color: #d50000;
	margin-top: -15px;
	font-size: 14px;
	margin-bottom: 10px;
}

.material-form .form-note {
	font-size: 13px;
	color: #7c7c7c;
	margin-top: -15px;
	margin-bottom: 15px;
}

.material-form .square-button {
	color: #fff;
	font: 15px/20px "SegoeUIRegular";
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	height: 60px;
	border: none;
	cursor: pointer;
	width: 100%;
}


.material-form .square-button:hover, .material-form .square-button:focus {
	background-color: #00af48;
}

/*dropdown list as ul li method*/
.select-block {
	background-color: transparent;
	width: 100%;
	position: relative;
	border-radius: 0;
}

.select-block label {
	position: absolute;
	left: 0;
	top: 32px;
	height: 20px;
	width: 100%;
	border-radius: 0;
	margin: 0;
	z-index: 1;
	white-space: nowrap;
	overflow: hidden;
	transition: all 0.3s ease-out;
}

.select-block .active-list {
	width: 100%;
	height: 62px;
	padding: 0;
	color: #c9c9c9;
	position: relative;
	z-index: 2;
	font-weight: 500;
	cursor: pointer;
	font-size: 0;
	white-space: nowrap;
	overflow: hidden;
	padding-right: 20px;
	box-sizing: border-box;
}

.select-block .active-list:after {
	content: "";
	background: transparent url(../images/form/check-circle.png);
	background-repeat: no-repeat;
    display: block;
    width: 22px;
    height: 52px;
    background-position: center;
	position: absolute;
	right: 0;
	top: 50%;
	text-align: left;
	margin-top: -26px;
}

.select-block.added label {
	top: 0;
	font-size: 13px;
}

.select-block.added .active-list {
	color: #fff;
	font-size: 18px;
}

.select-block.added.focus label {
	top: 0;
}

.select-block.focus label {
	top: 0;
	font-size: 13px;
	color: #fff;
}

.select-block.focus .active-list {
	font-size: 18px;
}

.select-block.focus .custom-select {
	border-color: #fff;
}

.select-block.focus .active-list:after {
	content: "";
	transform: rotate(180deg);
	background: transparent url(../images/form/check-circle.png);
	background-repeat: no-repeat;
    display: block;
    width: 22px;
    height: 52px;
    background-position: center;
}

.select-block.focus .custom-select::before {
	left: 0%;
	width: 100%;
}

.select-block .custom-select {
	border-bottom: solid 2px #fff;
	display: inline-block;
	height: 62px;
	position: relative;
	padding: 0;
	width: 100%;
	line-height: 52px;
}

.select-block .custom-select::before {
	content: '';
	position: absolute;
	left: 50%;
	width: 0%;
	bottom: -2px;
	height: 2px;
	transition: all 0.3s ease-out;
	background-color: #448387;
}

.select-block .custom-select.error::before {
	left: 0%;
    width: 100%;
    background-color: #a6515e;
}

.select-block .custom-select .list-field {
	width: 100%;
	height: 52px;
	padding: 0 15px;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.select-block .custom-select .drop-down-list {
	width: 100%;
	height: auto;
	overflow-x: auto;
	z-index: 99;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 100%;
	margin-top: 2px;
	left: 0;
	background-color: white;
	display: none;
	box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.117647) 0px 1px 4px;
}

.select-block .custom-select .drop-down-list li {
	font: 15px/20px "SegoeUIRegular";
	color: #323232;
	padding: 20px;
	cursor: pointer;
	background-color: #fff;
	border-bottom: 1px solid #f8f8f8;
	transition: all 0.3s ease-out;
}


.select-block .custom-select .drop-down-list li input[type="checkbox"] {
	margin: 0;
	margin-right: 8px;
	position: relative;
	top: 1px;
}

.select-block .custom-select .drop-down-list li label {
	font-weight: normal;
	cursor: pointer;
	display: block;
}

.select-block .custom-select .drop-down-list li:hover {
	color: #323232;
	background-color: #ebebeb;
}

.select-block .custom-select .drop-down-list .add-new {
	border-top: solid 1px #c8c8c8;
	padding: 15px;
	color: #7c7c7c;
}

.select-block .custom-select .drop-down-list .add-new i {
	font-size: 16px;
	margin-top: 3px;
	color: #7c7c7c;
}

/*----page styles---*/

.contact-wrap {
	margin: auto;
	padding-top: 90px;
	padding-bottom: 60px;
	max-width: 1000px;
}

.made-with-love {
	margin-top: 40px;
	padding: 10px;
	clear: left;
	text-align: center;
	font-size: 10px;
	font-family: arial;
	color: #fff;
}

.made-with-love i {
	font-style: normal;
	color: #fff;
	font-size: 14px;
	position: relative;
	top: 2px;
}

.made-with-love a {
	color: #fff;
	text-decoration: none;
}

.made-with-love a:hover {
	text-decoration: underline;
}

.active-list {
	color: #fff;
	font: 15px/62px "SegoeUIRegular";
}

.form-wrap {
  padding-top: 90px;
  background: #323232;
}
.flex-row {
  display: flex;
}
.flex-column {
  flex: 1 1 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flex-column > div+div {
  margin-top: 20px;
}

.flex-column:first-child {
  margin-right: 20px;
}
.flex-column:last-child {
  margin-left: 20px;
}
.line-form {
  position: absolute;
  left: 50%;
  width: 0%;
  bottom: -2px;
  height: 2px;
  transition: all 0.3s ease-out;
  background-color: #448387;
  transform: translateX(-50%);
}
.select-block.focus .custom-select {
  border-color: transparent;
}

/* upload */
.attach-doc {
  display: inline-block;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}
/* leave this part out */
/* leave this part out */
.btn-file {
  overflow: hidden;
  position: relative;
  vertical-align: middle;
  margin: auto;
}
.btn-file > input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  transform: translate(-300px, 0) scale(4);
  font-size: 23px;
  direction: ltr;
  cursor: pointer;
}
.fileupload {
  margin-bottom: 9px;
}
.fileupload-exists .fileupload-new,
.fileupload-new .fileupload-exists {
  display: none;
}
.upload-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
}
.clip { 
  background: url(../images/form/clip.png) no-repeat right center;
  padding-right: 35px;
  height: 25px;
  display: block;
  line-height: 25px;
}
.fileupload-new p {
  position: relative;
  height: 100%;
  font: 15px/20px "SegoeUISemiBold";
  color: #fff;
	box-sizing: border-box;
	border-bottom: 2px dashed #fff;
	transition: all .3s ease;
}
.fileupload-new:hover .clip p {
	border-bottom: 2px dashed transparent;
}
.fileupload-preview {
  color: #848484;
  font: 15px/20px "SegoeUISemiBold";
}
.close {
  text-decoration: none;
  color: #fff;
  font-size: 27px;
  display: inline-block;
  margin-left: 15px;
}
.upload-flex {
  display: flex;
}
.free-calculation {
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  font: 32px/1 "HelveticaNeueCyr-Thin";
}

.wrap-submit {
	position: relative;
	margin: auto;
	margin-top: 5%;
	width: 230px;
	text-align: center;
}

.btn-submit {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 55px;
	padding: 0 15px;
	width: 230px;
	background: #323232;
	margin: auto;
	border: 2px solid #323232;
	font: 15px/1 "SegoeUIRegular";
	color: #fff;
	font-weight: normal;
	cursor: pointer;
	outline: none;
	text-align: center;
	box-sizing: border-box;
	transition: all 0.4s;
}

.btn-submit:hover {
  color: #fff;
  background: #111;
  border-color: #111;
}

.wrap-submit .check-bg {
	background: url(../images/form/check.png) no-repeat center;
	position: absolute;
	display: none;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.wrap-submit svg {
	transform: rotate(270deg);
	position: absolute;
	top: -2px;
	left: 0;
	right: 0;
	margin: 0 auto;
	display: none;
}

.wrap-submit svg .circle_2 {
	stroke-dasharray: 0 200;
}

.wrap-submit svg .fill_circle {
	animation: fill-stroke 1.5s .4s linear forwards;
}

.wrap-submit .circle {
	width: 55px;
	border-radius: 27.5px;
	border: 3px solid transparent;
}

.wrap-submit .circle:hover {
	background: none;
}

.wrap-submit .filled {
	background: #fff;
	line-height: 55px;
	font-size: 160%;
}

.contact-telegram-note {
	margin-top: 24px;
	font: 16px/1.6 "SegoeUIRegular";
	color: rgba(255, 255, 255, 0.85);
}

.contact-telegram-note a {
	color: #fff;
	text-decoration: underline;
}

.contact-telegram-note a:hover {
	text-decoration: none;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.contact-form .form-grid {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.contact-form .input-block {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 0;
}

.contact-form .input-block label {
	position: static;
	font: 13px/1.4 "SegoeUISemiBold";
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.72);
}

.contact-form .input-group {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(12px);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form .input-group:focus-within {
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.form-input,
.form-textarea {
	flex: 1 1 auto;
	width: 100%;
	border: none;
	background: transparent;
	color: #fff;
	font: 17px/1.4 "SegoeUIRegular";
	outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
	padding: 4px 0;
}

.input-group-textarea {
	align-items: flex-start;
	padding-top: 18px;
	padding-bottom: 18px;
}

.contact-form .input-block.textarea {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.contact-form .form-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.contact-form .input-block:nth-child(3),
	.contact-form .input-block:nth-child(4) {
		grid-column: span 2;
	}
}

@media (max-width: 767px) {
	.contact-form .input-group {
		border-radius: 16px;
		padding: 12px 16px;
	}

	.form-textarea {
		min-height: 100px;
	}
}

/* Contact form spacing overrides */
.contact-form {
	gap: 32px;
	padding: 8px 0 12px;
}

.contact-form .form-grid {
	gap: 36px;
}

.contact-form .input-block {
	position: static;
	gap: 18px;
}

.contact-form .input-block label {
	position: static;
	width: 100%;
	color: rgba(255, 255, 255, 0.78);
	font: 14px/1.5 "SegoeUISemiBold";
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.contact-form .input-group {
	padding: 18px 22px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(16px);
}

.contact-form .input-group:focus-within {
	border-color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.contact-form .form-input,
.contact-form .form-textarea {
	font: 18px/1.5 "SegoeUIRegular";
	color: #fff;
}

.contact-form .form-textarea {
	min-height: 140px;
	padding: 8px 0;
}

.contact-form .input-group-textarea {
	padding-top: 24px;
	padding-bottom: 24px;
}

@media (max-width: 767px) {
	.contact-form {
		gap: 28px;
	}

	.contact-form .form-grid {
		gap: 28px;
	}

	.contact-form .input-block {
		gap: 14px;
	}

	.contact-form .input-group {
		padding: 16px 18px;
		border-radius: 18px;
	}
}

@keyframes fill-stroke {
	0% {
		stroke-dasharray: 0 200;
	}

	20% {
		stroke-dasharray: 20 200;
	}

	40% {
		stroke-dasharray: 30 200;
	}

	50% {
		stroke-dasharray: 90 200;
	}

	70% {
		stroke-dasharray: 120 200;
	}

	90% {
		stroke-dasharray: 140 200;
	}

	100% {
		stroke-dasharray: 182 200;
	}
}

body.modal-open {
	overflow: hidden;
}

.games-modal {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.28s ease, visibility 0.28s ease;
	visibility: hidden;
}

.games-modal.is-open {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.games-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.games-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(92%, 720px);
	max-height: none;
	overflow: visible;
	background: #ffffff;
	border-radius: 32px;
	padding: 48px;
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.24);
	transform: translate3d(0, 32px, 0);
	transition: transform 0.28s ease;
}

.games-modal.is-open .games-modal__dialog {
	transform: translate3d(0, 0, 0);
}

.games-modal__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.04);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.25s ease;
}

.games-modal__close span {
	position: absolute;
	display: block;
	width: 18px;
	height: 2px;
	background: #111111;
	border-radius: 1px;
}

.games-modal__close span:first-child {
	transform: rotate(45deg);
}

.games-modal__close span:last-child {
	transform: rotate(-45deg);
}

.games-modal__close:hover {
	background: rgba(0, 0, 0, 0.08);
	transform: rotate(90deg);
}

.games-modal__header {
	margin-bottom: 32px;
}

.games-modal__header h2 {
	margin: 0 0 12px;
	font-size: 32px;
	line-height: 1.3;
	color: #111111;
}

.games-modal__header p {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: #4b4b4b;
}

.games-modal__form .contact-form {
	margin-bottom: 24px;
}

.games-modal__status {
	display: none;
	margin-top: 18px;
	padding: 14px 18px;
	border-radius: 16px;
	font-size: 15px;
	line-height: 1.6;
	background: rgba(24, 160, 88, 0.12);
	color: #11663a;
}

.games-modal__status.is-visible {
	display: block;
}

.games-modal__status.is-error {
	background: rgba(214, 38, 62, 0.12);
	color: #891321;
}

.contact-form--modal {
	gap: 28px;
	padding: 0;
	color: #111;
}

.contact-form--modal .form-grid {
	gap: 28px;
}

.contact-form--modal .input-block {
	gap: 10px;
}

.contact-form--modal .input-block label {
	color: #313131;
	letter-spacing: 0.05em;
}

.contact-form--modal .input-group {
	padding: 16px 18px;
	border-radius: 16px;
	border: 1px solid rgba(17, 17, 17, 0.12);
	background: rgba(250, 250, 250, 0.92);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form--modal .input-group:focus-within {
	border-color: rgba(14, 110, 255, 0.4);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 0 0 4px rgba(14, 110, 255, 0.1);
}

.contact-form--modal .form-input,
.contact-form--modal .form-textarea {
	color: #111;
	background: transparent;
	caret-color: #111;
}

.contact-form--modal.material-form .input-block .form-control {
	color: #111;
}

.contact-form--modal.material-form .input-block .form-control::placeholder {
	color: rgba(17, 17, 17, 0.45);
}

.contact-form--modal .form-input::placeholder,
.contact-form--modal .form-textarea::placeholder {
	color: rgba(17, 17, 17, 0.45);
}

.contact-form--modal .input-group-textarea {
	padding-top: 18px;
	padding-bottom: 18px;
}

.contact-form--modal .form-textarea {
	min-height: 120px;
	padding: 4px 0;
}

.contact-form--modal .contact-telegram-note p {
	color: #424242;
	font-size: 15px;
	line-height: 1.6;
}

.contact-form--modal .contact-telegram-note a {
	color: #0e6eff;
}

.contact-form--modal .wrap-submit {
	width: 100%;
	margin: 12px 0 0;
}

.contact-form--modal .btn-submit {
	width: 100%;
	border-radius: 16px;
	border: 1px solid #323232;
	background: #323232;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	height: 56px;
}

.contact-form--modal .btn-submit:hover {
	background: #111111;
	color: #ffffff;
}

.contact-form--modal .btn-submit circle {
	stroke: rgba(255, 255, 255, 0.75);
}

.contact-form--modal .wrap-submit .check-bg {
	filter: invert(0) brightness(100%);
}

.contact-form--modal .wrap-submit svg {
	top: 6px;
}

.wrap-submit .btn-submit[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.wrap-submit .btn-submit[disabled] p {
	opacity: 0.7;
}

@media (max-width: 768px) {
	.games-modal__dialog {
		width: min(96%, 560px);
		padding: 32px 24px 36px;
		border-radius: 24px;
		max-height: 90vh;
		overflow-y: auto;
	}

	.games-modal__header h2 {
		font-size: 26px;
	}

	.games-modal__header p {
		font-size: 16px;
	}

	.games-modal__close {
		top: 14px;
		right: 14px;
	}

	.contact-form--modal {
		gap: 24px;
	}

	.contact-form--modal .form-grid {
		gap: 24px;
	}

	.contact-form--modal .input-group {
		padding: 14px 16px;
	}

	.contact-form--modal .btn-submit {
		height: 52px;
	}
}