/* Полоса преимуществ под слайдером — отдельный файл для сброса кэша (не зависит от custom.css) */

/* Убираем верхний padding .intro на главной — слайдер выравнивается по верхнему краю сайдбара */
.page-homepage .intro {
	padding-top: 0;
}

.intro .home-benefits-bar {
	margin-top: 1.2rem;
}

.home-benefits-bar {
	margin: 0 0 2.4rem;
	padding: 0;
}

.home-benefits-bar .home-benefits-bar__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 0 0 12px 12px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(161, 181, 215, 0.12);
}

@media (max-width: 991.98px) {
	.home-benefits-bar .home-benefits-bar__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-radius: 0 0 8px 8px;
	}
}

@media (max-width: 575.98px) {
	.home-benefits-bar .home-benefits-bar__grid {
		grid-template-columns: 1fr;
	}
}

.home-benefits-bar .home-benefits-bar__cell {
	text-align: center;
	padding: 2rem 1.6rem;
	border-right: 1px solid #e6eef5;
	border-bottom: 1px solid #e6eef5;
}

@media (min-width: 992px) {
	.home-benefits-bar .home-benefits-bar__cell {
		border-bottom: none;
	}

	.home-benefits-bar .home-benefits-bar__cell:last-child {
		border-right: none;
	}
}

@media (max-width: 991.98px) {
	.home-benefits-bar .home-benefits-bar__cell:nth-child(2n) {
		border-right: none;
	}

	.home-benefits-bar .home-benefits-bar__cell:nth-last-child(-n + 2) {
		border-bottom: none;
	}
}

@media (max-width: 575.98px) {
	.home-benefits-bar .home-benefits-bar__cell {
		border-right: none;
	}

	.home-benefits-bar .home-benefits-bar__cell:last-child {
		border-bottom: none;
	}
}

.home-benefits-bar .home-benefits-bar__title {
	display: inline-block;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.25;
	color: #2c3e50;
	margin: 0 0 0.6rem;
}

@media (max-width: 991.98px) {
	.home-benefits-bar .home-benefits-bar__title {
		font-size: 1.5rem;
	}
}

.home-benefits-bar .home-benefits-bar__text {
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.4;
	color: #7a8a9a;
	font-weight: 400;
}

@media (max-width: 991.98px) {
	.home-benefits-bar .home-benefits-bar__text {
		font-size: 1.2rem;
	}
}

/* ============================================================
   Блок "Что входит в установку септика под ключ"
   ============================================================ */

/* Обёртка подтягивает блок вверх — убирает лишний зазор после каталога */
.install-steps-wrap {
	margin-top: -3rem;
	padding-top: 0;
}

@media (max-width: 991.98px) {
	.install-steps-wrap {
		margin-top: -2rem;
	}
}

@media (max-width: 575.98px) {
	.install-steps-wrap {
		margin-top: -1rem;
	}
}

/* Вся секция — единая карточка */
.install-steps {
	margin: 0 0 2.4rem;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(161, 181, 215, 0.12);
}

.install-steps__header {
	padding: 2.4rem 2.4rem 1.6rem;
	border-bottom: 1px solid #e6eef5;
}

.install-steps__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 0.6rem;
	line-height: 1.3;
}

.install-steps__desc {
	font-size: 1.4rem;
	color: #4a5568;
	line-height: 1.6;
	margin: 0;
}

.install-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.install-steps__cell {
	padding: 1.8rem 1.6rem 1.6rem;
	border-right: 1px solid #e6eef5;
	border-bottom: 1px solid #e6eef5;
}

.install-steps__cell::before {
	content: '✔';
	display: block;
	font-size: 1.3rem;
	color: var(--theme-primary-color, #2980b9);
	margin-bottom: 0.6rem;
	line-height: 1;
}

.install-steps__cell:nth-child(4n) {
	border-right: none;
}

.install-steps__cell:nth-last-child(-n+4) {
	border-bottom: none;
}

.install-steps__name {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 0.4rem;
	line-height: 1.3;
}

.install-steps__text {
	font-size: 1.3rem;
	color: #4a5568;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 991.98px) {
	.install-steps__heading {
		font-size: 1.8rem;
	}

	.install-steps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.install-steps__cell:nth-child(4n) {
		border-right: 1px solid #e6eef5;
	}

	.install-steps__cell:nth-last-child(-n+4) {
		border-bottom: 1px solid #e6eef5;
	}

	.install-steps__cell:nth-child(2n) {
		border-right: none;
	}

	.install-steps__cell:nth-last-child(-n+2) {
		border-bottom: none;
	}
}

@media (max-width: 575.98px) {
	.install-steps__heading {
		font-size: 1.6rem;
	}

	.install-steps__header {
		padding: 1.6rem 1.6rem 1.2rem;
	}

	.install-steps__grid {
		grid-template-columns: 1fr;
	}

	.install-steps__cell {
		border-right: none;
	}

	.install-steps__cell:nth-child(2n) {
		border-right: none;
	}

	.install-steps__cell:nth-last-child(-n+2) {
		border-bottom: 1px solid #e6eef5;
	}

	.install-steps__cell:last-child {
		border-bottom: none;
	}
}

/* ============================================================
   Блок "Этапы монтажа септика"
   ============================================================ */

.work-stages {
	margin: 0 0 2.4rem;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(161, 181, 215, 0.12);
}

.work-stages__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #2c3e50;
	margin: 0;
	padding: 2.4rem 2.4rem 1.6rem;
	border-bottom: 1px solid #e6eef5;
	line-height: 1.3;
}

.work-stages__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-stages__cell {
	padding: 2rem 2rem 2rem;
	border-right: 1px solid #e6eef5;
}

.work-stages__cell:last-child {
	border-right: none;
}

.work-stages__name {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.work-stages__text {
	font-size: 1.4rem;
	color: #4a5568;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 767.98px) {
	.work-stages__heading {
		font-size: 1.8rem;
		padding: 1.8rem 1.8rem 1.4rem;
	}

	.work-stages__grid {
		grid-template-columns: 1fr;
	}

	.work-stages__cell {
		border-right: none;
		border-bottom: 1px solid #e6eef5;
		padding: 1.6rem;
	}

	.work-stages__cell:last-child {
		border-bottom: none;
	}
}

/* ============================================================
   Блок "Как заказать септик под ключ"
   ============================================================ */

.order-steps-wrap {
	margin-top: 0;
	padding-top: 0;
}

.order-steps {
	margin: 0 0 2.4rem;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(161, 181, 215, 0.12);
}

.order-steps__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #2c3e50;
	margin: 0;
	padding: 2.4rem 2.4rem 1.6rem;
	border-bottom: 1px solid #e6eef5;
	line-height: 1.3;
}

.order-steps__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.order-steps__cell {
	padding: 2rem 1.6rem;
	border-right: 1px solid #e6eef5;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
}

.order-steps__cell:last-child {
	border-right: none;
}

.order-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: var(--theme-primary-color, #2980b9);
	color: #fff;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.order-steps__name {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #2c3e50;
	line-height: 1.3;
}

.order-steps__text {
	font-size: 1.3rem;
	color: #4a5568;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 991.98px) {
	.order-steps__heading {
		font-size: 1.8rem;
	}

	.order-steps__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.order-steps__cell:nth-child(3) {
		border-right: none;
	}

	.order-steps__cell:nth-child(n+4) {
		border-top: 1px solid #e6eef5;
	}

	.order-steps__cell:last-child {
		border-right: none;
	}
}

@media (max-width: 575.98px) {
	.order-steps__heading {
		font-size: 1.6rem;
		padding: 1.6rem 1.6rem 1.2rem;
	}

	.order-steps__grid {
		grid-template-columns: 1fr 1fr;
	}

	.order-steps__cell {
		border-top: 1px solid #e6eef5;
	}

	.order-steps__cell:nth-child(1),
	.order-steps__cell:nth-child(2) {
		border-top: none;
	}

	.order-steps__cell:nth-child(2n) {
		border-right: none;
	}

	.order-steps__cell:nth-child(2n+1) {
		border-right: 1px solid #e6eef5;
	}
}

/* ============================================================
   Блок "Гарантии на монтаж и оборудование"
   ============================================================ */

.warranty {
	margin: 0 0 2.4rem;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(161, 181, 215, 0.12);
}

.warranty__header {
	padding: 2.4rem 2.4rem 1.6rem;
	border-bottom: 1px solid #e6eef5;
}

.warranty__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 0.6rem;
	line-height: 1.3;
}

.warranty__desc {
	font-size: 1.4rem;
	color: #4a5568;
	line-height: 1.6;
	margin: 0;
}

.warranty__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.warranty__cell {
	padding: 2.4rem 2rem;
	border-right: 1px solid #e6eef5;
	text-align: center;
}

.warranty__cell:last-child {
	border-right: none;
}

.warranty__value {
	display: block;
	font-size: 2.8rem;
	font-weight: 700;
	color: #2c3e50;
	line-height: 1.2;
	margin-bottom: 0.8rem;
}

.warranty__text {
	font-size: 1.4rem;
	color: #4a5568;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 767.98px) {
	.warranty__heading {
		font-size: 1.8rem;
	}

	.warranty__header {
		padding: 1.8rem 1.8rem 1.4rem;
	}

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

	.warranty__cell {
		border-right: none;
		border-bottom: 1px solid #e6eef5;
		padding: 1.6rem;
	}

	.warranty__cell:last-child {
		border-bottom: none;
	}

	.warranty__value {
		font-size: 2.4rem;
	}
}
