/* Mint Mowing – site styles
   Brand: dark forest green #00452F · fresh lime #85C332 · white #FFFFFF
   No animations or transitions by design. */

:root {
  --green: #00452F;
  --green-deep: #003322;
  --lime: #85C332;
  --lime-dark: #6FA824;
  --white: #FFFFFF;
  --tint: #F3F8EC;
  --ink: #1D2B24;
  --muted: #4E5E55;
  --line: #DCE6D6;
  --error: #B42318;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 12px;
  --header-h: 76px;
  --container: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--lime-dark); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--green);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--lime); color: var(--green); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--lime); color: var(--green); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-dark); border-color: var(--lime-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-lg { min-height: 58px; font-size: 1.1rem; padding: 14px 32px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 69, 47, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: auto; height: 60px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--green); text-transform: uppercase; }
.brand-tag { font-size: .9rem; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 10px 12px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: var(--green); text-decoration: none; white-space: nowrap;
}
.site-nav ul a:hover { background: var(--tint); color: var(--green); }
.nav-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 10px 16px; border-radius: 8px; white-space: nowrap;
}
.nav-call:hover { background: var(--green-deep); color: var(--lime); }
.nav-call svg { width: 18px; height: 18px; fill: currentColor; }

.nav-toggle { display: none; }

@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .brand img { height: 50px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--green); color: var(--white); border: 0; border-radius: 8px;
    padding: 10px 14px; min-height: 44px;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--white); border-bottom: 3px solid var(--lime);
    padding: 12px var(--gutter) 20px;
    box-shadow: 0 10px 20px rgba(0, 69, 47, .12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-call { justify-content: center; padding: 14px; font-size: 1.05rem; }
}
/* Without JavaScript, keep the menu reachable */
.no-js .site-nav { display: flex; position: static; box-shadow: none; }
.no-js .nav-toggle { display: none; }

@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.1rem; }
  .nav-toggle-label { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--green); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--lime); margin-bottom: .6em;
}
.eyebrow-dark { color: var(--lime-dark); }

.section-cta { text-align: center; margin-top: 40px; }

/* ---------- Hero / Contact ---------- */
.hero {
  /* job photo behind a dark-green wash: darkest under the text, lighter behind the form */
  background-color: var(--green-deep);
  background-image:
    linear-gradient(90deg, rgba(0, 45, 30, .78) 0%, rgba(0, 45, 30, .6) 45%, rgba(0, 45, 30, .4) 100%),
    url("images/hero.webp");
  background-size: cover;
  background-position: center 55%;
  color: var(--white);
  border-bottom: 6px solid var(--lime);
  padding: clamp(48px, 8vw, 112px) 0;
}
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hero h1 { color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero-copy { padding-top: 8px; }
.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 34em; }


.direct-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.direct-contact a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius);
  background: rgba(0, 45, 30, .55); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); text-decoration: none;
}
.direct-contact a:hover { border-color: var(--lime); color: var(--white); }
.dc-icon {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--lime);
}
.dc-icon svg { width: 22px; height: 22px; fill: var(--green); }
.dc-label { display: block; font-size: .85rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }
.dc-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; word-break: break-word; }

/* Quote card */
.quote-card {
  background: var(--white); color: var(--ink);
  border-radius: 16px; padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .22);
  border-top: 6px solid var(--lime);
}
.quote-title { font-size: 1.5rem; margin-bottom: .2em; }
.quote-sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.req { color: var(--error); font-weight: 700; }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--green); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; /* 16px+ stops iOS zooming into fields */
  color: var(--ink); background: var(--white);
  border: 1.5px solid #B9C9B5; border-radius: 8px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(133, 195, 50, .45); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.field-error:empty { display: none; }

.form-privacy { font-size: .9rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 14px; }
.form-status:empty { display: none; }
.form-status.is-error {
  background: #FDECEA; color: var(--error); border: 1px solid #F5C2BC;
  padding: 12px 14px; border-radius: 8px; font-weight: 600;
}

.form-success { text-align: center; padding: 24px 4px; }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 16px; }
.form-success circle { fill: var(--lime); }
.form-success path { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.form-success h2 { font-size: 1.5rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; border-top: 4px solid var(--lime);
}
.service-card p { color: var(--muted); margin: 0; }
.service-icon {
  width: 64px; height: 64px; border-radius: 14px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 18px;
}
.service-icon svg { width: 38px; height: 38px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-logo img { width: 100%; max-width: 340px; margin: 0 auto; background: var(--white); padding: 24px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 69, 47, .10); }
.about-copy { max-width: 640px; }
.slogan { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 1.15rem; border-left: 4px solid var(--lime); padding-left: 14px; margin-top: 1.4em; }

/* ---------- Gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery li { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.gallery a { display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery a:hover img { opacity: .9; }
.gallery-placeholder { display: grid; place-items: center; border: 2px dashed #C3D6B3; }
.gallery-placeholder span { color: var(--muted); font-weight: 600; }
.gallery:not(.is-expanded) .is-extra { display: none; }
.no-js .gallery .is-extra { display: block; }
.gallery-toggle { text-align: center; margin-top: 32px; }
.no-js .gallery-toggle { display: none; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  margin: 0; padding: 0; border: 0; background: rgba(0, 25, 17, .94);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 25, 17, .94); }
.lightbox figure { margin: 0; max-width: calc(100vw - 140px); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 100px); margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: var(--white); margin-top: 10px; font-size: .95rem; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: var(--white);
  border: 0; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--lime); color: var(--green); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -26px; }
.lb-next { right: 16px; top: 50%; margin-top: -26px; }

/* ---------- Service areas ---------- */
.areas-inner { max-width: 760px; text-align: center; }
.areas-inner p { color: rgba(255,255,255,.88); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.85); padding-top: 56px; font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 90px; flex: none; background: var(--white); border-radius: 10px; padding: 6px; }
.footer-brand p { margin: 0 0 4px; }
.footer-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--white); text-transform: uppercase; }
.footer-slogan { color: var(--lime); font-weight: 600; }
.footer-heading { font-size: 1rem; color: var(--lime); letter-spacing: .08em; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }

.privacy { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; }
.privacy summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--white); }
.privacy-body { max-width: 760px; padding-top: 12px; font-size: .95rem; }
.privacy-updated { color: rgba(255,255,255,.6); font-size: .85rem; }
.privacy-body h3 { color: var(--lime); font-size: 1rem; margin: 1.2em 0 .3em; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: left; }
  .about-logo img { max-width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(0, 45, 30, .78) 0%, rgba(0, 45, 30, .7) 100%),
      url("images/hero-mobile.webp");
    background-position: center;
  }
  /* On phones/tablets show the quote form straight after the intro text */
  .hero-grid { display: flex; flex-direction: column; gap: 24px; }
  .hero-copy { display: contents; }
  .hero-copy > * { margin-bottom: 0; }
  .hero-copy .eyebrow { margin-bottom: -12px; }
  .quote-card { order: 1; width: 100%; }
  .direct-contact { order: 2; width: 100%; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .dc-value { font-size: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .services-grid, .gallery { grid-template-columns: 1fr; }
  .service-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lightbox img { max-height: calc(100vh - 170px); }
}
