/*
Theme Name: INV DOORS
Author: Алексей М. 
Site: t.me/mikkhalev
*/
* {
	box-sizing: border-box;
}
body {
	padding: 50px 0;
	overflow-x: hidden;
	margin: 0;
	background: #EEEEEE;
}
.screen {
	margin-top: 100px;
}
.wrapper {
	margin: 0 auto;
	max-width: 1440px;
	padding: 0 50px;
	width: 100%;
}
@media(max-width: 1050px) {
	.wrapper {
		padding: 0 30px;
	}
}
@media(max-width: 768px) {
	.wrapper {
		padding: 0 20px;
	}
	body {
		padding: 20px 0 0 0;
	}
}

.flex-box-column {
	display: flex;
	flex-direction: column;
}

.flex-box-row {
	display: flex;
	flex-direction: row;
}

.space-between {
	justify-content: space-between;
}

h1 {
	gap: 0;
	font-family: Cormorant Unicase;
	font-weight: 500;
	font-size: 128px;
	line-height: 128px;
	color: #504943;
	border-width: 1px 0px 1px 0px;
	border-style: solid;
	border-color: #000000;
	padding: 50px 0;
	margin: 0;
}
h1 > span:last-child {
	text-align: right;
	color: #000000;
}
.main img {
	display: none;
}
@media(max-width: 1030px) {
	h1 {
		font-size: 98px;
		line-height: 98px;
	}
}
@media(max-width: 768px) {
	h1 > span:last-child {
		text-align: left;
	}
	h1 {
		font-size: 30px;
		line-height: 30px;
		border: unset;
		padding-top: 70px;
		padding-bottom: 0;
		gap: 20px;
		z-index: 1;
		position: relative;
		color: #000000;
	}
	.main {
		height: 300px;
		position: relative;
	}
	.main img {
		display: block;
		position: absolute;
		right: 0px;
		top: 0px;
		bottom: 0;
		height: 100%;
		z-index: 0;
	}
}



.about {
	margin-top: 50px;
	gap: 100px;
}

.about .flex-box-column {
	gap: 50px;
	justify-content: end;
	width: 60%;
}
.title {
	font-family: Cormorant Unicase;
	font-weight: 500;
	font-size: 64px;
	line-height: 77.5px;
	color: #000000;
}
.text {
	font-family: Cormorant Unicase;
	font-weight: 400;
	font-size: 32px;
	line-height: 38.75px;
	color: #000000;
}
@media(max-width: 1030px) {
	.title {
		font-size: 58px;
		line-height: 71.5px;
	}
	.text {
		font-size: 26px;
		line-height: 32.75px;
	}
}
@media(max-width: 768px) {
	.title {
		font-size: 24px;
		line-height: 29px;
	}
	.text {
		font-size: 16px;
		line-height: 19px;
	}
}
.about__image img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.about__image {
	width: 40%;
	height: 668px;
	max-width: 500px;
}
@media(max-width: 1030px) {
	.about {
		margin-top: 50px;
		gap: 50px;
	}
}
@media(max-width: 768px) {
	.about__image {
		display: none;
	}
	.about .flex-box-column {
		width: 100%;
		gap: 20px;
	}
	.about {
		margin-top: 0px;
		padding: 20px 0px;
		border-width: 1px 0px 1px 0px;
		border-style: solid;
		border-color: #000000;
	}
	.stwo {
		padding: 0 20px;
		margin-top: 20px;
	}
}

.swiper-container {
	max-width: 1162px;
	margin: 0 auto;
	width: 100%;
}
.swiper {
      
}

.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.swiper-slide img {
	display: block;
	width: 100%;
  height: 600px;
  object-fit: cover;
}

.swiper-button-next {
	left: 0 !important;
	right: unset !important;
}

.slider {
	width: 100%;
	padding-top: 50px;
	padding-bottom: 50px;
	border-width: 1px 0px 1px 0px;
	border-style: solid;
	border-color: #000000;
	gap: 30px;
}
.custom-next-slider-wrapper {
	max-width: 1162px;
	margin: 0 auto;
	justify-content: end;
	width: 100%;
}
.custom-next-slider {
	display: block;
	cursor: pointer;
}

@media(max-width: 768px) {
	.slider {
		padding: 0;
		border: unset;
		gap: 20px;
	}
	.swiper-container {
		padding-right: 70px;
	}
	.screen {
    margin-top: 30px;
	}
	.swiper-slide img {
	  height: 300px;
	}
	.custom-next-slider {
		max-width: 177px;
	}
	.custom-next-slider-wrapper {
		justify-content: start;
	}
}


.default {
	padding: 0;
	gap: 50px;
}
.default__image {
	width: 45%;
	max-height: 600px;
}
.default__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.default__content {
	background: #504943;
	gap: 50px;
	justify-content: center;
	padding: 50px;
	width: 55%;
	color: #ffffff;
}
.default__content span {
	color: #ffffff;
}
.row-revers {
	flex-direction: row-reverse;
}
@media(max-width: 768px) {
	.default {
		gap: 0px;
		flex-direction: column;
	}
	.default__image {
		width: 100%;
		max-height: 340px;
	}
	.default__image img {
		height: 340px;
	}
	.default__content {
		width: 100%;
		padding: 30px 20px;
		gap: 20px;
	}
	.default.row-revers {
		flex-direction: column;
	}
}


.modal-trigger {
	border-left: 1px solid #EEEEEE;  /* Левая граница белая */
  border-right: 1px solid #EEEEEE; /* Правая граница белая */
  border-top: 1px solid black;   /* Верхняя граница чёрная */
  border-bottom: 1px solid black;/* Нижняя граница чёрная */
	padding: 40px;
	font-family: Cormorant Unicase;
	font-weight: 300;
	font-size: 64px;
	line-height: 77.5px;
	letter-spacing: 0%;
	color: #000000;
	text-align: center;
	max-width: 1091px;
	margin: 0 auto;
	cursor: pointer;
	transition: 0.3s;
}
.modal-trigger:hover {
	background: #504943;
	border: 1px solid #504943;
	color: #ffffff;
}

@media(max-width: 768px) {
	.modal-trigger {
		font-family: Cormorant Unicase;
		font-weight: 300;
		font-size: 24px;
		line-height: 29.06px;
		color: #000000;
		max-width: 224px;
		padding: 10px 0;
		border: 1px solid #000000;
	}
}

footer .wrapper {
	padding-left: 0;
	padding-right: 0;
}
footer {
	padding: 0 30px 30px 30px;
}

.footer {
	border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 30px;
  gap: 100px;
}
.footer__column {
	gap: 30px;
}
.footer__column span {
	font-family: Cormorant Unicase;
	font-weight: 400;
	font-size: 32px;
	line-height: 38.75px;
	color: #000000;
}
.footer__column a {
	font-family: Cormorant Unicase;
	font-weight: 300;
	font-size: 24px;
	line-height: 29.06px;
	color: #000000;
	text-decoration: unset;
}
.footer > .footer__column:nth-child(1) {
	padding-right: 100px;
	border-right: 1px solid #000000;
}

@media(max-width: 768px) {
	.footer {
	  padding: 20px;
	  gap: 50px;
	}
	.footer__column {
		gap: 10px;
	}
	.footer__column span {
		font-size: 16px;
		line-height: 19px;
	}
	.footer__column a {
		font-size: 14px;
		line-height: 16px;
	}
	.footer > .footer__column:nth-child(1) {
		padding-right: 56px;
	}
	footer {
		padding: 0 20px 20px 20px;
	}
}


/*МОДАЛКА*/

.modal-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 999999;
	pointer-events: none;
}
.modal-wrapper--active {
	display: flex;
	pointer-events: auto;
}
.modal__shadow {
	background: #000000ab;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
.modal {
	background: #ffffff;
	padding: 40px;
	margin: auto;
	border-radius: 50px;
	width: 600px;
	z-index: 1;
}
.modal > span:nth-child(1) {
	font-family: Cormorant Unicase;
	font-weight: 500;
	font-size: 32px;
	line-height: 35px;
	letter-spacing: 0%;
	color: #000000;
}
.modal > span:nth-child(2) {
	font-family: Cormorant Unicase;
	font-weight: 400;
	font-size: 22px;
	line-height: 26px;
	color: #000000db;
  margin-top: 15px;
}
.modal label {
	font-family: Cormorant Unicase;
	font-weight: 400;
	font-size: 14px;
	line-height: 14px;
	color: #000000;
	background: #ffffff;
	padding: 0 2px;
	    position: relative;
    top: 10px;
    z-index: 8;
    left: 30px;
}
.modal .input-text {
	border-radius: 30px;
	border: 1px solid #000000db;
	padding: 20px;
	font-family: Cormorant Unicase;
	font-weight: 500;
	font-size: 20px;
	padding: 15px 20px;
}
.wpcf7-not-valid-tip {
	font-family: Cormorant Unicase;
	font-weight: 200;
	font-size: 14px !important;
}

.modal .input-submit {
	background: #292929;
	border-radius: 50px;
	padding: 15px 20px;
	font-family: Cormorant Unicase;
	font-size: 20px;
	line-height: 20px;
	color: #ffffff;
	border: 1px solid #292929;
	margin-top: 15px;
	cursor: pointer;
	transition: 0.3s;
}
.modal .input-submit:hover {
	background: unset;
	color: #292929;
}
.wpcf7-response-output {
	font-family: Cormorant Unicase;
	font-size: 15px;
}

@media(max-width: 768px) {
	.modal {
		width: 100%;
		padding: 40px 25px;
    margin: auto;
    border-radius: 40px;
	}
	.modal .input-text {
		width: 100%;
	}
}


/*МОДАЛКА БЛАГОДАРНОСТИ*/

.ty-modal-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 999999;
	pointer-events: none;
}
.ty-modal-wrapper--active {
	display: flex;
	pointer-events: auto;
}
.ty-modal-wrapper span {
	text-align: center;
}
.ty-modal-wrapper .heart {
	display: flex;
	width: 80px;
	height: 80px;
	background: #504943;
	border-radius: 50px;
	margin: auto;
}
.ty-modal-wrapper .heart img {
	display: block;
	margin: auto;
	width: 30px;
}
.ty-modal-wrapper .modal > span:nth-child(2) {
    font-size: 30px;
    line-height: 35px;
    margin-top: 25px;
    color: #000000;
}
.ty-modal-wrapper .modal > span:nth-child(3) {
    font-family: Cormorant Unicase;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000db;
    max-width: 350px;
    margin: 25px auto 0 auto;
}