.tns-outer{padding:0 !important}.tns-outer [hidden]{display:none !important}.tns-outer [aria-controls],.tns-outer [data-action]{cursor:pointer}.tns-slider{-webkit-transition:all 0s;-moz-transition:all 0s;transition:all 0s}.tns-slider>.tns-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{content:'';display:table;clear:both}.tns-horizontal.tns-no-subpixel>.tns-item{float:left}.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item{margin-right:-100%}.tns-no-calc{position:relative;left:0}.tns-gallery{position:relative;left:0;min-height:1px}.tns-gallery>.tns-item{position:absolute;left:-100%;-webkit-transition:transform 0s, opacity 0s;-moz-transition:transform 0s, opacity 0s;transition:transform 0s, opacity 0s}.tns-gallery>.tns-slide-active{position:relative;left:auto !important}.tns-gallery>.tns-moving{-webkit-transition:all 0.25s;-moz-transition:all 0.25s;transition:all 0.25s}.tns-autowidth{display:inline-block}.tns-lazy-img{-webkit-transition:opacity 0.6s;-moz-transition:opacity 0.6s;transition:opacity 0.6s;opacity:0.6}.tns-lazy-img.tns-complete{opacity:1}.tns-ah{-webkit-transition:height 0s;-moz-transition:height 0s;transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{position:absolute;left:-10000em}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{opacity:1;filter:alpha(opacity=100);z-index:0}.tns-normal,.tns-fadeOut{opacity:0;filter:alpha(opacity=0);z-index:-1}.tns-vpfix{white-space:nowrap}.tns-vpfix>div,.tns-vpfix>li{display:inline-block}.tns-t-subp2{margin:0 auto;width:310px;position:relative;height:10px;overflow:hidden}.tns-t-ct{width:2333.3333333%;width:-webkit-calc(100% * 70 / 3);width:-moz-calc(100% * 70 / 3);width:calc(100% * 70 / 3);position:absolute;right:0}.tns-t-ct:after{content:'';display:table;clear:both}.tns-t-ct>div{width:1.4285714%;width:-webkit-calc(100% / 70);width:-moz-calc(100% / 70);width:calc(100% / 70);height:10px;float:left}

/*# sourceMappingURL=sourcemaps/tiny-slider.css.map */

/* -------------------------------- colors ---------------------------------- */

:root {
	/* ---------------- monochrome colors --------------- */

	--clr-white:        #FFFFFF;
	--clr-lighter-gray: #e0e0e0;
	--clr-light-gray:   #959595;
	--clr-gray:         #414141;
	--clr-darker-gray:  #323232;
	--clr-dark-gray:    #1D1D1D;
	--clr-darkest-gray: #1D1D1D;
	--clr-almost-black: #050505;
	--clr-black:        #000000;

	/* ------------------ accent colors ----------------- */

	--clr-gold-light:   #F5E9D4;
	--clr-gold:         #E2BE79;
	--clr-gold-dark:    #B38B4D;

	/* ----------------- gradient colors ---------------- */

	--grad-gold-radial: radial-gradient(ellipse at center, #DDB870 0%, #FEDFA4 38%, #DFBA74 68%, #F0CE8E 100%);
	--grad-gold-linear: linear-gradient(to right, #DDB870 0%, #FEDFA4 38%, #DFBA74 68%, #F0CE8E 100%);
	--grad-gray:        linear-gradient(to right, #4A4848 0%, #4A4848 23%, #333030 83%, #333030 100%);
	--grad-dark-gray:   linear-gradient(to right, #262626 0%, #262626 23%, #1C1C1C 83%, #1C1C1C 100%);
}

/* --------------------- style colors ------------------- */

.bg-gold{
	background-color: var(--clr-gold);
}
.bg-gray{
	background-color: var(--clr-gray);
}
.bg-darkest-gray{
	background-color: var(--clr-darkest-gray);
}

.clr-gold{
	color: var(--clr-gold)
}
.clr-light-gray{
	color: var(--clr-light-gray);
}

/* -------------------- style effects ------------------- */

.effect-3d {
	box-shadow:
			inset 1px 1px 2px 0 rgba(255, 255, 255, 0.31),
			inset -1px -1px 2px 0 rgba(33, 41, 48, 0.42);
}

/* --------------------------------- text ----------------------------------- */

/* ---------------------- base text --------------------- */

.text{
	font-family: Inter, 'Open Sans', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: normal;
	text-align: left;
	color: white;
}

/* ----------------------- headers ---------------------- */

.text.h1{
	font-size: 32px;
	line-height: 34px;
}
.text.h2{
	font-size: 26px;
}
.text.h3{
	font-size: 20px;
}

/* ---------------------- plaintext --------------------- */

.text.s18{
	font-size: 18px;
}
.text.s16{
	font-size: 16px;
}
.text.s14{
	font-size: 14px;
}
.text.s12{
	font-size: 12px;
}

/* ----------------------- weight ----------------------- */

.text.w100{
	font-weight: 100;
}
.text.w200{
	font-weight: 200;
}
.text.w300{
	font-weight: 300;
}
.text.w400{
	font-weight: 400;
}
.text.w500{
	font-weight: 500;
}
.text.w600{
	font-weight: 600;
}
.text.w700{
	font-weight: 700;
}
.text.w800{
	font-weight: 800;
}
.text.w900{
	font-weight: 900;
}

/* ----------------------- align ------------------------ */

.text-center{
	text-align: center;
}
.text-right{
	text-align: right;
}

/* ----------------------- phone ------------------------ */

.phone-number{
	color: var(--clr-white);
	text-decoration: none;
}
.phone-number:hover{
	color: var(--clr-gold);
}

/* ---------------------- special ----------------------- */

.no-link{
	text-decoration: none;
	color: white;
}
.no-margin{
	margin: 0;
}

/* ------------------------------- buttons ---------------------------------- */

/* --------------------- base buttons ------------------- */

.btn{
	padding: 12px 20px;
	color: white;
	background-color: var(--clr-gray);
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 10px;
	transition: all 0.3s;
}

.btn-wide{
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.btn-wide .btn{
	flex-grow: 1;
}

/* ------------------- sizes buttons -------------------- */

.btn.sm{
	padding: 8px 16px;
	font-size: 14px;
}
.btn.md{
	padding: 12px 20px;
	font-size: 16px;
}
.btn.lg{
	padding: 16px 32px;
	font-size: 18px;
}

/* ------------------------ gold ------------------------ */

.btn.gold{
	background: var(--clr-dark-gray);
	color: var(--clr-gold);
	border: 1px solid var(--clr-gold);
}

.btn.gold.lg{
	font-weight: 600;
	border: 2px solid var(--clr-gold);
}

.btn.gold:hover{
	background: var(--clr-gold);
	color: var(--clr-dark-gray);
}
.btn.gold:active{
	filter: brightness(1.3);
}

/* ----------------------- outline ---------------------- */

.btn.outline{
	background-color: var(--clr-dark-gray);
	color: var(--clr-white);
	border: 1px solid var(--clr-gray);
}

.btn.outline:hover{
	background-color: var(--clr-gray);
	color: var(--clr-white);
}

.btn.outline:active{
	filter: brightness(1.1);
}

/* ---------------------- rich-gold --------------------- */

.btn.rich-gold{
	position: relative;
	border-radius: 11px;
	background: var(--clr-dark-gray);
}
.btn.rich-gold::before {
	content: '';
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	background: var(--grad-gold-linear);
	border-radius: 12px;
	z-index: -1;
	opacity: 0.8;
	transition: opacity 0.3s;
}
.btn.rich-gold:hover::before {
	opacity: 1;
}
.btn.rich-gold span{
	background: var(--grad-gold-linear);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ------------------------ gray ------------------------ */

.btn.gray{
	color: white;
	background-color: var(--clr-gray);
}
.btn.gray:hover{
	background: var(--clr-darker-gray);
}

/* ------------------------ icon ------------------------ */

.btn-icon{
	color: var(--clr-white);
	cursor: pointer;
	background: transparent;
	border-radius: 0;
	padding: 0;
	font-size: 32px;
	height: min-content;
}

/* -------------------------------- elements -------------------------------- */

/* ----------------------- form controls -------------------- */

.input,
.textarea{
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border-radius: 16px;
	border: 1px solid var(--clr-gray);
	background-color: var(--clr-darkest-gray);
	color: var(--clr-white);
	font-family: Inter, 'Open Sans', sans-serif;
	font-size: 16px;
	outline: none;
}

.input::placeholder,
.textarea::placeholder{
	color: var(--clr-light-gray);
}

.textarea{
	resize: vertical;
	min-height: 96px;
}

.select:hover,
.select:active{
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}


input[type="checkbox"]{
	position: absolute;
	accent-color: var(--clr-gold);
	z-index: -1;
	opacity: 0;
}
input[type="checkbox"] + label{
	display: flex;
	align-items: center;
	user-select: none;
	padding: 5px 0;
}
input[type="checkbox"] + label:before{
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	flex-grow: 0;
	border: 1px solid var(--clr-lighter-gray);
	border-radius: 0.35em;
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50% 50%;
}
input[type="checkbox"]:not(:disabled) + label:hover{
	cursor: pointer;
}
input[type="checkbox"]:not(:disabled):not(:checked) + label:hover::before{
	border-color: var(--clr-gold);
	background-color: var(--clr-gold-light);
}
input[type="checkbox"]:not(:disabled):active + label::before{
	background-color: var(--clr-gold-light);
	border-color: var(--clr-gold);
}
input[type="checkbox"]:focus + label::before{
	border: 2px solid var(--clr-gold);
	background-color: var(--clr-gold-light);
	width: 16px;
	height: 16px;
}
input[type="checkbox"]:checked + label::before{
	border-color: var(--clr-gold);
	background-color: var(--clr-gold);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
input[type="checkbox"]:checked:focus + label::before{
	border-color: var(--clr-gold-dark);
	outline: 5px solid var(--clr-gold-dark);
}
input[type="checkbox"]:disabled + label,
input[type="checkbox"].disabled + label,
input[type="checkbox"] + label.disabled{
	color: var(--clr-gray);
	cursor: not-allowed;
}
input[type="checkbox"]:disabled + label::before,
input[type="checkbox"].disabled + label::before,
input[type="checkbox"] + label.disabled::before{
	background-color: var(--clr-light-gray) !important;
	border-color: var(--clr-light-gray) !important;
	border-width: 1px;
}
/* -------------------------------- global ---------------------------------- */

/* ---------------------- base page --------------------- */

html{
	background-color: var(--clr-almost-black);
	background-image: url("/static/img/bg/index/bg-rendered.png?43a55869f65c");
	background-repeat: no-repeat;
	background-position-x: center;
	box-sizing: border-box;
	min-height: 100%;
	min-width: 100%;
	scroll-behavior: smooth;
}
body{
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	min-height: 100vh;
	margin: 0 auto;
}
.page{
	max-width: 1500px;
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
}

/* ----------------------- header ----------------------- */

.header{
	position: sticky;
	top: 8px;
	display: flex;
	width: calc(100% - 40px);
	padding: 12px 20px;
	margin-top: 12px;
	border-radius: 16px;
	justify-content: space-between;
	align-items: center;
	background-color: var(--clr-dark-gray);
	z-index: 999;
}
.menu-full{
	display: flex;
	gap: 24px;
}
.menu-full__item{
	font-size: 18px;
	transition: 0.2s color;
}
.menu-full__item:hover{
	cursor: pointer;
	color: var(--clr-gold);
	text-decoration: underline;
}

.menu-mobile-wrap{
	display: contents;
}

.menu-mobile-cta{
	display: none;
}

.menu-mobile-backdrop{
	display: none;
}

#btn-mobile-menu{
	display: none;
}

/* ----------------------- space ------------------------ */

.hero-spacer{
	box-sizing: border-box;
	width: 100%;
	height: 340px;
}

/* ------------------------ main ------------------------ */

.main{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	padding-bottom: 32px;
}

/* ----------------------- footer ----------------------- */

.footer{
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	padding: 24px 0;
	background-color: var(--clr-almost-black);
}
.footer__top{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.footer__bottom .text{
	color: var(--clr-light-gray);
}

.footer__menu{
	display: inline-flex;
	flex-direction: column;
	gap: 20px;
}

.footer__logo{
	width: 160px;
}

.footer__social{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 16px;
	background-color: var(--clr-darkest-gray);
}
.footer-social__button {
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
}
.footer-social__button:hover{
	filter: brightness(0.85);
}
.footer-social__button:active{
	filter: brightness(1.15);
}
.footer-social__button:first-child{
	padding-left: 0;
}
.footer-social__button:last-child{
	padding-right: 0;
}

.footer-social__button img{
	width: 32px;
	height: 32px;
}

.footer__text{
	font-size: 18px;
	line-height: 1.5;
}

.footer__metadata{
	display: flex;
	gap: 16px;
}

/* -------------------- floating contact (FAB) -------------------- */

.fab{
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1000;
	display: grid;
	justify-items: end;
	gap: 12px;
}

.fab__actions{
	display: grid;
	gap: 12px;
	justify-items: end;
	pointer-events: none;
}

.fab__btn,
.fab__toggle{
	width: 56px;
	height: 56px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 10px 26px rgba(0, 0, 0, 0.45),
		inset 1px 1px 2px 0 rgba(255, 255, 255, 0.25),
		inset -1px -1px 2px 0 rgba(33, 41, 48, 0.35);
	border: 0;
	padding: 0;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: transform 200ms ease, filter 200ms ease;
}

.fab__btn:active,
.fab__toggle:active{
	transform: translateY(1px);
	filter: brightness(1.05);
}

.fab__icon,
.fab__toggle-icon{
	width: 56px;
	height: 56px;
	border-radius: 999px;
	display: inline-block;
	background-position: center;
	background-size: contain;
	transition: background-color 200ms ease, transform 200ms ease, opacity 200ms ease;
}

.fab__icon--tg{
	background-image: url("/static/img/icon/tg.svg?43a55869f65c");
}
.fab__icon--wa{
	background-image: url("/static/img/icon/wa.svg?43a55869f65c");
}
.fab__icon--max{
	background-image: url("/static/img/icon/max.svg?43a55869f65c");
}
.fab__icon--phone{
	background-image: url("/static/img/icon/phone.svg?43a55869f65c");
}
.fab__icon--call-me{
	background-image: url("/static/img/icon/call-me.svg?43a55869f65c");
}
.fab__icon--arrow-down{
	background-image: url("/static/img/icon/arrow_down.svg?43a55869f65c");
}

.fab__btn:hover .fab__icon,
.fab__btn:focus-visible .fab__icon{
	outline: 2px solid var(--clr-gold-dark);
	outline-offset: 3px;
}

.fab__btn:focus-visible,
.fab__toggle:focus-visible{
	outline: 2px solid var(--clr-gold-dark);
	outline-offset: 3px;
}

.fab__toggle{
	position: relative;
}

.fab__toggle-icon{
	position: absolute;
	inset: 0;
	margin: auto;
}

.fab__toggle-icon--close{
	opacity: 0;
	transform: translateY(-6px) scale(0.9);
}

/* closed state */
.fab:not(.is-open) .fab__actions .fab__btn{
	opacity: 0;
	transform: translateY(12px) scale(0.92);
	transition: transform 220ms ease, opacity 220ms ease;
}

/* open state */
.fab.is-open .fab__actions{
	pointer-events: auto;
}
.fab.is-open .fab__actions .fab__btn{
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 220ms ease;
}
.fab.is-open .fab__actions .fab__btn:nth-child(1){ transition-delay: 20ms; }
.fab.is-open .fab__actions .fab__btn:nth-child(2){ transition-delay: 70ms; }
.fab.is-open .fab__actions .fab__btn:nth-child(3){ transition-delay: 120ms; }
.fab.is-open .fab__actions .fab__btn:nth-child(4){ transition-delay: 170ms; }

.fab.is-open .fab__toggle-icon--open{
	opacity: 0;
	transform: translateY(6px) scale(0.9);
}
.fab.is-open .fab__toggle-icon--close{
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* ------------------------- 4K+ ------------------------ */

@media screen and ( min-width: 2200px ) {

	.page{
		max-width: 1920px;
	}

}

@media screen and ( min-width: 1920px ) {

	html{
		background-size: contain;
	}
	.page{
		transition: max-width 0.3s;
	}

}

/* ------------------------ FullHD ---------------------- */

@media screen and ( max-width: 1600px ) {

	.page{
		padding: 0 48px;
	}

	.footer{
		padding: 24px 0;
	}

}

@media screen and ( max-width: 1440px ) {

	html{
		background-image: url("/static/img/bg/index/bg-rendered-1440.png?43a55869f65c");
	}
	.page{
		max-width: 1344px;
		padding: 0 32px;
	}

	.menu-full{
		gap: 20px;
	}
	.menu-full__item{
		font-size: 16px;
	}

	.footer{
		padding: 24px 0;
	}

}

@media screen and ( max-width: 1024px ) {

	html {
		background-image: url("/static/img/bg/index/bg-rendered-1024.png?43a55869f65c");
	}
	.page{
		max-width: 960px;
		padding: 0 16px;
	}
	#btn-call-me-maybe{
		display: none;
	}
	.menu-full{
		gap: 16px;
	}
	.menu-full__item{
		font-size: 14px;
	}

	.footer{
		padding: 24px 0;
	}
	.footer__metadata{
		justify-content: space-between;
	}

}

/* ------------------------ Pocket ---------------------- */

@media screen and ( max-width: 768px ) {

	html {
		background-image: url("/static/img/bg/index/bg-rendered-768.png?43a55869f65c");
	}

	.header {
		position: sticky;
		top: 8px;
		z-index: 100;
	}

	.menu-mobile-wrap{
		position: absolute;
		left: 0;
		right: 0;
		top: calc(100% + 8px);
		display: none;
		flex-direction: column;
		gap: 16px;
		z-index: 90;
	}
	.header.is-menu-open .menu-mobile-wrap{
		display: flex;
	}

	.menu-mobile-backdrop{
		position: fixed;
		inset: 0;
		display: none;
		background-color: rgba(0, 0, 0, 0.62);
		backdrop-filter: blur(2px);
		z-index: 80;
	}
	.header.is-menu-open + .menu-mobile-backdrop{
		display: block;
	}
	.menu-full {
		position: static;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 16px 20px;
		border-radius: 18px;
		background-color: var(--clr-darkest-gray);
		box-shadow:
			0 16px 40px rgba(0, 0, 0, 0.65),
			0 0 0 1px rgba(255, 255, 255, 0.03);
		z-index: 1;
	}
	.menu-full__item{
		display: block;
		padding: 20px 0;
		font-size: 20px;
		text-align: left;
	}
	.menu-full__item + .menu-full__item{
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.menu-mobile-cta{
		display: block;
		margin-top: 0;
		border-radius: 20px;
		overflow: hidden;
		background-color: var(--clr-almost-black);
		background-image: url("/static/img/bg/index/form_bg-rendered.png?43a55869f65c");
		background-size: cover;
		background-position: center;
	}
	.menu-mobile-cta__content{
		padding: 20px 20px 24px;
		background: linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.9) 0%,
			rgba(0, 0, 0, 0.7) 60%,
			rgba(0, 0, 0, 0.0) 100%
		);
		display: flex;
		flex-direction: column;
		gap: 8px;
		max-width: 100%;
	}
	.menu-mobile-cta__content .h2{
		font-size: 20px;
	}
	.menu-mobile-cta__content .s16{
		color: var(--clr-light-gray);
	}
	.menu-mobile-cta__btn{
		align-self: flex-start;
		margin-top: 8px;
		border-radius: 999px;
		padding-inline: 24px;
	}


	#btn-mobile-menu {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 999px;
		background-color: rgba(0, 0, 0, 0.4);
		color: var(--clr-white);
		cursor: pointer;
		transition: background-color 0.2s, transform 0.2s;
	}
	.header.is-menu-open #btn-mobile-menu{
		transform: rotate(90deg);
		background-color: rgba(0, 0, 0, 0.7);
	}

	.footer__top{
		flex-direction: column;
		gap: 24px;
	}
	.footer__menu{
		width: 100%;
	}
	.footer__social{
		justify-content: center
	}
	.footer-social__button img{
		width: 40px;
		height: 40px;
	}
	.footer__text{
		width: 100%;
		font-size: 16px;
		text-align: left;
	}
	.footer__metadata{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

}

/* ------------------------ Mobile ---------------------- */

@media screen and ( max-width: 425px ) {

	html {
		background-image: url("/static/img/bg/index/bg-rendered-390.png?43a55869f65c");
	}

	.footer{
		padding: 24px 0;
		gap: 36px;
	}
	.footer-menu__item{
		text-align: center;
		padding: 24px 0;
	}
	.footer-menu__item:first-child{
		padding-top: 0;
	}
	.footer-menu__item:last-child{
		padding-bottom: 0;
		border-bottom: none;
	}

}

@media screen and ( max-width: 375px ) {

	.footer__top{
		flex-direction: column;
		gap: 36px;
	}

}

/* Фон лендинга realty — один вариант на все ширины (см. img/bg/realty/) */

html.page-realty {
	background-image: url("/static/img/bg/realty/bg-rendered.png?43a55869f65c");
}

/* -------------------------------- popup (universal) ------------------------------- */
/* Design: Figma node 586-2129. License lightbox uses its own .license-lightbox. */

.popup{
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	transition: opacity 0.2s ease-out;
}

.popup.is-closing{
	opacity: 0;
}

.popup[hidden]{
	display: none;
}

.popup__backdrop{
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

.popup__dialog{
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 800px;
	max-height: calc(100vh - 48px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding: 60px 50px;
	box-sizing: border-box;
	background-color: var(--clr-dark-gray);
	border: 1px solid transparent;
	border-radius: 48px;
	background-clip: padding-box;
	box-shadow:
		0 0 0 1px rgba(221, 184, 112, 0.5),
		inset 0 0 0 1px rgba(254, 223, 164, 0.2);
	overflow: hidden;
}

.popup__dialog::before{
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 48px;
	padding: 1px;
	background: linear-gradient(-76deg, #DDB870 0%, #FEDFA4 38%, #DFBA74 77%, #F0CE8E 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.popup__title{
	margin: 0;
	font-family: Inter, sans-serif;
	font-weight: 500;
	font-size: 26px;
	line-height: 1.21;
	text-align: center;
	color: var(--clr-gold);
	flex-shrink: 0;
}

.popup__body{
	width: 100%;
	flex: 1 1 auto;
	overflow-y: auto;
	font-family: Inter, sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.21;
	color: var(--clr-white);
	padding-right: 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--clr-gray) var(--clr-darker-gray);
}

.popup__body::-webkit-scrollbar{
	width: 10px;
	padding-left: 10px;
}

.popup__body::-webkit-scrollbar-track{
	background: var(--clr-darker-gray);
	border-radius: 4px;
}

.popup__body::-webkit-scrollbar-thumb{
	background: var(--clr-gray);
	border-radius: 4px;
}

.popup__body::-webkit-scrollbar-thumb:hover{
	background: var(--clr-light-gray);
}

.popup__body p{
	margin: 0 0 1em;
}

.popup__body p:last-child{
	margin-bottom: 0;
}

.popup__body ul{
	margin: 0.5em 0 1em;
	padding-left: 1.25em;
	list-style: disc;
}

.popup__body li{
	margin-bottom: 0.25em;
}

.popup__actions{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	flex-shrink: 0;
}

/* -------------------- popup with form (анкета) -------------------- */

.popup__dialog--form{
	max-height: calc(100vh - 48px);
	overflow-y: auto;
}

.popup-form{
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.popup-form__row{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.popup-form__row label{
	color: var(--clr-white);
	cursor: pointer;
}

.popup-form__row .input,
.popup-form__row .textarea{
	width: 100%;
	box-sizing: border-box;
}

.popup-form__actions{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

@media (max-width: 600px) {
	.popup__dialog{
		padding: 32px 24px;
		border-radius: 24px;
	}

	.popup__dialog::before{
		border-radius: 24px;
	}
}

.error-404-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 20px;
}

.error-404-card {
	width: 100%;
	max-width: 860px;
	padding: 56px 52px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	border-radius: 24px;
}

.error-404-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.error-404-code {
	font-family: Inter, Open Sans, sans-serif;
	font-size: clamp(56px, 14vw, 128px);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--clr-gold);
	background: var(--grad-gold-linear);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 2px 0 0;
}

.error-404-title {
	font-size: clamp(30px, 5vw, 46px);
	line-height: 1.05;
	max-width: 760px;
}

.error-404-text {
	max-width: 700px;
	line-height: 1.55;
	color: var(--clr-lighter-gray);
}

.error-404-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	padding-top: 4px;
}

@media screen and (max-width: 700px) {
	.error-404-page {
		padding: 24px 14px;
	}

	.error-404-card {
		padding: 34px 22px;
		gap: 22px;
	}

	.error-404-actions {
		flex-direction: column;
	}

	.error-404-actions .btn {
		width: 100%;
		box-sizing: border-box;
		display: flex;
		justify-content: center;
	}
}


/* ----------------------------- cookie banner ------------------------------ */

.cookie-banner {
	position: fixed;
	font-family: Inter, 'Open Sans' ,sans-serif;
	z-index: 1001;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 420px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	padding: 24px 24px 22px;
	background-color: var(--clr-dark-gray);
	border-radius: 24px;
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cookie-banner__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--clr-white);
}

.cookie-banner__accent {
	color: var(--clr-gold);
	font-weight: 500;
}

.cookie-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 16px 28px;
	font-family: Inter, 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--clr-white);
	background-color: var(--clr-darker-gray);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	outline: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn:hover {
	background-color: var(--clr-gray);
	border-color: rgba(255, 255, 255, 0.12);
}

.cookie-banner__btn:focus-visible {
	outline: 2px solid var(--clr-gold);
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.cookie-banner {
		left: 24px;
		bottom: 24px;
		transform: none;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 28px;
		max-width: min(720px, calc(100vw - 48px));
		padding: 22px 28px 22px 28px;
		border-radius: 20px;
	}

	.cookie-banner__text {
		flex: 1;
		min-width: 0;
	}

	.cookie-banner__btn {
		width: auto;
		flex-shrink: 0;
		padding: 16px 32px;
	}
}

/* ------------------------ hero ------------------------ */

.hero{
	width: 1000px;
	padding-bottom: 36px;
}

@media screen and ( max-width: 1200px ) {

	.hero{
		width: 100%;
	}

}
@media screen and ( max-width: 425px ) {

	.hero .btn-wide{
		flex-direction: column;
	}

}

/* --------------------- base blocks -------------------- */

.block{
	display: flex;
	box-sizing: border-box;
	gap: 36px;
	width: 100%;
	padding: 32px;
	border-radius: 16px;
}

.block.rich{
	background-color: var(--clr-almost-black);
	border: 1px solid var(--clr-gold);
}

.block.column{
	flex-direction: column;
}
.block.row{
	flex-direction: row;
}

@media screen and ( max-width: 1200px ) {

	.block{
		padding: 32px 16px;
	}

}

/* ---------------------- mortgage ---------------------- */

.mortgage-list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.mortgage-list__item{
	border-radius: 16px;
	padding: 16px;
	background-color: var(--clr-dark-gray);
	transition: 0.3s background-color;
}
.mortgage-list__item:hover{
	background-color: var(--clr-darker-gray);
}

.mortgage-list__item .h3{
	margin-bottom: 0;
}
.mortgage-list__item .s14{
	margin-top: 8px;
	color: var(--clr-light-gray);
}

@media screen and ( max-width: 1200px ) {

	.mortgage-list{
		grid-template-columns: repeat(2, 1fr);
	}

}
@media screen and ( max-width: 700px ) {

	.mortgage-list{
		grid-template-columns: repeat(1, 1fr);
	}

}

/* --------------------- additional --------------------- */

.mortgage-additional{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.mortgage-additional__block{
	flex: 1 1;
	padding: 24px 32px;
	border-radius: 16px;
	background-color: var(--clr-darkest-gray);
}

@media screen and ( max-width: 1440px ) {

	.mortgage-additional__block{
		padding: 24px;
	}

}
@media screen and ( max-width: 1200px ) {

	.mortgage-additional{
		grid-template-columns: repeat(2, 1fr);
	}
	.mortgage-additional__block{
		padding: 16px;
	}

}
@media screen and ( max-width: 700px ) {

	.mortgage-additional{
		grid-template-columns: repeat(1, 1fr);
	}

}

/* ---------- realty.html: сетка преимуществ и блока «Риски» ---------- */

.page-realty .mortgage-list--why{
	grid-template-columns: repeat(3, 1fr);
}

.page-realty .mortgage-list--risks{
	grid-template-columns: repeat(6, 1fr);
}

.page-realty .mortgage-list--risks .mortgage-list__item:nth-child(1){
	grid-column: 1 / 3;
}

.page-realty .mortgage-list--risks .mortgage-list__item:nth-child(2){
	grid-column: 3 / 5;
}

.page-realty .mortgage-list--risks .mortgage-list__item:nth-child(3){
	grid-column: 5 / 7;
}

/* вторая строка: два блока на всю ширину (по 3 из 6 колонок) */
.page-realty .mortgage-list--risks .mortgage-list__item:nth-child(4){
	grid-column: 1 / 4;
}

.page-realty .mortgage-list--risks .mortgage-list__item:nth-child(5){
	grid-column: 4 / 7;
}

@media screen and ( max-width: 1200px ) {

	.page-realty .mortgage-list--why{
		grid-template-columns: repeat(2, 1fr);
	}

	.page-realty .mortgage-list--risks{
		grid-template-columns: repeat(2, 1fr);
	}

	.page-realty .mortgage-list--risks .mortgage-list__item:nth-child(n){
		grid-column: auto;
	}

}

@media screen and ( max-width: 700px ) {

	.page-realty .mortgage-list--why,
	.page-realty .mortgage-list--risks{
		grid-template-columns: 1fr;
	}

}

/* ---------------------- programs ---------------------- */

.programs{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	width: 100%;
}

.program{
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	min-height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.program__img{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin-top: 0;
	object-fit: cover;
	object-position: center;
	display: block;
	/*padding-bottom: 16px;*/
	transition: 0.3s width, 0.3s height, 0.3s margin-top;
}

.program:hover .program__img{
	margin-top: -20%;
	width: 120%;
	height: 120%;
}

.program__overlay{
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(20, 21, 22, 0) 20%,
		rgba(20, 21, 22, 0.5) 60%,
		rgba(29, 29, 29, 1) 90%,
		rgba(29, 29, 29, 1) 100%
	);
	pointer-events: none;
}

.program__body{
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 32px;
	padding: 16px;
}

.program__text{
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.program__title,
.program__list{
	color: var(--clr-white);
}

.program__list{
	padding-left: 20px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	line-height: 1.21;
}

.program__list li{
	position: relative;
	padding-left: 0;
}

.program__footer{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.program__btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 12px;
	background-color: #DDB870;
	color: var(--clr-white);
	text-decoration: none;
	box-shadow:
		inset -1px -1px 2px rgba(33, 41, 48, 0.42),
		inset 1px 1px 2px rgba(255, 255, 255, 0.31);
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	transition: filter 0.2s;
}

.program__btn:hover{
	filter: brightness(1.08);
}

.program__price{
	color: var(--clr-white);
	white-space: nowrap;
}
.program__price .s12{
	display: inline-block;
}

@media screen and ( max-width: 1200px ) {

	.programs{
		grid-template-columns: repeat(2, 1fr);
	}

}
@media screen and ( max-width: 700px ) {

	.programs{
		grid-template-columns: repeat(1, 1fr);
	}

}

/* ----------------------- steps ------------------------ */

.steps-list{}
.step-item{}
.step-item__inner{
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 20px 4px;
	border-radius: 20px;
	transition: 0.2s background-color;
}
.step-item__inner:hover{
	background-color: var(--clr-darker-gray);
}
.step-item .h3{
	margin-bottom: 0;
}
.step-item .text.s18{
	text-align: center;
	color: var(--clr-light-gray);
}

/* ---------------------- command ----------------------- */

.command-slide{

}
.command-slide__inner{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 8px 8px 20px;
	border-radius: 24px;
	background-color: var(--clr-dark-gray);
	box-sizing: border-box;
	transition: 0.2s background-color;
}
.command-slide__inner:hover{
	background-color: var(--clr-darker-gray);
}
.command-slide__inner img{
	width: 100%;
	border-radius: 16px;
	margin-bottom: 10px;
}
.command-slide__inner .text{
	text-align: center;
}

/* --------------------- calculator --------------------- */

.calculator{
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.05fr);
	gap: 24px;
	margin-top: 24px;
}

.calculator__form{
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.calculator__form .h1{
	margin-bottom: 20px;
}

.calculator__summary{
	display: flex;
	flex-direction: row;
	gap: 16px;
}

.calculator__form{
	padding: 20px;
	border-radius: 16px;
	border: 1px solid var(--clr-gray);
}

.calculator__summary{
	gap: 12px;
}

.calculator__field{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.calculator__field-label{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.calculator__field-label .s14{
	color: var(--clr-light-gray);
}

.calculator__range{
	width: 100%;
	margin: 4px 0 0;
	appearance: none;
	height: 6px;
	border-radius: 999px;
	/*noinspection CssUnresolvedCustomProperty*/
	background: linear-gradient(
		to right,
		var(--clr-gold) 0,
		var(--clr-gold) var(--range-percent, 0%),
		var(--clr-gray) var(--range-percent, 0%),
		var(--clr-gray) 100%
	);
	outline: none;
}

.calculator__range::-webkit-slider-runnable-track{
	height: 6px;
	border-radius: 999px;
	/*noinspection CssUnresolvedCustomProperty*/
	background: linear-gradient(
		to right,
		var(--clr-gold) 0,
		var(--clr-gold) var(--range-percent, 0%),
		var(--clr-gray) var(--range-percent, 0%),
		var(--clr-gray) 100%
	);
}

.calculator__range::-webkit-slider-thumb{
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--clr-gold);
	border: 2px solid var(--clr-dark-gray);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
	cursor: pointer;
	margin-top: -6px;
}

.calculator__range::-moz-range-track{
	height: 6px;
	border-radius: 999px;
	/*noinspection CssUnresolvedCustomProperty*/
	background: linear-gradient(
		to right,
		var(--clr-gold) 0,
		var(--clr-gold) var(--range-percent, 0%),
		var(--clr-gray) var(--range-percent, 0%),
		var(--clr-gray) 100%
	);
}

.calculator__range::-moz-range-thumb{
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--clr-gold);
	border: 2px solid var(--clr-dark-gray);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.calculator-card{
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	border-radius: 16px;
}

.calculator-card--highlight{
	border: 1px solid var(--clr-gold);
}

.calculator-card__header{
	margin-bottom: 8px;
}

.calculator-card__row{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}

.calculator-card__row > .text.s14{
	color: var(--clr-light-gray);
}

.calculator-card__row > .text.s14.clr-gold{
	color: var(--clr-gold);
}

.calculator-card .btn{
	margin-top: 32px;
}

@media screen and ( max-width: 1200px ) {

	.calculator{
		grid-template-columns: 1fr;
	}

}
@media screen and ( max-width: 700px ) {

    .calculator__summary{
        flex-direction: column;
    }

}

/* ---------------------- licenses ---------------------- */

.licenses{
	position: relative;
	display: flex;
	/*align-items: center;*/
}

.licenses-slider-wrap{

}
.license-card{
	box-sizing: border-box;
	cursor: pointer;
}

.license-card img{
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.licenses-slider-arrow{
	position: absolute;
	top: 55%;
	transform: translateY(-50%);
	z-index: 20;
	font-size: 16px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: none;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.55);
	color: var(--clr-white);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.licenses-slider-arrow--prev{
	left: 36px;
}
.licenses-slider-arrow--next{
	right: 36px;
}

.licenses-slider-arrow:hover{
	background-color: rgba(0, 0, 0, 0.85);
}
.licenses-slider-arrow:active{
	transform: translateY(-50%) scale(0.96);
	background-color: var(--clr-gold-dark);
}
.licenses-slider-arrow:focus-visible{
	outline: 2px solid var(--clr-gold);
	outline-offset: 2px;
}

@media screen and ( max-width: 1200px ) {

	.licenses-slider-arrow{
		width: 50px;
		height: 50px;
		font-size: 20px;
	}
	.licenses-slider-arrow--prev{
		left: 24px;
	}
	.licenses-slider-arrow--next{
		right: 24px;
	}

}
@media screen and ( max-width: 600px ) {

    .licenses-slider-wrap .tns-nav{
        display: none;
    }

}

/* --------------- license lightbox (fullscreen view) --------------- */

@keyframes license-lightbox-fadeIn{
	from{ opacity: 0; }
	to{ opacity: 1; }
}

@keyframes license-lightbox-imageIn{
	from{
		opacity: 0;
		transform: scale(0.97);
	}
	to{
		opacity: 1;
		transform: scale(1);
	}
}

.license-lightbox{
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	transition: opacity 0.2s ease-out;
}

.license-lightbox.is-closing{
	opacity: 0;
}

.license-lightbox[hidden]{
	display: none;
}

.license-lightbox__backdrop{
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.9);
	cursor: pointer;
	animation: license-lightbox-fadeIn 0.22s ease-out;
}

.license-lightbox__content{
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 100%;
}

.license-lightbox__content .license-lightbox__img{
	max-width: 100%;
	max-height: calc(100vh - 48px);
	width: auto;
	height: auto;
	object-fit: contain;
	pointer-events: none;
	animation: license-lightbox-imageIn 0.2s ease-out 0.06s both;
}

.license-lightbox__close{
	position: fixed;
	top: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background-color: var(--clr-dark-gray);
	color: var(--clr-white);
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s;
	z-index: 10000;
	animation: license-lightbox-fadeIn 0.2s ease-out 0.12s both;
}

.license-lightbox__close:hover{
	background-color: var(--clr-gray);
}

/* ------------------ callback form block --------------- */

.block#callback{
	padding: 0;
}
.callback-form{
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 640px;
	padding: 50px;
	border-radius: 16px;
}
.callback-form .h1{
	margin-top: 0;
}

.callback-form__row{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.callback-form-image{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 60%;
	flex: 1 1;
	border-radius: 16px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url("/static/img/bg/index/form_bg-rendered.png?43a55869f65c");
}

@media screen and ( max-width: 1200px ) {

	.block#callback{
        flex-direction: column;
	}
	.callback-form{
		max-width: 100%;
	}
	.callback-form-image{
        width: 100%;
        min-height: 400px;
	}

}
@media screen and ( max-width: 600px ) {

    .callback-form{
        padding: 20px;
	}

}

/* ---------------------- sliders ----------------------- */

.tns-nav{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.tns-nav button{
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: var(--clr-gray);
	cursor: pointer;
	transition: background-color 0.2s;
}
.tns-nav button:hover{
	background-color: var(--clr-light-gray);
}
.tns-nav button.tns-nav-active{
	background-color: var(--clr-gold);
}

/* ---------------------- ya-maps ----------------------- */

.block-ya-maps{
	padding: 0;
	overflow: hidden;
}
