/* ==========================================================================
   Artificial Grass Orangeville — "Countryside Rustic"
   Warm wheat/cream paper background, deep green + warm brown palette,
   Merriweather serif headings, Karla sans body, stamp badges,
   rough-edged photo frames. One file, no build step.
   ========================================================================== */

:root {
  --paper: #f6efe0;          /* warm wheat/cream */
  --paper-deep: #efe5cf;     /* darker wheat band */
  --ink: #2e2a22;            /* warm near-black text */
  --green: #2f4f2f;          /* deep countryside green */
  --green-dark: #243d24;
  --green-soft: #4c6b45;
  --brown: #7c5a3a;          /* warm saddle brown */
  --brown-dark: #5d4329;
  --gold: #b98a2f;           /* harvest gold accent */
  --cream: #fdf9ef;          /* card cream */
  --line: #d8cbab;           /* faded pencil line */
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper-grain texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--green);
  line-height: 1.25;
  margin-bottom: 0.6em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.18rem; }

p { margin-bottom: 1em; }
ul, ol { padding-left: 1.4em; margin-bottom: 1em; }

a { color: var(--brown-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green); }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: #fff; padding: 0.6em 1em; z-index: 200;
}
.skip-link:focus { left: 0; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.8em 1.6em;
  border-radius: 6px;
  border: 2px solid var(--green-dark);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  box-shadow: 3px 3px 0 var(--green-dark);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--green-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-brown { background: var(--brown); color: #fff; border-color: var(--brown-dark); box-shadow: 3px 3px 0 var(--brown-dark); }
.btn-brown:hover { background: var(--brown-dark); color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--cream);
  border-bottom: 3px double var(--line);
  position: relative;
  z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand { text-decoration: none; }
.brand .brand-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--green);
  display: block;
}
.brand .brand-tag {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
}
.main-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  font-weight: 700; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.main-nav a:hover { color: var(--green); border-bottom-color: var(--gold); }
.header-phone, .header-cta { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Dropdown sub-nav
   -------------------------------------------------------------------------- */
.main-nav .has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  color: var(--ink); background: none; border: none; cursor: pointer;
  padding: 0; border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.sub-toggle:hover, .has-sub:hover > .sub-toggle, .has-sub:focus-within > .sub-toggle {
  color: var(--green); border-bottom-color: var(--gold);
}
.sub-toggle .caret {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform 0.2s ease;
}
.has-sub:hover > .sub-toggle .caret, .sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
/* higher specificity than ".main-nav ul { display:flex }" so the panel stacks vertically */
.main-nav .sub-menu {
  display: block; flex-direction: column;
  position: absolute; top: calc(100% + 0.7rem); left: 0; min-width: 230px; z-index: 200;
  list-style: none; margin: 0; padding: 0.4rem;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 4px 12px 5px 11px / 11px 4px 12px 5px;
  box-shadow: 4px 5px 0 rgba(93, 67, 41, 0.25);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.main-nav .sub-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 0.7rem; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .sub-menu li { padding: 0; }
.main-nav .sub-menu a {
  display: block; padding: 0.55rem 0.7rem; white-space: nowrap;
  border-bottom: none; border-radius: 3px;
  color: var(--ink); font-weight: 700;
}
.main-nav .sub-menu a:hover { background: var(--paper-deep); color: var(--green); }
.main-nav .sub-menu a[aria-current="page"] { color: var(--green); }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--green); border-radius: 6px;
  color: var(--green); font-weight: 700; font-family: var(--sans);
  padding: 0.4em 0.8em; cursor: pointer; font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 3rem 0 3.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: start;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brown); border: 1px solid var(--brown);
  padding: 0.3em 0.9em; border-radius: 999px; margin-bottom: 1rem;
  background: var(--cream);
}
.hero p.lead { font-size: 1.15rem; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.4rem 0 1.8rem; }

/* Stamp-style trust badges */
.stamps { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.stamp {
  width: 108px; height: 108px; flex: 0 0 auto;
}

/* Rough-edged photo frames */
.rough-frame {
  background: var(--cream);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px 14px 6px 12px / 12px 5px 13px 6px;
  box-shadow: 4px 5px 0 rgba(93, 67, 41, 0.25);
  transform: rotate(-1deg);
}
.rough-frame img { border-radius: 2px 10px 4px 9px / 9px 3px 10px 4px; }
.rough-frame.tilt-right { transform: rotate(1.2deg); }
.rough-frame figcaption {
  font-size: 0.85rem; text-align: center; padding-top: 0.5rem;
  color: var(--brown-dark); font-style: italic;
}
.hero-photo { margin-top: 2.5rem; }

/* --------------------------------------------------------------------------
   Quote form card
   -------------------------------------------------------------------------- */
.quote-card {
  background: var(--cream);
  border: 2px solid var(--green);
  border-radius: 8px;
  box-shadow: 5px 6px 0 rgba(47, 79, 47, 0.28);
  padding: 1.6rem 1.5rem;
}
.quote-card h2 {
  font-size: 1.45rem; text-align: center; margin-bottom: 0.2em;
}
.quote-card .form-note {
  text-align: center; font-size: 0.92rem; color: var(--brown-dark); margin-bottom: 1.1rem;
}
.field { margin-bottom: 0.9rem; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.25rem; }
.field .req { color: var(--brown); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.6em 0.7em;
  background: #fff;
  border: 1px solid var(--brown);
  border-radius: 4px;
}
.field input::placeholder, .field textarea::placeholder { color: #9b8f78; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.quote-card .btn { width: 100%; text-align: center; font-size: 1.05rem; }
.hp-field { position: absolute !important; left: -5000px !important; top: -5000px !important; height: 1px; width: 1px; overflow: hidden; }
.form-confirmation {
  background: var(--paper-deep);
  border: 2px dashed var(--green);
  border-radius: 6px;
  padding: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
}
.form-error { color: #8a2f1d; font-weight: 700; font-size: 0.95rem; margin-top: 0.6rem; text-align: center; }
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
section { padding: 3.5rem 0; }
.section-deep { background: var(--paper-deep); border-top: 3px double var(--line); border-bottom: 3px double var(--line); }
.section-intro { max-width: 42em; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* Products */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem;
  list-style: none; padding: 0;
}
.product-grid li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px 10px 4px 9px / 9px 4px 10px 3px;
  box-shadow: 3px 3px 0 rgba(124, 90, 58, 0.18);
  padding: 1.1rem 0.8rem;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
}
.product-grid li::before { content: "✦"; display: block; color: var(--gold); margin-bottom: 0.3rem; }

/* Benefits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 0.55rem 0 0.55rem 2.1rem;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-weight: 700;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0.3rem;
  color: var(--gold); font-weight: 900;
}

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brown);
  border-radius: 4px;
  padding: 1.4rem 1.3rem;
  box-shadow: 3px 4px 0 rgba(46, 42, 34, 0.12);
}
.service-card h3 { color: var(--brown-dark); }
.service-card p { margin-bottom: 0; font-size: 0.98rem; }

/* Locations */
.location-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; list-style: none; padding: 0; margin: 1.6rem 0 1rem; }
.location-tags li {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 0.45em 1.2em;
  border-radius: 999px;
  border: 2px solid var(--green-dark);
  box-shadow: 2px 2px 0 var(--green-dark);
}
.location-note { font-style: italic; color: var(--brown-dark); }

/* Process */
.process-list { list-style: none; padding: 0; counter-reset: step; margin-top: 2rem; display: grid; gap: 1.1rem; }
.process-list li {
  counter-increment: step;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.2rem 1.3rem 1.2rem 4.4rem;
  position: relative;
  box-shadow: 3px 3px 0 rgba(124, 90, 58, 0.15);
}
.process-list li::before {
  content: counter(step);
  position: absolute; left: 1.1rem; top: 1.15rem;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  background: var(--brown);
  color: #fff;
  font-family: var(--serif); font-weight: 900;
  border-radius: 50%;
  border: 2px dashed var(--cream);
  outline: 2px solid var(--brown);
}
.process-list h3 { margin-bottom: 0.25em; }
.process-list p { margin-bottom: 0; }

/* FAQ */
.faq-list { max-width: 50em; margin: 2rem auto 0; }
.faq-list details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 0.8rem;
  box-shadow: 2px 3px 0 rgba(46, 42, 34, 0.1);
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--green-dark);
  padding: 1rem 1.2rem;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--brown); font-family: var(--sans);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 1.2rem 1.1rem; margin: 0; }

/* About */
.about-photos { display: grid; gap: 1.8rem; }

/* Bottom CTA */
.cta-banner {
  background: var(--green);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #e9e2cf; max-width: 36em; margin: 0 auto 1.5rem; }
.cta-banner .btn-brown { box-shadow: 3px 3px 0 rgba(0,0,0,0.35); }
.cta-banner .cta-phone { color: #fff; font-weight: 700; font-size: 1.2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--green-dark);
  color: #ddd6c2;
  padding: 3rem 0 1.5rem;
  font-size: 0.97rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h2 {
  color: var(--gold);
  font-size: 0.85rem;
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.18rem 0; }
.site-footer a { color: #f0ead7; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { font-family: var(--serif); font-weight: 900; font-size: 1.15rem; color: #fff; display: block; margin-bottom: 0.6rem; }
.footer-bottom {
  border-top: 1px dashed rgba(240, 234, 215, 0.3);
  margin-top: 2.2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.88rem;
}
.footer-bottom ul { display: flex; gap: 1.2rem; }

/* --------------------------------------------------------------------------
   Mobile sticky call bar
   -------------------------------------------------------------------------- */
.call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--brown-dark);
  border-top: 3px solid var(--gold);
}
.call-bar a {
  display: block; text-align: center; color: #fff; font-weight: 700;
  padding: 0.85rem; text-decoration: none; font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Privacy / inner pages
   -------------------------------------------------------------------------- */
.page-head { padding: 2.6rem 0 0.5rem; }
.breadcrumbs { font-size: 0.88rem; margin-bottom: 0.8rem; color: var(--brown-dark); }
.page-body { padding-bottom: 3.5rem; max-width: 46em; }
.page-body h2 { margin-top: 1.6em; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .split, .card-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { padding-bottom: 3.4rem; } /* room for call bar */
  .call-bar { display: block; }
  .hero { padding-top: 2rem; }
  .hero-grid, .split, .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .header-phone, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; align-items: stretch; padding: 0.5rem 0; }
  .main-nav a { display: block; padding: 0.7rem 0.2rem; border-bottom: 1px dashed var(--line); }
  .header-inner { flex-wrap: wrap; }
  .split-photo { order: -1; }
  /* mobile accordion sub-nav */
  .main-nav .has-sub { position: static; }
  .sub-toggle {
    width: 100%; justify-content: space-between;
    padding: 0.7rem 0.2rem; border-bottom: 1px dashed var(--line);
  }
  .main-nav .sub-menu {
    position: static; min-width: 0; opacity: 1; visibility: hidden; transform: none;
    background: transparent; border: none; box-shadow: none; border-radius: 0;
    padding: 0 0 0 0.9rem; margin: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease, visibility 0.25s ease;
  }
  .main-nav .sub-menu::before { content: none; }
  .sub-toggle[aria-expanded="true"] + .sub-menu { visibility: visible; max-height: 400px; }
  .main-nav .sub-menu a { padding: 0.6rem 0.2rem; }
}
