/**
 * Sparkle Dispatch Desk — global footer.
 */
.sparkleacc-footer {
	--footer-ink: #111820;
	--footer-paper: #fffaf0;
	--footer-cream: #fff1c9;
	--footer-coral: #ff6657;
	--footer-orange: #ffad27;
	--footer-teal: #11b8b4;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0 max(20px, 4vw) clamp(20px, 3vw, 42px);
	border-top: 2px solid var(--footer-ink);
	background:
		linear-gradient(rgba(255, 250, 240, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 250, 240, 0.035) 1px, transparent 1px),
		var(--footer-ink);
	background-size: 35px 35px;
	color: var(--footer-paper);
	font-family: "Vazirmatn", sans-serif;
}

.sparkleacc-footer *,
.sparkleacc-footer *::before,
.sparkleacc-footer *::after {
	box-sizing: border-box;
}

.sparkleacc-footer a {
	color: inherit;
	text-decoration: none;
}

.sparkleacc-footer__signal {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 3vw, 42px);
	min-height: 42px;
	margin-inline: calc(max(20px, 4vw) * -1);
	padding: 8px 20px;
	border-bottom: 2px solid rgba(255, 250, 240, 0.2);
	background: var(--footer-teal);
	color: var(--footer-ink);
	font: 900 11px/1 "Lilita One", "Vazirmatn", sans-serif;
	letter-spacing: 0.08em;
	direction: ltr;
	white-space: nowrap;
}

.sparkleacc-footer__signal i {
	width: 7px;
	height: 7px;
	border: 1.5px solid var(--footer-ink);
	background: var(--footer-coral);
	transform: rotate(45deg);
}

.sparkleacc-footer__inner {
	width: min(1500px, 100%);
	margin: 0 auto;
}

.sparkleacc-footer__ticket {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) auto;
	gap: 32px;
	align-items: center;
	margin: clamp(38px, 5vw, 72px) 0;
	padding: clamp(25px, 3vw, 42px);
	border: 2px solid var(--footer-ink);
	border-radius: 19px;
	background:
		radial-gradient(circle at 0 0, rgba(17, 24, 32, 0.08) 0 2px, transparent 2.5px) 0 0 / 19px 19px,
		var(--footer-orange);
	box-shadow: 8px 8px 0 var(--footer-coral);
	color: var(--footer-ink);
}

.sparkleacc-footer__ticket-label {
	display: inline-flex;
	margin-bottom: 10px;
	padding: 6px 9px;
	border: 2px solid var(--footer-ink);
	border-radius: 6px;
	background: var(--footer-ink);
	color: var(--footer-paper);
	font: 900 11px/1 "Lilita One", "Vazirmatn", sans-serif;
	letter-spacing: 0.05em;
	direction: ltr;
}

.sparkleacc-footer__ticket h2 {
	margin: 0 0 8px;
	font-size: clamp(29px, 3.1vw, 48px);
	font-weight: 950;
	line-height: 1.2;
	letter-spacing: -0.038em;
}

.sparkleacc-footer__ticket p {
	max-width: 720px;
	margin: 0;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.85;
}

.sparkleacc-footer__ticket-actions {
	display: flex;
	gap: 10px;
}

.sparkleacc-footer__ticket-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 52px;
	padding: 10px 18px;
	border: 2px solid var(--footer-ink);
	border-radius: 10px;
	background: var(--footer-paper);
	box-shadow: 4px 4px 0 var(--footer-ink);
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
	transition: transform 170ms ease, box-shadow 170ms ease;
}

.sparkleacc-footer__ticket-actions a.is-primary {
	background: var(--footer-teal);
}

.sparkleacc-footer__ticket-actions a:hover {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--footer-ink);
}

.sparkleacc-footer__ticket-actions a:focus,
.sparkleacc-footer__ticket-actions a:active,
.sparkleacc-footer__ticket-actions a:focus-visible {
	background: var(--footer-paper);
	color: var(--footer-ink);
}

.sparkleacc-footer__ticket-actions a.is-primary:focus,
.sparkleacc-footer__ticket-actions a.is-primary:active,
.sparkleacc-footer__ticket-actions a.is-primary:focus-visible {
	background: var(--footer-teal);
}

.sparkleacc-footer__ticket-actions a:focus-visible {
	outline: 3px solid var(--footer-paper);
	outline-offset: 4px;
}

.sparkleacc-footer__desk {
	display: grid;
	grid-template-columns: minmax(280px, 1.05fr) minmax(330px, 1.2fr) minmax(250px, 0.72fr);
	gap: clamp(26px, 5vw, 82px);
	align-items: start;
	padding: 8px 0 clamp(40px, 5vw, 72px);
}

.sparkleacc-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 20px;
	font: 900 clamp(31px, 3.3vw, 49px)/1 "Lilita One", sans-serif;
	letter-spacing: -0.025em;
}

.sparkleacc-footer__logo > span {
	color: var(--footer-coral);
	font-family: "Vazirmatn", sans-serif;
	font-size: 0.56em;
}

.sparkleacc-footer__logo > strong {
	font-weight: 900;
	text-shadow: 3px 3px 0 var(--footer-orange);
}

.sparkleacc-footer__logo > b {
	padding: 7px 8px 5px;
	border: 2px solid var(--footer-paper);
	border-radius: 9px;
	background: var(--footer-coral);
	font-size: 0.43em;
	letter-spacing: 0.025em;
}

.sparkleacc-footer__logo:focus-visible {
	outline: 3px solid var(--footer-orange);
	outline-offset: 5px;
}

.sparkleacc-footer__brand p {
	max-width: 430px;
	margin: 0 0 22px;
	color: rgba(255, 250, 240, 0.72);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.9;
}

.sparkleacc-footer__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 850;
}

.sparkleacc-footer__status i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--footer-teal);
	box-shadow: 0 0 0 5px rgba(17, 184, 180, 0.14);
}

.sparkleacc-footer__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 64px);
}

.sparkleacc-footer__nav h3 {
	margin: 0 0 19px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 250, 240, 0.25);
	color: var(--footer-orange);
	font-size: 13px;
	font-weight: 900;
}

.sparkleacc-footer__nav a {
	position: relative;
	display: table;
	margin: 0 0 12px;
	color: rgba(255, 250, 240, 0.78);
	font-size: 13px;
	font-weight: 700;
	transition: color 150ms ease, transform 150ms ease;
}

.sparkleacc-footer__nav a::before {
	content: "←";
	position: absolute;
	inset-inline-end: calc(100% + 7px);
	opacity: 0;
	color: var(--footer-teal);
	transition: opacity 150ms ease, transform 150ms ease;
}

.sparkleacc-footer__nav a:hover {
	color: var(--footer-paper);
	transform: translateX(-4px);
}

.sparkleacc-footer__nav a:hover::before {
	opacity: 1;
	transform: translateX(-2px);
}

.sparkleacc-footer__nav a:focus,
.sparkleacc-footer__nav a:active {
	background: transparent;
	color: var(--footer-paper);
}

.sparkleacc-footer__nav a:focus-visible {
	outline: 2px solid var(--footer-orange);
	outline-offset: 4px;
	background: transparent;
	color: var(--footer-paper);
}

.sparkleacc-footer__panel {
	padding: 22px;
	border: 2px solid rgba(255, 250, 240, 0.8);
	border-radius: 15px;
	background: rgba(255, 250, 240, 0.06);
	box-shadow: 6px 6px 0 rgba(255, 102, 87, 0.9);
}

.sparkleacc-footer__panel > span {
	display: block;
	margin-bottom: 22px;
	color: var(--footer-teal);
	font: 900 10px/1 "Lilita One", "Vazirmatn", sans-serif;
	letter-spacing: 0.065em;
	direction: ltr;
	text-align: left;
}

.sparkleacc-footer__panel strong {
	display: block;
	margin-bottom: 9px;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.55;
}

.sparkleacc-footer__panel p {
	margin: 0 0 21px;
	color: rgba(255, 250, 240, 0.7);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.8;
}

.sparkleacc-footer__panel a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 9px 12px;
	border: 2px solid var(--footer-paper);
	border-radius: 9px;
	background: var(--footer-orange);
	box-shadow: 3px 3px 0 var(--footer-paper);
	color: var(--footer-ink);
	font-size: 12px;
	font-weight: 900;
	transition: transform 160ms ease;
}

.sparkleacc-footer__panel a:hover {
	transform: translate(-2px, -2px);
}

.sparkleacc-footer__panel a:focus,
.sparkleacc-footer__panel a:active,
.sparkleacc-footer__panel a:focus-visible {
	background: var(--footer-orange);
	color: var(--footer-ink);
}

.sparkleacc-footer__panel a:focus-visible {
	outline: 3px solid var(--footer-teal);
	outline-offset: 4px;
}

.sparkleacc-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 250, 240, 0.22);
	color: rgba(255, 250, 240, 0.58);
	font-size: 11px;
	font-weight: 650;
}

.sparkleacc-footer__bottom p {
	margin: 0;
}

.sparkleacc-footer__bottom > div {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.sparkleacc-footer__bottom a:hover {
	color: var(--footer-paper);
}

.sparkleacc-footer__bottom a:focus,
.sparkleacc-footer__bottom a:active {
	background: transparent;
	color: var(--footer-paper);
}

.sparkleacc-footer__bottom a:focus-visible {
	outline: 2px solid var(--footer-orange);
	outline-offset: 4px;
	background: transparent;
	color: var(--footer-paper);
}

@media (max-width: 1024px) {
	.sparkleacc-footer {
		padding-inline: max(18px, 3vw);
	}

	.sparkleacc-footer__signal {
		margin-inline: calc(max(18px, 3vw) * -1);
	}

	.sparkleacc-footer__ticket {
		grid-template-columns: 1fr;
	}

	.sparkleacc-footer__ticket-actions {
		justify-content: flex-start;
	}

	.sparkleacc-footer__desk {
		grid-template-columns: 1fr 1.15fr;
	}

	.sparkleacc-footer__panel {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1fr 1fr auto;
		gap: 18px;
		align-items: center;
	}

	.sparkleacc-footer__panel > span {
		grid-column: 1 / -1;
		margin-bottom: 0;
	}

	.sparkleacc-footer__panel strong,
	.sparkleacc-footer__panel p {
		margin-bottom: 0;
	}
}

@media (max-width: 767px) {
	.sparkleacc-footer {
		padding: 0 14px 23px;
		background-size: 27px 27px;
	}

	.sparkleacc-footer__signal {
		justify-content: flex-start;
		overflow: hidden;
		margin-inline: -14px;
		padding-inline: 16px;
	}

	.sparkleacc-footer__signal span:last-child,
	.sparkleacc-footer__signal i:last-of-type {
		display: none;
	}

	.sparkleacc-footer__ticket {
		gap: 22px;
		margin: 38px 0 48px;
		padding: 23px 18px;
		border-radius: 14px;
		box-shadow: 5px 5px 0 var(--footer-coral);
	}

	.sparkleacc-footer__ticket h2 {
		font-size: 31px;
	}

	.sparkleacc-footer__ticket p {
		font-size: 13px;
	}

	.sparkleacc-footer__ticket-actions {
		display: grid;
		grid-template-columns: 1.15fr 1fr;
	}

	.sparkleacc-footer__ticket-actions a {
		min-height: 49px;
		padding: 8px 10px;
		box-shadow: 3px 3px 0 var(--footer-ink);
	}

	.sparkleacc-footer__desk {
		grid-template-columns: 1fr;
		gap: 38px;
		padding-bottom: 42px;
	}

	.sparkleacc-footer__logo {
		font-size: 38px;
	}

	.sparkleacc-footer__nav {
		gap: 22px;
	}

	.sparkleacc-footer__panel {
		grid-column: auto;
		display: block;
		padding: 19px;
		box-shadow: 4px 4px 0 var(--footer-coral);
	}

	.sparkleacc-footer__panel > span {
		margin-bottom: 18px;
	}

	.sparkleacc-footer__panel strong {
		margin-bottom: 8px;
	}

	.sparkleacc-footer__panel p {
		margin-bottom: 19px;
	}

	.sparkleacc-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}
}

@media (max-width: 430px) {
	.sparkleacc-footer__ticket-actions {
		grid-template-columns: 1fr;
	}

	.sparkleacc-footer__nav {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sparkleacc-footer *,
	.sparkleacc-footer *::before,
	.sparkleacc-footer *::after {
		scroll-behavior: auto !important;
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
