/*
 * CRHD — страница компании v3 (макет Claude Design «Компания v2»).
 * Поверх cr-company-page.css и cr-home.css, всё под `.crc5`.
 */

body.crc5-body {
	overflow: visible !important;
	overflow-x: clip !important;
}

/* ---------- Синяя шапка ---------- */

.crc5 .crc5-hero {
	position: relative;
	overflow: hidden;
	padding: 20px 0 124px;
	background: linear-gradient(135deg, #4a72ff, #3a62f0);
	color: #fff;
}

.crc5 .crc5-hero__c1,
.crc5 .crc5-hero__c2 {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.crc5 .crc5-hero__c1 {
	width: 460px;
	height: 460px;
	right: -80px;
	top: -170px;
	background: rgba(255, 255, 255, .08);
}

.crc5 .crc5-hero__c2 {
	width: 380px;
	height: 380px;
	left: 36%;
	bottom: -250px;
	background: rgba(255, 255, 255, .06);
}

.crc5 .crc5-hero .crh4-wrap {
	position: relative;
}

.crc5 .crc5-bc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	font-size: 14px;
	color: #dfe7ff;
}

.crh4-page.crc5 .crc5-bc a {
	color: #dfe7ff;
}

.crh4-page.crc5 .crc5-bc a:hover {
	color: #fff;
}

.crc5 .crc5-bc span:last-child {
	color: #fff;
	font-weight: 600;
}

.crc5 .crc5-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.crc5 .crc5-logo {
	display: grid;
	place-items: center;
	width: 104px;
	height: 104px;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 11, 47, .22);
	font-size: 40px;
	font-weight: 800;
	color: var(--blue);
}

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

.crc5 .crc5-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crc5 .crc5-b {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 12px;
	border-radius: 14px;
	font-size: 13px;
	font-weight: 700;
}

.crc5 .crc5-b--lv {
	background: #fff;
	color: #2f56e0;
}

.crc5 .crc5-b--ok {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.crc5 .crc5-b--promo {
	background: #fff4e0;
	color: #8a5a00;
}

.crh4-page.crc5 .crc5-h1 {
	margin-top: 14px;
	font-size: clamp(32px, 3.5vw + 18px, 52px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.03em;
	color: #fff;
	overflow-wrap: anywhere;
}

.crh4-page.crc5 .crc5-short {
	max-width: 62ch;
	margin-top: 14px;
	font-size: 17px;
	line-height: 1.5;
	color: #eaf0ff;
}

.crc5 .crc5-places {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font-size: 14px;
	color: #dfe7ff;
}

.crh4-page.crc5 .crc5-places a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 14px;
	border-radius: 17px;
	background: rgba(255, 255, 255, .16);
	font-size: 14px;
	color: #fff;
	transition: background .15s;
}

.crh4-page.crc5 .crc5-places a:hover {
	background: rgba(255, 255, 255, .28);
}

.crc5 .crc5-places a b {
	font-weight: 800;
}

.crc5 .crc5-score {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.crc5 .crc5-score b {
	display: block;
	font-size: clamp(44px, 5vw + 24px, 72px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -.03em;
}

.crc5 .crc5-score span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #dfe7ff;
}

.crh4-page.crc5 .crc5-score a {
	color: #fff;
	text-decoration: underline;
}

@media (min-width: 900px) {
	.crc5 .crc5-top {
		grid-template-columns: 184px minmax(0, 1fr) auto;
		gap: 36px;
	}
	.crc5 .crc5-logo {
		width: 184px;
		height: 184px;
		border-radius: 36px;
		font-size: 64px;
	}
	.crc5 .crc5-score {
		text-align: right;
	}
}

/* Появление первого экрана */
.crc5 .c5-in {
	animation: c5-in .55s cubic-bezier(.23, 1, .32, 1) both;
	animation-delay: var(--d, 0s);
}

.crc5 .crc5-logo.c5-in {
	animation-name: c5-logo;
	animation-duration: .6s;
	animation-timing-function: cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes c5-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

@keyframes c5-logo {
	from {
		opacity: 0;
		transform: scale(.8) rotate(-6deg);
	}
}

/* ---------- Карточка контактов ---------- */

.crc5 .crc5-over {
	position: relative;
	z-index: 3;
	margin-top: -88px;
}

.crc5 .crc5-card {
	padding: 8px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(0, 11, 47, .12);
}

.crc5 .crc5-card .crc-contacts {
	margin: 0;
	border: 0;
	border-radius: 20px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.crc5 .crc-c {
	padding: 20px;
	box-shadow: none;
}

.crc5 .crc-c + .crc-c {
	box-shadow: -1px 0 0 var(--line3);
}

@media (max-width: 759px) {
	.crc5 .crc-c + .crc-c {
		box-shadow: 0 -1px 0 var(--line3);
	}
}

.crc5 .crc5-card .crc-claim {
	margin: 8px;
	border-radius: 18px;
}

.crc5 .crc-open.is-open {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.crc5 .crc-open.is-open::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #1fb26b;
	animation: c5-pulse 2s ease-in-out infinite;
}

@keyframes c5-pulse {
	50% {
		box-shadow: 0 0 0 6px rgba(31, 178, 107, .22);
	}
}

.crh4-page.crc5 .crc-btn {
	border-radius: 14px;
}

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

.crc5 .crc-nav {
	margin-top: 24px;
}

.crc5 .crc-nav nav {
	height: 56px;
}

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

.crc5 .crc-nav a.is-on::after {
	height: 3px;
}

/* ---------- Разделы ---------- */

.crc5 .crc5-sec,
.crc5 .crc-sec {
	padding-top: 72px;
}

.crc5 .crc5-sec .crh5-hd,
.crc5 .crc-sec .crh5-hd {
	margin-bottom: 28px;
}

.crh4-page.crc5 .crc-sec h2.crh4-h2 {
	font-size: clamp(28px, 1.6vw + 16px, 40px);
	font-weight: 800;
	letter-spacing: -.025em;
}

.crc5 .crc5-hd {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 6px 20px;
}

.crc5 .crc5-hd .crh5-hd {
	margin-bottom: 0;
}

.crc5 .crc5-hd .crc-upd {
	padding-bottom: 6px;
}

/* ---------- Прайс ---------- */

.crc5 .crc5-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 26px 0 16px;
}

.crc5 .crc5-tabs {
	display: flex;
	gap: 4px;
	max-width: 100%;
	padding: 4px;
	overflow-x: auto;
	border-radius: 16px;
	background: var(--soft);
	scrollbar-width: none;
}

.crc5 .crc5-tabs::-webkit-scrollbar {
	display: none;
}

.crh4-page.crc5 .crc5-tabs button {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink2);
	white-space: nowrap;
	transition: background .15s, color .15s, box-shadow .15s;
}

.crh4-page.crc5 .crc5-tabs button[aria-selected="true"] {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 2px 8px rgba(0, 11, 47, .08);
}

.crc5 .crc5-tabs button i {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 12px;
	background: #e1e7f3;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	color: var(--ink2);
}

.crc5 .crc5-tabs button[aria-selected="true"] i {
	background: var(--blue);
	color: #fff;
}

.crc5 .crc5-find {
	flex: 1 1 260px;
	max-width: 360px;
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--line2);
	border-radius: 14px;
	background: #fff;
	color: var(--ink3);
}

.crc5 .crc5-find:focus-within {
	border-color: var(--blue);
}

.crc5 .crc5-find input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: none;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
}

.crc5 .crc5-pp {
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
}

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

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

.crc5 .crc5-sub {
	margin: 14px 12px 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink2);
}

.crc5 .crc5-pr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 56px;
	padding: 8px 12px;
	border-radius: 14px;
	border-bottom: 1px solid var(--line3);
	animation: c5-row .3s cubic-bezier(.23, 1, .32, 1) backwards;
}

.crc5 .crc5-pr[hidden] {
	display: none;
}

@keyframes c5-row {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

.crc5 .crc5-pr.is-want {
	background: var(--blue-t);
	color: #2f56e0;
	border-bottom-color: transparent;
}

.crc5 .crc5-pr__n {
	font-size: 15px;
	line-height: 1.35;
}

.crc5 .crc5-pr__p {
	flex: none;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

.crc5 .crc5-pr__p i {
	margin-left: 2px;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	color: var(--ink3);
}

.crc5 .crc5-want {
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--blue);
	color: #fff;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	vertical-align: 1px;
}

.crh4-page.crc5 .crc5-pl {
	margin-left: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #fff1c2;
	color: #8a5a00;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.crc5 .crc5-more {
	display: flex;
	justify-content: center;
	padding: 14px 0 8px;
}

.crh4-page.crc5 .crc5-morebtn {
	height: 48px;
	padding: 0 22px;
	border-radius: 14px;
	background: var(--soft);
	font-size: 15px;
	font-weight: 700;
	transition: background .15s;
}

.crh4-page.crc5 .crc5-morebtn:hover {
	background: var(--blue-l);
	color: #2f56e0;
}

.crc5 .crc5-search {
	display: block;
}

.crc5 .crc5-search[hidden] {
	display: none;
}

.crc5 .crc5-none {
	padding: 28px 12px;
	text-align: center;
	color: var(--ink2);
}

.crc5 .crc5-none[hidden] {
	display: none;
}

.crc5 .crc5-none .crh4-link {
	margin-left: 8px;
	font-weight: 700;
}

/* ---------- Шаги «Как заказать» ---------- */

.crc5 .crc5-st {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 14px;
}

.crc5 .crc5-s {
	padding: 24px;
	border-radius: 24px;
	background: var(--soft);
}

.crc5 .crc5-s__n {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--blue);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
}

.crh4-page.crc5 .crc5-s h3 {
	margin-bottom: 8px;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.01em;
}

.crc5 .crc5-s p {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink2);
}

/* ---------- Остальные блоки ---------- */

.crc5 .crc-order__in {
	border-radius: 24px;
}

.crc5 .crc-promo {
	border-radius: 24px;
	transition: transform .2s, box-shadow .2s;
}

.crc5 .crc-promo:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(0, 11, 47, .1);
}

.crc5 .crc-geo__c {
	border-radius: 24px;
}

.crc5 .crc-sc {
	border-radius: 24px;
	transition: transform .2s, box-shadow .2s;
}

.crc5 .crc-sc:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(0, 11, 47, .1);
}

.crc5 .crc-rev__side {
	min-width: 0;
}

@media (min-width: 900px) {
	.crc5 .crc-rev__side {
		position: sticky;
		top: 72px;
		align-self: start;
	}
}

.crc5 .crc-r {
	border-radius: 20px;
}

.crc5 .crc-ph {
	border-radius: 20px;
}

.crc5 .crc5-sec:last-of-type {
	padding-bottom: 72px;
}

@media (max-width: 759px) {
	.crc5 .crc5-hero {
		padding-bottom: 110px;
	}
	.crc5 .crc5-sec,
	.crc5 .crc-sec {
		padding-top: 48px;
	}
	.crc5 .crc5-score {
		gap: 24px;
	}
	.crc5 .crc5-pp {
		padding: 4px 8px;
	}
}

/* Движение включено всегда (см. cr-home.css). */
@media (prefers-reduced-motion: reduce) {
	.crh4-page.crc5 .c5-in {
		animation: c5-in .55s cubic-bezier(.23, 1, .32, 1) both !important;
		animation-delay: var(--d, 0s) !important;
	}
	.crh4-page.crc5 .crc5-logo.c5-in {
		animation-name: c5-logo !important;
	}
	.crh4-page.crc5 .crc-open.is-open::before {
		animation: c5-pulse 2s ease-in-out infinite !important;
	}
	.crh4-page.crc5 .crc5-pr {
		animation: c5-row .3s cubic-bezier(.23, 1, .32, 1) backwards !important;
	}
}

/* ---------- О компании: описание слева, карточки условий справа ---------- */

@media (min-width: 900px) {
	.crc5 #about {
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 0 56px;
		align-items: start;
	}
	.crc5 #about > .crh5-hd {
		grid-column: 1;
	}
	.crc5 #about > .crc-about {
		grid-column: 1;
		margin-top: 0;
	}
	.crc5 #about > .crc5-side {
		grid-column: 2;
		grid-row: 1 / span 3;
	}
}

.crc5 .crc5-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 8px;
}

.crc5 .crc5-box {
	padding: 22px;
	border-radius: 24px;
	background: var(--soft);
}

.crc5 .crc5-box + .crc5-box {
	border: 1px solid var(--line);
	background: #fff;
}

.crc5 .crc5-box .crc-h3 {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 800;
}

.crc5 .crc5-box .crc-conds,
.crc5 .crc5-box .crc-ben {
	margin-top: 0;
}

.crc5 .crc5-box .crc-cond {
	background: #fff;
	color: #1d7a4a;
}

.crc5 .crc-about {
	max-width: 62ch;
}

/* Услуга без цены: серая надпись вместо суммы */
.crc5-pr .crc5-pr__ask {
	color: #8a94ad;
	font-size: 14px;
	font-weight: 600;
}
