/* ============================================================
   SASKSCAPE LAWN & YARD — MAIN STYLESHEET
   Prairie Peak Digital build.
   Colours:
     Deep Forest Green  #1E3D2F  (primary)
     Prairie Cream      #F5F1E6  (secondary background)
     Fresh Grass Green  #5C9E52  (accent)
     Harvest Gold       #D9A036  (CTA buttons only)
     Charcoal           #22271F  (body text)
   Fonts: Archivo (headings), Inter (body)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  --green-deep: #1E3D2F;
  --green-deeper: #162E23;
  --cream: #F5F1E6;
  --grass: #5C9E52;
  --gold: #D9A036;
  --gold-dark: #B8842A;
  --charcoal: #22271F;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(30, 61, 47, 0.12);
  --transition: 250ms ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--green-deep);
}

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

a { color: var(--grass); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-deep); }

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

.container { width: min(1140px, 92%); margin: 0 auto; }

section { padding: 72px 0; }

/* Section heading style: bold with short grass underline */
.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 16px;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 5px;
  background: var(--grass);
  border-radius: 3px;
}
.section-heading.centered { text-align: center; }
.section-heading.centered::after { left: 50%; transform: translateX(-50%); }

.section-sub {
  font-size: 1.125rem;
  color: #4a5245;
  max-width: 720px;
  margin-bottom: 40px;
}
.section-sub.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), color var(--transition),
              border-color var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: #1d1608;
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 160, 54, 0.4);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--green-deep);
  transform: translateY(-2px);
}
.btn-outline-green {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-outline-green:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- HEADER (sticky, with phone) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(30, 61, 47, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 54px; height: 54px; border-radius: 50%; }
.brand-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--green-deep);
  line-height: 1.1;
}
.brand-name span { display: block; font-size: 0.72rem; font-weight: 600; color: var(--grass); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--green-deep);
  border-bottom-color: var(--grass);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: var(--white) !important;
  background: var(--green-deep);
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.header-phone:hover {
  background: var(--grass);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.header-phone svg { width: 17px; height: 17px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green-deep);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO (full-bleed background image) ---------- */
/* The hero section uses inline critical CSS in index.html for above-the-fold speed.
   These rules handle the shared tagline pill used on the hero. */
.hero-tagline {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(217, 160, 54, 0.5);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--green-deep);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  max-width: 820px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 700px;
}

/* ---------- TRUST BAR ---------- */
.trust-bar { background: var(--cream); padding: 34px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--green-deep);
}
.trust-item svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ---------- SERVICE CARDS ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e5e1d3;
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: 0 2px 8px rgba(30, 61, 47, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card svg { width: 44px; height: 44px; margin-bottom: 18px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: #4a5245; font-size: 1rem; margin-bottom: 16px; }
.service-card .card-link { font-weight: 700; font-size: 0.95rem; }
.bg-cream { background: var(--cream); }

/* ---------- BEFORE / AFTER ---------- */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ba-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(30,61,47,0.14); }
.ba-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.ba-frame.landscape img { aspect-ratio: 4 / 3; }
.ba-label {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(34, 39, 31, 0.85);
}
.ba-label.after { background: var(--grass); }
.ba-caption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--green-deep);
  font-size: 1rem;
}
.ba-story { font-weight: 400; color: #4a5245; font-size: 0.95rem; margin-top: 4px; }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ---------- WHY CHOOSE ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--grass);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.why-item p { color: #4a5245; font-size: 1rem; }

/* ---------- REVIEWS ---------- */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 2px 10px rgba(30, 61, 47, 0.08);
  border-top: 4px solid var(--gold);
}
.review-stars {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.review-card blockquote {
  font-size: 1.08rem;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--green-deep);
  font-size: 0.95rem;
}
.review-card cite span { display: block; font-weight: 400; color: #6b7263; font-size: 0.85rem; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--green-deep);
  margin-top: 30px;
}

/* ---------- PROCESS STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid #e5e1d3;
  position: relative;
}
.step-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--grass);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: #4a5245; }

/* ---------- SERVICE TILES (visual redesign) ---------- */
.service-group { margin-bottom: 64px; }
.service-group-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding: 28px 32px;
  background: var(--green-deep);
  border-radius: var(--radius);
  color: var(--white);
}
.service-group-header svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  opacity: 0.9;
}
.service-group-header h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 4px;
}
.service-group-header p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin: 0;
}
.service-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-tile {
  background: var(--white);
  border: 1px solid #e5e1d3;
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--grass);
}
.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.service-tile h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--green-deep);
}
.service-tile .who {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grass);
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-tile p { color: #4a5245; font-size: 0.95rem; line-height: 1.6; }
.group-intro { color: #4a5245; margin-bottom: 28px; max-width: 720px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; }
.faq-item {
  border: 1px solid #e5e1d3;
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-deep);
  padding: 20px 56px 20px 24px;
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition);
}
.faq-q:hover { background: var(--cream); }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--grass);
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.faq-a p { padding: 0 24px 20px; color: #4a5245; }

/* ---------- GALLERY PAGE ---------- */
.gallery-section { margin-bottom: 56px; }
.solo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solo-item img { border-radius: var(--radius); box-shadow: 0 4px 14px rgba(30,61,47,0.14); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.solo-item figcaption { margin-top: 10px; font-weight: 600; color: var(--green-deep); font-size: 0.95rem; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-copy p { margin-bottom: 18px; }
.about-photos { display: grid; gap: 20px; }
.about-photos img { border-radius: var(--radius); box-shadow: 0 4px 14px rgba(30,61,47,0.14); }
.photo-placeholder {
  border: 2px dashed var(--grass);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 48px 24px;
  text-align: center;
  font-weight: 600;
  color: var(--green-deep);
}
.promise-band {
  background: var(--cream);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-top: 40px;
}
.promise-band h2 { font-size: 1.5rem; margin-bottom: 8px; }

/* ---------- CONTACT / FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.contact-line svg { width: 24px; height: 24px; flex-shrink: 0; }
.contact-line a { font-weight: 700; color: var(--green-deep); }
.contact-line a:hover { color: var(--grass); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}
.contact-form h2, .contact-form h3 { margin-bottom: 6px; }
.form-note { color: #4a5245; font-size: 0.95rem; margin-bottom: 24px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green-deep);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #d5d0bf;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: #fdfcf9;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--grass);
}
.contact-form .btn { width: 100%; }
.hidden-field { display: none; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--green-deep);
  color: var(--white);
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin-bottom: 14px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 620px;
  margin: 0 auto 30px;
}
.cta-band .hero-ctas { justify-content: center; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #16281f;
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 28px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand strong { color: var(--white); font-family: 'Archivo', sans-serif; }
.footer-tagline { color: var(--gold); font-style: italic; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- STICKY MOBILE CALL BUTTON ---------- */
.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--gold);
  color: #1d1608;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  padding: 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
  transition: background-color var(--transition);
}
.mobile-call-btn:hover { background: var(--gold-dark); color: var(--white); }

/* ---------- 404 / THANK YOU ---------- */
.status-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.status-page .container { max-width: 640px; }
.status-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.status-page p { margin-bottom: 28px; color: #4a5245; font-size: 1.1rem; }

/* ---------- REVEAL ANIMATION (transform/opacity only) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — MOBILE FIRST ADJUSTMENTS
   ============================================================ */
@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .solo-grid { grid-template-columns: 1fr; }
  .service-tile-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(30, 61, 47, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
  }
  .nav-open .main-nav { max-height: 480px; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
  }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: block;
    padding: 14px 24px;
    border-bottom: none;
    font-size: 1.05rem;
  }
  .header-phone span.phone-text { display: none; }
  .header-phone { padding: 11px 14px; }

  .mobile-call-btn { display: block; }
  body { padding-bottom: 58px; } /* room for sticky call button */
}

@media (max-width: 560px) {
  section { padding: 52px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps-grid { grid-template-columns: 1fr; }
  .ba-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .service-tile-grid { grid-template-columns: 1fr; }
  .service-group-header { flex-direction: column; text-align: center; gap: 12px; }
}
