/* Services — white band, 1fr 48% grid, no number column (spec §4). */
#services {
  padding: 160px 0;
  background: #fff;
  color: #102254;
}

#services .container {
  width: min(var(--container), calc(100% - 48px));
}

#services .sec-head {
  margin-bottom: 80px;
}

#services .lede {
  max-width: 640px;
  margin-top: 16px;
  color: #4a5370;
  font-size: 16px;
  line-height: 1.9;
}

#services .service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e3e7ef;
}

#services .service-row {
  display: grid;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid #e3e7ef;
}

#services .service-no-label {
  margin: 0;
  color: #21418b;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

#services .service-title {
  margin: 12px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #16224a;
}

#services .service-title-main {
  display: block;
  text-wrap: pretty;
  word-break: auto-phrase;
}

#services .service-sub {
  display: block;
  margin-top: 8px;
  color: #21418b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

#services .service-overview {
  margin: 20px 0 0;
  color: #2b3552;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  text-wrap: pretty;
}

#services .service-bullets {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e3e7ef;
}

#services .service-bullets li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid #e3e7ef;
  color: #2b3552;
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
  overflow-wrap: normal;
  line-break: strict;
}

#services .service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 1px;
  background: #21418b;
}

#services .service-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: #0b1940;
}

#services .service-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  #services .service-row {
    grid-template-columns: 1fr 48%;
    gap: 80px;
    align-items: start;
    padding: 80px 0;
  }

  #services .service-body {
    min-width: 0;
  }

  #services .service-title {
    font-size: 32px;
  }

  #services .service-overview {
    font-size: 16px;
  }

}

@media (max-width: 767px) {
  #services .service-title {
    font-size: clamp(14px, 4.2vw, 19px);
  }
}

@media (max-width: 1023px) {
  #services {
    padding: 96px 0;
  }

  #services .sec-head {
    margin-bottom: 48px;
  }

  #services .service-row {
    grid-template-columns: 1fr;
  }

  #services .service-figure {
    order: 2;
  }

  #services .service-body {
    order: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) #services .service-figure {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.2, 1);
  }

  html:not(.no-js) #services .service-row.is-motion-in .service-figure {
    clip-path: inset(0 0 0 0);
  }

  html:not(.no-js) #services .service-body {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.5s ease 0.15s,
      transform 0.5s ease 0.15s;
  }

  html:not(.no-js) #services .service-row.is-motion-in .service-body {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #services .service-figure {
    clip-path: none;
  }

  #services .service-body {
    opacity: 1;
    transform: none;
  }
}
