html {
	scroll-behavior: smooth;
}
body.hidden {
    overflow: hidden;
}
body {
	background: #151515;
}
.page {
	overflow: hidden;
	position: relative;
}
.header {
	position: relative;
	z-index: 3;
}
.title {
	font-size: 86px;
	line-height: 96px;
	color: #fff;
	font-family: 'Comfortaa', cursive;
}
.desc {
	font-family: 'Quicksand', sans-serif;
	font-size: 18px;
	line-height: 22px;
	color: #fff;
}
.mob {
	display: none;
}
button,
a {
	border: 0;
	outline: 0;
	cursor: pointer;
	transition: .3s;
}
a:hover  {
	opacity: .5;
}
.section {
	padding: 0 16px;
}
.wrapper {
	max-width: 1240px;
	margin: 0 auto;
}
.button {
	height: 86px;
	padding-left: 75px;
	padding-right: 24px;
	min-width: 227px;
	font-family: 'Quicksand', sans-serif;
	font-size: 18px;
	line-height: 22px;
	color: #fff;
	background: transparent;
	border: 0;
	position: relative;
    display: table;
    margin: 0 0 0 auto;
	padding-right: 37px;
	text-align: left;
}
.button::before {
	content: '';
	width: 70px;
	height: 70px;
	background: #C22021;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	border-radius: 100%;
	transition: .5s;
}
.button:hover::before {
	left: calc(100% - 86px);
	width: 86px;
	height: 86px;
}
.button::after {
	content: '';
	width: 12px;
	height: 12px;
	background-image: url('../assets/send.svg');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	top: 50%;
	transform: translateY(-50%);
	right: 37px;
	position: absolute;
	transition: .5s;
}
.button:hover::after {
	width: 21px;
	height: 21px;
	right: 32px;
}
.button span {
	position: relative;
	z-index: 1;
}


/* header */
.header {
}
.header .wrapper {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.header .left {
	position: relative;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}
.header .logo {
	position: absolute;
	left: 0;
	top: 55px;
	
	z-index: 2;
}
.header .logo .img {
	width: 200px;
}
.header .nav__item {
	margin-left: 40px;
}
.header .nav {
	display: flex;
	justify-content: flex-end;
	padding: 55px 16px;
	background: #151515;
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	width: 100%;
	max-width: 1272px;
	margin: 0 auto;
}


/* hero */
.hero-section .wrapper {
	display: flex;
	flex-direction: column-reverse;
	padding-top: 140px;
	padding-bottom: 40px;
	min-height: 100vh;
	justify-content: center;
}
.hero-section .wrapper .right {
	text-align: right;
	padding-right: 60px;
}
.hero-section .wrapper .img {
	width: 305px;
}
.hero-section .wrapper .left {
	margin-top: 50px;
}
.hero-section .wrapper .left .desc {
	margin-top: 26px;
}
.hero-section .title span {
	color: #C22021;
}

/* services */
.services-section .wrapper {
	padding: 166px 0 70px;
	display: flex;
}
.services-section .icon {
	width: 28px;
	height: 21px;
	object-fit: contain;
	object-position: left center;
	margin-right: 28px;
}
.services-section .right .item {
	display: flex;
	align-items: center;
}
.services-section .right .item + .item {
	margin-top: 45px;
}
.services-section .right {
	width: 50%;
	padding-top: 160px;
}
.services-section .left {
	width: 50%;
}
.services-section .left .item {
	width: 265px;
	position: relative;
	height: 56px;
	display: flex;
	align-items: center;
}
.services-section .left .item::before {
	content: '';
	width: 32px;
	height: 32px;
	border-radius: 100%;
	background: #F02323;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s;
}
.services-section .left .item::after {
	content: '';
	width: 22px;
	height: 22px;
	background-image: url('../assets/plus.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.services-section .left .item + .item {
	margin-top: 42px;
}
.services-section .title-container {
	max-width: 504px;
}
.services-section .title-container .title {
	font-size: 32px;
	line-height: 36px;
	border-bottom: 2px solid #fff;
	padding-bottom: 46px;
}
.services-section .right .list {
	max-width: 504px;
	margin: 0 0 0 auto;
	display: none;
}
.services-section .left .list {
	margin-top: 100px;
}
.services-section .left .list .title {
	font-size: 20px;
	line-height: 24px;
	transition: .5s;
	position: relative;
	z-index: 1;
}
.services-section .left .item {
	padding-left: 50px;
	cursor: pointer;
}
.services-section .left .item:hover::before,
.services-section .left .item.active::before {
	left: calc(100% - 39px);
	width: 56px;
	height: 56px;
}
.services-section .left .item:hover .title,
.services-section .left .item.active .title {
	color: #F02323;
}


/* contacts */
.contacts-section .wrapper {
	padding: 172px 0 0;
	display: flex;
}
.contacts-section .left {
	width: 50%;
	padding-right: 32px;
}
.contacts-section .right {
	padding-top: 70px;
	width: 50%;
}
.contacts-section form {
	max-width: 536px;
	margin: 0 0 0 auto;
}
select {
	width: 100%;
	background: #252525;
	border-radius: 2px;
	color: #fff;
	padding: 14px 20px;
	border: 0;
	outline: 0;
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	line-height: 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url('../assets/right-arrow.svg');
	background-position: top 50% right 18px;
	background-size: 14px;
	background-repeat: no-repeat;
}
input,
textarea {
	width: 100%;
	background: #252525;
	border-radius: 2px;
	color: #fff;
	padding: 14px 20px;
	border: 0;
	outline: 0;
	margin-top: 14px;
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	line-height: 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
textarea {
	resize: none;
	min-height: 146px;
}
input::placeholder,
textarea::placeholder {
	color: #BABABA;
}
.contacts-section .title span {
	color: #C22021;
}
.contacts-section .desc {
	margin-top: 16px;
	max-width: 380px;
}
.contacts-section .row {
	margin-top: 46px;
	display: flex;
	padding-left: 100px;
}
.contacts-section .row + .row {
	margin-top: 26px;
}
.contacts-section .row .desc:first-child {
	color: #BABABA;
	width: 105px;
}
.contacts-section .row .desc:last-child {
	max-width: 155px;
}
.contacts-section .button {
	margin-top: 86px;
}


/* footer */
.footer {
	margin-top: -16px;
}
.footer .wrapper {
	padding: 80px 0 66px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 2px solid #fff;
}
.footer .nav {
	display: flex;
}
.footer .nav__item {
	margin-right: 40px;
}
.footer .right {
	display: flex;
}
.footer .right .desc {
	margin-right: 32px;
}
.footer .right .desc:first-child {
	color: #BABABA;
	font-size: 16px;
}



@media screen and (max-width: 1200px)  {
	.contacts-section .row {
		padding-left: 50px;
	}
	.footer .right {
		display: block;
	}
	.footer .right .desc {
		text-align: right;
		margin-right: 0;
	}
	.footer .right .desc + .desc {
		margin-top: 16px;
	}
}

@media screen and (max-width: 769px) {
	a:hover {
		opacity: 1;
	}
	.header .logo {
		left: 50%;
		transform: translateX(-50%);
		top: 24px;
	}
	.header .nav {
		padding: 68px 16px 16px;
		justify-content: center;
	}
	.header .nav__item {
		margin: 0 12px;
		text-align: center;
	}
	.header .nav__item  .desc {
		font-size: 16px;
	}
	.hero-section .wrapper .img {
		width: 120px;
	}
	.title {
		font-size: 46px;
		line-height: 56px;
	}
	.services-section .wrapper {
		padding-top: 120px;
		padding-bottom: 0;
		display: block;
	}
	.services-section .left {
		width: 100%;
	}
	.services-section .right {
		width: 100%;
	}
	.services-section .right {
		padding-top: 32px;
	}
	.services-section .left .list {
		margin-top: 32px;
	}
	.services-section .right .list {
		max-width: 100%;
	}
	.services-section .left .item + .item {
		margin-top: 16px;
	}
	.contacts-section .wrapper {
		padding-top: 120px;
		display: block;
	}
	.contacts-section .left {
		width: 100%;
		padding-right: 0;
	}
	.contacts-section .right {
		width: 100%;
	}
	.contacts-section .row {
		padding-left: 0;
	}
	.contacts-section .row .desc:first-child {
		width: 90px;
	}
	.contacts-section .button {
		margin-top: 16px;
	}
	.contacts-section form {
		max-width: 100%;
	}
	.footer .wrapper {
		padding: 32px 0;
		display: block;
	}
	.footer .nav__item {
		margin: 0 12px;
		text-align: center;
	}
	.footer .nav__item  .desc {
		font-size: 16px;
	}
	.footer .right {
		margin-top: 32px;
	}
	.footer .right .desc {
		text-align: center;
	}
	.footer .nav {
		justify-content: center;
	}
}
#overlay {
    font-family: 'Open Sans', sans-serif;
    background: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
#overlay .pop {
    background: #fff;
    max-width: 90%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 60px 50px 50px 50px;
    border-radius: 6px;
    display: none;
}
#overlay .pop .close {
    position: absolute;
    right: 25px;
    top: 20px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}
#overlay .pop .close:hover {
    opacity: 1;
}
#overlay .pop .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}
#overlay .pop .close:before {
    transform: rotate(45deg);
}
#overlay .pop .close:after {
    transform: rotate(-45deg);
}
#overlay .pop .message {
    text-align: center;
    font-size: 18px;
}