/* ===== Page banner ===== */
.page-banner {
  position: relative;
  min-height: 380px;
  padding: 150px 24px 90px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  font-family: var(--font-body);
  background: #07162b; /* shows while the image loads */
}
.page-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* same black overlay as the home hero */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .75);
}
/* navy + green overlay */

.page-banner__inner { position: relative; z-index: 2; }
.page-banner__title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 45px);
  font-weight: 400;
  line-height: 1.1;
}
.page-banner__crumbs {
  display: inline-flex;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
}
.page-banner__crumbs a { color: #fff; text-decoration: none; }
.page-banner__crumbs a:hover { color: var(--brand); }
.page-banner__crumbs span:last-child { color: #4ade80; }

/* ===== Services page ===== */

/* anchors from the mega menu land below the sticky header */
.svc-block { scroll-margin-top: 120px; }

.svc-block {
  padding: 90px 24px;
  background: #fff;
}
.svc-block--alt { background: #e6ece8; }

.svc-block__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* alternate sides: image left on even blocks */
.svc-block--alt .svc-block__content { order: 2; }
.svc-block--alt .svc-block__media   { order: 1; }

/* ----- text side ----- */
.svc-block__title {
  margin: 20px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000;
}
.svc-block__title-link {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.svc-block__title-link:hover {
  color: var(--brand);
}
.svc-block__cta {
  margin-top: 32px;
}

.svc-block__intro {
  max-width: 520px;
  margin-bottom: 34px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: #3d4a44;
}

/* list with dividers (like the reference) */
.svc-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 520px;
}

.svc-block__list li {
  position: relative;
  padding: 18px 28px 18px 0;
  border-bottom: 1px solid #d5ddd8;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
  color: #0a1220;
  transition: color .25s ease, padding-left .25s ease;
}
.svc-block__list li:first-child { border-top: 1px solid #d5ddd8; }

/* arrow that appears on hover */
.svc-block__list li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity .25s ease, transform .25s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b8c43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.svc-block__list li:hover {
  color: var(--brand);
  padding-left: 10px;
}
.svc-block__list li:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ----- image side ----- */
.svc-block__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border-radius: 24px;
  background: #dfe7e2;
}

.svc-block__media img,
.svc-block__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.svc-block__media:hover img,
.svc-block__media:hover .svc-block__video { transform: scale(1.04); }


.svc-block__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 25%, rgba(27, 140, 67, .28), transparent 55%),
    linear-gradient(135deg, #f0f6f2, #d5e4db);
}
.svc-block__placeholder span {
  font-family: var(--font-heading);
  font-size: clamp(90px, 14vw, 160px);
  font-weight: 500;
  line-height: 1;
  color: rgba(27, 140, 67, .35);
}

/* ----- responsive ----- */
@media (max-width: 900px) {
  .svc-block { padding: 64px 24px; }
  .svc-block__inner { grid-template-columns: 1fr; gap: 40px; }

  /* text first, image second on every block */
  .svc-block--alt .svc-block__content { order: 0; }
  .svc-block--alt .svc-block__media   { order: 0; }

  .svc-block__intro,
  .svc-block__list { max-width: none; }
}

@media (max-width: 520px) {
  .svc-block { padding: 52px 20px; }
  .svc-block__list li { font-size: 17px; padding: 15px 26px 15px 0; }
}