/*----------------------------------------------------------------------------------------
* РСК — стили внутренних страниц
* Подключается после rsk.css. Использует переменные из custom.css (:root).
*---------------------------------------------------------------------------------------- */
/* INDEX
----------------------------------------------------------------------------------------
01. Общее: активный пункт меню, шапка страницы, хлебные крошки
02. Каталог: типы, фильтр, панель, карточки, список
03. Карточка квартиры
04. Список проектов
05. Карточка ЖК: hero, навигация, о проекте, галерея
06. Карточка ЖК: генплан
07. Карточка ЖК: квартиры и шахматка
08. Карточка ЖК: расположение, стройка, документы
09. Печать
10. Адаптив
-------------------------------------------------------------------------------------- */

/************************************/
/****        01. Общее           ****/
/************************************/

.main-menu ul li.active > a{
	color: var(--accent-color);
}

/* Цвета статусов — для меток вне карточек проектов */
.property-label.status-sale{ background: var(--accent-color); }
.property-label.status-start{ background: var(--dark-blue-color); }
.property-label.status-done{ background: var(--primary-color); }

.project-hero-content .property-label.status-start{
	background: var(--white-color);
	color: var(--dark-blue-color);
}

.page-head{
	padding: 40px 0 50px;
}

.page-head.page-head-compact{
	padding: 25px 0 10px;
}

.breadcrumb{
	margin-bottom: 18px;
	font-size: 14px;
}

.breadcrumb-item a{
	color: var(--text-color);
}

.breadcrumb-item a:hover{
	color: var(--accent-color);
}

.breadcrumb-item.active{
	color: var(--primary-color);
}

.page-head h1{
	font-size: 50px;
	line-height: 1.15em;
	margin-bottom: 0;
}

.page-head-lead{
	max-width: 760px;
	font-size: 18px;
	margin: 18px 0 0;
}

.page-disclaimer{
	font-size: 13px;
	line-height: 1.5em;
	color: var(--text-color);
	opacity: 0.8;
	margin: 20px 0 0;
}

.check-list{
	list-style: none;
	padding: 0;
	margin: 0;
}

.check-list li{
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
}

.check-list li:before{
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--accent-color);
}

.status-filter{
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.status-filter button{
	border: 1px solid var(--divider-color);
	background: var(--white-color);
	border-radius: 30px;
	padding: 9px 18px;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	color: var(--primary-color);
	transition: all 0.2s ease-out;
}

.status-filter button:hover{
	border-color: var(--primary-color);
}

.status-filter button.active{
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white-color);
}

/************************************/
/****        02. Каталог         ****/
/************************************/

.catalog-types{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 30px;
}

.catalog-types a{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 30px;
	background: var(--secondary-color);
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 15px;
	color: var(--primary-color);
	transition: all 0.2s ease-out;
}

.catalog-types a i{
	color: var(--accent-color);
}

.catalog-types a small{
	font-family: var(--condensed-font);
	font-weight: 700;
	font-size: 14px;
	color: var(--text-color);
}

.catalog-types a:hover{
	background: var(--divider-color);
}

.catalog-types a.active{
	background: var(--primary-color);
	color: var(--white-color);
}

.catalog-types a.active i,
.catalog-types a.active small{
	color: var(--white-color);
}

.catalog-section{
	padding: 0 0 100px;
}

.catalog-filter{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 30px;
}

.catalog-filter-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 24px;
	align-items: end;
}

.filter-field-rooms .room-chips span{
	background: var(--white-color);
}

.catalog-filter .form-control{
	background-color: var(--white-color);
}

.range-inputs{
	display: flex;
}

.range-inputs .form-control:first-child{
	border-radius: 5px 0 0 5px;
	border-right: none;
}

.range-inputs .form-control:last-child{
	border-radius: 0 5px 5px 0;
}

.range-inputs .form-control{
	-moz-appearance: textfield;
}

.range-inputs .form-control::-webkit-outer-spin-button,
.range-inputs .form-control::-webkit-inner-spin-button{
	-webkit-appearance: none;
	margin: 0;
}

.filter-field-checks{
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 6px;
}

.filter-check{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	font-size: 15px;
	color: var(--primary-color);
}

.filter-check input{
	width: 18px;
	height: 18px;
	accent-color: var(--accent-color);
}

.catalog-filter-footer{
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
}

.filter-reset{
	border: none;
	background: none;
	padding: 0;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	color: var(--text-color);
}

.filter-reset:hover{
	color: var(--accent-color);
}

.catalog-toolbar{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin: 30px 0;
}

.catalog-count{
	margin: 0;
	font-size: 17px;
	color: var(--primary-color);
}

.catalog-count strong{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 22px;
}

.catalog-toolbar-controls{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
}

.catalog-sort{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	white-space: nowrap;
}

.catalog-sort .form-control{
	width: auto;
	padding: 10px 40px 10px 15px;
	background-color: var(--white-color);
}

.view-switch .view-switch-link{
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border-radius: 30px;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	color: var(--primary-color);
}

.view-switch .view-switch-link i{
	color: var(--accent-color);
}

.view-switch .view-switch-link:hover{
	color: var(--accent-color);
}

.catalog-view-switch button i{
	margin-right: 0;
}

.flat-discount.flat-discount-reserved{
	background: var(--divider-color);
	color: var(--primary-color);
	font-weight: 700;
	font-size: 15px;
}

.flat-card-mortgage{
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--text-color);
}

/* Каталог списком */
.catalog-results.is-list .catalog-col{
	width: 100%;
}

.catalog-results.is-list .flat-card{
	display: grid;
	grid-template-columns: 180px 1fr auto;
	grid-template-areas: "plan body header";
	align-items: center;
	gap: 30px;
	height: auto;
	padding: 15px 25px 15px 15px;
}

.catalog-results.is-list .flat-card-header{
	grid-area: header;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	align-self: start;
	padding-top: 10px;
}

.catalog-results.is-list .flat-card-plan{
	grid-area: plan;
	margin: 0;
}

.catalog-results.is-list .flat-card-body{
	grid-area: body;
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: 30px;
}

.catalog-results.is-list .flat-card-price{
	grid-column: 2;
	grid-row: 1 / span 3;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	margin: 0;
}

.catalog-results.is-list .flat-card-mortgage{
	grid-column: 2;
	text-align: right;
}

.catalog-empty{
	text-align: center;
	padding: 60px 20px;
	border: 1px dashed var(--divider-color);
	border-radius: 20px;
}

.catalog-empty > i{
	font-size: 40px;
	color: var(--divider-color);
	margin-bottom: 20px;
}

.catalog-empty h3{
	font-size: 24px;
}

.catalog-empty p{
	max-width: 520px;
	margin: 0 auto 25px;
}

.catalog-more{
	text-align: center;
	margin: 10px 0 0;
}

.catalog-help{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 60px;
	padding: 35px 40px;
	background: var(--dark-blue-color);
	border-radius: 20px;
}

.catalog-help h3{
	color: var(--white-color);
	font-size: 26px;
	margin-bottom: 8px;
}

.catalog-help p{
	color: #ffffffcc;
	margin: 0;
}

.catalog-help .btn-default{
	flex-shrink: 0;
}

.catalog-help .btn-default:before{
	background: var(--white-color);
}

.catalog-help .btn-default:hover{
	color: var(--dark-blue-color);
}

.seo-text{
	max-width: 900px;
	margin-top: 60px;
}

.seo-text h2{
	font-size: 28px;
	margin-bottom: 15px;
}

/************************************/
/****   03. Карточка квартиры    ****/
/************************************/

.flat-main{
	padding: 10px 0 60px;
}

.flat-media{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 20px;
	margin-bottom: 30px;
}

.flat-media-tabs{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 20px;
}

.flat-media-tabs button{
	border: none;
	background: var(--white-color);
	border-radius: 30px;
	padding: 9px 18px;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	color: var(--primary-color);
	transition: all 0.2s ease-out;
}

.flat-media-tabs button.active{
	background: var(--primary-color);
	color: var(--white-color);
}

.flat-media-panel{
	position: relative;
	background: var(--white-color);
	border-radius: 15px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.flat-media-panel[hidden]{
	display: none;
}

.flat-media-panel > img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.flat-media-panel[data-media-panel="genplan"] > img,
.flat-media-panel[data-media-panel="view"] > img{
	object-fit: cover;
}

.flat-media-note{
	position: absolute;
	left: 15px;
	bottom: 12px;
	font-size: 12px;
	color: var(--text-color);
	background: #ffffffd9;
	padding: 2px 8px;
	border-radius: 4px;
}

.floor-scheme{
	width: 90%;
	height: auto;
}

.floor-scheme .fs-outline{
	fill: none;
	stroke: var(--primary-color);
	stroke-width: 4;
}

.floor-scheme .fs-flat{
	fill: #E9F4EC;
	stroke: var(--white-color);
	stroke-width: 4;
}

.floor-scheme .fs-flat.fs-sold{
	fill: var(--divider-color);
}

.floor-scheme .fs-flat.fs-current{
	fill: var(--accent-color);
}

.floor-scheme .fs-corridor{
	fill: var(--secondary-color);
}

.floor-scheme .fs-lift{
	fill: var(--divider-color);
}

.floor-scheme text{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 22px;
	fill: var(--white-color);
	text-anchor: middle;
}

.floor-scheme text.fs-label{
	font-size: 13px;
	fill: var(--primary-color);
}

.floor-legend{
	display: flex;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 15px 0 0;
	font-size: 13px;
}

.floor-legend i{
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	margin-right: 6px;
	vertical-align: -2px;
}

.floor-legend .fs-current{ background: var(--accent-color); }
.floor-legend .fs-free{ background: #E9F4EC; border: 1px solid #c9e3cf; }
.floor-legend .fs-sold{ background: var(--divider-color); }

.flat-summary{
	position: sticky;
	top: 110px;
	border: 1px solid var(--divider-color);
	border-radius: 20px;
	padding: 35px;
	margin-bottom: 30px;
}

.flat-summary-badges{
	display: flex;
	gap: 8px;
	margin-bottom: 15px;
}

.flat-status{
	font-family: var(--condensed-font);
	font-weight: 700;
	font-size: 15px;
	padding: 3px 12px;
	border-radius: 5px;
}

.flat-status-free{
	background: var(--dark-blue-color);
	color: var(--white-color);
}

.flat-summary h1{
	font-size: 32px;
	line-height: 1.2em;
	margin-bottom: 10px;
}

.flat-summary-location{
	font-size: 15px;
	margin-bottom: 25px;
}

.flat-summary-location a{
	color: var(--primary-color);
	font-weight: 700;
}

.flat-summary-location a:hover{
	color: var(--accent-color);
}

.flat-summary-price{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin-bottom: 15px;
}

.flat-summary-price del{
	width: 100%;
	font-size: 16px;
}

.flat-summary-price strong{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 44px;
	line-height: 1;
	color: var(--primary-color);
}

.flat-summary-price span{
	font-size: 15px;
}

.flat-summary-mortgage{
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--secondary-color);
	color: var(--primary-color);
	margin-bottom: 25px;
}

.flat-summary-mortgage > i:first-child{
	color: var(--accent-color);
}

.flat-summary-mortgage > i:last-child{
	margin-left: auto;
	font-size: 13px;
}

.flat-summary-mortgage strong{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 20px;
}

.flat-summary-mortgage:hover{
	color: var(--accent-color);
}

.flat-summary-facts{
	list-style: none;
	padding: 0;
	margin: 0 0 25px;
}

.flat-summary-facts li{
	display: flex;
	justify-content: space-between;
	padding: 9px 0;
	border-bottom: 1px dashed var(--divider-color);
	font-size: 15px;
}

.flat-summary-facts strong{
	color: var(--primary-color);
}

.flat-summary-buttons{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.flat-summary-buttons .btn-default{
	text-align: center;
}

.flat-summary-actions{
	display: flex;
	gap: 8px;
	margin-top: 20px;
}

.flat-summary-actions button{
	border: 1px solid var(--divider-color);
	background: var(--white-color);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--primary-color);
	font-size: 17px;
	transition: all 0.2s ease-out;
}

.flat-summary-actions button:hover{
	border-color: var(--primary-color);
	color: var(--accent-color);
}

.flat-summary-actions .compare-toggle.active{
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white-color);
}

.flat-summary-note{
	font-size: 13px;
	margin: 20px 0 0;
}

.flat-details{
	padding: 0 0 60px;
}

.flat-block{
	margin-bottom: 40px;
}

.flat-block h2{
	font-size: 28px;
	margin-bottom: 20px;
}

.spec-list{
	margin: 0;
}

.spec-list > div{
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 0;
	border-bottom: 1px solid var(--divider-color);
}

.spec-list dt{
	font-weight: 400;
}

.spec-list dd{
	margin: 0;
	text-align: right;
	font-weight: 700;
	color: var(--primary-color);
}

.rooms-table{
	width: 100%;
}

.rooms-table td{
	padding: 10px 0;
	border-bottom: 1px solid var(--divider-color);
}

.rooms-table td:last-child{
	text-align: right;
	font-weight: 700;
	color: var(--primary-color);
}

.flat-finish{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 30px;
}

.flat-finish h2{
	font-size: 22px;
}

.flat-purchase{
	background: var(--secondary-color);
}

.flat-purchase .purchase-item{
	background: var(--white-color);
}

.project-teaser{
	padding: 100px 0 0;
}

.project-teaser-box{
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-radius: 20px;
	overflow: hidden;
	background: var(--primary-color);
}

.project-teaser-box figure img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-teaser-content{
	padding: 50px;
	color: #ffffffcc;
}

.project-teaser-content .property-label{
	display: inline-block;
	color: var(--white-color);
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	padding: 4px 14px;
	border-radius: 5px;
	margin-bottom: 15px;
}

.project-teaser-content h2{
	color: var(--white-color);
	font-size: 36px;
}

.project-teaser-facts{
	display: flex;
	gap: 30px;
	list-style: none;
	padding: 0;
	margin: 25px 0 30px;
}

.project-teaser-facts strong{
	display: block;
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 30px;
	color: var(--white-color);
	line-height: 1.1;
}

.project-teaser-facts span{
	font-size: 14px;
}

.project-teaser-content .btn-default:before{
	background: var(--accent-dark-color);
}

.similar-flats{
	padding-top: 100px;
}

/************************************/
/****   04. Список проектов      ****/
/************************************/

.projects-list-section{
	padding: 0 0 100px;
}

.projects-list-section .catalog-toolbar{
	margin-top: 0;
}

.projects-grid > *{
	margin-bottom: 30px;
}

.projects-grid .project-item{
	background: var(--secondary-color);
}

.project-soon{
	position: relative;
	height: 100%;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 35px;
	border-radius: 20px;
	background: var(--dark-blue-color);
	color: #ffffffcc;
	overflow: hidden;
}

.project-soon .property-label{
	position: absolute;
	top: 20px;
	left: 20px;
	color: var(--white-color);
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	padding: 4px 14px;
	border-radius: 5px;
	background: var(--accent-color);
}

.project-soon > i{
	position: absolute;
	right: -20px;
	top: 40px;
	font-size: 180px;
	color: #ffffff10;
}

.project-soon h3{
	color: var(--white-color);
	font-size: 26px;
}

.project-soon p{
	margin-bottom: 25px;
}

.project-soon .btn-default{
	align-self: flex-start;
}

/************************************/
/****   05. Карточка ЖК          ****/
/************************************/

.project-hero{
	position: relative;
	margin: 0 40px;
	border-radius: 20px;
	overflow: hidden;
	padding: 30px 0 60px;
	min-height: 640px;
	display: flex;
	flex-direction: column;
}

.project-hero-image{
	position: absolute;
	inset: 0;
}

.project-hero-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-hero-image:after{
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #343333f2 0%, #34333399 45%, #34333333 100%);
}

.project-hero .container{
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.project-hero .breadcrumb-item a,
.project-hero .breadcrumb-item.active,
.project-hero .breadcrumb-item + .breadcrumb-item::before{
	color: #ffffffcc;
}

.project-hero-content{
	margin-top: auto;
	color: var(--white-color);
}

.project-hero-content .property-label{
	display: inline-block;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	padding: 4px 14px;
	border-radius: 5px;
	margin-bottom: 15px;
}

.project-hero-content h1{
	color: var(--white-color);
	font-size: 64px;
	line-height: 1.1em;
	margin-bottom: 10px;
}

.project-hero-address{
	font-size: 17px;
	color: #ffffffd9;
}

.project-hero-address i{
	color: var(--accent-color);
	margin-right: 6px;
}

.project-hero-facts{
	display: flex;
	flex-wrap: wrap;
	gap: 15px 50px;
	list-style: none;
	padding: 25px 0;
	margin: 25px 0 30px;
	border-top: 1px solid #ffffff33;
	border-bottom: 1px solid #ffffff33;
}

.project-hero-facts span{
	display: block;
	font-size: 14px;
	color: #ffffffb3;
}

.project-hero-facts strong{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 28px;
	line-height: 1.1;
}

.project-hero-buttons{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.project-hero-buttons .btn-default.btn-border{
	color: var(--white-color);
	border-color: var(--white-color);
}

.project-hero-buttons .btn-default.btn-border:before{
	background: var(--white-color);
}

.project-hero-buttons .btn-default.btn-border:hover{
	color: var(--primary-color);
}

.project-hero-buttons .btn-default:not(.btn-border):before{
	background: var(--accent-dark-color);
}

.project-hero-fav{
	border: none;
	width: 50px;
	height: 50px;
}

.project-subnav{
	position: sticky;
	top: var(--header-h, 0px);
	z-index: 90;
	background: var(--white-color);
	border-bottom: 1px solid var(--divider-color);
	transition: top 0.2s ease-out;
}

.project-subnav ul{
	display: flex;
	gap: 30px;
	list-style: none;
	padding: 0;
	margin: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.project-subnav ul::-webkit-scrollbar{
	display: none;
}

.project-subnav a{
	display: block;
	padding: 18px 0;
	border-bottom: 3px solid transparent;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 15px;
	color: var(--primary-color);
	white-space: nowrap;
}

.project-subnav a:hover,
.project-subnav a.active{
	color: var(--accent-color);
	border-bottom-color: var(--accent-color);
}

.project-section{
	padding: 100px 0;
	scroll-margin-top: 150px;
}

.project-section-gray{
	background: var(--secondary-color);
}

.project-about-text p{
	font-size: 17px;
}

.project-features{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 20px;
	list-style: none;
	padding: 0;
	margin: 25px 0 30px;
}

.project-features li{
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: var(--primary-color);
}

.project-features i{
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--secondary-color);
	color: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-gallery{
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.project-gallery .swiper-slide img{
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.project-gallery .swiper-pagination-bullet{
	background: var(--white-color);
	opacity: 0.6;
}

.project-gallery .swiper-pagination-bullet-active{
	background: var(--accent-color);
	opacity: 1;
}

.gallery-prev,
.gallery-next{
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border: none;
	border-radius: 50%;
	background: var(--white-color);
	color: var(--primary-color);
	transition: all 0.2s ease-out;
}

.gallery-prev{ left: 20px; }
.gallery-next{ right: 20px; }

.gallery-prev:hover,
.gallery-next:hover{
	background: var(--accent-color);
	color: var(--white-color);
}

/************************************/
/****   06. Генплан              ****/
/************************************/

.genplan{
	position: relative;
	background: var(--white-color);
	border-radius: 20px;
	padding: 20px;
}

.genplan-svg{
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.gp-ground{ fill: #EEF0EA; }
.gp-road{ fill: #D7D9D6; }
.gp-park{ fill: #CFE3C8; }
.gp-yard{ fill: #DDEBD5; }

.gp-caption{
	font-family: var(--condensed-font);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 1px;
	text-transform: uppercase;
	fill: #5d7a55;
	text-anchor: middle;
}

.gp-house path{
	fill: var(--primary-color);
	stroke: var(--white-color);
	stroke-width: 3;
	transition: fill 0.2s ease-out;
	cursor: pointer;
}

.gp-house text{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 22px;
	fill: var(--white-color);
	text-anchor: middle;
	pointer-events: none;
}

.gp-house:hover path,
.gp-house:focus path{
	fill: var(--accent-color);
}

.gp-house:focus{
	outline: none;
}

.gp-object rect{
	fill: #C9CED6;
	stroke: var(--white-color);
	stroke-width: 3;
}

.gp-object text{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 16px;
	fill: var(--primary-color);
	text-anchor: middle;
}

.genplan-tooltip{
	position: absolute;
	z-index: 5;
	pointer-events: none;
	background: var(--white-color);
	border-radius: 10px;
	padding: 12px 16px;
	box-shadow: 0 10px 30px #34333333;
	max-width: 260px;
}

.genplan-tooltip strong{
	display: block;
	font-family: var(--accent-font);
	font-weight: 800;
	color: var(--primary-color);
}

.genplan-tooltip span{
	font-size: 14px;
}

.genplan-legend{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
	list-style: none;
	padding: 0;
	margin: 15px 0 0;
	font-size: 14px;
}

.genplan-legend i{
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: -3px;
}

.gp-legend-house{ background: var(--primary-color); }
.gp-legend-object{ background: #C9CED6; }
.gp-legend-park{ background: #CFE3C8; }

/************************************/
/****   07. Квартиры и шахматка  ****/
/************************************/

.room-types{
	border: 1px solid var(--divider-color);
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 50px;
}

.room-type-row{
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr 30px;
	align-items: center;
	gap: 20px;
	padding: 20px 30px;
	border-bottom: 1px solid var(--divider-color);
	color: var(--text-color);
	transition: background 0.2s ease-out;
}

.room-type-row:last-child{
	border-bottom: none;
}

.room-type-row:hover{
	background: var(--secondary-color);
	color: var(--text-color);
}

.room-type-name{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 18px;
	color: var(--primary-color);
}

.room-type-row strong{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 22px;
	color: var(--primary-color);
}

.room-type-row > i{
	color: var(--accent-color);
	transition: transform 0.2s ease-out;
}

.room-type-row:hover > i{
	transform: translateX(4px);
}

.chess{
	scroll-margin-top: 150px;
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 30px;
}

.chess-header{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 25px;
}

.chess-header h3{
	font-size: 24px;
	margin: 0;
}

.chess-controls{
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.chess-rooms{
	width: 220px;
}

.chess-rooms span{
	padding: 9px 0;
	background: var(--white-color);
}

.chess-grid-wrap{
	overflow-x: auto;
}

.chess-table{
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: calc(var(--cols) * 64px + 60px);
}

.chess-floor{
	display: flex;
	align-items: center;
	gap: 8px;
}

.chess-floor-num{
	flex: 0 0 32px;
	text-align: right;
	font-family: var(--condensed-font);
	font-weight: 700;
	font-size: 15px;
	color: var(--text-color);
}

.chess-cells{
	display: flex;
	gap: 4px;
	flex: 1;
}

.chess-cell{
	flex: 1;
	min-width: 56px;
	height: 44px;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.1;
	transition: all 0.15s ease-out;
}

.chess-cell small{
	font-family: var(--condensed-font);
	font-weight: 700;
	font-size: 12px;
}

.chess-cell-gap{
	margin-left: 14px;
}

.chess-free{
	background: var(--white-color);
	color: var(--primary-color);
	border: 1px solid #c9e3cf;
}

a.chess-free:hover{
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
	transform: scale(1.06);
}

.chess-reserved{
	background: #FFF4D6;
	color: #8a6d1c;
	border: 1px solid #f2dfa6;
}

a.chess-reserved:hover{
	color: #8a6d1c;
	transform: scale(1.06);
}

.chess-sold{
	background: var(--divider-color);
	color: #9a9999;
}

.chess-cell.is-dimmed{
	opacity: 0.2;
}

.chess-commercial{
	flex: 1;
	height: 44px;
	border-radius: 6px;
	background: #C9CED6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--primary-color);
}

.chess-legend{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 25px;
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
	font-size: 14px;
}

.chess-legend i{
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: -3px;
}

.project-flats-more{
	text-align: center;
	margin-top: 40px;
}

/************************************/
/**** 08. Расположение, стройка  ****/
/************************************/

.location-list{
	list-style: none;
	padding: 0;
	margin: 0 0 15px;
}

.location-list li{
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--divider-color);
}

.location-list i{
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--white-color);
	color: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
}

.location-list span{
	flex: 1;
	color: var(--primary-color);
}

.location-list strong{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 20px;
	color: var(--primary-color);
}

.location-note{
	font-size: 13px;
}

.progress-house-head{
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	color: var(--primary-color);
}

.progress-house-head strong{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 18px;
}

.progress-house-head span{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 22px;
}

.progress-house p{
	margin: 8px 0 0;
	font-size: 14px;
}

.extra-card{
	display: block;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	padding: 35px;
	border-radius: 20px;
	background: var(--white-color);
	color: var(--text-color);
	transition: all 0.3s ease-out;
}

.extra-card:hover{
	color: var(--text-color);
	box-shadow: 0 15px 40px #3433331f;
	transform: translateY(-4px);
}

.extra-card > i{
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--primary-color);
	color: var(--white-color);
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.extra-card h3{
	font-size: 22px;
}

.extra-card strong{
	display: block;
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 26px;
	color: var(--accent-color);
}

.extra-card span{
	font-size: 14px;
}

.doc-list{
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--divider-color);
}

.doc-item{
	display: grid;
	grid-template-columns: 40px 1fr auto 30px;
	align-items: center;
	gap: 18px;
	padding: 20px 10px;
	border-bottom: 1px solid var(--divider-color);
	color: var(--text-color);
	transition: background 0.2s ease-out;
}

.doc-item:hover{
	background: var(--secondary-color);
	color: var(--text-color);
}

.doc-item > i:first-child{
	font-size: 26px;
	color: var(--accent-color);
	text-align: center;
}

.doc-item > i:last-child{
	color: var(--primary-color);
}

.doc-name{
	font-weight: 700;
	color: var(--primary-color);
}

.doc-meta{
	font-size: 14px;
	text-align: right;
}

.project-purchase-cards{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.project-purchase-cards > div{
	background: var(--white-color);
	border-radius: 20px;
	padding: 30px;
}

.project-purchase-cards strong{
	display: block;
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 40px;
	line-height: 1.1;
	color: var(--accent-color);
}

.project-purchase-cards span{
	color: var(--primary-color);
	font-weight: 700;
}

/************************************/
/****        09. Печать          ****/
/************************************/

@media print{
	.top-offer-bar,
	header.main-header,
	.footer,
	.footer-copyright-links,
	.mobile-bottom-bar,
	.cookie-banner,
	.back-to-top,
	.preloader,
	.flat-media-tabs,
	.flat-summary-buttons,
	.flat-summary-actions,
	.flat-purchase,
	.similar-flats,
	.project-teaser{
		display: none !important;
	}

	.flat-summary{
		position: static;
	}
}

/************************************/
/****        10. Адаптив         ****/
/************************************/

@media only screen and (max-width: 1360px){
	.project-hero{
		margin: 0 15px;
	}
}

@media only screen and (max-width: 1199px){
	.catalog-filter-grid{
		grid-template-columns: repeat(3, 1fr);
	}

	.project-hero-content h1{
		font-size: 52px;
	}
}

@media only screen and (max-width: 991px){
	.page-head{
		padding: 25px 0 35px;
	}

	.page-head h1{
		font-size: 34px;
	}

	.page-head-lead{
		font-size: 16px;
	}

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

	.catalog-filter{
		padding: 20px;
	}

	.catalog-results.is-list .flat-card{
		grid-template-columns: 120px 1fr;
		grid-template-areas: "plan body" "header header";
		gap: 15px;
	}

	.catalog-results.is-list .flat-card-header{
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0;
	}

	.catalog-results.is-list .flat-card-body{
		grid-template-columns: 1fr;
	}

	.catalog-results.is-list .flat-card-price,
	.catalog-results.is-list .flat-card-mortgage{
		grid-column: 1;
		grid-row: auto;
		align-items: flex-start;
		text-align: left;
		flex-direction: row;
		margin-top: 8px;
	}

	.catalog-help{
		flex-direction: column;
		align-items: flex-start;
		padding: 30px;
	}

	.flat-summary{
		position: static;
		padding: 25px;
	}

	.flat-summary h1{
		font-size: 26px;
	}

	.flat-summary-price strong{
		font-size: 36px;
	}

	.project-teaser{
		padding-top: 60px;
	}

	.project-teaser-box{
		grid-template-columns: 1fr;
	}

	.project-teaser-box figure img{
		aspect-ratio: 16 / 9;
	}

	.project-teaser-content{
		padding: 30px;
	}

	.similar-flats{
		padding-top: 60px;
	}

	.project-hero{
		min-height: 560px;
		padding-bottom: 30px;
	}

	.project-hero-content h1{
		font-size: 38px;
	}

	.project-hero-facts{
		gap: 12px 28px;
	}

	.project-hero-facts strong{
		font-size: 22px;
	}

	.project-subnav ul{
		gap: 22px;
	}

	.project-section{
		padding: 60px 0;
	}

	.project-gallery{
		margin-top: 20px;
	}

	.room-type-row{
		grid-template-columns: 1fr auto;
		gap: 4px 15px;
		padding: 16px 20px;
	}

	.room-type-row > span:nth-child(2),
	.room-type-row .room-type-count{
		font-size: 14px;
	}

	.room-type-row > i{
		display: none;
	}

	.chess{
		padding: 20px;
	}

	.doc-item{
		grid-template-columns: 32px 1fr 20px;
	}

	.doc-meta{
		grid-column: 2;
		grid-row: 2;
		text-align: left;
	}

	.doc-item > i:last-child{
		grid-column: 3;
		grid-row: 1 / span 2;
	}

	.project-purchase-cards{
		margin-top: 30px;
	}
}

@media only screen and (max-width: 767px){
	.catalog-filter-grid{
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.catalog-toolbar{
		flex-direction: column;
		align-items: flex-start;
	}

	.catalog-sort span{
		display: none;
	}

	.flat-media{
		padding: 12px;
	}

	.flat-media-tabs button{
		padding: 8px 14px;
		font-size: 13px;
	}

	.project-features{
		grid-template-columns: 1fr;
	}

	.project-hero-content h1{
		font-size: 32px;
	}

	.project-hero-buttons .btn-default{
		flex: 1;
		text-align: center;
	}

	.project-purchase-cards{
		grid-template-columns: 1fr;
	}

	.project-purchase-cards strong{
		font-size: 32px;
	}

	.project-teaser-facts{
		gap: 20px;
	}

	.project-teaser-facts strong{
		font-size: 24px;
	}
}

/************************************/
/****  11. Способы покупки       ****/
/************************************/

.programs-section{
	padding: 0 0 70px;
}

.program-card{
	display: flex;
	flex-direction: column;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	padding: 30px;
	border-radius: 20px;
	background: var(--secondary-color);
	color: var(--text-color);
	transition: all 0.3s ease-out;
}

.program-card:hover{
	color: var(--text-color);
	transform: translateY(-4px);
	box-shadow: 0 15px 40px #3433331f;
}

.program-card-value{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 40px;
	line-height: 1;
	color: var(--accent-color);
	margin-bottom: 18px;
}

.program-card h3{
	font-size: 20px;
	margin-bottom: 8px;
}

.program-card p{
	font-size: 15px;
	margin-bottom: 20px;
}

.program-card-link{
	margin-top: auto;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	color: var(--primary-color);
}

.program-card-link i{
	margin-left: 6px;
	color: var(--accent-color);
}

.program-card.program-card-dark{
	background: var(--primary-color);
	color: #ffffffb3;
}

.program-card.program-card-dark h3,
.program-card.program-card-dark .program-card-link{
	color: var(--white-color);
}

.program-card.program-card-dark .program-card-value{
	color: var(--white-color);
}

.purchase-calc-section{
	background: var(--secondary-color);
	padding: 100px 0;
}

.calc-rate-presets{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.calc-rate-presets button{
	border: 1px solid #ffffff33;
	background: transparent;
	border-radius: 30px;
	padding: 6px 14px;
	font-size: 13px;
	color: var(--white-color);
	transition: all 0.2s ease-out;
}

.calc-rate-presets button:hover,
.calc-rate-presets button.active{
	background: var(--accent-color);
	border-color: var(--accent-color);
}

.program-details{
	padding: 100px 0;
}

.rsk-accordion .accordion-item{
	border: 1px solid var(--divider-color);
	border-radius: 15px !important;
	margin-bottom: 12px;
	overflow: hidden;
	scroll-margin-top: 120px;
}

.rsk-accordion .accordion-header{
	margin: 0;
}

.rsk-accordion .accordion-button{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 19px;
	color: var(--primary-color);
	background: var(--white-color);
	padding: 22px 28px;
	box-shadow: none;
}

.rsk-accordion .accordion-button:not(.collapsed){
	color: var(--accent-color);
	background: var(--white-color);
}

.rsk-accordion .accordion-button:focus{
	box-shadow: none;
}

.rsk-accordion .accordion-button:focus-visible{
	outline: 2px solid var(--accent-color);
	outline-offset: -2px;
}

.rsk-accordion .accordion-body{
	padding: 0 28px 28px;
}

.program-terms{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.program-terms li{
	background: var(--secondary-color);
	border-radius: 12px;
	padding: 16px 18px;
}

.program-terms span{
	display: block;
	font-size: 13px;
}

.program-terms strong{
	color: var(--primary-color);
}

.steps-inline{
	padding-left: 20px;
	margin-bottom: 20px;
}

.steps-inline li{
	margin-bottom: 6px;
}

.purchase-steps-section{
	padding: 100px 0;
	background: var(--secondary-color);
}

.purchase-steps{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.purchase-steps li{
	position: relative;
	background: var(--white-color);
	border-radius: 20px;
	padding: 30px 25px;
}

.purchase-steps li > span{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--accent-color);
	color: var(--white-color);
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 22px;
	margin-bottom: 18px;
}

.purchase-steps h3{
	font-size: 19px;
	margin-bottom: 8px;
}

.purchase-steps p{
	font-size: 15px;
	margin: 0;
}

.banks-section{
	padding: 60px 0 100px;
}

.banks-section .partner-banks{
	margin-top: 0;
}

/************************************/
/****        12. Акции           ****/
/************************************/

.promo-list-section{
	background: var(--white-color);
	padding-top: 0;
}

.promo-list-section .catalog-toolbar{
	margin-top: 0;
}

.promo-list-section .promo-item{
	background: var(--secondary-color);
}

.promo-project{
	display: block;
	font-family: var(--condensed-font);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-color);
	margin-bottom: 8px;
}

.promo-banner-section{
	padding: 10px 0 60px;
}

.promo-banner{
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	border-radius: 20px;
	overflow: hidden;
	background: var(--primary-color);
}

.promo-banner figure img{
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

.promo-banner-content{
	padding: 50px;
	color: #ffffffcc;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.promo-banner-content .promo-project{
	color: #ffffffb3;
}

.promo-banner-content h1{
	color: var(--white-color);
	font-size: 44px;
	line-height: 1.15em;
	margin-bottom: 15px;
}

.promo-countdown{
	margin: 15px 0 30px;
}

.promo-countdown-label{
	display: block;
	font-size: 14px;
	margin-bottom: 10px;
}

.promo-countdown-values{
	display: flex;
	gap: 12px;
}

.promo-countdown-values div{
	min-width: 84px;
	text-align: center;
	background: #ffffff14;
	border-radius: 12px;
	padding: 12px 10px;
}

.promo-countdown-values strong{
	display: block;
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 38px;
	line-height: 1;
	color: var(--white-color);
}

.promo-countdown-values span{
	font-size: 13px;
}

.promo-banner-content .btn-default{
	align-self: flex-start;
}

.promo-banner-content .btn-default:before{
	background: var(--accent-dark-color);
}

.promo-terms-section{
	padding: 0 0 20px;
}

.promo-terms-card{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 40px;
}

.promo-terms-card h3{
	font-size: 22px;
	margin-bottom: 15px;
}

.promo-terms-card .spec-list{
	margin-bottom: 25px;
}

.promo-terms-card .spec-list > div:last-child dd{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 22px;
	color: var(--accent-color);
}

.promo-other{
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--divider-color);
}

.promo-other h2{
	font-size: 26px;
	margin-bottom: 20px;
}

.promo-other-links{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.promo-other-links a{
	padding: 12px 20px;
	border-radius: 30px;
	background: var(--secondary-color);
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 14px;
	color: var(--primary-color);
}

.promo-other-links a i{
	margin-left: 6px;
	color: var(--accent-color);
}

.promo-other-links a:hover{
	background: var(--primary-color);
	color: var(--white-color);
}

/************************************/
/**** 13. Избранное, сравнение   ****/
/************************************/

.favorites-section,
.compare-section{
	padding: 0 0 100px;
}

.favorites-section .catalog-toolbar,
.compare-section .catalog-toolbar{
	margin-top: 0;
}

.favorites-section .row > *{
	margin-bottom: 30px;
}

.favorites-section .flat-card{
	height: 100%;
	margin-bottom: 0;
}

.favorites-section .project-item{
	background: var(--secondary-color);
}

.status-filter button span{
	font-family: var(--condensed-font);
	font-weight: 700;
	margin-left: 4px;
	opacity: 0.7;
}

.favorites-actions{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.compare-table-wrap{
	overflow-x: auto;
	border: 1px solid var(--divider-color);
	border-radius: 20px;
}

.compare-table-wrap[hidden],
.catalog-toolbar[hidden]{
	display: none;
}

.compare-table{
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
}

.compare-table th,
.compare-table td{
	padding: 14px 20px;
	border-bottom: 1px solid var(--divider-color);
	vertical-align: top;
	font-size: 15px;
}

.compare-table tbody th{
	width: 200px;
	font-weight: 400;
	color: var(--text-color);
	background: var(--secondary-color);
}

.compare-table td{
	color: var(--primary-color);
	font-weight: 700;
}

.compare-table tr.is-diff td{
	background: #FFF8EC;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td{
	border-bottom: none;
	background: var(--white-color);
}

.compare-table thead th{
	background: var(--white-color);
}

.compare-head{
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 180px;
}

.compare-head img{
	width: 100%;
	max-width: 200px;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: var(--secondary-color);
	border-radius: 10px;
}

.compare-title{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 17px;
	color: var(--primary-color);
}

.compare-head .favorite-toggle{
	position: absolute;
	top: 6px;
	left: 6px;
	width: 34px;
	height: 34px;
	font-size: 15px;
}

.compare-remove{
	position: absolute;
	top: 6px;
	right: 6px;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: var(--white-color);
	color: var(--primary-color);
	box-shadow: 0 2px 8px #3433331f;
}

.compare-remove:hover{
	color: var(--accent-color);
}

.compare-table .btn-default{
	padding: 10px 18px;
	font-size: 14px;
}

@media only screen and (max-width: 1199px){
	.purchase-steps{
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (max-width: 991px){
	.purchase-calc-section,
	.program-details,
	.purchase-steps-section{
		padding: 60px 0;
	}

	.purchase-calc-section .mortgage-calc{
		margin-top: 30px;
	}

	.program-terms{
		grid-template-columns: 1fr 1fr;
	}

	.promo-banner{
		grid-template-columns: 1fr;
	}

	.promo-banner figure img{
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.promo-banner-content{
		padding: 30px;
	}

	.promo-banner-content h1{
		font-size: 32px;
	}
}

@media only screen and (max-width: 767px){
	.purchase-steps{
		grid-template-columns: 1fr;
	}

	.rsk-accordion .accordion-button{
		font-size: 17px;
		padding: 18px 20px;
	}

	.rsk-accordion .accordion-body{
		padding: 0 20px 20px;
	}

	.promo-countdown-values div{
		min-width: 70px;
	}

	.promo-countdown-values strong{
		font-size: 30px;
	}

	.compare-table tbody th{
		width: 120px;
	}
}

/************************************/
/****      14. О компании        ****/
/************************************/

.about-intro{
	padding: 0 0 40px;
}

.about-intro-box{
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 460px;
	display: flex;
	align-items: flex-end;
}

.about-intro-box figure,
.about-intro-box figure img{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-intro-box figure:after{
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #343333e6 0%, #34333333 70%);
}

.about-intro-content{
	position: relative;
	z-index: 2;
	padding: 50px;
	max-width: 780px;
}

.about-intro-logo{
	height: 70px;
	width: auto;
	margin-bottom: 25px;
}

.about-intro-lead{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 32px;
	line-height: 1.25em;
	color: var(--white-color);
	margin: 0;
}

.about-intro-text{
	margin-top: 40px;
}

.about-intro-text p{
	font-size: 18px;
}

.about-numbers{
	padding: 20px 0 70px;
}

.division-card{
	height: calc(100% - 30px);
	margin-bottom: 30px;
	padding: 35px;
	border-radius: 20px;
	background: var(--white-color);
}

.division-num{
	display: block;
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 48px;
	line-height: 1;
	color: var(--accent-color);
	margin-bottom: 20px;
}

.division-card h3{
	font-size: 24px;
}

.division-card p{
	margin: 0;
}

.timeline{
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
}

.timeline:before{
	content: '';
	position: absolute;
	left: 90px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: var(--divider-color);
}

.timeline li{
	position: relative;
	display: flex;
	gap: 60px;
	padding: 0 0 35px;
}

.timeline li:after{
	content: '';
	position: absolute;
	left: 84px;
	top: 10px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--accent-color);
	box-shadow: 0 0 0 5px var(--white-color);
}

.timeline-year{
	flex: 0 0 70px;
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 28px;
	line-height: 1.2;
	color: var(--primary-color);
}

.timeline h3{
	font-size: 20px;
	margin-bottom: 6px;
}

.timeline p{
	margin: 0;
}

/************************************/
/****   15. Ход строительства    ****/
/************************************/

.construction-page{
	padding: 0 0 100px;
}

.construction-page .catalog-toolbar{
	margin-top: 0;
}

.construction-project{
	padding-bottom: 60px;
	margin-bottom: 60px;
	border-bottom: 1px solid var(--divider-color);
}

.construction-project:last-child{
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}

.construction-project-head{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 30px;
	margin-bottom: 25px;
}

.construction-project-head h2{
	font-size: 36px;
	margin: 0;
}

.construction-project-head h2 a{
	color: var(--primary-color);
}

.construction-project-head h2 a:hover{
	color: var(--accent-color);
}

@media only screen and (max-width: 767px){
	.construction-project{
		padding-bottom: 40px;
		margin-bottom: 40px;
	}

	.construction-project-head h2{
		font-size: 26px;
	}
}

/************************************/
/****   16. Новости и статья     ****/
/************************************/

.blog-page{
	padding-top: 0;
}

.blog-page .catalog-toolbar{
	margin-top: 0;
}

.rsk-pagination ul{
	display: flex;
	justify-content: center;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
}

.rsk-pagination a,
.rsk-pagination span{
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 50%;
	border: 1px solid var(--divider-color);
	font-family: var(--accent-font);
	font-weight: 800;
	color: var(--primary-color);
}

.rsk-pagination .current{
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white-color);
}

.rsk-pagination a:hover{
	border-color: var(--accent-color);
	color: var(--accent-color);
}

.article{
	padding: 10px 0 60px;
}

.article-wrap{
	max-width: 860px;
	margin: 0 auto;
}

.article-header h1{
	font-size: 46px;
	line-height: 1.15em;
	margin: 10px 0 15px;
}

.article-cover{
	margin: 30px 0 40px;
	border-radius: 20px;
	overflow: hidden;
}

.article-cover img{
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-body{
	font-size: 18px;
	line-height: 1.7em;
}

.article-body p{
	line-height: 1.7em;
}

.article-lead{
	font-size: 21px;
	color: var(--primary-color);
}

.article-body h2{
	font-size: 28px;
	margin: 40px 0 15px;
}

.article-body a{
	color: var(--accent-color);
	text-decoration: underline;
}

.article-body blockquote{
	margin: 35px 0;
	padding: 25px 30px;
	border-left: 4px solid var(--accent-color);
	background: var(--secondary-color);
	border-radius: 0 15px 15px 0;
}

.article-body blockquote p{
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 21px;
	line-height: 1.4em;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.article-body blockquote cite{
	font-style: normal;
	font-size: 15px;
}

.article-footer{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--divider-color);
}

.article-share{
	display: flex;
	align-items: center;
	gap: 8px;
}

.article-share span{
	margin-right: 6px;
}

.article-share a,
.article-share button{
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background: var(--secondary-color);
	color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease-out;
}

.article-share a:hover,
.article-share button:hover{
	background: var(--accent-color);
	color: var(--white-color);
}

.related-posts{
	background: var(--secondary-color);
}

/************************************/
/****  17. Документы, контакты   ****/
/************************************/

.documents-page{
	padding: 0 0 100px;
}

.documents-page .rsk-accordion .accordion-button{
	font-size: 22px;
}

.disclosure{
	margin-top: 60px;
	scroll-margin-top: 120px;
}

.disclosure h2{
	font-size: 34px;
}

.page-head-phone{
	font-family: var(--accent-font);
	font-weight: 800;
	color: var(--accent-color);
	white-space: nowrap;
}

.offices-section{
	padding: 0 0 60px;
}

.offices-list{
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}

.office-card{
	border: 1px solid var(--divider-color);
	border-radius: 20px;
	padding: 28px 30px;
}

.office-card h3{
	font-size: 20px;
	margin-bottom: 15px;
}

.office-info{
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}

.office-info li{
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 15px;
}

.office-info i{
	width: 18px;
	color: var(--accent-color);
	text-align: center;
}

.office-info a{
	color: var(--primary-color);
	font-weight: 700;
}

.office-buttons{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.office-buttons .btn-default{
	padding: 10px 22px;
	font-size: 14px;
}

.office-buttons .btn-default.btn-border{
	padding: 8px 22px;
}

.contacts-map{
	height: 100%;
	min-height: 520px;
}

.requisites-list{
	margin: 0 0 30px;
}

.requisites-list > div{
	padding: 12px 0;
	border-bottom: 1px solid var(--divider-color);
}

.requisites-list dt{
	font-weight: 400;
	font-size: 13px;
	color: var(--text-color);
}

.requisites-list dd{
	margin: 0;
	color: var(--primary-color);
	font-weight: 700;
}

/************************************/
/**** 18. FAQ, политика, 404     ****/
/************************************/

.faq-page{
	padding: 0 0 100px;
}

.faq-toolbar{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 30px;
}

.faq-search{
	position: relative;
	flex: 0 1 420px;
}

.faq-search i{
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-color);
}

.faq-search .form-control{
	padding-left: 46px;
	border-radius: 30px;
}

.faq-page .catalog-empty{
	margin-bottom: 30px;
}

.legal-page{
	padding: 0 0 100px;
}

.legal-nav{
	position: sticky;
	top: 110px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 30px;
}

.legal-nav a{
	padding: 10px 16px;
	border-radius: 10px;
	color: var(--primary-color);
	font-weight: 700;
}

.legal-nav a:hover{
	background: var(--secondary-color);
	color: var(--accent-color);
}

.legal-text section{
	scroll-margin-top: 120px;
	margin-bottom: 40px;
}

.legal-text h2{
	font-size: 26px;
	margin-bottom: 15px;
}

.legal-note{
	padding: 15px 20px;
	border-radius: 12px;
	background: #FFF8EC;
	color: #8a6d1c;
	font-size: 15px;
	margin-bottom: 30px;
}

.not-found-page{
	padding: 80px 0 120px;
}

.not-found-box{
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.not-found-mark{
	width: 80px;
	margin-bottom: 20px;
}

.not-found-box h1{
	font-family: var(--condensed-font);
	font-weight: 900;
	font-size: 160px;
	line-height: 1;
	color: var(--accent-color);
	margin-bottom: 10px;
}

.not-found-box h2{
	font-size: 32px;
}

.not-found-box p{
	margin-bottom: 30px;
}

.not-found-links{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

@media only screen and (max-width: 991px){
	.about-intro-box{
		min-height: 360px;
	}

	.about-intro-content{
		padding: 30px;
	}

	.about-intro-lead{
		font-size: 24px;
	}

	.article-header h1{
		font-size: 34px;
	}

	.article-body{
		font-size: 17px;
	}

	.contacts-map{
		min-height: 380px;
	}

	.legal-nav{
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 767px){
	.timeline:before{
		left: 6px;
	}

	.timeline li{
		flex-direction: column;
		gap: 4px;
		padding-left: 30px;
	}

	.timeline li:after{
		left: 0;
	}

	.article-header h1{
		font-size: 28px;
	}

	.article-lead{
		font-size: 19px;
	}

	.not-found-box h1{
		font-size: 110px;
	}
}

/* Кнопка «Фильтры» в каталоге — только на мобильных */
.catalog-filter-toggle{
	display: none;
}

@media only screen and (max-width: 767px){
	.catalog-filter-toggle{
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		width: 100%;
		padding: 14px 20px;
		border: none;
		border-radius: 15px;
		background: var(--secondary-color);
		font-family: var(--accent-font);
		font-weight: 800;
		font-size: 16px;
		color: var(--primary-color);
	}

	.catalog-filter-toggle i{
		color: var(--accent-color);
	}

	.catalog-filter-count{
		min-width: 22px;
		height: 22px;
		padding: 0 6px;
		border-radius: 11px;
		background: var(--accent-color);
		color: var(--white-color);
		font-family: var(--condensed-font);
		font-size: 14px;
		line-height: 22px;
	}

	.catalog-filter{
		display: none;
		margin-top: 10px;
	}

	.catalog-filter.is-open{
		display: block;
	}
}

/************************************/
/****  19. ЖК: ход строительства ****/
/************************************/

/* Слева — месяцы, справа — отчёт (по образцу блока «В домах РСК» на главной) */
.progress-tabs{
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	align-items: start;
}

.progress-nav{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.progress-nav button{
	position: relative;
	text-align: left;
	border: none;
	background: var(--secondary-color);
	border-radius: 15px;
	padding: 22px 26px;
	font-family: var(--accent-font);
	font-weight: 800;
	font-size: 20px;
	color: var(--primary-color);
	transition: all 0.25s ease-out;
}

.progress-nav button:after{
	content: '\f061';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 15px;
	opacity: 0;
	transition: opacity 0.25s ease-out;
}

.progress-nav button:hover{
	color: var(--accent-color);
}

.progress-nav button.active{
	background: var(--accent-color);
	color: var(--white-color);
}

.progress-nav button.active:after{
	opacity: 1;
}

.progress-panel{
	min-width: 0;
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 40px;
}

.progress-panel[hidden]{
	display: none;
}

.progress-panel.active{
	animation: advFade 0.4s ease-out;
}

.progress-panel h3{
	font-size: 36px;
	margin-bottom: 15px;
}

.progress-panel > p{
	font-size: 17px;
	max-width: 760px;
	margin-bottom: 25px;
}

.progress-readiness{
	max-width: 520px;
	margin-bottom: 30px;
}

.progress-readiness .construction-progress-bar{
	height: 8px;
	background: var(--white-color);
}

/* Слайдер: 3 фото в ряд, как в галерее на странице «Ход строительства» */
.progress-slider{
	position: relative;
}

.progress-slider .swiper{
	border-radius: 12px;
}

.progress-slide{
	display: block;
	border-radius: 12px;
	overflow: hidden;
	cursor: zoom-in;
}

.progress-slide img{
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease-out;
}

.progress-slide:hover img{
	transform: scale(1.06);
}

.progress-slider-nav{
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 15px;
}

.progress-slider-nav button{
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: var(--white-color);
	color: var(--primary-color);
	transition: all 0.2s ease-out;
}

.progress-slider-nav button:hover{
	background: var(--accent-color);
	color: var(--white-color);
}

.progress-slider-nav button.swiper-button-disabled{
	opacity: 0.4;
	pointer-events: none;
}

/* Полноэкранный просмотр фото */
.mfp-progress .mfp-figure:after{
	border-radius: 12px;
}

.mfp-progress .mfp-title{
	font-family: var(--default-font);
	font-size: 15px;
}

.mfp-progress .mfp-arrow{
	opacity: 0.9;
}

@media only screen and (max-width: 991px){
	.progress-tabs{
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.progress-nav{
		flex-direction: row;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.progress-nav::-webkit-scrollbar{
		display: none;
	}

	.progress-nav button{
		flex-shrink: 0;
		padding: 12px 20px;
		font-size: 16px;
	}

	.progress-nav button:after{
		display: none;
	}

	.progress-panel{
		padding: 25px;
	}

	.progress-panel h3{
		font-size: 26px;
	}
}

@media only screen and (max-width: 767px){
	.progress-panel{
		padding: 20px;
	}

	.progress-panel > p{
		font-size: 16px;
	}
}
