/* ==========================================================================
   Digital Space — Preguntas Frecuentes (acordeón)
   ========================================================================== */

.ds-faq__list {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.ds-faq__item {
	border: 1px solid var(--ds-line);
	border-radius: 16px;
	background: var(--ds-card);
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ds-faq__item.is-open {
	border-color: rgba(212, 0, 255, 0.45);
	box-shadow: 0 18px 40px -24px rgba(212, 0, 255, 0.6);
}

.ds-faq .ds-faq__q,
.ds-faq .ds-faq__q:hover,
.ds-faq .ds-faq__q:focus {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.4rem;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	text-align: left;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--ds-text);
	line-height: 1.35;
}
.ds-faq__q svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--ds-magenta);
	transition: transform 0.3s ease;
}
.ds-faq__item.is-open .ds-faq__q svg { transform: rotate(180deg); }

.ds-faq__a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}
.ds-faq__a p {
	margin: 0;
	padding: 0 1.4rem 1.25rem;
	color: var(--ds-text-dim);
	line-height: 1.65;
	font-size: 0.95rem;
}

.ds-faq__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2.4rem;
}
.ds-faq__cta .ds-btn svg { width: 18px; height: 18px; }

@media (max-width: 560px) {
	.ds-faq__q { font-size: 0.95rem; padding: 1rem 1.1rem; }
	.ds-faq__a p { padding: 0 1.1rem 1.1rem; }
	.ds-faq__cta .ds-btn { flex: 1 1 100%; justify-content: center; }
}
