/* Greenville Tree Pros — single stylesheet, no build step */
:root {
  --green-dark: #1e4d2b;
  --green: #2d7a46;
  --green-pale: #e8f2ea;
  --amber: #d97706;
  --amber-dark: #b45309;
  --ink: #26302a;
  --ink-soft: #4d5a52;
  --paper: #faf9f6;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(30, 77, 43, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

/* ---------- Top call bar ---------- */
.callbar {
  background: var(--green-dark);
  color: #eaf4ed;
  text-align: center;
  padding: 8px 16px;
  font-size: 15px;
}
.callbar a { color: #ffd9a0; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Header ---------- */
header.site {
  background: var(--white);
  border-bottom: 1px solid #e4e2dc;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-dark);
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.brand-name span { color: var(--green); }

nav.main { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
}
nav.main a:hover { color: var(--green); }

.btn-call {
  background: var(--amber);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 15.5px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.btn-call:hover { background: var(--amber-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 90%);
  color: var(--white);
  padding: 64px 20px 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.hero-inner { max-width: 1080px; margin: 0 auto; position: relative; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.5px; max-width: 720px; }
.hero p.lead { margin-top: 16px; font-size: clamp(17px, 2.2vw, 20px); max-width: 640px; color: #e4f0e7; }
.hero-ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--amber);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.btn-primary:hover { background: var(--amber-dark); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.75);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.hero-points { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: #dcebe0; }
.hero-points span { display: flex; align-items: center; gap: 7px; }

/* ---------- Sections ---------- */
main { display: block; }
section.wrap, .wrap { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }
.section-title { font-size: clamp(24px, 3.4vw, 34px); color: var(--green-dark); letter-spacing: -0.4px; margin-bottom: 10px; }
.section-sub { color: var(--ink-soft); max-width: 680px; margin-bottom: 34px; font-size: 17px; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid #e7e5df;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--green-dark); font-size: 20px; margin-bottom: 8px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--green); }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .more { display: inline-block; margin-top: 12px; color: var(--amber-dark); font-weight: 700; text-decoration: none; font-size: 15px; }

/* Prose (article content) */
.prose { max-width: 760px; }
.prose h2 { color: var(--green-dark); font-size: 26px; margin: 38px 0 12px; letter-spacing: -0.3px; }
.prose h3 { color: var(--green-dark); font-size: 20px; margin: 26px 0 8px; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 14px 24px; }
.prose li { margin: 7px 0; }
.prose a { color: var(--green); font-weight: 600; }
.prose strong { color: var(--ink); }

/* Price table */
table.price {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 15.5px;
}
table.price th {
  background: var(--green-dark);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-size: 15px;
}
table.price td { padding: 12px 16px; border-top: 1px solid #ece9e2; }

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid #e7e5df;
  border-radius: var(--radius);
  margin: 12px 0;
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--green-dark);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-size: 22px;
  font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 20px 18px; color: var(--ink-soft); }

/* Callout band */
.band {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 52px 20px;
}
.band h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.4px; }
.band p { color: #d9e9dd; margin: 12px auto 24px; max-width: 560px; }

/* Emergency strip */
.strip-emergency {
  background: #7c2d12;
  color: #ffe9d6;
  text-align: center;
  padding: 14px 20px;
  font-size: 15.5px;
}
.strip-emergency a { color: #ffd9a0; font-weight: 800; text-decoration: none; }

/* Service area chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips a {
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid #d3e4d7;
}
.chips a:hover { background: #d8eadc; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 10px; }
.step { background: var(--white); border: 1px solid #e7e5df; border-radius: var(--radius); padding: 22px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; color: var(--green-dark); margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* Forms */
form.quote { display: grid; gap: 14px; max-width: 560px; }
form.quote label { font-weight: 700; font-size: 14.5px; color: var(--green-dark); }
form.quote input, form.quote select, form.quote textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d8d5cd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
}
form.quote input:focus, form.quote textarea:focus, form.quote select:focus {
  outline: none;
  border-color: var(--green);
}
form.quote button {
  background: var(--amber);
  color: var(--white);
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
}
form.quote button:hover { background: var(--amber-dark); }

/* Footer */
footer.site {
  background: #17301f;
  color: #b9cfc0;
  padding: 48px 20px 32px;
  font-size: 15px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site h4 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
footer.site a { color: #b9cfc0; text-decoration: none; display: inline-block; margin: 4px 0; }
footer.site a:hover { color: var(--white); }
.footer-bottom { max-width: 1080px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #2c4a36; font-size: 13.5px; color: #8fac98; }
.footer-phone { font-size: 20px; font-weight: 800; color: #ffd9a0 !important; }

/* Sticky mobile call button */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--amber);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 100;
}

@media (max-width: 720px) {
  .mobile-call { display: block; }
  body { padding-bottom: 76px; }
  nav.main { display: none; }
}

/* Breadcrumbs */
.crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--green); text-decoration: none; }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 90%);
  color: var(--white);
  padding: 44px 20px 48px;
}
.page-hero .wrap-inner { max-width: 1080px; margin: 0 auto; padding: 0; }
.page-hero h1 { font-size: clamp(26px, 4.2vw, 38px); letter-spacing: -0.4px; max-width: 760px; line-height: 1.2; }
.page-hero p { margin-top: 12px; color: #e4f0e7; max-width: 640px; font-size: 17px; }
.page-hero .hero-ctas { margin-top: 22px; }
