/* ==========================================================================
   Brands We Service Page Styles
   ==========================================================================

   1. Brand Cards Grid
   2. Expertise / Specialisation Section
   3. Responsive

   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand Cards Grid
   -------------------------------------------------------------------------- */

.brands-grid-section { background: var(--color-bg); }

.brand-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-6);
}

.brand-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.brand-card:hover {
	border-color: rgba(212, 175, 55, 0.3);
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Header */

.brand-card__header {
	display: flex;
	align-items: flex-start;
	gap: var(--space-4);
	padding: var(--space-6);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg);
	position: relative;
	overflow: hidden;
}

.brand-card__header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--color-gold), transparent);
	opacity: 0;
	transition: opacity var(--transition-base);
}

.brand-card:hover .brand-card__header::after { opacity: 1; }

.brand-card__icon {
	width: 52px;
	height: 52px;
	min-width: 52px;
	background: var(--color-gold-dim);
	border: 1px solid rgba(212, 175, 55, 0.2);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-gold);
	transition: background var(--transition-base), color var(--transition-base);
}

.brand-card:hover .brand-card__icon {
	background: var(--color-gold);
	color: var(--color-bg);
}

.brand-card__meta { flex: 1; min-width: 0; }

.brand-card__origin {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	font-size: var(--text-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-1);
}

.brand-card__name {
	font-size: var(--text-2xl);
	font-weight: var(--fw-black);
	font-family: var(--font-heading);
	line-height: 1;
	letter-spacing: var(--tracking-tight);
	margin-bottom: var(--space-1);
	transition: color var(--transition-base);
}

.brand-card:hover .brand-card__name { color: var(--color-gold); }

.brand-card__tag {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	line-height: var(--leading-snug);
}

/* Body */

.brand-card__body {
	padding: var(--space-5) var(--space-6);
	flex: 1;
	display: flex;
	flex-direction: column;
}

.brand-card__desc {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	line-height: var(--leading-relaxed);
	margin-bottom: var(--space-5);
}

.brand-card__divider {
	height: 1px;
	background: var(--color-border);
	margin-bottom: var(--space-4);
}

.brand-card__list-label {
	font-size: var(--text-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--tracking-widest);
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-3);
}

.brand-card__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	flex: 1;
}

.brand-card__list-item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	line-height: var(--leading-snug);
}

.brand-card__list-item::before {
	content: '';
	flex-shrink: 0;
	width: 5px;
	height: 5px;
	background: var(--color-gold);
	border-radius: 50%;
	margin-top: 0.42em;
}

/* Footer */

.brand-card__footer {
	padding: var(--space-4) var(--space-6);
	border-top: 1px solid var(--color-border);
	background: var(--color-bg);
}

.brand-card__models {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	line-height: var(--leading-relaxed);
}

.brand-card__models-label {
	font-weight: var(--fw-semibold);
	color: var(--color-text-subtle);
	margin-right: var(--space-1);
}

/* --------------------------------------------------------------------------
   2. Expertise / Specialisation Section
   -------------------------------------------------------------------------- */

.brands-expertise {
	background: var(--color-surface);
	position: relative;
	overflow: hidden;
}

.brands-expertise::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 70% at 100% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
		radial-gradient(ellipse 40% 60% at 0% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
	pointer-events: none;
}

.brands-expertise__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(var(--space-12), 6vw, var(--space-20));
	align-items: start;
}

.brands-expertise__lead {
	font-size: var(--text-xl);
	color: var(--color-text-muted);
	line-height: var(--leading-relaxed);
	margin: var(--space-5) 0 var(--space-4);
}

.brands-expertise__body {
	font-size: var(--text-base);
	color: var(--color-text-muted);
	line-height: var(--leading-relaxed);
	margin-bottom: var(--space-4);
}

.brands-expertise__body:last-child { margin-bottom: 0; }

/* Pillars */

.brands-expertise__pillars {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

.expertise-pillar {
	display: flex;
	align-items: flex-start;
	gap: var(--space-5);
	padding: var(--space-5) var(--space-6);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	transition: border-color var(--transition-base);
}

.expertise-pillar:hover { border-color: rgba(212, 175, 55, 0.2); }

.expertise-pillar__number {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: var(--fw-black);
	color: rgba(212, 175, 55, 0.15);
	line-height: 1;
	flex-shrink: 0;
	min-width: 2.5ch;
	transition: color var(--transition-base);
	user-select: none;
}

.expertise-pillar:hover .expertise-pillar__number {
	color: rgba(212, 175, 55, 0.3);
}

.expertise-pillar__content { flex: 1; }

.expertise-pillar__title {
	font-size: var(--text-base);
	font-weight: var(--fw-semibold);
	margin-bottom: var(--space-2);
}

.expertise-pillar__text {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   3. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
	.brand-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
	.brands-expertise__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.brand-cards-grid { grid-template-columns: 1fr; }

	.brand-card__name { font-size: var(--text-xl); }
}
