/* The Estate Mower
   Shape rule: buttons and pills are full-pill, cards and images 16px, inputs 10px.
   One accent: deep green in light mode, cut-grass lime in dark mode. */

:root {
  --bg: #f4f6f1;
  --surface: #fbfcf9;
  --surface-2: #e7ece2;
  --ink: #142119;
  --ink-2: #4a584e;
  --line: #d3dbcd;
  --accent: #1f4d33;
  --accent-ink: #f4f6f1;
  --accent-soft: #d9e8c4;
  --lime: #c8e45a;
  --error: #a3261b;
  --shadow: 0 18px 40px -24px rgb(31 77 51 / .35);
  --overlay: linear-gradient(180deg, rgb(10 22 15 / 0) 25%, rgb(10 22 15 / .55) 55%, rgb(10 22 15 / .9) 100%);

  --radius: 16px;
  --radius-input: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1712;
    --surface: #16211a;
    --surface-2: #1c2a21;
    --ink: #e8eee5;
    --ink-2: #a9b6ab;
    --line: #2b3b30;
    --accent: #c8e45a;
    --accent-ink: #13210f;
    --accent-soft: #24361f;
    --error: #ff8f80;
    --shadow: 0 18px 40px -24px rgb(0 0 0 / .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.muted { color: var(--ink-2); }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn i { font-size: 1.1em; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand-mark { width: 30px; height: 30px; color: #1f4d33; flex: none; }
.brand-mark .stripe { fill: #c8e45a; }
.brand-mark .stripe-alt { fill: #9fc23e; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 999px;
    border: 1px solid var(--line); background: transparent; color: var(--ink);
    font-size: 1.3rem; cursor: pointer;
  }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; }
  .nav .btn { margin-top: 8px; min-height: 48px; }
}

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); max-width: 16ch; }
.lede { margin-top: 20px; font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; min-height: min(calc(100dvh - 68px - 160px), 680px); }
  .hero-media { aspect-ratio: 5 / 6; max-height: 640px; }
}

/* Assurances */
.assurances { border-block: 1px solid var(--line); background: var(--surface); }
.assurance-list { display: grid; grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
.assurance-list li { display: flex; gap: 14px; align-items: flex-start; }
.assurance-list i {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 1.25rem;
}
.assurance-list span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.assurance-list strong { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 640px) { .assurance-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .assurance-list { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding-top: 24px; }
.section-tint { background: var(--surface-2); }
.section-title { font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 20ch; margin-bottom: 40px; }
@media (min-width: 900px) { .section { padding: 104px 0; } .section-tight { padding-top: 32px; } }

/* Services bento: 1 feature + 4 tiles */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--surface);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: var(--overlay); pointer-events: none; }
.tile-tint::after { display: none; }
.tile-body { position: relative; z-index: 1; padding: 24px; }
.tile-body h3 { font-size: 1.3rem; }
.tile-body p { margin-top: 8px; font-size: .97rem; max-width: 42ch; }
.on-image { color: #f3f6ef; }
.on-image p { color: rgb(243 246 239 / .86); }
.tile-feature { min-height: 380px; }
.tile-feature h3 { font-size: 1.7rem; }
.tile-tint { background: var(--accent); color: var(--accent-ink); justify-content: space-between; }
.tile-tint p { color: color-mix(in srgb, var(--accent-ink) 82%, transparent); }
.tile-icon { position: relative; font-size: 2.2rem; padding: 24px 24px 0; }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-feature { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.3fr 1.3fr 1fr 1fr; grid-template-rows: repeat(2, 300px); }
  .tile { min-height: 0; }
  .tile-feature { grid-column: 1 / 3; grid-row: 1 / 3; }
}

/* Steps */
.steps { display: grid; gap: 32px; counter-reset: none; }
.steps li { border-top: 2px solid var(--ink); padding-top: 24px; }
.steps i { font-size: 1.8rem; color: var(--accent); }
.steps h3 { font-size: 1.25rem; margin-top: 16px; }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 34ch; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* What's included */
.included-grid { display: grid; gap: 40px; align-items: center; }
.included-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.included-media img { width: 100%; height: 100%; object-fit: cover; }
.included-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 18ch; }
@media (min-width: 900px) {
  .included-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .included-media { aspect-ratio: 4 / 5; }
}
.included-list { display: grid; gap: 18px; margin-top: 28px; }
.included-list li { display: flex; gap: 14px; align-items: flex-start; }
.included-list i { font-size: 1.5rem; color: var(--accent); flex: none; margin-top: 1px; }
.included-list span { color: var(--ink-2); line-height: 1.45; }
.included-list strong { display: block; color: var(--ink); font-weight: 600; }
.included-note { margin: 28px 0 24px; max-width: 44ch; }

/* Areas */
.areas .section-title { margin-bottom: 16px; }
.areas-lede { max-width: 56ch; margin-bottom: 32px; }
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pills li {
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 500; font-size: .97rem;
}

/* FAQ */
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-title { position: sticky; top: 108px; }
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-size: 1.2rem; color: var(--ink-2); transition: transform .3s var(--ease); flex: none; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* Quote */
.quote-panel {
  display: grid; gap: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px;
}
@media (min-width: 900px) { .quote-panel { grid-template-columns: 1fr 1.5fr; gap: 64px; padding: 56px; } }
.quote-info h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.quote-info > .muted { margin-top: 14px; max-width: 38ch; }
.contact-list { margin-top: 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list i { font-size: 1.25rem; color: var(--accent); }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

/* Zenbooker embed: lets the widget fit narrow phones instead of being clipped */
.quote-embed { min-width: 0; }
.quote-embed .zenbooker-inline-widget-autoresize { min-width: 0 !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1.3fr; } }
.footer-note { margin-top: 12px; max-width: 36ch; }
.footer-links { display: grid; gap: 10px; align-content: start; color: var(--ink-2); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .87rem; color: var(--ink-2); }

/* Scroll reveal: only when JS is running and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }

  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero-media { animation: settle 1.1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
