/* Artificial Grass Oshawa — "Trades classic"
   Navy base + grass-green accent on white. Source Sans 3.
   One stylesheet, no build step. */

:root {
  --navy: #14304f;
  --navy-dark: #0d2239;
  --navy-ink: #1c2b3a;
  --green: #2e8b3a;
  --green-dark: #246e2e;
  --green-pale: #e8f4ea;
  --white: #ffffff;
  --off: #f4f6f8;
  --line: #d8dee5;
  --muted: #5a6a7a;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(13, 34, 57, 0.12);
  --font: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--green-dark); }

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.section { padding: 64px 0; }
.section--alt { background: var(--off); }
.section-intro { max-width: 720px; margin: 12px auto 0; text-align: center; color: var(--muted); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; font-size: 0.85rem; color: var(--green-dark); margin-bottom: 6px;
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font); font-weight: 700; font-size: 1.05rem;
  padding: 14px 28px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center; transition: background 0.15s, color 0.15s;
}
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

/* Top utility bar */
.topbar { background: var(--navy-dark); color: #fff; font-size: 0.95rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .areas { color: #b9c8d8; }
.topbar .container { justify-content: center; }
@media (max-width: 760px) { .topbar { display: none; } }

/* Header */
.site-header {
  background: var(--white); border-bottom: 3px solid var(--green);
  position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: 52px; }
.brand .brand-name { font-weight: 900; font-size: 1.15rem; line-height: 1.1; }
.brand .brand-name span { color: var(--green-dark); display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

.site-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-dark); }
.site-nav .btn { padding: 11px 20px; }

/* Dropdown sub-nav */
.site-nav .has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 7px;
  font: inherit; font-weight: 700; color: var(--navy);
  background: none; border: 0; cursor: pointer; padding: 0;
}
.sub-toggle:hover, .has-sub:hover > .sub-toggle, .has-sub:focus-within > .sub-toggle { color: var(--green-dark); }
.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); }
/* override .site-nav ul { display:flex } so the panel stacks vertically */
.site-nav .sub-menu {
  display: block;
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 224px; z-index: 200;
  list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green);
  border-radius: var(--radius); box-shadow: 0 12px 30px rgba(13, 34, 57, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.site-nav .sub-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.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);
}
.site-nav .sub-menu li { border: 0; }
.site-nav .sub-menu a {
  display: block; padding: 9px 12px; border-radius: var(--radius); white-space: nowrap;
  color: var(--navy); font-weight: 600;
}
.site-nav .sub-menu a:hover { background: var(--green-pale); color: var(--green-dark); }

.nav-toggle {
  display: none; background: var(--navy); color: #fff; border: 0; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; padding: 10px 14px; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 3px solid var(--green); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 10px; }
  .site-nav a { display: block; padding: 12px 0; }
  /* mobile accordion sub-nav */
  .site-nav .has-sub { position: static; }
  .sub-toggle { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 1.0625rem; }
  .site-nav .sub-menu {
    position: static; min-width: 0; opacity: 1; visibility: hidden; transform: none;
    background: var(--off); border: 0; border-radius: var(--radius);
    box-shadow: none; padding: 0 0 4px 14px; margin: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease, visibility 0.25s ease;
  }
  .site-nav .sub-menu::before { content: none; }
  .sub-toggle[aria-expanded="true"] + .sub-menu { visibility: visible; max-height: 480px; }
  .site-nav .sub-menu li { border-bottom: 0; }
  .site-nav .sub-menu a { padding: 10px 0; font-weight: 600; }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-artificial-turf-backyard.jpg") center / cover no-repeat;
  opacity: 0.28;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; align-items: center; }
.hero h1 { color: #fff; }
.hero .tagline { font-size: 1.2rem; margin: 18px 0 10px; max-width: 34em; color: #e8eef4; }
.hero .areas-line { font-weight: 700; color: #bfe3c6; margin-bottom: 24px; }
.hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
}

/* Quote form card */
.quote-card {
  background: var(--white); color: var(--navy-ink); border-radius: var(--radius);
  border-top: 6px solid var(--green); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  padding: 26px 24px;
}
.quote-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-card .form-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label, .form-field legend { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: var(--navy); }
.req { color: #b3261e; font-size: 0.85em; font-weight: 600; }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--navy-ink);
  padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); }
.form-field .sublabel { font-weight: 400; font-size: 0.85rem; color: var(--muted); margin: 3px 0 0; }
.form-field fieldset { border: 0; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addr-grid .full { grid-column: 1 / -1; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }
.form-submit { width: 100%; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.ok { color: var(--green-dark); background: var(--green-pale); border: 1px solid var(--green); border-radius: var(--radius); padding: 12px 14px; }
.form-status.err { color: #b3261e; }

/* Trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); }
.trust-item img { width: 64px; height: 64px; object-fit: contain; }
.trust-item .shield {
  width: 52px; height: 58px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  font-size: 1.5rem;
}
.trust-item small { display: block; font-weight: 600; color: var(--muted); }

/* Solutions tiles */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; display: flex; align-items: flex-end; min-height: 150px; overflow: hidden;
  background-color: var(--navy); background-size: cover; background-position: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  color: #fff;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13, 34, 57, 0.15) 0%, rgba(13, 34, 57, 0.5) 55%, rgba(13, 34, 57, 0.85) 100%);
  transition: background 0.18s ease;
}
.tile h3 { position: relative; z-index: 2; color: #fff; font-size: 1.15rem; }
.tile h3 > span { display: inline; }
@media (max-width: 760px) { .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tile-grid { grid-template-columns: 1fr; } }

/* CTA bar */
.cta-bar { background: var(--navy); color: #fff; }
.cta-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 34px; padding-bottom: 34px; }
.cta-bar p { font-size: 1.35rem; font-weight: 800; }
.cta-bar .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-bar a.phone-link { color: #fff; }

/* Projects gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img { height: 200px; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow);
}
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--muted); }
@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* Why choose */
.why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.why-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; margin-top: 18px; }
.checklist li { padding: 10px 0 10px 38px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✔"; position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.checklist strong { color: var(--navy); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; padding: 16px 18px; font-weight: 800; color: var(--navy); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-dark); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding: 48px 0; }
.page-hero h1 { color: #fff; }
.page-hero .breadcrumbs { margin-bottom: 10px; font-size: 0.95rem; }
.page-hero .breadcrumbs a { color: #bfe3c6; text-decoration: none; }
.page-hero .breadcrumbs a:hover { text-decoration: underline; }
.page-hero .breadcrumbs span[aria-current] { color: #e8eef4; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green);
  border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow);
}
.contact-card .big { font-size: 1.4rem; font-weight: 800; }
.contact-card .big a { color: var(--navy); text-decoration: none; }
.contact-card .big a:hover { color: var(--green-dark); }
.contact-card p { color: var(--muted); }
@media (max-width: 680px) { .contact-cards { grid-template-columns: 1fr; } }

/* Prose (about / privacy) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c5d2df; }
.site-footer .container { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 36px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.site-footer a { color: #c5d2df; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer .f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .f-brand img { width: 46px; height: 46px; }
.site-footer .f-brand strong { color: #fff; font-size: 1.1rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; font-size: 0.92rem; }
@media (max-width: 820px) { .site-footer .container { grid-template-columns: 1fr; gap: 28px; } }

/* Mobile sticky call bar */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 110;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
  }
  .mobile-cta a { text-align: center; padding: 15px 8px; min-height: 48px; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
  .mobile-cta .quote { background: var(--green); color: #fff; }
  body { padding-bottom: 54px; }
}
