/* ===========================================================================
   Greenhouse Logo Marquee
   Continuous logo carousel for public WordPress/Elementor surfaces.
   =========================================================================== */

.gh-logo-marquee {
	--gh-logo-marquee-duration: 44s;
	--gh-logo-marquee-gap: clamp(52px, 3.8vw, 58px);
	--gh-logo-marquee-logo-height: 38px;
	--gh-logo-marquee-fade: 3.5%;
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	contain: paint;
}

.gh-logo-marquee--slow {
	--gh-logo-marquee-duration: 56s;
}

.gh-logo-marquee--fast {
	--gh-logo-marquee-duration: 34s;
}

.gh-logo-marquee--compact {
	--gh-logo-marquee-logo-height: 32px;
	--gh-logo-marquee-gap: clamp(34px, 2.5vw, 42px);
}

.gh-logo-marquee--large {
	--gh-logo-marquee-logo-height: 42px;
	--gh-logo-marquee-gap: clamp(60px, 4vw, 72px);
}

.gh-aeo-why-logo-marquee-wrap {
	width: min(1200px, calc(100vw - 40px)) !important;
	max-width: min(1200px, calc(100vw - 40px)) !important;
	margin-top: clamp(32px, 2.8vw, 46px) !important;
	margin-inline: auto !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-logo-marquee-widget,
.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-logo-marquee-widget > .elementor-widget-container,
.gh-aeo-why-logo-marquee-wrap .gh-logo-marquee {
	width: 100%;
	max-width: 100%;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-logo-title-widget {
	margin-bottom: clamp(16px, 1.25vw, 22px) !important;
}

.gh-aeo-section-title h2 span,
.gh-aeo-section-title h2 mark,
.gh-aeo-main-title h1 span,
.gh-aeo-main-title h1 mark,
.gh-aeo-why-reference-layout .gh-aeo-section-header h2 .gh-aeo-why-title-accent,
.gh-aeo-why-reference-layout .gh-aeo-section-header h2 span {
	letter-spacing: inherit !important;
}

.gh-aeo-why-reference-layout .gh-aeo-why-objection-widget h3,
.gh-aeo-why-reference-layout .elementor-element-whybuil h3 {
	letter-spacing: 0 !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-proof h3 {
	margin: 0 !important;
	color: #101b2c;
	font-family: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1.18rem, 1.22vw, 1.42rem);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: 0;
	text-wrap: balance;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-logo-marquee-widget {
	margin-bottom: 0 !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-logo-meta-widget {
	margin-top: clamp(12px, 1vw, 16px) !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-proof-meta {
	display: flex;
	justify-content: center;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-proof-meta span,
.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-proof-meta b,
.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-proof-meta em,
.gh-aeo-why-logo-marquee-wrap .gh-aeo-why-proof-meta i {
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit !important;
	letter-spacing: 0;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-height: 48px;
	padding: 5px 16px 5px 6px;
	border: 1px solid rgba(18, 48, 75, 0.075) !important;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.52) !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.72) inset,
		0 8px 18px rgba(18, 48, 75, 0.035) !important;
	color: #526477;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 0.9rem;
	font-weight: 620;
	line-height: 1.1;
	letter-spacing: 0;
	position: relative;
	overflow: visible;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof::before {
	content: none;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-avatars {
	display: inline-flex;
	align-items: center;
	isolation: isolate;
	padding-inline-end: 2px;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc {
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	border: 2px solid rgba(255, 255, 255, 0.96) !important;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.94)) !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.86) inset,
		0 5px 12px rgba(18, 48, 75, 0.09),
		0 0 0 1px rgba(18, 48, 75, 0.05) !important;
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease, z-index 160ms ease;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc + .gh-aeo-brand-proof-disc {
	margin-left: -9px !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc:nth-child(1) {
	z-index: 3;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc:nth-child(2) {
	z-index: 2;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc:nth-child(3) {
	z-index: 1;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc:nth-child(4) {
	z-index: 0;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc:hover {
	z-index: 5;
	transform: translateY(-2px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.88) inset,
		0 9px 18px rgba(18, 48, 75, 0.12),
		0 0 0 1px rgba(18, 48, 75, 0.08) !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc img {
	display: block;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: none;
	opacity: 1;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--berel img {
	max-width: 28px;
	max-height: 28px;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--sky img {
	max-width: 32px;
	max-height: 19px;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--bresler img {
	max-width: 34px;
	max-height: 16px;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc.gh-aeo-brand-proof-disc--count {
	width: 40px;
	height: 40px;
	margin-left: -14px !important;
	background:
		linear-gradient(180deg, rgba(246, 250, 252, 0.99), rgba(226, 235, 242, 0.98)) !important;
	color: #6f8193 !important;
	font-size: 0 !important;
	font-weight: 700;
	letter-spacing: 0;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.92) inset,
		0 5px 12px rgba(18, 48, 75, 0.08),
		0 0 0 1px rgba(18, 48, 75, 0.1) !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--count span {
	position: absolute !important;
	display: block !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	max-height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	transform: none !important;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--count::after {
	content: "+90";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.71rem;
	font-weight: 580;
	line-height: 1;
	color: #7a8998;
	transform: translateX(4px);
	pointer-events: none;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy b {
	color: #12304b !important;
	font-size: 0.98rem;
	font-weight: 760 !important;
	letter-spacing: 0;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy em {
	color: #566a7f !important;
	font-size: 0.89rem;
	font-style: normal;
	font-weight: 620;
	letter-spacing: 0;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-separator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1px;
	height: 18px;
	border-radius: 0;
	background: rgba(82, 100, 119, 0.24);
	box-shadow: none;
	color: transparent !important;
	font-size: 0;
	line-height: 0;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy--countries {
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy--countries em {
	color: #12304b !important;
	font-size: 0.82rem;
	font-weight: 680;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy--countries .gh-aeo-brand-proof-world {
	color: #12304b;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy--countries .gh-aeo-brand-proof-world {
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-world {
	width: 16px;
	height: 16px;
	display: block;
	flex: 0 0 auto;
	color: #6b7d90;
}

.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-world :where(circle, path) {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gh-logo-marquee-viewport {
	overflow: hidden;
	width: 100%;
	padding-block: 12px;
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--gh-logo-marquee-fade),
		#000 calc(100% - var(--gh-logo-marquee-fade)),
		transparent 100%
	);
	mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--gh-logo-marquee-fade),
		#000 calc(100% - var(--gh-logo-marquee-fade)),
		transparent 100%
	);
}

.gh-logo-marquee-track {
	display: flex;
	width: max-content;
	will-change: transform;
	animation: gh-logo-marquee-scroll var(--gh-logo-marquee-duration) linear infinite;
}

.gh-logo-marquee:where(:hover, :focus-within) .gh-logo-marquee-track {
	animation-play-state: paused;
}

.gh-logo-marquee-set {
	display: flex;
	align-items: center;
	gap: var(--gh-logo-marquee-gap);
	padding-inline-end: var(--gh-logo-marquee-gap);
}

.gh-logo-marquee-item {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	opacity: 1;
	transform: translateZ(0);
	transition: opacity 180ms ease, transform 180ms ease;
}

.gh-logo-marquee .gh-logo-marquee-item,
.elementor-widget-greenhouse_logo_marquee .gh-logo-marquee-item,
.gh-aeo-why-logo-marquee-widget .gh-logo-marquee-item {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: 0 !important;
}

.gh-logo-marquee-item:where(:hover, :focus-within) {
	opacity: 1;
	transform: translate3d(0, -2px, 0);
}

.gh-logo-marquee-item img {
	display: block;
	max-width: 158px;
	max-height: var(--gh-logo-marquee-logo-height);
	width: auto;
	height: auto;
	object-fit: contain;
	filter:
		grayscale(1)
		saturate(0.4)
		brightness(0.66)
		contrast(1.12)
		drop-shadow(0 1px 1px rgba(2, 42, 78, 0.1));
	opacity: 0.88;
	transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.gh-logo-marquee-item:where(:hover, :focus-within) img {
	filter:
		grayscale(0.72)
		saturate(0.55)
		brightness(0.72)
		contrast(1.12)
		drop-shadow(0 1px 1px rgba(2, 42, 78, 0.14));
	opacity: 1;
}

.gh-logo-marquee-item--square img {
	max-width: calc(var(--gh-logo-marquee-logo-height) + 16px);
	max-height: calc(var(--gh-logo-marquee-logo-height) + 16px);
}

.gh-logo-marquee-item--sky img {
	max-width: 122px;
}

.gh-logo-marquee-item--berel img {
	max-width: calc(var(--gh-logo-marquee-logo-height) + 18px);
}

.gh-logo-marquee-item--marca-chile img {
	max-width: 92px;
	max-height: calc(var(--gh-logo-marquee-logo-height) + 10px);
}

.gh-logo-marquee-item--gobierno-santiago img {
	max-width: 132px;
}

.gh-logo-marquee-item--befun img {
	max-width: 118px;
}

.gh-logo-marquee-item--aguas-andinas img {
	max-width: 132px;
}

.gh-logo-marquee-item--universidad-temuco img {
	max-width: 150px;
}

@keyframes gh-logo-marquee-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-33.333%, 0, 0);
	}
}

@media (max-width: 767px) {
	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof {
		gap: 7px;
		min-height: 48px;
		max-width: calc(100vw - 48px);
		padding: 6px 8px 6px 6px;
		font-size: 0.86rem;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc {
		width: 32px;
		height: 32px;
		border-width: 2px !important;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc + .gh-aeo-brand-proof-disc {
		margin-left: -8px !important;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--berel img {
		max-width: 23px;
		max-height: 23px;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--sky img {
		max-width: 25px;
		max-height: 15px;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--bresler img {
		max-width: 27px;
		max-height: 13px;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc.gh-aeo-brand-proof-disc--count {
		width: 32px;
		height: 32px;
		margin-left: -11px !important;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc--count::after {
		inset: 0;
		font-size: 0.58rem;
		transform: translateX(3px);
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy {
		gap: 4px;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy b {
		font-size: 0.98rem;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-copy em {
		font-size: 0.74rem;
		line-height: 1.12;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-world {
		width: 14px;
		height: 14px;
	}

	.gh-logo-marquee {
		--gh-logo-marquee-duration: 38s;
		--gh-logo-marquee-logo-height: 30px;
		--gh-logo-marquee-gap: 24px;
		--gh-logo-marquee-fade: 5%;
		max-width: 100%;
	}

	.gh-logo-marquee-item img {
		max-width: 118px;
	}

	.gh-logo-marquee-item--gobierno-santiago img {
		max-width: 106px;
	}

	.gh-logo-marquee-item--universidad-temuco img {
		max-width: 122px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc {
		transition: none;
	}

	.gh-aeo-why-logo-marquee-wrap .gh-aeo-brand-proof-disc:hover {
		transform: none;
	}

	.gh-logo-marquee-viewport {
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.gh-logo-marquee-track {
		width: 100%;
		animation: none;
	}

	.gh-logo-marquee-set {
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		padding-inline-end: 0;
	}

	.gh-logo-marquee-set[aria-hidden='true'] {
		display: none;
	}
}
