/* ==========================================================================
   Services page - Rolling Hills Landscapes
   Loaded only by services.php (moved out of the inline <style> block).
   Everything is scoped under .services-page.
   ========================================================================== */

.services-page,
.services-page * {  }

.services-page {
  width: 100%;
}

.services-page .wrap {

}

.services-page .hero {
  padding: 0 0 14px;
}

.services-page .hero-body {

}

.services-page .hero-lede p {
  margin-bottom: 16px;
}

/* trust cards */
.services-page .trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 2px 0 0;
}

.services-page .trust-card {
  background: #fff;
  border: 1px solid #e8e0cc;
  border-top: 4px solid #bc6c25;
  border-radius: 3px;
  padding: 14px 16px 14px;
}

.services-page .trust-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}

.services-page .trust-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f6ebd7;
  color: #bc6c25;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-page .trust-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-page .trust-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  color: #513428;
  margin: 0;
}

.services-page .trust-card p {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.services-page .category {
  padding-top: 28px;
}

.services-page .category-head {
  margin-bottom: 12px;
}

.services-page .category-head h2,
.services-page .service-copy h3 {
  margin-bottom: 10px;
}

.services-page .service {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid #ddd;
}

.services-page .service-media img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 200px;
  object-fit: cover;
}

.services-page .service-copy p {
  margin: 0 0 14px;
}

/* every second service: photo on the right */
.services-page .service:nth-child(odd) {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.services-page .service:nth-child(odd) .service-media {
  order: 2;
}

.services-page .service-link {
  display: inline-block;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: #bc6c25;
}

.services-page .service-link:hover {
  color: #8f4f16;
}

/* closing photo banner */
.services-page .banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 44px 0 10px;
  padding: 38px 40px 36px;
  text-align: center;
  color: #fff;
  border-top: 4px solid #bc6c25;
  border-radius: 3px;
}

.services-page .banner::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  z-index: -2;
  background: #273617 url(images/slider/slide3.webp) center center / cover no-repeat;
  filter: blur(2px);
}

.services-page .banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: rgba(39,54,23,.72);
}

.services-page .banner h2 {
  font-size: 28px;
  line-height: 36px;
  color: #fff;
  margin: 0 0 8px;
}

.services-page .banner p {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 17px;
  line-height: 26px;
  color: #eef1e6;
}

.services-page .banner-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* same square buttons as the rest of the site (.a_button), plus a white outline version */
.services-page .banner .a_button,
.services-page .banner .banner-ghost {
  display: inline-block;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  padding: 14px 28px;
  border: 2px solid #bc6c25;
}

.services-page .banner .banner-ghost {
  color: #fff;
  background: transparent;
  border-color: #fff;
  transition: all 250ms ease-in;
  -webkit-transition: all 250ms ease-in;
}

.services-page .banner .banner-ghost:hover {
  background: #fff;
  color: #513428;
  text-decoration: none;
}

/* phone template only (the desktop template is a fixed-width page) */
@media (max-width: 700px) {
  body:not(.body_wrapper) .services-page .trust {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  body:not(.body_wrapper) .services-page .service,
  body:not(.body_wrapper) .services-page .service:nth-child(odd) {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body:not(.body_wrapper) .services-page .service:nth-child(odd) .service-media {
    order: 0;
  }

  body:not(.body_wrapper) .services-page .service-media img {
    margin-left: auto;
    margin-right: auto;
  }

  body:not(.body_wrapper) .services-page .service-link {
    font-size: 18px;
  }

  body:not(.body_wrapper) .services-page .banner {
    padding: 28px 18px 26px;
  }

  body:not(.body_wrapper) .services-page .banner h2 {
    font-size: 24px;
    line-height: 30px;
  }

  body:not(.body_wrapper) .services-page .banner p {
    font-size: 16px;
    line-height: 24px;
  }

  body:not(.body_wrapper) .services-page .banner .a_button,
  body:not(.body_wrapper) .services-page .banner .banner-ghost {
    display: block;
    width: 100%;
  }
}
