/* ============================================================
   Wolf Tree & Timber — rugged & outdoorsy
   Palette: deep forest green, moss, cream, charcoal
   ============================================================ */

:root {
  --forest-950: #101f0a;
  --forest-900: #173404;
  --forest-800: #27500A;
  --forest-700: #3B6D11;
  --forest-600: #639922;
  --moss-400: #97C459;
  --moss-200: #C0DD97;
  --cream-100: #EAF3DE;
  --cream-50: #f6f4ec;
  --paper: #fbfaf5;
  --ink: #1d221a;
  --ink-soft: #4c554a;
  --amber: #EF9F27;
  --radius: 10px;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
h3 { font-size: 20px; }

img, svg { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--moss-400); color: var(--forest-900); }
.btn-primary:hover { background: var(--moss-200); }

.btn-ghost { border-color: var(--forest-600); color: var(--moss-200); }
.btn-ghost:hover { background: rgba(151, 196, 89, 0.12); }

.btn-call { background: var(--forest-900); color: var(--cream-100); }
.btn-call:hover { background: var(--forest-800); }

.btn-emergency { background: var(--amber); color: #412402; font-size: 17px; }
.btn-emergency:hover { background: #FAC775; }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid #e3e0d3;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest-900);
  margin-right: auto;
}
.brand-mark { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--forest-600); }

.site-nav { display: flex; gap: 24px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { color: var(--forest-700); }

.header-call { padding: 10px 18px; font-size: 14px; white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--forest-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--forest-900);
  color: var(--cream-100);
  padding: 96px 0 150px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(23, 52, 4, 0.78), rgba(16, 31, 10, 0.88));
}

.hero-inner {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--moss-400);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--moss-200);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  font-size: 14px;
  color: var(--moss-200);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss-400);
}

.treeline {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  fill: var(--forest-950);
  opacity: 0.85;
  z-index: 2;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--forest-950);
  color: var(--cream-100);
  padding: 22px 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--moss-400);
}
.trust-item span { font-size: 13.5px; color: var(--moss-200); }

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

.section-kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--forest-600);
  margin-bottom: 8px;
}
.section-kicker.light { color: var(--moss-400); }

.section-sub { color: var(--ink-soft); max-width: 560px; margin-bottom: 8px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.service-card {
  background: #fff;
  border: 1px solid #e3e0d3;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--forest-600); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--cream-100);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { margin-bottom: 10px; color: var(--forest-900); }
.service-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Emergency callout ---------- */
.emergency {
  background: var(--forest-800);
  color: var(--cream-100);
  padding: 44px 0;
}
.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.emergency h2 { font-size: clamp(24px, 3vw, 32px); }
.emergency p { color: var(--moss-200); max-width: 480px; }

/* ---------- Work gallery ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 36px;
}

.work-item { border-radius: var(--radius); overflow: hidden; }
.work-item.tall { grid-row: span 2; }

.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(59, 109, 17, 0.05) 12px, rgba(59, 109, 17, 0.05) 24px),
    var(--cream-100);
  border: 2px dashed var(--forest-600);
  display: flex;
  align-items: flex-end;
}
.placeholder figcaption {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--forest-800);
}
.placeholder::before {
  content: "＋";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 34px;
  color: var(--forest-600);
  opacity: 0.6;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p { margin-bottom: 16px; color: var(--ink-soft); }
.about-text p strong { color: var(--forest-800); }

.about-checks { list-style: none; margin-top: 22px; }
.about-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 500;
  color: var(--ink);
}
.about-checks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--forest-700);
  color: var(--cream-100);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo { min-height: 380px; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.review-card {
  background: #fff;
  border: 1px solid #e3e0d3;
  border-radius: var(--radius);
  padding: 26px 24px;
}
.review-card .stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 12px; font-size: 15px; }
.review-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.review-card footer { font-size: 14px; font-weight: 600; color: var(--forest-800); }

/* ---------- Quote ---------- */
.quote { background: var(--forest-900); color: var(--cream-100); }

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.quote-text p { color: var(--moss-200); }
.quote-text a { color: var(--moss-400); font-weight: 600; }

.quote-form {
  background: var(--paper);
  border-radius: 14px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest-900);
}

.quote-form input,
.quote-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #d8d4c4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  resize: vertical;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--forest-600);
  box-shadow: 0 0 0 3px rgba(99, 153, 34, 0.18);
}

.form-note { font-size: 13px; color: var(--ink-soft); text-align: center; }
.form-note.success { color: var(--forest-700); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-950);
  color: var(--moss-200);
  padding: 48px 0 0;
  font-size: 14.5px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .brand-mark { width: 34px; height: 34px; color: var(--moss-400); }
.footer-name {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  color: var(--cream-100);
}

.footer-contact { text-align: right; }
.footer-contact a { color: var(--moss-400); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }

.footer-legal {
  border-top: 1px solid rgba(151, 196, 89, 0.2);
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 13px;
  color: #7a8a6e;
}

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 245, 0.95);
  backdrop-filter: blur(6px);
  border-top: 1px solid #e3e0d3;
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid #e3e0d3;
    padding: 8px 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 24px; }

  .nav-toggle { display: flex; }
  .header-call { display: none; }

  .hero { padding: 64px 0 130px; }

  .about-inner,
  .quote-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { min-height: 280px; }

  .footer-contact { text-align: left; }

  .mobile-callbar { display: block; }
  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .brand-name { font-size: 16px; }
}
