/* =========================================================
   CSRA Tree Pros — Main Stylesheet
   Mobile-first, no web fonts, no frameworks
   Palette: deep green #1e4d2b, charcoal #2c2c2c, warm white #f9f8f6
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2c2c2c;
  background: #f9f8f6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1e4d2b; text-decoration: underline; }
a:hover { color: #2e7040; }
ul, ol { padding-left: 1.25rem; }

/* --- Sticky Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #1e4d2b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 56px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.site-header .logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.site-header .logo span { display: block; font-size: 0.7rem; font-weight: 400; opacity: 0.85; }
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5a623;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 4px;
  padding: 0.45rem 0.85rem;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.15s;
}
.header-call:hover { background: #e09310; color: #1a1a1a; }
.header-call svg { margin-right: 0.35rem; flex-shrink: 0; }

/* --- Body Offset for Fixed Header --- */
body { padding-top: 56px; }

/* --- Hero / Above the Fold --- */
.hero {
  background: linear-gradient(135deg, #1e4d2b 0%, #2e7040 100%);
  color: #fff;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.hero .subhead {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5a623;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.85rem 1.75rem;
  min-height: 52px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.22);
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #e09310; color: #1a1a1a; transform: translateY(-1px); }
.btn-primary svg { margin-right: 0.5rem; }
.hero-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* --- Trust Bar --- */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #e0ddd8;
  padding: 0.6rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: center;
  font-size: 0.82rem;
  color: #555;
}
.trust-bar span { display: flex; align-items: center; gap: 0.3rem; }
.trust-bar svg { color: #1e4d2b; flex-shrink: 0; }

/* --- Main Content --- */
.main-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* --- Section Headings --- */
h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  color: #1e4d2b;
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}
h3 {
  font-size: 1.1rem;
  color: #2c2c2c;
  margin: 1.5rem 0 0.5rem;
}
p { margin-bottom: 0.9rem; }

/* --- Inline CTA --- */
.inline-cta {
  background: #f0f7f1;
  border-left: 4px solid #1e4d2b;
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.inline-cta p { margin: 0; font-weight: 600; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #1e4d2b;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  padding: 0.55rem 1.1rem;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #2e7040; color: #fff; }
.btn-secondary svg { margin-right: 0.35rem; }

/* --- Service Cards Grid --- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0;
}
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff;
  border: 1px solid #ddd8d0;
  border-radius: 6px;
  padding: 1rem;
  text-decoration: none;
  color: #2c2c2c;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.service-card:hover { border-color: #1e4d2b; box-shadow: 0 2px 10px rgba(30,77,43,0.12); color: #2c2c2c; }
.service-card strong { color: #1e4d2b; font-size: 1rem; margin-bottom: 0.3rem; display: block; }
.service-card span { font-size: 0.82rem; color: #666; }

/* --- Area List --- */
.area-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}
@media (max-width: 480px) { .area-list { grid-template-columns: 1fr; } }
.area-list li a {
  display: block;
  background: #fff;
  border: 1px solid #ddd8d0;
  border-radius: 4px;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
  color: #1e4d2b;
  transition: background 0.12s;
}
.area-list li a:hover { background: #f0f7f1; }

/* --- Storm Alert Banner --- */
.storm-banner {
  background: #2c1a00;
  color: #ffd880;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.93rem;
  line-height: 1.5;
}
.storm-banner strong { color: #ffb300; }

/* --- FAQ / Accordion --- */
.faq-section { margin: 2rem 0; }
.faq-section h2 { margin-bottom: 1rem; }
details {
  background: #fff;
  border: 1px solid #ddd8d0;
  border-radius: 5px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
details[open] { border-color: #1e4d2b; }
summary {
  padding: 0.85rem 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; color: #1e4d2b; flex-shrink: 0; }
details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1rem 0.85rem; font-size: 0.95rem; }

/* --- Pricing Table --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.price-table th {
  background: #1e4d2b;
  color: #fff;
  padding: 0.6rem 0.85rem;
  text-align: left;
}
.price-table td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #e5e1da;
}
.price-table tr:nth-child(even) td { background: #f5f3f0; }
.price-table tr:hover td { background: #eef7f1; }

/* --- Info Box / Callout --- */
.info-box {
  background: #f0f7f1;
  border: 1px solid #b3d9bc;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
.info-box strong { color: #1e4d2b; }

.warning-box {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}

/* --- CTA Bottom Section --- */
.cta-section {
  background: #1e4d2b;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
  margin: 2rem -1rem -3rem;
}
.cta-section h2 { color: #fff; margin-top: 0; }
.cta-section p { opacity: 0.88; margin-bottom: 1.25rem; }

/* --- Footer --- */
.site-footer {
  background: #1a1a1a;
  color: #bbb;
  font-size: 0.8rem;
  padding: 1.5rem 1rem;
  text-align: center;
  line-height: 1.7;
}
.site-footer a { color: #9ab; }
.site-footer a:hover { color: #cde; }
.footer-disclaimer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #333;
  font-size: 0.75rem;
  color: #888;
}

/* --- Nav (desktop only enhancement) --- */
@media (min-width: 768px) {
  .site-header { height: 60px; }
  body { padding-top: 60px; }
  .site-header .logo { font-size: 1.2rem; }
  .header-call { font-size: 1.1rem; padding: 0.5rem 1.1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.78rem;
  color: #888;
  padding: 0.5rem 0 0;
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: #555; }
.breadcrumb span { color: #aaa; margin: 0 0.3rem; }

/* --- Form --- */
.contact-form {
  background: #fff;
  border: 1px solid #ddd8d0;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.contact-form h3 { margin-top: 0; color: #1e4d2b; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.9rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #ccc8c0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: #faf9f8;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e4d2b;
  background: #fff;
}
.btn-form {
  width: 100%;
  background: #1e4d2b;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.15s;
}
.btn-form:hover { background: #2e7040; }

/* --- Species / List Callout --- */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1e4d2b;
  font-weight: 700;
}
