/* =========================================================
 * Tech Resolve — Website FAQ
 * ======================================================= */

.tr-website-faq {
	padding:
		clamp(105px, 10vw, 175px)
		var(--tr-gutter);

	color: #0c1912;

	background: #f4f6f3;
}


.tr-website-faq__shell {
	width: min(100%, var(--tr-container));
	margin: 0 auto;
}


/* =========================================================
 * Header
 * ======================================================= */

.tr-website-faq__header {
	display: grid;
	grid-template-columns:
		minmax(0, 1.12fr)
		minmax(330px, .88fr);
	align-items: end;
	gap: clamp(50px, 8vw, 120px);

	margin-bottom: 65px;
}


.tr-website-faq__eyebrow {
	display: block;

	margin-bottom: 17px;

	color: #08b95d;

	font-size: 9px;
	font-weight: 800;
	letter-spacing: .15em;
}


.tr-website-faq__header h2 {
	max-width: 880px;
	margin: 0;

	font-size: clamp(43px, 5.2vw, 74px);
	font-weight: 800;
	line-height: .99;
	letter-spacing: -.053em;
}


.tr-website-faq__intro > p {
	margin: 0;

	color: #69756e;

	font-size: 14px;
	line-height: 1.78;
}


.tr-website-faq__intro > div {
	display: flex;
	align-items: center;
	justify-content: space-between;

	margin-top: 26px;
	padding-top: 15px;

	border-top:
		1px solid #dce3df;
}


.tr-website-faq__intro span {
	color: #96a09a;

	font-size: 8px;
	font-weight: 800;
	letter-spacing: .12em;
}


.tr-website-faq__intro strong {
	color: #08b95d;

	font-size: 10px;
}


/* =========================================================
 * Console
 * ======================================================= */

.tr-website-faq__console {
	overflow: hidden;

	background: #fff;

	border:
		1px solid #dfe5e1;

	border-radius: 23px;

	box-shadow:
		0 30px 90px rgba(10,28,18,.06);
}


.tr-website-faq__console-head,
.tr-website-faq__console-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	min-height: 52px;
	padding: 0 20px;

	color: #929d97;

	background: #f8faf8;

	font-size: 8px;
	font-weight: 800;
	letter-spacing: .12em;
}


.tr-website-faq__console-head {
	border-bottom:
		1px solid #e3e8e5;
}


.tr-website-faq__console-head > div {
	display: flex;
	align-items: center;
	gap: 7px;

	color: #08b95d;
}


.tr-website-faq__console-head i {
	width: 6px;
	height: 6px;

	background: #19e078;

	border-radius: 50%;
}


/* =========================================================
 * Questions
 * ======================================================= */

.tr-website-faq__item {
	border-bottom:
		1px solid #e4e9e6;
}


.tr-website-faq__item:last-child {
	border-bottom: 0;
}


.tr-website-faq__question {
	display: grid !important;
	grid-template-columns:
		55px
		minmax(0, 1fr)
		38px;
	align-items: center;
	gap: 18px;

	width: 100% !important;
	min-height: 91px !important;
	margin: 0 !important;
	padding: 0 22px !important;

	color: #142119 !important;
	text-align: left !important;

	background: transparent !important;

	border: 0 !important;
	border-radius: 0 !important;

	box-shadow: none !important;
	outline: none;

	cursor: pointer;
}


.tr-website-faq__question:hover,
.tr-website-faq__question:focus,
.tr-website-faq__question:active {
	color: #142119 !important;

	background:
		linear-gradient(
			90deg,
			rgba(25,224,120,.04),
			transparent
		) !important;

	border: 0 !important;

	box-shadow: none !important;
}


.tr-website-faq__number {
	color: #08b95d;

	font-size: 9px;
	font-weight: 800;
}


.tr-website-faq__question strong {
	font-size:
		clamp(15px, 1.4vw, 19px);

	font-weight: 700;
	line-height: 1.25;
}


/* =========================================================
 * State
 * ======================================================= */

.tr-website-faq__state {
	position: relative;

	display: block;

	width: 34px;
	height: 34px;

	background: #f4f7f5;

	border:
		1px solid #dfe6e2;

	border-radius: 50%;
}


.tr-website-faq__state > i,
.tr-website-faq__state > span {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 10px;
	height: 1px;

	background: #08b95d;

	transform:
		translate(-50%, -50%);

	transition:
		transform 180ms var(--tr-ease);
}


.tr-website-faq__state > span {
	transform:
		translate(-50%, -50%)
		rotate(90deg);
}


.tr-website-faq__item.is-active
.tr-website-faq__state > span {
	transform:
		translate(-50%, -50%)
		rotate(0);
}


/* =========================================================
 * Answer
 * ======================================================= */

.tr-website-faq__answer {
	display: grid;

	grid-template-rows: 0fr;

	transition:
		grid-template-rows 240ms var(--tr-ease);
}


.tr-website-faq__answer > div {
	overflow: hidden;
}


.tr-website-faq__answer p {
	max-width: 850px;
	margin:
		0
		70px
		0
		95px;
	padding: 0;

	color: #6b7770;

	font-size: 12px;
	line-height: 1.78;

	transition:
		padding 240ms var(--tr-ease);
}


.tr-website-faq__item.is-active
.tr-website-faq__answer {
	grid-template-rows: 1fr;
}


.tr-website-faq__item.is-active
.tr-website-faq__answer p {
	padding-bottom: 30px;
}


/* =========================================================
 * Bottom
 * ======================================================= */

.tr-website-faq__console-bottom {
	justify-content: center;

	border-top:
		1px solid #e3e8e5;
}


.tr-website-faq__console-bottom i {
	width: 24px;
	height: 1px;

	background: #ccd6d0;
}


@media (max-width: 780px) {

	.tr-website-faq__header {
		grid-template-columns: 1fr;
	}


	.tr-website-faq__question {
		grid-template-columns:
			34px
			minmax(0, 1fr)
			32px;

		gap: 10px;

		padding:
			0 13px !important;
	}


	.tr-website-faq__answer p {
		margin:
			0 45px;
	}

}