/* Conversion controls for commercial landing pages. */
.mactec-growth-header .mactec-growth-cta {
	margin-bottom: 0;
}

.mactec-growth-cta > p {
	max-width: 48ch;
	margin: 0;
	line-height: 1.5;
}

.mactec-paid-sticky-quote {
	display: none;
}

@media (max-width: 780px) {
	/* 0.9.96: a keyboard focus scroll keeps the focused control above the bottom Quote/Call bar. */
	html {
		scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
	}

	.mactec-paid-sticky-quote {
		position: fixed;
		z-index: 9998;
		right: max(12px, env(safe-area-inset-right));
		bottom: max(12px, env(safe-area-inset-bottom));
		left: max(12px, env(safe-area-inset-left));
		display: block;
		visibility: hidden;
		transform: translateY(calc(100% + 28px));
		opacity: 0;
		pointer-events: none;
		transition: transform 180ms ease-out, opacity 180ms ease-out, visibility 180ms linear;
	}

	.mactec-paid-sticky-quote[hidden] {
		display: none;
	}

	.mactec-paid-sticky-quote.is-visible {
		visibility: visible;
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.mactec-paid-sticky-quote a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		padding: .8rem 1rem;
		border: 2px solid #fff;
		border-radius: 8px;
		box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
		background: #c90066;
		color: #fff;
		font-weight: 800;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
	}

	.mactec-paid-sticky-quote a:hover,
	.mactec-paid-sticky-quote a:focus-visible {
		background: #8f0049;
		outline: 3px solid #111;
		outline-offset: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mactec-paid-sticky-quote {
		transition: none;
	}
}

/* 0.8.76: a round Call button (the published office number) in the 64 px gap to the right of the Quote bar. The bar already keeps that gap
   for the theme's menu button wherever .mobile-toggle exists; that button sits in the header and does not float on these pages. */
@media (max-width: 780px) {
	body .mactec-paid-sticky-quote {
		right: max(76px, env(safe-area-inset-right));
	}

	body .mactec-paid-sticky-quote a.mactec-sticky-call {
		position: absolute;
		right: -64px;
		bottom: 0;
		width: 52px;
		min-width: 52px;
		height: 52px;
		min-height: 52px;
		padding: 0;
		border: 2px solid #fff;
		border-radius: 50%;
		font-size: .9rem;
		box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
	}
}
