/* ==========================================================================
   GF Clients - Slider widget
   ========================================================================== */

/* Navy background + photo at low opacity (Figma: 6%) */
.gf-clients {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: var(--gf-navy);
	color: var(--gf-white);
}

.gf-clients::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--gf-cli-bg, none);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	opacity: var(--gf-cli-bg-opacity, .06);
	pointer-events: none;
}

@media (min-width: 1200px) {
	.gf-clients::before {
		background-size: 100% auto;
		background-position: center 71.6%;
	}
}

/* Content follows Elementor Site Settings → Layout width */
.gf-clients__inner {
	max-width: calc(var(--gf-site-width) + var(--gf-site-pad-l) + var(--gf-site-pad-r));
	margin: 0 auto;
	padding: 0 var(--gf-site-pad-r) 0 var(--gf-site-pad-l);
}

/* Header */
.gf-clients__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 60px;
	text-align: center;
}

.gf-clients__title {
	margin: 0;
	font-family: var(--gf-font-alt);
	font-size: 64px;
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: -1.28px;
	color: var(--gf-white);
}

.gf-clients__subtitle {
	max-width: 1050px;
	margin: 0;
	font-family: var(--gf-font-body);
	font-size: 18px;
	line-height: 1.43;
	letter-spacing: -.36px;
	color: #e2e2e2;
}

/* Slider — slides run past the right edge (section clips them) */
.gf-clients__slider.swiper {
	overflow: visible;
	margin-left: 28px;
}

.gf-clients__slider .swiper-slide {
	width: 65.88%;
	height: auto;
}

/* Card */
.gf-client-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 360px;
	margin: 0;
	padding: 45px 54px 40px 71px;
	background-color: var(--gf-navy);
	border: 1px solid #3e35af;
	border-radius: 11px;
}

.gf-client-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	min-height: 52px;
}

.gf-client-card__quote {
	display: block;
	flex-shrink: 0;
	transform: rotate(180deg);
}

.gf-client-card__stars {
	position: relative;
	display: inline-block;
	flex-shrink: 0;
	margin-top: -14px;
	margin-left: auto;
	line-height: 0;
}

.gf-client-card__stars img {
	display: block;
	max-width: none;
}

.gf-client-card__stars-base {
	opacity: .25;
}

.gf-client-card__stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--gf-rating, 100%);
	height: 100%;
	overflow: hidden;
}

.gf-client-card__text {
	max-width: 1045px;
	margin: 33px 0 0;
	padding: 0;
	border: 0;
	font-family: var(--gf-font-body);
	font-size: 20px;
	font-style: normal;
	line-height: 32.59px;
	color: var(--gf-white);
}

.gf-client-card__author {
	display: flex;
	align-items: flex-end;
	gap: 13px;
	margin-top: auto;
	padding-top: 36px;
}

.gf-client-card__avatar {
	position: relative;
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 51px;
	height: 51px;
	overflow: hidden;
	background-color: #e02828;
	border-radius: 50%;
	box-shadow: -5.658px 1.414px 4.809px rgba(0, 0, 0, .05);
}

.gf-client-card__avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.gf-client-card__initials {
	font-family: var(--gf-font-alt);
	font-size: 18px;
	font-weight: 600;
	color: var(--gf-white);
}

.gf-client-card__meta {
	display: flex;
	flex-direction: column;
}

.gf-client-card__name {
	font-family: var(--gf-font-alt);
	font-size: 25.069px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.5px;
	color: var(--gf-white);
}

.gf-client-card__role {
	font-family: var(--gf-font-alt);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -.3px;
	color: #8881d5;
}

/* Arrows */
.gf-clients__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 19px;
}

.gf-clients__arrow {
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	padding: 0;
	border: 1px solid;
	border-radius: 50%;
	cursor: pointer;
	transition: transform .2s ease, opacity .2s ease;
}

.gf-clients__arrow img {
	display: block;
	pointer-events: none;
}

.gf-clients__arrow--prev,
.gf-clients__arrow--prev:hover,
.gf-clients__arrow--prev:focus {
	background-color: var(--gf-white);
	border-color: var(--gf-white);
}

.gf-clients__arrow--prev img {
	transform: rotate(180deg);
}

.gf-clients__arrow--next,
.gf-clients__arrow--next:hover,
.gf-clients__arrow--next:focus {
	background-color: #2a2282;
	border-color: #433ba1;
}

.gf-clients__arrow:hover {
	transform: scale(1.06);
}

.gf-clients__arrow:focus-visible {
	outline: 2px solid var(--gf-white);
	outline-offset: 3px;
}

.gf-clients__arrow.swiper-button-disabled {
	cursor: default;
	opacity: .45;
	transform: none;
}

/* Responsive */
@media (max-width: 1440px) {
	.gf-clients__title {
		font-size: 56px;
	}

	.gf-client-card {
		padding: 40px 44px 36px 52px;
	}

	.gf-client-card__text {
		font-size: 18px;
		line-height: 30px;
	}
}

@media (max-width: 1024px) {
	.gf-clients__slider.swiper {
		margin-left: 0;
	}

	.gf-client-card {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.gf-clients__head {
		margin-bottom: 36px;
	}

	.gf-clients__title {
		font-size: 40px;
		letter-spacing: -.8px;
	}

	.gf-clients__subtitle {
		font-size: 15px;
	}

	.gf-client-card {
		padding: 28px 22px;
	}

	.gf-client-card__quote {
		width: 36px;
		height: auto;
	}

	.gf-client-card__stars img {
		width: 100px;
		height: auto;
	}

	.gf-client-card__stars {
		margin-top: 0;
	}

	.gf-client-card__text {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.6;
	}

	.gf-client-card__author {
		padding-top: 24px;
	}

	.gf-client-card__name {
		font-size: 20px;
	}

	.gf-clients__arrow {
		width: 56px;
		height: 56px;
	}
}
