/* SEO-правки 2026-10-07: H1 с запросом над слоганом, слоган сохраняет вид прежнего заголовка */

.b-top .col-1 .info h1.b-top__seo-h1 {
	font-size: 18px;
	line-height: 26px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: none;
	color: #9a7b5f;
	margin: 0 0 18px;
	max-width: none;
}

.b-top .col-1 .info .b-top__title {
	font-size: 50px;
	line-height: 58px;
	font-weight: 600;
	color: #222222;
	margin-bottom: 28px;
	text-transform: uppercase;
}

@media all and (max-width: 1400px) {
	.b-top .col-1 .info .b-top__title {
		font-size: 50px;
		line-height: 62px;
	}
}

@media all and (max-width: 1000px) {
	.b-top .col-1 .info .b-top__title {
		font-size: 30px;
		line-height: 42px;
	}
	.b-top .col-1 .info h1.b-top__seo-h1 {
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 12px;
	}
}

@media all and (max-width: 425px) {
	.b-top .col-1 .info .b-top__title {
		max-width: 320px;
	}
}

/* H1 на страницах услуг без первого экрана */
.b-top-mini {
	padding: 40px 0 10px;
}
.b-top-mini__crumbs {
	margin-bottom: 16px;
}
.b-top-mini__h1 {
	font-size: 40px;
	line-height: 48px;
	font-weight: 600;
	color: #222222;
	text-transform: uppercase;
	margin: 0;
}
@media all and (max-width: 1000px) {
	.b-top-mini {
		padding: 24px 20px 0;
	}
	.b-top-mini__h1 {
		font-size: 28px;
		line-height: 36px;
	}
}

/* картинкам с атрибутами width/height сохраняем пропорции; любые правила темы сильнее */
:where(img) {
	height: auto;
}

/* страница 404 и поиск */
.b-404 {
	padding: 80px 0;
}
.b-404 h1 {
	font-size: 40px;
	line-height: 48px;
	font-weight: 600;
	color: #222222;
	margin-bottom: 20px;
}
.b-404 p {
	font-size: 18px;
	line-height: 28px;
	margin-bottom: 24px;
}
.b-404__links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px 24px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.b-404__links a {
	color: #222222;
	font-size: 18px;
	text-decoration: underline;
	text-decoration-color: #cbab8d;
	text-underline-offset: 4px;
}
.b-404__search {
	display: flex;
	gap: 12px;
	max-width: 520px;
	margin-bottom: 32px;
}
.b-404__search input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #cbab8d;
	font-size: 16px;
}
.b-404__search button {
	padding: 12px 24px;
	background: #cbab8d;
	color: #ffffff;
	border: 0;
	font-size: 16px;
	cursor: pointer;
}
.b-404__results {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.b-404__results li {
	margin-bottom: 16px;
}
.b-404__results a {
	font-size: 20px;
	color: #222222;
}
@media all and (max-width: 1000px) {
	.b-404 {
		padding: 40px 20px;
	}
	.b-404 h1 {
		font-size: 28px;
		line-height: 36px;
	}
}
