/**
 * Trust strip — 4 stats in an elevated card. Shared by both homepages:
 * Homepage 1 adds extra top clearance for its overlapping hero search panel
 * (see home.css), Homepage 2 uses this section's own spacing as-is directly
 * under its non-overlapping hero (see home2.css).
 */

.rentiva-trust-strip__card {
	background-color: var(--rentiva-card);
	border: 1px solid var(--rentiva-border);
	border-radius: var(--rentiva-radius-xl);
	box-shadow: var(--rentiva-shadow-card);
	padding: 2rem 1.25rem;
}

@media (min-width: 1024px) {
	.rentiva-trust-strip__card {
		padding: 3rem 2.5rem;
	}
}

.rentiva-trust-strip__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 2rem;
	column-gap: 1rem;
}

@media (min-width: 1024px) {
	.rentiva-trust-strip__row {
		grid-template-columns: repeat(4, 1fr);
		column-gap: 0;
	}
}

.rentiva-trust-strip__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Vertical dividers between items — only meaningful once the row is a
 * single line of 4 (see the grid-template-columns breakpoint above). */
@media (min-width: 1024px) {
	.rentiva-trust-strip__item:not(:first-child)::before {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 1px;
		height: 4.5rem;
		background-color: var(--rentiva-border);
	}
}

.rentiva-trust-strip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.875rem;
	height: 2.875rem;
	margin-bottom: 0.75rem;
	border-radius: var(--rentiva-radius-pill);
	background-color: var(--rentiva-chip-bg);
	color: var(--rentiva-primary);
}

.rentiva-trust-strip__icon svg {
	width: 1.375rem;
	height: 1.375rem;
}

@media (min-width: 1024px) {
	.rentiva-trust-strip__icon {
		width: 3.5rem;
		height: 3.5rem;
		margin-bottom: 0.875rem;
	}

	.rentiva-trust-strip__icon svg {
		width: 1.625rem;
		height: 1.625rem;
	}
}

.rentiva-trust-strip__value {
	font-family: var(--rentiva-font-display);
	font-size: var(--rentiva-text-2xl);
	font-weight: 800;
	margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
	.rentiva-trust-strip__value {
		font-size: var(--rentiva-text-3xl);
	}
}

.rentiva-trust-strip__label {
	font-size: var(--rentiva-text-sm);
	color: var(--rentiva-muted-foreground);
}
