﻿/**
 * Clientes Althus — titular + carrusel (Figma, ref. 1920px).
 */

.elementor-widget-althus-clients,
.elementor-widget-althus-clients > .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.althus-clients {
	--althus-clients-bg: #f5f5f5;
	--althus-clients-title: #0a0a0a;
	--althus-clients-logo-max-h: 48px;
	width: 100%;
	background-color: var(--althus-clients-bg);
	box-sizing: border-box;
	font-family: var(--althus-font-family);
	overflow: hidden;
}

.althus-clients *,
.althus-clients *::before,
.althus-clients *::after {
	box-sizing: inherit;
}

.althus-clients__header-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(3rem, 7vh, 5.5rem) clamp(1.5rem, 5vw, 6rem) clamp(1.75rem, 3.5vw, 2.75rem);
}

.althus-clients__title {
	margin: 0;
	max-width: none;
	color: var(--althus-clients-title);
	font-family: var(--althus-font-family) !important;
	font-size: clamp(2rem, 5vw, 5.75rem);
	font-weight: 400 !important;
	font-style: normal;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-transform: none;
}

.althus-clients__title-line {
	display: block;
}

/* Carrusel de borde a borde */
.althus-clients__carousel-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	overflow: hidden;
}

.althus-clients__swiper {
	width: 100%;
	padding: clamp(0.75rem, 2vw, 1.5rem) 0 clamp(3rem, 6vh, 5rem);
	overflow: hidden;
}

.althus-clients__swiper .swiper-wrapper {
	align-items: center;
	transition-timing-function: linear !important;
}

.althus-clients__slide {
	width: auto;
	height: auto;
	flex-shrink: 0;
}

.althus-clients__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.25rem;
}

.althus-clients__logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
	background: transparent !important;
	box-shadow: none !important;
	transition: opacity 0.2s ease;
}

.althus-clients__logo-link:hover,
.althus-clients__logo-link:focus,
.althus-clients__logo-link:active {
	background: transparent !important;
	box-shadow: none !important;
	opacity: 0.85;
	color: inherit;
}

.althus-clients__logo-link:focus-visible {
	outline: 2px solid var(--althus-clients-title);
	outline-offset: 4px;
	border-radius: 4px;
}

.althus-clients__logo-img {
	display: block;
	width: auto;
	max-width: min(220px, 32vw);
	height: auto;
	max-height: var(--althus-clients-logo-max-h);
	object-fit: contain;
}

.althus-clients--grayscale .althus-clients__logo-img {
	filter: grayscale(100%);
	opacity: 0.78;
}

.althus-clients--grayscale .althus-clients__logo-link:hover .althus-clients__logo-img,
.althus-clients--grayscale .althus-clients__logo:hover .althus-clients__logo-img {
	opacity: 0.95;
}

@media (min-width: 1600px) {
	.althus-clients {
		--althus-clients-logo-max-h: 52px;
	}

	.althus-clients__title {
		font-size: clamp(4.5rem, 5vw, 5.75rem);
	}
}

@media (min-width: 1920px) {
	.althus-clients {
		--althus-clients-logo-max-h: 56px;
	}

	.althus-clients__header-wrap {
		padding: 5.5rem 6rem 2.75rem;
	}

	.althus-clients__title {
		font-size: 5.75rem; /* ~92px, misma escala que servicios */
		line-height: 1.02;
	}

	.althus-clients__swiper {
		padding: 1.5rem 0 5rem;
	}
}

@media (max-width: 767px) {
	.althus-clients__header-wrap {
		padding: 2.75rem 1.15rem 1.5rem;
	}

	.althus-clients__title {
		font-size: clamp(1.85rem, 8vw, 2.5rem);
	}

	.althus-clients__logo-img {
		max-width: min(150px, 42vw);
	}
}
