/* Mountainside Landscaping — Kalispell, MT
   System fonts only, no build step, mobile-first. */

:root {
  --forest: #26331F;
  --forest-deep: #1A2216;
  --forest-mid: #3B4E30;
  --sage: #90A47D;
  --mustard: #B8892A;
  --mustard-dark: #7A5A1B;
  --cream: #F4EFE4;
  --cream-mid: #ECE4D2;
  --ink: #23291D;
  --border: #DED4BC;
  --white: #FFFFFF;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--mustard-dark); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 800;
  color: var(--forest);
  line-height: 1.18;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--forest);
  padding: 0.75em 1.25em;
  z-index: 100;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--mustard);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--forest);
  min-width: 0;
}
.brand img { flex: none; }
.brand-text {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--forest);
}
.brand-text span { display: block; font-size: 0.78em; font-weight: 600; color: var(--mustard-dark); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.55em 0.85em;
  border-radius: 999px;
  white-space: nowrap;
}
.tel-btn svg { flex: none; }

.nav-toggle { position: relative; }
.nav-toggle summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest);
  padding: 0.55em 0.7em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle summary::before { content: "\2261  "; }
.nav-toggle nav { display: none; }
.nav-toggle[open] nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(38, 51, 31, 0.2);
  min-width: 220px;
  padding: 0.4rem;
  z-index: 60;
}
.nav-toggle nav a {
  display: block;
  padding: 0.7em 0.8em;
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
}
.nav-toggle nav a:hover, .nav-toggle nav a:focus-visible { background: var(--cream); }

@media (min-width: 780px) {
  .nav-toggle summary { display: none; }
  .nav-toggle nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    gap: 0.25rem;
  }
  .nav-toggle nav a { padding: 0.5em 0.7em; font-weight: 700; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--mustard);
  color: var(--ink);
}
.btn-primary:hover { background: #a37a25; }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline:hover { background: rgba(244, 239, 228, 0.14); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--forest);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  color: var(--cream);
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--mustard);
  padding: 0.3em 0.75em;
  border-radius: 999px;
  margin: 0 0 1rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 5.2vw + 0.5rem, 2.7rem);
  max-width: 18ch;
  margin-bottom: 0.6em;
}
.hero-tagline {
  font-size: 1.05rem;
  max-width: 58ch;
  color: var(--cream);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.section-lede { max-width: 62ch; color: var(--ink); font-size: 1.05rem; }
.grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--mustard);
  border-radius: 14px;
  padding: 1.5rem;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  margin-bottom: 0.9rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.card p { margin: 0; font-size: 0.98rem; }

/* ---------- Why us ---------- */
.why-us { background: var(--cream-mid); color: var(--ink); }
.why-us h2 { color: var(--forest); }
.why-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-grid li { display: flex; gap: 0.9rem; align-items: flex-start; }
.why-grid li svg { flex: none; margin-top: 0.15em; }
.why-grid strong { display: block; color: var(--forest); font-size: 1.05rem; margin-bottom: 0.2em; }
.why-grid p { margin: 0; color: var(--ink); }

/* ---------- Projects ---------- */
.projects { background: var(--white); }
.gallery-card { margin: 0; background: var(--cream); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.gallery-card img { width: 100%; }
.gallery-card figcaption { padding: 0.75rem 1rem; font-weight: 700; color: var(--forest); }

/* ---------- Service area ---------- */
.service-area { background: var(--cream-mid); }
.maps-link {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  color: var(--mustard-dark);
}
.hours { color: var(--ink); }

/* ---------- Quote ---------- */
.quote { background: var(--forest); color: var(--cream); }
.quote h2 { color: var(--white); }
.quote .section-lede { color: var(--cream); }
.quote-form {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; color: var(--cream); font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit;
  padding: 0.7em 0.8em;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
}
.quote-form button { justify-self: start; margin-top: 0.25rem; }
.form-alt { margin-top: 1.25rem; color: var(--cream); }
.form-alt a { color: var(--white); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--cream); }
.footer-inner {
  display: grid;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-weight: 800; color: var(--white); font-size: 1.1rem; }
.site-footer p:not(.footer-brand) { margin: 0 0 0.5em; color: var(--cream); }
.site-footer a { color: var(--cream); }
