/* Sekcja 9 – FAQ (ciemny blok) */

.profilio-faq {
	background: #020617; /* very dark slate */
	color: #e5e7eb;
	padding: 72px 16px 80px;
	font-family: Poppins !important;
}

.profilio-faq__inner {
	max-width: 1120px;
	margin: 0 auto;
}

.profilio-faq__header {
	max-width: 720px;
	margin-bottom: 40px;
}

.profilio-faq__eyebrow {
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
	color: #a5f3fc;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.profilio-faq__title {
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.25;
	font-weight: 600;
	color: #f9fafb;
	margin: 0 0 8px;
}

.profilio-faq__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #9ca3af;
}

.profilio-faq__group {
	margin-top: 32px;
}

.profilio-faq__group-title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 600;
	color: #d1d5db;
}

.profilio-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.profilio-faq-item {
	background: rgba(15, 23, 42, 0.9);
	border-radius: 18px;
	border: 1px solid rgba(51, 65, 85, 0.8);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.profilio-faq-item--open {
	border-color: #22c55e;
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
	background: radial-gradient(
			120% 220% at 0% 0%,
			rgba(16, 185, 129, 0.16),
			transparent 45%
		),
		rgba(15, 23, 42, 0.98);
}

/* HEADER */

.profilio-faq-item__header {
	width: 100%;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: transparent;
	border: none;
	color: inherit;
	text-align: left;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 500;
	cursor: pointer;
}

.profilio-faq-item__header:focus-visible {
	outline: 2px solid #22c55e;
	outline-offset: 3px;
}

.profilio-faq-item__question {
	flex: 1 1 auto;
}

.profilio-faq-item__icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #e5e7eb;
}

.profilio-faq-item__icon::before {
	content: "+";
	transform: translateY(-1px);
}

.profilio-faq-item--open .profilio-faq-item__icon::before {
	content: "–";
	font-size: 18px;
	transform: translateY(-2px);
}

/* BODY */

.profilio-faq-item__body {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0 20px;
	border-top: 1px solid rgba(30, 41, 59, 0);
	transition:
		max-height 0.25s ease,
		opacity 0.18s ease,
		padding-top 0.25s ease,
		padding-bottom 0.25s ease,
		border-top-color 0.25s ease;
}

.profilio-faq-item--open .profilio-faq-item__body {
	max-height: 680px; /* wystarczy dla naszych odpowiedzi */
	opacity: 1;
	padding-top: 4px;
	padding-bottom: 18px;
	border-top-color: rgba(30, 41, 59, 1);
}

.profilio-faq-item__content {
	font-size: 14px;
	line-height: 1.7;
	color: #cbd5f5;
	padding-top: 6px;
}

.profilio-faq-item__content p {
	margin: 0 0 8px;
}

.profilio-faq-item__content p:last-child {
	margin-bottom: 0;
}

.profilio-faq-item__content ul,
.profilio-faq-item__content ol {
	margin: 0 0 8px 20px;
	padding: 0;
}

.profilio-faq-item__content li {
	margin-bottom: 4px;
}

/* CTA BLOK NA DOLE */

.profilio-faq__cta {
	margin-top: 40px;
	padding: 20px 20px 22px;
	border-radius: 22px;
	border: 1px solid rgba(45, 212, 191, 0.4);
	background: radial-gradient(
			140% 200% at 0% 0%,
			rgba(16, 185, 129, 0.16),
			transparent 55%
		),
		rgba(15, 23, 42, 0.95);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.profilio-faq__cta-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
	color: #ecfdf5;
}

.profilio-faq__cta-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #9ca3af;
}

.profilio-faq__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.profilio-faq__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	text-decoration: none;
	transition:
		background-color 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease;
}

.profilio-faq__btn--primary {
	background: #22c55e;
	color: #022c22;
	border: 1px solid #22c55e;
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.profilio-faq__btn--primary:hover {
	background: #16a34a;
	border-color: #16a34a;
	box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.profilio-faq__btn--ghost {
	background: transparent;
	color: #e5e7eb;
	border: 1px solid rgba(148, 163, 184, 0.7);
}

.profilio-faq__btn--ghost:hover {
	background: rgba(15, 23, 42, 0.9);
	border-color: #e5e7eb;
}

/* RESPONSYWNE */

@media (min-width: 768px) {
	.profilio-faq {
		padding: 80px 24px 96px;
	}

	.profilio-faq__group {
		margin-top: 40px;
	}

	.profilio-faq__cta {
		padding: 22px 26px;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
