/**
 * AAFE Scroll Stack Cards Widget Styles
 * Addronix Addons for Elementor
 */

/* ─── Base Track & Sticky Frame ────────────────────────────── */
.aafe-scroll-stack-cards {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	background-color: #F3F3F5;
	overflow: visible;
	font-family: 'Inter Tight', sans-serif;
}

.aafe-scroll-stack-cards * {
	box-sizing: border-box;
}

/* ─── Layout Container Base ────────────────────────────────── */
.aafe-scroll-stack-cards__container {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 !important;
	box-sizing: border-box;
}

/* ═════════════════════════════════════════════════════════════
   1. DESKTOP VIEW (min-width: 1025px)
   ═════════════════════════════════════════════════════════════ */
@media (min-width: 1025px) {
	.aafe-scroll-stack-cards.aafe-has-scroll-anim {
		min-height: var(--aafe-track-height, 300vh);
	}

	.aafe-scroll-stack-cards.aafe-has-scroll-anim .aafe-scroll-stack-cards__sticky {
		position: sticky !important;
		top: 0;
		height: 100vh;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 0;
		width: 100%;
		z-index: 10;
		overflow: visible;
	}

	/* Side by Side (Horizontal) Layout */
	.aafe-layout-side_by_side .aafe-scroll-stack-cards__container,
	.aafe-scroll-stack-cards.aafe-layout--side_by_side .aafe-scroll-stack-cards__container {
		display: flex !important;
		flex-direction: row !important;
		justify-content: var(--aafe-columns-align, center) !important;
		align-items: center !important;
		gap: var(--aafe-columns-gap, 35px) !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.aafe-layout-side_by_side .aafe-scroll-stack-cards__content,
	.aafe-scroll-stack-cards.aafe-layout--side_by_side .aafe-scroll-stack-cards__content {
		flex: 0 0 var(--aafe-content-col-w, 50%) !important;
		width: var(--aafe-content-col-w, 50%) !important;
		max-width: 100% !important;
		align-items: flex-start;
		text-align: left;
		box-sizing: border-box !important;
		margin: 0 !important;
	}

	.aafe-layout-side_by_side .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-layout--side_by_side .aafe-scroll-stack-cards__stack {
		flex: 1 1 0% !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		margin: 0 !important;
	}

	.aafe-layout-side_by_side .aafe-scroll-stack-cards__header,
	.aafe-scroll-stack-cards.aafe-layout--side_by_side .aafe-scroll-stack-cards__header {
		text-align: left;
	}

	/* Cards Below (Vertical) Layout */
	.aafe-layout-cards_below .aafe-scroll-stack-cards__container,
	.aafe-scroll-stack-cards.aafe-layout--cards_below .aafe-scroll-stack-cards__container {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		gap: var(--aafe-columns-gap, 35px) !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.aafe-layout-cards_below .aafe-scroll-stack-cards__content,
	.aafe-scroll-stack-cards.aafe-layout--cards_below .aafe-scroll-stack-cards__content {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: var(--aafe-content-col-w, 650px) !important;
		align-items: center !important;
		text-align: center !important;
		margin: 0 auto !important;
	}

	.aafe-layout-cards_below .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-layout--cards_below .aafe-scroll-stack-cards__stack {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 auto !important;
	}

	.aafe-layout-cards_below .aafe-scroll-stack-cards__header,
	.aafe-scroll-stack-cards.aafe-layout--cards_below .aafe-scroll-stack-cards__header {
		text-align: center !important;
	}
}

/* ═════════════════════════════════════════════════════════════
   2. TABLET VIEW (768px - 1024px) & body.elementor-device-tablet
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 768px) {
	.aafe-scroll-stack-cards.aafe-has-scroll-anim {
		min-height: var(--aafe-track-height, 280vh);
	}

	.aafe-scroll-stack-cards.aafe-has-scroll-anim .aafe-scroll-stack-cards__sticky {
		position: sticky !important;
		top: 0;
		height: 100vh;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		z-index: 10;
		overflow: visible;
		padding: 0;
	}

	.aafe-scroll-stack-cards__container {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
	}

	/* Tablet: Cards Below Content */
	.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__container,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__container,
	.aafe-scroll-stack-cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__container,
	.aafe-layout-cards_below .aafe-scroll-stack-cards__container {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		gap: 28px !important;
	}

	.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__content,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__content,
	.aafe-scroll-stack-cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__content,
	.aafe-layout-cards_below .aafe-scroll-stack-cards__content {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 580px !important;
		align-items: center !important;
		text-align: center !important;
		margin: 0 auto !important;
	}

	.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__stack,
	.aafe-layout-cards_below .aafe-scroll-stack-cards__stack {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 auto !important;
	}

	.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__header,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__header,
	.aafe-scroll-stack-cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__header,
	.aafe-layout-cards_below .aafe-scroll-stack-cards__header {
		text-align: center !important;
	}

	/* Tablet: Side by Side */
	.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__container,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__container,
	.aafe-scroll-stack-cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__container {
		display: flex !important;
		flex-direction: row !important;
		justify-content: var(--aafe-columns-align, center) !important;
		align-items: center !important;
		gap: var(--aafe-columns-gap, 24px) !important;
		padding: 0 !important;
	}

	.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__content,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__content,
	.aafe-scroll-stack-cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__content {
		flex: 0 0 var(--aafe-content-col-w, 48%) !important;
		width: var(--aafe-content-col-w, 48%) !important;
		align-items: flex-start !important;
		text-align: left !important;
		margin: 0 !important;
	}

	.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__stack {
		flex: 1 1 0% !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0 !important;
	}
}

/* Elementor Editor Tablet Canvas Support */
body.elementor-device-tablet .aafe-scroll-stack-cards.aafe-has-scroll-anim {
	min-height: var(--aafe-track-height, 280vh);
}

body.elementor-device-tablet .aafe-scroll-stack-cards.aafe-has-scroll-anim .aafe-scroll-stack-cards__sticky {
	position: sticky !important;
	top: 0;
	height: 100vh;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	z-index: 10;
	overflow: visible;
	padding: 0;
}

body.elementor-device-tablet .aafe-scroll-stack-cards__container {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
}

body.elementor-device-tablet .aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__container,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__container,
body.elementor-device-tablet .aafe-layout-cards_below .aafe-scroll-stack-cards__container {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	gap: 28px !important;
}

body.elementor-device-tablet .aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__content,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__content,
body.elementor-device-tablet .aafe-layout-cards_below .aafe-scroll-stack-cards__content {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 580px !important;
	align-items: center !important;
	text-align: center !important;
	margin: 0 auto !important;
}

body.elementor-device-tablet .aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__stack,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-cards_below .aafe-scroll-stack-cards__stack,
body.elementor-device-tablet .aafe-layout-cards_below .aafe-scroll-stack-cards__stack {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 auto !important;
}

body.elementor-device-tablet .aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__container,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__container {
	display: flex !important;
	flex-direction: row !important;
	justify-content: var(--aafe-columns-align, center) !important;
	align-items: center !important;
	gap: var(--aafe-columns-gap, 24px) !important;
	padding: 0 !important;
}

body.elementor-device-tablet .aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__content,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__content {
	flex: 0 0 var(--aafe-content-col-w, 48%) !important;
	width: var(--aafe-content-col-w, 48%) !important;
	align-items: flex-start !important;
	text-align: left !important;
	margin: 0 !important;
}

body.elementor-device-tablet .aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__stack,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-layout-tablet-side_by_side .aafe-scroll-stack-cards__stack {
	flex: 1 1 0% !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
}

/* ─── Content Column Elements ──────────────────────────────── */
.aafe-scroll-stack-cards__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 18px;
	width: 100%;
	max-width: 100%;
	z-index: 5;
}

.aafe-scroll-stack-cards__header {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* Subtitle (Displayed Above Heading) */
.aafe-scroll-stack-cards__subtitle {
	margin: 0 0 8px 0;
	color: #834DFB;
	font-family: 'Inter Tight', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.aafe-scroll-stack-cards__subtitle p {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

/* Heading */
.aafe-scroll-stack-cards__heading {
	margin: 0 0 12px 0;
	color: #111111;
	font-family: 'Inter Tight', sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

@media (max-width: 1024px) {
	.aafe-scroll-stack-cards__heading {
		font-size: 30px;
	}
}

@media (max-width: 767px) {
	.aafe-scroll-stack-cards__heading {
		font-size: 26px;
	}
}

/* Description */
.aafe-scroll-stack-cards__description {
	margin: 0;
	color: #222222;
	font-family: 'Inter Tight', sans-serif;
	font-size: 15px;
	line-height: 1.5;
	max-width: 400px;
	width: 100%;
}

.aafe-scroll-stack-cards__description p {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

@media (max-width: 767px) {
	.aafe-scroll-stack-cards__description {
		max-width: 100%;
	}
}

/* ─── CTA Button ───────────────────────────────────────────── */
.aafe-scroll-stack-cards__button-wrap {
	display: block;
	width: auto;
}

.aafe-scroll-stack-cards__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	color: #FFFFFF;
	background-color: #000000;
	font-family: 'Inter Tight', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.4px;
	padding: 15px 29px;
	border-radius: 50px;
	border: 0 solid transparent;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.65, 0.05, 0, 1);
	user-select: none;
}

.aafe-scroll-stack-cards__button:hover {
	color: #FFFFFF;
	background-color: #222222;
	text-decoration: none;
}

/* Button Hover Animations */
.aafe-scroll-stack-cards.aafe-btn-anim-scale .aafe-scroll-stack-cards__button:hover {
	transform: scale(var(--aafe-btn-hover-scale, 1.04));
}

.aafe-scroll-stack-cards.aafe-btn-anim-float .aafe-scroll-stack-cards__button:hover {
	transform: translateY(var(--aafe-btn-hover-y, -3px));
}

.aafe-scroll-stack-cards.aafe-btn-anim-scale_float .aafe-scroll-stack-cards__button:hover {
	transform: translateY(var(--aafe-btn-hover-y, -3px)) scale(var(--aafe-btn-hover-scale, 1.04));
}

.aafe-scroll-stack-cards__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1em;
	line-height: 1;
}

.aafe-scroll-stack-cards__button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ─── Desktop & Tablet Cards Stack Frame ───────────────────── */
.aafe-scroll-stack-cards__stack {
	position: relative;
	width: 100%;
	max-width: 100%;
	height: var(--aafe-stack-h, var(--aafe-base-stack-h, 370px));
	min-height: var(--aafe-stack-h, var(--aafe-base-stack-h, 370px));
	box-sizing: border-box;
	display: flex;
	align-items: center;
	overflow: visible;
}

.aafe-scroll-stack-cards__cards-inner {
	position: relative;
	width: var(--aafe-cluster-base-w, 470px);
	flex-shrink: 0;
	height: 370px;
	box-sizing: border-box;
	transform: scale(var(--aafe-fit-scale, 1));
	transform-origin: var(--aafe-stack-origin, center center);
}

/* Stack Alignment - Center (Default) */
.aafe-stack-align-center .aafe-scroll-stack-cards__stack,
.aafe-scroll-stack-cards.aafe-stack-align-center .aafe-scroll-stack-cards__stack,
.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-center .aafe-scroll-stack-cards__stack {
	justify-content: center !important;
	--aafe-stack-origin: center center;
}

/* Stack Alignment - Left */
.aafe-stack-align-left .aafe-scroll-stack-cards__stack,
.aafe-scroll-stack-cards.aafe-stack-align-left .aafe-scroll-stack-cards__stack,
.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-left .aafe-scroll-stack-cards__stack {
	justify-content: flex-start !important;
	--aafe-stack-origin: left center;
}

/* Stack Alignment - Right */
.aafe-stack-align-right .aafe-scroll-stack-cards__stack,
.aafe-scroll-stack-cards.aafe-stack-align-right .aafe-scroll-stack-cards__stack,
.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-right .aafe-scroll-stack-cards__stack {
	justify-content: flex-end !important;
	--aafe-stack-origin: right center;
}

/* Stack Alignment - Tablet Responsive Support */
@media (max-width: 1024px) and (min-width: 768px) {
	.aafe-stack-align-tablet-center .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-stack-align-tablet-center .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-tablet-center .aafe-scroll-stack-cards__stack {
		justify-content: center !important;
		--aafe-stack-origin: center center;
	}

	.aafe-stack-align-tablet-left .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-stack-align-tablet-left .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-tablet-left .aafe-scroll-stack-cards__stack {
		justify-content: flex-start !important;
		--aafe-stack-origin: left center;
	}

	.aafe-stack-align-tablet-right .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-stack-align-tablet-right .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-tablet-right .aafe-scroll-stack-cards__stack {
		justify-content: flex-end !important;
		--aafe-stack-origin: right center;
	}
}

body.elementor-device-tablet .aafe-stack-align-tablet-center .aafe-scroll-stack-cards__stack,
body.elementor-device-tablet .aafe-stack-align-center .aafe-scroll-stack-cards__stack,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-tablet-center .aafe-scroll-stack-cards__stack {
	justify-content: center !important;
	--aafe-stack-origin: center center;
}

body.elementor-device-tablet .aafe-stack-align-tablet-left .aafe-scroll-stack-cards__stack,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-tablet-left .aafe-scroll-stack-cards__stack {
	justify-content: flex-start !important;
	--aafe-stack-origin: left center;
}

body.elementor-device-tablet .aafe-stack-align-tablet-right .aafe-scroll-stack-cards__stack,
body.elementor-device-tablet .elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-tablet-right .aafe-scroll-stack-cards__stack {
	justify-content: flex-end !important;
	--aafe-stack-origin: right center;
}

/* ─── Individual Card Base (Desktop & Tablet) ──────────────── */
.aafe-scroll-stack-cards__card {
	position: absolute;
	left: var(--card-x, 10px);
	top: var(--card-y, 60px);
	--rot: var(--card-rot, -5deg);
	z-index: var(--card-z, 1);
	width: var(--aafe-card-w, 222px);
	min-height: var(--aafe-card-h, 250px);
	height: auto;
	padding: 26px 22px;
	background-color: #F7F7F8;
	border: 6px solid #FFFFFF;
	border-radius: 22px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: var(--aafe-card-gap, 8px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	transform-origin: center bottom;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
	cursor: default;
	will-change: transform, opacity;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform-style: preserve-3d;
	-webkit-font-smoothing: subpixel-antialiased;
	/* Smooth transitions for hover AND return to resting state */
	transition: transform var(--aafe-card-hover-dur, 0.35s) cubic-bezier(0.25, 1, 0.5, 1),
	            box-shadow var(--aafe-card-hover-dur, 0.35s) ease,
	            border-color var(--aafe-card-hover-dur, 0.35s) ease,
	            background-color var(--aafe-card-hover-dur, 0.35s) ease;
}

a.aafe-scroll-stack-cards__card {
	cursor: pointer;
}

/* Tablet card positions & angles */
@media (max-width: 1024px) and (min-width: 768px) {
	.aafe-scroll-stack-cards__card {
		left: var(--card-x-tablet, var(--card-x, 10px));
		top: var(--card-y-tablet, var(--card-y, 60px));
		--rot: var(--card-rot-tablet, var(--card-rot, -5deg));
	}
}

body.elementor-device-tablet .aafe-scroll-stack-cards__card {
	left: var(--card-x-tablet, var(--card-x, 10px));
	top: var(--card-y-tablet, var(--card-y, 60px));
	--rot: var(--card-rot-tablet, var(--card-rot, -5deg));
}

/* Desktop & Tablet Initial Fallback */
@media (min-width: 768px) {
	.aafe-scroll-stack-cards__card {
		transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg));
		opacity: 1;
	}

	html.aafe-scroll-stack-js .aafe-scroll-stack-cards.aafe-has-scroll-anim:not(.aafe-is-static-preview) .aafe-scroll-stack-cards__card {
		opacity: 0;
		transform: translate3d(0, var(--aafe-anim-dist, 80px), 0) rotate(0deg);
	}

	html.aafe-scroll-stack-js .aafe-scroll-stack-cards.aafe-has-scroll-anim:not(.aafe-is-static-preview) .aafe-scroll-stack-cards__card:not(.aafe-card-arrived) {
		transition: none !important;
	}

	.aafe-scroll-stack-cards.aafe-is-static-preview .aafe-scroll-stack-cards__card,
	html.aafe-scroll-stack-js .aafe-scroll-stack-cards.aafe-is-static-preview .aafe-scroll-stack-cards__card {
		opacity: 1 !important;
		transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) !important;
	}

	.aafe-scroll-stack-cards.aafe-is-static-preview .aafe-scroll-stack-cards__card:hover,
	.aafe-scroll-stack-cards .aafe-scroll-stack-cards__card.aafe-card-arrived:hover {
		z-index: 50 !important;
		transform: translate3d(0, var(--aafe-card-hover-y, -8px), 0) scale(var(--aafe-card-hover-scale, 1.05)) rotate(var(--rot, 0deg)) !important;
		box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
	}
}

/* ─── Card Inner (image, icon, title — natural height only) ─── */
.aafe-scroll-stack-cards__card-inner {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	width: 100%;
	gap: var(--aafe-card-inner-gap, 6px);
}

/* ─── Card Icon ────────────────────────────────────────────── */
.aafe-scroll-stack-cards__card-icon-wrap {
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.aafe-scroll-stack-cards__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #111111;
	font-size: 24px;
	line-height: 1;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.aafe-scroll-stack-cards__card-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Card Icon Hover Animation */
.aafe-scroll-stack-cards.aafe-icon-anim-scale .aafe-scroll-stack-cards__card:hover .aafe-scroll-stack-cards__card-icon {
	transform: scale(1.15);
}

.aafe-scroll-stack-cards.aafe-icon-anim-rotate .aafe-scroll-stack-cards__card:hover .aafe-scroll-stack-cards__card-icon {
	transform: rotate(15deg);
}

.aafe-scroll-stack-cards.aafe-icon-anim-float .aafe-scroll-stack-cards__card:hover .aafe-scroll-stack-cards__card-icon {
	transform: translateY(-3px);
}

/* ─── Card Content Typography ──────────────────────────────── */
.aafe-scroll-stack-cards__card-title {
	margin: 0;
	color: #D4D4D8;
	font-family: 'Inter Tight', sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.8px;
	transition: color 0.3s ease;
}

.aafe-scroll-stack-cards__card-description {
	margin: 0;
	color: #6B6F7B;
	font-family: 'Inter Tight', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	transition: color 0.3s ease;
}

.aafe-scroll-stack-cards__card-description p {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

/* ═════════════════════════════════════════════════════════════
   3. MOBILE VIEW (< 768px) & Elementor Device Mobile Canvas
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
	.aafe-scroll-stack-cards {
		min-height: auto;
	}

	.aafe-scroll-stack-cards .aafe-scroll-stack-cards__sticky {
		position: relative;
		top: auto;
		height: auto;
		min-height: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	/* Mobile Container: Zero padding, Column Layout, Centered */
	.aafe-scroll-stack-cards__container {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		padding: 0 !important;
		gap: 20px !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.aafe-scroll-stack-cards__content {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		align-items: center !important;
		text-align: center !important;
		margin: 0 auto !important;
	}

	.aafe-scroll-stack-cards__header {
		text-align: center !important;
		align-items: center !important;
	}

	.aafe-scroll-stack-cards__subtitle,
	.aafe-scroll-stack-cards__heading,
	.aafe-scroll-stack-cards__description {
		text-align: center !important;
		max-width: 100% !important;
	}

	/* Mobile Zero Side Padding */
	.elementor-widget-aafe_scroll_stack_cards,
	.elementor-widget-aafe_scroll_stack_cards > .elementor-widget-container,
	.aafe-scroll-stack-cards,
	.aafe-scroll-stack-cards .aafe-scroll-stack-cards__sticky,
	.aafe-scroll-stack-cards .aafe-scroll-stack-cards__container,
	.aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__container {
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
	}

	/* Mobile Stack Frame */
	.aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__stack {
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		height: var(--aafe-stack-h, var(--aafe-mobile-height, var(--aafe-base-stack-h, 320px)));
		min-height: var(--aafe-stack-h, var(--aafe-mobile-height, var(--aafe-base-stack-h, 320px)));
		display: flex !important;
		flex-direction: row !important;
		justify-content: center !important;
		align-items: center !important;
		overflow: visible !important;
		margin: 0 auto !important;
	}

	.aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__cards-inner {
		position: relative !important;
		width: var(--aafe-cluster-base-w, 240px) !important;
		max-width: 100% !important;
		height: 100% !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		transform: scale(calc(var(--aafe-mobile-scale, 1) * var(--aafe-mobile-fit-scale, 1))) !important;
		transform-origin: var(--aafe-stack-origin, center center) !important;
		overflow: visible !important;
		margin: 0 !important;
	}

	/* Mobile Stack Alignments */
	.aafe-stack-align-mobile-center .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-stack-align-mobile-center .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-mobile-center .aafe-scroll-stack-cards__stack {
		justify-content: center !important;
		--aafe-stack-origin: center center;
	}
	.aafe-stack-align-mobile-left .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-stack-align-mobile-left .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-mobile-left .aafe-scroll-stack-cards__stack {
		justify-content: flex-start !important;
		--aafe-stack-origin: left center;
	}
	.aafe-stack-align-mobile-right .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-stack-align-mobile-right .aafe-scroll-stack-cards__stack,
	.elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-mobile-right .aafe-scroll-stack-cards__stack {
		justify-content: flex-end !important;
		--aafe-stack-origin: right center;
	}

	/* Fallback Mobile Alignment (when inheriting desktop stack alignment) */
	.aafe-scroll-stack-cards:not(.aafe-stack-align-mobile-left):not(.aafe-stack-align-mobile-right):not(.aafe-stack-align-mobile-center).aafe-stack-align-left .aafe-scroll-stack-cards__stack {
		justify-content: flex-start !important;
		--aafe-stack-origin: left center;
	}
	.aafe-scroll-stack-cards:not(.aafe-stack-align-mobile-left):not(.aafe-stack-align-mobile-right):not(.aafe-stack-align-mobile-center).aafe-stack-align-right .aafe-scroll-stack-cards__stack {
		justify-content: flex-end !important;
		--aafe-stack-origin: right center;
	}
	.aafe-scroll-stack-cards:not(.aafe-stack-align-mobile-left):not(.aafe-stack-align-mobile-right):not(.aafe-stack-align-mobile-center).aafe-stack-align-center .aafe-scroll-stack-cards__stack {
		justify-content: center !important;
		--aafe-stack-origin: center center;
	}

	/* Mobile Stacked Fan Cards: Dead Center Placement */
	.aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card {
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		right: auto !important;
		bottom: auto !important;
		width: var(--aafe-card-w, 180px) !important;
		max-width: min(100vw, 240px) !important;
		min-height: var(--aafe-card-h, 220px) !important;
		height: auto !important;
		gap: 12px !important;
		margin: 0 !important;
		transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px)), 0) rotate(var(--card-rot-mobile, 0deg));
		opacity: 1;
		transition: box-shadow var(--aafe-card-hover-dur, 0.35s) ease,
		            border-color var(--aafe-card-hover-dur, 0.35s) ease,
		            background-color var(--aafe-card-hover-dur, 0.35s) ease !important;
	}

	.aafe-scroll-stack-cards.aafe-is-static-preview:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards:not(.aafe-has-mobile-scroll):not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card {
		transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px)), 0) rotate(var(--card-rot-mobile, 0deg)) !important;
		opacity: 1 !important;
	}

	/* Mobile Stacked Fan Hover / Touch Effect */
	.aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card:hover,
	.aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card:active {
		z-index: 50 !important;
		transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px) + var(--aafe-card-hover-y, -8px)), 0) scale(calc(var(--aafe-card-hover-scale, 1.04) * 0.99)) rotate(var(--card-rot-mobile, 0deg)) !important;
		box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
	}

	/* ─────────────────────────────────────────────────────────────
	   Mobile 1-Column Grid Mode (Premium Clean Vertical Card List)
	   ───────────────────────────────────────────────────────────── */
	.aafe-scroll-stack-cards.aafe-mobile-view-grid,
	.elementor-widget-aafe_scroll_stack_cards.aafe-mobile-view-grid .aafe-scroll-stack-cards {
		min-height: auto !important;
		height: auto !important;
		padding: 0 !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__sticky,
	.aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__sticky,
	.aafe-scroll-stack-cards.aafe-mobile-view-grid.aafe-has-scroll-anim .aafe-scroll-stack-cards__sticky {
		position: relative !important;
		top: auto !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 0 !important;
		display: block !important;
		width: 100% !important;
		overflow: visible !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__container,
	.aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__container,
	.elementor-widget-aafe_scroll_stack_cards.aafe-layout-side_by_side .aafe-mobile-view-grid .aafe-scroll-stack-cards__container,
	.aafe-layout-side_by_side.aafe-mobile-view-grid .aafe-scroll-stack-cards__container {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin: 0 auto !important;
		gap: var(--aafe-columns-gap, 24px) !important;
		box-sizing: border-box !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__content,
	.aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__content,
	.aafe-layout-side_by_side .aafe-mobile-view-grid .aafe-scroll-stack-cards__content,
	.aafe-layout-side_by_side.aafe-mobile-view-grid .aafe-scroll-stack-cards__content {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		text-align: center !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		flex-basis: auto !important;
		margin: 0 0 10px 0 !important;
		z-index: 2 !important;
		box-sizing: border-box !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__header,
	.aafe-mobile-view-grid .aafe-scroll-stack-cards__subtitle,
	.aafe-mobile-view-grid .aafe-scroll-stack-cards__heading,
	.aafe-mobile-view-grid .aafe-scroll-stack-cards__description,
	.aafe-mobile-view-grid .aafe-scroll-stack-cards__button-wrap {
		width: 100% !important;
		max-width: 100% !important;
		text-align: center !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__stack,
	.aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__stack {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		flex: 0 0 auto !important;
		display: block !important;
		margin: 0 auto !important;
		overflow: visible !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__cards-inner,
	.aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__cards-inner {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		gap: var(--aafe-grid-gap, 16px) !important;
		transform: none !important;
		margin: 0 auto !important;
		padding: 0 !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__card {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		transform: none !important;
		opacity: 1 !important;
		margin: 0 !important;
		pointer-events: auto !important;
		box-sizing: border-box !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-start;
		align-items: flex-start;
		padding: 24px 20px !important;
		border-radius: 18px !important;
		border: 1px solid rgba(0, 0, 0, 0.08) !important;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
		transition: transform var(--aafe-card-hover-dur, 0.35s) cubic-bezier(0.25, 1, 0.5, 1),
		            box-shadow var(--aafe-card-hover-dur, 0.35s) ease,
		            border-color var(--aafe-card-hover-dur, 0.35s) ease !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__card-inner {
		display: flex !important;
		flex-direction: column !important;
		flex: 0 0 auto !important;
		align-items: inherit;
		width: 100% !important;
		margin: 0 0 10px 0 !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__card-icon-wrap {
		display: flex !important;
		align-items: center !important;
		margin-bottom: 12px !important;
		width: 100% !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__card-title {
		font-size: 20px !important;
		font-weight: 600 !important;
		line-height: 1.25 !important;
		margin: 0 0 6px 0 !important;
		width: 100% !important;
		text-align: inherit;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__card-description {
		font-size: 14px !important;
		line-height: 1.5 !important;
		width: 100% !important;
		text-align: inherit;
		margin: 0 !important;
	}

	/* Card Content Alignment Support in Mobile View */
	.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card,
	.aafe-card-content-align-center .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards.aafe-card-content-align-center .aafe-scroll-stack-cards__card {
		text-align: center !important;
		align-items: center !important;
		justify-content: center !important;
	}
	.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-inner,
	.aafe-card-content-align-center .aafe-scroll-stack-cards__card-inner,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-inner,
	.aafe-scroll-stack-cards.aafe-card-content-align-center .aafe-scroll-stack-cards__card-inner {
		align-items: center !important;
		text-align: center !important;
	}
	.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-card-content-align-center .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-scroll-stack-cards.aafe-card-content-align-center .aafe-scroll-stack-cards__card-icon-wrap {
		justify-content: center !important;
		width: 100% !important;
	}
	.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-title,
	.aafe-card-content-align-center .aafe-scroll-stack-cards__card-title,
	.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-description,
	.aafe-card-content-align-center .aafe-scroll-stack-cards__card-description,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-title,
	.aafe-scroll-stack-cards.aafe-card-content-align-center .aafe-scroll-stack-cards__card-title,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-center .aafe-scroll-stack-cards__card-description,
	.aafe-scroll-stack-cards.aafe-card-content-align-center .aafe-scroll-stack-cards__card-description {
		text-align: center !important;
	}

	.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card,
	.aafe-card-content-align-right .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards.aafe-card-content-align-right .aafe-scroll-stack-cards__card {
		text-align: right !important;
		align-items: flex-end !important;
		justify-content: flex-end !important;
	}
	.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-inner,
	.aafe-card-content-align-right .aafe-scroll-stack-cards__card-inner,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-inner,
	.aafe-scroll-stack-cards.aafe-card-content-align-right .aafe-scroll-stack-cards__card-inner {
		align-items: flex-end !important;
		text-align: right !important;
	}
	.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-card-content-align-right .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-scroll-stack-cards.aafe-card-content-align-right .aafe-scroll-stack-cards__card-icon-wrap {
		justify-content: flex-end !important;
		width: 100% !important;
	}
	.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-title,
	.aafe-card-content-align-right .aafe-scroll-stack-cards__card-title,
	.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-description,
	.aafe-card-content-align-right .aafe-scroll-stack-cards__card-description,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-title,
	.aafe-scroll-stack-cards.aafe-card-content-align-right .aafe-scroll-stack-cards__card-title,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-right .aafe-scroll-stack-cards__card-description,
	.aafe-scroll-stack-cards.aafe-card-content-align-right .aafe-scroll-stack-cards__card-description {
		text-align: right !important;
	}

	.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card,
	.aafe-card-content-align-left .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card,
	.aafe-scroll-stack-cards.aafe-card-content-align-left .aafe-scroll-stack-cards__card {
		text-align: left !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}
	.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-inner,
	.aafe-card-content-align-left .aafe-scroll-stack-cards__card-inner,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-inner,
	.aafe-scroll-stack-cards.aafe-card-content-align-left .aafe-scroll-stack-cards__card-inner {
		align-items: flex-start !important;
		text-align: left !important;
	}
	.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-card-content-align-left .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-icon-wrap,
	.aafe-scroll-stack-cards.aafe-card-content-align-left .aafe-scroll-stack-cards__card-icon-wrap {
		justify-content: flex-start !important;
		width: 100% !important;
	}
	.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-title,
	.aafe-card-content-align-left .aafe-scroll-stack-cards__card-title,
	.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-description,
	.aafe-card-content-align-left .aafe-scroll-stack-cards__card-description,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-title,
	.aafe-scroll-stack-cards.aafe-card-content-align-left .aafe-scroll-stack-cards__card-title,
	.aafe-scroll-stack-cards.aafe-card-content-align-mobile-left .aafe-scroll-stack-cards__card-description,
	.aafe-scroll-stack-cards.aafe-card-content-align-left .aafe-scroll-stack-cards__card-description {
		text-align: left !important;
	}

	.aafe-mobile-view-grid .aafe-scroll-stack-cards__card:hover,
	.aafe-mobile-view-grid .aafe-scroll-stack-cards__card:active {
		z-index: 10 !important;
		transform: translateY(var(--aafe-card-hover-y, -4px)) scale(var(--aafe-card-hover-scale, 1.01)) !important;
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
	}

	/* Mobile Scroll Sticky Animation */
	.aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-mobile-view-grid) {
		min-height: var(--aafe-mobile-track-h, 250vh) !important;
	}

	.aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__sticky {
		position: sticky !important;
		top: 0 !important;
		height: 100vh !important;
		min-height: 100vh !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
		z-index: 10 !important;
		overflow: visible !important;
		padding: 0 !important;
	}

	html.aafe-scroll-stack-js .aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-is-static-preview):not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card {
		opacity: 0;
		transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px) + var(--aafe-anim-dist, 80px)), 0) rotate(0deg);
	}

	html.aafe-scroll-stack-js .aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-is-static-preview):not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card:not(.aafe-card-arrived) {
		transition: none !important;
	}
}

/* ═════════════════════════════════════════════════════════════
   Elementor Editor Mobile Device Mode Canvas Support
   ═════════════════════════════════════════════════════════════ */
body.elementor-device-mobile .aafe-scroll-stack-cards {
	min-height: auto;
}

body.elementor-device-mobile .aafe-scroll-stack-cards .aafe-scroll-stack-cards__sticky {
	position: relative;
	top: auto;
	height: auto;
	min-height: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

body.elementor-device-mobile .aafe-scroll-stack-cards__container {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 0 !important;
	gap: 20px !important;
	width: 100% !important;
	max-width: 100% !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards__content {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	text-align: center !important;
	margin: 0 auto !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards__header {
	text-align: center !important;
	align-items: center !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards__subtitle,
body.elementor-device-mobile .aafe-scroll-stack-cards__heading,
body.elementor-device-mobile .aafe-scroll-stack-cards__description {
	text-align: center !important;
	max-width: 100% !important;
}

body.elementor-device-mobile .elementor-widget-aafe_scroll_stack_cards,
body.elementor-device-mobile .elementor-widget-aafe_scroll_stack_cards > .elementor-widget-container,
body.elementor-device-mobile .aafe-scroll-stack-cards,
body.elementor-device-mobile .aafe-scroll-stack-cards .aafe-scroll-stack-cards__sticky,
body.elementor-device-mobile .aafe-scroll-stack-cards .aafe-scroll-stack-cards__container,
body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__container {
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__stack {
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	height: var(--aafe-stack-h, var(--aafe-mobile-height, var(--aafe-base-stack-h, 320px)));
	min-height: var(--aafe-stack-h, var(--aafe-mobile-height, var(--aafe-base-stack-h, 320px)));
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: center !important;
	overflow: visible !important;
	margin: 0 auto !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__cards-inner {
	position: relative !important;
	width: var(--aafe-cluster-base-w, 240px) !important;
	max-width: 100% !important;
	height: 100% !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	transform: scale(calc(var(--aafe-mobile-scale, 1) * var(--aafe-mobile-fit-scale, 1))) !important;
	transform-origin: var(--aafe-stack-origin, center center) !important;
	overflow: visible !important;
	margin: 0 !important;
}

body.elementor-device-mobile .aafe-stack-align-mobile-center .aafe-scroll-stack-cards__stack,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-stack-align-mobile-center .aafe-scroll-stack-cards__stack,
body.elementor-device-mobile .elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-mobile-center .aafe-scroll-stack-cards__stack {
	justify-content: center !important;
	--aafe-stack-origin: center center;
}
body.elementor-device-mobile .aafe-stack-align-mobile-left .aafe-scroll-stack-cards__stack,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-stack-align-mobile-left .aafe-scroll-stack-cards__stack,
body.elementor-device-mobile .elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-mobile-left .aafe-scroll-stack-cards__stack {
	justify-content: flex-start !important;
	--aafe-stack-origin: left center;
}
body.elementor-device-mobile .aafe-stack-align-mobile-right .aafe-scroll-stack-cards__stack,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-stack-align-mobile-right .aafe-scroll-stack-cards__stack,
body.elementor-device-mobile .elementor-widget-aafe_scroll_stack_cards.aafe-stack-align-mobile-right .aafe-scroll-stack-cards__stack {
	justify-content: flex-end !important;
	--aafe-stack-origin: right center;
}

body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-stack-align-mobile-left):not(.aafe-stack-align-mobile-right):not(.aafe-stack-align-mobile-center).aafe-stack-align-left .aafe-scroll-stack-cards__stack {
	justify-content: flex-start !important;
	--aafe-stack-origin: left center;
}
body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-stack-align-mobile-left):not(.aafe-stack-align-mobile-right):not(.aafe-stack-align-mobile-center).aafe-stack-align-right .aafe-scroll-stack-cards__stack {
	justify-content: flex-end !important;
	--aafe-stack-origin: right center;
}
body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-stack-align-mobile-left):not(.aafe-stack-align-mobile-right):not(.aafe-stack-align-mobile-center).aafe-stack-align-center .aafe-scroll-stack-cards__stack {
	justify-content: center !important;
	--aafe-stack-origin: center center;
}

body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card {
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	right: auto !important;
	bottom: auto !important;
	width: var(--aafe-card-w, 180px) !important;
	max-width: min(100vw, 240px) !important;
	min-height: var(--aafe-card-h, 220px) !important;
	height: auto !important;
	gap: 12px !important;
	margin: 0 !important;
	transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px)), 0) rotate(var(--card-rot-mobile, 0deg));
	opacity: 1;
	transition: box-shadow var(--aafe-card-hover-dur, 0.35s) ease,
	            border-color var(--aafe-card-hover-dur, 0.35s) ease,
	            background-color var(--aafe-card-hover-dur, 0.35s) ease !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-is-static-preview:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card,
body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-has-mobile-scroll):not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card {
	transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px)), 0) rotate(var(--card-rot-mobile, 0deg)) !important;
	opacity: 1 !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card:hover,
body.elementor-device-mobile .aafe-scroll-stack-cards:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card:active {
	z-index: 50 !important;
	transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px) + var(--aafe-card-hover-y, -8px)), 0) scale(calc(var(--aafe-card-hover-scale, 1.04) * 0.99)) rotate(var(--card-rot-mobile, 0deg)) !important;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid,
body.elementor-device-mobile .elementor-widget-aafe_scroll_stack_cards.aafe-mobile-view-grid .aafe-scroll-stack-cards {
	min-height: auto !important;
	height: auto !important;
	padding: 0 !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__sticky,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__sticky,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid.aafe-has-scroll-anim .aafe-scroll-stack-cards__sticky {
	position: relative !important;
	top: auto !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	display: block !important;
	width: 100% !important;
	overflow: visible !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__container,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__container,
body.elementor-device-mobile .elementor-widget-aafe_scroll_stack_cards.aafe-layout-side_by_side .aafe-mobile-view-grid .aafe-scroll-stack-cards__container,
body.elementor-device-mobile .aafe-layout-side_by_side.aafe-mobile-view-grid .aafe-scroll-stack-cards__container {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 auto !important;
	gap: var(--aafe-columns-gap, 24px) !important;
	box-sizing: border-box !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__content,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__content,
body.elementor-device-mobile .aafe-layout-side_by_side .aafe-mobile-view-grid .aafe-scroll-stack-cards__content,
body.elementor-device-mobile .aafe-layout-side_by_side.aafe-mobile-view-grid .aafe-scroll-stack-cards__content {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	text-align: center !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	flex-basis: auto !important;
	margin: 0 0 10px 0 !important;
	z-index: 2 !important;
	box-sizing: border-box !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__header,
body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__subtitle,
body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__heading,
body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__description,
body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__button-wrap {
	width: 100% !important;
	max-width: 100% !important;
	text-align: center !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__stack,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__stack {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	flex: 0 0 auto !important;
	display: block !important;
	margin: 0 auto !important;
	overflow: visible !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__cards-inner,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__cards-inner {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: var(--aafe-grid-gap, 16px) !important;
	transform: none !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__card,
body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-mobile-view-grid .aafe-scroll-stack-cards__card {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	transform: none !important;
	opacity: 1 !important;
	margin: 0 !important;
	pointer-events: auto !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	padding: 24px 20px !important;
	border-radius: 18px !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
	transition: transform var(--aafe-card-hover-dur, 0.35s) cubic-bezier(0.25, 1, 0.5, 1),
	            box-shadow var(--aafe-card-hover-dur, 0.35s) ease,
	            border-color var(--aafe-card-hover-dur, 0.35s) ease !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__card-inner {
	display: flex !important;
	flex-direction: column !important;
	flex: 0 0 auto !important;
	align-items: flex-start !important;
	width: 100% !important;
	margin: 0 0 10px 0 !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__card-icon-wrap {
	display: flex !important;
	align-items: center !important;
	margin-bottom: 12px !important;
	width: auto !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__card-title {
	font-size: 20px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	margin: 0 0 6px 0 !important;
	width: 100% !important;
	text-align: left !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__card-description {
	font-size: 14px !important;
	line-height: 1.5 !important;
	width: 100% !important;
	text-align: left !important;
	margin: 0 !important;
}

body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__card:hover,
body.elementor-device-mobile .aafe-mobile-view-grid .aafe-scroll-stack-cards__card:active {
	z-index: 10 !important;
	transform: translateY(var(--aafe-card-hover-y, -4px)) scale(var(--aafe-card-hover-scale, 1.01)) !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-mobile-view-grid) {
	min-height: var(--aafe-mobile-track-h, 250vh) !important;
}

body.elementor-device-mobile .aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__sticky {
	position: sticky !important;
	top: 0 !important;
	height: 100vh !important;
	min-height: 100vh !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	z-index: 10 !important;
	overflow: visible !important;
	padding: 0 !important;
}

body.elementor-device-mobile html.aafe-scroll-stack-js .aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-is-static-preview):not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card {
	opacity: 0;
	transform: translate3d(calc(-50% + var(--card-x-mobile, 0px)), calc(-50% + var(--card-y-mobile, 0px) + var(--aafe-anim-dist, 80px)), 0) rotate(0deg);
}

body.elementor-device-mobile html.aafe-scroll-stack-js .aafe-scroll-stack-cards.aafe-has-scroll-anim.aafe-has-mobile-scroll:not(.aafe-is-static-preview):not(.aafe-mobile-view-grid) .aafe-scroll-stack-cards__card:not(.aafe-card-arrived) {
	transition: none !important;
}

/* Reduced-motion */
@media (prefers-reduced-motion: reduce) {
	html.aafe-scroll-stack-js .aafe-scroll-stack-cards .aafe-scroll-stack-cards__card {
		opacity: 1 !important;
		transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) !important;
	}
}

/* ─── Card Image ───────────────────────────────────────────── */
.aafe-scroll-stack-cards__card-image {
	display: block;
	width: 100%;
	margin-bottom: 0;
	overflow: hidden;
	border-radius: 8px;
	flex-shrink: 0;
}

.aafe-scroll-stack-cards__card-image img {
	display: block;
	width: 100%;
	height: var(--aafe-card-img-h, 100px);
	object-fit: cover;
	border-radius: inherit;
	transition: transform 0.35s ease;
}

.aafe-scroll-stack-cards__card:hover .aafe-scroll-stack-cards__card-image img {
	transform: scale(1.04);
}

.aafe-card-content-align-center .aafe-scroll-stack-cards__card-image,
.aafe-scroll-stack-cards.aafe-card-content-align-center .aafe-scroll-stack-cards__card-image {
	display: flex;
	justify-content: center;
}

.aafe-card-content-align-right .aafe-scroll-stack-cards__card-image,
.aafe-scroll-stack-cards.aafe-card-content-align-right .aafe-scroll-stack-cards__card-image {
	display: flex;
	justify-content: flex-end;
}

/* ─── Card Number Badge ────────────────────────────────────── */
.aafe-scroll-stack-cards__card-number {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background-color: #111111;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	z-index: 2;
	font-family: 'Inter Tight', sans-serif;
	pointer-events: none;
}

.aafe-show-card-numbers .aafe-scroll-stack-cards__card-number {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ─── Card Badge / Label ───────────────────────────────────── */
.aafe-scroll-stack-cards__card-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 20px;
	background-color: #111111;
	color: #FFFFFF;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.6;
	margin-bottom: 8px;
	font-family: 'Inter Tight', sans-serif;
}
