/* Edge & Shine shared styles: used by index.html, pressure-washing.html and lawn-care.html.
   Page-only styles (the scroll story and the estimate calculator) live inline in pressure-washing.html. */
:root {
  color-scheme: light;
  --bg: #FBFCF8;
  --surface: #EEF4E8;
  --ink: #0F2A1A;
  --muted: #475E50;
  --line: #D5E1CE;
  --green: #1D7A33;
  --leaf: #46A93A;
  --sky: #1AA3E3;
  --btn-bg: #14472B;
  --btn-ink: #FFFFFF;
  --stripe-a: #E4EFDC;
  --stripe-b: #EEF4E8;
  --warn-bg: #FFF4D6;
  --warn-ink: #6B4A00;
  --font-display: 'Archivo', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1510; --surface: #13211A; --ink: #EAF3EC; --muted: #9FB6A7; --line: #25382D;
    --green: #62D274; --leaf: #62D274; --sky: #4CC3F5; --btn-bg: #62D274; --btn-ink: #082113;
    --stripe-a: #15251C; --stripe-b: #112017; --warn-bg: #2E2610; --warn-ink: #F3D98A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1510; --surface: #13211A; --ink: #EAF3EC; --muted: #9FB6A7; --line: #25382D;
  --green: #62D274; --leaf: #62D274; --sky: #4CC3F5; --btn-bg: #62D274; --btn-ink: #082113;
  --stripe-a: #15251C; --stripe-b: #112017; --warn-bg: #2E2610; --warn-ink: #F3D98A; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
.eyebrow { font: 600 13px/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
img { max-width: 100%; }

/* header */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 24px; }
nav a.link { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
nav a.link:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-ink); text-decoration: none;
  font: 700 16px/1 var(--font-body); padding: 15px 22px; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); padding: 13px 20px; }
@media (max-width: 860px) { nav a.link { display: none; } }
@media (max-width: 720px) { .brand img { height: 36px; } nav .btn { padding: 11px 14px; font-size: 14px; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; padding-block: 32px 56px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(40px, 6.2vw, 70px); line-height: 0.98; font-weight: 900; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 22px 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.badges li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.badges li::before { content: "\2713"; color: var(--green); margin-right: 7px; font-weight: 800; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; } .hero .ba-wrap { order: -1; } }

/* before/after slider */
.ba-wrap { margin: 0; }
.ba {
  --x: 50%;
  position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
  background: var(--surface); user-select: none; -webkit-user-select: none; touch-action: pan-y;
  box-shadow: 0 18px 40px -22px rgba(6, 30, 15, .55);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--x)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.ba .knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  background: #fff; color: #14472B; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.ba .tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; color: #fff; font: 800 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba .tag.b { left: 14px; background: rgba(15,42,26,.82); }
.ba .tag.a { right: 14px; background: #1D7A33; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input[type=range]:focus-visible + .handle .knob { outline: 3px solid var(--sky); outline-offset: 3px; }
.ba-wrap figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

/* mowing-stripe divider */
.stripes {
  height: 44px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  background: repeating-linear-gradient(100deg, var(--stripe-a) 0 70px, var(--stripe-b) 70px 140px);
  border-block: 1px solid var(--line);
}

/* sections */
section { padding-block: 64px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; font-weight: 800; }
.section-head p { margin: 0; color: var(--muted); max-width: 28em; }

/* services */
.svc { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px 40px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.svc-row > * { min-width: 0; }
.svc-row h3 { font-size: 30px; font-weight: 800; }
.svc-row h3 small { display: block; font: 600 14px/1.4 var(--font-body); color: var(--green); letter-spacing: .02em; margin-top: 6px; }
.svc-row p { margin: 0 0 12px; color: var(--muted); }
.svc-row.minor h3 { font-size: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 720px) { .svc-row { grid-template-columns: 1fr; } .svc-row h3 { font-size: 26px; } }

/* recent work: real before/after pairs, shown side by side */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pair .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.pair .imgs > div { position: relative; aspect-ratio: 3 / 4; overflow: hidden; min-width: 0; }
.pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pair .tag { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(15,42,26,.82); color: #fff; font: 800 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.pair .tag.after { background: #1D7A33; }
.pair figcaption { padding: 12px 14px; font-weight: 600; font-size: 15px; }
.pair figcaption span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.pair.feature { grid-column: 1 / -1; }
.pair.feature .imgs > div { aspect-ratio: 4 / 5; }
@media (min-width: 861px) { .pair.feature .imgs > div { aspect-ratio: 3 / 2.6; } }
@media (max-width: 720px) { .work { grid-template-columns: 1fr; } }

/* steps */
.steps-band { background: var(--surface); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); font: 800 18px/1 var(--font-display); margin-bottom: 14px; }
.steps h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.why li { padding-block: 24px; border-bottom: 1px solid var(--line); min-width: 0; }
.why h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.why p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .why { grid-template-columns: 1fr; } }

/* area + quote */
.two { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.two > * { min-width: 0; }
.two h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; font-weight: 800; margin-bottom: 16px; }
.two p { color: var(--muted); margin: 0 0 14px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; }
.towns li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.mail { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.mail code { font: 600 16px/1 var(--font-body); padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); user-select: all; }
.mini { font: 600 14px/1 var(--font-body); padding: 10px 12px; border-radius: 8px; background: transparent; color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.mini:hover { background: var(--surface); }
form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
label, legend { font-weight: 600; font-size: 14px; }
input[type=text], input[type=email], textarea, select {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-top: 6px;
}
textarea { min-height: 96px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 8px; }
.checks label, .optin label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 16px; }
.checks input, .optin input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.optin { display: grid; gap: 10px; margin-top: 8px; }
.optin label { font-size: 14px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 > * { min-width: 0; }
.note { font-size: 14px; color: var(--muted); margin: 0; }
.estbox { display: none; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--green); font-size: 15px; }
.estbox.on { display: block; }
.estbox b { font-family: var(--font-display); }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; gap: 28px; } .row2, .checks { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding-block: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 15px; }
footer .brand img { height: 36px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#status { margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 15px; display: none; }
#status.ok { display: block; background: var(--bg); border: 1px solid var(--green); }
#status.err { display: block; background: var(--bg); border: 1px solid #C0392B; }
button[disabled] { opacity: .65; cursor: progress; }

/* sticky call / text / price bar, phones only */
.mbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 50;
    padding: 8px; border-radius: 18px; background: rgba(10, 30, 18, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 8px; border-radius: 12px; text-decoration: none; color: #fff; font: 700 15px/1 var(--font-body); background: rgba(255,255,255,.1); }
  .mbar a.go { background: linear-gradient(90deg, #1D7A33, #1AA3E3); }
  .mbar svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
}

/* footer page links */
footer nav.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav.foot-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
footer nav.foot-links a:hover { text-decoration: underline; }

/* opt-in links */
.optin a { color: var(--green); font-weight: 600; }

/* legal pages (privacy, SMS terms) */
.legal { max-width: 720px; padding-block: 24px 64px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; font-weight: 900; margin-bottom: 6px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green); font-weight: 600; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
