/**
 * Corevix-style marketing footer (+ sticky CTA) — Ascend theme.
 */
:root {
	--mh-footer-inner-max: 1100px;
}

/* Inter — same as Corevix header; beats global body / block theme fonts */
#mh-colophon.mh-site-footer,
#mh-colophon.mh-site-footer .mh-site-footer__tagline,
#mh-colophon.mh-site-footer .mh-site-footer__heading,
#mh-colophon.mh-site-footer p,
#mh-colophon.mh-site-footer a,
#mh-colophon.mh-site-footer li,
#mh-colophon.mh-site-footer .mh-site-footer__list a,
#mh-colophon.mh-site-footer .mh-site-footer__legal,
#mh-colophon.mh-site-footer .mh-site-footer__legal a,
#mh-colophon.mh-site-footer .mh-site-footer__contact-line,
#mh-colophon.mh-site-footer .mh-site-footer__contact-line a,
#mh-sticky-cta,
#mh-sticky-cta .mh-sticky-cta__label,
#mh-sticky-cta .mh-sticky-cta__stars,
#mh-sticky-cta .mh-sticky-cta__btn {
	font-family: "Inter", sans-serif !important;
}

/* Marketing container — footer + sticky CTA only (hero uses its own .mh-inner.mh-hero__inner). */
#mh-colophon.mh-site-footer .mh-inner,
#mh-sticky-cta .mh-inner {
	max-width: var(--mh-footer-inner-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: calc(var(--corevix-global-spacing, 8px) * 2);
	padding-right: calc(var(--corevix-global-spacing, 8px) * 2);
	box-sizing: border-box;
}

@media (min-width: 1667px) {
	.mh-site-footer .mh-inner {
		max-width: 1400px;
	}
}

@media (min-width: 1920px) {
	.mh-site-footer .mh-inner {
		max-width: 1666px;
	}
}

.mh-site-footer {
	background-color: #1a1a1a;
	color: #f3f4f6;
}

.mh-site-footer__main {
	padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 2.75rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mh-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

@media (max-width: 1100px) {
	.mh-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.mh-site-footer__grid {
		grid-template-columns: 1fr;
	}
}

.mh-site-footer__heading {
	font-size: 0.9375rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: #ffffff;
	letter-spacing: 0.02em;
}

.mh-site-footer__logo {
	display: inline-block;
	margin-bottom: 1rem;
	line-height: 0;
	text-decoration: none;
}

.mh-site-footer__logo-img {
	display: block;
	height: 120px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.mh-site-footer__tagline {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #d1d5db;
	max-width: 36ch;
}

.mh-site-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.mh-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.mh-site-footer__social-link:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
	color: #ffffff;
}

.mh-site-footer__social-link:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.mh-site-footer__social-icon {
	width: 22px;
	height: 22px;
	display: block;
	flex-shrink: 0;
	pointer-events: none;
}

.mh-site-footer__contact-line {
	margin: 0 0 0.45rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #d1d5db;
}

.mh-site-footer__contact-line a {
	color: #ffffff;
	text-decoration: none;
}

.mh-site-footer__contact-line a:hover {
	text-decoration: underline;
}

.mh-site-footer__map {
	margin-top: 1rem;
	line-height: 0;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
	box-sizing: border-box;
}

.mh-site-footer__map-frame {
	display: block;
	width: 100%;
	height: 200px;
	border: 0;
}

.mh-site-footer__contact-line--address {
	line-height: 1.5;
}

.mh-site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mh-site-footer__list li {
	margin-bottom: 0.45rem;
}

.mh-site-footer__list a {
	font-size: 0.875rem;
	color: #d1d5db;
	text-decoration: none;
}

.mh-site-footer__list a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.mh-site-footer__areas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.25rem;
}

.mh-site-footer__bar {
	padding: 1rem 0 1.25rem;
	background-color: #1a1a1a;
}

.mh-site-footer__bar-inner {
	padding-top: 0;
	padding-bottom: 0;
}

.mh-site-footer__legal {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #9ca3af;
	text-align: left;
}

.mh-site-footer__legal a {
	color: #cbd5e1;
	text-decoration: none;
}

.mh-site-footer__legal a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.mh-site-footer__sep {
	margin: 0 0.2rem;
	color: #6b7280;
}

/* Sticky CTA (front page) */
.mh-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50000;
	background: #ffffff;
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s linear;
}

.mh-sticky-cta.is-visible {
	transform: translateY(0);
	visibility: visible;
}

.mh-sticky-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
	box-sizing: border-box;
}

.mh-sticky-cta__left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1 1 12rem;
	min-width: 0;
}

.mh-sticky-cta__stars {
	color: #111827;
	letter-spacing: 0.05em;
	font-size: 0.9rem;
	line-height: 1;
}

.mh-sticky-cta__label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #374151;
	line-height: 1.3;
}

.mh-sticky-cta__btn {
	flex-shrink: 0;
	padding: 0.65rem 1.1rem !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	background: #1a1a1a !important;
	border: 1px solid #0f0f0f !important;
	color: #ffffff !important;
	text-decoration: none !important;
	white-space: nowrap;
	max-width: 100%;
	font-family: "Inter", sans-serif !important;
}

.mh-sticky-cta__btn:hover {
	background: #0f0f0f !important;
	color: #ffffff !important;
}

body.mh-landing.mh-sticky-cta-visible {
	padding-bottom: 4rem;
}

@media (prefers-reduced-motion: reduce) {
	.mh-sticky-cta {
		transition: none;
	}
}
