/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	font-family: Inter;
	background: #F6F6F6;
}

.container {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

.main-header {
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #EFEFEFCC;

}

.services-selector {
	position: relative;
}

.main-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.services-selector__head {
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	line-height: 19px;
	font-weight: 500;
	cursor: pointer;
}

.services-selector__list {
	position: absolute;
	top: 100%;
	right: 0;
	padding: 8px 18px 8px;
	box-shadow: 0px 16px 16px 0px #07021B0D;

	box-shadow: 0px 3px 12px 0px #0000000D;
	border-radius: 12px;
	overflow-y: auto;
	height: 427px;
	min-width: 427px;
	background: #fff;
	display: none;
}

.services-selector:hover img {
	transform: rotate(180deg);
}

.services-selector:hover .services-selector__list {
	display: block;
}

.services-selector__list a {
	padding: 12px 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 28px;
	border-radius: 8px;
	color: #000000;
	text-decoration: none;
}

.services-selector__list a .ic {
	display: flex;
	align-items: center;
}

.services-selector__list a:hover {
	background-color: #F6F6F6;
}


.services-selector__list::-webkit-scrollbar,
.nice-select .list::-webkit-scrollbar {
	width: 4px;
	/* ширина всей полосы прокрутки */
}

.services-selector__list::-webkit-scrollbar-track,
.nice-select .list::-webkit-scrollbar-track {
	background: #fff;
	/* цвет зоны отслеживания */
}

.services-selector__list::-webkit-scrollbar-thumb,
.nice-select .list::-webkit-scrollbar-thumb {
	background-color: #A3A3A3;
	/* цвет бегунка */
	border-radius: 62px;
	/* округлось бегунка */

	/* отступ вокруг бегунка */
}


.main-footer {
	padding-top: 64px;
	padding-bottom: 16px;
	background-color: #0F1D34;
}

.main-footer-bottom {
	font-size: 12px;
	line-height: 24px;
	color: #fff;
	opacity: .5;
	padding-top: 16px;
	border-top: 1px solid #fff;
	text-align: center;
}

.main-footer-top {
	padding-top: 64px;
	padding-bottom: 64px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 85px;
}

.flist-head {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	display: block;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	margin-bottom: 24px;
	color: #fff;
}

.flist ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.flist ul li a {
	font-size: 16px;
	line-height: 24px;
	color: #fff;
	text-decoration: none;
}

.flist ul li a:hover {
	opacity: .5;
}

.services-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px 30px;
}

.services-list a {
	padding: 24px;
	border-radius: 24px;
	background: #fff;
	display: block;
}

.services-list a .ic img {
	width: 40px;
}

.services-list a .ic {
	margin-bottom: 16px;
}

.services-list a {
	font-size: 22px;
	line-height: 28px;
	font-weight: 600;
	color: #000;
	text-decoration: none;
}


.services-list a p {
	font-size: 16px;
	line-height: 24px;
	margin-top: 16px;
	font-weight: 400;
}

.home-main {
	padding-bottom: 150px;
}

.hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	margin-top: 6px;
}

.hero h1 {
	font-family: "Playfair Display SC";
	font-size: 80px;
	line-height: 96px;
	font-weight: 900;
}

.hero h1 span {
	background-color: #166df8;
	color: #fff;
	display: inline-block;
	padding: 0 5px;
}

* {
	box-sizing: border-box;
}


.main {
	padding-top: 48px;
	padding-bottom: 118px;
}

@media (max-width: 1240px) {
	.hero {
		margin-bottom: 40px;
	}

	.services-list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 25px 30px;
	}
}


@media (max-width: 960px) {
	.main-footer-top {
		padding-top: 34px;
		padding-bottom: 34px;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 45px;
		text-align: center;
	}


	.hero img {
		display: none;
	}

	.services-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 25px 30px;
	}

	.hero h1 {
		font-family: "Playfair Display SC";
		font-size: 60px;
		line-height: 80px;
		font-weight: 900;
	}
}


@media (max-width: 768px) {
	.services-list {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 25px 30px;
	}

	.hero h1 {
		font-family: "Playfair Display SC";
		font-size: 36px;
		line-height: 50px;
		font-weight: 900;
	}


}

@media (max-width: 420px) {
	.services-selector__list {
		width: 300px;
		min-width: 300px;
	}
}


.field-box {
	padding: 48px;
	background: #FFFFFF;
	border-radius: 24px;
}

.field-box h1 {
	font-size: 32px;
	line-height: 44px;
	font-weight: 600;
	margin-bottom: 32px;
}

.field {
	border-radius: 16px;
	border: 1px solid #DBDBDB;
	padding: 24px;
	background: #F8F8F8;
	min-height: 340px;
	resize: vertical;
	width: 100%;
	font-family: Inter;
	font-size: 16px;
	line-height: 22px;
	color: #000;
}

.field::placeholder {
	font-size: 16px;
	line-height: 24px;
	color: #9E9E9E;
	font-family: Inter;
}

.field-info {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

.info-box {
	border: 1px solid #DBDBDB;
	min-height: 34px;
	border-radius: 6px;
	font-size: 12px;
	line-height: 18px;
	color: #000;

	display: flex;
	align-items: center;

}

.info-box span {
	padding: 8px;
	height: 100%;
}

.info-box div {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	background: #166DF8;
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	border-radius: 0 6px 6px 0;
}

.nice-select {
	background-color: #F6F6F6 !important;
	color: #000 !important;
	padding-left: 12px;
	padding-right: 32px;
}

.nice-select:after {
	border-bottom: 2px solid #166DF8;
	border-right: 2px solid #166DF8;
	content: '';
	display: block;
	height: 8px;
	margin-top: -6px;
	pointer-events: none;
	position: absolute;
	right: 18px;
	top: 50%;
	-webkit-transform-origin: 66% 66%;
	-ms-transform-origin: 66% 66%;
	transform-origin: 66% 66%;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
	width: 8px;
}

.nice-select .list {
	padding: 8px;
	height: 298px;
	overflow-y: auto;
	min-width: 132px;
}

.nice-select .option {
	line-height: 34px;
	min-height: 34px;
	padding-left: 8px;
	padding-right: 8px;
}

.quick-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
	color: #166DF8;
	padding: 12px;
	border: 1px solid #166DF8;
	border-radius: 8px;
	justify-content: center;
	text-decoration: none;
}

.quick-buttons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-top: 64px;
}

.clear-field {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 22px;
	color: #E93030;
	padding: 0;
	border: none;
	background: none;
	margin-left: auto;
	cursor: pointer;
}

.clear-field:not(.active) {
	opacity: 0;
}


.field-container {
	position: relative;
}

.field-overflow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(246, 246, 246, 0.95);
	border-radius: 16px;
	border: 1px solid #DBDBDB;
	padding: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}


.field-overflow strong {
	font-size: 32px;
	line-height: 32px;
	font-weight: 700;
	color: #166DF8;
	display: block;
	margin-bottom: 12px;
}

.field-overflow p {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	max-width: 630px;
	text-align: center;
}

.input-wrap {
	display: grid;
	grid-template-columns: 1fr 200px;
	max-width: 630px;
	width: 100%;
	gap: 8px;
	margin-top: 24px;
}

.check-block {
	max-width: 630px;
}

.input-wrap input {
	border: 1px solid #F6F6F6;
	height: 48px;
	background: #fff;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: bold;
	font-size: 18px;
}

.input-wrap input::placeholder {
	font-size: 16px;
	line-height: 24px;
}


.ac-btn {
	font-size: 14px;
	line-height: 18px;
	border-radius: 8px;
	background: #45BE43;
	padding: 12px 16px;
	border: none;
	color: #fff;
	cursor: pointer;
}


* {
	outline: none;
}


.check-block {
	display: flex;
	align-items: baseline;
	margin-top: 16px;
}

.check-block .checkbox {
	width: 12px;
	min-width: 12px;
	height: 12px;
	border-radius: 2px;
	position: relative;
	margin-right: 12px;
	padding: 0;
}

.check-block .checkbox input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1;
	cursor: pointer;
}

.check-block .checkbox .checkbox-mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	-webkit-transition: background-color .3s ease;
	-o-transition: background-color .3s ease;
	transition: background-color .3s ease;
	border-radius: 2px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background: #45BE43;
}

.check-block .checkbox .checkbox-mask img {
	opacity: 0;
	-webkit-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

.check-block .checkbox input:checked~.checkbox-mask {
	background: #45BE43;
}

.check-block .checkbox input:checked~.checkbox-mask img {
	opacity: 1;
}


.check-block label {
	font-weight: normal;
	font-size: 10px;
	line-height: 16px;
	color: #878989;
	cursor: pointer;
}


.field-overflow:not(.active) {
	display: none;
}

.ac-btn.btn {
	padding: 15px 54px;
	margin-top: 24px;
}

.field-info {
	flex-wrap: wrap;
}

.btn-start {
	background: #166DF8;
    color: #fff;
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    z-index: 22;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-content: center;
}

@media (max-width: 768px) {
	.field-box h1 {
		font-size: 22px;
		line-height: 22px;
		font-weight: 600;
		margin-bottom: 32px;
	}

	.field-overflow strong {
		font-size: 22px;
		line-height: 22px;
		text-align: center;
	}

	.field {
		min-height: 420px;
		font-size: 14px;
    	line-height: 18px;
    	padding: 10px;
	}
	
	.check-block label {
	    font-size: 10px;
	    line-height: 11px;
	}
	
	.check-block {
	    margin-top: 5px;
	}
	
	
	.field::placeholder {
		font-size: 14px;
		line-height: 18px;
	}

	.input-wrap {
		display: grid;
		grid-template-columns: 100%;
	}


	.quick-buttons {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		margin-top: 64px;
	}


}

.sub-text {
	font-size: 20px;
	padding-bottom: 20px;
	display: flex;
}

.htxt h1 {
	margin-bottom: 12px;
}

.in-mob {
	display: none;
}

.txt-block  {
    margin-top: 20px;
}

.txt-block p {
    font-weight: normal;
    font-size: 10px;
    line-height: 13px;
    color: #878989;
}

.txt-block p a {
	color: #45BE43;
	text-decoration: none;
	margin-right: 20px;
}

.txt-block p a:hover {
	opacity: 0.8;
}

@media (max-width: 640px) {

	.field-overflow p {
		font-size: 12px;
		line-height: 14px;
		font-weight: 600;
		max-width: 630px;
		text-align: center;
	}

	.field-box h1 {
		font-size: 17px;
        line-height: 20px;
        font-weight: 600;
        margin-bottom: 9px;
	}

	.sub-text {
		font-size: 12px;
	}

	.quick-buttons {
		display: grid;
		grid-template-columns: 100%;
		gap: 12px;
		margin-top: 20px;
	}

	.field-box {
		padding: 15px 15px;
	}

	.in-mob {
		display: grid;
	}

	.no-mob {
		display: none;
	}

	.main {
		padding-top: 10px;
		padding-bottom: 20px;
	}
	.sub-text {
	    padding-bottom: 13px;
	}
    .txt-block p {
      	font-weight: normal;
      	font-size: 10px;
    	line-height: 13px;
    	color: #878989;
    }
}

.quick-btn {
	background: none;
	cursor: pointer;
}

input.error {
	border-color: red;
}


header {
	position: relative;
	z-index: 9;
}

.text-block {
	margin-top: 30px;
}

.text-block p {
	padding: 15px 0;
}

.text-block strong {
	font-weight: bold;
}

.quick-btn {
	transition: 0.3s;
}

.quick-btn:hover {
	background: #166DF8;
	color: #fff;
}

.quick-btn.hbtn {
	background: #166DF8;
	color: #fff;
}

.quick-btn.hbtn:hover {
	background: #fff;
	color: #166DF8;
}

.ac-btn {
	transition: 0.3s;
}

.ac-btn:hover {
	opacity: 0.8;
}

.logo {
	max-width: 117px;
}

.display-none {
	display: none;
}

.api-error,
.form-error {
	color: #ff1f1f;
	font-weight: 600;
	font-size: 12px;
	padding-top: 10px;
}

.form-loader {
	font-weight: 600;
	font-size: 12px;
	padding-top: 10px;
}

.error-block {
	max-width: 630px;
	display: flex;
	align-items: baseline;
	justify-content: left;
	width: 100%;
}

.main-footer-bottom a {
	color: #fff;
}

.main-footer-bottom a:hover {
    opacity: 0.5;
}