:root {
	--accent-orange: #ff7a00;
}

.brands-section {
	position: relative;
	padding: 0 0 54px;
	background:
		radial-gradient(circle at 50% -20%, #20252f 0%, #0d1116 55%),
		linear-gradient(180deg, #0d1116 0%, #0a0d12 100%);
	overflow: hidden;
}

.brands-section::before,
.brands-section::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.brands-section::before {
	inset: -20%;
	background:
		radial-gradient(circle at 20% 25%, rgba(255,122,0,0.18), transparent 40%),
		radial-gradient(circle at 80% 10%, rgba(255,180,80,0.12), transparent 45%);
	filter: blur(80px);
	opacity: 0.7;
	z-index: 0;
}

.brands-section::after {
	inset: -30%;
	background:
		radial-gradient(circle at 30% 40%, rgba(255,140,40,0.15), transparent 45%),
		radial-gradient(circle at 70% 60%, rgba(255,200,120,0.08), transparent 50%);
	filter: blur(120px);
	opacity: 0.5;
	animation: luxuryGlow 18s ease-in-out infinite alternate;
	z-index: 0;
}

.brands-shell {
	position: relative;
	z-index: 2;
	width: min(1320px, calc(100% - 40px));
	margin: 0 auto;
}

.brands-frame {
	position: relative;
	border-radius: 32px;
	border: 1px solid rgba(255,255,255,0.06);
	background:
		linear-gradient(180deg, rgba(255,255,255,0.028) 0%, rgba(255,255,255,0.012) 100%),
		linear-gradient(180deg, rgba(10,14,19,0.74) 0%, rgba(12,16,22,0.88) 100%);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow:
		0 24px 80px rgba(0,0,0,0.32),
		inset 0 1px 0 rgba(255,255,255,0.04);
	padding: 36px;
	overflow: hidden;
}

.brands-frame::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(255,122,0,0) 0%, rgba(255,122,0,0.34) 50%, rgba(255,122,0,0) 100%);
	opacity: 0.85;
}

.brands-header {
	max-width: 940px;
	margin: 0 auto 34px;
	text-align: center;
}

.brands-header .brands-eyebrow,
.brands-header .brands-title,
.brands-header .brands-subtitle {
	opacity: 0;
	transform: translateY(60px) scale(0.98);
	filter: blur(12px);
	transition:
		opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
		transform 1s cubic-bezier(0.16, 1, 0.3, 1),
		filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.brands-header.is-visible .brands-eyebrow,
.brands-header.is-visible .brands-title,
.brands-header.is-visible .brands-subtitle {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

.brands-eyebrow {
	font-family: "Exo 2", Arial, sans-serif;
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent-orange);
	font-weight: 600;
	margin: 0 0 20px;
	position: relative;
	display: inline-block;
}

.brands-eyebrow::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 44px;
	height: 2px;
	background: var(--accent-orange);
	transform: translateX(-50%);
	box-shadow: 0 0 12px rgba(255,122,0,0.7);
}

.brands-title {
	font-family: "Exo 2", Arial, sans-serif;
	font-size: clamp(32px, 3vw, 50px);
	font-weight: 700;
	line-height: 1.15;
	color: #ffffff;
	margin: 0 0 24px;
	text-shadow:
		0 0 20px rgba(255,255,255,0.05),
		0 10px 30px rgba(0,0,0,0.6);
}

.brands-subtitle {
	font-family: "Exo 2", Arial, sans-serif;
	font-size: 18px;
	color: rgba(255,255,255,0.72);
	max-width: 760px;
	margin: 0 auto;
	line-height: 1.75;
}

.brands-category h3 {
	margin: 0 0 28px;
	font-family: "Exo 2", Arial, sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	letter-spacing: -0.01em;
	text-align: left;
}

.brands-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.brand-item {
	min-height: 128px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%),
		rgba(255,255,255,0.02);
	border: 1px solid rgba(255,255,255,0.05);
	transition:
		background 0.6s ease,
		border-color 0.4s ease,
		transform 0.4s ease,
		box-shadow 0.4s ease;
	opacity: 0;
	transform: translateY(40px);
	box-shadow:
		0 14px 34px rgba(0,0,0,0.18),
		inset 0 1px 0 rgba(255,255,255,0.02);
	overflow: hidden;
}

.brand-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.brand-item__inner {
	width: 100%;
	height: 100%;
	min-height: 128px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-item img {
	display: block;
	width: auto;
	height: 100%;
	max-width: 86%;
	max-height: 64px;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.86;
	transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.brand-item:hover {
	background: #ffffff;
	border-color: rgba(0,0,0,0.08);
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0,0,0,0.42);
}

.brand-item:hover img {
	filter: none;
	opacity: 1;
	transform: scale(1.02);
}

@media (max-width: 1200px) {
	.brands-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.brands-section {
		padding: 0 0 32px;
	}

	.brands-shell {
		width: min(100% - 24px, 1320px);
	}

	.brands-frame {
		padding: 20px;
		border-radius: 24px;
	}

	.brands-header {
		margin-bottom: 28px;
	}

	.brands-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}

	.brand-item {
		min-height: 112px;
	}

	.brand-item__inner {
		min-height: 112px;
	}

	.brand-item img {
		max-width: 84%;
		max-height: 56px;
	}
}

@media (max-width: 480px) {
	.brands-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@keyframes luxuryGlow {
	0% { transform: translateY(0) scale(1); opacity: 0.4; }
	50% { transform: translateY(-40px) scale(1.05); opacity: 0.7; }
	100% { transform: translateY(20px) scale(1.08); opacity: 0.5; }
}