@font-face {
	font-family: 'Ephesis';
	src: url('fonts/Ephesis-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	scroll-padding: 50px;
}

body {
	font-family: Arial, sans-serif;
	color: #ffffff;
	background-color: #000000;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: -webkit-fill-available;
	@supports (-moz-appearance: none) {
		min-height: 100vh;
	}
	margin: 0;
}

*,
* ::after,
* ::before {
	box-sizing: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style-type: none;
}

button {
	background-color: inherit;
	padding: 0;
	border: 0;
	cursor: pointer;
}

.container {
	max-width: 1940px;
	padding: 0 10px;
	margin: 0 auto;
}

/* ***********HEADER start******** */
/* ***********HEADER start******** */
.header {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #fcfcfc;
	background-image: url(../img/six1.jpg);
	background-position: inherit;
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 4px solid #228b22;
	padding: 5px 0;
}

.apartment__header {
	position: sticky;
	top: 0;
}

.header__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: bold;
	color: #ffffff;
}

.logo__img {
	transform: scale(1.3);
	max-height: 90px;
	display: block;
	width: clamp(70px, 8vw, 160px);
	padding-top: 5px;
}

.menu {
	display: none;
}

.menu__list {
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: clamp(16px, 2vw, 20px);
}

.menu__list a {
	text-align: center;
	display: inline-block;
	padding: 5px 20px;
	cursor: pointer;
	letter-spacing: 2px;
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
}

.menu__list a:before {
	content: '';
	position: absolute;
	width: 0;
	background: #228b22;
	left: 45%;
	height: 2px;
	bottom: 0;
	transition: all 0.3s;
	opacity: 0.7;
}

.menu__list a:hover::before {
	width: 100%;
	left: 0;
}

.header__language {
	position: relative;
	display: none;
}

#languageButton {
	width: auto;
	background: none;
	border: none;
	cursor: pointer;
	font-size: clamp(16px, 2vw, 20px);
	font-weight: bold;
	padding: 5px 10px;
	color: #fff;
	margin-right: 50px;
}

#languageButton span {
	color: #228b22;
}

#languageButton span:before {
	content: '';
	position: absolute;
	width: 0;
	background: #228b22;
	left: 45%;
	height: 2px;
	bottom: 0;
	transition: all 0.3s;
	opacity: 0.7;
}

#languageButton span:hover::before {
	width: 100%;
	left: -25px;
}

#languageButton img {
	width: 50px;
	margin-right: 5px;
}

#languageButton span {
	/* display: none; */
}

.language__list {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
	position: absolute;
	width: 150px;

	top: 100%;
	/* left: 30px; */
	z-index: 10;
	width: 40px;
}

.language__item {
	padding: 10px;
	cursor: pointer;
	text-align: center;
	font-size: clamp(16px, 2vw, 20px);
	font-weight: bold;
	cursor: pointer;
	color: #228b22;
	display: flex;
	align-items: center;
	justify-content: center;
}

.language__item:hover {
	background-color: #8b9a88;
}

.language__item img {
	margin-right: 5px;
	width: 50px;
}

.language__list.show {
	display: block;
}

/* ***********burger start******** */

.menu__burger-wrapper {
	width: 20%;
	margin: 0;
	overflow: hidden;
	height: 30px;
	position: relative;
}

/* Чекбокс для управления меню */
.burger-checkbox {
	position: absolute;
	visibility: hidden;
}

/* Кнопка бургер */
.burger {
	position: absolute;
	top: 1px;
	right: 0;
	z-index: 1;
	cursor: pointer;
	display: block;
	width: 40px;
	height: 26px;
	border: none;
	background: transparent;
	transform: scale(0.8);
}

.burger::before,
.burger::after {
	content: '';
	position: absolute;
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 10px;
	background: #228b22;
	left: 0;
}

.burger::before {
	top: 0;
	box-shadow: 0 11px 0 #228b22;
	transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}

.burger::after {
	bottom: 0;
	transition: bottom 0.3s 0.15s, transform 0.3s;
}

.burger-checkbox:checked + .burger::before {
	top: 11px;
	transform: rotate(45deg);
	box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
	transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}

.burger-checkbox:checked + .burger::after {
	bottom: 11px;
	transform: rotate(-45deg);
	transition: bottom 0.3s, transform 0.3s 0.15s;
}

/* Меню */
.menu__burger-list {
	justify-items: start;
	top: 0;
	right: 0;
	position: fixed;
	display: grid;
	gap: 12px;
	padding: 60px 0;
	margin: 0;
	background-color: #2e2e2e;
	list-style-type: none;
	transform: translateX(100%);
	transition: 0.3s;
	width: 200px;
	border: 1px solid #228b22;
	border-radius: 20px 0px 0px 20px;
}

.menu__burger-item {
	display: block;
	padding: 8px;
	color: white;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
}

.menu__burger-item:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Появление меню при активном чекбоксе */
.burger-checkbox:checked ~ .menu__burger-list {
	transform: translateX(0);
	position: fixed;
}

/* Фоновый слой для кликов вне меню */
.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none; /* Скрыто по умолчанию */
	z-index: 0; /* Под меню */
}

/* Когда меню открыто, показываем фоновый слой */
.burger-checkbox:checked ~ .menu-overlay {
	display: block;
}

/* Языковая панель */
.burger__language-list {
	width: 170px;
	display: flex;
	padding: 2px 0px 0 8px;
	justify-content: space-between;
}

.menu__burger-list a {
	text-transform: uppercase;
	letter-spacing: 2px;
}

.burger__language-list img {
	width: 40px;
}

/* .menu__burger-wrapper {
	width: 20%;
	margin: 0;
	overflow: hidden;
	height: 30px;
	position: relative;
}

.burger-checkbox {
	position: absolute;
	visibility: hidden;
}

.burger {
	position: absolute;
	top: 1px;
	right: 0;
	z-index: 1;
	cursor: pointer;
	display: block;
	width: 40px;
	height: 26px;
	border: none;
	background: transparent;
	transform: scale(0.8);
}

.burger::before,
.burger::after {
	content: '';
	position: absolute;
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 10px;
	background: #228b22;
	left: 0;
}

.burger::before {
	top: 0;
	box-shadow: 0 11px 0 #228b22;
	transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}

.burger::after {
	bottom: 0;
	transition: bottom 0.3s 0.15s, transform 0.3s;
}

.burger-checkbox:checked + .burger::before {
	top: 11px;
	transform: rotate(45deg);
	box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
	transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}

.burger-checkbox:checked + .burger::after {
	bottom: 11px;
	transform: rotate(-45deg);
	transition: bottom 0.3s, transform 0.3s 0.15s;
}

.menu__burger-list {
	justify-items: start;
	top: 0;
	right: 0;
	position: fixed;
	display: grid;
	gap: 12px;
	padding: 60px 0;
	margin: 0;
	background-color: #2e2e2e;
	list-style-type: none;
	transform: translateX(100%);
	transition: 0.3s;
	width: 200px;
	border: 1px solid #228b22;
	border-radius: 20px 0px 0px 20px;
}

.menu__burger-item {
	display: block;
	padding: 8px;
	color: white;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
}

.menu__burger-item:hover {
	background: rgba(255, 255, 255, 0.2);
}

.burger-checkbox:checked ~ .menu__burger-list {
	transform: translateX(0);
	position: fixed;
}

.burger__language-list {
	width: 170px;
	display: flex;
	padding: 2px 0px 0 8px;
	justify-content: space-between;
}

.menu__burger-list a {
	text-transform: uppercase;
	letter-spacing: 2px;
}

.burger__language-list img {
	width: 40px;
} */

/* ***********burger end******** */

/* #modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 100;
} */

/* #modalContent {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	width: 80%;
	max-width: 800px;
	height: 500px;
	position: relative;
} */

/* #largeMap {
	width: 100%;
	height: 100%;
}

.leaflet-bottom,
.leaflet-right {
	display: none;
} */
/**********Header END *******************/
/**********Header END *******************/

/* *************Main start************** */
/* *************Main start************** */

.main {
	background-color: #f1f1f1;
	flex-grow: 1;
}

.main--apartment {
	padding-top: 50px;
}

.main__wrapper {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: minmax(50px, auto);
	grid-auto-flow: row dense;
	gap: 5px;
	padding: 20px;
	background-color: #f1f1f1;
}

.project__going,
.apartments__modal {
	grid-column: span 12;
	margin-bottom: 30px;
}

.project__going-title,
.apartments__modal-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #000;
	margin-right: -7px;
	font-size: 29px;
	width: max-content;
}

.main__title-item {
	text-transform: lowercase;
	display: inline-block;
	transform: translateY(-2px);
}

.project__going-title-bottom,
.apartments__modal-title-bottom {
	font-family: 'Ephesis';
	letter-spacing: 12px;
	color: #000;
	margin-top: -13px;
	margin-left: -68px;
}

.project__going-title-top,
.apartments__modal-title-top {
	font-size: 35px;
	color: #228b22;
}

.project__going-title-top::before,
.apartment__selection-title-top::before,
.apartments__modal-title-top::before {
	content: '';
	background-image: url(../img/masis2.svg);

	display: inline-block;
	width: 140px;
	height: 65px;
	transform: rotate(-6deg) scale(1.5);
}

.project__going-item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-around;
}

.project__going-slider {
	position: relative;
	width: 100%;
	/* margin: 0 auto; */
	overflow: hidden;
	margin-bottom: 30px;
}

.project__going-slider-track {
	max-height: 65vh;
	/* width: 100%; */
	padding-left: 0;
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.project__going-slider-track img {
	border-radius: 10px;
	flex-shrink: 0;
	width: 100%;
	/* max-height: 60vh; */
	object-fit: contain;
}

.prev-button,
.next-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	font-size: 20px;
	border: none;
	cursor: pointer;
	z-index: 10;
	line-height: 10px;
}

.prev-button {
	left: 10px;
}

.next-button {
	right: 10px;
}

/* === Стили точек (индикаторов) === */
.project__going-slider-dots {
	position: absolute;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 2px 10px;
	border-radius: 20px;
	z-index: 1;
}

.dot {
	width: clamp(8px, 1vw, 30px);
	height: clamp(8px, 1vw, 30px);
	margin: 3px;
	background-color: #bbb;
	border-radius: 50%;
	transition: background-color 0.3s;
}

.dot.active {
	background-color: #228b22;
}

.project__going-item-text,
.project__going-item-subtext {
	color: #000;
	font-size: clamp(12px, 3vw, 18px);
	line-height: 1.5;
	letter-spacing: 1px;
	text-align: justify;
	margin: 0;
}

.project__going-item-img {
	overflow: hidden;
	width: 100%;
	/* height: 37vh; */
}

.project__going-item-img img {
	width: 100%;
	/* height: inherit;
	object-fit: cover; */
	/* transform: scale(2.7) translate(-62px, 35px);
	margin-bottom: 30px; */
}

.apartment__selection,
.advantages,
.gallery,
.area,
.main__map {
	grid-column: span 12;
	margin-bottom: 30px;
}

.apartment__selection-title,
.advantages__title,
.gallery__title,
.area__title,
.main__map-title {
	background: #8d8d8d;
	color: #f1f1f1;
	font-size: 18px;
	padding: 10px;
}

.apartment__selection-btn {
	height: 80vh;
	align-items: center;
	background-image: url(../img/apartment-selection-btn.jpg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 30px;
	position: relative;
}

.apartment__selection-btn button {
	max-width: 500px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	height: 45px;
	background: #228b22;
	border-radius: 10px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	letter-spacing: 6px;
	display: block;
	overflow: hidden;
}

.apartment__selection-btn button:after {
	content: '';
	position: absolute;
	top: 0;
	left: -200px;
	width: 60px;
	height: 100px;
	background-color: #fff;
	filter: blur(30px);
	transform: skewX(30deg) translateZ(0);
	transition: 1s;
	animation-duration: 3s;
	animation-delay: 0.05s;
	animation-timing-function: ease;
	animation-iteration-count: infinite;
	animation-name: slideme;
}

@keyframes slideme {
	0% {
		left: -30px;
		margin-left: 0px;
	}
	30% {
		left: 110%;
		margin-left: 80px;
	}
	100% {
		left: 110%;
		margin-left: 80px;
	}
}

/*  */

.apartments__modal {
	scrollbar-width: 0;
	display: none;
	margin: 0;
	background: #fff;
	height: 100vh;
	position: fixed;
	z-index: 6;
	width: 100%;
	left: 0;
	right: 0;
	overflow-y: auto;
	color: #000;
	font-size: 11px;
}

.apartments__modal::-webkit-scrollbar {
	display: none;
}

.apartments__modal-close {
	position: fixed;
	font-size: 30px;
	line-height: 0px;
	text-align: center;
	padding: 0;
	top: 70px;
	right: 7px;
	width: 25px;
	height: 25px;
	z-index: 3;
}

.apartments__list-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.apartments__list {
	padding-left: 0;
	width: 45%;
}

/* .apartments__item {
	position: relative;
} */

.apartments__info {
	overflow: hidden;
	border: 1px solid;
	border-radius: 10px;
	display: block;
	cursor: pointer;
	margin-bottom: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	height: 38vw;
}

.apartments__info-sale {
	transform: rotate(-30deg);
	position: absolute;
	text-shadow: -2px -2px 0 #228b22, 2px -2px 0 #228b22, -2px 2px 0 #228b22,
		2px 2px 0 #228b22, -2px 0px 0 #228b22, 2px 0px 0 #228b22, 0px -2px 0 #228b22,
		0px 2px 0 #228b22;
	color: #f9f9f9;
	z-index: 1;
	font-size: 20px;
	letter-spacing: 4px;
	text-align: center;
}

.apartments__info img {
	object-fit: cover;
	width: 100%;
	/* height: 125px; */
	transform: scale(1.2);
}

.apartments__info-number {
	position: absolute;
	top: 3px;
	left: 4px;
	font-size: 14px;
	text-align: center;
	background: #fff;
	overflow: hidden;
	width: 25px;
	border-radius: 8px;
}

.apartments__details-list {
	padding-left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid;
	border-radius: 8px;
}

.apartments__details-item {
	font-size: 4vw;
}

.apartments__details-item:nth-child(2) {
	display: flex;
	width: 100%;
	justify-content: space-around;
	font-size: 3vw;
}

.apartments__details-block {
	padding-top: 4px;
	text-align: center;
}

.apartments__details-price-block {
	/* height: 23px; */
	display: flex;
}

.apartments__details-price {
	overflow: hidden;
	width: 100%;
	display: block;
	margin-right: 4px;
}

.apartments__details-label {
	padding: 0;
	margin: 4px 0;
}

.apartments__footer-social {
	padding-left: 0;

	display: flex;
	width: 100%;
	justify-content: space-evenly;
}

/*  */

.advantages__list {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 25px;
	justify-content: space-around;
	text-align: center;
}

.advantages__list-item {
	/* align-items: center; */
	width: 40vw;
}

.advantages__list-item img {
	height: 50px;
}

.advantages__list-item p {
	font-size: 14px;
	color: #000;
	text-align: center;
}

.gallery__list {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 10px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-left: 0;
	max-width: 100%;
}

.gallery__list::-webkit-scrollbar {
	display: none;
}

.gallery__group {
	display: flex;
	flex-direction: column;
}

.gallery__group-item {
	display: flex;
	flex-direction: column;
	padding-left: 0;
	width: 75vw;
	gap: 5px;
}

.gallery__group:nth-child(even) .gallery__group-item {
	flex-direction: column-reverse;
}

.gallery__list-item {
	flex: 1;
	/* width: 80%; */
	height: 100%;
}

.gallery__list-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery__group-item.first {
	flex-direction: row;
	min-width: 100%;
}

.gallery__group-item.first img {
	width: 100%;
	aspect-ratio: 16 / 5;
	/* object-fit: cover; */
	/* height: 100%; */
	object-fit: cover;
}

.gallery__list-item-content {
	display: flex;
	gap: 1px;
}

.gallery__list-item-content img {
	width: 50%;
}

/*  */
/* gallery modal start */
/* gallery modal start */
/* gallery modal start */
.gallery__modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.9);
	align-items: center;
	justify-content: space-between;
	z-index: 1000;
	overflow: hidden;
}

.gallery__modal-content {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.gallery__modal-slider {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease;
}

.gallery__modal-slider img {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gallery__modal-prev,
.gallery__modal-next {
	width: 30px;
	height: 30px;
	line-height: 0;
	z-index: 1001;
	color: #fff;
	background: #228b22;
}

.gallery__modal-prev {
	position: absolute;
	left: 10px;
}

.gallery__modal-next {
	position: absolute;
	right: 10px;
}

.gallery__modal-close {
	font-size: 20px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 1001;
	color: #fff;
	background: #228b22;
}

.gallery__merged-images {
	display: flex;
	overflow-x: auto;
	width: 100%;
	height: 100%;
	position: relative;
}

.gallery__merged-images img {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* position: absolute;
	top: 0;
	left: 0; */
}
/* gallery modal End */
/* gallery modal End */
/* gallery modal End */

.area__list {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	justify-content: space-between;
	gap: 10px;
}

.area__list-item {
	width: 30%;
	color: #000;
	font-size: 12px;
	text-align: center;
}

.area__list-item p {
	margin: 0;
}

.area__list-item img {
	width: 50px;
}

.leaflet-popup-content {
	width: 180px;
}

.main__map-btn {
	position: relative;
	background-color: unset;
	padding: 0;
	width: 100%;
}

.main__map-btn img {
	width: 100%;
}

/**************** Footer start************/
/**************** Footer start************/

.footer {
	background-color: #151515;
	border-top: 4px solid #228b22;
	padding-bottom: 20px;
}

.footer__social {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-left: 0;
	margin-bottom: 0;
}

.footer__social-link img {
	margin: 0 10px 0 -5px;
	width: 50px;
}

.footer__social-icon img {
	width: 28px;
}

.footer__contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 0;
	height: 200px;
	gap: 15px;
	padding-left: 0;
}

.footer__contact-item {
	width: 290px;
}

.footer__contact-address {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	line-height: 1.8;
}

.footer__contact-phone,
.footer__contact-mail {
	display: flex;
	align-items: center;
	width: inherit;
}

.footer__contact-address::before {
	content: '';
	background-image: url('../img/map.svg');
	display: block;
	width: 34px;
	height: 40px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	margin-right: 20px;
	flex-shrink: 0;
	/* padding: 10px; */
}

.footer__contact-phone:before {
	content: '';
	background-image: url('../img/phone.svg');
	display: block;
	width: 30px;
	height: 30px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	margin-right: 20px;
}

.footer__contact-mail:before {
	content: '';
	background-image: url('../img/email.svg');
	display: block;
	width: 30px;
	height: 30px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	margin-right: 20px;
}

.footer__inner {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	/* padding-top: 20px; */
	flex-direction: column;
	align-items: center;
}

.footer__form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	padding-top: 40px;
	margin-bottom: 20px;
}

.footer__form input,
.footer__form textarea {
	color: #fff;
	background-color: #000000;
}

.footer__form input::placeholder,
.footer__form textarea::placeholder {
	font-size: 12px;
	color: #fff;
}

.footer__form div {
	/* width: 310px; */
	width: 280px;
	height: 65px;
}

.footer__form textarea {
	resize: none;
	height: 100px;
}

input,
textarea,
button {
	width: 100%;
	padding: 10px;
	font-size: 16px;
	border: 2px solid #ccc;
	border-radius: 5px;
	outline: none;
}

button {
	background-color: #228b22;
	color: #fff;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
	/* width: 100px; */
}

button:active {
	background-color: #131414;
}

.error-message {
	color: #228b22;
	font-size: 12px;
	margin-top: -8px;
	margin-bottom: 10px;
}

.form__textarea {
	margin-bottom: 60px;
}

.footer__policy {
	text-align: center;
	letter-spacing: 1.5px;
	font-size: 10px;
	text-transform: uppercase;
	line-height: 1.5;
	padding-left: 0;
	padding-top: 10px;
}

.footer__policy-item {
	margin-bottom: 5px;
}

/* Modal windows start */
.modal {
	display: none;
	position: fixed;
	top: 30%;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal-content {
	background: white;
	padding: 10px;
	border-radius: 8px;
	max-width: 800px;
	width: 100%;
	height: 70vh;
	display: flex;
	flex-direction: column;
	position: relative;
}

.close-btn {
	position: absolute;
	top: -30px;
	right: -1px;
	background: red;
	color: white;
	border: none;
	width: 30px;
	height: 30px;
	cursor: pointer;
	font-size: 22px;
	margin: 0;
	padding: 0;
}

.map-container {
	flex: 1;
	height: 100%;
}

/* modal windows end */

/**************** Footer END************/
/**************** Footer END************/

/* PAGE TWO START */
/* PAGE TWO START */
.apartment__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.apartment__head {
	width: 100%;
	max-height: 40px;
	font-size: clamp(12px, 2vw, 30px);
	padding-left: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
	color: #fff;
	background: #8d8d8d;
	position: fixed;
	top: 44px;
	z-index: 2;
}

.apartment__select {
	flex: 3;
	text-align: center;
}

.apartment__select > a {
	  display: inline-block;
    font-weight: bold;
    font-size: clamp(12px, 2vw, 30px);
    text-decoration: none;
    color: #fff; /* основной белый текст */
    position: relative;
    overflow: hidden;
}


.apartment__select > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(76, 175, 80, 0.6) 50%, /* зелёный блик */
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: shineGreen 2.5s infinite;
}

/* Анимация блика */
@keyframes shineGreen {
    0% {
        left: -100%;
    }
    60% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}






.apartment__number {
	flex: 2;
	/* border-left: 2px solid; */
}

.apartment__number-content {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	width: 100%;
}

.apartment__number::after {
	content: '';
	position: absolute;
	top: 0;

	height: 100%;
	border: 2px solid #fcfafa;
	border-right: none;
}

.apartment__number-content h4 {
	margin-right: 10px;
}

.apartment__info {
	padding-left: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-around;
}

.apartment__info img {
	width: 100%;
}

.apartment__info-list {
	width: 50%;
	/* height: clamp(160px, 40dvw, 300px); */
}

.apartment__info-description {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	font-size: clamp(10px, 2vw, 24px);
	padding: 10px 0px 2px 5px;
	line-height: 5px;
	font-family: sans-serif;
	color: #000;
	height: inherit;
}
.apartment__info-description div {
	display: flex;
	align-items: center;
	justify-content: space-around;
	/* width: 60px; */
}

.apartment__info-description div:nth-child(1),
.apartment__info-description div:nth-child(2) {
	font-weight: bold;
}

.apartment__info-img-top,
.apartment__info-img-left,
.apartment__info-img-right {
	width: 50%;
}

.apartment__info.text {
	display: block;
	color: #000;
	margin-bottom: 50px;
	max-width: 80%;
	margin: 0 auto;
}

.apartment__info-item {
	display: flex;
	justify-content: space-between;
	border-bottom: 2px solid;
	align-items: flex-end;
	margin: 0 10px;
}

.apartment__info-item p {
	margin-bottom: 2px;
	flex: 2;
}

.apartment__info-btn {
	padding-left: 0;
	display: flex;
	justify-content: space-around;
}

.apartment__info-pdf,
.apartment__info-tel {
	padding: 10px 15px;
	background: #228b22;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	text-align: center;
	width: 155px;
}

/* .footer__inner.apartment {
	flex-direction: column-reverse;
} */

.footer__inner.apartment .footer__form {
	width: inherit;
}

/* .footer__inner.apartment, .footer__form button {
	width: 300px;
} */

.footer__form button {
	width: 300px;
}

.footer.apartment-title {
	color: #f1f1f1;
	padding: 50px 10px 0 10px;
	border: unset;
	text-align: center;
}

.loader {
	width: 100%;
	height: 100vh;
}

.privacy__wrapper {
	max-width: 100%;
	/* padding: 50px; */
}

.privacy__wrapper h1 {
	font-size: 18px;
}

.privacy__wrapper h2 {
	font-size: 16px;
}

.privacy__wrapper p {
	font-size: 14px;
}

.privacy__wrapper ul {
	font-size: 12px;
}

/* @MEDIA */
/* @MEDIA */

@media (min-width: 300px) {
	.main__wrapper {
		padding: 0;
	}
	.project__going-title,
	.apartments__modal-title {
		display: flex;
		justify-content: center;
		font-size: 25px;
		margin: 0 auto;
	}

	.apartment__selection-btn {
		height: 42vh;
	}

	.apartment__selection-btn button {
		max-width: 300px;
	}

	.apartments__modal-title {
		margin-top: 85px;
	}

	.project__going-title-top::before,
	.apartment__selection-title-top::before,
	.apartments__modal-title-top::before {
		transform: rotate(-6deg) scale(1) translateY(10px);
	}

	.project__going-title-bottom,
	.apartments__modal-title-bottom {
		letter-spacing: 7px;
	}
}

@media (min-width: 425px) {
	.project__going-title {
		transform: scale(1.3);
		padding: 20px 0;
	}

	.apartment__selection-btn {
		height: 57vh;
	}

	.apartment__selection-btn button {
		height: 60px;
		font-size: 20px;
		letter-spacing: 10px;
		max-width: 400px;
	}

	.advantages__list {
		gap: 15px;
	}

	.area__list-item p {
		font-size: 14px;
	}

	.apartment__selection-title,
	.advantages__title,
	.gallery__title,
	.area__title,
	.main__map-title {
		font-size: revert;
	}

	/* .advantages__list-item {
		width: 20vw;
	} */
}

@media (min-width: 500px) {
	.apartments__info-sale {
		font-size: 31px;
	}
	@media (min-width: 600px) {
		.apartments__info-sale {
			font-size: 35px;
		}
	}
}
@media (min-width: 570px) {
	.gallery__group-item {
		width: 25rem;
	}
	.gallery__group-item.first img {
		/* height: 437px; */
	}
}

@media (min-width: 670px) {
	.footer__contact {
		order: 1;
		width: 50%;
		height: 200px;
		padding-top: 40px;
		justify-content: space-between;
	}

	.footer__contact-item {
		margin: 0 auto;
		width: 350px;
		overflow: hidden;
	}

	.footer__inner {
		flex-direction: row;
		align-items: unset;
		/* justify-content: space-around; */
		/* flex-wrap: wrap; */
	}

	.footer__form {
		width: 50%;
		order: 2;
	}

	.footer__social {
		order: 3;
	}

	.privacy__wrapper {
		/* max-width: 100%; */
		padding: 50px;
	}

	.privacy__wrapper h1 {
		font-size: revert;
	}

	.privacy__wrapper h2 {
		font-size: revert;
	}

	.privacy__wrapper p {
		font-size: revert;
	}

	.privacy__wrapper ul {
		font-size: revert;
	}
}

@media (min-width: 769px) {
	.header__language {
		display: block;
	}


	.menu {
		display: flex;
	}

	.menu__burger-wrapper {
		display: none;
	}

	.project__going-slider-track img {
		object-fit: contain;
	}


	.apartment__head{
		top: clamp(79px, 9vw, 92px);
	}


	.apartments__modal-close {
		top: 90px;
	}

	.apartments__list {
		width: 30%;
	}

	.apartments__info {
		height: 35vh;
	}

	/* .apartments__info-sale {
			font-size: 10vw;
		} */

	.apartments__info img {
		object-fit: contain;
		width: 100%;
		height: 55vh;
	}

	.apartments__details-item {
		font-size: 2vw;
	}

	.apartments__details-item:nth-child(2) {
		font-size: 1.4vw;
	}

	.apartment__info-list,
	.apartment__info-img-top,
	.apartment__info-img-left,
	.apartment__info-img-right {
		width: 35%;
	}

	/* .project__going-item{
		    flex-direction: row;
    flex-wrap: wrap;
	}

	.project__going-slider{
		width: 65%;
		margin: 0 auto;
	} */

	/* .project__going-item-text{
		width: 30%;
    order: -1;
	} */
}

@media (min-width: 1025px) {

	
	.apartments__modal-close {
		top: 100px;
		width: 40px;
		height: 40px;
	}

	.apartment__info.text {
		max-width: 30%;
		margin: 0 auto;
	}

	.project__going-slider-track {
		max-height: 60vh;
	}
	.project__going-item {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 7px;
	}

	.project__going-slider {
		width: 45%;
	}

	.project__going-title {
		margin-bottom: 10px;
	}

	.project__going-item-text {
		width: 38%;
		order: -1;
		display: flex;
		/* height: 300px; */
		/* align-items: center; */
		line-height: 1.6;
		padding: 10px;
		/* max-height: 69vh; */
		overflow: hidden;
		/* font-size: 28px; */
		letter-spacing: 2px;
	}

	.project__going-item-subtext {
		width: 45%;
		order: 1;
		display: flex;
		align-items: flex-start;
		line-height: 1.6;
		padding: 0 10px;
		max-height: 38vw;
		overflow: auto;
		/* font-size: 28px; */
		letter-spacing: 2px;
	}

	.project__going-item-img {
		width: 45%;
	}

	.apartment__selection {
		grid-column: span 7;
	}

	.apartment__selection-btn {
		height: 65vh;
		max-width: 40vw;
		margin: 0 auto;
	}

	.apartments__list {
		width: 21%;
	}

	/* .apartments__info-sale {
			font-size: 6vw;
		} */

	.advantages {
		grid-column: span 5;
	}

	.advantages__list {
		height: 65vh;
		gap: 0;
		justify-content: space-evenly;
		max-width: 35vw;
	}

	.advantages__list-item {
		width: 14vw;
	}

	.gallery {
		height: inherit;
	}

	.gallery__group-item {
		width: 27vw;
	}

	.gallery__group-item.first {
		/* min-width: unset; */
	}

	.gallery__group-item.first img {
		/* height: 100%; */
	}

	.gallery__modal-close {
		font-size: 40px;
		width: 50px;
		height: 50px;
	}

	.gallery__modal-prev,
	.gallery__modal-next {
		width: 50px;
		height: 50px;
	}

	.area {
		grid-column: span 7;
	}

	.main__map {
		grid-column: span 5;
	}

	.area__list {
		height: 82%;
		gap: 10px;
		align-items: center;
		justify-content: space-evenly;
	}

	.area__list-item {
		width: 25%;
	}

	.apartment__info-list,
	.apartment__info-img-top,
	.apartment__info-img-left,
	.apartment__info-img-right {
		width: 24%;
	}

	.apartment__info-description {
		font-size: clamp(16px, 1vw, 20px);
	}
}

@media (min-width: 1140px) {
	.footer__form div {
		width: inherit;
	}

	.footer__form div {
		width: inherit;
	}
}

@media (min-width: 1440px) {
	.apartment__info img {
		width: unset;
		display: block;
		margin: 0 auto;
	}
}

@media (min-width: 1921px) {
	.apartment__info.text {
		max-width: 30%;
		margin: 0 auto;
	}
	.apartment__info-btn {
		justify-content: space-evenly;
	}
}
