/* Lance's Lawn Care — mobile-first styles */
:root {
  --green-900: #143d1c;
  --green-800: #1b5e20;
  --green-700: #2e7d32;
  --green-500: #4caf50;
  --lime: #8bc34a;
  --mint: #eef6e8;
  --cream: #fbfdf7;
  --ink: #1f2a1f;
  --muted: #5b6b5b;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(20, 61, 28, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  line-height: 1.6; font-size: 1.0625rem;
  padding-bottom: 72px; /* room for mobile bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--green-900); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s;
  min-height: 48px;
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .mobile-bar a:focus-visible, .nav a:focus-visible { outline: 3px solid #ffd54f; outline-offset: 2px; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 4px 14px rgba(46,125,50,.35); }
.btn-primary:hover { background: var(--green-800); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-block { width: 100%; margin-top: .75rem; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #e3eedc; position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.brand img { width: 104px; height: auto; }
.nav { display: none; }
.header-phone {
  font-weight: 800; text-decoration: none; color: var(--green-800);
  background: var(--mint); padding: .5rem .9rem; border-radius: 999px; font-size: .98rem; white-space: nowrap;
}

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(14,45,20,.78) 0%, rgba(14,45,20,.62) 55%, rgba(14,45,20,.82) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 3.25rem 0 3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: #c5e1a5; margin-bottom: .6rem; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 8vw, 3.6rem); letter-spacing: -.01em; margin-bottom: .4em; }
.lead { font-size: 1.12rem; max-width: 36rem; color: #f1f8e9; }
.cta-row { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 1rem; }
.hero .btn-primary { background: var(--lime); color: var(--green-900); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.hero .btn-primary:hover { background: #9ccc65; }
.hero-note { font-size: .95rem; color: #dcedc8; margin: 0; }

/* Booking */
.booking { background: linear-gradient(135deg, var(--mint), #dff0d3); border-bottom: 1px solid #d3e7c6; }
.booking-inner { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0; }
.booking h2 { margin-bottom: .35em; }
.booking p { margin-bottom: 0; color: #344534; max-width: 40rem; }
.badge {
  display: inline-block; background: var(--green-700); color: #fff !important; font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .6rem !important;
}

/* Sections */
.section { padding: 3.25rem 0; }
.section-tint { background: #f2f8ec; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 40rem; }
.cards { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.card { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.1rem; box-shadow: var(--shadow); border: 1px solid #e6f0df; }
.card p { color: var(--muted); margin-bottom: .3rem; }
.card .icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--mint); font-size: 1.4rem; margin-bottom: .75rem; }
.card-accent { background: var(--green-700); border-color: var(--green-700); }
.card-accent h3, .card-accent p { color: #fff; }
.card-accent .icon { background: rgba(255,255,255,.18); }

/* Gallery */
.gallery { display: grid; gap: 1rem; margin-top: 1.75rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dfe9d6; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }

/* Area & hours */
.area-grid { display: grid; gap: 2rem; }
.towns { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.towns li {
  background: #fff; border: 2px solid #cfe5c0; color: var(--green-800); font-weight: 700;
  padding: .5rem 1rem .5rem 2.1rem; border-radius: 999px; position: relative;
}
.towns li::before { content: ""; position: absolute; left: .85rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.35rem; border-radius: 50%; background: var(--green-500); }
.muted { color: var(--muted); }
.hours-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid #e6f0df; }
.hours { margin: 0 0 .5rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed #d7e6cc; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }

/* Review CTA */
.review-cta { background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: #fff; text-align: center; }
.review-inner { padding: 3rem 0; max-width: 40rem; }
.review-cta h2 { color: #fff; }
.review-cta p { color: #e8f5e9; }

/* Footer */
.site-footer { background: var(--green-900); color: #cfe3c8; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .35rem; }
.footer-inner { display: grid; gap: 1rem; padding: 2rem 0 1.5rem; }
.footer-inner img { border-radius: 8px; width: 100px; }
.copyright { color: #9fbf98; font-size: .85rem; }

/* Sticky mobile bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid #dbe9d0; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px;
  border-radius: 12px; font-weight: 800; font-size: 1.08rem; text-decoration: none;
}
.mobile-bar svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.mb-call { background: var(--green-700); color: #fff; }
.mb-text { background: var(--mint); color: var(--green-800); border: 2px solid var(--green-700); }

/* Tablet+ */
@media (min-width: 640px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure { aspect-ratio: 3 / 4; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .brand img { width: 121px; }
  .nav { display: flex; gap: 1.75rem; }
  .nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
  .nav a:hover { color: var(--green-700); }
  .header-phone { font-size: 1.05rem; padding: .6rem 1.1rem; }
  .hero-content { padding: 6rem 0 5.5rem; }
  .hero::after { background: linear-gradient(90deg, rgba(14,45,20,.88) 0%, rgba(14,45,20,.68) 45%, rgba(14,45,20,.15) 100%); }
  .booking-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.25rem 0; }
  .booking .btn { flex-shrink: 0; }
  .section { padding: 4.5rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card-accent { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-content: center; }
  .card-accent .icon { grid-row: span 2; margin-bottom: 0; }
  .gallery { max-width: 900px; }
  .gallery figure { aspect-ratio: 4 / 5; }
  .area-grid { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 3rem; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
