:root {
	--ecosafe-black: #050706;
	--ecosafe-green: #08783E;
	--ecosafe-green-bright: #24B45A;
	--ecosafe-white: #FFFFFF;
	--ecosafe-grey: #F5F7F5;
	--ecosafe-text: #141815;
	--ecosafe-container: 80rem;
	--ecosafe-space-1: .5rem;
	--ecosafe-space-2: 1rem;
	--ecosafe-space-3: 1.5rem;
	--ecosafe-space-4: 2rem;
	--ecosafe-space-5: 4rem;
}
*, *::before, *::after { box-sizing: border-box; }
:root { --ecosafe-header-height: 72px; --ecosafe-admin-offset: 0px; }
html { scrollbar-gutter: stable; scroll-padding-top: calc(var(--ecosafe-header-height) + var(--ecosafe-admin-offset) + 16px); }
body, .editor-styles-wrapper {
	margin: 0;
	color: var(--ecosafe-text);
	background: var(--ecosafe-white);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	overflow-wrap: break-word;
}
h1, h2, h3, h4 { margin-block: 0 1rem; color: var(--ecosafe-black); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; }
p, ul, ol { margin-block: 0 1rem; }
img { display: block; max-width: 100%; height: auto; }
iframe, video { max-width: 100%; }
a { color: var(--ecosafe-green); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid var(--ecosafe-green-bright); outline-offset: 4px; box-shadow: 0 0 0 2px var(--ecosafe-black); }
.container { width: min(calc(100% - 2rem), var(--ecosafe-container)); margin-inline: auto; }
.stack > * + * { margin-block-start: var(--ecosafe-space-3); }
.site-main { padding-block: 5rem; min-height: 55vh; }
.entry { margin-block-end: var(--ecosafe-space-4); }
.entry-content { max-width: 48rem; }
.entry-content > .alignwide { max-width: var(--ecosafe-container); }
.button, button, input[type="submit"], .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	min-height: 48px;
	max-width: 100%;
	padding: .85rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 2px;
	background: var(--ecosafe-green);
	color: var(--ecosafe-white);
	font: inherit;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.4;
}
.button:hover, button:hover, input[type="submit"]:hover { background: #075c31; }
.button-outline { border-color: currentColor; background: transparent; }
.button-outline:hover { background: var(--ecosafe-green); }
button:disabled { cursor: default; opacity: .65; }
input, textarea, select { min-width: 0; max-width: 100%; font: inherit; }
input:not([type="hidden"]), textarea, select { border: 1px solid #9ba79e; border-radius: 2px; padding: .75rem; color: var(--ecosafe-text); background: var(--ecosafe-white); }
input[type="search"] { min-height: 48px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ecosafe-black); color: var(--ecosafe-white); border-bottom: 1px solid #26352c; }
body.admin-bar { --ecosafe-admin-offset: 32px; }
html:has(body.admin-bar) { --ecosafe-admin-offset: 32px; }
.site-header { top: var(--ecosafe-admin-offset); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; min-height: var(--ecosafe-header-height); padding-block: 0; }
.brand { display: block; flex: 0 0 auto; width: 190px; max-width: 62%; line-height: 0; }
.site-header { overflow: visible; }
.site-header .brand { position: relative; width: 120px; z-index: 2; }
.brand img { width: 100%; height: auto; object-fit: contain; } /* Exact whole logo; no filter or crop. */
.menu { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 0; padding: 0; list-style: none; }
.menu a, .menu-unavailable { display: block; padding-block: .7rem; font-size: .9rem; text-decoration: none; }
.site-header a { color: var(--ecosafe-white); }
.site-header .menu a { position: relative; color: #f1f4f2; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.site-header .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--ecosafe-green-bright); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.site-header .menu a:hover::after, .site-header .menu a[aria-current]::after, .site-header:not(.section-tracking) .current-menu-item > a::after, .site-header:not(.section-tracking) .current_page_item > a::after { transform: scaleX(1); }
.menu-unavailable { color: #a9b5ae; }
.primary-navigation { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.sub-menu { margin: 0; padding-inline-start: 1rem; list-style: none; }
.menu-toggle { background: transparent; border-color: #617467; color: var(--ecosafe-white); padding: .65rem .75rem; }
.menu-toggle-lines { width: 18px; height: 10px; border-block: 1px solid currentColor; }
.menu-is-open { overflow: hidden; }
.site-footer { padding-block: 4rem 1.5rem; background: var(--ecosafe-black); color: #c7d1ca; }
.site-footer a { color: var(--ecosafe-white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 2.5rem; }
.footer-brand { max-width: 25rem; }
.footer-brand .brand { width: 240px; max-width: 100%; margin-bottom: 1.5rem; }
.site-footer h2 { color: var(--ecosafe-white); font-size: 1rem; letter-spacing: .02em; margin-top: 1rem; }
.site-footer .menu { display: block; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li a { display: inline-block; padding-block: .5rem; font-size: .95rem; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2b382f; font-size: .85rem; }
.footer-bottom p { margin: 0 auto 0 0; }
.ecosafe-image-placeholder { display: grid; place-items: center; aspect-ratio: 16 / 10; background: #edf2ee; border: 1px solid #d5dfd7; color: #466350; padding: 1.5rem; text-align: center; }
.ecosafe-image-placeholder span { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.entry-image { width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 1rem; left: 1rem; width: auto; height: auto; margin: 0; padding: 1rem; clip-path: none; white-space: normal; z-index: 1000; background: var(--ecosafe-white); color: var(--ecosafe-black); }
.editor-note { margin-top: 1.5rem; padding: 1rem; border: 1px dashed #718579; font-size: .875rem; }
[hidden] { display: none !important; }
@media (min-width: 48rem) {
	.container { width: min(calc(100% - 5rem), var(--ecosafe-container)); }
}
@media (min-width: 75rem) {
	.site-header .brand { width: 210px; height: var(--ecosafe-header-height); }
	.site-header .brand img { transition: height 220ms ease, top 220ms ease; position: absolute; top: 6px; left: 0; height: 100px; width: auto; max-width: none; }
	.header-inner { flex-wrap: nowrap; }
	.primary-navigation { flex: 1; justify-content: flex-start; margin-left: clamp(1rem, calc(50vw - 300px), 26rem); gap: 1.25rem; }
	.primary-navigation .menu { align-items: center; flex-wrap: nowrap; gap: 1rem; justify-content: flex-start; }
	.primary-navigation .menu > li { position: relative; }
	.primary-navigation .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 12rem; max-width: 18rem; padding: .75rem; background: var(--ecosafe-black); border: 1px solid #2b382f; }
	.primary-navigation .menu > li:last-child .sub-menu { left: auto; right: 0; }
	.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
	.header-call { flex: 0 0 auto; margin-left: auto; }
}
@media (max-width: 74.99rem) {
	.primary-navigation { width: 100%; align-items: stretch; flex-direction: column; gap: 1rem; padding-block: 1rem; max-height: 65vh; overflow-y: auto; }
	.primary-navigation .menu { flex-direction: column; gap: .1rem; }
	.primary-navigation .menu a, .menu-unavailable { padding: .65rem .5rem; }
	.navigation-ready .primary-navigation { position: absolute; top: 100%; left: -1rem; width: calc(100% + 2rem); padding: 1rem; background: var(--ecosafe-black); max-height: calc(100dvh - var(--ecosafe-header-height) - var(--ecosafe-admin-offset)); border-bottom: 1px solid #617467; }
	.header-call { align-self: flex-start; }
}
@media (max-width: 48.875rem) { body.admin-bar, html:has(body.admin-bar) { --ecosafe-admin-offset: 46px; } }
@media (max-width: 37.5rem) { body.admin-bar, html:has(body.admin-bar) { --ecosafe-admin-offset: 0px; }
	/* WordPress makes its small-screen toolbar absolute, so it scrolls away. */ }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (min-width: 75rem) {
    .site-header.is-scrolled .brand img { height: 58px; top: 7px; }
    .primary-navigation:has(.header-call) { margin-left: clamp(1rem, calc(100vw - 1100px), 17rem); }
}
.header-phone-notice { position: absolute; right: 0; top: 100%; font-size: .75rem; background: #050706; max-width: 22rem; z-index: 3; }
.header-phone-notice summary { cursor: pointer; padding: .25rem .5rem; }
.header-phone-notice p { padding: .75rem; margin: 0; }
.header-call, .hero-content .button-outline { border: 1px solid #c4d2c8; border-radius: 99px; background: rgba(5,7,6,.4); color: white; font-weight: 700; }
.header-call:hover, .hero-content .button-outline:hover { background: #08783E; }
.header-call::before, .hero-content .button-outline::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: .5rem; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11 11 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11 11 0 00.57 3.6 1 1 0 01-.24 1z'/%3E%3C/svg%3E") center / contain no-repeat; }

@media(min-width:75rem) { .primary-navigation { margin-left: auto; justify-content: flex-end; } }

/* Responsive wrappers retain the existing image boxes and focal styling. */
picture.ecosafe-picture { display: block; width: 100%; height: 100%; }
.card-media picture > .ecosafe-media { width: 100%; height: 100%; }
