/*----- Specification -----*/

body {
	color: #0B0923;
	background-color: #fff;
	font: 400 16px / 1.4em 'Roboto', sans-serif;
	/*overflow-x: hidden;*/
}

body, div, h1, h2, h3, p, ul, li, a, button, img {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

h1, h2, h3 {
	line-height: 1.175em;
	font-weight: 700;	
}

h1 {
	font-size: 40px;
}

h2 {
	color: #030B4A;
	font-size: 28px;
}

h3 {
	font-size: 18px;
}

img {
	max-width: 100%;
	object-fit: fill;
}

li {
	list-style-type: none;
}

a, a:hover, a:active {
	text-decoration: none;
}

a, button {
	transition: all 0.5s ease;
}

button {
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
}

a:active, a:focus,
input, input:active { 
	outline: none;
}

button::-moz-focus-outer, 
button::-moz-focus-inner {
	border: 0;
}

.animated {
	opacity: 0;
}

/*--- Buttons Styles ---*/

.btn {
	font-size: 15px;
	font-weight: 700;
	border: 1px solid #FF7A00;
	border-radius: 100px;
	box-sizing: border-box;
	padding: 16px 34px;
}

.btn-order,
.btn-cons:hover {
	color: #FF5C00;
	background-color: transparent;
}

.btn-cons,
.btn-order:hover {
	color: #FFF;
	background-color: #FF7A00;	
}

/*--- Hamburger Button ---*/

.menu-opener {
	display: none;
	padding: 5px 10px 5px 15px;
}

.menu-opener span {
	display: block;
	width: 5px;
	height: 5px;
	background-color: #0B0923;
	border-radius: 100%;
	margin-bottom: 4px;
}

/*--- Main Container ---*/

.container {
	max-width: 1180px;
	margin: 0 auto;
}

/*----- Header Section -----*/

#header {
	min-height: 100vh;
	color: #fff;
	background: url(../img/header-bg.jpg) no-repeat center top / cover;
	overflow-x: hidden;
	position: relative;
}

/*--- Navigation Block ---*/

.navigation {
	background-color: #fff;
	padding: 29px 0;
}

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

/*--- Logotype ---*/

.logo {
	display: block;
	max-width: 235px;
	width: 100%;
	color: #0B0923;
}

.logo__img {
	max-width: 39px;
	margin-right: 13px;
}

.logo__desc {
	display: inline-block;
}

.logo__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.167em;
}

.logo__text {
	font-size: 14px;
	line-height: 1.143em;
}

/*--- Headline ---*/

.main-menu {
	display: flex;
	align-items: center;	
}

.menu-opened {
	display: none;
}

/*--- Navigation Menu ---*/

.nav {
	margin-right: 117px;
}

.nav__list {
	display: flex;
}

.nav__item {
	font-size: 14px;
	line-height: 1.143em;
	border-bottom: 1px solid transparent;
	padding-bottom: 3px;
	margin-right: 30px;
	transition: all 0.5s ease;
}

.nav__item:last-child {
	margin-right: 0;
}

.nav__item:hover {
	border-bottom-color: #FF5C00;
}

.nav__item:hover a {
	color: #FF5C00;	
}

.nav__link {
	color: #0B0923;
}

/*--- Phones and Button ---*/

.call {
	display: flex;
	align-items: center;
}

.call__phones {
	margin-right: 47px;
}

.call__item {
	color: #0B0923;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.143em;
}

.call__item:not(:last-child) {
	margin-bottom: 11px;	
}

.call__item:hover a {
	color: #FF5C00;
}

.call__link {
	position: relative;
	color: #0B0923;
}

.call__link_underline {
	text-decoration: underline;
}

.call__link_underline:hover {
	text-decoration: underline;
}

.call__icon {
	position: absolute;
	top: 0;
	left: -23px;
}

/*--- Mobile Overlay ---*/

.page-overlay {
	width: 0;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	background-color: rgba(0, 2, 19, 0.69);
	overflow-x: hidden;
	transition: 0.5s;
	z-index: 5;
	cursor: pointer;
}

/*--- Offer Block ---*/

.offer {
	position: relative;
	text-align: center;
	z-index: 1;
}

.offer .container {
	position: relative;
}

.offer-content {
	max-width: 547px;
	position: absolute;
	left: 55%;
	bottom: 43px;
	text-align: center;
	border-radius: 10px;
	background-color: rgba(108, 106, 98, 0.61);
	padding: 33px 70px;
	z-index: 1;
}

.offer-content__title {

}

.offer-content__text {
	max-width: 485px;
	margin: 20px auto 32px;
}

.offer-content__btn {
	
}

.offer-content__btn:hover {
	color: #fff;
	border-color: #fff;
}

.offer-content__img {
	display: none;
}

.offer-arrow {
	display: flex;
	justify-content: center;
	width: 48px;
	height: 48px;
	position: absolute;
	left: 50%;
	bottom: 37px;
	background: rgba(67, 67, 67, 0.65);
	border-radius: 100%;
	margin: 0 auto;
	margin-left: -24px;
}

.offer-arrow:hover {
	background: rgb(67, 67, 67);
	font-size: 24px;
	transform: translateY(6px);
}

.offer-arrow__img {
	max-width: 26px;
	margin: auto;
}

/*----- Why Section -----*/

#why {
	padding: 113px 0 116px;
}

.why-title {
	margin-bottom: 66px;
}

.advantages {
	display: flex;
	justify-content: space-between;
}

.advantages__item {
	max-width: 280px;
	text-align: center;
}

.advantages__wrap {
	max-width: 142px;
	position: relative;
	margin: 0 auto 18px;
}

.advantages__wrap:after {
	content: '';
	position: absolute;
	top: -35px;
	right: 0;
	display: block;
	width: 103px;
	height: 103px;
	background-color: #FF7A00;
	border-radius: 100%;
	z-index: -10;
}

.advantages__icon {
	max-width: 102px;
}

.advantages__text {
	font-size: 22px;
	font-weight: 500;
}

/*----- Services Section -----*/

#services {
	background: rgb(18, 29, 72) url(../img/services-bg.jpg) no-repeat center top;
	padding: 114px 0 132px;
}

.services-title {
	color: #fff;
	margin-bottom: 49px;
}

 /*--- Tab ---*/

.tab {
	display: flex;
	justify-content: space-between;
  overflow: hidden;
  margin-bottom: 40px;
}

.tab button {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  outline: none;
  cursor: pointer;
  padding-bottom: 2px;
}

.tab button:hover {
  color: #FF7A00;
}

.tab button.active {
	color: #FF7A00;
	border-bottom-color: #FF7A00;
}

/*--- Tab Content ---*/
.tabcontent {
  display: none;
  justify-content: space-between;
}

.service {
	background-color: #fff;	
	max-width: 561px;
}

.service__info {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 43px 45px 47px 51px;
	margin: 0 auto;
}

.service__head {
	margin-bottom: 24px;
}

.service__title {
	margin-bottom: 7px;
}

.service__price {
	font-size: 24px;
	font-weight: 700;
}

.service__btn {
	align-self: flex-start;
}

.service__list {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.service__item {
	max-width: 48%;
	font-size: 15px;
}

.service__subitem {
	position: relative;
}

.service__subitem:before {
	content: '';
	position: absolute;
	top: 4px;
	left: -20px;
	display: block;
	width: 13px;
	height: 13px;
	background-image: url(../img/icon-checked.svg);
}

/*----- About Section -----*/

#about {
	padding: 82px 0 68px;
}

.about-title {
	margin-bottom: 37px;
}

.about-wrap {
	display: flex;
	align-items: center;
}

.about-info {
	max-width: 50%;
	margin-right: 37px;
}

.about-info__text {
	margin-bottom: 20px;
}

.about-info__stats {
	display: flex;
	justify-content: space-between;
	margin-top: 69px;
}

.about-info__item {
	max-width: 172px;
	position: relative;
}

.about-info__num:after {
	content: '';
	position: absolute;
	top: -32px;
	left: 42px;
	display: block;
	width: 88px;
	height: 88px;
	background-color: #FF7A00;
	border-radius: 100%;
	z-index: -10;
}

.about-info__num {
	color: #030B4A;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.175em;
}

.about-info__desc {
	margin-top: 10px;
}

/*----- Gallery Section -----*/

#gallery {
	padding-bottom: 128px; 
}

.gallery-title {
	margin-bottom: 68px;
}

.gallery1 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

.gallery1-brick {
	display: block;
	position: relative;
	flex: auto;
	height: 270px;
	margin-bottom: 20px;
}

.gallery1-brick a {
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(18,29,72,0.6);
	transition: all 0.5s ease;
	opacity: 0;
}

.gallery1-brick a:hover .overlay {
	opacity: 1;
}

.gallery1-brick img {
	height: 100%;
	object-fit: cover;
}

.gallery1-brick:nth-child(3),
.gallery1-brick:nth-child(5) {
  max-width: 23%;
}

.gallery1-brick:nth-child(1),
.gallery1-brick:nth-child(6) {
  max-width: 32%;
}

.gallery1-brick:nth-child(2),
.gallery1-brick:nth-child(4) {
  max-width: 42%;
}

/*----- Contacts Section -----*/

#contacts {
	display: flex;
	position: relative;
	min-height: 568px;
}

#contacts .container {
	display: flex;
	width: 100%;
}

.google-map {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
}

.ymaps-2-1-76-ground-pane {
	-ms-filter: brightness(90%);
	-webkit-filter: brightness(90%);
	-moz-filter: brightness(90%);  
	-o-filter: brightness(90%);
	filter: brightness(90%);
}

.map-info {
	max-width: 550px;
	width: 100%;
	position: relative;
	z-index: 8;
	background-color: #fff;
	padding: 65px 0 84px 115px;
	margin-top: auto;
	margin-left: auto;
}

.map-contacts {
	display: flex;
	justify-content: space-between;
	max-width: 340px;
	color: #000;
	margin: 18px 0 25px;
}

.map-contacts__item {
	max-width: 145px;
}

.map-contacts__title {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 15px;
}

.map-contacts__link {
	color: #000;
}

/*----- Footer Section -----*/

#footer {
	color: #EAEAEA;
	background-color: #000213;
	padding: 92px 0 12px;
}

.footer-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 17px;
}

.footer-logo {
	color: #EAEAEA;;
}

.footer-menu {
	display: flex;
}

.footer-menu__item {
	font-size: 14px;
	line-height: 1.143em;
	border-bottom: 1px solid transparent;
	padding-bottom: 3px;
	margin-right: 30px;
	transition: all 0.5s ease;
}

.footer-menu__item:last-child {
	margin-right: 0;
}

.footer-menu__item:hover {
	border-bottom-color: #FFF;
}

.footer-menu__item:hover a {
	color: #FFF;	
}

.footer-menu__link {
	color: #C8C8C8;
}

.phones {
	color: #fff;
}

.phones__item {
	
}

.phones__link {
	position: relative;
	color: #EAEAEA;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.143em;
}

.phones__icon {
	position: absolute;
	top: 0;
	left: -23px;
}

.phones__link:hover {
	color: #FFF;
}

.footer__btn {
	color: #EAEAEA;
	border-color: #EAEAEA;
}

.footer__btn:hover {
	color: #000213;
	background-color: #fff;
}

.legal {
	color: #636573;
	font-size: 14px;
	margin-bottom: 81px;
	margin-left: 55px;
}

.copyrights {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #636573;
	font-size: 12px;
}

.authors {
	display: flex;
}

.scrollup {
	width: 48px;
	height: 48px;
	display: none;
	position: fixed;
	right: 34px;
	bottom: 230px;
	background-color: #1F2242;
	line-height: 60px;
	text-align: center;
	border-radius: 100%;
	transition: all 0.5s ease;
	cursor: pointer;
	z-index: 20;
}

.scrollup:hover {
	box-shadow: 0 0 10px 2px rgba(67, 67, 67, 0.65);
	transform: translateY(-6px);
}

.scrollup__img {
	max-width: 26px;
	opacity: 0.5;
	transform: rotate(-180deg);
}

/*----- Modal -----*/

.box-modal {
	position: relative;
	background: #fff;
}

.box-modal_close { 
	position: absolute; 
	right: 36px; 
	top: 27px; 
	cursor: pointer; 
}

.box-modal_close:hover { 
	color: #666; 
}

.modal {
	display: flex;
	align-items: center;
}

.modal__img {
	height: 100%;
}

.modal__form {
	max-width: 280px;
	text-align: center;
	margin: 0 114px;
}

.modal__logo {
	margin: 0 auto;
}

.modal__text {
	margin: 44px 0 29px;
}

.modal__text_success {
	margin: 34px 0 39px;
}

.modal__field {
	width: 100%;
	color: #0B0923;
	background-color: #fff;
	font-size: 15px;
	border: none;
	border-bottom: 1px solid #999999;
	padding: 4px 0;
	margin-bottom: 33px;
}

.modal__sent {
	width: 87px;
	margin-top: 66px;
}

#form-loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background: rgba(240, 240, 240, 0.91);
	overflow: hidden;
	display: none;
	z-index: 100;
}

label.error {
	font-size: 10px;
	color: #E31E1E;
	position: absolute;
	margin-top: -37px;
}

input.error {
	border: 1px solid #E31E1E !important;
}

input.valid {
	
}

#form-loader img {
	position: absolute;
	width: 50px;
	height: 50px;
	left: 50%;
	margin-left: -25px;
	top: 50%;
	margin-top: -25px;
}

/*----- Media Queries -----*/

/* 992-1200px */
@media screen and (max-width: 1199.98px) {
	.container {
		max-width: 940px;
	}
	
	.nav {
		margin-right: 50px;
	}

	.nav__item {
		margin-right: 15px;
	}

	.call__phones {
		margin-right: 17px;
	}

	.call__item {
		font-size: 13px;
	}

	.call__icon {
		width: 13px;
		top: 2px;
		left: -18px;
	}

	.offer-content {
		max-width: 446px;
		padding: 33px 25px;
	}

	#services {		
		padding: 110px 0 120px;
	}

	.services-title {
		margin-bottom: 40px;
	}

	.tab {
		flex-wrap: wrap;
		margin-bottom: 30px;
	}

	.tab__item {
		max-width: 450px;
		width: 100%;
		text-align: left;
		margin-bottom: 16px;		
	}

	.service {
		max-width: 450px;
	}

	.service__info {
		padding: 43px 25px 47px 35px;
	}

	.service__head {
		max-width: 50%;
	}

	.service__item {
		margin-left: 20px;
	}

	.service__item:first-child {
		margin-left: 0;
	}

	.about-info__item {
		margin-right: 20px;
	}

	.about-info__item:last-child {
		margin-right: 0;
	}

	.gallery1-brick {
		height: 233px;
	}

	.footer-menu {
		margin-right: 20px;
	}
	
	.footer-menu__item {
		margin-right: 20px;
	}

	.phones__item,
	.phones__link {
		font-size: 12px;
	}

	.phones__icon {
		width: 13px;
		top: 2px;
		left: -18px;
	}

	.modal {
		max-width: 900px;
	}

	.modal__form {
		margin: 0 60px;
	}

	.modal__text {
		margin: 25px 0 20px;
	}
}

/* 768-992px */
@media screen and (max-width: 991.98px) {
	.container {
		max-width: 700px;
	}

	#header {
		background: none;
		overflow: hidden;
	}

	.nav__item {
		margin-right: 20px;
	}

	.call__phones {
		display: none;
	}

	.offer-content {
		max-width: 700px;
		position: static;
		background: none;
		padding: 26px 0 80px;
		margin: 0 auto;
	}

	.offer-content__img {
		display: block;
		height: 600px;
		background: url(../img/header-bg.jpg) no-repeat center center / cover;
		overflow: hidden;
	}

	.offer-content__title {
		max-width: 100%;
		color: #030B4A;
		font-size: 40px;
	}

	.offer-content__text {
		color: #0B0923;
		font-size: 16px;
		line-height: 1.2em;
	}

	.offer-content__btn:hover {
		color: #FF5C00;
		border-color: #FF5C00;
	}

	.offer-arrow {
		display: none;
	}

	#why {
		padding: 113px 0 55px;
		text-align: center;
	}

	.advantages {
		flex-wrap: wrap;
	}

	.advantages__item {
		min-width: 45%;
		margin-bottom: 61px;
	}

	#services {
		background-repeat: repeat-y;
	}

	.tab__item {
		max-width: 340px;
	}

	.tabcontent {
		flex-wrap: wrap;
	}

	.service {
		max-width: 100%;
		width: 100%;
		margin-bottom: 28px;
	}

	.service__info {
		padding: 43px 75px 47px 81px;
	}

	.service__title {
		max-width: 100%;
	}

	.about-title {
		margin-bottom: 65px;
	}

	.about-wrap {
		flex-wrap: wrap;
	}

	.about-info {
		max-width: 100%;
		order: 2;
		margin-right: 0;
	}

	.about-img {
		order: 1;
		margin-bottom: 40px;
	}

	.gallery1-brick {
		height: 263px;
	}

	.gallery1-brick:nth-child(1),
	.gallery1-brick:nth-child(2) {
	  max-width: 49%;
	}
	.gallery1-brick:nth-child(3),
	.gallery1-brick:nth-child(6) {
	  max-width: 28%;
	}
	.gallery1-brick:nth-child(4),
	.gallery1-brick:nth-child(5) {
	  max-width: 69%;
	}

	.map-info {
		max-width: 461px;
		padding: 65px 0 74px 70px;
	}

	.footer-menu {
		display: none;
	}

	.modal__img {
		display: none;
	}

	.modal__form {
		padding: 78px 0 86px;
		margin: 0 114px;
	}
}

/* 576-768px */
@media screen and (max-width: 767.98px) {
	.container {
		max-width: 500px;
	}

	.main-menu {
		display: none;
	}

	.menu-opened {
		display: block;
		max-width: 373px;
		width: 100%;
		flex-direction: column;
		position: absolute;
		top: 0;
		right: 0;
		background-color: #030B4A;
		padding: 79px 0 84px;
		margin-left: auto;
		cursor: auto;
		transform: translateX(100%);
		transition: 0.5s;
		z-index: 6;
	}

	.show {
		display: flex;
	}

	.nav {
		margin-right: 0;
	}

	.nav__list {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.nav__item {
		margin-right: 0;
		margin-bottom: 15px;
	}

	.nav__link {
		color: #fff;
	}

	.call {
		flex-direction: column;
	}

	.call__phones {
		display: flex;
		flex-direction: column;
		text-align: center;
		margin-right: 0;		
		margin-bottom: 8px;
	}

	.call__item {
		margin-bottom: 16px;
	}

	.call__item:first-child {
		margin-right: 0;
	}

	.call__item,
	.call__link {
		color: #fff;
	}

	.call__icon {
		display: none;
	}

	.call__btn {
		color: #030B4A;
		background-color: #fff;
		border-color: #fff;
	}

	.call__btn:hover {
		color: #fff;
		background-color: #030B4A;
	}

	.menu-opener {
		display: block;
		position: relative;
		z-index: 50;
	}

	.menu-opener_close {
		position: absolute;
		top: 33px;
		right: 38px;
	}

	.menu-opener_close span {
		background-color: #fff;
	}

	.offer {
		padding-top: 100px;
	}

	.offer-content {
		max-width: 500px;
	}

	.offer-content__title {
		max-width: 350px;
		font-size: 34px;
		margin: 0 auto;
	}

	.offer-content__text {
		max-width: 400px;
	}

	.service__info {		
		padding: 43px 25px 47px 35px;
	}

	.service__head {
		max-width: 70%;
	}

	.gallery1-brick {
		text-align: center;
	}

	.gallery1-brick:nth-child(1),
	.gallery1-brick:nth-child(2) {
	  max-width: 100%;
	}
	.gallery1-brick:nth-child(3),
	.gallery1-brick:nth-child(6) {
	  max-width: 100%;
	}
	.gallery1-brick:nth-child(4),
	.gallery1-brick:nth-child(5) {
	  max-width: 100%;
	}

	#contacts {
		display: block;
	}

	.google-map {
		position: static;
	}

	.map-info {
		max-width: 100%;
		padding-left: 0;
	}

	#footer {
		padding: 91px 0 97px;
	}

	.footer-nav {
		flex-direction: column;
		margin-bottom: 31px;
	}

	.footer-logo {
		margin-bottom: 40px;
	}

	.phones {
		text-align: center;
	}

	.footer__btn {
		margin-top: 16px;
	}

	.legal {
		text-align: center;
		margin-left: 0;
		margin-bottom: 42px;
	}

	.copyrights {
		flex-direction: column;
		line-height: 1.2em;
	}

	.copyright {
		order: 2;
	}

	.authors {
		flex-direction: column;
		order: 1;
		text-align: center;
	}

	.authors__item:last-child {
		margin-left: 0;
	}

	.modal__form {
		padding: 60px 0;
		margin: 0 60px;
	}
}

/* 320-576px */
@media screen and (max-width: 575.98px) {
	.container {
		max-width: 90%;
	}

	.menu-opener_close {
		right: 15px;
	}

	.offer {
		padding-top: 80px;
	}

	.offer-content {
		max-width: 90%;
	}

	.offer-content__title {
		max-width: 290px;
		font-size: 28px;
	}

	.offer-content__text {
		font-size: 14px;
		line-height: 1.2em;
	}

	.why-title {
		font-size: 22px;
	}

	.advantages__item {
		min-width: 100%;
	}

	.tab button {
		font-size: 20px;
	}

	.service__info {
		padding: 43px 25px 47px 41px;
	}

	.service__head {
		max-width: 100%;
	}

	.service__title {
	}

	.service__btn {
		order: 1;
		margin-top: 20px;
	}

	.service__list {
		flex-direction: column;
	}

	.service__item {
		max-width: 100%;
		margin-left: 0;
	}

	#about {
		text-align: center;
	}

	.about-info__stats {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}

	.about-info__item {
		margin-bottom: 50px;
	}

	.about-info__num:after {
		left: 72px;		
	}

	.about-info__desc	{
		text-align: center;
	}

	.gallery1 {
		justify-content: center;
	}

	.gallery1-brick img {
		object-fit: contain;
	}

	.copyright {
		order: 1;
	}

	.box-modal_close { 
		right: 15px; 
		top: 10px; 
	}

	.modal__form {
		padding: 30px 0;
		margin: 0 20px;
	}

	.modal__text {
		font-size: 14px;
		margin: 20px 0 15px;
	}
	
	.modal__field {
		margin-bottom: 20px;
	}

	label.error {
		margin-top: -24px;
	}
}

/* 320-540px */
@media screen and (max-width: 539.98px) {
	.gallery1-brick {
		height: 230px;
	}
}

/* 320-473px */
@media screen and (max-width: 472.98px) {
	.gallery1-brick {
		height: 200px;
	}
}

/* 320-411px */
@media screen and (max-width: 410.98px) {
	.gallery1-brick {
		height: 160px;
	}

	#go-back {
		padding: 16px 24px;
	}
}