/* ========== Data Analytics FAQ (vertical tabs) ========== */
.asmorix-faq {
	--afq-blue: #0c5adb;
	--afq-navy: #041424;
	--afq-muted: #5f6f82;
	--afq-font: "Nunito", "Poppins", sans-serif;
	--afq-display: "Rajdhani", "Nunito", sans-serif;
	position: relative;
	padding: 40px 0 56px;
	overflow: visible;
	background:
		radial-gradient(720px 320px at 6% 0%, rgba(12, 90, 219, 0.1), transparent 58%),
		radial-gradient(640px 280px at 96% 100%, rgba(255, 210, 0, 0.14), transparent 52%),
		radial-gradient(480px 220px at 70% 20%, rgba(12, 90, 219, 0.05), transparent 55%),
		linear-gradient(180deg, #f3f7fd 0%, #eef4fb 45%, #f7f9fc 100%);
	font-family: var(--afq-font);
	color: var(--afq-navy);
}

.asmorix-faq__inner {
	width: min(1140px, calc(100% - 40px));
	margin: 0 auto;
	overflow: visible;
}

.asmorix-faq__header {
	text-align: center;
	margin: 0 0 28px;
}

.asmorix-faq__title {
	margin: 0 0 12px;
	font-family: var(--afq-display);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--afq-navy);
}

.asmorix-faq__rule {
	display: block;
	width: 88px;
	height: 4px;
	margin: 0 auto;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--afq-blue) 0%, rgba(12, 90, 219, 0.15) 100%);
}

.asmorix-faq__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px 36px;
	align-items: start;
	overflow: visible;
}

.asmorix-faq__nav {
	position: sticky;
	top: 110px;
	align-self: start;
	z-index: 20;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e4eaf2;
	box-shadow: 0 12px 28px rgba(4, 20, 36, 0.05);
}

/* Keep sticky working inside Elementor wrappers */
.elementor-element.asmorix-faq-section-wrap,
.elementor-element.asmorix-faq-section-wrap > .elementor-container,
.elementor-element.asmorix-faq-section-wrap .elementor-column,
.elementor-element.asmorix-faq-section-wrap .elementor-widget-wrap,
.elementor-element.asmorix-faq-section-wrap .elementor-widget,
.elementor-element.asmorix-faq-section-wrap .elementor-widget-container {
	overflow: visible !important;
}

.elementor-element.asmorix-faq-section-wrap,
.elementor-element.asmorix-related-section-wrap {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.asmorix-faq__nav-label {
	margin: 0 0 4px;
	padding: 0 6px;
	font-family: var(--afq-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a97a8;
}

.asmorix-faq__tab {
	position: relative;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 12px 12px 10px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.asmorix-faq__tab-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #eef3f9;
	font-family: var(--afq-display);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	color: #7a8796;
	transition: background 0.2s ease, color 0.2s ease;
}

.asmorix-faq__tab-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.asmorix-faq__tab-title {
	font-family: var(--afq-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: #5f6f82;
	transition: color 0.2s ease;
}

.asmorix-faq__tab-hint {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	color: #9aa6b4;
}

.asmorix-faq__tab:hover {
	background: #f5f8fc;
	border-color: #e4eaf2;
}

.asmorix-faq__tab:hover .asmorix-faq__tab-title {
	color: var(--afq-navy);
}

.asmorix-faq__tab.is-active {
	background: linear-gradient(135deg, rgba(12, 90, 219, 0.1) 0%, rgba(12, 90, 219, 0.04) 100%);
	border-color: rgba(12, 90, 219, 0.22);
	box-shadow: 0 8px 18px rgba(12, 90, 219, 0.1);
}

.asmorix-faq__tab.is-active .asmorix-faq__tab-num {
	background: var(--afq-blue);
	color: #fff;
}

.asmorix-faq__tab.is-active .asmorix-faq__tab-title {
	color: var(--afq-blue);
}

.asmorix-faq__tab.is-active .asmorix-faq__tab-hint {
	color: #6f86a3;
}

.asmorix-faq__panels {
	min-width: 0;
}

.asmorix-faq__panel[hidden] {
	display: none !important;
}

.asmorix-faq__item {
	margin: 0 0 12px;
	border: 1px solid #e4eaf2;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asmorix-faq__item:last-child {
	margin-bottom: 0;
}

.asmorix-faq__item[open] {
	border-color: rgba(12, 90, 219, 0.28);
	box-shadow: 0 10px 24px rgba(12, 90, 219, 0.08);
}

.asmorix-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
	font-family: var(--afq-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--afq-navy);
}

.asmorix-faq__q::-webkit-details-marker {
	display: none;
}

.asmorix-faq__q::marker {
	content: "";
}

.asmorix-faq__icon {
	flex: 0 0 auto;
	position: relative;
	width: 18px;
	height: 18px;
}

.asmorix-faq__icon::before,
.asmorix-faq__icon::after {
	content: "";
	position: absolute;
	background: var(--afq-blue);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.asmorix-faq__icon::before {
	left: 0;
	right: 0;
	top: 8px;
	height: 2px;
}

.asmorix-faq__icon::after {
	top: 0;
	bottom: 0;
	left: 8px;
	width: 2px;
}

.asmorix-faq__item[open] .asmorix-faq__icon::after {
	opacity: 0;
	transform: scaleY(0);
}

.asmorix-faq__a {
	padding: 0 18px 18px;
	border-top: 1px solid #eef2f7;
}

.asmorix-faq__a p {
	margin: 12px 0 0 !important;
	font-size: 15px !important;
	font-weight: 500;
	line-height: 1.75;
	color: var(--afq-muted);
}

.asmorix-faq__a p + p {
	margin-top: 10px !important;
}

@media (max-width: 767px) {
	.asmorix-faq {
		padding: 32px 0 44px;
	}
	.asmorix-faq__inner {
		width: min(100% - 28px, 1140px);
	}
	.asmorix-faq__title {
		font-size: 26px;
	}
	.asmorix-faq__layout {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.asmorix-faq__nav {
		position: static;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 8px;
		padding: 10px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.asmorix-faq__nav::-webkit-scrollbar {
		display: none;
	}
	.asmorix-faq__nav-label {
		display: none;
	}
	.asmorix-faq__tab {
		flex: 0 0 auto;
		grid-template-columns: auto;
		width: auto;
		min-width: max-content;
		padding: 10px 14px;
		border-radius: 999px;
		background: #eef3f9;
	}
	.asmorix-faq__tab-num,
	.asmorix-faq__tab-hint {
		display: none;
	}
	.asmorix-faq__tab-title {
		font-size: 14px;
	}
	.asmorix-faq__tab.is-active {
		background: var(--afq-blue);
		border-color: var(--afq-blue);
		box-shadow: 0 8px 16px rgba(12, 90, 219, 0.22);
	}
	.asmorix-faq__tab.is-active .asmorix-faq__tab-title {
		color: #fff;
	}
	.asmorix-faq__q {
		font-size: 15px;
		padding: 14px;
	}
}
