/* Mossy Gate Lawn Care: bold and outdoorsy. Brick red and moss green on warm cream, mowing-stripe dividers, Poppins like the logo. */
:root {
  --bg: #f7f1e3;
  --surface: #fffcf5;
  --ink: #2a2320;
  --muted: #675c53;
  --line: #e4d8c3;
  --brick: #8b2f2a;
  --brick-hi: #a63a33;
  --moss: #4f6b2f;
  --moss-2: #86a356;
  --moss-soft: #e9eedb;
  --band: #8b2f2a;
  --on-band: #fbf3ea;
  --note-bg: #fff2cf;
  --note-ink: #4a3a10;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #1a1613; --surface: #231e1a; --ink: #efe7da; --muted: #b4a89b; --line: #3b332c;
  --brick: #e07a6f; --brick-hi: #ec8f85; --moss: #a3c172; --moss-2: #86a356; --moss-soft: #242b1d;
  --band: #4a1f1b; --on-band: #f7ebe0; --note-bg: #3a3016; --note-ink: #f6e3b0; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #1a1613; --surface: #231e1a; --ink: #efe7da; --muted: #b4a89b; --line: #3b332c;
  --brick: #e07a6f; --brick-hi: #ec8f85; --moss: #a3c172; --moss-2: #86a356; --moss-soft: #242b1d;
  --band: #4a1f1b; --on-band: #f7ebe0; --note-bg: #3a3016; --note-ink: #f6e3b0; color-scheme: dark }

* { 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: 400 17px/1.65 var(--body); overflow-x: clip }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--band) }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance }
p { margin: 0 }
a { color: inherit }
img { display: block; max-width: 100% }
button { font: inherit; color: inherit; cursor: pointer }
:focus-visible { outline: 3px solid var(--moss-2); outline-offset: 3px; border-radius: 4px }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr) }
.eyebrow { font: 600 12.5px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--brick) }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 58ch }
section.block { padding-block: clamp(60px, 9vw, 108px) }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px }
.sec-head h2 { font-size: clamp(32px, 5vw, 54px) }
.stripes { height: 14px; background: repeating-linear-gradient(115deg, var(--moss) 0 26px, var(--moss-2) 26px 52px); opacity: .9 }

/* ribbon + header */
.ribbon { background: var(--note-bg); color: var(--note-ink); font-size: 13.5px }
.ribbon .wrap { display: flex; gap: 10px 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 8px }
.ribbon button { background: none; border: 1px solid currentColor; border-radius: 99px; padding: 3px 12px; font-size: 13px; font-weight: 700 }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); border-bottom: 3px solid var(--brick) }
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 72px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap }
.brand img { width: 48px; height: 48px }
.brand b { font: 700 22px/1 var(--display); letter-spacing: -.01em }
.brand small { display: block; font: 600 10.5px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--brick); margin-top: 4px }
nav.links { display: flex; gap: 6px; margin-left: auto; font: 600 15px/1 var(--display) }
nav.links a { text-decoration: none; color: var(--muted); padding: 10px 12px; border-radius: 8px }
nav.links a:hover { color: var(--ink); background: var(--moss-soft) }
nav.links a[aria-current="page"] { color: var(--brick); box-shadow: inset 0 -3px 0 var(--moss-2) }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 22px; font: 700 16px/1 var(--display); text-decoration: none; border: 0; min-height: 50px }
.btn-brick { background: var(--brick); color: #fff8f2 }
.btn-brick:hover { background: var(--brick-hi) }
:root[data-theme="dark"] .btn-brick { color: #21100e }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-brick { color: #21100e } }
.btn-line { background: transparent; color: inherit; border: 2px solid currentColor }
header .btn { padding: 8px 16px; min-height: 44px; white-space: nowrap }
.menu-btn { display: none; margin-left: auto; border: 2px solid var(--line); background: var(--surface); border-radius: 10px; min-height: 44px; padding: 0 14px; font: 700 15px/1 var(--display) }
@media (max-width: 900px) {
  nav.links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 3px solid var(--brick); padding: 8px var(--gr) 14px var(--gl); margin: 0 }
  nav.links.open { display: flex }
  nav.links a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line) }
  .menu-btn { display: inline-flex; align-items: center }
  header .btn { margin-left: 0 }
}
@media (max-width: 460px) { .brand small { display: none } .brand b { font-size: 19px } header .btn { display: none } }

/* hero */
.hero { position: relative; min-height: clamp(460px, 64vh, 640px); display: grid; align-items: end; color: #fff; overflow: hidden }
.hero > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60% }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,14,10,.9) 0%, rgba(20,14,10,.78) 38%, rgba(20,14,10,.25) 72%, rgba(20,14,10,.05) 100%), linear-gradient(0deg, rgba(20,14,10,.5), transparent 50%) }
.hero .wrap > * { text-shadow: 0 2px 14px rgba(0,0,0,.35) }
.hero .badge-now { text-shadow: none }
@media (max-width: 700px) { .hero::before { background: linear-gradient(0deg, rgba(20,14,10,.92) 0%, rgba(20,14,10,.8) 55%, rgba(20,14,10,.35) 100%) } }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(48px, 8vw, 88px); display: grid; gap: 18px }
.hero h1 { font-size: clamp(40px, 6.6vw, 78px); max-width: 13ch; letter-spacing: -.035em }
.hero h1 em { font-style: normal; color: #b9d58a }
.hero .lede { color: #f1e8dc; max-width: 46ch }
.hero .eyebrow { color: #f2c3b8 }
.actions { display: flex; gap: 12px; flex-wrap: wrap }
.hero .btn-line { color: #fff }
.badge-now { justify-self: start; display: inline-flex; gap: 8px; align-items: center; background: rgba(255,248,240,.94); color: #2a2320; border-radius: 999px; padding: 8px 14px; font: 600 14px/1.2 var(--display) }
.badge-now i { width: 10px; height: 10px; border-radius: 50%; background: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.2) }
.page-hero { min-height: clamp(300px, 40vh, 420px) }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 64px) }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .2s, box-shadow .2s; min-width: 0 }
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(40,25,15,.5) }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover }
.card .body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start }
.card h3 { font-size: 22px }
.card p { color: var(--muted); font-size: 15.5px }
.card .from { font: 700 15px/1 var(--display); color: var(--brick) }
.card .from small { font-weight: 500; color: var(--muted) }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px } }
.shot { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--moss-soft); min-width: 0 }
.shot img { width: 100%; height: 100%; object-fit: cover }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(24,18,14,.72); color: #fbf3ea; padding: 7px 12px; border-radius: 10px; font-size: 14px; backdrop-filter: blur(4px) }

/* phone band */
.band { background: var(--band); color: var(--on-band) }
.band .grid2 { padding-block: clamp(44px, 7vw, 72px) }
.band p { color: color-mix(in srgb, var(--on-band) 82%, transparent) }
.band .eyebrow { color: #f2c3b8 }
.band .num { font: 700 32px/1 var(--display); color: #fff; user-select: all }
.band .btn-line { color: var(--on-band) }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 60px); align-items: center }
.grid2 .copy { display: grid; gap: 16px; min-width: 0 }
.grid2 h2 { font-size: clamp(30px, 4.4vw, 46px) }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr } }

/* quote mock */
.qphone { background: #1f1b18; border-radius: 34px; padding: 11px; max-width: 340px; width: 100%; justify-self: center; box-shadow: 0 30px 60px -30px rgba(30,20,10,.65) }
.qphone .scr { background: #fffdf8; color: #2a2320; border-radius: 25px; overflow: hidden; font-size: 14.5px; line-height: 1.4 }
.qphone .qh { background: #8b2f2a; color: #fff8f2; padding: 18px 18px 14px; display: grid; gap: 4px }
.qphone .qh b { font: 700 18px/1.2 var(--display) }
.qphone .qh span { font-size: 13px; opacity: .85 }
.qphone ul { list-style: none; margin: 0; padding: 10px 18px; display: grid }
.qphone li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e4d8c3 }
.qphone li em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap }
.qphone li.new span::after { content: "added"; margin-left: 6px; font: 600 10px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; background: #e9eedb; color: #4f6b2f; padding: 3px 6px; border-radius: 4px; vertical-align: 2px }
.qphone .tot { display: flex; justify-content: space-between; padding: 12px 18px; font: 700 18px/1 var(--display) }
.qphone .acc { margin: 4px 18px 18px; display: grid; place-items: center; min-height: 46px; border-radius: 10px; background: #4f6b2f; color: #fff; font: 700 15px/1 var(--display) }
.qphone .samp { text-align: center; font: 600 10.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #8a7d70; padding-bottom: 14px }

/* steps */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s }
.steps4 > div { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--moss-2); border-radius: 12px; padding: 20px; display: grid; gap: 8px; align-content: start; counter-increment: s; min-width: 0 }
.steps4 > div::before { content: "0" counter(s); font: 700 14px/1 var(--display); color: var(--brick) }
.steps4 h3 { font-size: 19px }
.steps4 p { color: var(--muted); font-size: 15.5px }
@media (max-width: 900px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr } }

/* price table */
.ptable { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-variant-numeric: tabular-nums }
.ptable th, .ptable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line) }
.ptable thead th { background: var(--moss); color: #fbf8ee; font: 600 14px/1.2 var(--display); letter-spacing: .02em }
:root[data-theme="dark"] .ptable thead th { color: #1a1613 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ptable thead th { color: #1a1613 } }
.ptable thead th small { display: block; font-weight: 400; opacity: .85; font-size: 12px }
.ptable td:not(:first-child), .ptable th:not(:first-child) { text-align: right; white-space: nowrap }
.ptable td b { font-family: var(--display) }
.ptable td small { display: block; color: var(--muted); font-size: 13.5px }
.ptable tr:last-child td { border-bottom: 0 }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px }
.addons div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline }
.addons b { font-family: var(--display); font-size: 15.5px }
.addons em { font-style: normal; font: 700 15px/1 var(--display); color: var(--brick); white-space: nowrap }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding-block: 28px; border-top: 1px solid var(--line) }
.svc:nth-child(even) .shot { order: 2 }
.svc .shot img { aspect-ratio: 16 / 10 }
.svc h3 { font-size: clamp(24px, 3vw, 32px) }
.svc .copy { display: grid; gap: 12px; min-width: 0 }
.svc .copy p { color: var(--muted) }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap }
.chip-row span { background: var(--moss-soft); color: var(--moss); border-radius: 999px; padding: 6px 12px; font: 600 13.5px/1 var(--display) }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr } .svc:nth-child(even) .shot { order: 0 } }
.season { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; font: 600 11.5px/1 var(--display) }
.season span { text-align: center; color: var(--muted); padding-bottom: 6px }
.season i { height: 26px; border-radius: 4px; background: var(--line); display: grid; place-items: center; font-style: normal; color: #fff; font-size: 11px; overflow: hidden; white-space: nowrap }
.season i.mow { background: var(--moss) }
.season i.aer { background: var(--moss-2) }
.season i.leaf { background: #c06a2b }
.season i.sign { background: var(--brick) }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; color: var(--muted) }
.legend b { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px }
.dont { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.dont li { display: flex; gap: 10px; align-items: baseline }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.checks li { display: flex; gap: 10px; align-items: baseline }
.checks li::before { content: "✓"; color: var(--moss); font-weight: 800 }
.dont li::before { content: "✕"; color: var(--brick); font-weight: 800 }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px }
.rev { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 10px; align-content: start }
.rev .stars { color: #c0392b; letter-spacing: 2px }
.rev blockquote { margin: 0; font: 500 18px/1.45 var(--display); letter-spacing: -.01em }
.rev figcaption { color: var(--muted); font-size: 14.5px }
.sample-flag { display: inline-block; justify-self: start; font: 600 11.5px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; background: var(--note-bg); color: var(--note-ink); padding: 6px 8px; border-radius: 4px }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 560px } }

/* towns */
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px }
.towns li { background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 10px 18px; font: 600 16px/1 var(--display) }

/* estimate form */
.est { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 22px }
.est h3 { font-size: 20px; margin-bottom: 10px }
.pick { display: flex; flex-wrap: wrap; gap: 10px }
.pick button { border: 2px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 16px; text-align: left; display: grid; gap: 2px; min-height: 56px }
.pick button b { font: 600 15.5px/1.2 var(--display) }
.pick button small { color: var(--muted); font-size: 13px }
.pick button[aria-pressed="true"] { border-color: var(--moss); background: var(--moss-soft) }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.fields label { display: grid; gap: 6px; font-weight: 700; font-size: 14px }
.fields .full { grid-column: 1 / -1 }
.fields input[type=text], .fields input[type=tel], .fields textarea, .fields select { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100% }
.fields textarea { min-height: 84px; resize: vertical }
.optin { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; background: var(--bg); border: 2px solid var(--line); border-radius: 10px; padding: 12px }
.optin input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--moss); flex: 0 0 auto }
.optin small { display: block; color: var(--muted); font-size: 13.5px }
.done { display: grid; gap: 14px; justify-items: start }
.done .check { width: 56px; height: 56px; border-radius: 50%; background: var(--moss); color: #fff; display: grid; place-items: center; font-size: 26px }
.done dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 }
.done dt { color: var(--muted) }
.done dd { margin: 0; font-weight: 700 }
.btn-sm { min-height: 40px; padding: 8px 14px; border-radius: 9px; font-weight: 700; border: 2px solid var(--line); background: var(--surface); font-size: 15px }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr } }

/* about */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
.values div { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--moss-2); border-radius: 12px; padding: 18px 20px; display: grid; gap: 4px }
.values b { font: 700 18px/1.3 var(--display) }
.values span { color: var(--muted); font-size: 15.5px }
@media (max-width: 700px) { .values { grid-template-columns: 1fr } }

/* footer + mobile bar */
footer { background: #221b17; color: #d9cec2; padding-block: 0 120px }
footer .wrap.cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-top: 52px }
footer .fb { display: flex; gap: 12px; align-items: center }
footer .fb img { width: 60px; height: 60px }
footer h3 { font-size: 22px; color: #fbf3ea }
footer h4 { font: 600 12.5px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #f2c3b8; margin-bottom: 10px }
footer .num { font: 700 26px/1 var(--display); color: #fff; user-select: all }
footer nav a { display: block; text-decoration: none; padding: 3px 0; opacity: .9 }
footer nav a:hover { color: #b9d58a }
footer small { display: block; margin-top: 30px; font-size: 13px; opacity: .78 }
@media (max-width: 860px) { footer .wrap.cols { grid-template-columns: 1fr 1fr } }
@media (max-width: 520px) { footer .wrap.cols { grid-template-columns: 1fr } }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 10px var(--gr) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gl); background: #221b17 }
.bar a { flex: 1; min-height: 50px; border-radius: 10px; display: grid; place-items: center; text-decoration: none; font: 700 16px/1 var(--display); color: #fbf3ea; border: 2px solid rgba(251,243,234,.3) }
.bar a.main { background: #8b2f2a; border: 0; flex: 1.4 }
@media (max-width: 820px) { .bar { display: flex } }

/* Pixel & Porch notes (hidden until "Show notes") */
.note { display: none; margin-top: 18px; background: var(--note-bg); color: var(--note-ink); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; max-width: 66ch }
body.notes .note { display: block }
