/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Brands (big-img): logos larger on white plate — template default is 150×50 */
.brands-list-big-img-template .brands-list__image-wrapper {
	max-width: 300px;
	height: 100px;
	padding-block: 20px !important;
	padding-inline: 28px !important;
}

.brands-list-big-img-template .brands-list__image {
	max-height: 100px;
	width: auto;
	max-width: 100%;
}

/* Catalog section SEO description: collapse "Узнать больше" */
.group_description_block .collapse-block,
.group_description_block .collapse-block--closed {
	display: none;
}

.group_description_block .collapse-block.is-open {
	display: block;
}

.group_description_block .collapse-button {
	display: inline-block;
	margin: 12px 0 4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--theme-base-color, #222);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.group_description_block .collapse-button:hover {
	opacity: 0.8;
}

.group_description_block .view > p:has(.collapse-button) {
	margin-bottom: 0;
}

/* Catalog FAQ (ModX reviews parity) */
.lkf-catalog-faq {
	--lkf-faq-accent: var(--theme-base-color, #f19d00);
	margin: 56px 0 0;
	padding: 64px 0 72px;
	background: #f3f3f3;
}

.lkf-catalog-faq__grid {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
	gap: 40px 56px;
	align-items: start;
}

.lkf-catalog-faq__title {
	margin: 0 0 16px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #222;
	letter-spacing: -0.01em;
}

.lkf-catalog-faq__side-text {
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.55;
	color: #666;
}

.lkf-catalog-faq__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 28px;
	max-width: 280px;
}

.lkf-catalog-faq__btn {
	width: 100%;
	text-align: center;
	border-radius: 2px !important;
	font-weight: 600;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}

.lkf-catalog-faq__actions .btn-transparent-border {
	background: #fff !important;
	color: var(--lkf-faq-accent) !important;
	border-color: var(--lkf-faq-accent) !important;
}

.lkf-catalog-faq__actions .btn-transparent-border:hover {
	background: var(--lkf-faq-accent) !important;
	color: #fff !important;
}

.lkf-catalog-faq__phone-wrap {
	line-height: 1.45;
}

.lkf-catalog-faq__phone-label {
	font-size: 14px;
	color: #888;
	margin-bottom: 6px;
}

.lkf-catalog-faq__phone {
	display: inline-block;
	font-size: 20px;
	font-weight: 700;
	color: #222;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.lkf-catalog-faq__phone:hover {
	color: var(--lkf-faq-accent);
}

.lkf-catalog-faq__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.lkf-catalog-faq__item {
	background: #fff;
	border: none;
	border-radius: 2px;
	padding: 28px 30px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lkf-catalog-faq__item:hover {
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
	transform: translateY(-1px);
}

.lkf-catalog-faq__q {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #1a1a1a;
}

.lkf-catalog-faq__a {
	font-size: 15px;
	line-height: 1.6;
	color: #666;
}

.lkf-catalog-faq__a a {
	color: var(--lkf-faq-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lkf-catalog-faq__a a:hover {
	text-decoration: none;
}

@media (max-width: 1199px) {
	.lkf-catalog-faq__title {
		font-size: 26px;
	}

	.lkf-catalog-faq__grid {
		gap: 32px 40px;
	}
}

@media (max-width: 991px) {
	.lkf-catalog-faq {
		margin: 40px 0 0;
		padding: 40px 0 48px;
	}

	.lkf-catalog-faq__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.lkf-catalog-faq__actions {
		max-width: 320px;
	}

	.lkf-catalog-faq__list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.lkf-catalog-faq__item {
		padding: 22px 24px;
	}
}

@media (max-width: 575px) {
	.lkf-catalog-faq__title {
		font-size: 24px;
	}

	.lkf-catalog-faq__actions {
		max-width: none;
	}

	.lkf-catalog-faq__phone {
		font-size: 18px;
	}
}

/* Catalog: Как сделать заказ */
.lkf-catalog-order {
	--lkf-order-accent: var(--theme-base-color, #f19d00);
	--lkf-order-mark: #eaebb0;
	padding: 64px 0 24px;
	background: #fff;
}

.lkf-catalog-order__title {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: #2c2c31;
}

.lkf-catalog-order__title::after {
	content: '';
	display: block;
	width: 53px;
	height: 4px;
	margin-top: 10px;
	background: var(--lkf-order-accent);
}

.lkf-catalog-order__subtitle {
	margin: 0 0 36px;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5e5e5e;
}

.lkf-catalog-order__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
	gap: 40px 48px;
	align-items: start;
}

.lkf-catalog-order__steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 40px;
}

.lkf-catalog-order__step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	max-width: 390px;
}

.lkf-catalog-order__num {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	min-width: 1.1em;
	font-size: 55px;
	font-weight: 700;
	line-height: 1.1;
	color: #000;
}

.lkf-catalog-order__num::before {
	content: '';
	position: absolute;
	z-index: -1;
	left: -5px;
	top: 4px;
	width: 39px;
	height: 39px;
	background: var(--lkf-order-mark);
}

.lkf-catalog-order__step:nth-child(4n+2) .lkf-catalog-order__num::before,
.lkf-catalog-order__step:nth-child(4n+3) .lkf-catalog-order__num::before {
	background: var(--lkf-order-accent);
	opacity: 0.55;
}

.lkf-catalog-order__step-title {
	margin: 4px 0 8px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	color: #2c2c31;
}

.lkf-catalog-order__step-text {
	font-size: 13.5px;
	line-height: 1.45;
	color: #666;
}

.lkf-catalog-order__side {
	background: #f4f1eb;
	padding: 28px 24px;
	text-align: center;
}

.lkf-catalog-order__side-text {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.5;
	color: #444;
	text-align: left;
}

.lkf-catalog-order__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 22px;
}

.lkf-catalog-order__btn {
	width: 100%;
	text-align: center;
	border-radius: 33px !important;
	font-weight: 500;
}

.lkf-catalog-order__actions .btn-transparent-border {
	background: #fff !important;
	color: #444 !important;
	border-color: #cfcfcf !important;
}

.lkf-catalog-order__actions .btn-transparent-border:hover {
	border-color: var(--lkf-order-accent) !important;
	color: var(--lkf-order-accent) !important;
}

.lkf-catalog-order__phone-label {
	margin-bottom: 6px;
	font-size: 13px;
	color: #666;
}

.lkf-catalog-order__phone {
	display: inline-block;
	font-size: 22px;
	font-weight: 700;
	color: #2c2c31;
	text-decoration: none;
}

.lkf-catalog-order__phone:hover {
	color: var(--lkf-order-accent);
}

/* Catalog: Наши достижения */
.lkf-catalog-achievements {
	--lkf-ach-accent: var(--theme-base-color, #f19d00);
	--lkf-ach-mark: #eaebb0;
	padding: 48px 0 64px;
	background: #fff;
	overflow: visible;
}

.lkf-catalog-achievements .maxwidth-theme {
	overflow: visible;
}

.lkf-catalog-achievements__head {
	margin-bottom: 36px;
}

.lkf-catalog-achievements__title {
	margin: 0 0 12px;
	font-size: 35px;
	font-weight: 700;
	line-height: 1.2;
	color: #2c2c31;
}

.lkf-catalog-achievements__title::after {
	content: '';
	display: block;
	width: 53px;
	height: 4px;
	margin-top: 9px;
	background: var(--lkf-ach-accent);
}

.lkf-catalog-achievements__subtitle {
	margin: 0;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5e5e5e;
}

.lkf-catalog-achievements__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 30px;
	align-items: start;
}

.lkf-catalog-achievements__group {
	margin: 0 0 30px;
	min-height: 19px;
	font-size: 1.1em;
	line-height: 19px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #2c2c31;
	font-weight: 400;
}

.lkf-catalog-achievements__group--row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.lkf-catalog-achievements__all {
	font-size: 13px;
	line-height: 19px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.lkf-catalog-achievements__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
	row-gap: 0;
	padding-left: 8px;
	overflow: visible;
}

.lkf-catalog-achievements__stat {
	position: relative;
	min-width: 0;
	margin: 18px 0 42px;
	padding-left: 0;
	overflow: visible;
}

.lkf-catalog-achievements__stat::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	width: 39px;
	height: 39px;
	background: var(--lkf-ach-mark);
	pointer-events: none;
}

.lkf-catalog-achievements__stat--accent::before {
	background: var(--lkf-ach-accent);
	opacity: 0.55;
}

.lkf-catalog-achievements__stat-num {
	position: relative;
	z-index: 2;
	margin: 0 0 6px;
	font-size: 55px;
	font-weight: 700;
	line-height: 1.15;
	color: #000;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.lkf-catalog-achievements__stat-text {
	position: relative;
	z-index: 1;
	font-size: 14px;
	line-height: 16px;
	color: #666;
}

.lkf-catalog-achievements__awards-wrap {
	min-width: 0;
	overflow: visible;
}

.lkf-catalog-achievements__slider-wrap {
	position: relative;
	margin-right: -48px;
	padding-right: 48px;
	overflow: visible;
}

.lkf-catalog-achievements__swiper {
	overflow: hidden;
	margin: 0;
	width: 100%;
	padding-right: 8px;
	box-sizing: border-box;
}

.lkf-catalog-achievements__swiper .swiper-slide {
	height: auto;
	box-sizing: border-box;
}

.lkf-catalog-achievements__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 244px;
	background: #f5f5f5;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.lkf-catalog-achievements__slide:hover {
	transform: translateY(-2px);
}

.lkf-catalog-achievements__slide img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lkf-catalog-achievements__nav {
	position: absolute !important;
	top: 50% !important;
	width: 39px !important;
	height: 39px !important;
	margin: 0 !important;
	margin-top: -20px !important;
	transform: none !important;
	border: 0;
	border-radius: 50%;
	background: #666 !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
	z-index: 4;
	cursor: pointer;
}

.lkf-catalog-achievements__nav::after {
	font-size: 14px !important;
	font-weight: 700;
	color: #fff;
}

.lkf-catalog-achievements__nav:hover {
	background: #2c2c31 !important;
	box-shadow: 0 0 20px rgba(44, 44, 49, 0.6);
}

.lkf-catalog-achievements__nav--next {
	right: 0 !important;
	left: auto !important;
}

.lkf-catalog-achievements__nav--prev {
	left: 8px !important;
	right: auto !important;
}

.lkf-catalog-achievements__nav.swiper-button-disabled {
	opacity: 0 !important;
	visibility: hidden;
	pointer-events: none;
}

@media (max-width: 1199px) {
	.lkf-catalog-achievements__stat-num {
		font-size: 44px;
	}
}

@media (max-width: 991px) {
	.lkf-catalog-order,
	.lkf-catalog-achievements {
		padding-left: 0;
		padding-right: 0;
	}

	.lkf-catalog-order {
		padding-top: 48px;
	}

	.lkf-catalog-order__grid,
	.lkf-catalog-achievements__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.lkf-catalog-order__steps {
		gap: 22px 20px;
	}

	.lkf-catalog-order__num {
		font-size: 40px;
	}

	.lkf-catalog-order__title,
	.lkf-catalog-achievements__title {
		font-size: 28px;
	}

	.lkf-catalog-achievements__stats {
		max-width: 520px;
	}

	.lkf-catalog-achievements__nav--next {
		right: 8px !important;
	}
}

@media (max-width: 575px) {
	.lkf-catalog-order__steps {
		grid-template-columns: 1fr;
	}

	.lkf-catalog-order__step {
		max-width: none;
	}

	.lkf-catalog-achievements__stats {
		column-gap: 16px;
		max-width: none;
	}

	.lkf-catalog-achievements__stat {
		margin-bottom: 28px;
	}

	.lkf-catalog-achievements__stat-num {
		font-size: 36px;
	}

	.lkf-catalog-achievements__stat::before {
		width: 28px;
		height: 28px;
	}
}

/* T24: keep CTAs clear of bottom panel / deferred chat widgets */
@media (max-width: 991px) {
	body.bottom-icons-panel_y .main,
	body .wrapper1,
	body .body > .main {
		padding-bottom: 72px;
	}
	/* Filter / forms: avoid fixed chrome covering actions */
	.bx_filter .bx_filter_button_box,
	.bx_filter .bx_filter_search_button,
	form .btn[type="submit"] {
		position: relative;
		z-index: 2;
	}
	.side-icons-panel {
		display: none !important;
	}
}

/* Typography parity with test.flatdeco.ru */
.switcher-title {
	font-weight: 100;
}

/* Homepage promo tiles: compact one-line white labels. */
.MIDDLE_ADV .banners-img-with-text-list__item-top-text,
.MIDDLE_ADV .banners-img-with-text-list__item-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.MIDDLE_ADV .banners-img-with-text-list__item-top-text {
	background: transparent;
	border-radius: 0;
	color: #fff !important;
	display: block;
	font-weight: 600;
	opacity: 1;
	padding: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
	width: auto;
}

.MIDDLE_ADV .banners-img-with-text-list__item-title {
	font-size: clamp(17px, 1.45vw, 24px);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
}

.MIDDLE_ADV .dark-block-after::after {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12) 78%) !important;
}

/* Compact process cards with monochrome photography and an orange accent. */
.CUSTOM_TEXT .index-block__headings {
	margin-bottom: 0 !important;
}

.CUSTOM_TEXT .banners-img-with-text-list .grid-list {
	counter-reset: lkf-process-step;
	gap: 18px;
	margin-top: 12px;
}

.CUSTOM_TEXT .banners-img-with-text-list__wrapper {
	counter-increment: lkf-process-step;
}

.CUSTOM_TEXT .banners-img-with-text-list__item {
	border-bottom: 4px solid var(--theme-base-color);
	box-shadow: 0 14px 32px rgba(15, 20, 28, 0.14);
}

.CUSTOM_TEXT .banners-img-with-text-list__item::before {
	align-items: center;
	background: var(--theme-base-color);
	color: #171717;
	content: counter(lkf-process-step, decimal-leading-zero);
	display: flex;
	font-family: var(--theme-font-title-family);
	font-size: 24px;
	height: 52px;
	justify-content: center;
	left: 16px;
	line-height: 1;
	position: absolute;
	top: 16px;
	width: 52px;
	z-index: 3;
}

.CUSTOM_TEXT .banners-img-with-text-list__item::after {
	background:
		linear-gradient(145deg, rgba(241, 157, 0, 0.22), transparent 48%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.04) 78%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.CUSTOM_TEXT .banners-img-with-text-list__item-image {
	filter: grayscale(1) contrast(1.08);
	padding-top: 100% !important;
	transition: filter 0.25s ease, transform 0.6s ease;
}

.CUSTOM_TEXT .banners-img-with-text-list__item:hover .banners-img-with-text-list__item-image {
	filter: grayscale(0.35) contrast(1.05);
}

.CUSTOM_TEXT .banners-img-with-text-list__item-text {
	bottom: 22px !important;
	left: 16px;
	margin: 0 !important;
	right: 16px;
	z-index: 2;
}

.CUSTOM_TEXT .banners-img-with-text-list__item-top-text {
	color: #fff !important;
	font-weight: 600;
	opacity: 1;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.CUSTOM_TEXT .banners-img-with-text-list__item-title {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

/* Company advantages: four photo cards instead of tall alternating rows. */
@media (min-width: 992px) {
	.COMPANY_TEXT .tizers-list > .grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.COMPANY_TEXT .tizers-list__item {
	border-radius: var(--theme-outer-border-radius);
	display: block;
	min-height: 260px;
	overflow: hidden;
	position: relative;
}

.COMPANY_TEXT .tizers-list__item-image-wrapper {
	display: block;
	inset: 0;
	position: absolute;
}

.COMPANY_TEXT .tizers-list__item-image {
	filter: grayscale(0.35) contrast(1.03);
	inset: 0;
	transition: filter 0.25s ease, transform 0.6s ease;
}

.COMPANY_TEXT .tizers-list__item:hover .tizers-list__item-image {
	filter: grayscale(0) contrast(1.03);
	transform: scale(1.04);
}

.COMPANY_TEXT .tizers-list__item-image-wrapper::after {
	background:
		linear-gradient(135deg, rgba(241, 157, 0, 0.12), transparent 28%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.12) 28%, transparent 52%);
	content: "";
	inset: 0;
	position: absolute;
}

.COMPANY_TEXT .tizers-list__item-text-wrapper {
	background: transparent !important;
	color: #fff;
	height: auto;
	inset: 0;
	position: absolute;
	z-index: 2;
}

.COMPANY_TEXT .tizers-list__item-text-wrapper > .p {
	backdrop-filter: none;
	background: transparent;
	border-left: 3px solid var(--theme-base-color);
	border-radius: 0;
	bottom: 24px;
	height: auto !important;
	left: 24px;
	padding: 7px 0 7px 22px !important;
	position: absolute;
	right: 24px;
}

.COMPANY_TEXT .tizers-list__item-name {
	color: var(--theme-base-color) !important;
	flex: none !important;
	font-size: clamp(34px, 3vw, 46px);
	line-height: 1;
	margin-bottom: 8px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
}

.COMPANY_TEXT .tizers-list__item-descr {
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Keep homepage headings close to their card grids. */
.BRANDS .index-block__headings,
.PROJECTS .index-block__headings {
	margin-bottom: 16px !important;
}

.BRANDS .brands-list__item::after {
	background:
		linear-gradient(135deg, rgba(241, 157, 0, 0.28), transparent 44%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 72%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.BRANDS .brands-list__image-bg {
	aspect-ratio: 4 / 3;
	height: 320px !important;
	min-height: 0 !important;
}

.BRANDS .brands-list__content {
	bottom: 24px;
	left: 24px;
	pointer-events: none;
	right: 24px;
	z-index: 2;
}

.BRANDS .brands-list__image-wrapper {
	background: #fff;
	height: 62px;
	margin-bottom: 12px;
	overflow: hidden;
	padding: 4px 8px;
	position: static;
	width: 158px;
}

.BRANDS .brands-list__image {
	height: 54px;
	max-height: none;
	max-width: none;
	transform: scale(2.7);
	width: 142px;
}

.BRANDS .brands-list__description {
	line-height: 1.4;
	max-width: 420px;
}

.BRANDS .brands-list__item-link {
	z-index: 3;
}

@media (max-width: 991px) {
	.COMPANY_TEXT .tizers-list__item {
		min-height: 230px;
	}
}

@media (max-width: 600px) {
	.COMPANY_TEXT .tizers-list__item-image-wrapper {
		display: block !important;
	}

	.BRANDS .brands-list__image-bg {
		height: 300px !important;
	}

	.BRANDS .brands-list__content {
		bottom: 18px;
		left: 18px;
		right: 18px;
	}
}
