html {
	scroll-behavior: smooth;
}

.parking-banner picture {
	display: flex;
}

.parking-banner picture img {
	max-width: 100%;
	width: 100%;
}



.mansory-parking .card-1 {
	grid-column: 1 / 3;
}

.mansory-parking .card-3 {
	grid-column: 3 / 5;
}

.mansory-parking .card__content {
	max-width: 570px;
	line-height: 120%;
}


@media screen and (max-width: 1439.5px) {
	.mansory-parking .card-3 {
		grid-row: 1 / 2;
		grid-column: 5 / 7;
	}

	.mansory-parking .card-1 {
		grid-column: 1 / 5;
	}

	.mansory-parking .card-4 {
		grid-column: 1 / 3;
	}

	.mansory-parking .card-5 {
		grid-row: 2 / 3;
		grid-column: 3 / 7;
	}

	.mansory-parking .card-6 {
		grid-column: 1 / 7;
	}
}

@media screen and (min-width: 768px) {
	.mansory-parking .grid-cards {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.mansory-parking .card {
		min-width: 300px;
	}

	.mansory-parking .card-1 {
		flex: 1 1;
	}

	.mansory-parking .card-3 {
		flex: 0 0 300px
	}

	.mansory-parking .card-4 {
		flex: 0 0 300px
	}

	.mansory-parking .card-5 {
		flex: 1 1;
		order: 2
	}

	.mansory-parking .card-6 {
		flex: 1 1;
	}
}

@media screen and (min-width: 1024px) {
	.mansory-parking .grid-cards {
		display: grid;
	}
}

@media screen and (max-width: 1023.5px) {
	.mansory-parking .card__content {
		inset: 24px
	}
}

.advantages-parking {
	position: relative;
	/* height: 100vh; */
	background-color: #2D6367;
}

.advantages-parking__inner {
	/* max-width: 1920px;
	width: 100%;
	margin: 0 auto; */
	height: calc(100svh - 74px);
	overflow: hidden;
}

.advantages-parking__list {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	will-change: transform;
}

.advantages-parking-item {
	display: flex;
	align-items: stretch;
	height: calc(100svh - 74px);
	flex-shrink: 0;
	background-color: #2D6367;
}

.advantages-parking-item__desc {
	align-content: flex-end;
	padding: 76px;
	flex: 0 1 42%;
	color: #fff;
}

.advantages-desc {
	display: flex;
	flex-direction: column;
	gap: 24px;
	font-size: 16px;
	line-height: 120%;
}

.advantages-desc h2 {
	font-size: 44px;
}

.advantages-desc ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}

.advantages-desc ul li {
	height: 35px;
	border-radius: 111px;
	border: 1px solid #fff;
	padding: 8px 11px;
}

.advantages-parking-item__img {
	display: flex;
	flex: 1 1;
	min-width: 500px;
}

.advantages-parking-item__img img {
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
}

.advantages-parking__slider .swiper-pagination {
	position: absolute;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 9px;
	bottom: 32px;
	padding: 0 16px;
}

.advantages-parking__slider .swiper-pagination .swiper-pagination-bullet {
	flex: 1 1;
	height: 6px;
	border-radius: 30px;
	margin: 0;
	background-color: rgba(255, 255, 255, .3);
	-webkit-transition: 0.3s ease;
	transition: 0.3s ease;
	opacity: 1;
}

.advantages-parking__slider .swiper-pagination .swiper-pagination-bullet-active {
	background-color: #fff;
}

.advantages-parking__slider {
	display: none;
}

@media(max-width: 1439.5px) {
	.advantages-parking-item__desc {
		padding: 76px 32px;
		flex: 0 1 52%;

		h3.h2 {
			font-size: 40px;
		}
	}
}

@media(max-width: 1023.5px) {
	.advantages-parking__list {
		display: none;
	}

	.advantages-parking__inner {
		height: auto;
	}

	.advantages-parking-item {
		flex-direction: column;
		height: auto;
	}

	.advantages-parking-item__desc {
		order: 2;
		flex: 1 1 100%;
		align-content: center;
		padding: 76px 32px 102px 32px;

		h3.h2 {
			font-size: 32px;
		}
	}

	.advantages-parking-item__img {
		min-width: auto;
		flex: 0 0 440px;
		overflow: hidden;
	}

	.advantages-parking__slider {
		display: block;
	}
}

@media(max-width: 767.5px) {
	.advantages-parking-item__desc {
		padding: 48px 16px 70px;
	}

	.advantages-parking-item__img {
		flex: 0 0 310px
	}

	.advantages-parking__slider .swiper-pagination {
		bottom: 16px;
	}
}



.parking-form__inner {
	padding: 76px 140px;
	background: linear-gradient(168.02deg, #085554 4.68%, #042F2E 91.25%);
	border-radius: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	color: #fff;
}

.parking-form__block {
	display: flex;
	flex-direction: column;
	gap: 32px;
	flex: 0 1 735px;

	.title {
		p {
			margin-top: 16px;
			font-size: 14px;
			line-height: 110%;
		}
	}
}

.parking-form__block .leed-form .btn {
	max-width: 300px;
}



.counter-label {
	color: #ffffff;
	font-size: 20px;
	line-height: 100%;
	margin-bottom: 32px;
	font-weight: 500;
}

.flip-counter {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.digit-group {
	position: relative;
	width: 264px;
	height: 347px;
	perspective: 1200px;
}

/* Общий вид "половинки карточки" */
.digit-half {
	position: absolute;
	left: 0;
	width: 100%;
	height: 50%;
	overflow: hidden;
	background: white;
	/* box-shadow:
		inset 0 8px 12px rgba(255, 255, 255, 0.9),
		inset 0 -8px 12px rgba(0, 0, 0, 0.2),
		0 10px 20px rgba(0, 0, 0, 0.3); */
	backface-visibility: hidden;
}

.digit-half.top {
	top: 0;
	border-radius: 46.5px 46.5px 0 0;
}

.digit-half.bottom {
	bottom: 0;
	border-radius: 0 0 46.5px 46.5px;
}

/* Сама цифра — полноразмерный блок, обрезаемый родителем до половины */
.digit-num {
	position: absolute;
	left: 0;
	width: 100%;
	height: 347px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 300px;
	font-weight: 700;
	background: linear-gradient(180deg, #2D6367 50%, #133F43 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	/* фолбэк */
	user-select: none;
}

.top .digit-num {
	top: 0;
}

.bottom .digit-num {
	top: -173.5px;
}

/* Статичные слои — всегда на месте, лежат в основании */
.static-top {
	z-index: 1;
}

.static-bottom {
	z-index: 1;
}

/* "Листы", которые складываются */
.flip-leaf {
	z-index: 5;
}

.leaf-front {
	top: 0;
	transform-origin: bottom center;
	transform: rotateX(0deg);
}

.leaf-back {
	bottom: 0;
	transform-origin: top center;
	transform: rotateX(90deg);
}

/* лёгкое затемнение у сгиба для объёма */
.leaf-front::after,
.top.static-top::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 40%;
	/* background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)); */
	pointer-events: none;
}

.leaf-back::after,
.bottom.static-bottom::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 40%;
	/* background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.12)); */
	pointer-events: none;
}

/* линия сгиба посередине карточки */
.hinge-line {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	background: #E2E7E9;
	z-index: 10;
	pointer-events: none;
}

@media(max-width: 1600px) {
	.parking-form__inner {
		padding: 76px;
	}

	.digit-group {
		width: 154px;
		height: 239px;
	}

	.digit {
		font-size: 170px;
		border-radius: 32px;
	}

	.digit-num {
		font-size: 200px;
		height: 239px;
	}

	.parking-form__block {
		flex: 0 1 564px;
	}

	.bottom .digit-num {
		top: -119.5px;
	}

	.digit-half.bottom {
		border-radius: 0 0 32px 32px;
	}

	.digit-half.top {
		border-radius: 32px 32px 0 0;
	}
}

@media(max-width: 1200.5px) {
	.parking-form__block .leed-form .btn {
		max-width: 100%;
	}

	.parking-form__block {
		flex: 0 1 420px;
	}
}

@media(max-width: 1023.5px) {
	.parking-form__inner {
		flex-direction: column;
	}

	.parking-form__block {
		order: 2;
		flex: 1 1 100%;
	}

	.parking-form .leed-form {
		flex-wrap: nowrap;
	}

	.parking-form .form-consent {
		flex: 1 1;
	}

	.parking-form__flipcounter {
		flex: 1 1 100%;
		width: 100%;
	}

	.digit-group {
		width: auto;
		flex: 1 1 45%;
	}
}

@media(max-width: 767.5px) {
	.parking-form__inner {
		padding: 32px;
	}
}


.ios-checkbox {
	position: relative;
	display: inline-block;
	width: 38px;
	height: 22px;
}

.ios-checkbox input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #E6E6E6;
	border-radius: 28px;
	transition: background-color 0.25s ease;
}

.slider::before {
	content: "";
	position: absolute;
	height: 18px;
	width: 18px;
	left: 2px;
	top: 2px;
	background-color: #ffffff;
	border-radius: 50%;
	transition: transform 0.25s ease, box-shadow 0.15s ease;
	/* box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16); */
}

/* .ios-checkbox input:active+.slider::before {
	width: 31px;
} */

.ios-checkbox input:checked+.slider {
	background-color: #2D6367;
}

.ios-checkbox input:checked+.slider::before {
	transform: translateX(16px);
}

.ios-checkbox input:checked:active+.slider::before {
	transform: translateX(16px);
}

.ios-checkbox input:disabled+.slider {
	opacity: 0.4;
	cursor: not-allowed;
}

.ios-checkbox input:disabled+.slider::before {
	cursor: not-allowed;
}

.parking-catalog__inner {
	background-color: #F1F5F5;
	padding: 32px;
	border-radius: 32px;
}

.parking-catalog__header {
	margin-bottom: 70px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 40px;
}

.parking-filter {
	display: flex;
	align-items: center;
	gap: 16px;
}

.parking-filter__item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	line-height: 100%;
	background-color: #fff;
	padding: 17px 20px;
	border-radius: 56px;
	cursor: pointer;
}

.parking-filter__item.parking-filter__item--mobile {
	display: none;
}



.parking-tabs {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border: 1px solid #2D6367;
	border-radius: 100px;
	max-width: fit-content;
}

.parking-tabs li {
	text-align: center;
	background-color: #fff;
	color: #202020;
	font-size: 16px;
	line-height: 100%;
	text-align: center;
	border-radius: 111px;
	padding: 16px 32px;
	cursor: pointer;
	white-space: nowrap;
}

.parking-tabs li.active {
	background-color: #2D6367;
	color: #fff;
}

.parking-catalog__body {
	position: relative;

}

.parking-catalog__body-plan {
	display: none;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-height: 540px;
	overflow: auto;
	direction: rtl;
}

.parking-catalog__body-plan.active {
	display: flex;
}

.parking-catalog__body-plan svg {
	max-width: none;
	width: auto;
	height: auto;
	display: block;
	min-width: 568px;
	flex-shrink: 0;
}

.parking-catalog__body-plan::-webkit-scrollbar {
	width: 8px;
}

.parking-catalog__body-plan::-webkit-scrollbar-track {
	background: #fff;
}

.parking-catalog__body-plan::-webkit-scrollbar-thumb {
	background: #2D6367;
	border-radius: 4px;
}

.parking-catalog__body-plan::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}

.parking-catalog__body-plan>* {
	direction: ltr;
}

.parking-catalog__body-filter {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: absolute;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
}

.inc-dec {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-radius: 32px;
	background-color: #fff;
	max-width: fit-content;
}

.inc-dec li.decrement {
	border-top: 1px solid #E6E6E6;
}

.inc-dec li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}



.parking-tooltip {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;

	display: flex;
	flex-direction: column;
	gap: 24px;
	background: #fff;
	border-radius: 32px;
	padding: 32px;
	max-width: 327px;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translate(20px, 20px);
	transition:
		opacity .2s,
		visibility .2s;
	pointer-events: none;
}

.parking-tooltip.show {
	opacity: 1;
	visibility: visible;
}

.parking-space {
	cursor: pointer;
}

.parking-space>rect {
	transition: .3s ease
}

.parking-space:hover>rect {
	fill-opacity: 1;
}

.parking-space.sold {
	cursor: not-allowed;
}

.parking-space.sold>rect {
	fill: #e6e6e6;
	fill-opacity: 1;

}

.parking-space.sold>* {
	pointer-events: none;
}


.parking-space.active>rect {

	fill-opacity: .7;

}

.parking-tooltip__header {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	gap: 20px;

	span {
		font-weight: 500;
		font-size: 20px;
		line-height: 100%;
		text-align: left;
	}
}

.parking-tooltip__favorite {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.parking-tooltip__body {
	ul {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	li {
		background-color: #F1F4F5;
		padding: 13px 19px;
		border-radius: 16px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 15px;

		span {
			font-size: 14px;
			color: #575757;
		}

		p {
			font-size: 16px;
			color: #202020;
		}
	}
}

@media(max-width: 1439.5px) {
	.parking-filter__item {
		display: none;
	}

	.parking-filter__item.parking-filter__item--mobile {
		display: flex;
		background: transparent;
		padding: 0;
		width: 100%;
	}

	.parking-filter {
		width: 100%;
		max-width: 380px;

		.select__current {
			height: 58px;
		}
	}

	.parking-catalog__header {
		justify-content: space-between;
		margin-bottom: 48px;
		gap: 16px;
	}

	.parking-catalog .container {
		padding: 0;
	}

	.parking-catalog .title {
		padding: 0 32px;
	}

	.parking-catalog__body-plan {
		padding-right: 60px;
	}

	.parking-tooltip {
		padding: 24px;
		max-width: 200px;
		gap: 10px;
	}

	.parking-tooltip__header span {
		font-size: 18px;
	}



}

@media(max-width: 767.5px) {
	.parking-catalog__header {
		flex-direction: column;
	}

	.parking-catalog__inner {
		padding: 32px 16px 24px;
	}

	.parking-tabs {
		max-width: 100%;
		width: 100%;
	}

	.parking-tabs li {
		flex: 1 1;
	}

	.parking-catalog__body-plan {
		justify-content: flex-start;
		direction: ltr;
		scrollbar-color: #2D6367 #fff;
		scrollbar-width: thin;
		padding-right: 0;
		padding-bottom: 60px;
	}

	.parking-catalog__body-filter {
		transform: translate(-50%, 0);
		right: auto;
		top: auto;
		left: 50%;
		bottom: 16px
	}

	.inc-dec {
		display: flex;
		flex-direction: row;
	}

	.inc-dec li.decrement {
		border-left: 1px solid #E6E6E6;
		border-top: none
	}

	.parking-tooltip {
		padding: 16px;
		border-radius: 16px;
	}

	.parking-tooltip__body li {
		padding: 7px 12px;
	}

	.parking-tooltip__header span {
		font-size: 16px;
	}
}



.parking-popup {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 10000;

	opacity: 0;
	visibility: hidden;
	transition: .3s;
}

.parking-popup.show {
	opacity: 1;
	visibility: visible;
}

.parking-popup__close {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	right: 24px;
	top: 24px;
	width: 24px;
	height: 24px;
}

.parking-popup__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
	max-width: 1068px;
	width: 100%;
	margin: 0 auto;
	background-color: #fff;
	border-radius: 32px;
	padding: 32px;
	position: relative;
}

.parking-popup__info {
	flex: 1 1;
}

.parking-info {}

.parking-info__img {
	min-height: 300px;
	border: 1px solid #E6E6E6;
	border-radius: 16px;
	padding: 24px;
}

.parking-info__desc {
	margin-top: 24px;
}

.parking-info__desc ul {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
}

.parking-info__desc ul li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 45%;
	padding: 13px 19px;
	background-color: #F1F4F5;
	border-radius: 16px;
	font-size: 16px;
	line-height: 100%;
}

.parking-info__desc ul li span {
	font-size: 14px;
	color: #575757;
}

.parking-popup__form {
	flex: 0 1 353px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 14px;
	line-height: 100%;
}

.parking-popup__form .input {
	color: #202020;
}

.parking-popup__form .leed-form {
	flex-direction: column;
	margin-top: 16px;
}

@media(max-width: 1023.5px) {
	.parking-popup__inner {
		gap: 24px;
	}

	.parking-popup__info,
	.parking-popup__form {
		flex: 1 1 45%;
	}

	.parking-popup__form {
		max-width: 350px;
	}

	.parking-info__img img {
		width: 100%;
		max-width: 100%;
	}
}

@media(max-width: 767.5px) {
	.parking-popup {
		left: 0;
		top: 0;
		bottom: 0;
		right: 0;
		align-items: flex-start;
		justify-content: flex-start;
		padding: 0;

	}

	.parking-popup__close {
		right: 24px;
		top: 10px;
	}

	.parking-popup__inner {
		flex-wrap: wrap;
		border-radius: 0;
		padding: 48px 24px;
		overflow: auto;
		align-items: flex-start;
		justify-content: flex-start;
		height: 100%;
	}

	.parking-popup__form {
		max-width: 100%;
	}

	.parking-popup__info,
	.parking-popup__form {
		flex: 1 1 100%;
	}


	.parking-info__img {
		height: 200px;
		min-height: 200px;
	}
}