/* ECS Partnership — home page button v3.0.0 (ECS brand colours) */
.ecsb-hb-wrap {
	position: fixed; z-index: 9990;
	right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
	animation: ecsb-hb-in .6s cubic-bezier(.2, .8, .2, 1) .8s both;
}
@keyframes ecsb-hb-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

a.ecsb-hb, a.ecsb-hb:visited {
	box-sizing: border-box; position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 62px; padding: 8px 10px 8px 8px; border-radius: 999px;
	background: linear-gradient(110deg, #C94A1A 0%, #A8326F 55%, #5B0AA0 100%); background-size: 160% 100%;
	color: #fff !important; text-decoration: none !important;
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	box-shadow: 0 14px 40px rgba(46, 25, 73, .38);
	transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease;
	-webkit-tap-highlight-color: transparent;
}
a.ecsb-hb::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); animation: ecsb-hb-shine 4.5s ease-in-out 2s infinite; }
@keyframes ecsb-hb-shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
a.ecsb-hb:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 46px rgba(46, 25, 73, .45); }
a.ecsb-hb:active { transform: scale(.98); }
a.ecsb-hb:focus-visible { outline: 3px solid #FF9A5E; outline-offset: 3px; }
.ecsb-hb__mark { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.ecsb-hb__mark img { width: 36px !important; height: auto !important; max-width: none; margin: 0; }
.ecsb-hb__text { display: flex; flex-direction: column; line-height: 1.15; font-size: 16px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.ecsb-hb__text small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #FFE1D0; margin-bottom: 2px; }
.ecsb-hb__arrow { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); transition: transform .2s; }
a.ecsb-hb:hover .ecsb-hb__arrow { transform: translateX(3px); }
.ecsb-hb__arrow svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
a.ecsb-hb--inline { box-shadow: 0 10px 30px rgba(46, 25, 73, .25); }

@media (max-width: 600px) {
	.ecsb-hb-wrap { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: center; }
	.ecsb-hb-wrap a.ecsb-hb { width: 100%; max-width: 440px; justify-content: space-between; }
	.ecsb-hb-wrap .ecsb-hb__text { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.ecsb-hb-wrap, a.ecsb-hb::after { animation: none; }
	a.ecsb-hb, .ecsb-hb__arrow { transition: none; }
}
@media print { .ecsb-hb-wrap { display: none !important; } }
