/* ══════════════════════════════════════
   Brands Section
   ══════════════════════════════════════ */

.nco-brands-section {
	width: 100%;
	margin: 48px 0 0;
	padding: 56px 0 60px;
	background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nco-brands-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Section Header ── */
.nco-brands-header {
	text-align: center;
	margin-bottom: 40px;
}

.nco-brands-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #0070ba;
	background: rgba(0, 112, 186, 0.08);
	border: 1px solid rgba(0, 112, 186, 0.18);
	padding: 5px 14px;
	border-radius: 50px;
	margin-bottom: 14px;
}

.nco-brands-title {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 600;
	color: #111;
	margin: 0 0 12px;
	line-height: 1.2;
}

.nco-brands-subtitle {
	font-size: 15px;
	color: #666;
	max-width: 520px;
	margin: 0 auto;
	line-height: 1.6;
}

/* ── Grid: 4 columns ── */
.nco-brands-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* ── Brand Card ── */
.nco-brand-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	background: #fff;
	border-radius: 18px;
	border: 1.5px solid rgba(0, 0, 0, 0.07);
	text-decoration: none;
	color: #222;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	position: relative;
}

.nco-brand-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
	border-color: var(--brand-color, #0070ba);
}

/* Top color accent bar */
.nco-brand-card::before {
	content: '';
	display: block;
	width: 100%;
	height: 5px;
	background: var(--brand-color, #0070ba);
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.nco-brand-card:hover::before {
	opacity: 1;
}

/* ── Logo area ── */
.nco-brand-card-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 110px;
	padding: 22px 28px 10px;
}

.nco-brand-card-logo img {
	max-width: 100%;
	max-height: 70px;
	object-fit: contain;
	filter: grayscale(30%);
	transition: filter 0.25s ease, transform 0.25s ease;
}

.nco-brand-card:hover .nco-brand-card-logo img {
	filter: grayscale(0%);
	transform: scale(1.05);
}

/* Fallback text when no image */
.nco-brand-card-name-fallback {
	font-size: 22px;
	font-weight: 700;
	color: var(--brand-color, #333);
	letter-spacing: -0.5px;
}

/* ── Body: name + tagline ── */
.nco-brand-card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 10px 18px 20px;
	text-align: center;
	flex: 1;
}

.nco-brand-card-title {
	font-size: 16px;
	font-weight: 600;
	color: #111;
}

.nco-brand-card-tagline {
	font-size: 12px;
	color: #888;
	line-height: 1.4;
}

/* ── Arrow icon at bottom ── */
.nco-brand-card-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.04);
	color: #bbb;
	font-size: 13px;
	margin-bottom: 16px;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nco-brand-card:hover .nco-brand-card-arrow {
	background: var(--brand-color, #0070ba);
	color: #fff;
	transform: translateX(3px);
}

/* ══════════════════════════════════════
   Responsive
   ══════════════════════════════════════ */

/* Tablet: 2 columns */
@media (max-width: 1092px) {
	.nco-brands-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.nco-brands-section {
		padding: 40px 0 44px;
	}
}

/* Mobile: 1 column */
@media (max-width: 600px) {
	.nco-brands-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.nco-brands-section {
		padding: 32px 0 36px;
	}
	.nco-brands-inner {
		padding: 0 14px;
	}
	.nco-brand-card-logo {
		height: 90px;
	}
}
