/* Self-hosted Poppins (latin subset), the font the old page used. */
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins-400.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/poppins-700.woff2) format('woff2')}

/* Miss Manly Mowing — one-page site.
   A recreation of Shanda's old listing page: a white card on a light grey page,
   Poppins, green headings and a bright green Call Now button, the same section
   order (banner, intro, services, reviews, gallery, contact). Tidied up rather
   than redesigned, at her request. */

:root {
  --green: #3BAF4A;
  --green-deep: #2E8B3A;
  --green-text: #1F6B2C;   /* headings and links on white: passes 4.5:1 */
  --green-soft: #E8F5EA;
  --pink: #E8368F;         /* the logo's mower, used only for tiny accents */
  --ink: #2B2B2B;
  --ink-2: #444444;
  --muted: #666666;
  --page: #F2F2F2;
  --card: #FFFFFF;
  --grey: #F7F7F7;
  --line: #E4E4E4;
  --star: #F5B400;
  --radius: 8px;
  --radius-lg: 14px;
  --wrap: 1100px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, 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);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--card);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; color: var(--green-text); }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); text-align: center; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); text-align: center; margin-bottom: 0.8em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.section { padding: 56px 0; }
.section-grey { background: var(--grey); }
.section-note { text-align: center; color: var(--muted); margin: -8px 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* Full-width layout (Stuart, 24 Sep 2026): no centred card, the page runs
   edge to edge and only the content is capped at --wrap. */
main { background: var(--card); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(59, 175, 74, 0.3); }
.btn-primary:hover { background: var(--green-deep); }
.btn-outline { background: #fff; color: var(--green-text); border-color: var(--green); }
.btn-outline:hover { background: var(--green-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn-row.center { justify-content: center; }

/* ---------- header (the old page's: big logo, big name, CALL NOW) ---------- */
.site-header { background: #fff; }
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 150px; width: auto; }
.brand-name { font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 3rem); color: var(--green-text); line-height: 1.1; text-align: center; }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.call-now {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; white-space: nowrap; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(59, 175, 74, 0.3);
  transition: transform .15s ease, background .15s ease;
}
.call-now:hover { background: var(--green-deep); transform: translateY(-1px); }
.call-now svg { width: 18px; height: 18px; animation: ring 2.4s ease-in-out infinite; transform-origin: 50% 20%; }
.call-now .call-number { padding-left: 9px; border-left: 1px solid rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums; }
@keyframes ring {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(-14deg); } 68% { transform: rotate(12deg); } 72% { transform: rotate(-10deg); }
  76% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } 84% { transform: rotate(0); }
}
/* ---------- banner (edge to edge, straight under the header) ---------- */
.hero { padding: 0 0 8px; background: #fff; }
.hero-frame { width: 50%; margin: 0 auto; height: clamp(220px, 24vw, 400px); overflow: hidden; border-radius: var(--radius); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

/* ---------- intro ---------- */
.intro { padding-top: 48px; }
.intro h1 { position: relative; padding-top: 22px; margin-bottom: 22px; }
.intro h1::before { content: ""; position: absolute; left: 50%; top: 0; width: 56px; height: 3px; background: var(--green); transform: translateX(-50%); border-radius: 2px; }
.intro p { color: var(--ink-2); }
.intro em { font-style: italic; }
.intro .btn-row { margin-top: 22px; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 860px; margin: 0 auto; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.svc-card img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.svc-card h3 { color: var(--green-text); margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }

/* ---------- reviews ---------- */
.reviews-wrap { margin-top: 4px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- contact ---------- */
.contact { padding: 56px 0 64px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { text-align: left; margin-bottom: 0.4em; }
.contact-info > p { color: var(--muted); }
.contact-info .clist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-info .clist > li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .lbl { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-info .val { display: block; font-size: 1rem; color: var(--ink-2); }
.contact-info .val a { color: var(--green-text); text-decoration: none; font-weight: 600; }
.contact-info .val a:hover { text-decoration: underline; }
.contact-info .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--green-text); }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info .review-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--green-text); font-weight: 600; }
.contact-info .review-link svg { width: 20px; height: 20px; flex: 0 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); position: relative; }
.form-card h3 { margin-bottom: 4px; font-size: 1.35rem; }
.form-card > p { color: var(--muted); margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #CFCFCF; border-radius: var(--radius);
  background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9A9A9A; opacity: 1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.char-count { font-size: 12px; color: var(--muted); text-align: right; margin-top: -2px; }
.gotcha { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }
.form-error { display: none; color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; border-radius: var(--radius); padding: 10px 12px; font-size: 0.95rem; margin-bottom: 14px; }
.form-error.is-on { display: block; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-on { display: block; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green-text); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.form-success .tick svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); margin: 0; }
.form-success a { color: var(--green-text); font-weight: 600; }
.form-card .btn { min-width: 160px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: #232323; color: rgba(255, 255, 255, 0.82); padding: 48px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; text-decoration: none; color: #fff; }
.footer-logo img { height: 52px; width: auto; border-radius: 8px; background: #fff; padding: 4px 8px; }
.footer-logo strong { font-weight: 600; font-size: 1.05rem; }
.site-footer p { font-size: 0.95rem; }
.site-footer h4 { color: #8FD99A; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul a { display: inline-block; padding: 4px 0; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a[href^="mailto"] { white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; font-size: 0.88rem; }
.footer-credit { color: #fff; }
.footer-credit a { color: #fff; text-decoration: underline; }

/* ---------- chat popup ---------- */
.chat-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--green); padding: 0; cursor: pointer;
  background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.chat-toggle img { width: 100%; height: 100%; object-fit: cover; }
.chat-toggle .ico-x { display: none; color: var(--green-text); width: 26px; height: 26px; }
.chat-toggle.is-open img { display: none; }
.chat-toggle.is-open .ico-x { display: block; }
.chat-badge {
  position: fixed; right: 94px; bottom: 34px; z-index: 149; background: var(--green); color: #fff;
  font-size: 0.9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap;
}
.chat-badge.is-hidden { display: none; }
.chat-panel {
  position: fixed; right: 20px; bottom: 96px; z-index: 150; width: 360px; max-width: calc(100vw - 40px);
  max-height: min(780px, calc(100vh - 116px)); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  display: none;
}
.chat-panel.is-open { display: block; }
.chat-head { display: flex; align-items: center; gap: 12px; background: var(--green-deep); color: #fff; padding: 14px 16px; }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; background: #fff; }
.chat-head strong { display: block; font-size: 1rem; font-weight: 600; }
.chat-head small { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; display: block; line-height: 1.3; }
.chat-close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.chat-close svg { width: 20px; height: 20px; }
.chat-body { padding: 16px; position: relative; }
.chat-body [data-form-intro] { font-size: 0.92rem; color: var(--muted); margin: 0 0 12px; }
.chat-body .field { margin-bottom: 10px; gap: 3px; }
.chat-body .field label { font-size: 0.82rem; }
.chat-body .field input, .chat-body .field textarea { padding: 9px 12px; }
.chat-body .field textarea { min-height: 70px; }
.chat-body .char-count { margin-top: -4px; }
.chat-body .btn { width: 100%; padding: 12px 20px; }
.chat-body .form-success { padding: 18px 6px; }
@media (max-height: 800px) {
  .chat-body [data-form-intro] { display: none; }
  .chat-body .field textarea { min-height: 56px; }
}

/* ---------- 404 ---------- */
.notfound { padding: 100px 0; text-align: center; }
.notfound p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }

/* ---------- motion ----------
   Scroll reveals are opt-in from JS (html.js-anim): if the script never runs,
   everything is simply visible. Load animations and hovers are plain CSS.
   Everything here is switched off under prefers-reduced-motion at the bottom. */

/* Section headings: a short green bar under each one. */
h2[data-reveal="title"]::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0; background: var(--green); border-radius: 2px; }

/* Scroll reveals: fade up (default), slide from left/right, zoom for tiles. */
.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.js-anim .reveal[data-reveal="left"] { transform: translateX(-40px); }
.js-anim .reveal[data-reveal="right"] { transform: translateX(40px); }
.js-anim .reveal[data-reveal="zoom"] { transform: scale(.92); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
/* The bars under headings draw themselves in once the heading arrives. */
.js-anim [data-reveal="title"]::after,
.js-anim .intro h1::before { transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .7, .2, 1) .25s; }
.js-anim .intro h1::before { transform: translateX(-50%) scaleX(0); }
.js-anim [data-reveal="title"].is-in::after { transform: scaleX(1); }
.js-anim .intro h1.is-in::before { transform: translateX(-50%) scaleX(1); }

/* Page load: logo drops in, the name fades up, CALL NOW pops, the banner eases
   out of a slow zoom. The banner only scales (never starts invisible) so it
   still counts as painted straight away. */
@keyframes drop-in { from { opacity: 0; transform: translateY(-18px) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.8); } 70% { opacity: 1; transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes slow-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.brand img { animation: drop-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.brand-name { animation: fade-up .8s ease .15s both; }
.header-actions { animation: pop-in .7s ease .35s both; }
.hero-img { animation: slow-zoom 6s cubic-bezier(.2, .6, .2, 1) both; }

/* CALL NOW: a soft ring pulses out from the button every few seconds. */
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(59, 175, 74, .55), 0 6px 16px rgba(59, 175, 74, .3); } 70%, 100% { box-shadow: 0 0 0 16px rgba(59, 175, 74, 0), 0 6px 16px rgba(59, 175, 74, .3); } }
.call-now { animation: pulse-ring 2.6s ease-out 1.2s infinite; }

/* Buttons: a light sweeps across on hover. */
.btn, .call-now { position: relative; overflow: hidden; }
.btn::after, .call-now::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg); pointer-events: none;
}
.btn:hover::after, .call-now:hover::after { left: 130%; transition: left .7s ease; }

/* Service cards lift and their photo zooms on hover. */
.svc-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0, 0, 0, .12); border-color: var(--green); }
.svc-card img { transition: transform .6s ease; }
.svc-card:hover img { transform: scale(1.05); }
.svc-card { overflow: hidden; }

/* Gallery: a green wash fades up over a tile on hover. */
.gallery figure { position: relative; }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 107, 44, .35), rgba(31, 107, 44, 0) 60%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.gallery figure:hover::after { opacity: 1; }

/* Contact icons give a small bounce when their row is hovered. */
.contact-info .ico { transition: transform .3s ease, background .3s ease; }
.contact-info .clist > li:hover .ico { transform: translateY(-3px) scale(1.08); background: var(--green); color: #fff; }

/* Chat bubble: bounces in after a moment, then gives a small wave every so
   often until it is opened. The badge slides out beside it. */
@keyframes bubble-in { 0% { opacity: 0; transform: translateY(40px) scale(.6); } 60% { opacity: 1; transform: translateY(-8px) scale(1.06); } 100% { transform: none; } }
@keyframes bubble-wave { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-12deg); } 93% { transform: rotate(10deg); } 96% { transform: rotate(-6deg); } }
@keyframes badge-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.chat-toggle { animation: bubble-in .8s cubic-bezier(.2, .7, .2, 1) 1.5s both, bubble-wave 7s ease-in-out 4s infinite; }
.chat-toggle.is-open { animation: none; }
.chat-badge { animation: badge-in .6s ease 2.2s both; }
.chat-panel.is-open { animation: fade-up .3s ease both; }

/* Scroll progress line along the very top of the window. */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; z-index: 300; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-progress { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  /* Phone header, like the old page: logo, name and CALL NOW stacked and centred. */
  .header-row { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
  .brand img { height: 110px; }
  .hero-frame { width: 100%; height: 42vw; min-height: 200px; border-radius: 0; }
  .brand-name { font-size: 1.7rem; }
  .header-actions { justify-self: center; }
  html { scroll-padding-top: 0; }
  .section { padding: 44px 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-card img { height: 240px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .form-card { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .brand img { height: 96px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .call-now { padding: 10px 14px; }
  .chat-badge { display: none; }
}
@media (max-width: 360px) {
  .brand img { height: 84px; }
  .call-now { padding: 9px 14px; font-size: 0.82rem; }
}

/* ---------- mobile: touch targets and vertical budget ---------- */
@media (max-width: 860px) {
  a[href^="tel:"], a[href^="mailto:"] { padding-block: 11px; }
  .contact-info .val a,
  .contact-info .review-link,
  .footer-credit a { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-info .val a { padding-block: 0; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { padding: 11px 0; min-height: 44px; }
  .site-footer ul li:not(:has(a)) { padding: 11px 0; }
  .site-footer { padding: 40px 0 20px; }
  .contact { padding: 44px 0 52px; }
}
@media (max-width: 560px) {
  .site-footer { padding-bottom: 84px; }
}

/* ---------- service area map (Google embed of her listing) ---------- */
.map-frame { max-width: 1000px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--grey); aspect-ratio: 5 / 3; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .map-frame { aspect-ratio: 4 / 5; } }
