/* =============================================================================
   GreenEdge Lawn Care — flagship template
   Hand-crafted, dependency-free CSS. Design tokens up top → edit once, restyle
   everywhere. Original SVG art + placeholder photo frames (all redistributable).
   ============================================================================= */

:root {
  /* palette — grounded greens + warm neutrals + a clear CTA */
  --green-900: #0e2a1c;
  --green-800: #14432b;
  --green-700: #1f6b45;
  --green-600: #2f8f5b;
  --green-500: #43b477;
  --green-050: #eaf6ee;
  --cream:     #f6f3ea;
  --sand:      #efe9db;
  --white:     #ffffff;
  --ink:       #16241d;
  --muted:     #5c6b62;
  --line:      #e3e7e1;
  --amber:     #ffcf5c;

  --cta:        var(--green-600);
  --cta-ink:    #ffffff;
  --cta-hover:  var(--green-700);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14,42,28,.05), 0 12px 30px rgba(14,42,28,.08);
  --shadow-sm: 0 1px 2px rgba(14,42,28,.05), 0 6px 16px rgba(14,42,28,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }

.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .11em; font-size: .78rem;
  font-weight: 700; color: var(--green-700); margin: 0 0 .7rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-family: var(--font-body);
  border-radius: 999px; padding: .7rem 1.25rem; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease; font-size: .98rem; white-space: nowrap; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green-800); border-color: #cdd8ce; }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); transform: translateY(-1px); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800;
  font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; }
.brand-sub { color: var(--green-700); font-weight: 700; }
.nav { display: flex; gap: 26px; margin-left: 14px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--green-700); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--ink); font-weight: 700; }
.phone .ic { width: 18px; height: 18px; color: var(--green-600); }
.phone:hover { color: var(--green-700); }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--green-050), var(--white)); padding: clamp(40px, 7vw, 84px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 1rem; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.4rem 0 1.6rem; }
.trust-strip { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.trust-strip strong { color: var(--ink); font-family: var(--font-display); }
.hero-art svg { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tint { background: var(--cream); }
.section-head { max-width: 640px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: .6rem; }

/* ---------- cards (services + reviews) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .14s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-050); color: var(--green-700); margin-bottom: 14px; }
.card-ic svg { width: 26px; height: 26px; }
.card p { margin: .4rem 0 0; color: var(--muted); font-size: .98rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.shot { margin: 0; }
.shot .ph { aspect-ratio: 4 / 3; border: 2px dashed #c4d3c7; border-radius: var(--radius); background:
  repeating-linear-gradient(135deg, #eef4ef, #eef4ef 12px, #e7efe8 12px, #e7efe8 24px);
  display: grid; place-items: center; color: #8aa393; font-weight: 600; }
.shot figcaption { margin-top: .6rem; color: var(--muted); font-size: .92rem; text-align: center; }

/* ---------- why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.why-list .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-600); color: #fff;
  display: grid; place-items: center; font-weight: 800; }
.why-list strong { display: block; }
.why-list p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- reviews ---------- */
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); }
.review .stars { color: var(--amber); letter-spacing: 2px; margin: 0 0 .5rem; font-size: 1.05rem; }
.review footer { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: .6rem; }

/* ---------- service area ---------- */
.area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.area-list li { background: var(--green-050); color: var(--green-800); font-weight: 600; padding: 8px 15px;
  border-radius: 999px; font-size: .95rem; }

/* ---------- quote ---------- */
.quote { background: linear-gradient(180deg, var(--green-800), var(--green-900)); color: #eaf5ee; padding: clamp(48px,7vw,84px) 0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.quote-copy h2 { color: #fff; }
.quote-copy p { color: #cfe6d7; font-size: 1.08rem; }
.quote-call a { color: #fff; font-weight: 700; }
.quote-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.quote-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; margin-top: 6px; padding: 11px 13px;
  border: 1px solid #d7ded8; border-radius: var(--radius-sm); font: inherit; font-size: .98rem; background: #fbfdfb; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green-500); outline: none;
  box-shadow: 0 0 0 3px var(--green-050); }
.quote-form button { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { color: var(--muted); font-size: .84rem; margin: .7rem 0 0; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cdd9d0; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .5rem; }
.site-footer a { color: #cdd9d0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #a9bbb0; font-size: .95rem; }
.brand-foot { color: #fff; margin-bottom: .6rem; }
.brand-foot .brand-sub { color: var(--green-500); }
.foot-note { max-width: 34ch; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 34px;
  padding-top: 20px; border-top: 1px solid #2a3a31; }
.foot-bottom p { margin: 0; font-size: .86rem; }
.tmpl-credit { color: #7f9488; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .why-grid, .area-inner, .quote-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-cta .phone span { display: none; }
  .brand-sub { display: none; }          /* logo mark + "GreenEdge" carries the brand on small screens */
  .header-inner { gap: 12px; }
  .header-cta { gap: 12px; }
  .header-cta .btn { padding: .55rem 1rem; font-size: .92rem; }
  .quote-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- honeypot (spam trap; real users never see or focus it) ---------- */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
