/* Homepage FAQ accordion section */

.gd-home-faq {
	position: relative;
	padding: var(--gd-home-section-space) 0;
	background: linear-gradient(180deg, #F8F8F6 0%, #F0F0EE 100%);
	overflow: hidden;
}

.gd-home-faq::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 18%, rgba(var(--gd-primary-rgb), 0.08), transparent 42%),
		radial-gradient(circle at 88% 82%, rgba(var(--gd-secondary-rgb), 0.05), transparent 38%);
	pointer-events: none;
}

.gd-home-faq__inner,
.gd-home-faq .gd-home-faq__inner.container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-inline: clamp(1rem, 3vw, 4rem);
}

.gd-home-faq__header {
	margin-bottom: clamp(32px, 5vw, 52px);
}

.gd-home-faq__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 18px;
	color: #D33618;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gd-home-faq__eyebrow-line {
	display: inline-block;
	width: 42px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(var(--gd-primary-rgb), 0), #E73F1E);
}

.gd-home-faq--ltr .gd-home-faq__eyebrow-line {
	background: linear-gradient(90deg, #E73F1E, rgba(var(--gd-primary-rgb), 0));
}

.gd-home-faq__heading.gd-section-heading {
	margin-bottom: 0;
}

.gd-home-faq__accordion {
	display: grid;
	gap: 14px;
	width: 100%;
	max-width: none;
	margin: 0;
}

.gd-home-faq__item {
	border-radius: 18px;
	background: #ffffff;
	box-shadow:
		0 10px 28px rgba(var(--gd-secondary-rgb), 0.06),
		0 1px 0 rgba(var(--gd-secondary-rgb), 0.04);
	border: 1px solid rgba(var(--gd-secondary-rgb), 0.06);
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.gd-home-faq__item.is-active {
	border-color: rgba(var(--gd-primary-rgb), 0.35);
	box-shadow:
		0 16px 36px rgba(var(--gd-secondary-rgb), 0.08),
		0 0 0 1px rgba(var(--gd-primary-rgb), 0.12);
}

.gd-home-faq__item-heading {
	margin: 0;
}

.gd-home-faq__trigger {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 20px 22px;
	border: 0;
	background: transparent;
	color: #1F2A3A;
	font: inherit;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	font-weight: 700;
	line-height: 1.45;
	text-align: inherit;
	cursor: pointer;
}

.gd-home-faq__trigger:focus-visible {
	outline: 2px solid #E73F1E;
	outline-offset: 3px;
	border-radius: 14px;
}

.gd-home-faq__trigger-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(var(--gd-secondary-rgb), 0.05);
	color: #1F2A3A;
	transition:
		background-color 0.25s ease,
		color 0.25s ease;
}

.gd-home-faq__item.is-active .gd-home-faq__trigger-icon {
	background: rgba(var(--gd-primary-rgb), 0.12);
	color: #D33618;
}

.gd-home-faq__trigger-text {
	min-width: 0;
}

.gd-home-faq__trigger-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(var(--gd-secondary-rgb), 0.04);
	color: #475569;
	transition:
		transform 0.28s ease,
		background-color 0.25s ease,
		color 0.25s ease;
}

.gd-home-faq__item.is-active .gd-home-faq__trigger-chevron {
	transform: rotate(180deg);
	background: rgba(var(--gd-primary-rgb), 0.14);
	color: #D33618;
}

.gd-home-faq__panel {
	overflow: hidden;
}

.gd-home-faq__panel[hidden] {
	display: none;
}

.gd-home-faq__answer {
	padding: 0 22px 22px 80px;
	color: #475569;
	font-size: 1rem;
	line-height: 1.75;
}

.gd-home-faq--ltr .gd-home-faq__answer {
	padding: 0 80px 22px 22px;
}

.gd-home-faq__answer p {
	margin: 0 0 0.85em;
}

.gd-home-faq__answer p:last-child {
	margin-bottom: 0;
}

.gd-home-faq__answer a {
	color: #1F2A3A;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.gd-home-faq__answer a:hover {
	color: #E73F1E;
}

@media (max-width: 767px) {
	.gd-home-faq__trigger {
		padding: 16px 16px;
		gap: 12px;
	}

	.gd-home-faq__trigger-icon {
		width: 38px;
		height: 38px;
	}

	.gd-home-faq__answer,
	.gd-home-faq--ltr .gd-home-faq__answer {
		padding: 0 16px 18px 16px;
	}
}
