/* Forestry Solutions & Moore — landing page. Cream/forest-green theme, matches the logo's white background. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f0e6;
  --panel: #ffffff;
  --panel-2: #f7f4ec;
  --border: #e2ddcf;
  --border-soft: #ececE3;

  --text: #23281f;
  --heading: #16210f;
  --muted: #5c6152;
  --faint: #8b9080;

  --forest: #1f3d24;
  --forest-2: #274b2e;
  --forest-hover: #2f5a37;
  --green-accent: #4a7c4f;
  --cream: #f0ebe0;
  --gold: #c99a3f;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --maxw: 1160px;
  --gap: 16px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand-logo {
  height: 60px;
  width: auto;
  max-width: none;
  flex: none;
}
.site-header nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}
.site-header nav a {
  text-decoration: none;
  color: var(--text);
}
.site-header nav a:hover {
  color: var(--forest);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.button.primary {
  background: var(--forest);
  color: #fff;
}
.button.primary:hover {
  background: var(--forest-hover);
}
.button.ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.button.ghost:hover {
  background: var(--panel-2);
}
.button.large {
  padding: 16px 32px;
  font-size: 17px;
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(74, 124, 79, 0.35), transparent),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 55%, #17300f 100%);
  color: #fff;
  padding: 96px 24px 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-family: var(--serif);
}
.hero p.lede {
  font-size: 19px;
  color: #eef1e9;
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badges {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #dfe6d8;
}

/* Section basics */
section {
  padding: 72px 24px;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-accent);
  margin: 0 0 10px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--heading);
  margin: 0 0 12px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.section-alt {
  background: var(--bg-2);
}

/* Services */
.services-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: left;
}
.service-card .icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.service-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--heading);
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Why us */
.why-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.why-item h3 {
  color: var(--heading);
  margin: 0 0 8px;
  font-size: 17px;
}
.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Process */
.process-list {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-left: 8px;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.process-step h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 17px;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Gallery */
.gallery-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Trust / badges band */
.trust-band {
  background: var(--forest);
  color: #fff;
}
.trust-band .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: center;
  justify-content: space-evenly;
  padding-top: 26px;
  padding-bottom: 26px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
}
.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
@media (max-width: 560px) {
  .trust-band .wrap {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 18px 40px;
  }
  .trust-item {
    font-size: 14px;
  }
}

/* Contact */
.contact-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}
.contact-card h3 {
  margin: 0 0 6px;
  color: var(--heading);
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 16px;
}
.contact-line a {
  text-decoration: none;
  color: var(--forest);
  font-weight: 700;
}
form.quote-form {
  display: grid;
  gap: 14px;
}
form.quote-form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  display: block;
  margin-bottom: 6px;
}
form.quote-form input,
form.quote-form select,
form.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
form.quote-form textarea {
  min-height: 110px;
  resize: vertical;
}
form.quote-form .optional {
  font-weight: 400;
  color: var(--faint);
}
.form-status {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.form-status:empty {
  display: none;
}
.form-status.ok {
  color: var(--forest);
}
.form-status.error {
  color: var(--red);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
details.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--forest);
  font-size: 20px;
}
details.faq-item[open] summary::after {
  content: "\2212";
}
details.faq-item p {
  color: var(--muted);
  margin: 12px 0 0;
}

/* Service area chips */
.area-chips {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.area-chips li {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--forest);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
}

/* Final CTA */
.final-cta {
  background: var(--cream);
  text-align: center;
}
.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--heading);
  margin: 0 0 14px;
}
.final-cta p {
  color: var(--muted);
  margin: 0 0 28px;
}

/* Footer */
footer.site-footer {
  background: var(--forest);
  color: #dfe6d8;
  padding: 48px 24px 28px;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
footer.site-footer h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 15px;
}
footer.site-footer a {
  color: #dfe6d8;
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
footer.site-footer a:hover {
  color: #fff;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #b7c0ab;
  text-align: center;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--forest);
}
@media (max-width: 860px) {
  .site-header nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
    display: none;
  }
  .site-header nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .header-cta .button span.long {
    display: none;
  }
}
@media (max-width: 600px) {
  .header-phone {
    display: none;
  }
  .brand-logo {
    height: 52px;
  }
}
