/* ================================
   DG FAQ
================================ */

.dg-faq {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding: 96px 20px;
	overflow: hidden;
	background: var(--dg-bg, #1c1c1c);
	color: var(--dg-text, #ffffff);
}

.dg-faq,
.dg-faq * {
	box-sizing: border-box;
}

.dg-faq-inner {
	width: min(100%, 1120px);
	margin: 0 auto;
}

.dg-faq-header {
	max-width: 920px;
	margin: 0 auto 54px;
	text-align: center;
}

.dg-faq-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	margin-bottom: 34px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	font-family: var(--dg-font-body, "Montserrat", Arial, sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.dg-faq-title {
	margin: 0;
	color: #ffffff;
	font-family: var(--dg-font-heading, "TT Firs Neue", "Montserrat", Arial, sans-serif);
	font-size: clamp(42px, 4.2vw, 56px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-wrap: balance;
}

.dg-faq-description {
	max-width: 680px;
	margin: 26px auto 0;
	color: var(--dg-text-muted, rgba(255, 255, 255, 0.62));
	font-family: var(--dg-font-body, "Montserrat", Arial, sans-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.55;
	text-wrap: balance;
}

.dg-faq-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
}

.dg-faq-item {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)),
		rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 18px;
	box-shadow:
		0 18px 54px rgba(0, 0, 0, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		box-shadow 180ms ease;
}

.dg-faq-item[open] {
	border-color: rgba(17, 228, 79, 0.22);
	background-color: rgba(255, 255, 255, 0.045);
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.24),
		0 0 42px rgba(17, 228, 79, 0.035),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.dg-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	min-height: 78px;
	padding: 0 26px;
	color: #ffffff;
	font-family: var(--dg-font-heading, "TT Firs Neue", "Montserrat", Arial, sans-serif);
	font-size: clamp(18px, 1.6vw, 24px);
	font-weight: 500;
	line-height: 1.22;
	letter-spacing: 0;
	cursor: pointer;
	list-style: none;
}

.dg-faq-question::-webkit-details-marker {
	display: none;
}

.dg-faq-question span:first-child {
	min-width: 0;
}

.dg-faq-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: #ffffff;
	transition:
		color 180ms ease,
		transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dg-faq-icon::before,
.dg-faq-icon::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.dg-faq-icon::after {
	transform: rotate(90deg);
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dg-faq-item[open] .dg-faq-icon {
	color: var(--dg-accent, #11e44f);
	transform: rotate(180deg);
}

.dg-faq-item[open] .dg-faq-icon::after {
	transform: rotate(0deg);
}

.dg-faq-answer {
	max-width: 880px;
	padding: 0 26px 28px;
	color: var(--dg-text-muted, rgba(255, 255, 255, 0.68));
	font-family: var(--dg-font-body, "Montserrat", Arial, sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.65;
}

.dg-faq-answer p {
	margin: 0;
}

.dg-faq-answer p + p,
.dg-faq-answer ul,
.dg-faq-answer ol {
	margin-top: 12px;
}

.dg-faq-answer a {
	color: var(--dg-accent, #11e44f);
	text-decoration: none;
}

.dg-faq-answer a:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.dg-faq {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
		padding: 72px 14px;
	}

	.dg-faq-header {
		margin-bottom: 38px;
	}

	.dg-faq-label {
		min-height: 38px;
		margin-bottom: 24px;
		padding: 0 16px;
		font-size: 13px;
	}

	.dg-faq-title {
		font-size: clamp(38px, 11vw, 56px);
		line-height: 1;
	}

	.dg-faq-description {
		margin-top: 20px;
		font-size: 15.5px;
	}

	.dg-faq-list {
		gap: 14px;
	}

	.dg-faq-item {
		border-radius: 16px;
	}

	.dg-faq-question {
		min-height: 68px;
		padding: 0 18px;
		gap: 18px;
		font-size: 18px;
	}

	.dg-faq-answer {
		padding: 0 18px 22px;
		font-size: 15px;
		line-height: 1.6;
	}

	.dg-faq-icon {
		flex-basis: 20px;
		width: 20px;
		height: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dg-faq-item,
	.dg-faq-icon,
	.dg-faq-icon::after {
		transition: none;
	}
}
