/* CleanRating: pre-footer strip (3 cards). Brand #4a72ff, ink #000b2f. */
.cr-prefooter {
	margin: 0;
	padding: 48px 0;
	background: #f1f4fb;
	font-family: "gilroy", sans-serif;
	position: relative;
	z-index: 1;
}
.cr-prefooter__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 16px;
	align-items: stretch;
}
.cr-prefooter--two .cr-prefooter__grid {
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.cr-prefooter__card {
	box-sizing: border-box;
	display: flex;
	min-height: 156px;
	padding: 24px 28px;
	border-radius: 20px;
	background: #fff;
	color: #000b2f;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(26, 49, 107, 0.04);
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}
a.cr-prefooter__card:hover {
	box-shadow: 0 10px 28px rgba(26, 49, 107, 0.12);
	transform: translateY(-2px);
}
.cr-prefooter__main {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}
.cr-prefooter__title {
	display: block;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 600;
}
.cr-prefooter__text {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: #7b87a6;
}

/* arrow button */
.cr-prefooter__go {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	border: 1.5px solid #cdd5ea;
	border-radius: 14px;
	background: #fff;
	color: #000b2f;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cr-prefooter__card--company:hover .cr-prefooter__go,
.cr-prefooter__go:hover {
	background: #4a72ff;
	border-color: #4a72ff;
	color: #fff;
}

/* 1: company */
.cr-prefooter__card--company {
	align-items: stretch;
	justify-content: space-between;
	gap: 24px;
}
.cr-prefooter__side {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}
.cr-prefooter__pill {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 12px;
	background: #eef1f8;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

/* 2: telegram */
.cr-prefooter__card--tg {
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}
.cr-prefooter__tg {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	height: 52px;
	padding: 0 20px;
	border-radius: 14px;
	background: linear-gradient(90deg, #2aa9ee 0%, #229ed9 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.cr-prefooter__tg:hover {
	filter: brightness(1.06);
	box-shadow: 0 8px 20px rgba(34, 158, 217, 0.35);
	color: #fff;
}

/* 3: help */
.cr-prefooter__card--help {
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
	background: #4a72ff;
	color: #fff;
}
.cr-prefooter__card--help .cr-prefooter__text {
	color: rgba(255, 255, 255, 0.82);
}
.cr-prefooter__card--help .cr-prefooter__go {
	align-self: flex-end;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.85);
	color: #fff;
}
.cr-prefooter__card--help .cr-prefooter__go:hover {
	background: #fff;
	border-color: #fff;
	color: #4a72ff;
}

/* tablet */
@media (max-width: 1100px) {
	.cr-prefooter__grid,
	.cr-prefooter--two .cr-prefooter__grid {
		grid-template-columns: 1fr 1fr;
	}
	.cr-prefooter__card--company {
		grid-column: 1 / -1;
	}
}

/* phone */
@media (max-width: 680px) {
	.cr-prefooter {
		padding: 32px 0;
	}
	.cr-prefooter__grid,
	.cr-prefooter--two .cr-prefooter__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.cr-prefooter__card {
		min-height: 0;
		padding: 20px;
		border-radius: 18px;
	}
	.cr-prefooter__title {
		font-size: 18px;
	}
	.cr-prefooter__card--company {
		flex-direction: column;
		gap: 16px;
	}
	.cr-prefooter__side {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}
	.cr-prefooter__pill {
		white-space: normal;
	}
	.cr-prefooter__go {
		width: 48px;
		height: 48px;
	}
	.cr-prefooter__card--help {
		flex-direction: row;
		align-items: flex-end;
	}
}
