/* 352 Tree Service — v1 stylesheet
   Mobile-first, vanilla CSS. No frameworks. */

:root {
  --green-950: #0e2a20;
  --green-900: #14342a;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-100: #d8f3dc;
  --green-50:  #edf7ef;
  --cream: #faf7f0;
  --paper: #ffffff;
  --earth: #b08968;
  --earth-dark: #7f5539;
  --ink: #22302a;
  --muted: #5c6b62;
  --line: #e4e0d5;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(20, 52, 42, 0.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 { line-height: 1.25; color: var(--green-900); margin-top: 0; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
p { margin: 0 0 1em; }

a { color: var(--green-700); }
a:hover { color: var(--green-800); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--green-950);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { flex: 0 0 34px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.2px; }
.brand-name small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--green-100); letter-spacing: 0.6px; }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-600);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.header-call:hover { background: var(--green-700); color: #fff; }

.main-nav { background: var(--green-900); border-top: 1px solid rgba(255,255,255,0.08); }
.main-nav ul {
  list-style: none; margin: 0; padding: 0 12px;
  display: flex; gap: 2px; overflow-x: auto; white-space: nowrap;
  max-width: var(--maxw); margin: 0 auto;
}
.main-nav a {
  display: block; color: var(--green-100); text-decoration: none;
  padding: 11px 13px; font-size: 0.95rem; font-weight: 600;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.07); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--green-950) 0%, var(--green-800) 60%, var(--green-700) 100%);
  color: #fff;
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: grid; gap: 28px; }
.hero h1 { color: #fff; font-size: 2.1rem; margin-bottom: 0.4em; }
.hero p.lead { font-size: 1.12rem; color: #e9f3ec; max-width: 34em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; padding: 0; list-style: none; }
.hero-badges li {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: 8px; font-size: 1.05rem;
  border: 2px solid transparent; cursor: pointer; text-align: center;
}
.btn-call { background: var(--green-600); color: #fff; }
.btn-call:hover { background: #35855e; color: #fff; }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-100); color: var(--green-900); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-dark { background: var(--green-800); color: #fff; }
.btn-dark:hover { background: var(--green-900); color: #fff; }

/* Quote form card in hero */
.quote-card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px;
}
.quote-card h2 { font-size: 1.25rem; margin-bottom: 4px; }
.quote-card p.sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 7px; background: #fff; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green-600); border-color: var(--green-600);
}
.quote-card .btn { width: 100%; border: none; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section.alt { background: var(--paper); }
.section.tint { background: var(--green-50); }
.section-head { max-width: 44em; margin-bottom: 26px; }
.section-head p { color: var(--muted); }

.cards { display: grid; gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card .icon { margin-bottom: 10px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card a.more { font-weight: 700; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

.trust-row { display: grid; gap: 14px; }
.trust-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.trust-item .tick {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.trust-item h3 { font-size: 1.02rem; margin-bottom: 2px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Service area pills */
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 0.95rem;
}
.area-list a { text-decoration: none; color: var(--green-800); }

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

/* Prose (service pages) */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }

/* CTA band */
.cta-band {
  background: var(--green-900); color: #fff; text-align: center;
  padding: 48px 20px; border-radius: var(--radius); margin: 10px 0 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e8de; max-width: 36em; margin: 0 auto 20px; }
.cta-band .hero-cta { justify-content: center; }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 20px 70px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Footer */
.site-footer { background: var(--green-950); color: #cfe0d6; padding: 44px 0 26px; margin-top: 0; }
.footer-grid { display: grid; gap: 28px; margin-bottom: 28px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 0.95rem; }
.site-footer a { color: #cfe0d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 18px; font-size: 0.85rem; color: #9db8a9;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
.footer-phone { font-size: 1.25rem; font-weight: 800; color: #fff !important; }

/* Emergency strip */
.emergency-strip {
  background: #7f1d1d; color: #fff; text-align: center;
  padding: 10px 16px; font-weight: 600; font-size: 0.95rem;
}
.emergency-strip a { color: #fff; font-weight: 800; }

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  h1 { font-size: 2.4rem; }
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 64px 0; }
}
