:root{
	--brown: #220C0C;
	--white: #fff;
	--beige: #EEEEE6;
	--base-radius: .75rem;
	--gray: #C5C4BF;
	--darkgray: #7B7B7B;
	--black: #000;
	--color-sale-free: #AFC2B3;
	--color-sale-hold: #FFC2EA;
	--color-sale-sold: #6E0081;
	--response-success-color: green;
	--response-error-color: red;
	--base-transition-delay: .3s;
}
html{
	font-size: 1vw;
}
body{
	color: var(--brown);
	font-family: "Playfair Display", serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 400;
}
body.overflow-hidden{
	overflow: hidden !important;
}
a{
	text-decoration: none;
	color: inherit;
}
a:hover{
	text-decoration: underline;
	text-underline-offset: .25rem;
}
.container{
	padding-left: 1rem;
	padding-right: 1rem;
	margin: 0 auto;
	width: 100%;
	max-width: 89.5rem;
}
img{
	max-width: 100%;
	height: auto;
}
.start{
	aspect-ratio: 1920 / 948;
	background-size: cover;
	background-color: #72896c;
}
.sh{
	font-size: 1.2rem;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: linear-gradient(
		to top, 
		rgba(0, 0, 0, 0) 0%, 
		rgba(80, 80, 80, 0.88) 100%
	);
	padding: 1rem 0;
}
.sh > .container{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.sh a{
	color: var(--white);
}
.sh nav{
	flex: 1;
}
.sh nav ul{
	display: flex;
	gap: 2rem;
	text-transform: uppercase;
}
.sh .actions{
	display: flex;
	gap: 3rem;
	align-items: center;
	flex: 1;
	justify-content: flex-end;
}
.sh .action-request{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.sh .action-request span{
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: .3rem;
	text-transform: uppercase;
}
.sh .action-request span:before,
.sh .action-request span:after{
	content: "";
	display: inline-flex;
	width: 1.85rem;
	height: 1px;
	background: currentColor;
}
.start{
	padding-bottom: 3.5rem;
}
.start > .container{
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}	
.start .info{
	font-size: 1.2rem;
	color: var(--white);
	display: inline-flex;
	position: relative;
	background-color: rgba(0,0,0,.55);
	border-radius: var(--base-radius);
	padding: 1.1rem 3rem;
}
.start .info div{
	padding-left: 1.8rem;
	border-left: 1px solid var(--white);
}
.h2{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	white-space: nowrap;
	text-transform: uppercase;
	font-size: 1.6rem;
	color: var(--brown);
	margin-bottom: 3rem;
}
.h2:before,
.h2:after{
	content: "";
	display: inline-flex;
	width: 2.5rem;
	height: 1px;
	background: var(--brown);
}
.section{
	margin-bottom: 6rem;
}
.h3{
	display: flex;
	font-weight: 700;
	justify-content: center;
	font-size: 1.2rem;
	margin-bottom: 2.5rem;
}
.infr .row,
.houses .item,
.location .item{
	display: flex;
	gap: 2rem;
	align-items: center;
	background-color: var(--beige);
	border-radius: var(--base-radius);
	overflow: hidden;
}
.infr .row .image,
.houses .item .image{
	border-radius: var(--base-radius);
}
.infr .row .h3,
.houses .item .h3{
	justify-content: flex-start;
}
.infr .row .text{
	background-image: url('../images/lp.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	font-size: 1.2rem;
	margin: 0 auto;
}
ul.base-list{
	padding-left: 1.5rem;
}
ul.base-list,
ul.base-list li{
	font-weight: 400;
	list-style: disc;
}
.grid{
	display: grid;
	gap: 2.5rem;
}
.grid-1{
	grid-template-columns: repeat(1, 1fr);
}
.grid-2{
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 992px){
	.grid-desktop-3{
		grid-template-columns: repeat(3, 1fr);
	}
	.grid-desktop-56-auto{
		grid-template-columns: 56% auto;
	}
	.flex-desktop-column-reverse{
		flex-direction: column-reverse !important;
	}
	.grid-desktop-2{
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 577px) and (max-width: 991px){
	.grid-tablet-2{
		grid-template-columns: repeat(2, 1fr);
	}
	.infr .grid-tablet-2 .item:last-child{
		grid-column: 1 / -1;
		justify-self: center;
	}
}

.infr .grid .item{
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--beige);
	border-radius: var(--base-radius);
}
.infr .grid .item .image{
	object-fit: cover;
	border-radius: var(--base-radius);
}
.infr .grid .item > span,
.infr .grid .item > div{
	font-size: 1.2rem;
	font-weight: 500;
	padding: 1rem;
}
.flex-column-reverse{
	flex-direction: column-reverse !important;
}
.infr .grid .item .base-list{
	columns: 2;
	gap: 3rem;
}
.infr .grid-56-auto{
	gap: 1rem;
}
.infr .grid-56-auto > .item:first-child{
	background-image: url(../images/lp.svg);
	background-position: calc(100% - 5rem) calc(100% - 1rem);
	background-size: 5rem;
	background-repeat: no-repeat;
}
.houses .photo img{
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1920 / 1014;
}
.houses .photo .image:not(.active){
	display: none;
}
.houses .links{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .25rem;
	margin-bottom: 2.5rem;
}
.houses .links a.active{
	color: var(--brown);
}
.houses .links a:not(.active){
	color: var(--gray);
}
.houses .hint{
	text-align: center;
	font-size: 1.2rem;
	padding: 3rem 0;
}
.btn{
	font-size: 1rem;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--brown);
	border-radius: var(--base-radius);
}
.btn:hover{
	background: var(--brown);
}
.btn img,
.btn svg{
	flex-shrink: 0;
}
.btn span{
	flex: 1;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.btn:hover span{
	color: var(--white);
}
.btn:hover svg path[fill]{
	fill: var(--white);
}
.houses .item .base-list{
	margin-top: 3rem;
	margin-bottom: 2rem;
}
.houses .text{
	background-image: url('../images/lp.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.houses .actions{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75rem;
}
.houses .actions a{
	text-transform: uppercase;
}
.houses .actions .btn{
	width: 100%;
}
@media (min-width: 992px){
	.location .item.grid{
		display: grid !important;
	}
}
.location .h3{
	margin-bottom: 0rem;
}
.location .text{
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 2rem;
	padding: 1.5rem 1.75rem;
}
.location .text .hint{
	font-size: 1.2rem;
}
.location .text .actions{
	display: inline-flex;
	flex-direction: column;
	gap: .75rem;
	align-items: center;
	margin: 0 auto;
}
.location .text .actions a{
	width: 100%;
}
.location .container{
	max-width: 72.5rem;
}
.sf{
	position: static;
	background: var(--black);
	border-top-left-radius: var(--base-radius);
	border-top-right-radius: var(--base-radius);
}
.gen > .container{
	position: relative;
}
.gen .legend{
	position: absolute;
	z-index: 3;
	top: 3.5rem;
	left: 4rem;
	display: flex;
	flex-direction: column;
	gap: .4rem;
	background-color: var(--beige);
	border-radius: var(--base-radius);
	padding: 2rem 2.25rem;
}
.gen .legend .item{
	display: flex;
	align-items: center;
	gap: 1rem;
}
.gen .legend .color-value{
	flex-shrink: 0;
	width: 3.4rem;
	height: 1.3rem;
}
.gen .legend span{
	font-size: 1.2rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gen .infr-objects{
	color: var(--white);
	background-color: rgba(0,0,0,.55);
	border-radius: var(--base-radius);
	padding: 1.2rem .75rem;
	display: inline-flex;
	flex-direction: column;
	position: absolute;
	z-index: 3;
	right: 4rem;
	top: 0;
	bottom: 0;
	align-self: center;
}
.gen .infr-objects.hover li:not(.hover, .active),
.gen .infr-objects.hover li:not(.hover, .active),
.gen .infr-objects.active li:not(.hover, .active),
.gen .infr-objects.active li:not(.hover, .active){
	color: var(--darkgray);
}
.gen .infr-objects ol{
	padding-left: 1.5rem;
}
.gen .infr-objects ol li a{
	text-decoration: none;
}
.location iframe,
.location script{
	display: block;
	height: 100%;
	width: 100%;
}
.location script{
	background-image: url('../images/Yandex_Maps_icon.svg');
	background-repeat: no-repeat;
	background-size: 20rem;
	background-position: center;
}
.gen .image{
	height: auto !important;
}
.modal{
	position: fixed;
	z-index: 4;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,.3);
	display: flex;
	align-items: center;
	justify-content: center;

}
.modal:not(.active){
	display: none;
}
.modal .inner{
	position: relative;
	background: var(--beige);
	width: 30rem;
	border-radius: var(--base-radius);
	padding: 2rem 4.4rem;
	font-size: 1.2rem;
	max-height: calc(100% - 1rem);
	overflow-y: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.modal .inner::-webkit-scrollbar{
	display: none;
}
.modal .inner .h3{
	text-align: center;
}
.modal .form-label{
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: 0.5rem;
}
.form-group{
	margin-bottom: 1rem;
}
.form-control{
	width: 100%;
	background: var(--white);
	border-radius: var(--base-radius);
	font-size: 1.2rem;
	padding: 1rem 1.2rem;
}
.modal .inner form .btn{
	width: 100%;
	justify-content: center;
	margin-bottom: 1rem;
}
.modal .inner form .btn span{
	flex: unset;
}
.modal .inner form .hint{
	text-align: center;
	font-size: 0.8rem;
}
.modal .inner .close{
	position: absolute;
	right: 1rem;
	top: 1rem;
	font-size: 2rem;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.modal .inner .response-success:not(:empty) + form,
.modal .inner .response-success:not(:empty) + form + .response-error{
	display: none;
}
.response-success{
	color: var(--response-success-color);
}
.response-error{
	margin-top: 1rem;
	font-size: .75rem;
	color: var(--response-error-color);
}
@media (min-width: 577px) and (max-width: 991px){
	.location .text .actions a{
		width: auto;
	}
}
@media (max-width: 991px){
	html{
		font-size: 1.75vw;
	}
	.sh:not(.sf){
		background: linear-gradient(
			to top, 
			rgba(0, 0, 0, .1) 0%, 
			rgba(80, 80, 80, 0.88) 100%
		);
	}
	.sh > .container{
		flex-direction: column;
		gap: 1rem;
	}
	.infr .row,
	.houses .item,
	.location .item{
		flex-direction: column-reverse;
		padding-top: 2rem;
		align-items: flex-start;
	}
	.infr .row .image,
	.houses .item .image{
		width: 100% !important;
		height: auto !important;
	}
	.infr .row .text,
	.houses .text,
	.location .text{
		margin: 0;
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.infr .row .text .base-list{
		columns: 2;
		gap: 5rem;
	}
	.houses .photo img{
		height: auto !important;
	}
	.gen .container > img{
		height: auto !important;
	}
	.location .item{
		display: flex !important;
		flex-direction: column-reverse;
	}
	.location .text .actions{
		flex-direction: row;
		flex-wrap: wrap;
	}
	.location iframe{
		height: 70vh;
		min-height: 29rem;
	}
	.infr .grid .item .image{
		width: 100% !important;
		height: auto !important;
	}
	.gen .infr-objects{
		bottom: 6rem;
		right: 1.5rem;
		padding: .25rem;
		font-size: 1rem;
	}
	.gen .legend{
		padding: .5rem;
		top: 1rem;
		left: 2rem;
	}
	.gen .legend .item{
		gap: .5rem;
	}
	.gen .legend .color-value{
		width: 2rem;
		height: 1rem;
	}
	.gen .legend span{
		font-size: 1rem;
	}
}
@media (max-width: 576px){
	html{
		font-size: 3vw;
	}
	.start .info{
		display: none;
	}
	.infr .row .text .base-list,
	.infr .grid .item .base-list{
		columns: 1;
	}
	.infr .grid .item{
		align-items: flex-start;
	}
	.infr .row .text, .houses .text, .location .text{
		width: 100%;
	}
	.sh:not(.sf){
		aspect-ratio: 1920 / 948;
	}
	.gen .legend span{
		font-size: 0.8rem;
	}
	.gen > .container{
		margin-top: 16.5rem;
	}
	.gen .infr-objects li + li{
		margin-top: .5rem;
	}
	.gen .infr-objects{
		background: #000;
		top: -15rem;
		left: 1rem;
		right: 1rem;
		align-self: unset;
		bottom: unset;
		font-size: 1.1rem;
		line-height: 1;
		padding: .5rem;
	}
	.gen .infr-objects ol{
		columns: 2;
	}
	.sh > .container{
		height: 100%;
	}
}
#svg{
	position: relative;
	aspect-ratio: 1920 / 1440;
	font-size: 0;
	border-radius: var(--base-radius);
	overflow: hidden;
}
#svg picture{
	position: absolute;
	z-index: 1;
}
#svg svg{
	position: relative;
	z-index: 2;
}
#svg polygon{
	cursor: pointer;
}
#svg polygon:not(.hover, .active){
	opacity: 0;
}
.infr-detail{
	width: 35rem;
	max-width: calc(100% - 2rem);
	display: none;
	position: absolute;
	z-index: 3;
	border-radius: var(--base-radius);
	background: var(--beige);
	padding: 1rem;
}
.infr-detail .body{
	display: flex;
	gap: 1rem;
}
.infr-detail .title,
.modal-title{
	font-weight: 700;
	font-size: 1.6rem;
	text-align: center;
	border-bottom: 1px solid;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}
.infr-detail .image{
	flex-shrink: 0;
	border-radius: var(--base-radius);
	overflow: hidden;
}
.infr-detail .image img{
	height: auto;
}
.infr-detail .inner{
	position: relative;
}
.infr-detail .close{
	position: absolute;
	top: 0;
	right: 0;
}
.infr-detail .text{
	font-size: 1rem;
}
#house-info .list{
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	margin-bottom: 1.4rem;
}
#house-info .actions{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 17rem;
	margin: 0 auto;
}
#house-info .send-request.disabled{
	pointer-events: none;
	opacity: .2;
}
@media (max-width: 576px){
	.infr-detail .image{
		width: 10rem !important;
	}
	.infr-detail{
		top: 7rem !important;
		left: 1rem !important;
		right: 1rem !important;
		bottom: 1rem !important;
	}
}
#svg polygon[data-id]:not(.hover, .active){
	opacity: 1;
	fill: #afc2b36b;
}
.fancybox__container .has-iframe .fancybox__content{
	min-height: 100% !important;
}
.sh{
	position: sticky;
	top: 0;
	z-index: 4;
	transition: backdrop-filter var(--base-transition-delay);
}
body.scrolled .sh{
	backdrop-filter: blur(20px);
}
.start{
	margin-top: -9rem;
}
@media (min-width: 1400px){
	.sh .action-request span,
	.sh{
		transition: font-size var(--base-transition-delay);
	}
	body.scrolled .sh .action-request span,
	body.scrolled .sh{
		font-size: .9rem;
	}
}
@media (min-width: 992px){
	.sh .logo img{
		transition: height var(--base-transition-delay);
	}
	body.scrolled .sh .logo img{
		width: auto !important;
		height: 3rem !important;
	}
}
@media (max-width: 991px){
	.sh .logo{
		overflow: hidden;
		transition: height var(--base-transition-delay);
		height: 7.45rem;
	}
	body.scrolled .sh .logo{
		height: 0;
	}
	.start{
		margin-top: -15rem;
	}
	/*.sh:not(.sf) {
		background: linear-gradient(to top, rgba(0, 0, 0, .1) 0%, #72896c 100%);
	}*/
	.sh .action-request{
		flex-direction: row;
		gap: 1rem;
	}
	body.scrolled .sh > .container{
		gap: .5rem;
	}
}
@media (max-width: 767px){
	.video iframe{
		width: 100%;
		height: auto !important;
	}
}
@media (max-width: 576px){
	.sh:not(.sf){
		aspect-ratio: unset;
	}
}
.section.order-btn .btn{
	width: 30rem;
	margin: 0 auto;
	max-width: 100%;
}
.section.opisanie ul{
	margin: 1rem 0;
}