
 /*------SPECIFICATION------*/

.animate__animated {
	opacity: 0;
}

.animate__flipInX,
.animate__fadeInRight,
.animate__fadeInLeft,
.animate__flipInY,
.animate__fadeInBottomRight,
.animate__fadeInBottomLeft,
.animate__fadeInTopLeft,
.animate__fadeInTopRight,
.animate__fadeInUp,
.animate__fadeIn {
	opacity: 1;
} 

:root {
	--accent-color: #ff287a;  
	--top-line-color: rgba(1, 1, 1, 0.65);
	--main-text: 'Montserrat', sans-serif;
	--main-heading: 'Cyrvetica Extra Outline', sans-serif;
	--second-heading: 'Streamster(RUS BY LYAJKA)', sans-serif;
	--main-letter-spacing: 0.08em;
} 

body {
	margin: 0;
	padding: 0;
	font-family: 'Ubuntu', sans-serif;
	font-size: 16px;
	background: #f0f0f0;
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.35s ease;
}

a:hover {
	text-decoration: none;
	color: #e84545;
}

a:active {
	color: rgba(232, 69, 69, 0.4);
}

a:focus {
	outline: none;
}

div, p, form, input, a, span, button {
	box-sizing: border-box;

}

div:focus {
	outline: none;
}

input:focus,
button:focus,
.btn:focus {
	outline: none;
	box-shadow: none;
}

h1 {
		text-align: center;
	}


p {
	margin: 0;
	line-height: 1.71428571em;
}

ul, li {
	display: block;
	padding: 0;
	margin: 0;
}

.btn {
	font-family: 'Ubuntu', sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: #fff;
	background: #C12273;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 190px;
	height: 50px;
	border-radius: 0;  
}

.btn:hover {
	background: #DF3D8F;
	color: #fff;
}

.btn:active {
	color: #fff;
	border: 1px solid #fff;
}

	/*------ forms------*/

form {
	display: flex;
    flex-direction: column;
    border: none;
    padding: 0;
	max-width: 407px;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
}

form button {
	margin-top: 7px;
}

input {
	width: 100%;
    height: 30px;
    font-size: 17px;
	letter-spacing: 0.06em;
    padding-left: 31px;
    border: none;
    border-bottom: 2px solid #000;
    margin-top: 0;
    margin-bottom: 38px;
    background: transparent;
	text-shadow: 0 0 0.1px rgb(0 0 0 / 70%);
}

input::placeholder {
	letter-spacing: 0em;
	font-size: 13px;
	color: rgba(0, 0, 0, 0.8);
	text-shadow: 0 0 0.1px rgb(0 0 0 / 35%);
}
	/*избавляемся от бага Google Chrome со стилями input при автозаполнении*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
input:-webkit-autofill, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
	-webkit-appearance: none;
	border-radius: 0;
    -webkit-text-fill-color: #000; /*цвет текста при наведении на заполненное поле*/
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 100%);
}    

input:-webkit-autofill {  /*цвет текста при автозаполнении*/
    -webkit-text-fill-color: #000;
}
input:-webkit-autofill:focus {  /*цвет текста при автозаполнении*/
    -webkit-text-fill-color: #000;
}   

input {		/*избавляемся от бага в ios (закругление краёв input)*/
	-webkit-appearance: none;
	border-radius: 0;
}

label.error {
    display: none !important;
}

.input-wrapper {
    margin: 5px 0px 5px 50px;
}

	/*лоадер при отправке формы*/
#loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.59);
    overflow: hidden;
    display: none;    
	z-index: 99999;
}

#overlay-send {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000c;
	left: 0px;
	top: 0px;
	cursor: pointer;
	z-index: 99999;
}

.thx {
	background: #fff;
    position: absolute;
    left: 50%;
    margin-left: -145px;
    top: 50%;
    padding: 25px;
    margin-top: -80px;
    font-family: Roboto;
    font-weight: 500;
    border-radius: 15px;
    width: 290px;
    text-align: center;
}

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

	/*------ /SPECIFICATION------*/

/*------HEADER------*/

.header {
	height: 100vh;
	max-height: 849px;
	min-height: 795px;
	background: url(../img/1-header/hero-bg-0.png), url(../img/1-header/hero-bg-compressed.jpg) no-repeat 
	center center / cover;
}

.top-line__up {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid rgba(255, 255, 255, 0.8);
	padding-bottom: 8px;
	padding-top: 12px;
}

.menu ul {
	display: flex;
	justify-content: center;
}

.top-line__down {
	text-align: center;
}

.top-line__contacts a {
	font-size: 17px;
	color: #fff;
	margin-left: 39px;
}

.top-line__contacts a img {
	margin-right: 15px;
}

.menu li {
	margin-left: 11px;
	margin-right: 11px;
}

.menu a {
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	display: flex;
	padding: 17px 31px;
	border-top: 2px solid transparent;
	position: relative;
	top: -2px;
}

.menu a:hover {
	border-top: 2px solid #C12273;
}

.menu a::before {
	content: '';
	position: absolute;
	top: 14px;
	right: -11px;
	width: 1px;
	height: 30px;
	background: rgba(255, 255, 255, 0.8);
}

.menu ul li:last-child a::before {
	display: none;
}

.offer {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 12.7vh;
}

h1 {
	font-size: 42px;
	font-weight: 500;
	color: #fff;
}

.decor-line {
	width: 100px;
	height: 2px;
	background: #EF4199;
	margin-top: 12px;
	margin-bottom: 28px;
}

.offer p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.315em;
	color: #fff;
	max-width: 442px;
	text-align: center;
	margin-bottom: 35px;
	text-shadow: 0 0 0.1px rgb(255 255 255 / 100%), 0 0 1px rgb(0 0 0 / 100%), 0 0 15px rgb(0 0 0 / 80%);
}

.services {
	margin-top: -149px;
	margin-bottom: -75px;
}

.services__wrap {
	max-width: 985px;
	margin-left: auto;
	margin-right: auto;
	background: #fff;
	display: flex;
	justify-content: space-between;
	box-shadow: 0 0 70px rgb(0 0 0 / 41%);
}

.services__item {
	width: 33.3333%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 4.1%;
	padding-bottom: 32px;
	position: relative;
	transition: all 0.25s ease-in-out;
}

.services__item::before {
	content: '';
	position: absolute;
	top: 25.5%;
	right: -3px;
	width: 2px;
	height: 110px; 
	background: rgba(0, 0, 0, 0.25);
}

.services__item:last-child::before {
	display: none;
}

.services__item:hover::before {
	display: none;
}

.services__item:hover img {
	filter: grayscale(1) brightness(4)
}

.services__item:hover {
	background: #C12273;
	transform: scale(1.1);
}

.services__item:hover h3,
.services__item:hover p {
	color: #fff;
}

.services__item:hover .services__icon,
.services__item:hover h3,
.services__item:hover p {
	transform: scale(0.95);
}

h3 {
	text-align: center;
	font-size: 17px;
	font-weight: 500;
	margin-top: 15px;
	margin-bottom: 10px;
	text-shadow: 0 0 0.1px rgb(0 0 0 / 60%);
}

.services__icon {
	height: 83px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.services__item p {
	font-size: 14px;
	line-height: 1.2em;
	text-align: center;
	text-shadow: 0 0 0.1px rgb(0 0 0 / 60%);
}

.benefits {
	padding-top: 189px;
	background: #f0f0f0;
	padding-bottom: 59px;
}

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

.benefits__item {
	max-width: 31.796875%;
	padding: 51px 27px 24px;
	min-height: 235px;
	margin-bottom: 71px;
	border: 3px solid #C12273;
	position: relative;
}

.benefits__item::before {
	content: '';
	position: absolute;
	top: -57px;
	left: 41px;
	background: #f0f0f0 url(../img/3-benefits/ecology-icon.svg) no-repeat 
	center center;
	width: 102px;
	height: 102px;
}

.benefits__item:nth-of-type(2)::before {
	background: #f0f0f0 url(../img/3-benefits/benefit-icon.svg) no-repeat 
	center center;
}

.benefits__item:nth-of-type(3)::before {
	background: #f0f0f0 url(../img/3-benefits/size-icon.svg) no-repeat 
	center center;
}

.benefits__item:nth-of-type(4)::before {
	background: #f0f0f0 url(../img/3-benefits/time-icon.svg) no-repeat 
	center center;
}

.benefits__item:nth-of-type(5)::before {
	background: #f0f0f0 url(../img/3-benefits/quality-icon.svg) no-repeat 
	center center;
}

.benefits__item:nth-of-type(6)::before {
	background: #f0f0f0 url(../img/3-benefits/resistance-icon.svg) no-repeat 
	center center;
}

h2 {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 470px;
	font-size: 35px;
	font-weight: 500;
	line-height: 1.25em;
}

.benefits .decor-line {
	margin-left: auto;
	margin-right: auto;
	margin-top: 21px;
	margin-bottom: 89px;
}

.benefits__item h3 {
	text-align:left;
	font-size: 23px;
	font-weight: 500;
	margin-bottom: 19px;
	text-shadow: 0 0 0.1px rgb(0 0 0 / 50%);
}

.benefits__item p {
	line-height: 1.15em;
	text-shadow: 0 0 0.1px rgb(0 0 0 / 50%);
}

.about {
	padding-top: 131px;
	padding-bottom: 125px;
	background: url(../img/4-about/about-bg-left.svg) no-repeat 
	15% 44%, url(../img/4-about/about-bg-right.svg) no-repeat 
	84.4% 6%, #C12273;
}

.about p {
	font-size: 23px;
	font-weight: 400;
	line-height: 1.15em;
	color: #fff;
	max-width: 1016px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.gallery {
	padding-top: 130px;
	padding-bottom: 65px;
	background: #f0f0f0;
}

.gallery .decor-line {
	margin-left: auto;
	margin-right: auto;
	margin-top: 21px;
	margin-bottom: 49px;
}

.gallery__wrap {
	display: flex;
	flex-wrap: wrap;	
}

.gallery__wrap a {
	width: 25%;
}

.gallery__item {
	display: flex;
	padding-top: 72.12121212121212%;
	background: url(../img/5-gallery/1-0.jpg) no-repeat
	center center / cover;
	width: 100%;
}

.gallery__wrap a:nth-of-type(2) .gallery__item {
	background: url(../img/5-gallery/2.jpg) no-repeat
	center center / cover;
}

.gallery__wrap a:nth-of-type(3) .gallery__item {
	background: url(../img/5-gallery/3.jpg) no-repeat
	center center / cover;
}

.gallery__wrap a:nth-of-type(4) .gallery__item {
	background: url(../img/5-gallery/4-0.jpg) no-repeat
	center center / cover;
}

.gallery__wrap a:nth-of-type(5) .gallery__item {
	background: url(../img/5-gallery/5.jpg) no-repeat
	center center / cover;
}

.gallery__wrap a:nth-of-type(6) .gallery__item {
	background: url(../img/5-gallery/6.jpg) no-repeat
	center center / cover;
}

.gallery__wrap a:nth-of-type(7) .gallery__item {
	background: url(../img/5-gallery/7.jpg) no-repeat
	center center / cover;
}

.gallery__wrap a:nth-of-type(8) .gallery__item {
	background: url(../img/5-gallery/8.jpg) no-repeat
	center center / cover;
}

.container-fluid {
	padding-left: 0;
	padding-right: 0;
}

.gallery__wrap a:hover {
	transform: scale(1.04);
}

.contacts .decor-line {
	margin-left: auto;
	margin-right: auto;
	margin-top: 21px;
	margin-bottom: 28px;
}

.contacts {
	padding-top: 65px;
	text-align: center;
	padding-bottom: 130px;
}

.contacts p {
	max-width: 486px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.35em;
	margin-bottom: 43px;
	text-shadow: 0 0 0.1px rgb(0 0 0 / 70%);
}

.contacts form div {
	position: relative;
	width: 100%;
}

.contacts form div::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 1px;
	width: 20px;
	height: 20px;
	background: url(../img/6-contacts/input-tel.svg) no-repeat 
	center center;
}

.contacts form div:nth-of-type(2)::before {
	background: url(../img/6-contacts/input-name.svg) no-repeat 
	center center;
}

.contacts form div:nth-of-type(3)::before {
	background: url(../img/6-contacts/input-message.svg) no-repeat 
	center center;
}

.social-links {
	margin-top: 50px;
}

.social-links a {
	margin: 0 13px;
}

.footer {
	padding-top: 67px;
	padding-bottom: 100px;
	background: #2B2B2B;
}

.logo img {
	max-width: 100%;
}

.footer .logo {
	max-width: 226px;
	margin-right: 26px;
}

.bottom-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.map {
	width: 297px;
	height: 190px;
	overflow: hidden;
}

.footer .menu a {
	padding: 8px 24.5px;
}

.footer .menu a::before {
	display: none;
}

.footer .menu a:hover {
	border-top: 2px solid transparent;
}

.copyright {
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
	margin-top: -10px;
}

.container-fluid .row {
	margin-left: 0;
	margin-right: 0;
}

.container-fluid .col-12 {
	padding-left: 0;
	padding-right: 0;
}

.fancybox-caption {
	font-size: 25px;
	letter-spacing: 0.06em;
}



























/*------MEDIA QUERIES------*/

@media (min-width: 1360px) {
	.container {
		max-width: 1310px;
	}
}

@media (min-width: 992px) {

	.top-line__down .menu .top-line__contacts {
		display: none;
	}

}

@media screen and (max-width: 1360px) {

	.footer .menu li {
		margin-left: 6px;
		margin-right: 6px;
	}

	.footer .menu a {
		padding: 8px 9.5px;
	}

}

/* 992-1200px lg*/ 
@media screen and (max-width: 1200px) {

	.bottom-line {
		flex-direction: column;
	}

	.footer .menu ul {
		flex-direction: column;
	}

	.footer .logo {
		margin-right: 0;
	}

	.footer .menu {
		margin-top: 45px;
		margin-bottom: 45px;
	}

	.map {
		width: 477px;
		height: 242px;
	}

	.copyright {
		margin-top: 50px;
	}

	.footer {
		padding-bottom: 25px;
	}

	

	

}

/* 768-992px md*/
@media screen and (max-width: 991px) {

	.top-line__up .top-line__contacts {
		display: none;
	}

	.top-line__down .top-line__contacts {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		margin-top: 50px;
	}

	.menu .top-line__contacts a {
		font-size: 17px;
		font-weight: 400;
		color: #fff;
		display: table;
		padding: 0;
		border-top: none;
		position: relative;
		top: 0;
		margin-left: 0;
		margin-bottom: 20px;
	}

	.menu .top-line__contacts a:nth-of-type(1) {
		display: table;
	}

	.menu .top-line__contacts a:hover {
		border-top: none;
	}

	.menu a::before {
		display: none;
	}

	.menu ul {
		flex-direction: column;
		align-items: center
	}

	.menu a:hover {
		border-top: 2px solid transparent;
	}

	.menu {
		position: relative;
		margin-top: 30px;
		padding-bottom: 20px;
		z-index: 1;
	}

	.top-line .menu ul {
		border-bottom: 2px solid rgba(255, 255, 255, 0.8);
		z-index: 100;
		position: relative;
		padding-bottom: 30px;
	}

	/* .top-line .menu ul::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 2px;
		background: rgba(255, 255, 255, 0.8);
	} */

	.header .menu::before {
		content: '';
		position: absolute;
		top: -222px;
		left: -340px;
		width: 300vw;
		height: 760px;
		background: rgba(0, 0, 0, 0.8);
	}

	.top-line nav {
		z-index: 1;
	}

	.mob-menu-icon,
	.top-line__up .logo {
		z-index: 2;
	}

	.header {
		overflow: hidden;	
	}

	.benefits__item {
		max-width: 48.4%;
		margin-bottom: 91px;
	}

	.gallery__wrap a {
		width: 50%;
		transform: Scale(0.95);
	}

	.gallery__wrap a:hover {
		transform: scale(0.95);
	}

	.services__item {
		padding: 0 2.2% 32px;
	}

	h1 {
		text-align: center;
	}

	

}

/* 575-767px sm*/ 
@media screen and (max-width: 767px) {

	.services__wrap {
		flex-direction: column;
		max-width: 420px;
	}

	.services__item {
		width: 100%;
		max-width: 420px;
		padding: 0 17.2% 32px;
	}

	.services__item::before {
		content: '';
		position: absolute;
		top: 97%;
		right: 25%;
		width: 50%;
		height: 2px;
		background: rgba(0, 0, 0, 0.25);
	}

	.benefits__item {
		max-width: 100%;
	}

}

/* 320-575px xs*/
@media screen and (max-width: 575px) {

	.top-line__up .logo {
		max-width: 60vw;
	}

	h1 {
		font-size: 35px;
	}

	.services__item:hover {
		transform: scale(1.03);
	}

	h2 {
		font-size: 25px;
	}

	.gallery__wrap a {
		width: 100%;
		transform: Scale(0.95);
	}

	.gallery__wrap a:hover {
		transform: scale(0.95);
	}

	.map {
		max-width: 100%;
		height: 182px;
	}
	
}	

@media screen and (max-width: 365px) {

	h1 {
		font-size: 30px;
	}

	.top-line__up .logo {
		max-width: 57vw;
	}
}

