.c-reviews {
	padding: 6rem 0;
	position: relative;
	overflow: hidden;

	&::before {
		content: '';
		mask-image: url('/app/themes/mezcalito/blocks/reviews/reviews-bg.svg');
		mask-repeat: no-repeat;
		mask-size: 100% 100%;
		background-color: var(--reviews-bg);
		display: block;
		width: 37.7rem;
		height: 35.6rem;
		position: absolute;
		bottom: -8rem;

		@media (min-width: 768px) {
			left: 0;
		}

		@media (max-width: 767px) {
			left: -6rem;
		}
	}
}

.c-reviews.visible {
	@media (min-width: 1024px) {
		.c-reviews__title {
			animation: slideUp 600ms ease both;
		}

		.c-reviews__swiper-wrapper {
			animation: slideUp 600ms 450ms ease both;
		}

		.c-reviews__swiper-pagination {
			animation: fadeIn 600ms 850ms ease both;
		}
	}
}

.c-reviews__swiper-pagination,
.c-reviews__title,
.c-reviews__swiper-wrapper {
	@media (min-width: 1024px) {
		opacity: 0;
	}
}

.c-reviews__inner {
	display: flex;
	flex-direction: column;
	gap: 5rem;
}

.c-reviews__swiper {
	max-width: 78rem;
	overflow: visible !important;
	display: flex !important;
	flex-direction: column;
	width: 100%;
}

.c-reviews__swiper-wrapper {
	position: relative;

	&::after {
		content: '';
		mask-image: url('/app/themes/mezcalito/blocks/reviews/reviews.svg');
		mask-repeat: no-repeat;
		mask-size: 100% 100%;
		background-color: var(--reviews-svg);
		display: block;
		width: 4.4rem;
		height: 2.5rem;
		position: absolute;
		top: -1.25rem;
		left: 50%;
		transform: translateX(-50%);
	}
}

.c-reviews__swiper-slide {
	height: auto !important;
}

.c-reviews__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.07);
	background-color: var(--card-bg);
	height: 100%;
	text-align: center;
	border-radius: var(--card-radius);
	padding: 5rem;
}

.c-reviews__quote {
	font-size: 2.2rem;
	line-height: 3.5rem;
	font-weight: 700;
	font-family: var(--font-secondary);
	margin: 0;
	padding: 0;
	border: 0;
}

.c-reviews__author-infos {
	font-size: 1.4rem;
	line-height: 2.1rem;
}

.c-reviews__author-name {
	font-weight: 700;
}