.services-hero {
  position: relative;
  padding: 76px 0;
  background: url("../images/fabric-01.jpg") center / cover no-repeat;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: none;
  text-align: left;
}

.services-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #000000;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.services-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #000000;
  font-size: 1.15rem;
  line-height: 1.65;
}

.services-list {
  padding: 78px 0 84px;
  background: #ffffff;
}

.services-capabilities {
  column-count: 2;
  column-gap: clamp(64px, 9vw, 132px);
  max-width: 1120px;
  margin: 0;
  padding: 0;
  color: rgb(172, 0, 0);
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.65vw, 1.48rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.28;
  list-style: none;
}

.services-capabilities li {
  break-inside: avoid;
  margin: 0 0 1.35rem;
  overflow-wrap: break-word;
}

.services-capabilities a {
  display: inline;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  color: inherit;
  transition: color 160ms ease, border-color 160ms ease;
}

.services-capabilities a:hover,
.services-capabilities a:focus-visible {
  border-bottom-color: #000000;
  color: #000000;
}

.services-cta {
  padding: 72px 0;
  background: #172033;
}

.services-cta-inner {
  max-width: 760px;
  text-align: center;
}

.services-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1.15;
}

.services-cta p {
  margin: 18px auto 0;
  max-width: 660px;
  color: #dce3ee;
  font-size: 1.05rem;
  line-height: 1.65;
}

.services-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.services-cta .button-secondary {
  color: #ffffff;
  background: transparent;
  border-color: #ffffff;
}

.services-cta .button-secondary:hover,
.services-cta .button-secondary:focus {
  color: #ffffff;
  background: #b90036;
  border-color: #b90036;
}

@media (max-width: 900px) {
  .services-capabilities {
    column-gap: 48px;
    font-size: 1.08rem;
  }
}

@media (max-width: 699px) {
  .services-hero {
    padding: 42px 0;
  }

  .services-hero-content {
    padding-left: 20px;
  }

  .services-hero h1 {
    max-width: 10em;
    font-size: clamp(1.55rem, 7vw, 1.7rem);
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  .services-hero p {
    max-width: min(100%, 20rem);
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .services-list {
    padding: 44px 0 48px;
  }

  .services-capabilities {
    column-count: 1;
    padding-left: 20px;
    font-size: calc(1rem + 3px);
    line-height: 1.32;
  }

  .services-capabilities li {
    margin-bottom: 1rem;
  }

  .services-cta {
    padding: 42px 0;
  }

  .services-cta h2 {
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .services-cta p {
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .services-cta-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .services-cta-actions .button {
    width: 100%;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 0.92rem;
  }
}

@media (max-width: 479px) {
  .services-hero {
    padding: 36px 0;
  }

  .services-hero h1 {
    font-size: 1.55rem;
  }

  .services-hero p,
  .services-cta p {
    font-size: 0.84rem;
  }

  .services-capabilities {
    font-size: calc(0.95rem + 3px);
  }

  .services-cta {
    padding: 38px 0;
  }

  .services-cta h2 {
    font-size: 1.28rem;
  }
}
