/* #region HEADER */
.header {
	padding-block: 30px 55px;
}

.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header__menu {
	display: flex;
	gap: 94px;
}

.header__link {
	position: relative;
	font-size: var(--text-18);
	transition: color var(--transition);

	&::before {
		content: "";
		position: absolute;
		width: 100%;
		height: 4px;
		border-radius: 4px;
		background-color: var(--primary);
		bottom: -3px;
		left: 0;
		transform-origin: right;
		transform: scaleX(0);
		transition: transform 0.3s ease-in-out;
	}

	&:hover {
		color: var(--primary);

		&::before {
			transform-origin: left;
			transform: scaleX(1);
		}
	}
}

.header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 30px;
	height: 24px;
	cursor: pointer;

	.header__burger-line {
		display: block;
		width: 100%;
		height: 3px;
		background-color: currentColor;
		border-radius: 2px;
		transition: color var(--transition);
	}

	&:hover .header__burger-line {
		color: var(--primary);
	}
}

@media (max-width: 1199.98px) {
	.header__menu {
		gap: 50px;
	}
}

@media (max-width: 991px) {
	.header {
		padding-block: 56px 120px;
	}
	.header__menu {
		gap: 35px;
	}
}

@media (max-width: 768px) {
	.header {
		padding-block: 18px 20px;
	}
	.header__nav {
		display: none;
	}
	.header__burger {
		display: flex;
	}
	.header__logo {
		width: 98px;
		height: 55px;
	}
}

@media (max-width: 576px) {
}

/* #endregion Header */

/* #region HERO SECTION */
.hero {
	padding-bottom: 30px;
}

.hero__container {
	display: flex;
	gap: 40px;
}

.hero__content {
	flex: 1 1 780px;
}

.hero__title {
	margin-bottom: 20px;
}

.hero__description-wrapper {
	max-width: 518px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 40px;
}

.hero__trustpilot {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: var(--text-10);
}

@media (max-width: 991px) {
	.hero {
		padding-bottom: 60px;
	}
	.hero__container {
		flex-direction: column;
	}

	.hero__cta-wrapper {
		display: flex;
		align-items: flex-end;
		gap: 55px;
	}
	.hero__trustpilot {
		margin-top: 0;
	}

	.hero__content {
		flex: 1 1 100%;
	}
	.hero__description {
		font-size: var(--text-18);
	}
}
@media (max-width: 768px) {
	.hero {
		padding-bottom: 40px;
	}
	.hero__description-wrapper {
		max-width: 100%;
	}
	.hero__cta-wrapper {
		gap: 20px;
		flex-direction: column;
		align-items: center;
	}

	.hero__cta {
		max-width: 397px;
		padding: 12px 6px;
	}

	.hero__trustpilot {
		flex-direction: row;
		justify-content: space-between;
		width: 100%;
	}

	.hero__trustpilot-reviews {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}
	.hero__description {
		font-size: var(--text-16);
	}
}

/* #endregion HERO SECTION */

/* #region TESTIMONIALS */
.testimonial {
	padding-block: 64px 40px;
}

.testimonial__container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}

.testimonial__content {
	flex: 1 1 55%;
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-width: 550px;
}

.testimonial__person {
	display: flex;
	align-items: center;
	gap: 46px;
	margin-bottom: 75px;
}

.testimonial__image {
	width: 186px;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial__heading {
	line-height: var(--lh-12);
}

.testimonial__quote {
	&:not(:last-child) {
		margin-bottom: 70px;
	}
}

.calculator {
	flex: 1 1 40%;
	background: var(--dark-50);
	padding: 30px;
	border-radius: var(--radius-15);
	display: flex;
	flex-direction: column;
	max-width: 530px;
	width: 100%;
}

.calculator__form {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.calculator__input-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	line-height: var(--lh-12);
}

.calculator__label {
	font-size: var(--text-24);
	font-weight: var(--fw-700);
}

.calculator__input {
	height: 58px;
	border-radius: var(--radius-15);
	padding: 8px 18px;
	color: var(--gray-50);
	font-size: var(--text-18);
	font-weight: var(--fw-600);
	border: 2px solid transparent;
	transition: border-color var(--transition);

	&:hover {
		border-color: var(--green);
	}

	&:focus {
		outline: none;
		border-color: var(--primary);
	}
}

.calculator__slider {
	width: 100%;
	appearance: none;
	height: 6px;
	background: linear-gradient(
		to right,
		var(--brown) 0%,
		var(--brown) 50%,
		var(--white) 50%,
		var(--white) 100%
	);
	border-radius: var(--radius-5);
	outline: none;

	&::-webkit-slider-thumb {
		appearance: none;
		width: 20px;
		aspect-ratio: 1;
		background: var(--primary);
		border-radius: 50%;
		cursor: pointer;
		border: 6px solid var(--brown);
	}
}

.calculator__result {
	display: flex;
	justify-content: space-between;
	background: var(--white);
	padding: 54px 25px;
	border-radius: var(--radius-15);
	margin-block: 100px 40px;
	gap: 10px;
}

.calculator__box {
	.calculator__label {
		font-size: var(--text-32);
		font-weight: var(--fw-500);
		color: var(--gray-50);
	}
}

.calculator__value {
	font-size: var(--text-32);
	margin-top: 20px;
}

@media (max-width: 1299px) {
	.calculator__box {
		.calculator__label {
			font-size: var(--text-28);
		}
	}
}

@media (max-width: 1199px) {
	.testimonial__person {
		justify-content: center;
		gap: 28px;
		margin-bottom: 56px;
	}

	.testimonial__container {
		flex-direction: column;
		gap: 42px;
		align-items: center;
	}

	.testimonial__content,
	.calculator {
		max-width: 680px;
	}

	.testimonial__quote {
		text-align: center;
		&:not(:last-child) {
			margin-bottom: 20px;
		}
	}

	.calculator__cta {
		margin-inline: auto;
	}
}

@media (max-width: 992px) {
	.testimonial {
		padding-block: 56px 80px;
	}
	.testimonial__image {
		width: 116px;
	}
	.calculator__result {
		margin-block: 84px 32px;
	}
	.calculator__value {
		font-size: var(--text-28);
	}
}

@media (max-width: 768px) {
	.testimonial {
		padding-block: 42px 66px;
	}
	.testimonial__container {
		gap: 30px;
	}
	.testimonial__person {
		margin-bottom: 35px;
	}
	.testimonial__image {
		width: 84px;
	}
	.testimonial__heading {
		font-size: var(--text-24);
	}
	.testimonial__quotes {
		font-size: var(--text-16);
	}
	.testimonial__quote {
		&:not(:last-child) {
			margin-bottom: 24px;
		}
	}
	.calculator__label {
		font-size: var(--text-20);
	}
	.calculator__result {
		margin-block: 34px;
		padding: 20px 25px;
	}
	.calculator__box {
		.calculator__label {
			font-size: var(--text-24);
		}
	}
	.calculator__value {
		font-size: var(--text-24);
	}
}

@media (max-width: 575.98px) {
	.testimonial__heading {
		font-size: var(--text-20);
	}
	.testimonial__image {
		width: 64px;
	}
	.testimonial__quotes {
		font-size: var(--text-14);
	}
	.calculator {
		padding: 0;
		background-color: transparent;
	}
	.calculator__result {
		flex-direction: column;
	}
}

/* #endregion TESTIMONIALS SECTION */

/* #region GET STARTED SECTION */
.get-started {
	padding-bottom: 102px;
}

.get-started__header {
	text-align: center;
	margin-bottom: 62px;
}

.get-started__subtitle {
	font-size: var(--text-20);
	text-transform: uppercase;
}

.get-started__steps {
	display: flex;
	justify-content: space-around;
	gap: 20px;
}

.get-started__step {
	flex: 1 1 293px;
	max-width: 293px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.get-started__icon {
	width: 172px;
	aspect-ratio: 1;
	background-color: var(--bg-main);
	border-radius: 50%;
	border: var(--border-brown);
	margin-bottom: 12px;

	img {
		width: 92px;
		height: 75px;
	}
}

.get-started__heading {
	margin-bottom: 8px;
}

.get-started__text {
	text-wrap: balance;
}
@media (max-width: 1199.98px) {
	.get-started__steps {
		justify-content: space-between;
	}
}

@media (max-width: 991px) {
	.get-started {
		padding-bottom: 112px;
	}
	.get-started__steps {
		justify-content: center;
		flex-wrap: wrap;
	}
	.get-started__header {
		margin-bottom: 70px;
	}
	.get-started__icon {
		width: 127px;
		margin-bottom: 12px;
		img {
			width: 64px;
			height: 64px;
		}
	}
}

@media (max-width: 768px) {
	.get-started {
		padding-bottom: 92px;
	}
	.get-started__header {
		margin-bottom: 50px;
	}
	.get-started__subtitle {
		font-size: var(--text-18);
	}
	.get-started__steps {
		gap: 30px;
	}
	.get-started__icon {
		width: 78px;
		margin-bottom: 8px;
		img {
			width: 42px;
			height: 42px;
		}
	}
	.get-started__text {
		font-size: var(--text-16);
	}
}

@media (max-width: 575.98px) {
	.get-started__heading {
		font-size: var(--text-28);
	}
	.get-started__subtitle {
		font-size: var(--text-16);
	}
}

/* #endregion GET STARTED SECTION */

/* #region FEEDBACK SECTION */
.feedback {
	padding-bottom: 110px;
}

.feedback__header {
	margin-bottom: 18px;
	max-width: 821px;
	margin-inline: auto;
	text-align: center;
}

.feedback__subtitle {
	font-weight: var(--fw-500);
	margin-top: 4px;
}

.feedback__rating {
	text-align: center;

	.feedback__rating-stars {
		display: inline-block;
	}

	.feedback__rating--highlight {
		color: var(--green);
		font-weight: var(--fw-700);
	}
}

.feedback__slider {
	margin-top: 60px;
}

.feedback-card {
	background: var(--bg-main);
	border: var(--border-brown);
	border-radius: var(--radius-20);
	padding: 35px 30px;
	height: auto;
}

.feedback-card__name {
	font-weight: var(--fw-800);
	font-size: var(--text-22);
}

.feedback-card__stars-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-block: 8px 20px;
}

.feedback-card__stars {
	color: var(--green);
}

.feedback-card__title {
	font-size: var(--text-18);
	font-weight: var(--fw-600);
	margin-bottom: 4px;
}

.feedback-card__time,
.feedback-card__text {
	font-size: var(--text-18);
	font-weight: var(--fw-400);
}

.feedback__nav {
	display: flex;
	justify-content: space-between;
	margin-top: 60px;
}

.feedback__nav-prev,
.feedback__nav-next {
	font-size: var(--text-24);
	font-weight: var(--fw-400);
	color: var(--white);
	cursor: pointer;
	transition: color var(--transition);

	&:hover {
		color: var(--primary);
	}
}

@media (max-width: 991px) {
	.feedback {
		padding-bottom: 114px;
	}
	.feedback__header {
		margin-bottom: 12px;
	}
	.feedback__title {
		font-size: var(--text-36);
	}
	.feedback__slider {
		margin-top: 65px;
	}
	.feedback-card {
		padding: 35px 18px;
		height: 395px;
	}
	.feedback-card__name {
		font-size: var(--text-20);
	}
	.feedback__nav {
		margin-top: 40px;
	}
}

@media (max-width: 768px) {
	.feedback {
		padding-bottom: 74px;
	}

	.feedback__title {
		font-size: var(--text-30);
	}

	.feedback__subtitle {
		margin-top: 8px;
	}

	.feedback__rating {
		h4 {
			font-size: var(--text-16);
		}
		.feedback__rating-stars {
			width: 60px;
		}
	}

	.feedback__slider {
		margin-top: 42px;
	}

	.feedback-card__stars {
		width: 95px;
	}

	.feedback-card__time,
	.feedback-card__text {
		font-size: var(--text-16);
	}

	.feedback__nav-prev,
	.feedback__nav-next {
		font-size: var(--text-20);
	}
}

@media (max-width: 575.98px) {
	.feedback__title {
		font-size: var(--text-24);
	}
	.feedback__subtitle {
		font-size: var(--text-16);
	}
	.feedback__rating {
		h4 {
			font-size: var(--text-14);
		}
	}
	.feedback-card__title {
		font-size: var(--text-16);
	}
	.feedback-card__time,
	.feedback-card__text {
		font-size: var(--text-14);
	}
}

/* #endregion FEEDBACK SECTION */

/* #region FAQ SECTION */
.faq {
	padding-bottom: 130px;
}

.faq__title {
	text-align: center;
	margin-bottom: 60px;
}

.faq__item {
	max-width: 845px;
	width: 100%;
	margin-inline: auto;
	border: var(--border-gray);
	border-radius: var(--radius-20);
	margin-bottom: 30px;
	overflow: hidden;

	&:last-child {
		margin-bottom: 0;
	}
}

.faq__question {
	color: var(--brown);
	cursor: pointer;
	padding: 26px;
	width: 100%;
	text-align: left;
	font-size: var(--text-24);
	font-weight: var(--fw-600);
	transition: background-color var(--transition), color var(--transition);
	position: relative;

	&::after,
	&::before {
		content: "";
		position: absolute;
		top: 50%;
		right: 2%;
		width: 20px;
		height: 2px;
		background-color: currentColor;
		transform: translate(-50%, -50%);
		transition: transform var(--transition), background-color var(--transition);
	}

	&::before {
		transform: translate(-50%, -50%) rotate(90deg);
	}

	&.active::before {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	&:hover,
	&.active {
		background: var(--gray-50);
		color: var(--white);
	}
}

.faq__answer {
	padding-inline: 26px;
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--transition);

	p {
		font-size: var(--text-24);
		font-weight: var(--fw-400);
		padding-block: 26px;
	}
}

@media (max-width: 991px) {
	.faq {
		padding-bottom: 76px;
	}
	.faq__title {
		margin-bottom: 50px;
	}
}

@media (max-width: 768px) {
	.faq {
		padding-bottom: 38px;
	}
	.faq__title {
		margin-bottom: 32px;
	}
	.faq__question {
		font-size: var(--text-20);
		padding: 20px;
	}
	.faq__answer {
		p {
			font-size: var(--text-20);
		}
	}
}

@media (max-width: 575.98px) {
	.faq__question {
		font-size: var(--text-18);
		padding: 20px;
	}
	.faq__answer {
		p {
			font-size: var(--text-18);
			padding-block: 20px;
		}
	}
}

@media (max-width: 409px) {
	.faq__question {
		padding-right: 44px;
	}
}

/* #endregion FAQ SECTION */

/* #region FORM SECTION */
.form {
	padding-bottom: 40px;
}

@media (max-width: 991.98px) {
	.form {
		padding-bottom: 30px;
	}
}

/* #endregion FORM SECTION */

/* #region FOOTER */
.footer {
	padding-block: 40px;
}
.footer__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	gap: 16px;
	font-size: var(--text-18);
}

.footer__list {
	display: flex;
	gap: 60px;
}

.footer__link {
	position: relative;
	transition: color var(--transition);

	&::before {
		content: "";
		position: absolute;
		width: 100%;
		height: 4px;
		border-radius: 4px;
		background-color: var(--primary);
		bottom: -3px;
		left: 0;
		transform-origin: right;
		transform: scaleX(0);
		transition: transform 0.3s ease-in-out;
	}

	&:hover {
		color: var(--primary);

		&::before {
			transform-origin: left;
			transform: scaleX(1);
		}
	}
}

@media (max-width: 1199.98px) {
	.footer__content {
		flex-direction: column;
		gap: 26px;
	}
	.footer__description {
		order: 1;
	}
	.footer__list {
		order: -1;
		gap: 36px;
	}
}

@media (max-width: 991.98px) {
	.footer {
		padding-inline: 30px;
	}
}

@media (max-width: 768px) {
	.footer__content {
		font-size: var(--text-16);
	}
}

@media (max-width: 575.98px) {
	.footer {
		padding-inline: 16px;
	}
	.footer__content {
		font-size: var(--text-14);
	}
}
/* #endregion FOOTER */
