.bfa-testimonials-showcase,
.bfa-testimonials-showcase * {
	box-sizing: border-box;
	font-family: inherit;
}

.bfa-testimonials-showcase {
	--bfa-text-strong: #5f4747;
	--bfa-text-base: #745656;
	--bfa-border: #f0d7dd;
	--bfa-border-soft: #f7e8eb;
	--bfa-white: #ffffff;
	--bfa-primary: #ef5874;
	--bfa-primary-soft: #fff0f4;
	--bfa-secondary: #59c4bf;
	--bfa-secondary-soft: #eefaf9;
	--bfa-star: #f4b63d;
	--bfa-shadow-soft: 0 28px 70px rgba(188, 138, 150, 0.18);
	--bfa-shadow-card: 0 16px 44px rgba(177, 154, 154, 0.18);
	--bfa-shadow-button: 0 8px 20px rgba(177, 154, 154, 0.14);
	position: relative;
	width: 100%;
	padding: 20px 10px 16px;
	color: var(--bfa-text-strong);
}

.bfa-testimonials-showcase button {
	font: inherit;
}

.bfa-testimonials-showcase__switcher {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 28px;
}

.bfa-testimonials-showcase__source {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--bfa-white);
	color: var(--bfa-text-base);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bfa-testimonials-showcase__source:hover {
	transform: translateY(-1px);
	box-shadow: var(--bfa-shadow-button);
}

.bfa-testimonials-showcase__source.is-active[data-bfa-group-trigger="google"] {
	border-color: #c6ece9;
	background: var(--bfa-secondary-soft);
	color: var(--bfa-secondary);
}

.bfa-testimonials-showcase__source.is-active[data-bfa-group-trigger="internal"] {
	border-color: #f7ccd5;
	background: var(--bfa-primary-soft);
	color: var(--bfa-primary);
}

.bfa-testimonials-showcase__source-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}

.bfa-testimonials-showcase__source-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.bfa-testimonials-showcase__source-icon img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.bfa-testimonials-showcase__source-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--bfa-primary);
	box-shadow: 0 0 0 5px rgba(239, 88, 116, 0.12);
}

.bfa-testimonials-showcase__source-label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.bfa-testimonials-showcase__frame {
	position: relative;
	padding: 52px 44px 74px;
	border: 2px solid var(--bfa-border-soft);
	border-radius: 30px;
	background: #fffdfd;
	box-shadow: var(--bfa-shadow-soft);
}

.bfa-testimonials-showcase__card {
	position: relative;
	padding: 42px 44px 36px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: var(--bfa-shadow-card);
}

.bfa-testimonials-showcase__card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
}

.bfa-testimonials-showcase__card.is-google::before {
	box-shadow: inset 0 1px 0 rgba(89, 196, 191, 0.35);
}

.bfa-testimonials-showcase__card.is-internal::before {
	box-shadow: inset 0 1px 0 rgba(239, 88, 116, 0.3);
}

.bfa-testimonials-showcase__card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 26px;
}

.bfa-testimonials-showcase__brand-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 2px solid rgba(89, 196, 191, 0.24);
	border-radius: 22px;
	background: var(--bfa-secondary-soft);
	box-shadow: 0 12px 28px rgba(89, 196, 191, 0.14);
}

.bfa-testimonials-showcase__brand-icon svg {
	width: 34px;
	height: 34px;
}

.bfa-testimonials-showcase__brand-icon img {
	width: 34px;
	height: 34px;
	display: block;
	object-fit: contain;
}

.bfa-testimonials-showcase__google-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.bfa-testimonials-showcase__internal-mark {
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.bfa-testimonials-showcase__internal-mark-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--bfa-primary);
	box-shadow: 0 0 0 6px rgba(239, 88, 116, 0.12);
}

.bfa-testimonials-showcase__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	padding: 10px 16px;
	border: 2px solid rgba(89, 196, 191, 0.24);
	border-radius: 999px;
	background: var(--bfa-secondary-soft);
	color: var(--bfa-secondary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
}

.bfa-testimonials-showcase__badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
}

.bfa-testimonials-showcase__badge-icon svg {
	width: 100%;
	height: 100%;
}

.bfa-testimonials-showcase__badge-icon img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.bfa-testimonials-showcase__badge-icon .bfa-testimonials-showcase__internal-mark-dot {
	width: 8px;
	height: 8px;
	box-shadow: 0 0 0 3px rgba(239, 88, 116, 0.12);
}

.bfa-testimonials-showcase__stars {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 24px;
	color: var(--bfa-star);
	font-size: 28px;
	line-height: 1;
}

.bfa-testimonials-showcase__quote {
	margin: 0 0 24px;
	max-width: 100%;
	color: var(--bfa-text-base);
}

.bfa-testimonials-showcase__quote p {
	margin: 0;
	font-size: clamp(21px, 1.95vw, 29px);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.03em;
}

.bfa-testimonials-showcase__author {
	margin: 0;
	color: var(--bfa-text-strong);
	font-size: clamp(18px, 1.25vw, 22px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.03em;
}

.bfa-testimonials-showcase__controls {
	position: absolute;
	right: 0;
	bottom: 16px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8px;
}

.bfa-testimonials-showcase__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 2px solid var(--bfa-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--bfa-text-base);
	cursor: pointer;
	box-shadow: var(--bfa-shadow-button);
	transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bfa-testimonials-showcase__arrow:hover {
	transform: translateY(-1px);
	border-color: rgba(89, 196, 191, 0.45);
	color: var(--bfa-secondary);
}

.bfa-testimonials-showcase__arrow span {
	font-size: 28px;
	line-height: 1;
	transform: translateY(-2px);
}

.bfa-testimonials-showcase__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 auto;
	padding: 0 14px;
}

.bfa-testimonials-showcase__dot {
	width: 12px;
	height: 12px;
	border: 0;
	border-radius: 50%;
	background: #e9d9dd;
	cursor: pointer;
	padding: 0;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.bfa-testimonials-showcase__dot:hover {
	transform: scale(1.08);
}

.bfa-testimonials-showcase__dot.is-active {
	background: var(--bfa-primary);
}

.bfa-testimonials-showcase__card.is-internal .bfa-testimonials-showcase__badge {
	border-color: rgba(239, 88, 116, 0.2);
	background: var(--bfa-primary-soft);
	color: var(--bfa-primary);
}

.bfa-testimonials-showcase__card.is-internal .bfa-testimonials-showcase__brand-icon {
	border-color: rgba(239, 88, 116, 0.2);
	background: var(--bfa-primary-soft);
}

.bfa-testimonials-showcase__card.is-internal .bfa-testimonials-showcase__google-mark {
	display: none;
}

.bfa-testimonials-showcase__card.is-internal .bfa-testimonials-showcase__internal-mark {
	display: inline-flex;
}

@media (max-width: 1024px) {
	.bfa-testimonials-showcase {
		padding-inline: 0;
	}

	.bfa-testimonials-showcase__frame {
		padding: 28px 20px 82px;
		border-radius: 24px;
	}

	.bfa-testimonials-showcase__card {
		padding: 28px 20px 28px;
		border-radius: 22px;
	}

	.bfa-testimonials-showcase__card-header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 20px;
	}

	.bfa-testimonials-showcase__brand-icon {
		width: 64px;
		height: 64px;
		border-radius: 20px;
	}

	.bfa-testimonials-showcase__stars {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.bfa-testimonials-showcase {
		padding-top: 16px;
	}

	.bfa-testimonials-showcase__switcher {
		gap: 10px;
		margin-bottom: 20px;
	}

	.bfa-testimonials-showcase__source {
		width: 100%;
		justify-content: center;
		padding: 10px 16px;
	}

	.bfa-testimonials-showcase__frame {
		padding: 18px 14px 76px;
		border-radius: 20px;
	}

	.bfa-testimonials-showcase__card {
		padding: 20px 16px 22px;
		border-radius: 20px;
	}

	.bfa-testimonials-showcase__badge {
		padding: 9px 12px;
		font-size: 10px;
		letter-spacing: 0.14em;
	}

	.bfa-testimonials-showcase__quote p {
		font-size: 18px;
		line-height: 1.45;
	}

	.bfa-testimonials-showcase__author {
		font-size: 16px;
	}

	.bfa-testimonials-showcase__controls {
		bottom: 12px;
		padding: 0 2px;
	}

	.bfa-testimonials-showcase__arrow {
		width: 46px;
		height: 46px;
	}

	.bfa-testimonials-showcase__arrow span {
		font-size: 24px;
	}

	.bfa-testimonials-showcase__dots {
		gap: 6px;
		padding: 0 8px;
	}

	.bfa-testimonials-showcase__dot {
		width: 10px;
		height: 10px;
	}
}
