.country-houses-page .ch-hero-placeholder,
.country-houses-page .ch-production-placeholder,
.country-houses-page .ch-photo-placeholder,
.country-houses-page .ch-project-placeholder {
	background:
		linear-gradient(135deg, rgba(14, 70, 50, 0.92), rgba(32, 110, 78, 0.72)),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 10px, transparent 10px 20px);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.country-houses-page .ch-hero-placeholder {
	min-height: 460px;
	border-radius: 28px;
}

.country-houses-page .ch-hero-placeholder::after {
	display: none;
}

.country-houses-page .ch-hero-placeholder > div,
.country-houses-page .ch-production-placeholder > div {
	display: grid;
	gap: 8px;
	padding: 28px;
}

.country-houses-page .ch-hero-placeholder strong,
.country-houses-page .ch-production-placeholder strong {
	font-size: clamp(24px, 3vw, 42px);
	line-height: 1.1;
}

.country-houses-page .ch-hero-placeholder span,
.country-houses-page .ch-production-placeholder span {
	font-size: 15px;
	opacity: 0.82;
}

.country-houses-page .ch-products {
	padding-top: 84px;
	padding-bottom: 84px;
}

.country-houses-page .ch-section-tint {
	background: #f3f7f4;
}

.country-houses-page .ch-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.country-houses-page .ch-product-grid--four {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.country-houses-page .ch-product-card {
	background: #fff;
	border: 1px solid rgba(15, 58, 43, 0.12);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 18px 45px rgba(14, 54, 40, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.country-houses-page .ch-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 55px rgba(14, 54, 40, 0.14);
}

.country-houses-page .ch-product-gallery {
	position: relative;
	min-height: 230px;
	background: #e8efea;
	overflow: hidden;
}

.country-houses-page .ch-product-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.015);
	transition: opacity 0.35s ease, transform 0.45s ease, visibility 0.35s ease;
}

.country-houses-page .ch-product-image.is-active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.country-houses-page .ch-product-image.is-plan {
	object-fit: contain;
	padding: 16px;
	background: #fff;
}

.country-houses-page .ch-product-card:hover .ch-product-image.is-active {
	transform: scale(1.025);
}

.country-houses-page .ch-product-card:hover .ch-product-image.is-plan {
	transform: none;
}

.country-houses-page .ch-photo-placeholder {
	position: absolute;
	inset: 0;
	flex-direction: column;
	gap: 7px;
	background:
		linear-gradient(135deg, rgba(22, 91, 65, 0.84), rgba(99, 148, 112, 0.7)),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 9px, transparent 9px 18px);
}

.country-houses-page .ch-photo-placeholder--bath {
	background:
		linear-gradient(135deg, rgba(88, 57, 37, 0.88), rgba(154, 104, 58, 0.72)),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 9px, transparent 9px 18px);
}

.country-houses-page .ch-photo-placeholder strong {
	font-size: 24px;
}

.country-houses-page .ch-photo-placeholder span {
	font-size: 13px;
	opacity: 0.85;
}

.country-houses-page .ch-gallery-dots {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	display: flex;
	gap: 7px;
	z-index: 4;
}

.country-houses-page .ch-gallery-dots button {
	display: block;
	width: 10px;
	height: 10px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	background: rgba(20, 43, 36, 0.38);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.country-houses-page .ch-gallery-dots button.is-active {
	width: 24px;
	border-radius: 10px;
	background: #ffffff;
}

.country-houses-page .ch-gallery-arrow {
	position: absolute;
	z-index: 4;
	top: 50%;
	width: 38px;
	height: 38px;
	padding: 0 0 3px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	color: #173c2e;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	font-size: 29px;
	line-height: 1;
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity 0.2s ease, background 0.2s ease;
}

.country-houses-page .ch-gallery-arrow--prev {
	left: 12px;
}

.country-houses-page .ch-gallery-arrow--next {
	right: 12px;
}

.country-houses-page .ch-product-gallery:hover .ch-gallery-arrow,
.country-houses-page .ch-product-gallery:focus-within .ch-gallery-arrow {
	opacity: 1;
}

.country-houses-page .ch-gallery-arrow:hover {
	background: #fff;
}

.country-houses-page .ch-gallery-arrow:focus-visible,
.country-houses-page .ch-gallery-dots button:focus-visible {
	outline: 3px solid #45b542;
	outline-offset: 2px;
}

.country-houses-page .ch-product-card__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.country-houses-page .ch-product-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.country-houses-page .ch-product-card__meta span {
	background: #eef5f0;
	border-radius: 999px;
	color: #235f47;
	font-size: 13px;
	font-weight: 700;
	padding: 7px 11px;
}

.country-houses-page .ch-product-card h3 {
	font-size: 25px;
	line-height: 1.2;
	margin: 0 0 12px;
}

.country-houses-page .ch-product-card__body > p {
	color: #5c6861;
	line-height: 1.6;
	margin: 0 0 22px;
}

.country-houses-page .ch-product-card__footer {
	border-top: 1px solid rgba(15, 58, 43, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	padding-top: 18px;
}

.country-houses-page .ch-product-card__footer strong {
	font-size: 15px;
}

.country-houses-page .ch-bath-selection {
	margin-top: 0;
	padding: 80px 0;
}

.country-houses-page .ch-quiz-choices .ms-quiz-choice {
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: #dce7df;
	border: 1px solid rgba(15, 58, 43, 0.14);
}

.country-houses-page .ch-quiz-choices .ms-quiz-choice::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(10, 31, 23, 0.02) 28%, rgba(10, 31, 23, 0.84) 100%);
	content: '';
}

.country-houses-page .ch-quiz-choices .ms-quiz-choice img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.country-houses-page .ch-quiz-choices .ms-quiz-choice:hover img {
	transform: scale(1.035);
}

.country-houses-page .ch-quiz-choices .ms-quiz-choice span {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 20px;
	z-index: 2;
	background: none;
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	padding: 0;
	text-align: left;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.metal-stairs-page.country-houses-page .ms-quiz {
	color: #17231f;
	background: #eef0ef;
	border-top: 1px solid rgba(23, 60, 46, 0.08);
	border-bottom: 1px solid rgba(23, 60, 46, 0.08);
}

.metal-stairs-page.country-houses-page .ms-quiz:not(.ms-quiz--repeat) .ms-quiz__copy :is(h2, h3.ms-subheading) {
	color: #17231f;
}

.metal-stairs-page.country-houses-page .ms-quiz__copy > p:not(.ms-kicker) {
	color: #5f6b65;
}

.country-houses-page .ch-production-placeholder {
	min-height: 470px;
	border-radius: 28px;
}

.country-houses-page .ch-production-placeholder::before {
	display: none;
}

.country-houses-page .ch-hero-photo,
.country-houses-page .ch-production-photo {
	overflow: hidden;
}

.country-houses-page .ch-production-photo {
	position: relative;
	height: 440px;
	min-height: 440px;
	border-radius: 24px;
	background: #dce8e0;
	box-shadow: 0 24px 45px rgba(14, 54, 40, 0.18);
}

.country-houses-page .ch-production-photo::before {
	display: none;
}

.country-houses-page .ch-hero-photo img,
.country-houses-page .ch-production-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.country-houses-page .ch-production-photo img {
	position: absolute;
	inset: 0;
	filter: none;
}

.metal-stairs-page.country-houses-page .ms-production__list li::before {
	top: 16px;
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 0;
	color: #fff;
	background: none;
	content: '✓';
	font-size: 17px;
	font-weight: 900;
	line-height: 1;
}

.country-houses-page .ch-project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 240px;
	gap: 18px;
}

.country-houses-page .ch-project-placeholder {
	border-radius: 18px;
	flex-direction: column;
	gap: 7px;
}

.country-houses-page .ch-project-placeholder:nth-child(2n) {
	background:
		linear-gradient(135deg, rgba(92, 62, 38, 0.88), rgba(163, 117, 73, 0.72)),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 9px, transparent 9px 18px);
}

.country-houses-page .ch-project-placeholder strong {
	font-size: 22px;
}

.country-houses-page .ch-project-placeholder span {
	font-size: 13px;
	opacity: 0.82;
}

.country-houses-page .ch-project-image {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #dce8e0;
}

.country-houses-page .ch-project-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.country-houses-page .ch-project-image:hover img {
	transform: scale(1.025);
}

.country-houses-page .ch-consultation {
	min-height: 560px;
	background-color: #ecefed;
	background-image:
		linear-gradient(90deg, rgba(236, 239, 237, 0.02) 0%, rgba(236, 239, 237, 0.06) 48%, rgba(236, 239, 237, 0.48) 68%, rgba(236, 239, 237, 0.82) 87%, rgba(236, 239, 237, 0.88) 100%),
		url('../img/country-houses/project-04.webp');
	background-position: center;
	background-size: cover;
}

.country-houses-page .ch-consultation .ms-team__inner {
	min-height: 410px;
}

.country-houses-page .ch-construction-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.country-houses-page .ch-construction-grid article {
	background: #f3f7f4;
	border: 1px solid rgba(15, 58, 43, 0.1);
	border-radius: 22px;
	padding: 32px;
}

.country-houses-page .ch-construction-grid h3 {
	font-size: 26px;
	line-height: 1.25;
	margin: 9px 0 18px;
}

.country-houses-page .ch-construction-grid ul {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.country-houses-page .ch-construction-grid li {
	color: #4f6057;
	line-height: 1.55;
	padding-left: 24px;
	position: relative;
}

.country-houses-page .ch-construction-grid li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #38a568;
}

.country-houses-page .ms-install {
	padding: 72px 0;
	border-top: 1px solid rgba(23, 60, 46, 0.08);
	border-bottom: 1px solid rgba(23, 60, 46, 0.08);
	background: #f2f3f1;
}

.country-houses-page .ms-install__card {
	border: 1px solid rgba(23, 60, 46, 0.1);
	box-shadow: 0 18px 45px rgba(23, 60, 46, 0.08);
}

.country-houses-page .ch-special-points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.country-houses-page .ch-special-points span {
	padding: 8px 12px;
	border: 1px solid rgba(23, 60, 46, 0.12);
	border-radius: 999px;
	color: #385348;
	background: rgba(255, 255, 255, 0.7);
	font-size: 12px;
	font-weight: 700;
}

.country-houses-page .ms-process {
	padding-top: 72px;
	padding-bottom: 56px;
}

.country-houses-page .ms-step {
	min-height: 230px;
	padding: 22px 20px;
}

.country-houses-page .ms-step h3 {
	margin-top: 28px;
}

.country-houses-page .ms-step .ms-step__number {
	background: #4bad43;
}

.metal-stairs-page.country-houses-page .ms-step::after {
	right: 18px;
	bottom: -5px;
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	background: none;
	color: rgba(75, 173, 67, 0.1);
	content: '✓';
	font-size: 82px;
	font-weight: 900;
	line-height: 1;
}

.country-houses-page .ch-product-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(15, 58, 43, 0.1);
}

.country-houses-page .ch-product-price span {
	color: #68766f;
	font-size: 13px;
}

.country-houses-page .ch-product-price strong {
	font-size: 23px;
	color: #173c2e;
}

.country-houses-page .ch-presentation-button {
	margin-top: 16px;
	padding: 15px 18px;
	font-size: 13px;
	line-height: 1.25;
	text-align: center;
}

.country-houses-page .ch-packages,
.country-houses-page .ch-module,
.country-houses-page .ch-lifestyle {
	background: #f3f7f4;
}

.country-houses-page .ch-package-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.country-houses-page .ch-package-card {
	overflow: hidden;
	border: 1px solid rgba(15, 58, 43, 0.12);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(22, 60, 47, 0.08);
}

.country-houses-page .ch-package-card img {
	display: block;
	width: 100%;
	height: 310px;
	object-fit: cover;
}

.country-houses-page .ch-package-card > div {
	padding: 30px;
}

.country-houses-page .ch-package-card h3 {
	margin: 8px 0 12px;
	font-size: 30px;
}

.country-houses-page .ch-package-card p:last-child {
	color: #52635b;
	line-height: 1.65;
}

.country-houses-page .ch-options__grid,
.country-houses-page .ch-lifestyle__grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 64px;
	align-items: center;
}

.country-houses-page .ch-options__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.country-houses-page .ch-options__list span {
	position: relative;
	min-height: 72px;
	display: flex;
	align-items: center;
	padding: 16px 18px 16px 50px;
	border: 1px solid rgba(15, 58, 43, 0.12);
	border-radius: 16px;
	background: #fff;
	font-weight: 700;
}

.country-houses-page .ch-options__list span::before {
	content: '✓';
	position: absolute;
	left: 17px;
	top: 50%;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #4bad43;
	color: #fff;
	line-height: 24px;
	text-align: center;
	transform: translateY(-50%);
}

.country-houses-page .ch-quiz-step,
.country-houses-page .ch-quiz-result {
	display: none;
}

.country-houses-page .ch-quiz-step.is-active,
.country-houses-page .ch-quiz-result.is-active {
	display: block;
}

.country-houses-page .ch-quiz__panel {
	min-height: 370px;
}

.country-houses-page .ch-quiz-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.country-houses-page .ch-quiz-options button,
.country-houses-page .ch-messengers button {
	min-height: 84px;
	padding: 16px;
	border: 1px solid #cdd9d3;
	border-radius: 14px;
	background: #f7faf8;
	color: #173c2e;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.country-houses-page .ch-quiz-options button:hover,
.country-houses-page .ch-quiz-options button.is-selected,
.country-houses-page .ch-messengers button.is-selected {
	border-color: #4bad43;
	background: #4bad43;
	color: #fff;
}

.country-houses-page .ms-quiz__progress {
	position: relative;
	overflow: hidden;
}

.country-houses-page .ms-quiz__progress i {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 4px;
	background: #4bad43;
	transition: width .25s ease;
}

.country-houses-page .ch-quiz-city {
	display: grid;
	gap: 8px;
	margin: 20px 0 14px;
	font-weight: 700;
}

.country-houses-page .ch-quiz-city input {
	width: 100%;
	padding: 16px 18px;
	border: 1px solid #cdd9d3;
	border-radius: 12px;
	font: inherit;
}

.country-houses-page .ch-quiz-error {
	display: none;
	margin: 8px 0 0;
	color: #b53d2f;
	font-size: 13px;
}

.country-houses-page .ch-quiz-error.is-visible { display: block; }

.country-houses-page .ch-messengers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 20px 0;
}

.country-houses-page .ch-messengers button { min-height: 52px; }
.country-houses-page .ch-quiz-submit { display: inline-flex; }
.country-houses-page .ch-quiz-back { margin-left: 15px; border: 0; background: none; color: #527063; text-decoration: underline; cursor: pointer; }

.country-houses-page .ch-module-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.country-houses-page .ch-module-grid article {
	min-height: 250px;
	padding: 24px 20px;
	border: 1px solid rgba(15, 58, 43, 0.12);
	border-radius: 20px;
	background: #fff;
}

.country-houses-page .ch-module-grid article > span {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #4bad43;
	color: #fff;
	font-weight: 900;
}

.country-houses-page .ch-module-grid h3 { margin: 30px 0 12px; font-size: 20px; }
.country-houses-page .ch-module-grid p { color: #5c6c64; line-height: 1.55; font-size: 14px; }

.country-houses-page .ch-lifestyle__media img {
	display: block;
	width: 100%;
	height: 520px;
	object-fit: cover;
	border-radius: 24px;
}

.country-houses-page .ch-lifestyle h2,
.country-houses-page .ch-no-build h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.04; }
.country-houses-page .ch-lifestyle p,
.country-houses-page .ch-no-build p { color: #53645b; line-height: 1.7; }
.country-houses-page .ch-lifestyle ul { display: grid; gap: 10px; margin: 22px 0 28px; padding-left: 22px; }

.country-houses-page .ch-no-build { background: #e9eeeb; }
.country-houses-page .ch-no-build__inner { max-width: 1100px; text-align: center; }
.country-houses-page .ch-no-build__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.country-houses-page .ch-no-build__facts span { padding: 24px; border-radius: 18px; background: #fff; color: #53645b; }
.country-houses-page .ch-no-build__facts strong { display: block; margin-bottom: 6px; color: #173c2e; font-size: 20px; }

@media (max-width: 1024px) {
	.country-houses-page .ch-product-grid,
	.country-houses-page .ch-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.country-houses-page .ch-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.country-houses-page .ch-options__grid,
	.country-houses-page .ch-lifestyle__grid { gap: 34px; }

}

@media (max-width: 720px) {
	.country-houses-page .ch-hero-placeholder,
	.country-houses-page .ch-production-placeholder {
		min-height: 320px;
	}

	.country-houses-page .ch-products {
		padding-top: 58px;
		padding-bottom: 58px;
	}

	.country-houses-page .ch-product-grid,
	.country-houses-page .ch-project-grid,
	.country-houses-page .ch-construction-grid,
	.country-houses-page .ch-package-grid,
	.country-houses-page .ch-options__grid,
	.country-houses-page .ch-lifestyle__grid,
	.country-houses-page .ch-no-build__facts {
		grid-template-columns: 1fr;
	}

	.country-houses-page .ch-options__list,
	.country-houses-page .ch-module-grid,
	.country-houses-page .ch-quiz-options,
	.country-houses-page .ch-messengers { grid-template-columns: 1fr; }

	.country-houses-page .ch-package-card img { height: 240px; }
	.country-houses-page .ch-module-grid article { min-height: 0; }
	.country-houses-page .ch-lifestyle__media img { height: 320px; }
	.country-houses-page .ch-quiz__panel { min-height: 420px; }
	.country-houses-page .ch-quiz-options button { min-height: 58px; }
	.country-houses-page .ch-quiz-submit { width: 100%; justify-content: center; }
	.country-houses-page .ch-quiz-back { display: block; margin: 16px auto 0; }

	.country-houses-page .ch-quiz-choices .ms-quiz-choice {
		min-height: 210px;
	}

	.metal-stairs-page.country-houses-page .ms-quiz {
		padding-bottom: 0;
	}

	.country-houses-page .ch-production-photo {
		height: 300px;
		min-height: 300px;
	}

	.metal-stairs-page.country-houses-page .ms-production {
		margin: 0;
		padding: 58px 0;
		border-top: 0;
	}

	.metal-stairs-page.country-houses-page .ms-production__grid {
		gap: 32px;
	}

	.metal-stairs-page.country-houses-page .ms-production__list {
		margin-bottom: 0;
	}

	.country-houses-page .ch-project-grid {
		grid-auto-rows: 210px;
	}

	.country-houses-page .ch-product-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.country-houses-page .ch-gallery-arrow {
		opacity: 1;
	}

	.country-houses-page .ch-consultation {
		min-height: 0;
		background-image: url('../img/country-houses/project-04.webp');
	}

	.country-houses-page .ch-consultation .ms-team__inner {
		min-height: 0;
	}

	.country-houses-page .ch-construction-grid article {
		padding: 26px;
	}

	.country-houses-page .ch-bath-selection {
		padding-top: 58px !important;
		padding-bottom: 72px !important;
	}

	.country-houses-page .ms-install {
		padding: 58px 0;
	}
}
