/*
  Fostering Trees LLC - Styles
  Updated: 2026-02-01
  Notes: Dark green + brown theme. Mobile-first.
*/

:root{
  --green-900:#0f2a1f;
  --green-800:#163626;
  --green-700:#1f4632;

  --brown-700:#5a3a1e;
  --brown-600:#6a4524;
  --brown-500:#7b5330;

  --cream:#f6f1e7;
  --paper:#fbf8f2;

  --text:#102015;
  --muted:#3a4a3f;

  --border:rgba(16,32,21,.12);
  --shadow:0 10px 25px rgba(0,0,0,.08);

  --radius:16px;
  --radius-sm:12px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, var(--paper), #ffffff);
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  position:fixed;
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  z-index:9999;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(251,248,242,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  height:70px;
  width:auto;
  display:block;
}

.header-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  background:var(--green-900);
  color:var(--cream);
  font-weight:700;
  border:1px solid rgba(0,0,0,0);
  box-shadow: 0 8px 18px rgba(15,42,31,.18);
}
.pill:hover{ text-decoration:none; filter:brightness(1.03); }
.pill.outline{
  background:transparent;
  color:var(--green-900);
  border:1px solid var(--border);
  box-shadow:none;
}

.hero{
  padding:34px 0 18px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}

.hero-copy{
  background:linear-gradient(135deg, rgba(15,42,31,.08), rgba(90,58,30,.06));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height:1.1;
  letter-spacing:-.02em;
  color:var(--green-900);
}

.subhead{
  margin:0 0 16px;
  color:var(--muted);
  font-size: 1.05rem;
}

.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 16px 0 12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:999px;
  font-weight:800;
  border:1px solid rgba(0,0,0,0);
  cursor:pointer;
}
.btn:hover{ text-decoration:none; filter:brightness(1.03); }

.btn.primary{
  background:var(--green-900);
  color:var(--cream);
  box-shadow: 0 10px 20px rgba(15,42,31,.18);
}
.btn.secondary{
  background:transparent;
  color:var(--brown-700);
  border:1px solid rgba(90,58,30,.25);
}

.trust-badges{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.trust-badges li{
  padding:8px 10px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--border);
  border-radius:999px;
  font-size:.92rem;
}

.hero-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}

.hero-card h2{
  margin:0 0 8px;
  font-size:1.15rem;
  color:var(--brown-700);
}

.small{ margin:0 0 14px; color:var(--muted); }

.contact-lines{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin: 0 0 12px;
}
.contact-line{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:rgba(246,241,231,.55);
}
.contact-line .label{
  color:var(--muted);
  font-weight:700;
}
.contact-line .value{
  font-weight:900;
  color:var(--green-900);
}
.note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:.95rem;
}

.section{
  padding:26px 0;
}
.section.muted{
  background:linear-gradient(180deg, rgba(246,241,231,.9), rgba(246,241,231,.35));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

h2{
  margin:0 0 14px;
  font-size:1.55rem;
  color:var(--green-900);
}

.lead{
  margin:0 0 16px;
  color:var(--muted);
  max-width: 70ch;
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.card h3{
  margin:0 0 8px;
  color:var(--brown-700);
  font-size:1.1rem;
}
.card p{ margin:0; color:var(--muted); }

.estimate-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 14px 0 10px;
}

.mini{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top: 12px;
}
.mini-item{
  background:rgba(255,255,255,.72);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
}
.mini-title{
  font-weight:900;
  color:var(--brown-700);
  margin-bottom:6px;
}

.bullets{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.bullets li{ margin:8px 0; }
.bullets strong{ color:var(--text); }

.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  background:rgba(251,248,242,.9);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer-brand{
  font-weight:1000;
  color:var(--green-900);
}
.footer-small{ color:var(--muted); font-size:.95rem; }
.footer-right{ color:var(--muted); }
.sep{ margin:0 8px; color:rgba(16,32,21,.35); }

/* ===== Mobile layout adjustments ===== */
@media (max-width: 860px){

  .hero-inner{
    grid-template-columns: 1fr;
  }

  .grid{
    grid-template-columns: 1fr;
  }

  .mini{
    grid-template-columns: 1fr;
  }

  /* Logo full-width across the top line */
  .brand{
    width:100%;
  }

  .logo{
    width:100%;
    height:auto;
  }

  /* Header actions nicely spaced under logo */
  .header-inner{
    flex-direction:column;
    align-items:center;
    gap:10px;
  }

  .header-actions{
    width:100%;
    justify-content:center;
    gap:12px;
  }

  .header-actions .pill{
    width:100%;
    max-width:320px;
    text-align:center;
    font-size:1.05rem;
  }
}
