/* Waste Audit & Management Group - static site styles */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }

:root {
  --navy: #0f1b2d;
  --blue: #0a4c98;
  --yellow: #f0c000;
  --ink: #11181c;
  --muted: #5f676d;
  --rule: #dfe3e6;
  --wash: #f1f3f5;
  --white: #fff;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--navy); padding: 0.6rem 1rem; font-weight: 600; z-index: 20; }
.skip:focus { left: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--white); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 5.5rem; flex-wrap: wrap; }
.logo { flex: none; padding: 0.5rem 0; }
.logo img { width: 130px; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-button { display: none; margin-left: auto; cursor: pointer; font-weight: 600; color: var(--navy); border: 2px solid var(--navy); padding: 0.45rem 0.9rem; border-radius: 3px; }
.nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--yellow); outline-offset: 3px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav > ul { display: flex; gap: 0.25rem; align-items: center; }
.site-nav > ul > li { position: relative; }
.site-nav a { display: block; padding: 0.55rem 0.8rem; color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: 3px; }
.site-nav a:hover { background: var(--wash); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.site-nav .has-sub > a::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-0.2em); margin-left: 0.5em; }
.site-nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 17rem; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--yellow); padding: 0.4rem; box-shadow: 0 12px 28px rgba(15, 27, 45, 0.14); }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub { display: block; }
.site-nav .sub a { font-weight: 400; padding: 0.45rem 0.7rem; }
.header-phones { display: flex; gap: 1.5rem; font-size: 0.85rem; line-height: 1.35; }
.header-phones a { color: var(--navy); font-weight: 600; text-decoration: none; display: block; font-size: 0.98rem; white-space: nowrap; }
.header-phones a:hover { color: var(--blue); }
.header-phones span { color: var(--muted); }

@media (max-width: 68rem) {
  .header-phones { order: 2; margin-left: auto; }
  .nav-button { display: inline-block; order: 3; margin-left: 0; }
  .site-nav { display: none; order: 4; width: 100%; margin: 0; padding-bottom: 1rem; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav > ul { display: block; border-top: 1px solid var(--rule); }
  .site-nav > ul > li { border-bottom: 1px solid var(--rule); }
  .site-nav .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0.5rem 0.9rem; min-width: 0; }
  .site-nav .has-sub > a::after { display: none; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--yellow); }
}
@media (max-width: 34rem) {
  .header-phones { display: none; }
  .nav-button { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 600; text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 3px; border: 2px solid var(--yellow); line-height: 1.3; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-line { background: transparent; border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.5rem 0 0; }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-wash { background: var(--wash); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy a:not(.btn) { color: var(--white); }
.section > .wrap > :last-child { margin-bottom: 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.measure { max-width: 44rem; }

/* marker echoing the yellow arrow of the logo */
.marked { position: relative; padding-left: 1.1rem; }
.marked::before { content: ""; position: absolute; left: 0; top: 0.12em; bottom: 0.12em; width: 5px; background: var(--yellow); }

/* ---------- home hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 0.5em; }
.hero .lede { color: var(--ink); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.hero-note { color: var(--muted); margin: 1.2rem 0 0; }
.hero-figure { position: relative; margin: 0; }
.hero-figure::before { content: ""; position: absolute; right: -1rem; bottom: -1rem; width: 55%; height: 60%; background: var(--yellow); z-index: 0; }
.hero-figure img { position: relative; z-index: 1; width: 100%; }
@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 30rem; margin-right: 1rem; }
}

/* three assurances */
.assure { background: var(--navy); color: var(--white); }
.assure ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.assure li { margin: 0; padding: 1.4rem 1.5rem 1.4rem 0; font-weight: 500; font-size: 1.05rem; display: flex; gap: 0.8rem; align-items: baseline; }
.assure li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.assure li::before { content: ""; flex: none; width: 0.55em; height: 0.95em; border-right: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(45deg) translateY(-0.15em); }
@media (max-width: 52rem) {
  .assure ul { grid-template-columns: 1fr; }
  .assure li, .assure li + li { padding: 0.9rem 0; border-left: 0; }
  .assure li + li { border-top: 1px solid rgba(255, 255, 255, 0.18); }
}

/* ---------- service index (ruled list) ---------- */
.index { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; border-top: 2px solid var(--navy); }
.index li { margin: 0; border-bottom: 1px solid var(--rule); }
.index a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; color: var(--navy); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.index a::after { content: ""; flex: none; width: 0.5em; height: 0.5em; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow); transform: rotate(45deg); transition: transform 0.15s; }
.index a:hover { color: var(--blue); }
.index a:hover::after { transform: translateX(4px) rotate(45deg); }
@media (max-width: 60rem) { .index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 38rem) { .index { grid-template-columns: 1fr; } }

/* ---------- two-column blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 52rem) { .split, .split-even { grid-template-columns: 1fr; } }
.topics h3 { margin-bottom: 0.4em; }
.topics > div + div { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--rule); }
.topics p:last-child { margin-bottom: 0; }

.accred { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: 1.5rem; }
.accred a { display: block; }
.accred img { max-height: 130px; width: auto; }

.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.reasons h3 { font-size: 1.1rem; padding-top: 1rem; border-top: 3px solid var(--yellow); }
.reasons p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 60rem) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 38rem) { .reasons { grid-template-columns: 1fr; } }

.apart { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.apart li { margin: 0; padding: 1.1rem 1rem 1.1rem 0; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--rule); }
@media (max-width: 60rem) { .apart { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .apart { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; margin: 2rem 0 0; padding: 0; }
.stats div { margin: 0; }
.stats dt { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; line-height: 1; color: var(--blue); letter-spacing: -0.02em; }
.stats dt small { font-size: 0.45em; font-weight: 500; letter-spacing: 0; }
.stats dd { margin: 0.5rem 0 0; font-weight: 500; color: var(--navy); max-width: 14rem; line-height: 1.4; }

/* ---------- page title band ---------- */
.page-title { background: var(--navy); color: var(--white); padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.page-title h1 { color: var(--white); margin: 0; font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.crumbs { font-size: 0.9rem; margin: 0 0 0.6rem; color: rgba(255, 255, 255, 0.7); }
.crumbs a { color: var(--white); }
.crumbs span { margin: 0 0.4em; }

/* ---------- prose ---------- */
.prose { max-width: 44rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose li::marker { color: var(--blue); font-weight: 600; }
.prose p, .prose li { color: #2b3338; }

/* ---------- service layout ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 60rem) { .with-aside { grid-template-columns: 1fr; } }
.aside h2 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.aside-nav { list-style: none; margin: 0 0 2.5rem; padding: 0; border-top: 2px solid var(--navy); }
.aside-nav li { margin: 0; border-bottom: 1px solid var(--rule); }
.aside-nav a { display: block; padding: 0.65rem 0 0.65rem 0.9rem; color: var(--navy); text-decoration: none; font-size: 0.95rem; border-left: 4px solid transparent; }
.aside-nav a:hover { color: var(--blue); border-left-color: var(--rule); }
.aside-nav a[aria-current="page"] { font-weight: 600; border-left-color: var(--yellow); }
.aside-box { background: var(--wash); padding: 1.5rem; }
.aside-box p { font-size: 0.95rem; }
.aside-box .btn { display: block; text-align: center; padding: 0.75rem 1rem; font-size: 0.95rem; overflow-wrap: anywhere; }
.aside-box .tel { margin: 1rem 0 0; font-size: 0.92rem; color: var(--muted); }
.aside-box .tel a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* ---------- accordions ---------- */
.acc { border-top: 2px solid var(--navy); margin: 1rem 0 3rem; }
.acc:last-child { margin-bottom: 0; }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary { cursor: pointer; list-style: none; padding: 1.05rem 2.5rem 1.05rem 0; font-weight: 500; font-size: 1.05rem; color: var(--navy); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.55em; height: 0.55em; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc summary:hover { color: var(--blue); }
.acc .acc-body { padding: 0 0 1.4rem; max-width: 44rem; }
.acc .acc-body h3 { font-size: 1.05rem; margin-top: 0.4em; }
.acc .acc-body > :last-child { margin-bottom: 0; }

.columns-list { columns: 2; column-gap: 2rem; }
@media (max-width: 38rem) { .columns-list { columns: 1; } }

/* ---------- contact ---------- */
.offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 0 0 3rem; }
.offices > div { border-top: 3px solid var(--yellow); padding-top: 1.1rem; }
.offices h2 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.offices .big { font-size: 1.35rem; font-weight: 600; color: var(--navy); text-decoration: none; display: inline-block; margin-bottom: 0.3rem; }
.offices .big:hover { color: var(--blue); }
.offices address { font-style: normal; font-weight: 500; }
.offices p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 64rem) { .offices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .offices { grid-template-columns: 1fr; } }
.email-panel { background: var(--wash); padding: clamp(1.5rem, 4vw, 2.5rem); border-left: 5px solid var(--yellow); }
.email-panel .email { font-size: clamp(1.25rem, 3.4vw, 1.9rem); font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.email-panel .email:hover { color: var(--blue); }
.checklist { margin: 1rem 0 1.5rem; }

/* ---------- call to action ---------- */
.cta h2 { max-width: 34rem; }
.cta p { max-width: 38rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.site-footer .wrap { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 60rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: 0.9rem; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.7rem; line-height: 1.5; }
.site-footer li span { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.footer-logo { background: var(--white); padding: 0.5rem 0.7rem; display: inline-block; margin-bottom: 1rem; }
.footer-logo img { width: 120px; }
.site-footer blockquote { margin: 0; font-size: 0.92rem; line-height: 1.65; }
.footer-base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .aside, .cta { display: none; } }

.split img + img { margin-top: 1.5rem; }
