/* figures-type-2 */
.figures-type-2__groups {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Group heading */
.figures-type-2__group-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 16px;
}

.figures-type-2__accent {
	display: block;
	width: 50px;
	height: 4px;
}

.figures-type-2__accent--brand {
	background-color: #b72037;
}

.figures-type-2__accent--dark {
	background-color: #110e0e;
}

.figures-type-2__group-texts {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #110e0e;
}

.figures-type-2__group-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: normal;
}

.figures-type-2__group-description {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 400;
}

/* Grid */
.figures-type-2__grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 22px;
}

/* Person card */
.figures-type-2__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 320px;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 16px;
	border-radius: 8px;
	overflow: hidden;
	background-color: #e6e6e8;
}

.figures-type-2__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50.616%, rgba(0, 0, 0, 0.94) 100%);
	pointer-events: none;
}

.figures-type-2__img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.figures-type-2__caption {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.figures-type-2__name {
	margin: 0;
	color: #fff;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
}

.figures-type-2__contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.figures-type-2__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px;
	border-radius: 8px;
	color: #fff;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 400;
	white-space: nowrap;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.figures-type-2__badge:hover,
.figures-type-2__badge:focus-visible {
	opacity: 0.85;
	color: #fff;
}

.figures-type-2__badge img {
	display: block;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
}

.figures-type-2__badge--phone {
	background-color: #b72037;
}

.figures-type-2__badge--email {
	background-color: #282b33;
}

/* CTA box */
.figures-type-2__cta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-height: 240px;
	padding: 32px 24px;
	border-radius: 8px;
	background-color: #b72037;
	color: #fff;
}

.figures-type-2__cta-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 700;
}

.figures-type-2__cta-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 400;
}

@media (min-width: 640px) {
	.figures-type-2__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.figures-type-2__cta--md-span-1 {
		grid-column: span 1 / span 1;
	}

	.figures-type-2__cta--md-span-2 {
		grid-column: span 2 / span 2;
	}
}

@media (min-width: 1024px) {
	.figures-type-2__groups {
		gap: 48px;
	}

	.figures-type-2__group-title {
		font-size: 28px;
	}

	.figures-type-2__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.figures-type-2__cta {
		padding: 38px;
	}

	.figures-type-2__cta-title {
		font-size: 28px;
	}

	.figures-type-2__cta--lg-span-1 {
		grid-column: span 1 / span 1;
	}

	.figures-type-2__cta--lg-span-2 {
		grid-column: span 2 / span 2;
	}

	.figures-type-2__cta--lg-span-3 {
		grid-column: span 3 / span 3;
	}
}
