/* BushHogging.com — one stylesheet for every page.
   Brand: lime banner #8ed45a, green #6cbf2f, Maven Pro uppercase headings.
   Text colours are darker shades of the same greens so they pass WCAG AA. */

@font-face {
  font-family: "Maven Pro";
  src: url("/assets/fonts/maven-pro-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  /* optional: use Maven Pro if it's ready for first paint (it's preloaded), otherwise keep the
     fallback for that page view. Never swaps mid-view, so headings can't jump (no layout shift). */
  font-display: optional;
}

:root {
  --lime: #8ed45a;          /* logo banner */
  --green: #6cbf2f;         /* accents, rules, icons */
  --green-hover: #8fd55c;
  --green-ink: #3b7a17;     /* headings + links on white: 5.3:1 */
  --green-deep: #2f6a10;    /* hover/pressed: 6.6:1 */
  --on-lime: #163008;       /* text on lime: 8:1 */
  --text: #414141;          /* body: 10.2:1 */
  --muted: #5a5f55;         /* secondary: 6.6:1 */
  --bg: #f4f4f4;
  --card: #ffffff;
  --line: #e1e4dc;
  --tint: #eef7e6;
  --charcoal: #262b22;
  --radius: 4px;
  --wrap: 1100px;
  --gutter: clamp(16px, 4vw, 32px);
  --space: clamp(28px, 5vw, 48px);
  --head: "Maven Pro", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 17px/1.65 var(--body);
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.012) 0 2px, transparent 2px 6px);
}
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: .15em; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

h1, h2, h3, .wordmark {
  font-family: var(--head);
  text-transform: uppercase;
  color: var(--green-ink);
  line-height: 1.2;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(28px, 3.4vw, 34px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 25px); font-weight: 700; margin-top: 1.4em; }
h3 { font-size: 19px; font-weight: 700; margin-top: 1.4em; }
h2:first-child, h3:first-child { margin-top: 0; }
.h-rule::after { content: ""; display: block; width: 56px; height: 4px; background: var(--green); margin-top: 10px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar { background: var(--charcoal); color: #e9eee4; font-size: 14px; }
.topbar .wrap { max-width: var(--wrap); margin: 0 auto; padding: 7px var(--gutter); display: flex; gap: 8px 22px; justify-content: space-between; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.topbar .lead-in { color: #c9d1c1; }

/* ---------- the white sheet ---------- */
.sheet { max-width: var(--wrap); margin: 0 auto; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
@media (min-width: 1140px) { .sheet { margin-top: 18px; border-radius: var(--radius); overflow: clip; } }

.site-header { display: flex; align-items: center; gap: 12px 24px; padding: 14px var(--gutter); flex-wrap: wrap; }
.wordmark { font-size: 21px; font-weight: 800; color: var(--green-ink); text-decoration: none; margin: 0; letter-spacing: .02em; }
.wordmark:hover { color: var(--green-deep); }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.site-nav a { display: block; padding: 8px 10px; font-family: var(--head); font-weight: 600; font-size: 15px; text-transform: uppercase; text-decoration: none; color: var(--text); border-radius: var(--radius); }
.site-nav a:hover { color: var(--green-ink); background: var(--tint); }
.site-nav a[aria-current="page"] { color: var(--green-ink); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: 600 15px var(--head); text-transform: uppercase; color: var(--text); cursor: pointer; }
.nav-toggle svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }

.banner { background: var(--lime); padding: 22px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; }
.banner-logo { display: block; flex: 0 1 640px; min-width: 0; }
.banner-logo img { width: 100%; height: auto; }
.banner-cta { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; color: var(--on-lime); font: 600 14px var(--head); text-transform: uppercase; letter-spacing: .02em; }
.btn-dark { background: var(--on-lime); color: #fff; }
.btn-dark:hover { background: #0d1f04; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  font: 700 17px/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--green-ink); color: #fff;
}
.btn:hover { background: var(--green-deep); color: #fff; }
.btn-cta { background: var(--lime); color: var(--on-lime); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.btn-cta:hover { background: var(--green-hover); color: var(--on-lime); }
.btn-ghost { background: transparent; color: var(--green-ink); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--tint); color: var(--green-deep); }

/* ---------- layout ---------- */
main { display: block; }
.section { padding: var(--space) var(--gutter); }
.section + .section { padding-top: 0; }
.section.tint { background: var(--tint); padding-top: var(--space); }
.section.tint + .section { padding-top: var(--space); }
.section.pad-top { padding-top: var(--space); }
.narrow { max-width: 760px; }
.plain { list-style: none; padding: 0; }
.lead { font-size: 19px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }

.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- home hero ---------- */
.hero { display: grid; gap: 0 32px; padding: var(--space) var(--gutter); align-items: start; grid-template-areas: "title" "photo" "text"; }
.hero-title { grid-area: title; }
.hero-photo { grid-area: photo; margin: 0 0 22px; }
.hero-text { grid-area: text; }
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.05fr 1fr; grid-template-areas: "photo title" "photo text"; grid-template-rows: auto 1fr; }
  .hero-photo { margin: 0; }
}
.hero-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; font-style: italic; }
.hero h1 { margin-bottom: 16px; }
.h1-main { display: block; }
.h1-sub { display: block; font-size: .62em; margin-top: 8px; color: var(--text); }
.h1-sub a { color: var(--green-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 20px; }

.qualifier { list-style: none; padding: 14px 16px; margin: 0 0 14px; background: var(--tint); border-left: 4px solid var(--green); border-radius: var(--radius); }
.qualifier p { margin: 0 0 6px; font-weight: 700; color: var(--green-ink); font-family: var(--head); text-transform: uppercase; font-size: 15px; }
.qualifier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.qualifier li { display: flex; gap: 6px; align-items: center; font-size: 16px; }
.counties-line { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- trust strip ---------- */
.trust { list-style: none; margin: 0; padding: 18px var(--gutter); display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 16px; }
.check { flex: none; width: 22px; height: 22px; color: var(--green); }

/* ---------- service tiles ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 20px; }
.tile { display: block; padding: 18px 18px 16px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--card); transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--green); box-shadow: 0 2px 10px rgba(59,122,23,.12); color: var(--text); }
.tile h3 { font-size: 17px; margin: 0 0 6px; }
.tile p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- photos ---------- */
.photo-strip { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-top: 18px; }
.photo-strip figure { scroll-snap-align: start; }
figure { margin: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.service-photo { margin: 6px 0 16px; max-width: 520px; }

/* ---------- bands ---------- */
.band { background: var(--lime); color: var(--on-lime); padding: 26px var(--gutter); }
.band h2 { color: var(--on-lime); margin: 0 0 8px; }
.band p { margin: 0 0 12px; max-width: 760px; }
.band a:not(.btn) { color: var(--on-lime); font-weight: 700; }
.band .btn { background: var(--on-lime); color: #fff; }
.band .btn:hover { background: #0d1f04; }
.ask { text-align: center; padding: 26px var(--gutter); font-size: 20px; font-family: var(--head); font-weight: 600; color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ask a { white-space: nowrap; font-weight: 800; }

/* ---------- quote form ---------- */
.quote { padding: var(--space) var(--gutter); background: var(--tint); scroll-margin-top: 8px; }
.quote-inner { display: grid; gap: 24px; }
@media (min-width: 880px) { .quote-inner { grid-template-columns: 1fr 1.6fr; } }
.quote h2 { margin: 0 0 6px; }
.quote .kicker { font: 700 18px var(--head); text-transform: uppercase; color: var(--green-deep); margin: 0 0 6px; }
.quote-aside p { margin: 0 0 10px; }
.quote-aside .phone-big { font: 800 26px var(--head); text-decoration: none; }
form.quote-form { background: var(--card); padding: 22px; border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.fields { display: grid; gap: 16px; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } .field.wide { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 5px; color: var(--text); }
.field .req { color: #b42318; margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 17px/1.4 var(--body); color: var(--text);
  border: 1.5px solid #b9bfb2; border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-ink); outline: 3px solid rgba(108,191,47,.35); outline-offset: 0; }
.field .hint { font-size: 14px; color: var(--muted); margin: 5px 0 0; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.field .err { color: #b42318; font-size: 14px; margin: 5px 0 0; display: none; }
.field.invalid .err { display: block; }
.field input[type="file"] { padding: 9px; font-size: 15px; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 18px; display: grid; gap: 12px; }
.form-foot .btn { width: 100%; }
@media (min-width: 620px) { .form-foot .btn { width: auto; justify-self: start; } }
.form-status { margin: 0; padding: 12px 14px; border-radius: var(--radius); display: none; }
.form-status.show { display: block; }
.form-status.error { background: #fdecea; color: #7a1a12; border-left: 4px solid #b42318; }
.form-status.busy { background: var(--tint); color: var(--green-deep); }
.req-note { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.cf-turnstile { min-height: 0; }

/* ---------- FAQ ---------- */
.toc { background: var(--tint); padding: 16px 18px; border-radius: var(--radius); margin: 0 0 8px; }
.toc p { margin: 0 0 6px; font-weight: 700; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.faq h2 { padding-top: 10px; border-top: 2px solid var(--line); margin-top: 1.8em; }
.faq h3 { text-transform: none; font-size: 20px; letter-spacing: 0; margin-top: 1.5em; scroll-margin-top: 12px; }
.faq h3 a.anchor { text-decoration: none; color: var(--green); margin-left: 6px; font-size: .8em; opacity: 0; }
.faq h3:hover a.anchor, .faq h3 a.anchor:focus { opacity: 1; }
.teaser { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.teaser a { font-weight: 600; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 16px 0 10px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--tint); color: var(--green-deep); font-family: var(--head); text-transform: uppercase; font-size: 14px; }
@media (max-width: 760px) {
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 0; }
  table.data td { border: 0; padding: 6px 12px; }
  table.data td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--green-deep); }
}

/* ---------- content blocks ---------- */
.prose h2 { margin-top: 1.6em; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font: 800 16px/30px var(--head); text-align: center; }
.callout { border-left: 4px solid var(--green); background: var(--tint); padding: 14px 16px; border-radius: var(--radius); margin: 18px 0; }
.service-block { padding-top: 6px; scroll-margin-top: 12px; }
.service-block + .service-block { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 22px; }
.service-block h2 { margin-top: 0; }
.more { font-weight: 600; }
.county { scroll-margin-top: 12px; }
.county + .county { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.communities { columns: 2 180px; padding-left: 1.1em; }
.contact-card { display: grid; gap: 22px; }
@media (min-width: 760px) { .contact-card { grid-template-columns: 1fr 1fr; } }
address { font-style: normal; }
.cols { display: grid; gap: 18px; }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.cols > div { background: var(--tint); padding: 16px 18px; border-radius: var(--radius); }
.cols h3 { margin-top: 0; font-size: 17px; }
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 16px; }
.quotes blockquote { margin: 0; padding: 16px 18px; background: var(--tint); border-radius: var(--radius); }
.quotes footer { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 22px; }
.gallery-grid figure { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.open-photo { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.open-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery-grid figcaption { font-size: 15px; margin-top: 8px; line-height: 1.45; }
dialog.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,14,10,.96); color: #fff; }
dialog.viewer::backdrop { background: rgba(0,0,0,.85); }
.viewer-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; gap: 12px; }
.viewer-count { font-size: 15px; color: #cfd6c8; }
.viewer-stage { display: grid; place-items: center; padding: 0 56px; min-height: 0; position: relative; }
.viewer-stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.viewer-cap { padding: 12px 18px 18px; text-align: center; font-size: 16px; color: #e9eee4; }
.viewer-cap a { color: var(--lime); }
.vbtn { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; font: 700 22px/1 var(--body); }
.vbtn:hover { background: rgba(255,255,255,.24); }
.vprev, .vnext { position: absolute; top: 50%; transform: translateY(-50%); }
.vprev { left: 6px; } .vnext { right: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #d9dfd3; margin-top: 0; }
@media (min-width: 1140px) { .site-footer { margin-top: 18px; } }
.site-footer .wrap { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) 22px; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h2 { color: var(--lime); font-size: 16px; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.site-footer .phone { font: 800 22px var(--head); color: var(--lime); }
.legal { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 26px; font-size: 14px; color: #b9c2b1; border-top: 1px solid rgba(255,255,255,.12); }

/* ---------- mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 879px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .topbar .lead-in { display: none; }
  .topbar .wrap { justify-content: center; }
  .site-header { padding-top: 10px; padding-bottom: 10px; }
  .wordmark { font-size: 17px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; width: 100%; margin: 0; }
  .site-header.open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); padding-left: 12px; }
  .banner { padding: 12px var(--gutter); justify-content: center; }
  .banner-logo { flex-basis: 330px; }
  .banner-cta { display: none; }
  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--charcoal); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
  }
  .mobile-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--radius); font: 700 16px var(--head); text-transform: uppercase; text-decoration: none; color: #fff; background: rgba(255,255,255,.1); }
  .mobile-bar a.primary { background: var(--lime); color: var(--on-lime); }
  .mobile-bar svg { width: 18px; height: 18px; }
}
@media (max-width: 879px) and (scripting: none) { .site-nav { display: block; } }

@media print {
  .topbar, .site-nav, .nav-toggle, .mobile-bar, .quote, .band, dialog { display: none !important; }
  body { background: #fff; }
}
