/* NOVA Tree Pros — shared stylesheet
   Mobile-first, no frameworks. Deep greens + warm neutrals. */

:root {
  --green-950: #0e2818;
  --green-900: #143620;
  --green-800: #1b4a2b;
  --green-700: #256b3c;
  --green-600: #2f8a4e;
  --green-100: #e2eee5;
  --green-50:  #f1f7f2;
  --cream:     #faf8f2;
  --sand:      #f0ebe0;
  --ink:       #22301f;
  --muted:     #5d6c59;
  --gold:      #c98f1f;
  --gold-dark: #a97816;
  --white:     #ffffff;
  --border:    #e3ddcd;
  --radius:    10px;
  --shadow:    0 8px 28px rgba(20, 54, 32, 0.10);
  --maxw:      1120px;
  --header-h:  68px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-text-size-adjust: 100%;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--green-950);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 750;
}
h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; margin-top: 2.2em; }
h3 { font-size: 1.2rem; margin-top: 1.6em; }
p { margin: 0 0 1.1em; }
a { color: var(--green-700); }
a:hover { color: var(--green-800); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

section { padding: 56px 0; }
section.tint { background: var(--green-50); }
section.sand { background: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(201, 143, 31, 0.35); }
.btn-accent:hover { background: var(--gold-dark); color: #fff; }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline-dark { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn-outline-dark:hover { background: var(--green-100); color: var(--green-900); }
.btn svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-950);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand .leaf { color: var(--green-700); flex: none; }
.brand small { display: block; font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; }
.brand-text { line-height: 1.05; }

.header-call { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: none; width: 100%; }
.main-nav.open { display: block; }
.header-inner { flex-wrap: wrap; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  border-top: 1px solid var(--border);
}
.main-nav a {
  display: block;
  padding: 11px 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--sand);
}
.main-nav a:hover { color: var(--green-700); }
.main-nav .nav-cta { margin-top: 10px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--green-950);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; font-size: 2.2rem; max-width: 16em; }
.hero p.lead { color: #d9e6dc; font-size: 1.12rem; max-width: 34em; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.16);
  list-style: none;
  padding-left: 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e8f0e9;
}
.hero-badges svg { color: var(--gold); flex: none; }
.hero .treeline { position: absolute; bottom: -6px; left: 0; right: 0; width: 100%; height: 90px; opacity: 0.14; pointer-events: none; }

/* Compact hero for interior pages */
.page-hero { background: var(--green-900); color: #fff; padding: 52px 0 60px; }
.page-hero h1 { color: #fff; font-size: 2rem; margin-bottom: 0.4em; }
.page-hero p { color: #d9e6dc; max-width: 40em; margin-bottom: 0; }
.page-hero .crumbs { font-size: 0.85rem; color: #b9cdc0; margin-bottom: 14px; }
.page-hero .crumbs a { color: #d9e6dc; }

/* ---------- Quote card / forms ---------- */
.quote-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 22px;
  border: 1px solid var(--border);
}
.quote-card h2, .quote-card h3 { margin-top: 0; font-size: 1.3rem; }
.quote-card .sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 650; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(47, 138, 78, 0.25);
  border-color: var(--green-600);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; gap: 14px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.form-success {
  background: var(--green-50);
  border: 1.5px solid var(--green-600);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
}
.form-success h2, .form-success h3 { color: var(--green-800); margin-top: 0; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 3px 12px rgba(20, 54, 32, 0.06);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-800);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card h3 { margin-top: 0; font-size: 1.15rem; }
.card h3 a { color: var(--green-950); text-decoration: none; }
.card h3 a:hover { color: var(--green-700); }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 12px; }
.card .more { font-weight: 700; font-size: 0.95rem; text-decoration: none; }

.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 12px;
}

/* ---------- Testimonials ---------- */
.testimonial .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; font-size: 1.05rem; }
.testimonial blockquote { margin: 0 0 14px; font-style: italic; color: var(--ink); }
.testimonial cite { font-style: normal; font-weight: 700; font-size: 0.92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--green-950);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green-700);
  flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-900); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #d9e6dc; max-width: 36em; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.big-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none;
}
.big-phone:hover { color: var(--gold); }

/* ---------- Towns ---------- */
.town-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list li a, .town-list li span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
}
.town-list li a:hover { border-color: var(--green-600); color: var(--green-800); }
.town-list li span { background: var(--green-50); color: var(--muted); }

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--green-700); }
.callout {
  background: var(--green-50);
  border-left: 5px solid var(--green-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 1.8em 0;
}
.callout.warn { background: #fdf6e8; border-left-color: var(--gold); }
.callout p:last-child { margin-bottom: 0; }
.callout strong.t { display: block; margin-bottom: 6px; color: var(--green-900); }

/* ---------- Mobile sticky call bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.10);
}
.mobile-call-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}
.mcb-call { background: var(--green-700); color: #fff; }
.mcb-call:hover { color: #fff; background: var(--green-800); }
.mcb-quote { background: var(--gold); color: #fff; }
.mcb-quote:hover { color: #fff; background: var(--gold-dark); }
body { padding-bottom: 58px; } /* room for the sticky bar */

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #c9d6cc; padding: 52px 0 0; }
.footer-grid { display: grid; gap: 32px; }
.site-footer h3, .site-footer h4 { color: #fff; font-size: 1.05rem; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d6cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; margin-bottom: 12px; }
.footer-brand .leaf { color: var(--green-600); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 40px;
  padding: 20px 0 26px;
  font-size: 0.85rem;
  color: #9db3a2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .kicker {
  display: block;
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 10px;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.check-list svg { flex: none; color: var(--green-600); margin-top: 4px; }
.split { display: grid; gap: 36px; align-items: start; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-900); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.4rem; }
  .hero h1 { font-size: 2.8rem; }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; width: auto; }
  .header-inner { flex-wrap: nowrap; }
  .brand { margin-right: 0; }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    border-top: none;
    padding: 0;
    width: auto;
  }
  .main-nav a { border-bottom: none; padding: 10px 12px; font-size: 0.95rem; }
  .main-nav .nav-cta { margin-top: 0; margin-left: 8px; padding: 10px 20px; }
  .header-call { display: inline-flex; margin-left: 12px; white-space: nowrap; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
  /* Hide the sticky bar on desktop; show a slim floating call button instead */
  .mobile-call-bar { display: none; }
  body { padding-bottom: 0; }
  .hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
}

/* Form submission error notice */
.form-error{background:#fdecec;border:1px solid #f5c2c2;color:#8a1f1f;padding:12px 16px;border-radius:10px;margin-top:14px}

/* Brand logo image */
.brand-logo { width: 42px; height: 42px; flex: none; border-radius: 8px; }
.footer-brand .brand-logo { width: 34px; height: 34px; }

/* FAQ section (service pages) */
.faq-section{padding:56px 0;background:#f4f9f4}
.faq-section h2{text-align:center;margin-bottom:26px}
.faq-list{max-width:820px;margin:0 auto}
.faq-item{background:#fff;border:1px solid #e0e8e0;border-radius:12px;margin-bottom:12px;overflow:hidden}
.faq-item summary{cursor:pointer;padding:18px 20px;font-weight:700;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:1.5rem;line-height:1;color:#2e7d32;flex:none}
.faq-item[open] summary::after{content:"\2013"}
.faq-item p{padding:0 20px 18px;margin:0;color:#435243}
