.home-brands {
	padding: 50px 0;
	margin: 0;
	border-bottom: 1px solid #e2e8f0;
	background: #ffffff;
	overflow: hidden;
}

.home-brands h2 {
	margin: 0 20px 32px;
	text-align: center;
	font-size: 1.45rem;
	font-weight: 800;
	color: #1e293b;
}

.home-brands__viewport {
	display: flex;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-brands__group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-around;
	min-width: 100%;
	gap: 50px;
	padding-right: 50px;
	animation: realcestas-brands-scroll 26s linear infinite;
}

.home-brands:hover .home-brands__group,
.home-brands:focus-within .home-brands__group {
	animation-play-state: paused;
}

.home-brands__logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	height: 105px;
	padding: 0 15px;
}

.home-brands__logo img {
	width: auto;
	height: auto;
	max-width: 175px;
	max-height: 80px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
	transition: transform 0.25s ease;
}

.home-brands__logo img:hover {
	transform: scale(1.12);
}

@keyframes realcestas-brands-scroll {
	to {
		transform: translateX(-100%);
	}
}

@media (max-width: 900px) {
	.home-brands {
		padding: 35px 0;
		margin-top: 35px;
	}

	.home-brands h2 {
		font-size: 1.25rem;
		margin-bottom: 20px;
	}

	.home-brands__logo {
		height: 80px;
		min-width: 140px;
		padding: 0 10px;
	}

	.home-brands__logo img {
		max-height: 55px;
		max-width: 130px;
	}
}

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

	.home-brands__group[aria-hidden="true"] {
		display: none;
	}

	.home-brands__viewport {
		overflow-x: auto;
	}
}
