/* Tree Removal Boise — base stylesheet
   Mobile-first, no external fonts/frameworks, optimized for Core Web Vitals */

:root {
  --green-900: #0f3d2e;
  --green-800: #16513e;
  --green-700: #1d6b52;
  --green-600: #237d61;
  --green-50: #eef6f1;
  --amber-500: #d97706;
  --amber-600: #b45309;
  --ink-900: #17201c;
  --ink-700: #3a463f;
  --ink-500: #5c6a62;
  --cream-50: #faf8f3;
  --white: #ffffff;
  --border: #dfe7e1;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(15, 61, 46, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

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

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

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

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

a:hover, a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--green-900);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2em; }
h3 { font-size: 1.2rem; margin-top: 1.5em; }

p { margin: 0 0 1em; color: var(--ink-700); }

ul, ol { padding-left: 1.3em; color: var(--ink-700); }
li { margin-bottom: 0.4em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--green-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* Top utility bar */
.top-bar {
  background: var(--green-900);
  color: #dff0e8;
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 10px;
  flex-wrap: wrap;
}
.top-bar a { color: #ffffff; font-weight: 600; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-900);
}
.brand:hover { text-decoration: none; }
.brand .logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-text-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green-700);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover, .btn:focus { text-decoration: none; }

.btn-call {
  background: var(--amber-500);
  color: var(--white);
}
.btn-call:hover, .btn-call:focus { background: var(--amber-600); }

.btn-outline {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-800);
}
.btn-outline:hover { background: var(--green-50); }

.btn-large { padding: 16px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.main-nav {
  display: none;
  width: 100%;
  border-top: 1px solid var(--border);
}
.main-nav.open { display: block; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  padding: 12px 20px;
  color: var(--ink-900);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.main-nav a:hover { background: var(--green-50); text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    width: auto;
    border-top: none;
  }
  .main-nav ul {
    display: flex;
    gap: 4px;
    padding: 0;
  }
  .main-nav a {
    border-bottom: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
  }
  .header-inner { flex-wrap: nowrap; }
}

/* Sticky mobile call bar */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-900);
  padding: 10px 16px;
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.sticky-call .btn-call { width: 100%; padding: 14px; font-size: 1.05rem; }
@media (min-width: 900px) {
  .sticky-call { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
  padding: 40px 0 50px;
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero h1 { margin-bottom: 0.4em; }
.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-700);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
}
.badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { width: 100%; }

/* Sections */
.section { padding: 44px 0; }
.section-alt { background: var(--cream-50); }
.section-tight { padding: 30px 0; }

.section-head { max-width: 720px; margin-bottom: 20px; }
.eyebrow {
  display: inline-block;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Cards grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-top: 0; }
.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: var(--green-700);
}
.card-icon svg { width: 100%; height: 100%; }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card h3 { margin-top: 10px; }
.service-card p { flex-grow: 1; }
.service-card .btn { align-self: flex-start; margin-top: 12px; }

/* Process steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 18px;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  padding-top: 46px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Zip / area list */
.zip-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .zip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .zip-grid { grid-template-columns: repeat(5, 1fr); }
}
.zip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.zip-card .zip-code {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-800);
  display: block;
}
.zip-card .zip-name {
  font-size: 0.85rem;
  color: var(--ink-500);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--green-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green-700);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 10px; }

/* Trust strip */
.trust-strip {
  background: var(--green-900);
  color: #eaf3ee;
  padding: 22px 0;
}
.trust-strip .grid {
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 16px;
}
@media (min-width: 700px) {
  .trust-strip .grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-strip strong { display: block; font-size: 1.3rem; color: var(--white); }
.trust-strip span { font-size: 0.85rem; color: #cfe4d9; }

/* Disclosure notice */
.disclosure {
  background: #fff7e6;
  border: 1px solid #f2d38a;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.95rem;
  color: #6b4a12;
}
.disclosure strong { color: #4d3609; }

/* CTA band */
.cta-band {
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-top: 0; }
.cta-band p { color: #dcece3; }

/* Footer */
.site-footer {
  background: var(--ink-900);
  color: #cdd6d0;
  padding: 40px 0 100px;
  font-size: 0.92rem;
}
@media (min-width: 900px) {
  .site-footer { padding-bottom: 40px; }
}
.footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.site-footer a { color: #cdd6d0; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #2a352f;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #93a199;
}
.footer-disclosure {
  font-size: 0.85rem;
  color: #93a199;
  margin-top: 10px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-500);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--ink-500); }
.breadcrumb .sep { margin: 0 6px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Blog list */
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.post-meta {
  font-size: 0.82rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.post-body {
  max-width: 760px;
}
.post-body h2 { margin-top: 1.8em; }
.post-body p, .post-body li { color: var(--ink-700); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
