/*
Theme Name: NMWR
Description: Bespoke lightweight theme for NJ Medical Waste Removal. No page builder required.
Version: 1.0.2
Author: BioHaul Solutions LLC
Text Domain: nmwr
*/

/* ============ Tokens ============ */
:root {
	--nmwr-navy: #0b2638;
	--nmwr-navy-2: #12394f;
	--nmwr-green: #258a63;
	--nmwr-green-2: #43a67c;
	--nmwr-green-50: #edf8f3;
	--nmwr-offwhite: #f6f9f8;
	--nmwr-ink: #1c2f3a;
	--nmwr-muted: #5d737f;
	--nmwr-line: #e3ece8;
	--nmwr-white: #ffffff;
	--nmwr-radius: 14px;
	--nmwr-shadow: 0 10px 30px rgba(11, 38, 56, 0.08);
	--nmwr-shadow-sm: 0 4px 14px rgba(11, 38, 56, 0.07);
	--nmwr-max: 1140px;
	--nmwr-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ============ Base ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	padding: 0;
	background: var(--nmwr-white);
	color: var(--nmwr-ink);
	font-family: var(--nmwr-font);
	font-size: 17px;
	line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--nmwr-green); }
a:hover { color: var(--nmwr-navy-2); }

h1, h2, h3, h4 {
	color: var(--nmwr-navy);
	line-height: 1.22;
	letter-spacing: -0.015em;
	margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; }
h3 { font-size: 1.2rem; margin-top: 1.4em; }

h2:first-child, h3:first-child { margin-top: 0; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--nmwr-green); }

/* ============ Layout ============ */
.nmwr-container {
	max-width: var(--nmwr-max);
	margin: 0 auto;
	padding: 0 24px;
}

.nmwr-section { padding: 72px 0; }
.nmwr-section.tint { background: var(--nmwr-offwhite); }
.nmwr-section.navy { background: var(--nmwr-navy); color: #dce8ee; }
.nmwr-section.navy h2, .nmwr-section.navy h3 { color: #fff; }
.nmwr-section.green-tint { background: var(--nmwr-green-50); }

.nmwr-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nmwr-green);
	margin-bottom: 0.7em;
}
.nmwr-section.navy .nmwr-eyebrow { color: var(--nmwr-green-2); }

.nmwr-lead { font-size: 1.12rem; color: var(--nmwr-muted); max-width: 46em; }
.nmwr-section.navy .nmwr-lead { color: #b9cdd8; }

.nmwr-center { text-align: center; }
.nmwr-center .nmwr-lead { margin-left: auto; margin-right: auto; }

/* ============ Buttons ============ */
.nmwr-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
	line-height: 1.3;
}
.nmwr-btn:active { transform: translateY(1px); }

.nmwr-btn.primary { background: var(--nmwr-green); color: #fff; }
.nmwr-btn.primary:hover { background: var(--nmwr-navy-2); color: #fff; }

.nmwr-btn.outline { background: transparent; color: var(--nmwr-navy); border-color: var(--nmwr-navy); }
.nmwr-btn.outline:hover { background: var(--nmwr-navy); color: #fff; }

.nmwr-btn.light { background: #fff; color: var(--nmwr-navy); }
.nmwr-btn.light:hover { background: var(--nmwr-green-50); color: var(--nmwr-navy); }

.nmwr-btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.nmwr-btn.ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.nmwr-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.nmwr-center .nmwr-btn-row { justify-content: center; }

/* ============ Header ============ */
.nmwr-skip {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--nmwr-navy); color: #fff; padding: 10px 16px;
}
.nmwr-skip:focus { left: 0; }

.nmwr-topbar {
	background: var(--nmwr-navy);
	color: #cfe0e9;
	font-size: 0.85rem;
}
.nmwr-topbar .nmwr-container {
	display: flex; justify-content: flex-end; align-items: center;
	gap: 22px; padding-top: 8px; padding-bottom: 8px;
}
.nmwr-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.nmwr-topbar a:hover { color: var(--nmwr-green-2); }

.nmwr-header {
	background: #fff;
	border-bottom: 1px solid var(--nmwr-line);
	position: sticky; top: 0; z-index: 100;
}
.nmwr-header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px; padding-top: 12px; padding-bottom: 12px;
}

.nmwr-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.15; }
.nmwr-brand img { width: 200px; max-width: 44vw; height: auto; display: block; }
.nmwr-brand-logo .custom-logo-link { display: inline-block; line-height: 0; }
.nmwr-brand-logo .custom-logo { width: 210px; max-width: 52vw; height: auto; display: block; }
.nmwr-brand-text { display: flex; flex-direction: column; }
.nmwr-brand-name { font-weight: 800; color: var(--nmwr-navy); font-size: 1.12rem; letter-spacing: -0.01em; }
.nmwr-brand-sub { font-size: 0.72rem; color: var(--nmwr-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nmwr-nav ul {
	display: flex; align-items: center; gap: 4px;
	list-style: none; margin: 0; padding: 0;
}
.nmwr-nav a {
	display: block; padding: 10px 13px; border-radius: 8px;
	color: var(--nmwr-navy); text-decoration: none; font-weight: 600; font-size: 0.98rem;
}
.nmwr-nav a:hover { background: var(--nmwr-green-50); color: var(--nmwr-navy); }
.nmwr-nav .nmwr-nav-cta a {
	background: var(--nmwr-green); color: #fff; padding: 12px 20px; margin-left: 8px;
}
.nmwr-nav .nmwr-nav-cta a:hover { background: var(--nmwr-navy-2); color: #fff; }

.nmwr-menu-toggle {
	display: none; background: none; border: 1px solid var(--nmwr-line);
	border-radius: 10px; padding: 12px; cursor: pointer;
	flex-direction: column; gap: 5px;
}
.nmwr-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--nmwr-navy); border-radius: 1px; }

.nmwr-mobile-panel { display: none; border-top: 1px solid var(--nmwr-line); background: #fff; }
.nmwr-mobile-panel.open { display: block; }
.nmwr-mobile-panel ul { list-style: none; margin: 0; padding: 8px 24px 20px; }
.nmwr-mobile-panel a {
	display: block; padding: 13px 4px; color: var(--nmwr-navy);
	text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--nmwr-offwhite);
	font-size: 1.05rem;
}
.nmwr-mobile-panel li:last-child a { border-bottom: 0; }
.nmwr-mobile-panel .nmwr-nav-cta a {
	background: var(--nmwr-green); color: #fff; border-radius: 10px;
	text-align: center; margin-top: 10px; border-bottom: 0;
}

/* ============ Hero ============ */
.nmwr-hero {
	background: linear-gradient(180deg, var(--nmwr-navy) 0%, var(--nmwr-navy-2) 100%);
	color: #dce8ee;
	padding: 84px 0 72px;
}
.nmwr-hero h1 { color: #fff; margin-bottom: 0.5em; }
.nmwr-hero .nmwr-lead { color: #b9cdd8; }
.nmwr-status {
	display: inline-block; background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.22); color: #ffe9a8;
	border-radius: 10px; padding: 12px 18px; font-size: 0.95rem;
	margin: 1.4em 0 0; max-width: 46em;
}
.nmwr-status strong { color: #fff; }

/* ============ Cards & grids ============ */
.nmwr-grid { display: grid; gap: 22px; margin-top: 2em; }
.nmwr-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.nmwr-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.nmwr-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.nmwr-card {
	background: #fff; border: 1px solid var(--nmwr-line); border-radius: var(--nmwr-radius);
	padding: 28px; box-shadow: var(--nmwr-shadow-sm);
}
.nmwr-card h3 { margin-top: 0; font-size: 1.12rem; }
.nmwr-card h3 .nmwr-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--nmwr-green-50); color: var(--nmwr-green);
	font-size: 0.95rem; margin-right: 10px; vertical-align: middle;
}
.nmwr-card p:last-child { margin-bottom: 0; }
.nmwr-card.tint { background: var(--nmwr-green-50); border-color: transparent; }

.nmwr-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; list-style: none; padding: 0; }
.nmwr-chips li {
	background: #fff; border: 1px solid var(--nmwr-line); border-radius: 999px;
	padding: 9px 18px; font-size: 0.95rem; font-weight: 600; color: var(--nmwr-navy-2);
	margin-bottom: 0;
}
.nmwr-chips li::marker { content: none; }

.nmwr-checklist { list-style: none; padding: 0; margin: 1.4em 0 0; }
.nmwr-checklist li { position: relative; padding-left: 34px; margin-bottom: 0.9em; }
.nmwr-checklist li::before {
	content: ""; position: absolute; left: 0; top: 4px;
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--nmwr-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.2 3.3 8l-1.4 1.4 4.6 4.6 8-8L13.1 4.8z' fill='white'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ============ Steps ============ */
.nmwr-steps { counter-reset: step; display: grid; gap: 22px; margin-top: 2em; }
@media (min-width: 861px) { .nmwr-steps { grid-template-columns: repeat(4, 1fr); } }
.nmwr-step {
	background: #fff; border: 1px solid var(--nmwr-line); border-radius: var(--nmwr-radius);
	padding: 28px 24px; box-shadow: var(--nmwr-shadow-sm); position: relative;
}
.nmwr-step::before {
	counter-increment: step; content: "0" counter(step);
	display: block; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em;
	color: var(--nmwr-green); margin-bottom: 0.6em;
}
.nmwr-step h3 { margin-top: 0; font-size: 1.1rem; }
.nmwr-step p:last-child { margin-bottom: 0; font-size: 0.97rem; color: var(--nmwr-muted); }

/* ============ FAQ ============ */
.nmwr-faq { margin-top: 2em; max-width: 800px; }
.nmwr-faq details {
	background: #fff; border: 1px solid var(--nmwr-line); border-radius: 12px;
	margin-bottom: 12px; overflow: hidden;
}
.nmwr-faq summary {
	padding: 18px 22px; font-weight: 700; color: var(--nmwr-navy);
	cursor: pointer; list-style: none; position: relative; padding-right: 52px;
}
.nmwr-faq summary::-webkit-details-marker { display: none; }
.nmwr-faq summary::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 1.4rem; font-weight: 400; color: var(--nmwr-green);
}
.nmwr-faq details[open] summary::after { content: "–"; }
.nmwr-faq .nmwr-faq-body { padding: 0 22px 20px; color: var(--nmwr-ink); }
.nmwr-faq .nmwr-faq-body p:last-child { margin-bottom: 0; }

/* ============ CTA panel ============ */
.nmwr-cta-panel {
	background: linear-gradient(135deg, var(--nmwr-navy) 0%, var(--nmwr-navy-2) 60%, #1a4a63 100%);
	border-radius: 20px; padding: 56px 48px; color: #dce8ee;
	box-shadow: var(--nmwr-shadow);
}
.nmwr-cta-panel h2 { color: #fff; margin-top: 0; }
.nmwr-cta-panel .nmwr-lead { color: #b9cdd8; }

/* ============ Page hero (inner pages) ============ */
.nmwr-page-hero {
	background: linear-gradient(180deg, var(--nmwr-navy) 0%, var(--nmwr-navy-2) 100%);
	color: #dce8ee; padding: 64px 0 56px;
}
.nmwr-page-hero h1 { color: #fff; margin-bottom: 0.4em; }
.nmwr-page-hero .nmwr-lead { color: #b9cdd8; margin-bottom: 0; }
.nmwr-crumbs { font-size: 0.85rem; color: #9db4c2; margin-bottom: 1.2em; }
.nmwr-crumbs a { color: #cfe0e9; text-decoration: none; }
.nmwr-crumbs a:hover { color: #fff; }

.nmwr-page-body { padding: 56px 0 72px; }
.nmwr-prose { max-width: 780px; }
.nmwr-prose > *:first-child { margin-top: 0; }
.nmwr-prose img { border-radius: var(--nmwr-radius); }

/* ============ Forms ============ */
.nmwr-form { max-width: 640px; }
.nmwr-field { margin-bottom: 18px; }
.nmwr-field label { display: block; font-weight: 700; color: var(--nmwr-navy); margin-bottom: 6px; }
.nmwr-field .nmwr-optional { font-weight: 400; color: var(--nmwr-muted); font-size: 0.9em; }
.nmwr-field input[type="text"],
.nmwr-field input[type="email"],
.nmwr-field input[type="tel"],
.nmwr-field select,
.nmwr-field textarea {
	width: 100%; box-sizing: border-box; padding: 13px 15px;
	border: 1px solid #c6d4cd; border-radius: 10px; font-size: 16px;
	font-family: inherit; background: #fff; color: var(--nmwr-ink);
}
.nmwr-field input:focus,
.nmwr-field select:focus,
.nmwr-field textarea:focus {
	outline: 2px solid var(--nmwr-green-2); outline-offset: 1px; border-color: var(--nmwr-green);
}
.nmwr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nmwr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nmwr-form-error {
	background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
	border-radius: 10px; padding: 14px 18px; font-weight: 600; margin-bottom: 18px;
}
.nmwr-form-success {
	background: var(--nmwr-green-50); border: 1px solid #a7d7bf;
	border-radius: 12px; padding: 22px; margin-bottom: 18px;
}
.nmwr-form-success p:last-child { margin-bottom: 0; }
.nmwr-privacy-note { font-size: 0.85rem; color: var(--nmwr-muted); }

/* ============ Footer ============ */
.nmwr-footer { background: var(--nmwr-navy); color: #b9cdd8; margin-top: 0; }
.nmwr-footer-top { padding: 56px 0 40px; }
.nmwr-footer-grid {
	display: grid; gap: 36px;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.nmwr-footer h3 {
	color: #fff; font-size: 0.95rem; letter-spacing: 0.08em;
	text-transform: uppercase; margin: 0 0 1em;
}
.nmwr-footer ul { list-style: none; margin: 0; padding: 0; }
.nmwr-footer li { margin-bottom: 0.6em; }
.nmwr-footer a { color: #b9cdd8; text-decoration: none; }
.nmwr-footer a:hover { color: #fff; }
.nmwr-footer-brand p { font-size: 0.95rem; }
.nmwr-footer-contact a { color: #fff; font-weight: 600; }
.nmwr-footer-notice {
	border-top: 1px solid rgba(255,255,255,0.14);
	padding: 24px 0; font-size: 0.82rem; color: #8fa6b3;
}
.nmwr-footer-notice p { margin-bottom: 0.7em; }
.nmwr-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.14);
	padding: 18px 0; font-size: 0.85rem; color: #8fa6b3;
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.nmwr-footer-bottom a { color: #b9cdd8; }

/* ============ 404 ============ */
.nmwr-404 { text-align: center; padding: 90px 0; }
.nmwr-404 h1 { font-size: clamp(3rem, 8vw, 5rem); }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
	.nmwr-nav { display: none; }
	.nmwr-menu-toggle { display: inline-flex; }
	.nmwr-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.nmwr-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
	.nmwr-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
	body { font-size: 16px; }
	.nmwr-container { padding: 0 18px; }
	.nmwr-section { padding: 52px 0; }
	.nmwr-hero { padding: 60px 0 52px; }
	.nmwr-grid.cols-2, .nmwr-grid.cols-3, .nmwr-grid.cols-4 { grid-template-columns: 1fr; }
	.nmwr-field-row { grid-template-columns: 1fr; }
	.nmwr-cta-panel { padding: 40px 26px; }
	.nmwr-topbar .nmwr-container { justify-content: center; gap: 8px 18px; flex-wrap: wrap; }
	.nmwr-topbar a { white-space: nowrap; }
	.nmwr-header { position: static; }
	.nmwr-brand-logo .custom-logo { width: 168px; max-width: 60vw; }
	.nmwr-btn { width: 100%; text-align: center; }
	.nmwr-btn-row .nmwr-btn { width: 100%; }
	.nmwr-footer-grid { grid-template-columns: 1fr; }
	.nmwr-card { padding: 22px; }
	.nmwr-page-hero { padding: 48px 0 40px; }
	.nmwr-page-body { padding: 40px 0 52px; }
}
