/* FAQ Accordion for Elementor — Frontend Styles */

.fae-faq {
	--fae-accent: #5B4FE9;
	--fae-success: #16A34A;
	--fae-ink: #1A1A2E;
	--fae-muted: #6B7280;
	box-sizing: border-box;
	max-width: 900px;
	margin: 0 auto;
	font-family: inherit;
}

.fae-faq *,
.fae-faq *::before,
.fae-faq *::after {
	box-sizing: border-box;
}

/* Hard reset so the active theme's global typography spacing
   (p/h2/ul margins etc.) can't inject extra vertical gaps here. */
.fae-faq p,
.fae-faq h1,
.fae-faq h2,
.fae-faq h3,
.fae-faq h4,
.fae-faq h5,
.fae-faq h6,
.fae-faq ul,
.fae-faq li {
	margin: 0 !important;
	padding: 0;
}

.fae-faq button {
	margin: 0;
	font: inherit;
}

/* Header */
.fae-faq__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.fae-faq__header-left {
	flex: 1 1 340px;
	min-width: 0;
}

.fae-faq__eyebrow {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--fae-accent);
	background: color-mix(in srgb, var(--fae-accent) 12%, white);
	border: 1px solid color-mix(in srgb, var(--fae-accent) 30%, white);
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}

.fae-faq__title {
	font-size: 32px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--fae-ink);
	margin: 0 0 10px !important;
}

.fae-faq__subtitle {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--fae-muted);
	margin: 0 !important;
	max-width: 520px;
}

.fae-faq__badge {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: color-mix(in srgb, var(--fae-accent) 6%, white);
	border: 1px solid color-mix(in srgb, var(--fae-accent) 20%, white);
	padding: 14px 18px;
	border-radius: 14px;
	max-width: 260px;
}

.fae-faq__badge-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--fae-accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.fae-faq__badge-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fae-faq__badge-copy strong {
	font-size: 13.5px;
	color: var(--fae-ink);
	font-weight: 700;
}

.fae-faq__badge-copy small {
	font-size: 12px;
	color: var(--fae-muted);
	line-height: 1.4;
}

/* Accordion list */
.fae-faq__list {
	display: flex;
	flex-direction: column;
}

.fae-faq__item {
	background: #F8F9FC;
	border-radius: 14px;
	overflow: hidden;
	transition: background-color 0.25s ease;
}

.fae-faq__item.is-active {
	background: #EEECFD;
}

.fae-faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 18px 22px;
	text-align: left;
	font-family: inherit;
}

.fae-faq__question-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.fae-faq__question-icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	color: var(--fae-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.fae-faq__item.is-active .fae-faq__question-icon {
	background: var(--fae-accent);
	color: #fff;
}

.fae-faq__question-text {
	font-size: 16px;
	font-weight: 600;
	color: var(--fae-ink);
	line-height: 1.4;
}

.fae-faq__chevron {
	flex: 0 0 auto;
	color: var(--fae-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.fae-faq__item.is-active .fae-faq__chevron {
	transform: rotate(180deg);
}

.fae-faq__panel {
	padding: 0 22px 22px 68px;
}

.fae-faq__panel-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.fae-faq__answer {
	flex: 1 1 260px;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--fae-muted);
}

.fae-faq__illustration {
	flex: 0 0 auto;
	max-width: 220px;
}

.fae-faq__illustration img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* Support box */
.fae-faq__support {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 28px;
	padding: 20px 24px;
	border-radius: 16px;
	background: #F0FDF4;
	border: 1px solid #BBF7D0;
}

.fae-faq__support-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.fae-faq__support-icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--fae-success);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.fae-faq__support-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fae-faq__support-copy strong {
	font-size: 15px;
	color: var(--fae-ink);
	font-weight: 700;
}

.fae-faq__support-copy small {
	font-size: 13px;
	color: var(--fae-muted);
}

.fae-faq__support-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.fae-faq__support-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--fae-success);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 10px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.fae-faq__support-btn:hover {
	opacity: 0.9;
}

.fae-faq__support-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--fae-muted);
}

.fae-faq__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--fae-success);
	display: inline-block;
}

/* Footnote */
.fae-faq__footnote {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #E5E7EB;
}

.fae-faq__footnote-icon {
	color: var(--fae-accent);
	font-size: 13px;
	line-height: 1.6;
}

.fae-faq__footnote p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--fae-muted);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
	.fae-faq__title {
		font-size: 28px;
	}

	.fae-faq__badge {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.fae-faq__header {
		flex-direction: column;
		gap: 16px;
	}

	.fae-faq__title {
		font-size: 24px;
	}

	.fae-faq__subtitle {
		max-width: 100%;
	}

	.fae-faq__badge {
		max-width: 100%;
		width: 100%;
	}

	.fae-faq__question {
		padding: 15px 16px;
	}

	.fae-faq__question-text {
		font-size: 14.5px;
	}

	.fae-faq__question-icon {
		width: 28px;
		height: 28px;
		font-size: 12px;
	}

	.fae-faq__panel {
		padding: 0 16px 18px 58px;
	}

	.fae-faq__illustration {
		display: none;
	}

	.fae-faq__support {
		flex-direction: column;
		align-items: stretch;
	}

	.fae-faq__support-right {
		align-items: stretch;
	}

	.fae-faq__support-btn {
		justify-content: center;
	}

	.fae-faq__support-status {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.fae-faq__panel {
		padding-left: 16px;
	}

	.fae-faq__question-left {
		gap: 10px;
	}
}
