/* ==========================================================================
   Audacia — Top promo bar (Editorial Glass marquee + social rail)
   Pure CSS scroll animation, infinite loop. Respects prefers-reduced-motion.
   Motion-first, GPU-only (transform / opacity). No layout thrash.
   ========================================================================== */

:root {
	--audacia-vert: #046166;
	--audacia-vert-deep: #034146;
	--audacia-or: #e5bf21;
	--audacia-or-warm: #f2d24a;
	--audacia-noir: #071c1d;
	--audacia-blanc: #faf8f3;
}

.audacia-topbar {
	position: relative;
	z-index: 80;
	width: 100%;
	background: var(--audacia-noir);
	color: var(--audacia-blanc);
	border-bottom: 1px solid rgba(229, 191, 33, 0.18);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.audacia-topbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ----- Marquee column (scrolling) ----- */
.audacia-topbar__marquee {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.audacia-topbar__marquee::before,
.audacia-topbar__marquee::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 80px;
	z-index: 2;
	pointer-events: none;
}

.audacia-topbar__marquee::before {
	left: 0;
	background: linear-gradient(90deg, var(--audacia-noir) 0%, rgba(7, 28, 29, 0) 100%);
}

.audacia-topbar__marquee::after {
	right: 0;
	background: linear-gradient(-90deg, var(--audacia-noir) 0%, rgba(7, 28, 29, 0) 100%);
}

.audacia-topbar__track {
	display: flex;
	align-items: center;
	gap: 60px;
	padding: 12px 0;
	white-space: nowrap;
	width: max-content;
	animation: audacia-topbar-scroll 38s linear infinite;
	will-change: transform;
}

@keyframes audacia-topbar-scroll {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

.audacia-topbar__marquee:hover .audacia-topbar__track,
.audacia-topbar__marquee:focus-within .audacia-topbar__track {
	animation-play-state: paused;
}

.audacia-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: rgba(250, 248, 243, 0.92);
}

.audacia-topbar__dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--audacia-or);
	box-shadow: 0 0 12px rgba(229, 191, 33, 0.5);
	flex-shrink: 0;
}

.audacia-topbar__eyebrow {
	font-weight: 800;
	color: var(--audacia-or);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 10.5px;
	padding: 3px 9px;
	border: 1px solid rgba(229, 191, 33, 0.35);
	border-radius: 999px;
	background: rgba(229, 191, 33, 0.08);
}

.audacia-topbar__text {
	font-weight: 500;
}

.audacia-topbar__link {
	color: var(--audacia-or);
	font-weight: 800;
	text-decoration: none;
	padding-bottom: 1px;
	border-bottom: 1px solid rgba(229, 191, 33, 0.45);
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.audacia-topbar__link:hover {
	opacity: 0.9;
	border-color: var(--audacia-or);
}

.audacia-topbar__link:focus-visible {
	outline: 2px solid var(--audacia-or);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ----- Social rail (right, non-scrolling) ----- */
.audacia-topbar__socials {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	padding-left: 16px;
	border-left: 1px solid rgba(229, 191, 33, 0.18);
}

.audacia-topbar__social-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	color: var(--audacia-or);
	text-decoration: none;
	transition: color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
	will-change: transform;
}

.audacia-topbar__social-link svg {
	display: block;
	width: 15px;
	height: 15px;
}

.audacia-topbar__social-link:hover,
.audacia-topbar__social-link:focus-visible {
	color: var(--audacia-blanc);
	background-color: rgba(229, 191, 33, 0.14);
	transform: translate3d(0, -1px, 0);
}

.audacia-topbar__social-link:focus-visible {
	outline: 2px solid var(--audacia-or);
	outline-offset: 2px;
}

/* Screen reader only (WCAG helper) */
.audacia-topbar .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
	.audacia-topbar__inner { gap: 16px; padding: 0 16px; }
	.audacia-topbar__socials { gap: 2px; padding-left: 12px; }
}

@media (max-width: 768px) {
	.audacia-topbar__track {
		gap: 40px;
		animation-duration: 26s;
	}
	.audacia-topbar__item { font-size: 11.5px; gap: 10px; }
	.audacia-topbar__eyebrow { font-size: 9.5px; padding: 2px 7px; }

	/* Hide informational brand item, keep the 2 CTAs rotating. */
	.audacia-topbar__item.is-brand { display: none; }

	/* Keep only LinkedIn + Instagram on mobile for breathing room. */
	.audacia-topbar__social-link--facebook,
	.audacia-topbar__social-link--youtube { display: none; }

	.audacia-topbar__socials { padding-left: 10px; }
	.audacia-topbar__social-link { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
	.audacia-topbar__inner { padding: 0 12px; gap: 10px; }
	.audacia-topbar__socials { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.audacia-topbar__track {
		animation: none;
		transform: none;
		justify-content: center;
		width: 100%;
		padding: 12px 24px;
		flex-wrap: wrap;
		gap: 16px;
	}
	.audacia-topbar__marquee::before,
	.audacia-topbar__marquee::after { display: none; }
	.audacia-topbar__social-link { transition: none; }
	.audacia-topbar__social-link:hover,
	.audacia-topbar__social-link:focus-visible { transform: none; }
}

/* Hide the legacy Elementor COWORKING topbar and the old finbiz header.
   They are rendered inside the Elementor header template 10067 and the
   finbiz parent <header id="reactheme-header">. Both are replaced by the
   custom audacia-topbar + audacia-header. */
#audacia-topbar-coworking,
#audacia-topbar-spacer,
.audacia-legacy-topbar,
#reactheme-header {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
}
