/* Floating social + action rails. Scoped to .sb-float so page layouts stay untouched. */
.sb-float{
	--sb-float-lime:#CEF446;
	--sb-float-ink:#0B1206;
	--sb-float-panel:rgba(8,16,10,.92);
	--sb-float-border:rgba(206,244,70,.22);
	position:fixed;
	top:50%;
	z-index:1000;
	transform:translateY(-50%);
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:14px;
	padding:14px 10px;
	border-radius:999px;
	background:var(--sb-float-panel);
	border:1px solid var(--sb-float-border);
	box-shadow:0 12px 28px rgba(0,0,0,.35), 0 0 18px rgba(206,244,70,.08);
	backdrop-filter:blur(8px);
	-webkit-backdrop-filter:blur(8px);
	opacity:0;
	visibility:hidden;
	pointer-events:none;
	transition:opacity .35s ease, visibility .35s ease;
}
.sb-float.is-visible{
	opacity:1;
	visibility:visible;
	pointer-events:auto;
}
.sb-float--social{ left:18px; }
.sb-float--actions{
	right:18px;
	gap:12px;
	padding:12px 10px;
}
.sb-float__ico,
.sb-float__round{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	border-radius:50%;
	color:var(--sb-float-lime);
	text-decoration:none;
	transition:transform .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}
.sb-float__ico svg,
.sb-float__round svg,
.sb-float__demo-ico svg{
	width:30px;
	height:30px;
	display:block;
}
.sb-float__ico:hover,
.sb-float__round:hover{
	color:var(--sb-float-ink);
	background:var(--sb-float-lime);
	transform:translateY(-2px) scale(1.06);
	box-shadow:0 0 18px rgba(206,244,70,.35);
}
.sb-float__round{
	border:1px solid rgba(206,244,70,.45);
	background:rgba(206,244,70,.06);
}
.sb-float__demo{
	appearance:none;
	border:0;
	cursor:pointer;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:10px;
	width:48px;
	min-height:148px;
	padding:14px 8px;
	border-radius:999px;
	background:var(--sb-float-lime);
	color:var(--sb-float-ink);
	box-shadow:0 0 22px rgba(206,244,70,.28);
	transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.sb-float__demo-ico{
	display:inline-flex;
	flex:0 0 auto;
}
.sb-float__demo-text{
	writing-mode:sideways-lr;
	transform:rotate(180deg);
	font-family:'Montserrat',sans-serif;
	font-size:13px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
	line-height:1;
	white-space:nowrap;
}
.sb-float__demo:hover{
	transform:translateY(-2px);
	background:#d9ff5a;
	box-shadow:0 0 28px rgba(206,244,70,.45);
}
.sb-float__demo:focus-visible,
.sb-float__ico:focus-visible,
.sb-float__round:focus-visible{
	outline:2px solid var(--sb-float-lime);
	outline-offset:3px;
}

@media (max-width:1199px){
	.sb-float--social{ left:12px; }
	.sb-float--actions{ right:12px; }
	.sb-float{ gap:12px; padding:12px 8px; }
	.sb-float__ico,
	.sb-float__round{ width:38px; height:38px; }
	.sb-float__demo{ width:44px; min-height:132px; }
}

/* Mobile: drop side rails. Contact actions sit in a compact bottom bar. */
@media (max-width:767px){
	.sb-float--social{
		display:none !important;
	}
	.sb-float--actions{
		top:auto;
		left:12px;
		right:auto;
		bottom:calc(16px + env(safe-area-inset-bottom, 0px));
		transform:none;
		flex-direction:row;
		align-items:center;
		gap:10px;
		padding:8px 10px;
		border-radius:999px;
		opacity:1;
		visibility:visible;
		pointer-events:auto;
		z-index:1000;
	}
	.sb-float__demo{
		flex-direction:row;
		width:auto;
		min-height:0;
		height:40px;
		padding:0 14px;
		gap:8px;
	}
	.sb-float__demo-text{
		writing-mode:horizontal-tb;
		transform:none;
		letter-spacing:.04em;
		font-size:12px;
	}
	.sb-float__demo-ico svg{
		width:18px;
		height:18px;
	}
	.sb-float__round{
		width:40px;
		height:40px;
	}
	.sb-float__round svg{
		width:20px;
		height:20px;
	}
	.sb-float__demo:hover,
	.sb-float__round:hover{
		transform:none;
	}
	/* Keep page content clear of the fixed bottom actions and chat widget. */
	body{
		padding-bottom:calc(84px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width:420px){
	.sb-float--actions{
		left:10px;
		right:auto;
		max-width:calc(100vw - 88px);
		padding:7px 8px;
		gap:8px;
	}
	.sb-float__demo{
		height:38px;
		padding:0 12px;
	}
	.sb-float__demo-text{ font-size:11px; }
	.sb-float__round{ width:36px; height:36px; }
	.sb-float__round svg{ width:18px; height:18px; }
}

@media (prefers-reduced-motion:reduce){
	.sb-float{
		transition:none;
	}
	.sb-float__ico,
	.sb-float__round,
	.sb-float__demo{
		transition:none;
	}
	.sb-float__ico:hover,
	.sb-float__round:hover,
	.sb-float__demo:hover{
		transform:none;
	}
}
