/* =========================================================
   Mowing Magic — Stylesheet
   Mobile-first, system fonts, CSS custom properties
   ========================================================= */

:root {
  /* Brand colours — sampled from logo */
  --green-900: #0E3F12;
  --green-800: #14501A;
  --green-700: #1B5E20;
  --green-600: #2E7D32;
  --green-500: #43A047;
  --green-100: #E8F5E9;
  --gold-500: #FFD600;
  --gold-400: #FFE34D;
  --cream-100: #FFF8E7;
  --cream-50:  #FFFDF5;

  --ink-900: #0F1410;
  --ink-700: #2A332C;
  --ink-500: #4A554C;
  --ink-300: #8A958C;
  --line:    #DDE6DE;
  --white:   #FFFFFF;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 16, .06), 0 2px 6px rgba(15, 20, 16, .04);
  --shadow-md: 0 6px 20px rgba(15, 20, 16, .08), 0 2px 6px rgba(15, 20, 16, .05);
  --shadow-lg: 0 18px 40px rgba(15, 20, 16, .14);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--green-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 4.6vw + 1rem, 4rem); }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }
p  { margin: 0 0 1em; }

p, li { color: var(--ink-700); }

ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -40px; left: 8px;
  background: var(--green-700);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { top: 8px; color: var(--white); }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-100);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--green-900);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
  background: var(--gold-400);
  color: var(--green-900);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-ghost-light {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.22);
  color: var(--white);
}

.btn .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 245, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-800);
  letter-spacing: -0.01em;
}
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .72rem;
  color: var(--green-600);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0; margin: 0;
}
.primary-nav a {
  color: var(--ink-700);
  font-weight: 500;
  padding: .5rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"]::after,
.primary-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--green-100); }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span::before { content:""; position:absolute; top: -8px; left:0; }
.menu-toggle span::after  { content:""; position:absolute; top:  8px; left:0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream-50);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    display: none;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child { border: 0; }
  .primary-nav a {
    display: block;
    padding: 1rem .25rem;
  }
  .header-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 214, 0, .35), transparent 60%),
    radial-gradient(900px 500px at -5% 100%, rgba(46, 125, 50, .25), transparent 60%),
    linear-gradient(180deg, var(--cream-100), var(--cream-50));
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background:
    radial-gradient(circle at 12px 0, var(--green-600) 0 8px, transparent 9px) 0 0/24px 18px repeat-x;
  opacity: .25;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--green-700), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .star {
  color: var(--gold-500);
  filter: drop-shadow(0 2px 6px rgba(255, 214, 0, .55));
}

.hero p.lead {
  font-size: 1.2rem;
  max-width: 56ch;
  color: var(--ink-700);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
  font-size: .95rem;
  color: var(--ink-500);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255,214,0,.5), transparent 40%, rgba(46,125,50,.4));
  z-index: -1;
  filter: blur(14px);
  opacity: .6;
}

.hero-card h2 {
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.hero-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--green-700);
  margin-block: .25rem .5rem;
}
.hero-card ul {
  list-style: none;
  padding: 0; margin: 1rem 0;
}
.hero-card li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .35rem 0;
  font-size: .98rem;
}
.hero-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 4px;
  background: var(--green-500);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
}

/* ---------- Services grid ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform .25s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
}
.card .icon-circle {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.card .icon-circle svg { width: 28px; height: 28px; }
.card h3 { margin: .25rem 0 .5rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--ink-500); font-size: .98rem; }
.card a.more {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .8rem;
  font-weight: 600;
}
.card a.more::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.card a.more:hover::after { transform: translateX(3px); }

/* ---------- Why us ---------- */
.why {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(67, 160, 71, .12), transparent 60%),
    var(--cream-50);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

.feature-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 1rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
}
.feature-list li strong { display: block; font-size: 1.05rem; color: var(--ink-900); margin-bottom: .15rem; }
.feature-list li p { margin: 0; color: var(--ink-500); font-size: .96rem; }
.feature-list .icon-circle {
  background: var(--gold-500);
  color: var(--green-900);
  border-radius: 12px;
  display: grid; place-items: center;
}
.feature-list .icon-circle svg { width: 22px; height: 22px; }

/* ---------- Areas ---------- */
.areas {
  background: var(--green-900);
  color: var(--cream-100);
  position: relative;
  overflow: hidden;
}
.areas::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 0% 100%, rgba(255, 214, 0, .15), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(67, 160, 71, .25), transparent 60%);
  pointer-events: none;
}
.areas h2, .areas h3 { color: var(--cream-50); }
.areas p { color: rgba(255, 253, 245, .85); }
.areas .eyebrow {
  background: rgba(255, 214, 0, .15);
  color: var(--gold-400);
}
.areas-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 720px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }

.areas-grid li {
  list-style: none;
  padding: .6rem .9rem;
  background: rgba(255, 253, 245, .08);
  border: 1px solid rgba(255, 253, 245, .14);
  border-radius: 999px;
  text-align: center;
  font-size: .95rem;
  color: var(--cream-50);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.areas-grid li:hover {
  background: rgba(255, 214, 0, .15);
  border-color: var(--gold-500);
}

.areas-cta {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: .75rem;
  position: relative; z-index: 1;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--cream-100);
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: 1.1rem; }
blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-700);
  line-height: 1.55;
}
.author {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem;
  color: var(--ink-500);
  margin-top: auto;
}
.author .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: grid; place-items: center;
  font-weight: 700;
}
.author strong { color: var(--ink-900); display: block; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: .75rem;
  max-width: 860px;
  margin-inline: auto;
}
.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq[open] { border-color: var(--green-500); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--green-700);
  transition: transform .25s var(--ease);
  flex: 0 0 auto;
}
.faq[open] summary::after { content: "−"; }
.faq .answer {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-500);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--gold-500), transparent 65%);
  opacity: .35;
}
.cta-banner h2 { color: var(--white); margin: 0 0 .4rem; }
.cta-banner p { color: rgba(255, 253, 245, .9); margin: 0; }
.cta-banner .actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: flex-end;
  position: relative; z-index: 1;
}
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner .actions { justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 253, 245, .8);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 253, 245, .8); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .brand img { width: 56px; height: 56px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-text small { color: var(--gold-400); }

.footer-blurb { max-width: 32ch; margin-top: 1rem; font-size: .95rem; color: rgba(255, 253, 245, .7); }

.footer-bottom {
  border-top: 1px solid rgba(255,253,245,.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(255, 253, 245, .55);
}

/* ---------- Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}
.contact-card .row {
  display: flex; gap: .9rem; align-items: flex-start;
}
.contact-card .icon-circle {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.contact-card .icon-circle svg { width: 22px; height: 22px; }
.contact-card strong { display: block; font-size: 1rem; color: var(--ink-900); }
.contact-card a { font-weight: 600; word-break: break-word; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}
.form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }

.form label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-900);
  display: block;
  margin-bottom: .35rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: .8rem 1rem;
  font: inherit;
  color: var(--ink-900);
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(67,160,71,.15);
}
.form .submit-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.form .small { font-size: .85rem; color: var(--ink-500); margin: 0; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.muted  { color: var(--ink-500); }
.mt-0   { margin-top: 0; }
.mb-0   { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
