/* =========================================================
   OneHelix Global Floating CTA
   ========================================================= */

.oh-floating-cta {
	position: fixed;
	z-index: 9999;

	left: 50%;
	bottom: max(24px, env(safe-area-inset-bottom));

	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));

	width: min(calc(100% - 48px), 1140px);

	background: #102b3f;
	border-radius: 34px;

	box-shadow:
		0 18px 50px rgba(0, 0, 0, 0.18),
		0 4px 14px rgba(0, 0, 0, 0.10);

	overflow: hidden;

	transform: translateX(-50%);

	font-family: "Sora", sans-serif;
}


/* Individual CTA */
.oh-floating-cta__item {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;

	min-width: 0;
	min-height: 80px;

	padding: 20px 36px;

	color: #ffffff;
	text-decoration: none;

	transition:
		background-color 180ms ease,
		color 180ms ease;
}


/* Dividers */
.oh-floating-cta__item + .oh-floating-cta__item::before {
	position: absolute;

	top: 25%;
	bottom: 25%;
	left: 0;

	width: 1px;

	background: rgba(255, 255, 255, 0.18);

	content: "";
}


/* Label */
.oh-floating-cta__label {
	color: #fff;

	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;

	white-space: nowrap;
}


/* Icon */
.oh-floating-cta__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;

	width: 27px;
	height: 27px;

	color: #00dada;
}


.oh-floating-cta__icon svg {
	display: block;

	width: 100%;
	height: 100%;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* Hover */
.oh-floating-cta__item:hover,
.oh-floating-cta__item:focus-visible {
	background: rgba(0, 218, 218, 0.09);
	color: #ffffff;
}


.oh-floating-cta__item:focus-visible {
	outline: 3px solid #00dada;
	outline-offset: -4px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1000px) {

	.oh-floating-cta {
		width: calc(100% - 32px);
		border-radius: 26px;
	}

	.oh-floating-cta__item {
		min-height: 82px;
		gap: 14px;
		padding: 16px 20px;
	}

	.oh-floating-cta__label {
		font-size: 16px;
	}

	.oh-floating-cta__icon {
		width: 23px;
		height: 23px;
	}
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

	.oh-floating-cta {
		bottom: max(10px, env(safe-area-inset-bottom));

		width: calc(100% - 20px);

		border-radius: 18px;
	}

	.oh-floating-cta__item {
		flex-direction: column;

		gap: 5px;

		min-height: 64px;

		padding: 9px 6px;
	}

	.oh-floating-cta__label {
		font-size: 11px;
		font-weight: 600;

		text-align: center;
		white-space: normal;
	}

	.oh-floating-cta__icon {
		order: -1;

		width: 20px;
		height: 20px;
	}

	.oh-floating-cta__item + .oh-floating-cta__item::before {
		top: 20%;
		bottom: 20%;
	}
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

	.oh-floating-cta__item {
		transition: none;
	}
}