/* SGE — Clients page */
.elementor-element-sgecli00,
.elementor-element-sgecli00 .e-con,
.elementor-element-sgecli00 .elementor-widget-container {
	overflow: visible !important;
	background-color: #f5f5f5 !important;
}

.sge-clients {
	--sge-clients-bg: #f5f5f5;
	--sge-clients-surface: #ffffff;
	--sge-clients-text: #1a1a1a;
	--sge-clients-muted: rgba(26, 26, 26, 0.62);
	--sge-clients-gold: #f2e90d;
	--sge-clients-border: rgba(26, 26, 26, 0.1);
	background: var(--sge-clients-bg);
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.sge-clients__inner {
	max-width: 76rem;
	margin: 0 auto;
	padding-inline: clamp(1.25rem, 4vw, 4.375rem);
}

.sge-clients__hero {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sge-clients__eyebrow {
	margin: 0 0 0.75rem;
	color: var(--sge-clients-gold);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(0.72rem, 1.1vw, 0.8125rem);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sge-clients__title {
	margin: 0 0 1rem;
	color: var(--sge-clients-text);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2.75rem, 6vw, 4.25rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sge-clients__lead {
	margin: 0 0 1.75rem;
	max-width: 42rem;
	color: var(--sge-clients-muted);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.65;
}

.sge-clients__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	max-width: 36rem;
}

.sge-clients__stat {
	margin: 0;
	padding: 1rem 1.15rem;
	border: 1px solid var(--sge-clients-border);
	background: var(--sge-clients-surface);
}

.sge-clients__stat dt {
	margin: 0 0 0.35rem;
	color: var(--sge-clients-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sge-clients__stat dd {
	margin: 0;
	color: var(--sge-clients-text);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1;
}

.sge-clients__filters {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem 0.6rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.sge-clients__filter {
	width: auto;
	justify-content: center;
	text-align: center;
	cursor: pointer;
}

.sge-clients__body {
	display: block;
}

.sge-clients__panel {
	min-width: 0;
}

.sge-clients__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
	gap: 1rem;
}

.sge-clients__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--sge-clients-border);
	background: var(--sge-clients-surface);
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sge-clients__card:hover,
.sge-clients__card:focus-visible {
	border-color: #f2e90d;
	box-shadow: 0 8px 20px rgba(26, 26, 26, 0.06);
	transform: translateY(-2px);
}

.sge-clients__card.is-hidden {
	display: none;
}

.sge-clients__logo {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	margin-bottom: 0.85rem;
	overflow: hidden;
	border: 1px dashed rgba(26, 26, 26, 0.12);
	background: #fafafa;
	box-sizing: border-box;
}

.sge-clients__logo img {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: auto;
	height: auto;
	max-width: calc(100% - 2.5rem);
	max-height: calc(100% - 2rem);
	transform: translate(-50%, -50%);
	object-fit: contain;
	object-position: center center;
}

.sge-clients__meta {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.sge-clients__name {
	margin: 0 0 0.35rem;
	color: var(--sge-clients-text);
	font-family: "DM Sans", sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
}

.sge-clients__sector {
	margin: 0;
	color: var(--sge-clients-text);
	font-family: "DM Sans", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sge-clients__empty {
	margin: 1.5rem 0 0;
	color: var(--sge-clients-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.875rem;
	line-height: 1.55;
}

@media (max-width: 768px) {
	.sge-clients__body {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.sge-clients__filters {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 0.25rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.sge-clients__filter {
		width: auto;
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

@media (max-width: 640px) {
	.sge-clients__stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: none;
		gap: 0.5rem;
	}

	.sge-clients__stat {
		padding: 0.75rem 0.45rem;
		text-align: center;
	}

	.sge-clients__stat dt {
		font-size: 0.625rem;
		letter-spacing: 0.06em;
	}

	.sge-clients__stat dd {
		font-size: clamp(1.35rem, 6.5vw, 1.75rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sge-clients__card {
		transition: none;
	}
}
