/* Figma header 45:1050 — bar ~93px; logo 157×89; nav 15px/18px lh; Contact pill 48×~151; phone 48; gaps ~48px / 16px */

.dmf-site-header .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dmf-site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	border-bottom: 1px solid rgba(28, 75, 66, 0.14);
	box-shadow: 0 2px 8px rgba(99, 99, 99, 0.2);
}

body.dmf-nav-open {
	overflow: hidden;
}

.dmf-site-header__overlay {
	position: fixed;
	inset: 0;
	z-index: 205;
	background: rgba(22, 22, 22, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s;
	pointer-events: none;
}

@media (min-width: 62rem) {
	.dmf-site-header__overlay {
		display: none;
	}
}

.dmf-site-header.is-nav-open .dmf-site-header__overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.dmf-site-header__inner {
	max-width: min(var(--dmf-max-wide), 100%);
	margin: 0 auto;
	min-height: 5.8125rem; /* 93px */
	padding: 0.125rem clamp(1rem, 5vw, 6.25rem);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(1rem, 3vw, 2rem);
	flex-wrap: nowrap;
}

.dmf-site-header__cluster {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
	min-width: 0;
	gap: clamp(1.25rem, 2.5vw, 3rem);
}

.dmf-site-header__logo {
	display: flex;
	align-items: center;
	line-height: 0;
	flex-shrink: 0;
	min-width: 0;
}

.dmf-site-header__logo img {
	width: clamp(5.5rem, 28vw, 9.8125rem);
	height: auto;
	max-height: 3.5rem;
	object-fit: contain;
}

@media (min-width: 62rem) {
	.dmf-site-header__logo img {
		width: 9.8125rem;
		max-height: none;
		height: 5.5625rem;
	}
}

.dmf-site-header__logo-text {
	font-weight: 700;
	font-size: 1rem;
	color: var(--dmf-green);
}

/* Hamburger — visible below 62rem */
.dmf-site-header__menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(28, 75, 66, 0.35);
	border-radius: 0.5rem;
	background: #fff;
	color: var(--dmf-green);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.dmf-site-header__menu-toggle:hover {
	border-color: var(--dmf-green);
}

.dmf-site-header__menu-toggle:focus-visible {
	outline: 2px solid var(--dmf-green);
	outline-offset: 2px;
}

@media (min-width: 62rem) {
	.dmf-site-header__menu-toggle {
		display: none;
	}
}

.dmf-site-header__menu-toggle-bars {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.3125rem;
	width: 1.25rem;
	height: 1rem;
}

.dmf-site-header__menu-toggle-bars span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.dmf-site-header.is-nav-open .dmf-site-header__menu-toggle-bars span:nth-child(1) {
	transform: translateY(0.4375rem) rotate(45deg);
}

.dmf-site-header.is-nav-open .dmf-site-header__menu-toggle-bars span:nth-child(2) {
	opacity: 0;
}

.dmf-site-header.is-nav-open .dmf-site-header__menu-toggle-bars span:nth-child(3) {
	transform: translateY(-0.4375rem) rotate(-45deg);
}

/* Mobile drawer shell */
.dmf-site-header__nav-shell {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	align-items: stretch;
}

@media (max-width: 61.99rem) {
	.dmf-site-header__cluster {
		flex: 0 0 auto;
		margin-left: auto;
	}

	.dmf-site-header__nav-shell {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		width: min(22rem, 92vw);
		max-width: 100%;
		z-index: 210;
		box-sizing: border-box;
		padding: 0.75rem 1.25rem 1.5rem;
		padding-top: max(0.75rem, env(safe-area-inset-top));
		height: 100vh;
		height: 100dvh;
		min-height: 100vh;
		min-height: 100dvh;
		background: #fff;
		box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.28s ease, visibility 0.28s;
	}

	.dmf-site-header.is-nav-open .dmf-site-header__nav-shell {
		transform: translateX(0);
		visibility: visible;
	}
}

@media (min-width: 62rem) {
	.dmf-site-header__nav-shell {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: clamp(1.25rem, 2.5vw, 3rem);
	}
}

.dmf-site-header__menu-head {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 0.5rem;
	min-height: 2.75rem;
}

@media (min-width: 62rem) {
	.dmf-site-header__menu-head {
		display: none;
	}
}

.dmf-site-header__menu-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0.5rem;
	background: transparent;
	color: var(--dmf-green);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.dmf-site-header__menu-close:hover {
	background: rgba(28, 75, 66, 0.08);
}

.dmf-site-header__menu-close:focus-visible {
	outline: 2px solid var(--dmf-green);
	outline-offset: 2px;
}

.dmf-site-header__nav {
	flex: 0 1 auto;
	min-width: 0;
}

@media (max-width: 61.99rem) {
	.dmf-site-header__nav {
		flex: 0 0 auto;
	}
}

@media (min-width: 62rem) {
	.dmf-site-header__nav {
		display: block;
	}
}

.dmf-site-header__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: clamp(1.25rem, 2.2vw, 6.5rem);
}

@media (max-width: 61.99rem) {
	.dmf-site-header__list {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		border-top: 1px solid rgba(28, 75, 66, 0.12);
		border-bottom: 1px solid rgba(28, 75, 66, 0.12);
	}
}

.dmf-site-header__list li {
	margin: 0;
}

@media (max-width: 61.99rem) {
	.dmf-site-header__list li {
		border-bottom: 1px solid rgba(28, 75, 66, 0.08);
	}

	.dmf-site-header__list li:last-child {
		border-bottom: none;
	}
}

.dmf-site-header__list a {
	font-size: 0.9375rem; /* 15px */
	font-weight: 600;
	line-height: 1.2; /* ~18px */
	color: var(--dmf-green);
	text-decoration: none;
	text-transform: capitalize;
	white-space: nowrap;
}

@media (max-width: 61.99rem) {
	.dmf-site-header__list a {
		display: block;
		padding: 1rem 0;
		white-space: normal;
		font-size: 1rem;
	}
}

.dmf-site-header__list a:hover {
	text-decoration: underline;
}

.dmf-site-header__actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 3rem; /* ~48px Contact → phone block */
	justify-content: flex-end;
}

@media (max-width: 61.99rem) {
	.dmf-site-header__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 3rem;
		margin-top: 1.5rem;
		padding-top: 0.5rem;
		justify-content: flex-start;
	}
}

.dmf-site-header__phone-block {
	display: flex;
	align-items: center;
	gap: 1rem; /* ~16px badge → support copy */
}

@media (max-width: 61.99rem) {
	.dmf-site-header__phone-block {
		align-items: center;
		justify-content: flex-start;
	}
}

/* Contact Us — Figma 45:1083: white pill 48px high, 30px radius; icon in 36px bordered circle */
.dmf-site-header__contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 0.75rem 0 0.4375rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	color: var(--dmf-green);
	background: #fff;
	border: none;
	border-radius: 1.875rem;
	text-decoration: none;
	box-sizing: border-box;
}

.dmf-site-header__contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--dmf-green);
	border-radius: 1.125rem;
}

.dmf-site-header__contact-icon img {
	display: block;
	width: 0.8125rem;
	height: auto;
	max-height: 0.875rem;
	object-fit: contain;
}

.dmf-site-header__phone-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	flex-shrink: 0;
	background: var(--dmf-green);
	border-radius: 1.5rem;
	text-decoration: none;
}

.dmf-site-header__phone-badge img {
	display: block;
	width: 0.9375rem;
	height: 0.9375rem;
	object-fit: contain;
}

.dmf-site-header__support {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	line-height: 1.5;
}

@media (min-width: 48rem) {
	.dmf-site-header__support {
		display: flex;
	}
}

@media (max-width: 61.99rem) {
	.dmf-site-header__support {
		display: flex;
	}
}

.dmf-site-header__support-label {
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.5; /* 22.5px */
	color: #161616;
}

.dmf-site-header__support-phone {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--dmf-green);
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 61.99rem) {
	.dmf-site-header__inner {
		min-height: 0;
		padding-top: 0.625rem;
		padding-bottom: 0.625rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dmf-site-header__nav-shell,
	.dmf-site-header__overlay,
	.dmf-site-header__menu-toggle-bars span {
		transition-duration: 0.01ms !important;
	}
}
