/* The Woodlands Tree Service - shared stylesheet (mobile-first, no frameworks) */

:root {
  --green-dark: #1e4d2b;
  --green: #2d6b3d;
  --green-light: #e8f2ea;
  --charcoal: #23272a;
  --charcoal-light: #33393d;
  --off-white: #faf9f5;
  --white: #ffffff;
  --text: #2b2f33;
  --text-light: #5c6266;
  --border: #dfe3dc;
  --gold: #f2b632;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; }

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

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

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { line-height: 1.25; color: var(--charcoal); }
h1 { font-size: 2rem; margin: 0 0 1rem; }
h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
p { margin: 0 0 1.1rem; }

section { padding: 2.5rem 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding: 0.8rem 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
}
.brand small { display: block; font-weight: 400; font-size: 0.8rem; color: #c9d2cb; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
}
.main-nav a { color: var(--white); text-decoration: none; font-size: 0.98rem; }
.main-nav a:hover { text-decoration: underline; }
.header-phone {
  margin-left: auto;
  color: var(--white);
  background: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  white-space: nowrap;
}
.header-phone:hover { background: var(--green-dark); color: var(--white); }

/* ---------- Buttons ---------- */
.btn-call {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  padding: 1rem 2.2rem;
  border-radius: 10px;
  text-align: center;
}
.btn-call:hover { background: var(--green-dark); color: var(--white); }
.btn-secondary {
  display: inline-block;
  background: var(--charcoal);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
}
.btn-secondary:hover { background: var(--charcoal-light); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--green-dark) 0%, #163a21 100%);
  color: var(--white);
  padding: 3rem 0;
}
.hero h1 { color: var(--white); }
.hero p.subhead { font-size: 1.2rem; color: #e3eadf; max-width: 42rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero img { border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.hero .btn-call { margin-top: 1rem; }

/* ---------- Trust badges ---------- */
.trust-badges { background: var(--white); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.badges-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; }
.badge { font-weight: 700; font-size: 1.05rem; color: var(--green-dark); }
.badge::before { content: "✔ "; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.service-card h3 { margin-top: 0; }
.service-card p { color: var(--text-light); }
.service-card a.card-link { font-weight: 700; text-decoration: none; }
.service-card a.card-link:hover { text-decoration: underline; }

/* ---------- Why choose us ---------- */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.why-list li { background: var(--green-light); border-radius: 10px; padding: 1.25rem; }
.why-list strong { color: var(--green-dark); }

/* ---------- Areas ---------- */
.area-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
.area-links a { text-decoration: none; font-weight: 600; }
.area-links a:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.testimonial-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 1.5rem;
}
.testimonial-card .stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 0.15rem; }
.testimonial-card .author { font-weight: 700; color: var(--green-dark); margin-top: 0.75rem; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.9rem;
}
.faq summary { font-weight: 700; font-size: 1.08rem; cursor: pointer; color: var(--green-dark); }
.faq summary::marker { color: var(--green); }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-dark); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); margin-top: 0; }
.cta-band p { color: #e3eadf; font-size: 1.15rem; }
.cta-band .btn-call { background: var(--white); color: var(--green-dark); }
.cta-band .btn-call:hover { background: var(--green-light); color: var(--green-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #d5dbd8; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 1.5rem; }
.site-footer h3 { color: var(--white); font-size: 1.1rem; margin-top: 0; }
.site-footer a { color: #d5dbd8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.copyright { border-top: 1px solid var(--charcoal-light); padding: 1.25rem 0 5.5rem; font-size: 0.92rem; color: #a9b1ac; }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--green-dark);
  text-align: center;
  padding: 0.8rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.mobile-call-bar a {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  width: 100%;
  max-width: 420px;
}

/* ---------- Contact page ---------- */
.nap-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}
.nap-block p { margin-bottom: 0.6rem; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}
.contact-form label { display: block; font-weight: 700; margin: 1rem 0 0.35rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}
.contact-form button {
  margin-top: 1.25rem;
  background: var(--green);
  color: var(--white);
  border: none;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  cursor: pointer;
}
.contact-form button:hover { background: var(--green-dark); }

/* ---------- Two-col content (about page) ---------- */
.content-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  h1 { font-size: 2.6rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .area-links { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .content-grid { grid-template-columns: 1.2fr 0.8fr; }
  .mobile-call-bar { display: none; }
  .copyright { padding-bottom: 1.25rem; }
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
