/* CleanRating: unified footer (cards + link columns + bottom card). Brand #4a72ff, ink #000b2f. */
footer.cr-foot {
	display: block;
	margin: 0;
	padding: 0;
	background: #f1f4fb;
	color: #000b2f;
	font-family: "gilroy", sans-serif;
	position: relative;
	z-index: 1;
}
footer.cr-foot .container {
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* link columns */
.cr-foot__cols {
	padding: 8px 0 36px;
}
.cr-foot__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}
.cr-foot__h {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	color: #000b2f;
}
.cr-foot__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cr-foot__col li {
	margin: 0 0 10px;
	padding: 0;
}
.cr-foot__col a {
	color: #6b7694;
	font-size: 15px;
	line-height: 22px;
	text-decoration: none;
	transition: color 0.15s ease;
}
.cr-foot__col a:hover,
.cr-foot__col a:focus-visible {
	color: #4a72ff;
}
.cr-foot__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #000b2f;
	font-size: 16px;
	font-weight: 500;
}
.cr-foot__contacts svg {
	flex: none;
}
.cr-foot__city {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 20px;
	color: #6b7694;
}
.cr-foot__city strong {
	color: #000b2f;
	font-weight: 600;
}

/* bottom card */
.cr-foot__bar {
	padding: 0 0 28px;
}
.cr-foot__card {
	display: flex;
	align-items: center;
	gap: 32px;
	box-sizing: border-box;
	padding: 28px 32px;
	border-radius: 20px;
	background: #fff;
}
.cr-foot__brand {
	flex: none;
	display: flex;
	align-items: center;
	gap: 16px;
}
.cr-foot__logo {
	display: inline-flex;
	align-items: baseline;
	font-size: 26px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}
.cr-foot__logo-a {
	color: #4a72ff;
}
.cr-foot__logo-b {
	color: #000b2f;
}
.cr-foot__tag {
	max-width: 150px;
	padding-left: 16px;
	border-left: 1px solid #dfe5f5;
	font-size: 12px;
	line-height: 16px;
	color: #3a4466;
}
.cr-foot__note {
	flex: 1 1 auto;
	margin: 0;
	font-size: 13px;
	line-height: 20px;
	color: #8a94b0;
}
.cr-foot__up {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1.5px solid #cdd5ea;
	border-radius: 14px;
	background: #fff;
	color: #000b2f;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cr-foot__up:hover,
.cr-foot__up:focus-visible {
	background: #4a72ff;
	border-color: #4a72ff;
	color: #fff;
}
.cr-foot__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 18px 8px 0;
	font-size: 13px;
	line-height: 18px;
	color: #8a94b0;
}
.cr-foot__legal a {
	color: #8a94b0;
	text-decoration: none;
}
.cr-foot__legal a:hover {
	color: #4a72ff;
}

/* tablet */
@media (max-width: 1100px) {
	.cr-foot__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}
	.cr-foot__card {
		flex-wrap: wrap;
		gap: 20px;
	}
	.cr-foot__note {
		order: 3;
		flex-basis: 100%;
	}
	.cr-foot__up {
		margin-left: auto;
	}
}

/* phone */
@media (max-width: 680px) {
	footer.cr-foot .container {
		padding-left: 16px;
		padding-right: 16px;
	}
	.cr-foot__cols {
		padding-bottom: 24px;
	}
	.cr-foot__grid {
		gap: 24px 16px;
	}
	.cr-foot__h {
		margin-bottom: 12px;
		font-size: 16px;
	}
	.cr-foot__col a {
		font-size: 14px;
	}
	.cr-foot__col--contacts {
		grid-column: 1 / -1;
	}
	.cr-foot__card {
		padding: 20px;
		border-radius: 18px;
	}
	.cr-foot__brand {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.cr-foot__tag {
		max-width: none;
		padding-left: 0;
		border-left: 0;
	}
	.cr-foot__logo {
		font-size: 22px;
	}
	.cr-foot__up {
		width: 48px;
		height: 48px;
	}
}

/* HTML site map page */
.cr-sitemap h2 {
	margin: 32px 0 12px;
}
.cr-sitemap h3 {
	margin: 20px 0 8px;
}
.cr-sitemap ul {
	margin: 0 0 8px;
	padding-left: 20px;
}
.cr-sitemap li {
	margin: 4px 0;
}
.cr-sitemap__cols {
	columns: 3 240px;
	column-gap: 32px;
}

/* reset against legacy footer/ul/li/.container rules (parent theme) */
footer.cr-foot { text-align: left; }
footer.cr-foot .container { display: block; width: 100%; max-width: 1200px; padding-left: 16px; padding-right: 16px; }
footer.cr-foot .cr-foot__col { display: block; width: auto; max-width: none; float: none; padding: 0; margin: 0; text-align: left; }
footer.cr-foot .cr-foot__col ul { display: block; flex-direction: initial; width: auto; margin: 0; padding: 0; list-style: none; }
footer.cr-foot .cr-foot__col li { display: block; float: none; width: auto; margin: 0 0 10px; padding: 0; text-align: left; }
footer.cr-foot .cr-foot__col li a { display: inline; float: none; text-align: left; }
footer.cr-foot .cr-foot__contacts li a { display: inline-flex; }
footer.cr-foot .cr-foot__card { width: 100%; }
footer.cr-foot .cr-foot__legal { width: 100%; box-sizing: border-box; }
footer.cr-foot .cr-foot__legal a, footer.cr-foot .cr-foot__legal span { display: inline; width: auto; }
footer.cr-foot .cr-foot__h { text-align: left; }
body.cr-foot-seen #backtotop { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.cr-sitemap { max-width: 1200px; margin: 0 auto; padding: 24px 16px 56px; box-sizing: border-box; }
/* three columns now (services, information, contacts) */
@media (min-width: 1101px) {
	.cr-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* same frame as header and page blocks: max 1600, 20px side padding */
footer.cr-foot .container { max-width: 1600px; padding-left: 20px; padding-right: 20px; }
@media (max-width: 680px) {
	footer.cr-foot .container { padding-left: 16px; padding-right: 16px; }
}
/* two cards only (no Telegram yet): on tablet the help card takes the whole row, no empty half */
@media (max-width: 1100px) and (min-width: 681px) {
	.cr-prefooter--two .cr-prefooter__card--help { grid-column: 1 / -1; }
}