/*
 * CRHD — страница компании (макет «Компания — ЭкспертЧистоты», ПК и мобильная). Поверх cr-site-core.css, всё под `.crc-*`.
 * Брейкпоинты: ≥980 ПК, 760–979 планшет, <760 мобильная.
 */

.crc-page {
	background: #fff;
}

.crc-page .cab-bc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	color: var(--ink3);
}

.crc-page .cab-bc a {
	color: var(--ink2);
}

.crc-page .cab-bc > span:last-child {
	color: var(--ink);
}

.crc-hero {
	padding: 20px 0 32px;
	background: #f3f6fb;
}

.crc-card {
	margin-top: 20px;
	padding: 20px;
	background: #fff;
	border-radius: 20px;
}

@media (min-width: 760px) {
	.crc-card {
		padding: 28px;
	}
}

.crc-top {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 980px) {
	.crc-top {
		flex-direction: row;
		align-items: flex-start;
		gap: 28px;
	}
}

.crc-logo {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 16px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
	overflow: hidden;
	font-size: 36px;
	font-weight: 700;
	color: var(--blue);
}

.crc-logo img {
	width: 92%;
	height: 92%;
	object-fit: contain;
}

@media (min-width: 980px) {
	.crc-logo {
		width: 180px;
		height: 180px;
		border-radius: 20px;
	}
}

.crc-top__t {
	flex: 1;
	min-width: 0;
}

.crc-h1w {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.crc-page .crc-h1 {
	font-size: 30px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
	overflow-wrap: anywhere;
}

@media (min-width: 980px) {
	.crc-page .crc-h1 {
		font-size: 40px;
	}
}

.crc-ok {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 12px;
	border-radius: 15px;
	background: #e7f6ee;
	font-size: 13px;
	font-weight: 600;
	color: #1d7a4a;
}

.crc-page .crc-short {
	max-width: 68ch;
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink2);
	text-wrap: pretty;
}

.crc-places {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-top: 16px;
	font-size: 14px;
	color: var(--ink2);
}

.crc-page .crc-place {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border-radius: 10px;
	background: #f3f6fb;
	font-size: 14px;
	color: var(--ink);
}

.crc-place b {
	font-weight: 600;
	color: #2f56e0;
}

.crc-place i {
	font-style: normal;
	color: var(--ink3);
}

.crc-score {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px;
	border-radius: 16px;
	background: #f3f6fb;
}

@media (min-width: 980px) {
	.crc-score {
		flex: none;
		width: 224px;
	}
}

.crc-score__n {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.crc-score__n b {
	font-size: 40px;
	line-height: 1;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.02em;
}

.crc-score__n span {
	font-size: 14px;
	color: var(--ink2);
}

.crc-score__m {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.crc-lv {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 12px;
	background: #e8eeff;
	font-size: 13px;
	font-weight: 600;
	color: #2f56e0;
}

.crc-page .crc-rv {
	font-size: 14px;
	color: #2f56e0;
}

.crc-page .crc-how {
	font-size: 13px;
	color: var(--ink2);
}

/* контакты */

.crc-contacts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
}

@media (min-width: 760px) {
	.crc-contacts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.crc-contacts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.crc-c {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	padding: 18px;
	box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
}

.crc-c__l {
	font-size: 13px;
	color: var(--ink3);
}

.crc-page .crc-c__v {
	font-size: 16px;
	line-height: 1.4;
	color: var(--ink);
}

.crc-page .crc-c__s {
	font-size: 14px;
	color: var(--ink2);
}

.crc-open {
	font-size: 14px;
	font-weight: 600;
}

.crc-open.is-open {
	color: #1d7a4a;
}

.crc-open.is-closed {
	color: var(--ink2);
}

.crc-page .crc-site {
	font-size: 16px;
	font-weight: 600;
	color: #2f56e0;
	overflow-wrap: anywhere;
}

.crc-page .crc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 1.5px solid var(--line2);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, transform .12s ease-out;
}

.crc-page .crc-btn:active {
	transform: scale(.97);
}

.crc-page .crc-btn--main {
	border-color: var(--blue);
	background: var(--blue);
	color: #fff;
}

@media (hover: hover) and (pointer: fine) {
	.crc-page .crc-btn:hover {
		border-color: var(--blue);
	}
	.crc-page .crc-btn--main:hover {
		background: #3a62f0;
		color: #fff;
	}
}

.crc-page .crc-tel {
	width: 100%;
}

.crc-page .crc-cmp {
	width: 100%;
	margin-top: auto;
}

.crc-cmp[aria-pressed="true"] {
	border-color: var(--blue);
	color: #2f56e0;
}

.crc-msgs {
	display: flex;
	gap: 8px;
}

.crc-page .crc-msg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--line2);
	border-radius: 12px;
	background: #fff;
	transition: border-color .15s ease;
}

.crc-msg svg {
	width: 22px;
	height: 22px;
}

.crc-page .crc-msg--tg { color: #229ed9; }
.crc-page .crc-msg--wa { color: #25d366; }
.crc-page .crc-msg--max { color: #6b4cff; }
.crc-page .crc-msg--vk { color: #0077ff; }

@media (hover: hover) and (pointer: fine) {
	.crc-page .crc-msg:hover {
		border-color: var(--blue);
	}
}

.crc-claim {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 16px 18px;
	border-radius: 14px;
	background: #fff4e0;
}

.crc-claim b {
	display: block;
	font-size: 16px;
}

.crc-claim span {
	font-size: 14px;
	color: var(--ink2);
}

/* меню разделов */

.crc-nav {
	position: relative;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.crc-nav.is-fixed {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
}

.crc-nav__ph {
	display: block;
}

.crc-nav nav {
	display: flex;
	gap: 4px;
	height: 52px;
	overflow-x: auto;
	scrollbar-width: none;
}

.crc-nav nav::-webkit-scrollbar {
	display: none;
}

.crc-page .crc-nav a {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.crc-page .crc-nav a.is-on {
	color: #2f56e0;
}

.crc-nav a.is-on::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: -1px;
	height: 2px;
	background: #2f56e0;
}

/* разделы */

.crc-sec {
	padding-top: 48px;
	scroll-margin-top: 64px;
}

.crc-page .crc-sec h2,
.crc-page .crc-order h2 {
	font-size: clamp(26px, 1.2vw + 18px, 34px);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.015em;
}

.crc-sh {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
}

.crc-upd {
	font-size: 14px;
	color: var(--ink3);
}

.crc-prices {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 48px;
	margin-top: 20px;
}

@media (min-width: 760px) {
	.crc-prices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.crc-prices > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
}

.crc-prices b {
	font-weight: 700;
	white-space: nowrap;
}

.crc-page .crc-note {
	margin-top: 14px;
	font-size: 14px;
	color: var(--ink2);
}

.crc-page .crc-about {
	max-width: 62ch;
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
}

.crc-about p + p {
	margin-top: 12px;
}

.crc-page .crc-h3 {
	margin-top: 24px;
	font-size: 14px;
	font-weight: 600;
}

.crc-conds,
.crc-ben {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.crc-cond {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
}

.crc-cond--0 { background: #fff4e0; color: #8a5a00; }
.crc-cond--1 { background: #e7f6ee; color: #1d7a4a; }
.crc-cond--2 { background: #e8eeff; color: #2f56e0; }
.crc-cond--3 { background: #eef0f4; color: var(--ink); }

.crc-ben span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 6px 14px;
	border: 1.5px solid var(--line2);
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
}

.crc-ben i {
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--blue);
}

/* заказ */

.crc-order {
	padding-top: 40px;
}

.crc-order__in {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px;
	border-radius: 20px;
	background: #f3f6fb;
}

@media (min-width: 760px) {
	.crc-order__in {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 26px 28px;
	}
}

.crc-page .crc-order h2 {
	font-size: 22px;
}

.crc-page .crc-order p {
	max-width: 56ch;
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}

.crc-order__b {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

/* фото */

.crc-photos {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.crc-page .crc-ph {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	background: var(--soft);
	cursor: zoom-in;
}

.crc-ph img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.crc-ph__more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 11, 47, .5);
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

@media (min-width: 760px) {
	.crc-photos--4 {
		grid-template-columns: 2fr 1fr 1fr;
		grid-template-rows: 200px 200px;
	}
	.crc-photos--4 .crc-ph:nth-child(1) {
		grid-row: 1 / 3;
	}
	.crc-photos--4 .crc-ph:nth-child(4) {
		grid-column: 2 / 4;
	}
	.crc-photos--3 {
		grid-template-columns: 2fr 1fr;
		grid-template-rows: 200px 200px;
	}
	.crc-photos--3 .crc-ph:nth-child(1) {
		grid-row: 1 / 3;
	}
	.crc-photos--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 260px;
	}
	.crc-photos--1 {
		grid-auto-rows: 360px;
	}
}

@media (max-width: 759px) {
	.crc-photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 140px;
		gap: 8px;
	}
	.crc-photos .crc-ph:nth-child(1),
	.crc-photos .crc-ph:nth-child(4) {
		grid-column: 1 / 3;
	}
	.crc-photos .crc-ph:nth-child(1) {
		grid-row: span 2;
	}
}

.crc-lb {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 11, 47, .82);
	animation: crc-in .2s cubic-bezier(.23, 1, .32, 1);
}

.crc-lb[hidden] {
	display: none;
}

.crc-lb img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
}

.crc-lb__x,
.crc-page .crc-x {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 30px;
	line-height: 1;
	color: var(--ink);
	cursor: pointer;
}

.crc-lb__x {
	position: absolute;
	top: 12px;
	right: 12px;
	color: #fff;
}

@keyframes crc-in {
	from {
		opacity: 0;
		transform: scale(.96);
	}
}

/* акции */

.crc-promos {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 20px;
}

@media (min-width: 900px) {
	.crc-promos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.crc-promo {
	padding: 22px;
	border-radius: 20px;
}

.crc-promo--a { background: #fff4e0; }
.crc-promo--p { background: #e8eeff; }
.crc-promo--g { background: #e7f6ee; }

.crc-tag {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 12px;
	background: #fff;
	font-size: 12px;
	font-weight: 700;
}

.crc-promo--a .crc-tag { color: #8a5a00; }
.crc-promo--p .crc-tag { color: #2f56e0; }
.crc-promo--g .crc-tag { color: #1d7a4a; }

.crc-page .crc-promo h3 {
	margin-top: 12px;
	font-size: 21px;
	line-height: 1.25;
	font-weight: 700;
}

.crc-page .crc-promo p {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}

/* выезд */

.crc-geo {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 20px;
}

@media (min-width: 900px) {
	.crc-geo {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.crc-geo__c {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.crc-page .crc-geo__c h3 {
	font-size: 15px;
	font-weight: 700;
}

.crc-geo__l {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.crc-page .crc-geo__l a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	background: #f3f6fb;
	font-size: 14px;
	color: var(--ink);
	transition: background-color .15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.crc-page .crc-geo__l a:hover {
		background: #e8eeff;
	}
}

/* отзывы */

.crc-rev {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

@media (min-width: 900px) {
	.crc-rev {
		grid-template-columns: 320px minmax(0, 1fr);
		gap: 32px;
		align-items: start;
	}
}

.crc-rev__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.crc-page .crc-rev__c {
	font-size: 15px;
	color: var(--ink2);
}

.crc-plats {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 14px;
}

.crc-page .crc-pl {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	text-align: left;
	cursor: pointer;
}

.crc-plats > :last-child {
	border-bottom: 0;
}

.crc-pl span {
	flex: 1;
}

.crc-pl b {
	font-weight: 700;
}

.crc-pl .crh4-star {
	color: #f5a524;
}

.crc-pl i {
	min-width: 28px;
	font-style: normal;
	color: var(--ink2);
	text-align: right;
}

.crc-pl em {
	font-style: normal;
	color: var(--ink3);
}

.crc-pl.is-on {
	background: #e8eeff;
}

.crc-pl.is-on::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--blue);
}

.crc-page .crc-rev__go {
	width: 100%;
	height: 48px;
}

.crc-page .crc-rev__note {
	font-size: 13px;
	line-height: 1.45;
	color: var(--ink3);
}

.crc-page .crc-rev__sub {
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--ink3);
}

.crc-revs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.crc-r {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.crc-r[hidden] {
	display: none;
}

.crc-r__h {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.crc-r__h b {
	font-size: 16px;
}

.crc-stars {
	font-size: 16px;
	letter-spacing: 1px;
	color: #f5a524;
}

.crc-r__d {
	margin-left: auto;
	font-size: 14px;
	color: var(--ink3);
}

.crc-page .crc-r > p {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.crc-r__reply {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #f3f6fb;
}

.crc-r__reply b {
	font-size: 14px;
}

.crc-page .crc-r__reply p {
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.5;
}

.crc-revs + .crc-btn {
	margin-top: 16px;
}

.crc-norev {
	padding: 28px;
	border-radius: 16px;
	background: #f3f6fb;
}

.crc-page .crc-norev p {
	margin-bottom: 14px;
	color: var(--ink2);
}

.crc-pane[hidden] {
	display: none;
}

.crc-ya {
	max-width: 800px;
	min-height: 1280px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.crc-ya iframe {
	display: block;
	width: 100%;
	height: 1280px;
	border: 0;
}

.crc-page .crc-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	color: #2f56e0;
}

/* похожие */

.crc-simg {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 20px;
}

@media (min-width: 900px) {
	.crc-simg {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.crc-page .crc-sc {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	color: var(--ink);
	transition: box-shadow .2s ease, transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.crc-page .crc-sc:hover {
		box-shadow: 0 8px 24px rgba(0, 11, 47, .1);
		transform: translateY(-2px);
	}
}

.crc-sc__h {
	display: flex;
	align-items: center;
	gap: 14px;
}

.crc-sc__l {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 14px;
	box-shadow: inset 0 0 0 1px var(--line);
	overflow: hidden;
}

.crc-sc__l img {
	width: 90%;
	height: 90%;
	object-fit: contain;
}

.crc-sc__l i {
	font-style: normal;
	font-weight: 700;
	color: var(--blue);
}

.crc-sc__h b {
	display: block;
	font-size: 18px;
}

.crc-sc__p {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 8px;
	margin-top: 4px;
}

.crc-sc__p strong {
	font-size: 22px;
}

.crc-sc__p small {
	font-size: 13px;
	color: var(--ink2);
}

.crc-sc__g {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-radius: 12px;
	background: #f3f6fb;
}

.crc-sc__g > div {
	padding: 10px 14px;
}

.crc-sc__g > div + div {
	box-shadow: -1px 0 0 #e1e7f2;
}

.crc-sc__g small {
	display: block;
	font-size: 12px;
	color: var(--ink2);
}

.crc-sc__g b {
	font-size: 16px;
}

.crc-sc__g i {
	font-style: normal;
	font-weight: 400;
	color: var(--ink2);
}

.crc-sc__g .crh4-star {
	color: #f5a524;
}

.crc-sc__t {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.crc-sc__t span {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 10px;
	border: 1px solid var(--line2);
	border-radius: 8px;
	font-size: 13px;
}

.crc-page .crc-foot {
	padding-top: 24px;
	padding-bottom: 8px;
	font-size: 13px;
	color: var(--ink3);
}

.crc-main-end {
	height: 56px;
}

/* окна */

.crc-modal {
	position: fixed;
	inset: 0;
	z-index: 85;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 16px;
	overflow-y: auto;
	background: rgba(0, 11, 47, .55);
}

.crc-modal[hidden] {
	display: none;
}

.crc-dlg {
	display: flex;
	flex-direction: column;
	width: min(560px, 100%);
	border-radius: 20px;
	background: #fff;
	animation: crc-in .2s cubic-bezier(.23, 1, .32, 1);
}

@media (max-width: 759px) {
	.crc-modal {
		align-items: flex-end;
		padding: 0;
	}
	.crc-dlg {
		width: 100%;
		max-height: 100%;
		border-radius: 20px 20px 0 0;
		overflow-y: auto;
	}
}

.crc-dlg form {
	display: flex;
	flex-direction: column;
}

.crc-dlg__h {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 18px 14px 24px;
}

.crc-dlg__h > div {
	flex: 1;
	min-width: 0;
}

.crc-dlg__h small {
	display: block;
	font-size: 13px;
	color: var(--ink3);
}

.crc-dlg__h b {
	font-size: 18px;
}

.crc-dlg__l {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px var(--line);
	overflow: hidden;
}

.crc-dlg__l:empty {
	display: none;
}

.crc-dlg__l img {
	width: 90%;
	height: 90%;
	object-fit: contain;
}

.crc-dlg__b {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 4px 24px 8px;
}

.crc-dlg__f {
	padding: 14px 24px 22px;
}

.crc-dlg__f .crc-btn {
	width: 100%;
	height: 52px;
}

.crc-dlg__f .crc-btn:disabled {
	border-color: #b8c6f5;
	background: #b8c6f5;
	cursor: not-allowed;
}

.crc-page .crc-fs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.crc-fs legend,
.crc-fs__l {
	padding: 0;
	font-size: 14px;
	font-weight: 600;
}

.crc-fs small {
	font-weight: 400;
	color: var(--ink3);
}

.crc-page .crc-fs input[type="text"],
.crc-page .crc-fs input[type="tel"],
.crc-page .crc-fs input[type="email"],
.crc-page .crc-fs textarea {
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--line2);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	box-sizing: border-box;
}

.crc-fs input:focus,
.crc-fs textarea:focus {
	border-color: var(--blue);
	outline: none;
}

.crc-two {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

@media (min-width: 760px) {
	.crc-two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.crc-star-in {
	display: flex;
	gap: 4px;
}

.crc-page .crc-star-in button {
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 38px;
	line-height: 1;
	color: #d3dbea;
	cursor: pointer;
	transition: color .1s ease, transform .1s ease;
}

.crc-star-in button.is-on {
	color: #f5a524;
}

.crc-star-w {
	min-height: 18px;
	font-size: 14px;
	color: var(--ink2);
}

.crc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crc-page .crc-chips button {
	min-height: 40px;
	padding: 0 14px;
	border: 1.5px solid var(--line2);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--ink);
	cursor: pointer;
}

.crc-chips button[aria-pressed="true"] {
	border-color: var(--blue);
	background: #eef2ff;
	color: #2f56e0;
}

.crc-cnt {
	font-size: 13px;
	color: var(--ink3);
}

.crc-cnt.is-ok {
	color: #1d7a4a;
}

.crc-page .crc-agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ink2);
}

.crc-agree input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--blue);
}

.crc-agree a {
	color: #2f56e0;
	text-decoration: underline;
}

.crc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.crc-err {
	padding: 10px 14px;
	border-radius: 10px;
	background: #fdf1ef;
	font-size: 14px;
	color: #c0392b;
}

.crc-err[hidden] {
	display: none;
}

.crc-done {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 32px 24px 28px;
}

.crc-done[hidden] {
	display: none;
}

.crc-done b {
	font-size: 22px;
}

.crc-page .crc-done p {
	color: var(--ink2);
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	.crc-dlg,
	.crc-lb {
		animation: none;
	}
}

.crc-pl .crh4-fav {
	flex: none;
	width: 20px;
	height: 20px;
}

.crc-pl span {
	min-width: 0;
	white-space: nowrap;
}

/* Текст «О компании»: шире и с нормальной типографикой */
.crc-page .crc-about {
	max-width: 100ch;
}

.crc-page .crc-about p {
	margin: 0 0 12px;
}

.crc-page .crc-about h2,
.crc-page .crc-about h3,
.crc-page .crc-about h4 {
	margin: 24px 0 10px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0;
}

.crc-page .crc-about ul,
.crc-page .crc-about ol {
	margin: 0 0 14px;
	padding-left: 22px;
}

.crc-page .crc-about ul {
	list-style: disc;
}

.crc-page .crc-about ol {
	list-style: decimal;
}

.crc-page .crc-about li {
	margin: 6px 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
}

.crc-page .crc-about li::before {
	content: none !important;
}

.crc-page .crc-about strong,
.crc-page .crc-about b {
	font-weight: 700;
}

/* Похожие компании: оценка в одну строку, ссылка всегда внизу */
.crc-page .crc-sc__g b {
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.crc-sc__g .crh4-star {
	flex: none;
	width: 14px;
	height: 14px;
}

.crc-page .crc-sc > .crc-link {
	margin-top: auto;
}

@media (max-width: 759px) {
	.crc-ya {
		min-height: 1500px;
	}
	.crc-ya iframe {
		height: 1500px;
	}
}

/* Соцсети компании: только на странице компании */
.crc-socs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crc-page .crc-soc {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--line2);
	border-radius: 12px;
	background: #fff;
	transition: border-color .15s ease;
}

.crc-soc svg {
	width: 24px;
	height: 24px;
}

.crc-page .crc-soc--vk { color: #0077ff; }
.crc-page .crc-soc--tgc { color: #229ed9; }
.crc-page .crc-soc--maxc { color: #6b4cff; }
.crc-page .crc-soc--dzen { color: #111; }
.crc-page .crc-soc--ok { color: #ee8208; }
.crc-page .crc-soc--rt { color: #e2263a; }

@media (hover: hover) and (pointer: fine) {
	.crc-page .crc-soc:hover {
		border-color: var(--blue);
	}
}

.crc-soc svg.crc-soc__brand {
	width: 28px;
	height: 28px;
}
