/* =======================================================================
 * ax-hero-slider — homepage hero (Figma 2527:68, arrow 1493:2513)
 * Glass arrows 55.264px, radius 77, backdrop-blur 7.5px.
 *   rest  bg rgba(255,255,255,.15), white glyph
 *   hover bg rgba(255,255,255,.70), dark glyph
 * Pagination = progress bars. Active pill fills green left-to-right,
 * driven from Splide's autoplay rate (--ax-rate, 0 → 1).
 * ==================================================================== */

#top .ax-hero {
	--ax-purple: #444192;
	--ax-green: #00BD87;
	--ax-hero-height: max-content;
	position: relative;
	width: 100%;
}

/* ---- slide ---------------------------------------------------------- */

#top .ax-hero .splide__slide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ax-hero-height);
	overflow: hidden;
}

#top .ax-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 900px;
	padding: 80px 24px 80px;
	text-align: center;
}

#top .ax-hero .splide__track {
	overflow: visible;
}

[data-ax-hero] .splide__slide {
    opacity: 0;
}

#top .ax-hero__eyebrow {
	margin: 0 0 26px;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 1.95px;
	text-transform: uppercase;
	color: #fff;
}

#top .ax-hero__title {
    margin: 0 0 44px;
    font-family: "Montserrat", sans-serif !important;
    font-size: 55px;
    font-weight: 600;
    line-height: 1.117;
    letter-spacing: -1.1px;
    color: #fff;
    text-transform: unset;
}

#top .ax-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 154px;
	min-height: 51px;
	padding: 0 28px;
	border-radius: 77px;
	background: #fff;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--ax-purple) !important;
	transition: background-color 0.25s ease, color 0.25s ease;
}

#top .ax-hero__btn:hover {
	background: var(--ax-purple);
	color: #fff !important;
}

#top .ax-hero__btn:focus {
	background: #00BD87 !important;
	color: #fff !important;
}

/* ---- arrows --------------------------------------------------------- */

#top .ax-hero .splide__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 55.264px;
	height: 55.264px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 77px;
	background: rgba(255, 255, 255, 0.15);
	-webkit-backdrop-filter: blur(7.5px);
	backdrop-filter: blur(7.5px);
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease, background-color 0.25s ease, color 0.25s ease;
}

#top .ax-hero .splide__arrow svg {
	width: 22px;
	height: 18px;
	fill: none;
}

#top .ax-hero .splide__arrow--prev {
	left: 68px;
	transform: translateY(-50%);
}

#top .ax-hero .splide__arrow--next {
	right: 68px;
}

/* Reveal on hover / keyboard focus anywhere in the hero. */
#top .ax-hero:hover .splide__arrow,
#top .ax-hero:focus-within .splide__arrow {
	opacity: 1;
}

#top .ax-hero .splide__arrow:hover,
#top .ax-hero .splide__arrow:focus-visible {
	background: rgba(255, 255, 255, 0.7);
	color: #1a1a1a;
	opacity: 1;
}

#top .ax-hero .splide__arrow:disabled {
	opacity: 0;
}

/* ---- pagination = progress bars ------------------------------------- */

#top .ax-hero .splide__pagination {
	bottom: 20px;
	gap: 15px;
	padding: 0;
}

#top .ax-hero .splide__pagination li {
	line-height: 0;
}

#top .ax-hero .splide__pagination__page {
	position: relative;
	width: 12px;
	height: 12px;
	margin: 0;
	overflow: hidden;
	border-radius: 77px;
	border: 1px solid rgba(255, 255, 255, 0.30) !important;
	background: rgba(255, 255, 255, 0.15);
	opacity: 1;
	transform: none;
	transition: width 0.4s ease, background-color 0.4s ease;
}

#top .ax-hero .splide__pagination__page.is-active {
	width: 28px;
	background: rgba(255, 255, 255, 0.45);
	transform: none;
}

/* The fill. Scales from the left edge; --ax-rate is written by the JS on
   every autoplay tick, so pausing simply stops updating it. */
#top .ax-hero .splide__pagination__page::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 77px;
	background: var(--ax-green);
	transform: scaleX(var(--ax-rate, 0));
	transform-origin: left center;
}

/* ---- responsive ----------------------------------------------------- */

@media only screen and (max-width: 989px) {
	#top .ax-hero {
		--ax-hero-height: 620px;
	}

	#top .ax-hero__title {
		font-size: 40px;
		letter-spacing: -0.8px;
	}

	#top .ax-hero .splide__arrow--prev {
		left: 20px;
	}

	#top .ax-hero .splide__arrow--next {
		right: 20px;
	}
}

@media only screen and (max-width: 767px) {
	#top .ax-hero__inner {
		padding: 64px 20px 64px;
	}

	#top .ax-hero__title {
		font-size: 32px;
		margin-bottom: 20px;
	}

	/* No hover on touch — keep the arrows out of the way entirely. */
	#top .ax-hero .splide__arrows {
		display: none;
	}
	
	#top .ax-hero .splide__slide {
		min-height: unset !important;
	}
	
	#top .ax-hero__eyebrow {
		margin: 0 0 20px;
	}

	#top .ax-hero .splide__pagination {
		bottom: 28px;
	}
	
	#top .ax-hero__btn {
		height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#top .ax-hero .splide__arrow,
	#top .ax-hero__btn,
	#top .ax-hero .splide__pagination__page {
		transition: none;
	}
}