/* ============================================================
   Dallas Tree Removal — static site design system
   Light theme · forest-green accent · gold secondary
   Headings: Montserrat · Body: Source Sans 3
   ============================================================ */

:root {
  --bg-primary: #ffffff;
  --bg-alt: #f6f8f4;
  --bg-dark: #132a1a;
  --text-primary: #17291c;
  --text-body: #3f5146;
  --text-muted: #6b7c70;
  --accent: #166534;
  --accent-hover: #14532d;
  --accent-light: #ecf7ef;
  --gold: #b45309;
  --gold-light: #fdf3e7;
  --border: #e3e8e0;
  --card-bg: #ffffff;
  --card-border: #e3e8e0;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(19, 42, 26, 0.08);
  --shadow-md: 0 6px 20px rgba(19, 42, 26, 0.10);
  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  color: var(--text-primary);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { max-width: 72ch; }
p + p { margin-top: 0.75rem; }

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.25rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #e8efe6; }

.kicker {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-dark .kicker { color: #b8d8bc; }

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--text-body); }

.section-title { margin-bottom: 1rem; }
.section-intro { margin-bottom: 2.5rem; max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-md); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #92400e; color: #fff; box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-light); color: var(--accent-hover); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 46px; width: auto; }
.header-right { display: flex; align-items: center; gap: 1.25rem; }
.header-phone {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }
.header-phone .label { display: block; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Nav */
.main-nav ul { display: flex; list-style: none; gap: 0.25rem; }
.main-nav a {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-primary);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--accent-light); color: var(--accent); }
.main-nav a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--text-primary); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0.5rem 1.5rem 1rem; }
.mobile-nav a {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--bg-alt);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #f2f8f1 0%, #e8f2ea 55%, #e0ede2 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 4rem;
}
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.hero-badge svg { width: 16px; height: 16px; stroke: var(--accent); }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-image { display:block; max-width:100%; height:auto; border-radius:var(--radius); box-shadow:var(--shadow-md); }
.hero-image-wrap { display:flex; justify-content:center; align-items:center; margin-bottom:1.25rem; }

/* Hero lead form card */
.hero-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
}
.hero-form h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.hero-form .sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: #fbfcfa;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.15);
}
.form-field textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ---------- Credential / trust band ---------- */
.trust-band { background: #fff; border-bottom: 1px solid var(--border); }
.trust-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
}
.trust-item { display: flex; align-items: center; gap: 0.8rem; }
.trust-item .ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
}
.trust-item .ic svg { width: 22px; height: 22px; stroke: var(--accent); }
.trust-item .t { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--text-primary); font-size: 0.95rem; line-height: 1.3; }
.trust-item .s { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card .ic {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-card .ic svg { width: 26px; height: 26px; stroke: var(--accent); }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.98rem; flex: 1 0 auto; }
.service-card .card-link {
  margin-top: 1.1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-card .card-link svg { width: 15px; height: 15px; stroke: currentColor; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}
.step h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.step p { font-size: 0.92rem; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.why-item {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.why-item .ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.why-item .ic svg { width: 22px; height: 22px; stroke: var(--gold); }
.why-item h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.why-item p { font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.faq-q .chev {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  transition: transform 0.2s ease;
  stroke: var(--accent);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-body);
}
.faq-item.open .faq-a { display: block; }

/* ---------- Sidebar ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 2.5rem;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-size: 1rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-card.highlight { background: var(--accent); color: #fff; border-color: var(--accent); }
.sidebar-card.highlight h3 { color: #fff; border-color: rgba(255,255,255,0.25); }
.sidebar-card.highlight p, .sidebar-card.highlight a { color: #e8efe6; }
.sidebar-card.highlight .btn { margin-top: 0.5rem; }

.sidebar-services { list-style: none; }
.sidebar-services li { border-bottom: 1px solid var(--bg-alt); }
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-weight: 600;
  color: var(--text-body);
  font-size: 0.96rem;
}
.sidebar-services a:hover { color: var(--accent); }
.sidebar-services a.current { color: var(--accent); }
.sidebar-services a .arrow { color: var(--text-muted); }

.sidebar-contact-row { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.7rem; font-size: 0.96rem; }
.sidebar-contact-row svg { width: 18px; height: 18px; stroke: var(--accent); flex: 0 0 auto; }
.sidebar-contact-row a { color: var(--text-primary); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 0;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: #d7e8d9; }
.cta-band .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #c6d4c8; padding: 3.5rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-col h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #c6d4c8; font-size: 0.96rem; }
.footer-col a:hover { color: #fff; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; color: #c6d4c8; }
.footer-contact-row { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.7rem; font-size: 0.96rem; }
.footer-contact-row svg { width: 17px; height: 17px; stroke: #b8d8bc; flex: 0 0 auto; margin-top: 3px; }
.footer-contact-row a { color: #fff; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-bottom a { color: #c6d4c8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Mobile sticky call bar ---------- */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  gap: 0.6rem;
}
.sticky-call .btn { flex: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, #f2f8f1 0%, #e8f2ea 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { padding: 3rem 0 2.5rem; }
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--text-muted); }

/* ---------- Content body ---------- */
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 1.75rem 0 0.75rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--text-primary); }

/* ---------- About ---------- */
.key-facts {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.key-facts th, .key-facts td {
  text-align: left;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.key-facts tr:last-child th, .key-facts tr:last-child td { border-bottom: none; }
.key-facts th {
  background: var(--accent-light);
  color: var(--text-primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  width: 40%;
}
.key-facts td { color: var(--text-body); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.contact-info-card h3 { margin-bottom: 1rem; }
.contact-detail { display: flex; gap: 0.9rem; margin-bottom: 1rem; }
.contact-detail .ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail .ic svg { width: 21px; height: 21px; stroke: var(--accent); }
.contact-detail .label { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--text-primary); font-size: 0.9rem; }
.contact-detail .val { font-size: 0.98rem; }
.contact-detail .val a { color: var(--text-body); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.blog-card .date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-card h3 { margin-bottom: 0.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 860px) {
  .main-nav, .header-phone .label { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 3rem; }
  .trust-band-inner { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  .section { padding: 3rem 0; }
  .trust-band-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone { font-size: 0.95rem; }
  .header-cta { display: none; }
  .sticky-call { display: flex; }
  body { padding-bottom: 64px; }
}


/* ---- 2026-09-24 layout fixes: header overflow, nav wrap, pill wrap, grids ---- */
.header-inner { flex-wrap: nowrap; }
.main-nav ul { gap: 0.15rem; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.2rem; }
.main-nav .has-sub > a svg { width: 14px; height: 14px; stroke: currentColor; }
.main-nav .sub-nav {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 0.4rem; list-style: none; z-index: 200;
}
.main-nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.main-nav .has-sub:hover > .sub-nav, .main-nav .has-sub:focus-within > .sub-nav { display: block; }
.main-nav .sub-nav a { display: block; padding: 0.55rem 0.8rem; font-size: 0.92rem; border-radius: 6px; }
.header-cta { white-space: nowrap; }
.mobile-nav .sub-nav { list-style: none; padding-left: 1rem; }
.mobile-nav .has-sub > a svg { display: none; }
.btn { white-space: nowrap; }
.hero-cta-row, .cta-row { align-items: center; }
.why-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.why-item .ic { align-self: flex-start; }
.prose > h2:first-child { margin-top: 0; }
.breadcrumb, .breadcrumb a { color: var(--text-body); }
.service-card p { margin-bottom: 1.25rem; }
.service-card .btn { margin-top: auto; }
@media (max-width: 1024px) { .main-nav, .header-phone .label { display: none; } .nav-toggle { display: inline-flex; } }
