:root {
  --green: #2e6b3e;
  --green-dark: #1f4a2b;
  --green-light: #4c9a5f;
  --amber: #f5a623;
  --ink: #1c2419;
  --muted: #5b6b58;
  --bg: #f7faf6;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(0,0,0,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--green); text-decoration: none; }

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

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---- Top bar ---- */
.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 0.92rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px;
}
.topbar a { color: #fff; font-weight: 600; }

/* ---- Header / Nav ---- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--green-dark); }
.brand .leaf { font-size: 1.6rem; }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; }
.nav-links a:hover { color: var(--green); }
.btn {
  display: inline-block; background: var(--amber); color: #1c2419;
  font-weight: 800; padding: 12px 22px; border-radius: 8px;
  box-shadow: var(--shadow); transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: linear-gradient(rgba(20,40,25,.62), rgba(20,40,25,.72)),
    url("images/tallahassee-tree-service-hero.svg");
  background-size: cover; background-position: center;
  color: #fff;
}
.hero-inner { padding: 70px 20px; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; text-align: left; }
.hero-copy h1 { text-align: left; }
.hero-copy .hero-cta { justify-content: flex-start; }
.hero-copy .badges { justify-content: flex-start; }
/* hero lead form */
.hero-form { background: #fff; color: var(--ink); border-radius: 12px; padding: 26px; box-shadow: var(--shadow); }
.hero-form h3, .hero-form .form-title { color: var(--green-dark); font-size: 1.3rem; margin-bottom: 4px; font-weight: 800; }
.hero-form p.sub { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.hero-form label { font-weight: 700; display:block; margin: 10px 0 5px; font-size: .92rem; }
.hero-form input, .hero-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #cdd9c9; border-radius: 8px; font-size: 1rem; font-family: inherit; }
.hero-form button { margin-top: 16px; width: 100%; border: 0; cursor: pointer; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; padding: 50px 20px; } }
.hero h1 { font-size: 2.7rem; line-height: 1.15; margin-bottom: 16px; }
.hero p.lead { font-size: 1.25rem; margin-bottom: 28px; opacity: .96; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badges { margin-top: 26px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-weight: 700; }
.badges span { display: flex; align-items: center; gap: 8px; }

/* ---- Sections ---- */
section { padding: 64px 0; }
.section-title { text-align: center; font-size: 2rem; color: var(--green-dark); margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 40px; font-size: 1.08rem; }

/* ---- Services grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: 12px; padding: 28px;
  box-shadow: var(--shadow); border: 1px solid #e7efe5; transition: transform .12s ease;
}
.card:hover { transform: translateY(-4px); }
.card .ico { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { color: var(--green-dark); margin-bottom: 8px; font-size: 1.25rem; }
.card p { color: var(--muted); }

/* ---- Why us ---- */
.why { background: var(--green-dark); color: #fff; }
.why .section-title { color: #fff; }
.why .grid .card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #eafaef; }
.why .grid .card h3 { color: #fff; }
.why .grid .card p { color: #cfe6d4; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { text-align: center; padding: 20px; }
.step .num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--amber);
  color: #1c2419; font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}

/* ---- CTA band ---- */
.cta-band { background: var(--amber); color: #1c2419; text-align: center; }
.cta-band h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-band p { font-size: 1.15rem; margin-bottom: 22px; }

/* ---- Reviews ---- */
.reviews .grid .card .stars { color: var(--amber); font-size: 1.1rem; margin-bottom: 8px; }
.reviews .grid .card .who { margin-top: 12px; font-weight: 700; color: var(--green-dark); }

/* ---- Areas ---- */
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.areas-list span { background: #fff; border: 1px solid #dbe7d8; padding: 8px 16px; border-radius: 20px; font-weight: 600; color: var(--green-dark); }

/* ---- Form ---- */
.quote { background: var(--bg); }
.quote-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.quote-form { background: #fff; padding: 30px; border-radius: 12px; box-shadow: var(--shadow); }
.quote-form label { font-weight: 700; display: block; margin: 14px 0 6px; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%; padding: 12px 14px; border: 1px solid #cdd9c9; border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.quote-form button { margin-top: 20px; width: 100%; border: 0; cursor: pointer; }
.quote-info h3 { color: var(--green-dark); font-size: 1.5rem; margin-bottom: 14px; }
.quote-form .form-title { color: var(--green-dark); font-size: 1.3rem; margin-bottom: 6px; font-weight: 800; }
.quote-info .big-phone { font-size: 2rem; font-weight: 800; color: var(--green); margin: 10px 0; }
.quote-info ul { list-style: none; margin-top: 16px; }
.quote-info li { padding: 8px 0; display: flex; gap: 10px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cdd9c9; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 30px; }
.site-footer h3 { color: #fff; margin-bottom: 12px; font-size: 1.05rem; }
.site-footer a { color: #cdd9c9; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; text-align: center; font-size: .9rem; }

/* ---- Page header (interior) ---- */
.page-head { background: var(--green-dark); color: #fff; text-align: center; padding: 56px 20px; }
.page-head h1 { font-size: 2.3rem; margin-bottom: 8px; }
.page-head p { opacity: .9; font-size: 1.1rem; }
.breadcrumb { font-size: .9rem; opacity: .8; margin-bottom: 14px; }
.breadcrumb a { color: #fff; text-decoration: underline; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { color: var(--green-dark); margin: 28px 0 12px; }
.prose p { margin-bottom: 16px; color: #34402f; }
.prose ul { margin: 0 0 16px 22px; color: #34402f; }
.prose li { margin-bottom: 8px; }

/* ---- Nav dropdowns ---- */
.has-dropdown { position: relative; }
.has-dropdown > .drop-toggle { cursor: pointer; }
.dropdown {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; box-shadow: var(--shadow); border-radius: 10px; padding: 8px 0;
  display: none; z-index: 80; border: 1px solid #e7efe5;
}
.dropdown li { padding: 0; }
.dropdown a { display: block; padding: 9px 18px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.dropdown a:hover { background: #f1f7ef; color: var(--green); }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }
.has-dropdown.open > .dropdown { display: block; }

/* ---- Trust badges ---- */
.trustbadges { background: #f1f7ef; border-bottom: 1px solid #e0ecdd; }
.trustbadges .container { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: center; padding-top: 14px; padding-bottom: 14px; }
.trustbadges .tb { font-weight: 700; color: var(--green-dark); font-size: .95rem; }
.trustbadges .tb.senior { font-weight: 600; color: var(--muted); font-size: .9rem; max-width: 520px; }

/* ---- Reviews / star rating ---- */
.review-stars { color: var(--amber); font-size: 1.15rem; letter-spacing: 2px; }
.aggregate { text-align:center; margin-bottom: 26px; font-weight: 700; color: var(--green-dark); }
.aggregate .review-stars { font-size: 1.4rem; }

/* ---- Blog cards ---- */
.blog-card { background:#fff; border:1px solid #e7efe5; border-radius:12px; overflow:hidden; box-shadow:var(--shadow); }
.blog-card img { width:100%; height:180px; object-fit:cover; }
.blog-card .body { padding:20px; }
.blog-card h3 { color:var(--green-dark); font-size:1.15rem; margin-bottom:8px; }
.blog-card p { color:var(--muted); }

/* sticky mobile call bar */
.callbar { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .has-dropdown .dropdown { position: static; display: none; box-shadow: none; border: 0; min-width: 0; padding: 4px 0 4px 14px; }
  .has-dropdown.open > .dropdown { display: block; }
  .has-dropdown:hover > .dropdown { display: none; }
  .has-dropdown.open:hover > .dropdown { display: block; }
  .hero h1 { font-size: 2rem; }
  .quote-wrap { grid-template-columns: 1fr; }
  .callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--green); color: #fff; font-weight: 800; padding: 14px; justify-content: center; gap: 8px;
    box-shadow: 0 -4px 14px rgba(0,0,0,.2);
  }
  .callbar a { color: #fff; }
  body { padding-bottom: 56px; }
}
