/* =========================================================
   FAQ PAGE — BASE
========================================================= */

.nk-faq-page {
	padding: 0 20px 35px;
	background: var(--al-comment-bg);
	color: var(--al-comment-text);
	font-family: "Samim", sans-serif;
}

.nk-faq-page *,
.nk-faq-page *::before,
.nk-faq-page *::after {
	box-sizing: border-box;
}

.nk-faq-shell {
	width: min(100%, var(--al-comment-max-width));
	margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.nk-faq-hero {
	position: relative;
	padding: 38px 0 32px;
	background:
		radial-gradient(
			circle at 15% 20%,
			rgba(223, 243, 239, 0.8) 0%,
			rgba(223, 243, 239, 0) 36%
		),
		linear-gradient(
			180deg,
			var(--al-comment-bg-soft) 0%,
			var(--al-comment-bg) 100%
		);
	text-align: center;
}

.nk-faq-hero::after {
	display: block;
	width: 142px;
	height: 3px;
	margin: 5px auto 0;
	border-radius: var(--al-comment-radius-pill);
	background: var(--al-comment-warm);
	content: "";
}

.nk-faq-kicker,
.nk-faq-section-heading__label,
.nk-faq-cta__eyebrow {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 32px !important;
	padding: 6px 14px !important;
	border: 1px solid rgba(47, 155, 142, 0.18) !important;
	border-radius: var(--al-comment-radius-pill) !important;
	background: var(--al-comment-accent-soft) !important;
	color: var(--al-comment-accent-dark) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

.nk-faq-hero h1 {
	max-width: 700px;
	margin: 17px auto 13px;
	color: var(--al-comment-text);
	font-family: "Sahel", sans-serif;
	font-size: clamp(15px, 4.5vw, 22px);
	font-weight: 800;
	line-height: 1.5;
}

.nk-faq-cta__inner p:nth-of-type(1) {
	font-weight: 600;
}

.nk-faq-hero p {
	max-width: var(--al-comment-max-width-narrow);
	margin: 0 auto;
	color: var(--al-comment-text-soft);
	font-size: 16px;
	line-height: 2.15;
}

.nk-faq-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	color: var(--al-comment-accent-strong);
	font-weight: 700;
	text-decoration: none;
	transition:
		color var(--al-comment-transition-fast),
		transform var(--al-comment-transition-fast);
}

.nk-faq-text-link:hover {
	color: var(--al-comment-accent-dark);
	transform: translateY(-2px);
}

.nk-faq-text-link:focus-visible,
.nk-faq-cta__button:focus-visible {
	outline: 3px solid rgba(47, 155, 142, 0.3);
	outline-offset: 4px;
}

.nk-faq-text-link svg,
.nk-faq-cta__button svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transform: scaleX(-1);
}


/* =========================================================
   FAQ CONTENT
========================================================= */

.nk-faq-content {
	padding: 32px 0 35px;
	background: var(--al-comment-bg);
}

.nk-faq-section-heading {
	max-width: var(--al-comment-max-width-narrow);
	margin: 0 auto 28px;
	text-align: center;
}

.nk-faq-section-heading h2 {
	margin: 14px 0 10px;
	color: var(--al-comment-text);
	font-family: "Sahel", sans-serif;
	font-size: clamp(14px, 3vw, 22px);
	font-weight: 800;
	line-height: 1.55;
}

.nk-faq-section-heading p {
	margin: 0 auto;
	color: var(--al-comment-text-muted);
	font-size: 15px;
	line-height: 2.1;
}

.nk-faq-list {
	display: grid;
	gap: 13px;
	max-width: 800px;

    -webkit-tap-highlight-color: transparent; /* حذف باکس آبی در اندروید و iOS */
    outline: none; /* حذف خط دور (Focus Ring) در مرورگرهای خاص */
    user-select: none; /* جلوگیری از انتخاب شدن متن هنگام لمس سریع */
}

.nk-faq-item {
	overflow: hidden;
	border: var(--al-comment-line);
	border-radius: var(--al-comment-radius-md);
	background: var(--al-comment-surface);
	box-shadow: var(--al-comment-shadow-xs);
	transition:
		border-color var(--al-comment-transition),
		box-shadow var(--al-comment-transition),
		transform var(--al-comment-transition);
}

.nk-faq-item:hover {
	transform: translateY(-2px);
	border-color: var(--al-comment-border-strong);
	box-shadow: var(--al-comment-shadow-sm);
}

.nk-faq-item.is-open {
	border-color: rgba(47, 155, 142, 0.5);
	box-shadow: var(--al-comment-shadow-md);
}

.nk-faq-item__heading {
	margin: 0;
}

.nk-faq-item__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 18px;
	padding: 21px 22px;
	border: 0;
	background: transparent;
	color: var(--al-comment-text);
	cursor: pointer;
	font-family: "Samim", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.9;
	text-align: right;
	transition: color var(--al-comment-transition-fast);
}

.nk-faq-item__trigger:hover {
	color: var(--al-comment-accent-dark);
}

.nk-faq-item__trigger:focus-visible {
	outline: 3px solid rgba(47, 155, 142, 0.28);
	outline-offset: -3px;
}

.nk-faq-item__question {
	flex: 1 1 auto;
	font-size: 15px;
	font-weight: 400;
}

.nk-faq-item__icon {
	display: grid;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid var(--al-comment-border-soft);
	border-radius: 50%;
	background: var(--al-comment-surface-soft);
	color: var(--al-comment-accent-strong);
	transition:
		transform var(--al-comment-transition),
		background-color var(--al-comment-transition),
		border-color var(--al-comment-transition),
		color var(--al-comment-transition);
}

.nk-faq-item__icon svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.nk-faq-item.is-open .nk-faq-item__icon {
	transform: rotate(180deg);
	border-color: var(--al-comment-accent);
	background: var(--al-comment-accent);
	color: #ffffff;
}

.nk-faq-item__panel {
	overflow: hidden;
}

.nk-faq-item__answer {
	padding: 0 22px 23px;
	border-top: 1px solid var(--al-comment-border-soft);
	color: var(--al-comment-text-soft);
	font-size: 13.7px;
	line-height: 2.2;
	text-align: right;
}

.nk-faq-item__answer > div {
	padding-top: 16px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.nk-faq-empty {
	padding: 32px 22px;
	border: 1px dashed var(--al-comment-border-strong);
	border-radius: var(--al-comment-radius-md);
	background: var(--al-comment-surface-soft);
	color: var(--al-comment-text-muted);
	text-align: center;
}

.nk-faq-empty p {
	margin: 0;
	line-height: 2;
}


/* =========================================================
   CTA
========================================================= */

.nk-faq-cta {
    margin-right: auto;
    margin-left: auto;
	max-width: 800px;
	padding: 38px 0;
	border-radius: var(--al-comment-radius-xl);
	background:
		linear-gradient(
			135deg,
			var(--al-comment-accent-dark) 0%,
			var(--al-comment-accent-strong) 100%
		);
	color: #ffffff;
	box-shadow: var(--al-comment-shadow-lg);
}

.nk-faq-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 0 34px;
}

.nk-faq-cta__eyebrow {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.12);
	color: #e7f7f4;
}

.nk-faq-cta h2 {
	margin: 14px 0 10px;
	color: #ffffff;
	font-family: "Sahel", sans-serif;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.55;
}

.nk-faq-cta p {
	max-width: 580px;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 2.1;
}

.nk-faq-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	padding: 13px 19px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: var(--al-comment-radius-sm);
	background: #ffffff;
	color: var(--al-comment-accent-dark);
	font-family: "Samim", sans-serif;
	font-weight: 700;
	font-size: 13.8px;
	text-decoration: none;
	box-shadow: var(--al-comment-shadow-sm);
	transition:
		background-color var(--al-comment-transition-fast),
		color var(--al-comment-transition-fast),
		transform var(--al-comment-transition-fast);
}

.nk-faq-cta__button:hover {
	transform: translateY(-2px);
	background: var(--al-comment-accent-soft);
	color: var(--al-comment-accent-dark);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 640px) {
	.nk-faq-page {
		padding: 0 0px 32px;
	}

	.nk-faq-hero {
		padding: 30px 0 20px;
	}

	.nk-faq-hero h1 {
		font-size: 18px;
		margin: 7.5px auto 3px;
	}

	.nk-faq-hero p,
	.nk-faq-section-heading p {
		font-size: 14px;
		padding-inline: 38px;
	}

	.nk-faq-text-link {
		margin-top: 10px;
	}

	.nk-faq-content {
		padding: 12px 0 32px;
	}

	.nk-faq-list {
		padding-inline: 20px;
	}

	.nk-faq-item__question {
		font-size: 13.8px;
		font-weight: 490;
	}

	.nk-faq-item__trigger {
		gap: 12px;
		padding: 17px 16px;
		font-size: 14px;
	}

	.nk-faq-item__icon {
		flex-basis: 30px;
		width: 30px;
		height: 30px;
	}

	.nk-faq-item__answer {
		padding: 0 22px 19px;
		font-size: 13.2px;
		text-align: justify;
	}

	.nk-faq-cta {
		border-radius: var(--al-comment-radius-lg);
		margin-inline: 20px;
	}

	.nk-faq-cta__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 0 24px;
	}

	.nk-faq-cta__button {
		width: 130px;
		height: 48px;
		font-size: 13.5px;
	}
}
