/* ============================================================
   AKUSHERKA.PRO — FAQ BLOCK
   v1.0.0 · Стили для [aku_faq]
   ============================================================ */

.aku-faq {
	max-width: 860px;
	margin: 48px auto;
	padding: 0 16px;
	box-sizing: border-box;
}
.aku-faq * { box-sizing: border-box; }

/* Заголовок секции */
.aku-faq-head {
	text-align: center;
	margin-bottom: 32px;
}
.aku-faq-head h2 {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 12px !important;
	color: #2A1F1A !important;
}
.aku-faq-head h2 em {
	font-style: italic;
	color: #FF499A;
	font-weight: 400;
}
.aku-faq-lead {
	color: #5A4A41;
	font-size: 16px;
	line-height: 1.55;
	max-width: 640px;
	margin: 0 auto;
}

/* Список вопросов */
.aku-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Каждый вопрос (используем нативный <details>) */
.aku-faq-item {
	background: #FFFDFA;
	border: 1px solid rgba(224, 210, 189, 0.5);
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.aku-faq-item:hover {
	border-color: rgba(184, 105, 77, 0.3);
	box-shadow: 0 4px 16px -4px rgba(184, 105, 77, 0.1);
}
.aku-faq-item[open] {
	border-color: rgba(184, 105, 77, 0.4);
	box-shadow: 0 8px 24px -8px rgba(184, 105, 77, 0.15);
}

/* Вопрос (summary тег) */
.aku-faq-q {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	user-select: none;
	list-style: none;
	font-family: 'Fraunces', Georgia, serif;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: #2A1F1A;
	transition: background 0.18s;
}
.aku-faq-q::-webkit-details-marker { display: none; }
.aku-faq-q::marker { display: none; }
.aku-faq-q:hover {
	background: rgba(255, 73, 154, 0.03);
}

.aku-faq-q-text {
	flex: 1;
	min-width: 0;
}

.aku-faq-q-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(224, 210, 189, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8E4A33;
	transition: transform 0.25s, background 0.2s;
}
.aku-faq-q-icon svg {
	width: 16px;
	height: 16px;
}
.aku-faq-item[open] .aku-faq-q-icon {
	transform: rotate(180deg);
	background: linear-gradient(135deg, #FF499A 0%, #B8694D 100%);
	color: #FFFDFA;
}

/* Ответ */
.aku-faq-a {
	padding: 0 22px 22px;
	color: #5A4A41;
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.65;
	border-top: 1px solid rgba(224, 210, 189, 0.4);
	margin-top: 0;
	padding-top: 16px;
}
.aku-faq-a p {
	margin: 0 0 12px !important;
	color: #5A4A41 !important;
}
.aku-faq-a p:last-child {
	margin-bottom: 0 !important;
}
.aku-faq-a a {
	color: #B8694D;
	text-decoration: underline;
	text-decoration-color: rgba(184, 105, 77, 0.3);
	transition: color 0.18s, text-decoration-color 0.18s;
}
.aku-faq-a a:hover {
	color: #FF499A;
	text-decoration-color: #FF499A;
}

/* Анимация раскрытия */
.aku-faq-item:not([open]) .aku-faq-a {
	display: none;
}

/* Адаптив */
@media (max-width: 700px) {
	.aku-faq {
		margin: 32px auto;
		padding: 0 8px;
	}
	.aku-faq-q {
		padding: 16px 18px;
		font-size: 15.5px;
		gap: 12px;
	}
	.aku-faq-q-icon {
		width: 28px;
		height: 28px;
	}
	.aku-faq-q-icon svg {
		width: 14px;
		height: 14px;
	}
	.aku-faq-a {
		padding: 14px 18px 18px;
		font-size: 14.5px;
	}
}
