@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	src: local("Montserrat Regular"), local("Montserrat-Regular"),
		url("../fonts/montserrat-v13-latin_cyrillic-regular.woff2") format("woff2"),
		url("../fonts/montserrat-v13-latin_cyrillic-regular.woff") format("woff");
}

@font-face {
	font-family: "Montserrat";
	font-style: italic;
	font-weight: 400;
	src: local("Montserrat Italic"), local("Montserrat-Italic"),
		url("../fonts/montserrat-v13-latin_cyrillic-italic.woff2") format("woff2"),
		url("../fonts/montserrat-v13-latin_cyrillic-italic.woff") format("woff");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700;
	src: local("Montserrat Bold"), local("Montserrat-Bold"),
		url("../fonts/montserrat-v13-latin_cyrillic-700.woff2") format("woff2"),
		url("../fonts/montserrat-v13-latin_cyrillic-700.woff") format("woff");
}

@font-face {
	font-family: "Rubik";
	font-style: normal;
	font-weight: 700;
	src: local("Rubik Bold"), local("Rubik-Bold"),
		url("../fonts/rubik-v8-latin_cyrillic-700.woff2") format("woff2"),
		url("../fonts/rubik-v8-latin_cyrillic-700.woff") format("woff");
}

html {
	font-size: 18px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #faafa0;
	text-decoration: none;
}

a:hover {
	color: #b06d81;
}

body {
	font-size: 1rem;
	line-height: 1.2;
	color: #000;
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 400;
	height: 100%;
	background-color: #fff;
	width: 100%;
	min-width: 320px;
	max-width: 1920px;
	margin: 0 auto;
}

h1,
h2,
h3,
h4 {
	font-family: "Playfair Display", Georgia, serif;
}

section,
nav,
footer,
header,
article,
main {
	display: block;
}

.visually-hidden {
	position: absolute;
	clip: rect(0 0 0 0);
	width: 1px;
	height: 1px;
	margin: -1px;
}

.container {
	width: 100%;
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 20px;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	background-color: rgba(0, 0, 0, .5);
	display: none;
}

.overlay--active {
	display: block;
}

.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, 200%);
	-ms-transform: translate(-50%, 200%);
	transform: translate(-50%, 200%);
	opacity: 0;
	width: 100%;
	max-width: 580px;
	z-index: 11;
	background: #fff;
	color: #323232;
	-webkit-box-shadow: 0 5px 61px 0 rgba(0, 0, 0, .38), 0 4px 45px 0 rgba(0, 0, 0, .45);
	box-shadow: 0 5px 61px 0 rgba(0, 0, 0, .38), 0 4px 45px 0 rgba(0, 0, 0, .45);
	padding: 50px 30px 30px;
	-webkit-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	transition: all 0.4s linear;
	text-align: center;
}

.modal--active {
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	opacity: 1;
}

.order-form--modal {
	width: 100%;
}

.order-form__title {
	text-transform: uppercase;
	margin-top: 5px;
	font-size: 2rem;
	padding-bottom: 0;
	margin-bottom: 10px;
}

.order-form__text {
	margin-top: 0;
	margin-bottom: 30px;
}

.order-form__label {
	display: block;
	width: 100%;
	max-width: 450px;
	margin: 10px auto 30px;
}

.order-form__input {
	color: #323232;
	background-color: transparent;
	border-radius: 5px;
	border: 2px solid #fae9e7;
	display: block;
	width: 100%;
	text-align: center;
	font-size: 1.1rem;
	padding: 16px 15px;
}

.order-form__input::-webkit-input-placeholder {
	color: #323232;
}

.order-form__input:-ms-input-placeholder {
	color: #323232;
}

.order-form__input::-ms-input-placeholder {
	color: #323232;
}

.order-form__input::placeholder {
	color: #323232;
}

.order-form__input:hover {
	border-color: #2e468c;
}

.order-form__input:focus {
	background-color: transparent !important;
	color: #323232;
	outline: none;
	border-color: #000;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
	-webkit-transition: background-color 5000s ease-in-out 0s;
	-o-transition: background-color 5000s ease-in-out 0s;
	transition: background-color 5000s ease-in-out 0s;
	-webkit-text-fill-color: #fff;
}

.order-form__btn {
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	background-color: transparent;
	border: 0;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.6;
	background-image: url("../img/close.svg");
}

.modal-close:hover,
.modal-close:focus {
	outline: none;
	opacity: 1;
	cursor: pointer;
}

.success-message {
	position: fixed;
	top: 0;
	left: 50%;
	width: 95%;
	max-width: 640px;
	-webkit-transform: translate(-50%, -250%);
	-ms-transform: translate(-50%, -250%);
	transform: translate(-50%, -250%);
	-webkit-box-shadow: 0 5px 61px 0 rgba(0, 0, 0, .38), 0 4px 45px 0 rgba(0, 0, 0, .45);
	box-shadow: 0 5px 61px 0 rgba(0, 0, 0, .38), 0 4px 45px 0 rgba(0, 0, 0, .45);
	background-color: #2e468c;
	color: #fff;

	font-weight: 400;
	z-index: 12;
	border-radius: 5px;
	padding: 20px 15px;
	font-size: 1.6rem;
	text-align: center;
	-webkit-transition: all 0.6s linear;
	-o-transition: all 0.6s linear;
	transition: all 0.6s linear;
	opacity: 0;
}

.success-message--show {
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	opacity: 1;
}

.btn--mobile {
	display: none;
}

.main-header {
	padding: 20px 0;
}

.main-header--fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	-webkit-box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.15);
	z-index: 2;
}

.main-header__container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.main-logo {
	color: #000;
	text-decoration: none;
	line-height: 1.1;
	text-transform: uppercase;
}

.main-header__logo {
	margin-right: 20px;
}

.main-logo__name {
	font-size: 1.6rem;
	display: block;
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	color: #faafa0;
}

.main-logo__sub {
	font-size: 1rem;
	letter-spacing: 0.5px;
	line-height: 1.2;
	color: #323232;
	display: block;
}

.main-header__place {
	max-width: 330px;
	padding-left: 45px;
	position: relative;
	color: rgb(0%, 0%, 0%, 0.7);
}

.main-header__place::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 35px;
	height: 35px;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url("../img/place.svg");
}

.contact-link {
	color: #323232;
	display: inline-block;
	vertical-align: top;
	padding-left: 48px;
	position: relative;
	text-decoration: none;
	font-size: 1.2rem;
}

.contact-link--phone {
	font-weight: 700;
	font-size: 1.2rem;
}

.contact-link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 33px;
	height: 33px;
	background-repeat: no-repeat;
	background-size: cover;
}

.contact-link--phone::before {
	background-image: url("../img/phone.svg");
}

.contact-link:hover {
	color: #b06d81;
}

.main-header__contacts {
	text-align: right;
}

.main-header__link {
	margin: 0 0 5px 10px;
}

.btn {
	display: inline-block;
	vertical-align: top;
	margin-top: 30px;
	padding: 15px 50px;
	text-align: center;
	line-height: 1;
	background-color: #b06d81;
	border: 2px solid #b06d81;
	color: #fff;
	border-radius: 10px;
	font-size: 1.1rem;
	cursor: pointer;
	-webkit-box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.15);
}

.btn:hover {
	background-color: #fae9e7;
	border-color: #b06d81;
	color: #000;
}

.sub-text {
	text-align: center;
	font-size: 1.1rem;
	margin-top: 0;
	margin-bottom: 40px;
}

.main-slide {
	padding: 40px 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-color: #f5f5f5;
	background-image: url("../img/main-bg.jpg");
	color: #000;
	min-height: 700px;
}

.main-slide__content {
	width: 700px;
	margin-top: 10%;
	padding: 30px;
	text-align: left;
	color: #;
	padding: 40px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: flex-start;
}

.main-slide__title {
	margin-top: 0;
	font-size: 1.3rem;
	margin-bottom: 1rem;
	padding: 0;
	font-weight: 100;
	color: rgb(0%, 0%, 0%, 0.7);
	font-family: "Montserrat", Arial, sans-serif;
}

.main-slide__accent {
	font-size: 3.5rem;
	font-weight: 100;
	color: #000;
	margin-bottom: 20px;
	display: block;
	font-family: "Playfair Display", Georgia, serif;
}

.main-slide__sale {
	font-weight: 700;
	color: #b06d81;
}

.main-footer__bottom {
	padding: 22px 0 20px;
	background-color: #6c6f74;
	color: #fff;
	text-align: center;
}

.main-footer__copy {
	margin: 0 auto;
}

.socials__item {
	display: inline-block;
	vertical-align: top;
	margin: 5px;
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-size: cover;
}

.socials__item--vk {
	background-image: url("../img/vk.svg");
}

.socials__item--in {
	background-image: url("../img/instagram.svg");
}

.socials__item--fb {
	background-image: url("../img/facebook.svg");
}

.socials__item:hover {
	opacity: 0.6;
}

.block-title {
	text-transform: uppercase;
	text-align: left;
	font-size: 2.2rem;
	font-weight: 200;
	color: #000;
	position: relative;
	margin-bottom: 25px;
	padding-bottom: 20px;
	font-family: "Playfair Display", Georgia, serif;
}

.block-title::before,
.block-title::after {
	content: "";
	position: absolute;
	left: 0;
	height: 2px;
	background-color: #faafa0;
}

.block-title::before {
	bottom: 1px;
	width: 200px;
}

.services {
	padding: 40px 0;
	background-color: #fff;
}

.services-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.services-list__item {
	width: 100%;
	display: block;
	padding: 45px 35px;
	padding-left: 38%;
	margin-bottom: 30px;
	background-color: #fae9e7;
	-webkit-box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.1);
	position: relative;
	border-radius: 20px;
}

.services-list__item--reverse {
	padding-left: 50px;
	padding-right: 38%;
	min-height: 300px;
}

.services-list__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 35%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	border-radius: 20px;
}

.services-list__item--reverse::before {
	left: auto;
	right: 0;
}

.services-list__item--first::before {
	background-image: url("../img/service-1.jpg");
}

.services-list__item--second::before {
	background-image: url("../img/service-2.jpg");
}

.services-list__item--third::before {
	background-image: url("../img/service-3.jpg");
}

.services-list__item--fourth::before {
	background-image: url("../img/service-4.jpg");
}

.services-list__item--fifth::before {
	background-image: url("../img/service-5.jpg");
}

.services-list__item--sixth::before {
	background-image: url("../img/service-6.jpg");
}

.services-list__item--seventh::before {
	background-image: url("../img/service-7.jpg");
}

.services-list__name {
	margin-top: 0;
	margin-bottom: 1.2rem;
	font-size: 1.6rem;
	font-weight: 200;
	color: #000;
}

.services-list__cost {
	font-size: 1.5rem;
	padding: 10px 40px;
	border-radius: 20px;
	color: #fff;
	background-color: #b06d81;
	margin-top: 20px;
}

.services-list__text {
	margin-top: 0;
	margin-bottom: 30px;
	font-size: 0.9rem;
	line-height: 1.3;
	color: rgb(0%, 0%, 0%, 0.7);
}

.about {
	padding: 40px 0;
	background-color: #f5f5f5;
}

.about-block {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
}

.about-block__item {
	width: 50%;
}

.about-block__item .block-title {
	padding-right: 20px;
}

.about-block__item p {
	padding: 10px 40px 0 0;
}

.about-block__img {
	width: 50%;
	background-image: url("../img/about-bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.styled-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.styled-list li {
	position: relative;
	padding: 5px 0 5px 34px;
	margin-bottom: 5px;
}

.styled-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 26px;
	height: 26px;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url("../img/check.svg");
}

.features {
	padding: 50px 0 40px;
}

.features-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.features-list__item {
	width: 31%;
	text-align: center;
	margin-bottom: 20px;
}

.features-list__item {
	display: inline-block;
	vertical-align: top;
	width: 31%;
	font-size: 16px;
	padding-top: 70px;
	background-size: 40px 40px;
	background-repeat: no-repeat;
	background-position: center top;
	padding-left: 0;
	margin: 1%;
	margin-bottom: 20px;
}

.features-list__item--stretcher {
	background-image: url("../img/stretcher.svg");
}

.features-list__item--wallet {
	background-image: url("../img/wallet.svg");
}

.features-list__item--test {
	background-image: url("../img/test.svg");
}

.features-list__number {
	display: block;
	font-size: 5rem;
	color: #b06d81;
	text-shadow: 0 20px 10px rgba(0, 0, 0, .14), 1px 2px 1px #fff;
	margin-bottom: 8px;
}

.features-list__text {
	text-transform: uppercase;
	color: rgb(0%, 0%, 0%, 0.7);
}

.portfolio {
	padding: 40px 0;
	background-color: #f5f5f5;
}

.gallery {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.portfolio__gallery {
	margin: 50px 0 10px;
}

.gallery__item {
	width: 23%;
	margin-bottom: 2%;
}

.gallery__item img {
	-webkit-box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 15px 20px 5px rgba(0, 0, 0, 0.15)
}

.main-footer__container {
	padding-top: 30px;
	padding-bottom: 0;
	text-align: center;
}

.main-footer__link {
	display: inline-block;
	vertical-align: top;
	font-weight: 700;
	color: #b06d81;
	font-size: 2rem;
	text-decoration: none;
	line-height: 0;
}

.main-footer__text {
	font-size: 1.4rem;
	margin-bottom: 0;
}

.table-header {
	padding: 15px;
	background-color: #b06d81;
	color: #fff;
}

.table td {
	padding: 5px 20px;
}

.table tr:nth-child(odd) {
	background-color: #fae9e7;
}

.contacts {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.contacts-item {
	width: 31%;
	margin: 1%;
	padding: 80px 25px 30px;
	border: 2px solid #fae9e7;
	border-radius: 20px;
	text-align: center;
	background-repeat: no-repeat;
	background-size: 40px 40px;
	background-position: top 40px center;
}

.contacts-item--title {
	margin: 0;
	margin-top: 25px;
	font-size: 1.2rem;
}

.contacts-item__location {
	background-image: url("../img/place.svg");
}

.contacts-item__link {
	background-image: url("../img/phone.svg");
}

.contacts-item__social {
	background-image: url("../img/instagram.svg");
}


@media (max-width: 1099px) {
	.contact-link--phone {
		padding-left: 40px;
	}

	.contact-link::before {
		width: 30px;
		height: 30px;
	}

	.main-logo__name {
		font-size: 1.6rem;
	}

}

@media (max-width: 991px) {
	html {
		font-size: 16px;
	}

	.main-header__time {
		display: none;
	}

	.main-slide__accent {
		font-size: 3rem;
	}

	.main-slide__title {
		font-size: 1.1rem;
	}

	.main-slide__content {
		width: 400px;
		height: 400px;
		margin-top: 5%;
	}

	.main-slide {
		min-height: 500px;
	}
}

@media (max-width: 850px) {
	.main-logo__name {
		font-size: 1.5rem;
	}

	.main-logo__sub {
		font-size: 1.1rem;
	}

	.features-list__number {
		font-size: 5rem;
	}

	.main-header__place {
		display: none;
	}
}

@media (max-width: 767px) {
	.block-title {
		font-size: 2rem;
	}

	.main-header {
		padding: 15px 0 10px;
	}

	.main-header--fixed .main-header__logo {
		display: none;
	}

	.gallery__item {
		width: 48%;
	}

	.features {
		padding: 20px 0 10px;
	}

	.features-list__item {
		width: 100%;
	}

	.features-list__number {
		font-size: 6rem;
	}

	.main-slide__content {
		margin: auto 0;
		width: 350px;
		height: 350px;
	}

	.main-slide {
		min-height: 500px;
	}

	.main-header__container {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		text-align: center;
	}

	.main-header__logo {
		margin-right: 0;
		margin-bottom: 7px;
	}

	.main-header__contacts {
		text-align: center;
	}

	.main-header__link {
		margin-left: 0;
	}

	.main-footer__text {
		font-size: 1.1rem;
	}

	.contacts-item {
		width: 100%;
	}

	.main-header__place {
		display: block;
		margin-bottom: 10px;
	}

	.main-header__place::before {
		width: 25px;
		height: 25px;
	}

	.contact-link::before {
		width: 25px;
		height: 25px;
	}

}

@media (max-width: 700px) {
	.about-block {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.about-block__item {
		width: 100%;
	}

	.about-block__img {
		width: 100%;
		min-height: 400px;
	}
}

@media (max-width: 600px) {
	.block-title {
		font-size: 1.7rem;
	}

	.features-list__number {
		font-size: 5.5rem;
	}

	.services-list__item {
		padding: 260px 20px 20px;
	}

	.services-list__item::before {
		left: 0;
		right: auto;
		width: 100%;
		height: 240px;
	}

	.main-slide__accent {
		font-size: 2.4rem;
	}

	.main-slide__title {
		font-size: 1.1rem;
	}

	.main-slide__content {
		width: 300px;
		height: 300px;
	}

	.btn {
		padding: 12px 15px;
		font-size: 1rem;
		margin-top: 0;
	}

	.main-slide {
		min-height: 420px;
	}

	.main-header--fixed .main-logo__sub {
		display: none;
	}
}

@media (max-width: 500px) {
	.main-slide__content {
		width: 300px;
		height: 300px;
		margin: auto;
		text-align: center;
		align-items: center;
		padding: 20px;
	}

	.main-slide {
		background-image: url("../img/main-bg-mini.jpg");
	}

}

@media (max-width: 374px) {
	.block-title {
		font-size: 1.4rem;
	}

	.main-slide {
		min-height: 400px;
	}

	.features-list__number {
		font-size: 5rem;
	}

	.main-logo__name {
		font-size: 1.3rem;
		margin-bottom: 5px;
	}

	.main-logo__sub {
		font-size: 0.9rem;
	}

	.services-list__name {
		font-size: 1.4rem;
	}

	.services-list__cost {
		font-size: 1.6rem;
	}

	.gallery__item {
		width: 100%;
	}

	.block-title::before,
	.block-title::after {
		height: 3px;
	}

	.contact-link--phone {
		font-size: 1.3rem;
	}

	.main-slide__container {
		padding: 0;
	}
}