/* Sticky footer reveal — hidden until scrolled into view (clip-path + fixed) */

.bz-footer--simple{
	background:var(--bz-footer);
	color:var(--bz-muted);
	padding:36px 0 28px;
	border-top:1px solid var(--bz-line);
	position:relative;
	z-index:1;
}

/* Spacer in document flow; clip-path is the reveal window for the fixed panel */
.bz-footer--sticky{
	position:relative;
	height:var(--bz-footer-h,560px);
	width:100%;
	clip-path:polygon(0 0,100% 0,100% 100%,0 100%);
	margin-top:0;
	padding:0!important;
	background:transparent!important;
	border:0;
	z-index:0;
}
.bz-footer-sticky-shell{
	position:relative;
	height:100%;
}
.bz-footer-sticky-fixed{
	position:fixed;
	bottom:0;
	left:0;
	right:0;
	height:var(--bz-footer-h,560px);
	width:100%;
	z-index:0;
	pointer-events:none;
}
.bz-footer-sticky-panel{
	position:sticky;
	top:calc(100vh - var(--bz-footer-h,560px));
	height:100%;
	overflow-x:hidden;
	overflow-y:auto;
	-webkit-overflow-scrolling:touch;
	background:var(--bz-footer);
	border-top:1px solid var(--bz-line);
	color:var(--bz-muted);
	pointer-events:auto;
}

.bz-footer-inner{
	position:relative;
	z-index:2;
	width:min(1180px,calc(100% - 56px));
	margin:0 auto;
	padding:56px 32px 36px;
	display:flex;
	flex-direction:column;
	gap:40px;
}
.bz-footer-glow{
	position:absolute;
	inset:0;
	pointer-events:none;
	z-index:0;
	background:
		radial-gradient(40% 40% at 85% 10%,color-mix(in srgb,var(--bz-accent) 16%,transparent),transparent 70%),
		radial-gradient(35% 35% at 10% 20%,color-mix(in srgb,var(--bz-warm) 10%,transparent),transparent 70%);
}

/* RTL: brand (logo+name) RIGHT · socials LEFT — opposite each other */
.bz-footer-top{
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	flex-wrap:nowrap;
	direction:rtl;
	position:relative;
	width:100%;
	padding-inline:0;
}
.bz-footer-top .bz-footer-brand{
	order:1;
	flex:0 0 auto;
}
.bz-footer-top .bz-footer-socials{
	order:2;
	flex:0 0 auto;
	margin:0;
}

.bz-footer-socials{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:10px;
	position:relative;
	direction:rtl;
}
.bz-footer-socials__label{
	font-size:12px;
	color:var(--bz-faint);
	margin-left:6px;
}
.bz-footer-icon{
	width:38px;
	height:38px;
	border-radius:10px;
	display:grid;
	place-items:center;
	background:color-mix(in srgb,var(--bz-glass) 80%,transparent);
	border:1px solid var(--bz-line);
	color:var(--bz-ink-strong);
	text-decoration:none;
	transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.bz-footer-icon svg{width:16px;height:16px}
.bz-footer-icon__img{width:18px;height:18px;object-fit:contain;display:block}
.bz-footer-icon:hover{
	transform:translateY(-2px);
	border-color:var(--bz-accent);
	background:var(--bz-accent-soft);
}

.bz-footer-columns{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:32px 28px;
	position:relative;
	padding-inline:0;
}
.bz-footer-col h3{
	margin:0 0 16px;
	font-family:var(--bz-font)!important;
	font-size:18px!important;
	font-weight:800!important;
	line-height:1.45!important;
	letter-spacing:-.01em;
	color:var(--bz-ink-strong)!important;
}
.bz-footer-col ul{
	list-style:none;
	margin:0;
	padding:0;
	display:grid;
	gap:11px;
}
.bz-footer-link{
	color:var(--bz-muted);
	text-decoration:none;
	font-family:var(--bz-font)!important;
	font-size:14.5px!important;
	font-weight:500!important;
	line-height:1.7;
	transition:color .2s ease;
}
.bz-footer-link:hover{
	color:var(--bz-accent);
}

.bz-footer-badges{
	display:flex;
	flex-wrap:wrap;
	gap:14px;
	position:relative;
	padding-inline:0;
}
.bz-footer-badge{
	display:flex;
	align-items:center;
	gap:10px;
	padding:10px 12px;
	border-radius:12px;
	background:color-mix(in srgb,var(--bz-glass) 70%,transparent);
	border:1px solid var(--bz-line);
	text-decoration:none;
	color:inherit;
	min-width:140px;
	flex:1 1 140px;
}
.bz-footer-badge__icon{
	flex:0 0 auto;
}
.bz-footer-badge__icon svg{width:24px;height:24px}
.bz-footer-badge__img{
	width:36px;height:36px;object-fit:contain;display:block;border-radius:8px;
}
.bz-footer-badge__text{display:grid;gap:2px}
.bz-footer-badge__text strong{
	font-size:12px;
	color:var(--bz-ink-strong);
}
.bz-footer-badge__text small{
	font-size:10px;
	color:var(--bz-faint);
}

.bz-footer-copy{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:center;
	gap:10px;
	padding:22px 8px 8px;
	margin-top:4px;
	border-top:1px solid var(--bz-line);
	font-size:11px;
	color:var(--bz-faint);
	flex-shrink:0;
}
body.bz-has-dock .bz-footer-copy{
	padding-bottom:calc(20px + env(safe-area-inset-bottom, 0px));
}
body.bz-has-dock .bz-footer--simple .bz-footer-inner,
body.bz-has-dock .bz-footer-sticky-panel .bz-footer-inner{
	padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px));
}
.bz-footer-copy p{margin:0;font-family:var(--bz-font)!important;text-align:center}
.bz-footer-dot{
	width:6px;height:6px;border-radius:50%;
	background:var(--bz-accent);
	animation:bzFooterPulse 2s ease-in-out infinite;
}
@keyframes bzFooterPulse{
	50%{opacity:.35;transform:scale(.85)}
}

.bz-footer-brand{position:relative}
.bz-footer-brand .bz-logo{
	justify-content:flex-start;
}
.bz-footer-desc{
	max-width:520px;
	font-size:12px;
	line-height:1.9;
	color:var(--bz-muted);
	padding-inline:0;
}
.bz-footer-desc p{margin:0}

.bz-footer-reveal{
	opacity:0;
	transform:translateY(12px);
	filter:blur(5px);
	transition:opacity .75s cubic-bezier(.2,.7,.2,1),transform .75s cubic-bezier(.2,.7,.2,1),filter .75s ease;
}
.bz-footer-reveal.is-in{
	opacity:1;
	transform:none;
	filter:blur(0);
}

@media(max-width:900px){
	.bz-footer--sticky{margin-top:0}
	.bz-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
	.bz-footer-inner{width:calc(100% - 32px);padding:44px 20px 28px;gap:28px}
	.bz-footer-top{gap:20px;padding-inline:0}
}
@media(max-width:520px){
	.bz-footer-columns{grid-template-columns:1fr 1fr}
	.bz-footer-badge{min-width:calc(50% - 6px)}
	.bz-footer-top{
		flex-direction:column;
		align-items:center;
		justify-content:center;
		text-align:center;
		gap:16px;
	}
	.bz-footer-top .bz-footer-brand,
	.bz-footer-top .bz-footer-socials{
		order:unset;
		justify-content:center;
	}
	.bz-footer-top .bz-footer-brand .bz-logo{
		justify-content:center;
	}
	.bz-footer-socials{
		justify-content:center;
	}
	.bz-footer-desc{
		max-width:none;
		text-align:center;
		margin-inline:auto;
	}
	.bz-footer-copy{
		justify-content:center;
		text-align:center;
	}
}
@media(prefers-reduced-motion:reduce){
	.bz-footer-reveal{opacity:1;transform:none;filter:none;transition:none}
	.bz-footer-dot{animation:none}
}
