/* Ocala Tree Service — ocalatreeservice.net
   Single shared stylesheet. Mobile-first, no framework. */

:root {
  --green-900: #1d3a24;
  --green-700: #2e5b38;
  --green-500: #3f7d4e;
  --green-100: #e6f0e8;
  --earth: #8a6d3b;
  --ink: #1c2420;
  --muted: #5a6660;
  --bg: #ffffff;
  --bg-alt: #f5f7f4;
  --border: #d9e0d9;
  --accent: #e8a33d;
  --max: 68rem;
}

* { 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(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--green-900);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.2rem;
  padding-top: .7rem;
  padding-bottom: .7rem;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .01em;
  margin-right: auto;
}
.brand span { color: var(--accent); }
.header-call {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: var(--green-500);
  padding: .45rem .9rem;
  border-radius: .5rem;
  white-space: nowrap;
}
.header-call:hover { background: var(--green-700); }
.main-nav { flex-basis: 100%; }
.main-nav ul {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.1rem;
}
.main-nav a {
  color: #dceadf;
  text-decoration: none;
  font-size: .98rem;
}
.main-nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Type ---------- */
h1 { font-size: 2rem; line-height: 1.2; margin: .4rem 0 .8rem; color: var(--green-900); }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 2rem 0 .7rem; color: var(--green-900); }
h3 { font-size: 1.15rem; margin: 1.4rem 0 .45rem; color: var(--green-700); }
p { margin: .55rem 0; }
.lede { font-size: 1.16rem; color: #33413a; }
a { color: var(--green-700); }
ul, ol { margin: .5rem 0 .9rem; padding-left: 1.35rem; }
li { margin: .3rem 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .98rem; }
th, td { border: 1px solid var(--border); padding: .55rem .7rem; text-align: left; }
th { background: var(--green-100); color: var(--green-900); }
.small { font-size: .9rem; color: var(--muted); }
.disclaimer { font-size: .9rem; color: var(--muted); border-left: 4px solid var(--accent); padding: .4rem .9rem; background: #fdf6e9; margin: 1.2rem 0; }

/* ---------- Hero / CTA ---------- */
.hero {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  color: #fff;
  padding: 2.2rem 0 2rem;
  margin-bottom: 1.6rem;
}
.hero h1 { color: #fff; }
.hero .lede { color: #e3efe5; }
.hero .btn { margin-top: .6rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #241a05;
  font-weight: 800;
  text-decoration: none;
  padding: .8rem 1.5rem;
  border-radius: .55rem;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}
.btn:hover { filter: brightness(1.07); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  margin-left: .5rem;
}
.hero .btn-secondary:hover { background: rgba(255,255,255,.12); }
.cta-box {
  background: var(--green-100);
  border: 1px solid var(--border);
  border-radius: .8rem;
  padding: 1.3rem 1.4rem;
  margin: 2rem 0;
}
.cta-box h2 { margin-top: 0; }
.phone-line { font-size: 1.2rem; font-weight: 800; color: var(--green-900); }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.2rem 0;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  border: 1px solid var(--border);
  border-radius: .8rem;
  padding: 1.1rem 1.2rem;
  background: var(--bg);
}
.card h3 { margin-top: 0; }
.card a { font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }
main section { margin-bottom: 1rem; }
.faq h3 { margin-bottom: .2rem; }

/* ---------- Form ---------- */
form.estimate {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: .8rem;
  padding: 1.3rem 1.4rem;
  margin: 1.4rem 0;
}
form.estimate label { display: block; font-weight: 700; margin: .9rem 0 .3rem; }
form.estimate input[type="text"],
form.estimate input[type="tel"],
form.estimate input[type="email"],
form.estimate select,
form.estimate textarea {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #b9c4b9;
  border-radius: .45rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
form.estimate textarea { min-height: 6.5rem; }
form.estimate .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
form.estimate .check input { margin-top: .3rem; }
form.estimate .btn { margin-top: 1.2rem; width: 100%; }
@media (min-width: 640px) { form.estimate .btn { width: auto; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #cfdccf;
  margin-top: 3rem;
  padding: 2rem 0 2.4rem;
  font-size: .95rem;
}
.site-footer h2 { color: #fff; font-size: 1.05rem; margin: 1.2rem 0 .5rem; }
.site-footer a { color: #cfdccf; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .25rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: .6rem 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-bottom { border-top: 1px solid #33543d; margin-top: 1.6rem; padding-top: 1rem; color: #9db8a4; }
