/* =============================================
   EAA SERVICES PAGE — services.css
   Doc: max-width 1400px, padding 80px sides
   Section padding 100px desktop / 80px tablet / 50px mobile
   H1 56px w700, H2 40px lh1.3 w600, Body Regular 16px lh1.7
   Primary button: height 60px, no radius, bg #1E5631
   ============================================= */

/* Active nav link */
.nav-link-active {
  color: var(--green-mid) !important;
}
.nav-link-active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--green-mid);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   HERO — full-width wildlife image
   Doc: hero bg image with dark overlay
───────────────────────────────────────── */
.services-hero {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.services-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ─────────────────────────────────────────
   SERVICES INTRO
   Doc: centered, section padding 100px,
   H1 uppercase, heading-to-para 16px,
   paragraph-to-element 24px → 32px for btn
───────────────────────────────────────── */
.services-intro {
  background: var(--off-white);
  padding: 80px 0 70px;
  text-align: center;
}

/* Doc: H1 56px w700 — matches Figma allcaps large */
.services-intro h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.1;
}

/* Doc: heading to paragraph 16px */
.services-intro-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.35;
}

/* Doc: Body Regular 16px lh1.7 */
.services-intro-body {
  max-width: 680px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.services-intro-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0;
}

/* Doc: Primary button height 60px, no radius */
.services-intro-btn {
  height: 60px;
  padding: 0 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
}

/* ─────────────────────────────────────────
   SERVICES LISTING
   2-column layout matching Figma exactly:
   Left col: stacked service entries
   Right col: top image block + bottom service text block
   Doc: section padding 100px
───────────────────────────────────────── */
.services-listing {
  background: var(--off-white);
  padding: 0 0 100px;
}

/* Outer 2-col grid */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── LEFT COLUMN ── */
.services-col-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual service entry */
.service-entry {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.service-entry:first-child { padding-top: 0; }
.service-entry:last-child { border-bottom: none; }

/* Doc: H2 40px lh1.3 w600 — Figma shows ~28–32px */
.service-entry h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  /* Doc: heading to paragraph 16px */
  margin-bottom: 16px;
}

/* Doc: Body Regular 16px lh1.7 */
.service-entry p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  /* Doc: paragraph to element 24px */
  margin-bottom: 24px;
}

/* Explore button — outlined style, no fill, border */
.btn-service-explore {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--green-dark);
  background: transparent;
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
  /* Doc: no radius */
  border-radius: 0;
}
.btn-service-explore:hover {
  background: var(--green-dark);
  color: #fff;
}
.btn-service-explore:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 2px;
}

/* ── RIGHT COLUMN ── */
.services-col-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Slightly sticky to stay alongside left content */
  position: sticky;
  top: 140px;
}

/* Top: large bee image */
.service-right-img-block {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}
.service-right-img-block img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bottom: Environmental Compliance text block */
.service-right-text-block {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--border);
}

.service-right-text-block h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.service-right-text-block p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ─────────────────────────────────────────
   CTA OVERRIDE — services-specific heading
───────────────────────────────────────── */
.services-cta .cta-left h2 {
  font-size: 32px;
}

/* ─────────────────────────────────────────
   RESPONSIVE
   Doc: tablet 768–991px pad 80px,
   mobile 320–767px pad 50px, buttons full-width
───────────────────────────────────────── */

/* Doc: laptop 992–1199px */
@media (max-width: 1199px) {
  .services-layout { gap: 40px; }
  .service-entry h2,
  .service-right-text-block h2 { font-size: 22px; }
}

/* Doc: tablet 80px section padding */
@media (max-width: 991px) {
  .services-intro { padding: 60px 0; }
  .services-listing { padding-bottom: 80px; }

  /* Stack to single column on tablet */
  .services-layout { grid-template-columns: 1fr; gap: 0; }

  /* Un-sticky right column */
  .services-col-right { position: static; }

  /* Image goes between EIA & Ecological Restoration on mobile */
  .services-col-right { order: -1; margin-bottom: 40px; }
  .service-right-img-block img { height: 300px; }

  .services-hero { height: 200px; }
}

/* Doc: mobile 50px section padding, buttons full width */
@media (max-width: 767px) {
  .services-intro { padding: 50px 0; }
  .services-intro h1 { font-size: 28px; }
  .services-intro-sub { font-size: 17px; }

  /* Doc: buttons full width on mobile */
  .services-intro-btn { width: 100%; justify-content: center; }

  .services-listing { padding-bottom: 50px; }
  .service-entry { padding: 28px 0; }
  .service-entry h2,
  .service-right-text-block h2 { font-size: 20px; }

  .btn-service-explore { white-space: normal; height: auto; padding: 12px 20px; line-height: 1.4; }

  .service-right-img-block img { height: 240px; }
}