/* =========================================================
   ROC Works Development, LLC — Stylesheet
   Mobile-first · accessible · brand colors from the flyer
   ========================================================= */

:root {
  --green-900: #0c2511;
  --green-800: #103018;
  --green-700: #18482a;
  --green-600: #1f6135;
  --green-500: #2e8b46;
  --gold:      #f4c430;
  --gold-deep: #e0ad14;
  --cream:     #f7f5ee;
  --ink:       #15170f;
  --muted:     #5c6657;
  --white:     #ffffff;
  --line:      rgba(0,0,0,.08);

  --shadow-sm: 0 2px 8px rgba(12,37,17,.08);
  --shadow-md: 0 10px 30px rgba(12,37,17,.12);
  --shadow-lg: 0 24px 60px rgba(12,37,17,.18);

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1140px;

  --font-display: 'Anton', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(244,196,48,.4); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--green { background: var(--green-600); color: #fff; }
.btn--green:hover { background: var(--green-500); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--block { width: 100%; }

/* ---------- Section helpers ---------- */
.section__eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem;
  color: var(--green-600); margin-bottom: 10px;
}
.section__eyebrow.gold { color: var(--gold-deep); }
.section__title {
  font-family: var(--font-display); font-weight: 400; letter-spacing: .01em;
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.05; color: var(--green-900); text-transform: uppercase;
}
.section__lead { color: var(--muted); max-width: 60ch; margin-top: 12px; font-size: 1.05rem; }

/* ---------- Top announcement bar ---------- */
.topbar {
  background: var(--green-900); color: #eafff0; font-size: .9rem; text-align: center;
  padding: 9px 16px; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.topbar__dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 0 rgba(244,196,48,.7); animation: pulse 2s infinite; }
.topbar__link { color: var(--gold); font-weight: 700; white-space: nowrap; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(244,196,48,.6)} 70%{box-shadow:0 0 0 8px rgba(244,196,48,0)} 100%{box-shadow:0 0 0 0 rgba(244,196,48,0)} }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(247,245,238,.9);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__logo { height: 52px; width: auto; }
.brand__logo--footer { height: 56px; }
.brand.has-logo .brand__mark, .brand.has-logo .brand__text { display: none; }
.footer__brand.has-logo .brand__mark, .footer__brand.has-logo .footer__brand-text { display: none; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-900); letter-spacing: .02em; line-height: 1; }
.brand__sub { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 600; color: var(--green-900); font-size: .98rem; transition: color .15s; }
.nav a:hover { color: var(--green-500); }
.nav__cta { background: var(--green-600); color: #fff !important; padding: 9px 18px; border-radius: 999px; }
.nav__cta:hover { background: var(--green-500); }

.header__call {
  display: none; align-items: center; gap: 8px; font-weight: 800; color: var(--green-900);
  border: 2px solid var(--green-600); padding: 9px 16px; border-radius: 999px;
}
.header__call:hover { background: var(--green-600); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--green-900); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(46,139,70,.45), transparent 50%),
    linear-gradient(160deg, var(--green-900), var(--green-700) 55%, var(--green-800));
  padding: clamp(56px, 9vw, 110px) 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero__eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-weight: 800; font-size: .82rem; margin-bottom: 16px; }
.hero__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 5rem); line-height: .98; letter-spacing: .01em; max-width: 16ch;
}
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #e7f3e9; max-width: 52ch; }
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; font-weight: 600; color: #dff0e2; }

/* ---------- Trust strip ---------- */
.trust { background: var(--green-900); padding: 0; }
.trust__grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.08); }
.trust__item { background: var(--green-900); color: #eafff0; padding: 30px 24px; text-align: center; }
.trust__icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.trust__item h3 { color: var(--gold); font-size: 1.15rem; margin-bottom: 6px; }
.trust__item p { color: #c8dccd; font-size: .96rem; max-width: 34ch; margin-inline: auto; }

/* ---------- Services ---------- */
.services { padding: clamp(56px, 8vw, 96px) 0; }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 38px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--green-500), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { font-size: 2.1rem; display: block; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; color: var(--green-900); margin-bottom: 8px; }
.card p { color: var(--muted); }
.services__more { margin-top: 28px; font-weight: 600; color: var(--green-900); }
.services__more a { color: var(--green-600); font-weight: 800; }

/* ---------- Why us ---------- */
.why { background: linear-gradient(180deg, #fff, var(--cream)); padding: clamp(56px, 8vw, 96px) 0; }
.why__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.why__copy p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.checklist { margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist li { padding-left: 34px; position: relative; font-weight: 600; color: var(--green-900); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--green-600); color: #fff; border-radius: 50%; font-size: .8rem; }
.why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-md); }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--gold); line-height: 1; }
.stat__label { display: block; margin-top: 8px; color: #c8dccd; font-size: .9rem; font-weight: 600; }

/* ---------- Service area ---------- */
.area { padding: clamp(56px, 8vw, 96px) 0; }
.area__inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.area__copy p { color: var(--muted); margin: 14px 0 28px; font-size: 1.05rem; }
.area__map {
  min-height: 360px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #e6ede1;
}
.area__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Reviews ---------- */
.reviews { background: var(--green-800); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.reviews .section__title { color: #fff; }
.reviews .section__eyebrow { color: var(--gold); }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
.review { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.review p { font-size: 1.08rem; color: #f0f7f1; }
.review cite { display: block; margin-top: 14px; color: var(--gold); font-style: normal; font-weight: 700; }
.reviews__note { margin-top: 28px; text-align: center; color: var(--gold); font-weight: 700; }

/* ---------- Contact / CTA (call & text) ---------- */
.contact { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(160deg, var(--green-800), var(--green-900)); }
.contact__overlay { position: absolute; inset: 0; z-index: -1; opacity: .1;
  background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px); background-size: 22px 22px; }
.contact__inner { max-width: 760px; margin-inline: auto; }
.contact .section__eyebrow { color: var(--gold); }
.contact__title { color: #fff; margin-bottom: 14px; }
.contact__lead { color: #dff0e2; font-size: 1.1rem; max-width: 52ch; margin: 0 auto 8px; }
.contact__phone { display: inline-block; font-family: var(--font-display); font-size: clamp(2rem, 7vw, 3.4rem);
  color: var(--gold); letter-spacing: .02em; margin: 22px 0 6px; transition: transform .15s; }
.contact__phone:hover { transform: scale(1.03); }
.contact__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 18px 0 30px; }
.contact__points { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; font-weight: 600; color: #dff0e2; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: #cfe0d4; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 24px; padding-block: 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__name { font-family: var(--font-display); color: #fff; font-size: 1.1rem; letter-spacing: .02em; }
.footer__tag { color: var(--gold); font-size: .9rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__nav a { color: #cfe0d4; font-weight: 600; }
.footer__nav a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 12px; font-size: 1.4rem; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.07); border-radius: 12px; transition: background .2s, transform .2s; }
.footer__social a:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; text-align: center; font-size: .85rem; color: #9fb6a6; }
.footer__bar strong { color: var(--gold); }
.footer__bar p + p { margin-top: 4px; }

/* ---------- Sticky mobile call/text ---------- */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(12,37,17,.96);
  backdrop-filter: blur(8px); box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}
.mobile-cta__btn { flex: 1; text-align: center; padding: 13px 8px; border-radius: 12px; font-weight: 800; font-size: .95rem; }
.mobile-cta__btn--call { background: rgba(255,255,255,.12); color: #fff; }
.mobile-cta__btn--text { background: rgba(255,255,255,.12); color: #fff; }
.mobile-cta__btn--quote { background: var(--gold); color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 600px) {
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__inner { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .area__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: auto 1fr; }
  .footer__nav { justify-content: flex-end; }
  .header__call { display: inline-flex; }
}

/* Mobile nav + sticky CTA */
@media (max-width: 899px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column;
    align-items: flex-start; gap: 8px; background: var(--green-900); padding: 90px 28px 28px;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: #fff; font-size: 1.15rem; padding: 8px 0; width: 100%; }
  .nav__cta { width: 100%; text-align: center; margin-top: 10px; }
  .nav-toggle { display: flex; z-index: 110; }
  .mobile-cta { display: flex; }
  main { padding-bottom: 64px; } /* room for sticky bar */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* =========================================================
   Scroll-progress riding mower (experiment — safe to delete this block)
   ========================================================= */
.mower-scroll {
  position: fixed; top: 0; right: 4px; bottom: 0; width: 54px;
  pointer-events: none; z-index: 70; opacity: 0;
  transition: opacity .35s ease;
}
.mower-scroll.is-visible { opacity: 1; }

.mower {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  transition: top .12s linear;
  filter: drop-shadow(0 3px 5px rgba(12, 37, 17, .28));
}
.mower__svg { display: block; transition: transform .35s ease; transform-origin: center; transform: rotate(90deg); }

/* oriented vertically: nose down by default, turns nose up when scrolling up */
.mower-scroll.is-up .mower__svg { transform: rotate(-90deg); }

/* spinning wheels — only while actively scrolling */
.mower__wheel { transform-box: fill-box; transform-origin: center; }
@keyframes mower-spin { to { transform: rotate(360deg); } }
.mower-scroll.is-moving .mower__wheel { animation: mower-spin .45s linear infinite; }
.mower-scroll.is-up.is-moving .mower__wheel { animation-direction: reverse; }

/* grass clippings puff out while mowing */
.mower__clip { opacity: 0; }
.mower-scroll.is-moving .mower__clip { animation: mower-puff .5s ease-out infinite; }
@keyframes mower-puff {
  0%   { opacity: .9; transform: translate(0, 0); }
  100% { opacity: 0;  transform: translate(-5px, 3px); }
}

/* desktop-only: the right edge is too cramped on phones */
/* hidden on phones; shows on iPad/laptop and up */
@media (max-width: 767px) { .mower-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .mower-scroll { display: none; } }
