/* Floating quicklinks nav - homepage only, left side.
   Desktop: compact dots, label reveals on hover.
   Mobile: collapsed floating toggle button that expands into a
   drawer panel showing full labels, closes on link tap or on
   tapping outside it. */
.hcw-quicklinks {
	position: fixed;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
	z-index: 60;
}
.hcw-quicklinks ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}
.hcw-quicklinks a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.25rem 0;
	text-decoration: none;
}
.hcw-quicklinks .dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.4);
	transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}
.hcw-quicklinks li.is-active .dot {
	background: var(--hcw-green);
	border-color: var(--hcw-green);
	transform: scale(1.35);
}
.hcw-quicklinks .label {
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.7);
	white-space: nowrap;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}
.hcw-quicklinks li.is-active .label {
	color: var(--hcw-green);
}
.hcw-quicklinks-toggle {
	display: none;
}

/* Desktop: reveal label on hover of that specific link. */
@media (min-width: 900px) {
	.hcw-quicklinks a:hover .label,
	.hcw-quicklinks a:focus-visible .label {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Mobile/tablet: collapsed into a floating toggle button; tapping it
   opens a drawer panel with full labels always visible (no hover on
   touch devices, so labels can't be hidden-by-default the way desktop
   does it). */
@media (max-width: 899px) {
	.hcw-quicklinks { left: 0.75rem; top: auto; bottom: 5.5rem; transform: none; }

	.hcw-quicklinks-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border-radius: 999px;
		border: 1px solid rgba(255, 255, 255, 0.25);
		background: rgba(5, 5, 5, 0.85);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
		cursor: pointer;
		padding: 0;
	}
	.hcw-quicklinks-toggle-dot {
		width: 9px; height: 9px; border-radius: 999px;
		background: var(--hcw-green);
		transition: transform .3s ease;
	}
	.hcw-quicklinks.is-open .hcw-quicklinks-toggle-dot {
		transform: scale(1.3) rotate(45deg);
	}

	.hcw-quicklinks ul {
		position: absolute;
		bottom: 52px;
		left: 0;
		background: rgba(5, 5, 5, 0.92);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 12px;
		padding: 0.9rem 1.1rem;
		gap: 0.9rem;
		opacity: 0;
		transform: translateY(8px) scale(0.97);
		pointer-events: none;
		transform-origin: bottom left;
		transition: opacity .2s ease, transform .2s ease;
	}
	.hcw-quicklinks.is-open ul {
		opacity: 1;
		transform: translateY(0) scale(1);
		pointer-events: auto;
	}
	.hcw-quicklinks .label {
		opacity: 1;
		transform: none;
		font-size: 13px;
	}
}

/* Never overlap the mobile drawer or sit above modals. */
.quote-success-open .hcw-quicklinks { display: none; }