/* #region REASONS */
.reasons {
	padding-top: 54px;
	padding-bottom: 60px;
	background-image: url("/img/bit-tablet-bg.jpg");
	background-size: cover;
}
.reasons__subtitle {
	color: #f1c069;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 15px;
}
.reasons__title {
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 15px;
}
.reasons__text {
	color: #fff4e1;
	font-family: "DM Sans";
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	margin-bottom: 20px;
}
.reasons__list {
	display: grid;
	grid-template-columns: auto;
	gap: 25px;
	margin-top: 25px;
}
.reasons__list-item {
	border-radius: 10px;
	background: #624733;
	padding: 30px 20px;
	min-width: 288px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s;

	&:hover {
		background-color: #f1c069;

		.reasons__list-item-title,
		.reasons__list-item-text {
			color: #09040c;
		}
	}
}
.reasons__list-item-img {
	margin-bottom: 25px;
}
.reasons__list-item-title {
	color: #f1c069;
	font-family: "DM Sans";
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	transition: color 0.3s;
}
.reasons__list-item-text {
	color: #fff4e1;
	font-family: "DM Sans";
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	transition: color 0.3s;
}
.earnings__circle-desktop {
	display: none;
}
/* #endregion REASONS */

/* #region TEAM */
.team {
	background-color: #554031;
	background-image: url(/img/team-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	padding-block: 64px 35px;

	.container {
		display: block;
		max-width: 1440px;
	}
}
.team__wrapper {
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 20px;
}
.team__subtitle {
	color: #f1c069;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 8px;
}
.team__title {
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 12px;
}
.team__text {
	color: #fff4e1;
	line-height: 1.75;
	margin-bottom: 20px;
}

.team__slider {
	width: 100%;
	max-width: 684px;
}
.team__slider-item {
	&:hover {
		.team__slider-image {
			&::before {
				background-color: #f1c069;
			}
		}
	}
}

.team__slider-image {
	display: flex;
	position: relative;
	margin-bottom: 35px;
	max-width: 300px;
	margin-inline: auto;
	z-index: 1;

	&::before {
		content: "";
		position: absolute;
		left: 0px;
		bottom: 0px;
		right: 0px;
		width: 100%;
		height: 75%;
		background-color: #795a42;
		z-index: -1;
		border-radius: 20px;
		-webkit-transition: all 0.3s ease-in;
		transition: all 0.3s ease-in;
	}
}

.team__slider-img {
	margin-left: auto;
}

.team__slider-content {
	max-width: 300px;
	margin-inline: auto;
}

.team__slider-name {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.team__slider-position {
	color: #ffd78f;
	line-height: 1.75;
}

.team__slider-next {
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	cursor: pointer;
	border: none;
	outline: none;
	background-color: #f1c069;
	padding: 10px 18px;
	border-radius: 10px;
	transition: background-color 0.3s;
	z-index: 2;

	&:hover {
		background-color: #e9b250;
	}
}

/* #endregion TEAM */

/* #region FAQ */
.faq {
	background-color: #322318;
	background-image: url(/img/faq-bg.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-position: left bottom;
	background-size: contain;
	padding-block: 54px 60px;
}

.faq__content {
	text-align: center;
}

.faq__subtitle {
	color: #f1c069;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 8px;
}
.faq__title {
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 5px;
}
.faq__text {
	color: #fff4e1;
	line-height: 1.75;
	margin-bottom: 20px;
}

.faq__accordion {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 600px;
	margin: 0 auto;
	overflow: hidden;
}

.faq__accordion-item {
	background: #c28a61;
	box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.13) inset;
	border-radius: 10px;
}

.faq__accordion-header {
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;
	padding: 16px 18px 18px 12px;
	gap: 30px;
	text-align: start;
	cursor: pointer;
	color: #09040c;
	border-radius: 10px;

	font-size: 18px;
	font-weight: 700;
	line-height: 1.44;
	transition: background-color 0.2s;

	&:hover {
		background-color: #f1c069;
	}

	&.active {
		.faq__accordion-icon {
			&::before {
				opacity: 0;
			}
		}
	}
}

.faq__accordion-icon {
	display: flex;
	position: relative;
	border-radius: 50%;
	background: linear-gradient(90deg, #775844 50%, #543f30 50%);
	width: 28px;
	height: 28px;
	flex-shrink: 0;

	&::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 16px;
		height: 2px;
		background: #fff;
		transition: transform 0.3s;
	}

	&::before {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 2px;
		height: 16px;
		background: #fff;
		transition: transform 0.3s, opacity 0.3s;
	}
}

.faq__accordion-content {
	display: flex;
	gap: 12px;
	flex-direction: column;
	max-height: 0;
	overflow: hidden;
	background-color: #5e472f;
	color: #fff4e1;
	line-height: 1.75;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	transition: max-height 0.4s ease, padding 0.4s ease;
}

/* #endregion FAQ */

/* #region TESTIMONIAL */
.testimonial {
	background-color: #543f30;
	background-image: url(/img/testimonial-bg.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom center;
	padding-block: 54px 60px;

	.container {
		display: block;
	}
}
.testimonial__content {
	text-align: center;
}
.testimonial__subtitle {
	color: #f1c069;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 8px;
}
.testimonial__title {
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 8px;
}
.testimonial__text {
	color: #fff4e1;
	line-height: 1.75;
	margin-bottom: 22px;
}
.testimonial__slider-wrapper {
	.testimonial__slider-item {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		min-height: -webkit-fill-available;
		padding: 26px 20px;
		border-radius: 10px;
		background: #624733;
		box-shadow: 0 0 10px 0 rgba(35, 25, 17, 0.2);
	}
}

.testimonial__slider-stars {
	display: flex;
	gap: 4px;
	padding-block: 6px;
	margin-bottom: 6px;
}
.testimonial__slider-text {
	color: #fff4e1;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.55;
}

.testimonial__slider-avatar-wrapper {
	display: flex;
	gap: 20px;
	align-items: center;
	padding-top: 20px;
	margin-top: 16px;
	border-top: 2px solid rgba(241, 192, 105, 0.4);
}

.testimonial__slider-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;

	img {
		border-radius: 50%;
	}
}

.testimonial__slider-name {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.33;
	margin-bottom: 4px;
}
.testimonial__slider-country {
	color: #fff;
	line-height: 1.75;
}
/* #endregion TESTIMONIAL */

@media screen and (min-width: 744px) {
	.reasons__list-item {
		max-width: 306px;

		&:nth-child(1) {
			max-height: 270px;
			transform: translateY(0);
		}

		&:nth-child(3) {
			transform: translateY(-25px);
		}
	}
	.reasons__list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 20px;
	}
	.reasons .container {
		align-items: start;
		justify-content: space-between;
		padding-bottom: 30px;
	}
	.reasons__list {
		gap: 25px;
	}

	.faq__text {
		max-width: 684px;
		margin-bottom: 25px;
	}
	.faq__accordion-header {
		padding: 22px 20px;
		font-size: 24px;
		line-height: 1.3;
	}
	.faq__accordion-icon {
		width: 35px;
		height: 35px;
	}
	.testimonial__slider {
		.swiper-slide {
			transition: transform 0.3s, scale 0.3s;
			transform: scale(0.9);
		}

		.swiper-slide-active {
			transform: scale(1);
			z-index: 2;
		}
	}
}

@media screen and (min-width: 1440px) {
	.reasons {
		padding-block: 120px;
		background-image: url("/img/bit-desktop-bg.jpg");
	}
	.reasons .container {
		flex-direction: row;
		align-items: center;
	}
	.reasons__subtitle {
		font-size: 32px;
		line-height: 1.35;
	}
	.reasons__title {
		font-size: 57px;
		margin-bottom: 20px;
	}
	.reasons__text {
		font-size: 18px;
		line-height: 1.66;
		margin-bottom: 35px;
	}
	.reasons__list-item {
		&:nth-child(1) {
			transform: translateY(90px);
		}
		&:nth-child(3) {
			transform: translateY(70px);
		}
	}
	.team {
		padding-block: 120px 90px;
	}
	.team__wrapper {
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}
	.team__content {
		max-width: 640px;
		width: 100%;
	}
	.team__subtitle {
		font-size: 32px;
		line-height: 1.3;
		margin-bottom: 10px;
	}
	.team__title {
		font-size: 57px;
		margin-bottom: 20px;
	}
	.team__text {
		font-size: 18px;
		line-height: 1.65;
		margin-bottom: 35px;
	}
	.faq {
		padding-block: 110px 120px;
		background-attachment: fixed;
	}
	.faq__subtitle {
		font-size: 32px;
		line-height: 1.3;
	}
	.faq__title {
		font-size: 57px;
		line-height: 1.3;
	}
	.faq__text {
		font-size: 18px;
		max-width: 750px;
		margin-bottom: 53px;
		line-height: 1.65;
	}
	.faq__accordion {
		max-width: 830px;
	}
	.faq__accordion-header {
		padding: 22px 20px;
		font-size: 24px;
		line-height: 1.3;
	}
	.faq__accordion-icon {
		width: 35px;
		height: 35px;
	}
	.faq__accordion-content {
		font-size: 18px;
	}

	.testimonial {
		background-size: auto;
		padding-block: 110px 120px;
	}
	.testimonial__content {
		max-width: 867px;
		margin-inline: auto;
	}
	.testimonial__subtitle {
		font-size: 32px;
		line-height: 1.3;
	}
	.testimonial__title {
		font-size: 57px;
	}
	.testimonial__text {
		font-size: 18px;
		margin-bottom: 25px;
	}

	.testimonial__slider-wrapper {
		.testimonial__slider-item {
			padding: 26px 30px;
			justify-content: center;
		}
	}
	.testimonial__slider-stars {
		margin-bottom: 14px;
	}
	.testimonial__slider-text {
		font-size: 26px;
		line-height: 1.4;
	}
	.testimonial__slider-avatar-wrapper {
		padding-top: 14px;
		margin-top: 28px;
	}
}
