.judev-faq-compact {
	--judev-faq-accent: #453ec1;
	--judev-faq-ink: #10172b;
	--judev-faq-muted: #586078;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(22px, 2.4vw, 34px);
	border: 1px solid rgba(17, 23, 43, 0.1);
	border-radius: 20px;
	background: linear-gradient(146deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
	box-shadow: 0 20px 46px rgba(12, 20, 39, 0.1);
}

.judev-faq-compact::before {
	content: "";
	position: absolute;
	inset-inline-start: -90px;
	top: -120px;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(69, 62, 193, 0.16) 0%, rgba(69, 62, 193, 0) 72%);
	z-index: -1;
}

.judev-faq-compact__inner {
	max-width: 980px;
	margin: 0 auto;
}

.judev-faq-compact__head {
	text-align: center;
	margin-bottom: 18px;
}

.judev-faq-compact__heading {
	margin: 0 0 10px;
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.14;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--judev-faq-ink);
	text-wrap: balance;
}

.judev-faq-compact__desc {
	margin: 0 auto;
	max-width: 68ch;
	font-size: 15px;
	line-height: 1.85;
	color: var(--judev-faq-muted);
}

.judev-faq-compact__list {
	display: grid;
	gap: 12px;
}

.judev-faq-compact__item {
	border: 1px solid rgba(17, 23, 43, 0.1);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(12, 20, 39, 0.06);
	transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
	animation: judeFaqItemIn 0.56s ease both;
}

.judev-faq-compact__item:nth-child(2) {
	animation-delay: 0.07s;
}

.judev-faq-compact__item:nth-child(3) {
	animation-delay: 0.13s;
}

.judev-faq-compact__item:nth-child(4) {
	animation-delay: 0.19s;
}

.judev-faq-compact__item:nth-child(5) {
	animation-delay: 0.25s;
}

.judev-faq-compact__item.is-open,
.judev-faq-compact__item:hover {
	border-color: rgba(69, 62, 193, 0.3);
	box-shadow: 0 14px 28px rgba(12, 20, 39, 0.1);
}

.judev-faq-compact__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 18px;
	border: 0;
	background: transparent;
	color: #11172b;
	text-align: right;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
	cursor: pointer;
}

.judev-faq-compact__question i {
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(69, 62, 193, 0.12);
	color: var(--judev-faq-accent);
	font-size: 12px;
	transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.judev-faq-compact__item.is-open .judev-faq-compact__question i {
	transform: rotate(45deg);
	background: var(--judev-faq-accent);
	color: #fff;
}

.judev-faq-compact__answer-wrap {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.28s ease;
}

.judev-faq-compact__answer {
	padding: 0 18px 16px;
	font-size: 14px;
	line-height: 1.85;
	color: #59617a;
}

.judev-faq-compact__footer {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}

.judev-faq-compact__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--judev-faq-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 14px 26px rgba(69, 62, 193, 0.32);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.judev-faq-compact__more:hover {
	color: #fff;
	transform: translateY(-2px);
	filter: brightness(0.95);
	box-shadow: 0 18px 30px rgba(69, 62, 193, 0.4);
}

@keyframes judeFaqItemIn {
	0% {
		opacity: 0;
		transform: translateY(12px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.judev-faq-compact {
		padding: 18px;
		border-radius: 16px;
	}

	.judev-faq-compact__question {
		padding: 14px 14px;
		font-size: 16px;
	}

	.judev-faq-compact__answer {
		padding: 0 14px 14px;
	}

	.judev-faq-compact__more {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.judev-faq-compact__item,
	.judev-faq-compact__answer-wrap,
	.judev-faq-compact__question i,
	.judev-faq-compact__more {
		animation: none !important;
		transition: none !important;
	}
}
