/* =========================================================================
   MDHelpTek Header & Footer
   Tokens and measurements taken from the standalone reference build.
   ========================================================================= */

.mdhf {
	--mdhf-navy: #14265c;
	--mdhf-navy-dark: #0e1c47;
	--mdhf-navy-row: #1b3070;
	--mdhf-orange: #ef5b25;
	--mdhf-orange-hover: #d94b18;
	--mdhf-orange-light: #ff8a4c;
	--mdhf-body: #4a5a83;
	--mdhf-body-3: #33436e;
	--mdhf-muted: #8b98b8;
	--mdhf-border: #e6eaf3;
	--mdhf-border-2: #d8dfee;
	--mdhf-tint: #f2f5fb;
	--mdhf-tint-2: #eef1f8;
	--mdhf-chip: #fdeee6;
	--mdhf-cta-bg: #dbe9fd;
	--mdhf-peach-2: #fdece3;
	--mdhf-peach-border: #f6d6c4;
	--mdhf-call-border: #ccd5e8;
	--mdhf-max: 1200px;
	--mdhf-pad-x: 20px;

	font-family: Poppins, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: var(--mdhf-navy);
	-webkit-font-smoothing: antialiased;
}

.mdhf *,
.mdhf *::before,
.mdhf *::after {
	box-sizing: border-box;
}

.mdhf ul,
.mdhf ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mdhf li::marker {
	content: none;
}

.mdhf a,
.mdhf a:link,
.mdhf a:visited,
.mdhf a:hover,
.mdhf a:focus,
.mdhf a:active {
	text-decoration: none !important;
	background-image: none !important;
}

/* Themes love to underline links with a bottom border — strip it everywhere
   except the buttons, which own their border and shadow. */
.mdhf a:not(.mdhf-btn),
.mdhf a:not(.mdhf-btn):link,
.mdhf a:not(.mdhf-btn):visited,
.mdhf a:not(.mdhf-btn):hover,
.mdhf a:not(.mdhf-btn):focus,
.mdhf a:not(.mdhf-btn):active {
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.mdhf img {
	max-width: 100%;
}

.mdhf p {
	margin: 0;
}

.mdhf h4 {
	margin: 0;
	font-family: inherit;
}

.mdhf button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: none;
}

.mdhf :focus-visible {
	outline: 2px solid var(--mdhf-orange);
	outline-offset: 3px;
	border-radius: 4px;
}

/* =========================================================================
   HEADER
   ========================================================================= */

.mdhf-header {
	position: relative;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--mdhf-border);
	transition: box-shadow 0.24s ease;
}

/* Fixed rather than sticky on purpose: a page builder drops the header inside a
   container only as tall as the header itself, and `position: sticky` would
   scroll straight out of it. The spacer below keeps the page from jumping. */
.mdhf-header.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999;
}

body.admin-bar .mdhf-header.is-sticky {
	top: 32px;
}

.mdhf-header__spacer {
	display: none;
}

.mdhf-header.is-sticky + .mdhf-header__spacer {
	display: block;
}

/* Anchor links (#lead) must not land underneath the fixed header. */
:target {
	scroll-margin-top: 92px;
}

.mdhf-header.is-scrolled {
	box-shadow: 0 10px 26px rgba(20, 38, 92, 0.08);
}

.mdhf-header__inner {
	max-width: var(--mdhf-max);
	margin: 0 auto;
	padding: 14px var(--mdhf-pad-x);
	display: flex;
	align-items: center;
	gap: 20px;
}

/* ---- logo ---- */

.mdhf-logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	line-height: 0;
}

.mdhf-logo__img {
	display: block;
	/* never let the logo crowd out the buttons on a narrow phone */
	width: min(var(--mdhf-logo-w, 168px), 42vw);
	height: auto;
}

.mdhf-logo--footer .mdhf-logo__img {
	width: var(--mdhf-logo-w-footer, 180px);
}

.mdhf-logo__text {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.6px;
	line-height: 1.2;
	color: var(--mdhf-navy);
}

/* ---- desktop nav ---- */

.mdhf-nav {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: 28px;
	font-size: 14px;
	font-weight: 500;
	min-width: 0;
}

.mdhf-nav__item {
	position: relative;
}

.mdhf-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 2px;
	line-height: 1.2;
	color: var(--mdhf-navy);
	white-space: nowrap;
	transition: color 0.18s ease;
}

.mdhf-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--mdhf-orange), var(--mdhf-orange-light));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.24s cubic-bezier(0.2, 0.75, 0.3, 1);
}

.mdhf-nav__item:hover > .mdhf-nav__link,
.mdhf-nav__item:focus-within > .mdhf-nav__link,
.mdhf-nav__item.is-active > .mdhf-nav__link {
	color: var(--mdhf-orange);
}

.mdhf-nav__item:hover > .mdhf-nav__link::after,
.mdhf-nav__item:focus-within > .mdhf-nav__link::after,
.mdhf-nav__item.is-active > .mdhf-nav__link::after {
	transform: scaleX(1);
}

.mdhf-caret {
	flex: 0 0 auto;
	color: var(--mdhf-muted);
	transition: transform 0.24s ease, color 0.18s ease;
}

.mdhf-nav__item:hover > .mdhf-nav__link .mdhf-caret,
.mdhf-nav__item:focus-within > .mdhf-nav__link .mdhf-caret,
.mdhf-nav__item.is-open > .mdhf-nav__link .mdhf-caret {
	transform: rotate(180deg);
	color: var(--mdhf-orange);
}

/* ---- dropdown ---- */

.mdhf-drop {
	position: absolute;
	top: calc(100% + 16px);
	left: -14px;
	z-index: 60;
	min-width: 320px;
	padding: 12px;
	background: #ffffff;
	border: 1px solid var(--mdhf-border);
	border-radius: 18px;
	box-shadow: 0 26px 56px rgba(20, 38, 92, 0.16), 0 3px 10px rgba(20, 38, 92, 0.06);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px) scale(0.985);
	transform-origin: top left;
	transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.2, 0.75, 0.3, 1), visibility 0.26s;
}

/* invisible bridge so the panel survives the gap under the link */
.mdhf-drop::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -18px;
	height: 18px;
}

/* little arrow pointing at the parent link */
.mdhf-drop::after {
	content: "";
	position: absolute;
	top: -7px;
	left: 30px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-left: 1px solid var(--mdhf-border);
	border-top: 1px solid var(--mdhf-border);
	border-radius: 3px 0 0 0;
	transform: rotate(45deg);
}

.mdhf-drop.is-right {
	left: auto;
	right: -14px;
	transform-origin: top right;
}

.mdhf-drop.is-right::after {
	left: auto;
	right: 30px;
}

.mdhf-nav__item:hover > .mdhf-drop,
.mdhf-nav__item:focus-within > .mdhf-drop,
.mdhf-nav__item.is-open > .mdhf-drop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.mdhf-drop__bar {
	display: block;
	height: 3px;
	margin: 2px 10px 10px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--mdhf-orange), var(--mdhf-orange-light) 60%, #ffd2bd);
}

.mdhf-drop__grid {
	display: grid;
	gap: 2px;
}

.mdhf-drop.is-wide {
	min-width: 640px;
}

.mdhf-drop.is-wide .mdhf-drop__grid {
	grid-template-columns: 1fr 1fr;
	gap: 2px 10px;
}

.mdhf-drop__link {
	display: grid;
	grid-template-columns: 36px 1fr;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--mdhf-navy);
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.mdhf-drop__link:hover,
.mdhf-drop__link:focus-visible,
.mdhf-drop__link.is-active {
	background: var(--mdhf-tint);
	color: var(--mdhf-navy);
	transform: translateX(2px);
}

.mdhf-drop__ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: var(--mdhf-chip);
	color: var(--mdhf-orange);
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mdhf-drop__link:hover .mdhf-drop__ic,
.mdhf-drop__link:focus-visible .mdhf-drop__ic,
.mdhf-drop__link.is-active .mdhf-drop__ic {
	background: var(--mdhf-orange);
	color: #ffffff;
	box-shadow: 0 7px 16px rgba(239, 91, 37, 0.3);
	transform: translateX(1px);
}

.mdhf-drop__txt {
	display: block;
	min-width: 0;
}

.mdhf-drop__t {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.1px;
}

.mdhf-drop__d {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--mdhf-body);
}

.mdhf-drop__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--mdhf-tint-2);
	font-size: 13px;
	font-weight: 600;
	color: var(--mdhf-navy);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mdhf-drop__all:hover {
	background: var(--mdhf-cta-bg);
	color: var(--mdhf-navy);
}

.mdhf-arrow {
	flex: 0 0 auto;
	color: var(--mdhf-orange);
	transition: transform 0.2s ease;
}

.mdhf-drop__all:hover .mdhf-arrow,
.mdhf-help__cta:hover .mdhf-arrow {
	transform: translateX(3px);
}

/* ---- header buttons ---- */

.mdhf-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	white-space: nowrap;
}

.mdhf-actions__btns {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mdhf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 6px;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mdhf-btn--call,
.mdhf-btn--call:link,
.mdhf-btn--call:visited {
	padding: 10px 14px;
	color: var(--mdhf-navy);
	border: 1px solid var(--mdhf-call-border) !important;
	background: transparent;
}

.mdhf-btn--call:hover,
.mdhf-btn--call:focus {
	border-color: var(--mdhf-navy) !important;
	color: var(--mdhf-navy);
}

.mdhf-btn__ic {
	flex: 0 0 auto;
	color: var(--mdhf-orange);
}

.mdhf-btn--cta,
.mdhf-btn--cta:link,
.mdhf-btn--cta:visited {
	padding: 11px 18px;
	color: #ffffff;
	background: var(--mdhf-orange);
	border: 0 !important;
	box-shadow: 0 8px 18px rgba(239, 91, 37, 0.22) !important;
}

.mdhf-btn--cta:hover,
.mdhf-btn--cta:focus {
	background: var(--mdhf-orange-hover);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(239, 91, 37, 0.3) !important;
}

.mdhf-btn--cta .mdhf-btn__ic {
	display: none;
	color: #ffffff;
}

/* Bigger orange button used by the landing footer CTA band. */
.mdhf-btn--lg {
	padding: 14px 24px !important;
	font-size: 15.5px;
	border-radius: 8px;
	white-space: nowrap;
}

/* ---- burger ---- */

.mdhf-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--mdhf-call-border);
	border-radius: 8px;
	background: #ffffff;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.mdhf-burger:hover {
	border-color: var(--mdhf-navy);
}

.mdhf-burger__box {
	display: block;
	position: relative;
	width: 20px;
	height: 14px;
}

.mdhf-burger__box span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--mdhf-navy);
	transition: transform 0.26s cubic-bezier(0.2, 0.75, 0.3, 1), opacity 0.18s ease, background-color 0.18s ease;
}

.mdhf-burger__box span:nth-child(1) {
	top: 0;
}

.mdhf-burger__box span:nth-child(2) {
	top: 6px;
}

.mdhf-burger__box span:nth-child(3) {
	top: 12px;
}

.mdhf-header.is-open .mdhf-burger {
	border-color: var(--mdhf-orange);
}

.mdhf-header.is-open .mdhf-burger__box span {
	background: var(--mdhf-orange);
}

.mdhf-header.is-open .mdhf-burger__box span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.mdhf-header.is-open .mdhf-burger__box span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0.2);
}

.mdhf-header.is-open .mdhf-burger__box span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ---- mobile drawer ---- */

.mdhf-drawer {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	max-height: calc(100vh - 100%);
	max-height: calc(100dvh - 100%);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #ffffff;
	border-top: 1px solid var(--mdhf-border);
	box-shadow: 0 26px 44px rgba(20, 38, 92, 0.16);
	animation: mdhf-drawer-in 0.24s cubic-bezier(0.2, 0.75, 0.3, 1);
}

.mdhf-drawer[hidden] {
	display: none;
}

@keyframes mdhf-drawer-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mdhf-m-item + .mdhf-m-item {
	border-top: 1px solid var(--mdhf-tint-2);
}

.mdhf-m-row {
	display: flex;
	align-items: stretch;
}

.mdhf-m-link {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	padding: 15px var(--mdhf-pad-x);
	font-size: 15.5px;
	font-weight: 600;
	color: var(--mdhf-navy);
	transition: color 0.18s ease;
}

.mdhf-m-item.is-active > .mdhf-m-row > .mdhf-m-link,
.mdhf-m-link:hover {
	color: var(--mdhf-orange);
}

.mdhf-m-toggle {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	color: var(--mdhf-body);
	border-left: 1px solid var(--mdhf-tint-2);
}

.mdhf-m-toggle .mdhf-caret {
	transition: transform 0.24s ease;
	width: 13px;
	height: 9px;
}

.mdhf-m-item.is-open .mdhf-m-toggle {
	color: var(--mdhf-orange);
}

.mdhf-m-item.is-open .mdhf-m-toggle .mdhf-caret {
	transform: rotate(180deg);
}

.mdhf-m-sub {
	display: none;
	padding: 6px 0 10px;
	background: #f8fafd;
	border-top: 1px solid var(--mdhf-tint-2);
}

.mdhf-m-item.is-open .mdhf-m-sub {
	display: block;
	animation: mdhf-drawer-in 0.2s ease;
}

.mdhf-m-sub a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px var(--mdhf-pad-x) 11px 26px;
	font-size: 14px;
	font-weight: 500;
	color: var(--mdhf-body);
	transition: color 0.18s ease, background-color 0.18s ease;
}

.mdhf-m-sub a:hover,
.mdhf-m-sub a.is-active {
	color: var(--mdhf-orange);
	background: #f2f5fb;
}

.mdhf-m-dot {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mdhf-orange-light);
}

.mdhf-drawer__actions {
	display: grid;
	gap: 10px;
	padding: 16px var(--mdhf-pad-x) 20px;
	border-top: 1px solid var(--mdhf-tint-2);
	background: #ffffff;
}

.mdhf-drawer__actions .mdhf-btn {
	width: 100%;
	padding: 14px 18px;
	font-size: 15px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.mdhf-footer {
	background: #ffffff;
	border-top: 1px solid var(--mdhf-border);
}

.mdhf-footer__grid {
	max-width: var(--mdhf-max);
	margin: 0 auto;
	padding: 52px var(--mdhf-pad-x) 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 36px;
}

.mdhf-footer__brand .mdhf-logo {
	margin-bottom: 16px;
}

.mdhf-footer__about {
	margin: 0 0 18px !important;
	font-size: 14px;
	line-height: 1.7;
	color: var(--mdhf-body);
	max-width: 34em;
}

.mdhf-footer h4 {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--mdhf-navy);
}

.mdhf-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mdhf-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--mdhf-tint);
	color: var(--mdhf-navy);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mdhf-social a:hover {
	background: var(--mdhf-orange);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(239, 91, 37, 0.26);
}

.mdhf-help {
	display: grid;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mdhf-body);
}

.mdhf-help b {
	display: block;
	font-weight: 600;
	color: var(--mdhf-navy);
}

.mdhf-help a {
	color: var(--mdhf-body);
	transition: color 0.18s ease;
}

.mdhf-help a:hover {
	color: var(--mdhf-orange);
}

.mdhf-help__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--mdhf-orange) !important;
}

.mdhf-links {
	display: grid;
	gap: 9px;
	font-size: 14px;
}

.mdhf-links a {
	display: inline-flex;
	align-items: center;
	color: var(--mdhf-body);
	transition: color 0.18s ease, transform 0.18s ease;
}

.mdhf-links a::before {
	content: "";
	width: 0;
	height: 2px;
	margin-right: 0;
	border-radius: 2px;
	background: var(--mdhf-orange);
	transition: width 0.2s ease, margin-right 0.2s ease;
}

.mdhf-links a:hover,
.mdhf-links a.is-active {
	color: var(--mdhf-orange);
}

.mdhf-links a:hover::before,
.mdhf-links a.is-active::before {
	width: 10px;
	margin-right: 8px;
}

.mdhf-copy {
	background: var(--mdhf-navy);
	color: #ffffff;
}

.mdhf-copy__inner {
	max-width: var(--mdhf-max);
	margin: 0 auto;
	padding: 14px var(--mdhf-pad-x);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	font-size: 13px;
	line-height: 1.6;
}

.mdhf-copy__sep {
	color: rgba(255, 255, 255, 0.4);
}

.mdhf-copy__inner a,
.mdhf-copy__inner a:link,
.mdhf-copy__inner a:visited {
	color: #ffffff;
	transition: color 0.18s ease;
}

.mdhf-copy__inner a:hover {
	color: var(--mdhf-orange-light);
}

/* =========================================================================
   LANDING (PPC) FOOTER
   ========================================================================= */

.mdhf-ppc-cta {
	background: #fdece3;
	border-bottom: 1px solid var(--mdhf-peach-border, #f6d6c4);
}

.mdhf-ppc-cta__inner {
	max-width: var(--mdhf-max);
	margin: 0 auto;
	padding: 26px var(--mdhf-pad-x);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
}

.mdhf-ppc-cta__text {
	flex: 1 1 260px;
	margin: 0;
	font-size: clamp(17px, 2vw, 21px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.3px;
	color: var(--mdhf-navy);
}

.mdhf-ppc-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.mdhf-ppc-cta__or {
	font-size: 15px;
	font-weight: 500;
	color: #6b5a52;
	white-space: nowrap;
}

.mdhf-ppc-cta__or a {
	font-weight: 600;
	color: var(--mdhf-navy);
}

.mdhf-ppc-cta__or a:hover {
	color: var(--mdhf-orange);
}

.mdhf-ppc-grid {
	max-width: var(--mdhf-max);
	margin: 0 auto;
	padding: 34px var(--mdhf-pad-x) 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px 40px;
	align-items: start;
}

.mdhf-ppc-grid .mdhf-logo {
	margin-bottom: 14px;
}

.mdhf-ppc-grid .mdhf-logo__img {
	width: min(var(--mdhf-logo-w-ppc, 148px), 42vw);
}

.mdhf-ppc-about {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--mdhf-body);
	max-width: 30em;
}

.mdhf-ppc-contact {
	display: grid;
	gap: 12px;
	justify-items: start;
}

.mdhf-ppc-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--mdhf-muted);
}

.mdhf-ppc-lines {
	display: grid;
	gap: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mdhf-body);
}

.mdhf-ppc-lines a {
	font-weight: 600;
	color: var(--mdhf-orange);
}

.mdhf-ppc-lines a:hover {
	color: var(--mdhf-navy);
}

.mdhf-ppc-tick {
	margin-top: 6px;
	display: grid;
	grid-template-columns: 16px 1fr;
	gap: 9px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--mdhf-navy);
}

.mdhf-ppc-tick span:first-child {
	color: var(--mdhf-orange);
}

/* =========================================================================
   STICKY MOBILE BAR
   ========================================================================= */

.mdhf-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--mdhf-navy-dark);
	box-shadow: 0 -6px 20px rgba(20, 38, 92, 0.18);
}

.mdhf-bar a {
	padding: 15px 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
}

.mdhf-bar__call {
	background: var(--mdhf-navy);
}

.mdhf-bar__cta {
	background: var(--mdhf-orange);
}

.mdhf-bar__spacer {
	height: 52px;
}

/* =========================================================================
   BREAKPOINTS
   Only two hard breakpoints, matching the reference build.
   ========================================================================= */

@media (min-width: 1081px) {
	.mdhf-bar,
	.mdhf-bar__spacer,
	.mdhf-drawer {
		display: none !important;
	}
}

@media (max-width: 1080px) {
	.mdhf-nav {
		display: none !important;
	}

	.mdhf-burger {
		display: inline-flex;
	}

	.mdhf-header__inner {
		gap: 14px;
	}

	/* keep the last drawer button clear of the sticky bottom bar */
	body:has(.mdhf-bar) .mdhf-drawer {
		padding-bottom: 56px;
	}
}

/* Tablet: the phone button collapses to its icon, the CTA keeps its label. */
@media (max-width: 900px) {
	.mdhf-header__inner .mdhf-btn--call .mdhf-btn__label {
		display: none;
	}

	.mdhf-header__inner .mdhf-btn--call {
		width: 42px;
		height: 42px;
		padding: 0;
	}
}

/* Phones: logo + a call icon + a book icon, so the bar stays balanced. */
@media (max-width: 720px) {
	.mdhf-header__inner .mdhf-btn--cta .mdhf-btn__label {
		display: none;
	}

	.mdhf-header__inner .mdhf-btn--cta {
		width: 42px;
		height: 42px;
		padding: 0;
	}

	.mdhf-header__inner .mdhf-btn--cta .mdhf-btn__ic {
		display: block;
	}

	.mdhf-header__inner {
		padding: 12px var(--mdhf-pad-x);
		gap: 10px;
	}

	.mdhf-actions,
	.mdhf-actions__btns {
		gap: 8px;
	}

	.mdhf-footer__grid {
		padding: 40px var(--mdhf-pad-x) 24px;
		gap: 30px;
	}
}

/* The drawer always shows full-width labelled buttons. */
.mdhf-drawer__actions .mdhf-btn__label {
	display: inline !important;
}

@media (max-width: 782px) {
	body.admin-bar .mdhf-header.is-sticky {
		top: 46px;
	}
}

@media (max-width: 700px) {
	.mdhf-drop.is-wide .mdhf-drop__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mdhf *,
	.mdhf *::before,
	.mdhf *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
