.trust {
	background: var(--color-cream);
}

/* ---------- Mobile: auto-scrolling marquee ---------- */
.trust__marquee {
	overflow: hidden;
	padding-block: 26px;
}

.trust__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: trust-marquee 16s linear infinite;
}

.trust__marquee:hover .trust__track {
	animation-play-state: paused;
}

.trust__marquee-item {
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-navy);
	font-size: 16px;
	line-height: 1.1;
	white-space: nowrap;
	padding-inline: 24px;
	position: relative;
}

.trust__marquee-item::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--color-stroke);
}

@keyframes trust-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.trust__track {
		animation: none;
	}
}

/* ---------- Tablet and up: fixed row (matches desktop design) ---------- */
.trust__inner {
	display: none;
}

@media (min-width: 768px) {
	.trust__marquee {
		display: none;
	}

	.trust__inner {
		display: flex;
		flex-wrap: wrap;
		gap: 24px;
		padding-block: 40px;
	}
}

@media (min-width: 1024px) {
	.trust__inner {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 0;
		padding-block: 50px;
	}
}

.trust__item {
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-navy);
	font-size: 16px;
	line-height: 1.1;
	flex: 1 1 calc(50% - 12px);
}

@media (min-width: 768px) {
	.trust__item {
		font-size: 20px;
	}
}

@media (min-width: 1024px) {
	.trust__item {
		font-size: 24px;
		flex: 0 0 244px;
	}
}
