.p-services-menu {
  --background: #fff;
  position: relative;
  z-index: 1;
}
.p-services-menu__list {
  --row-gap: 1.85em;
  margin-top: 50px;
}

.p-services-main {
  display: grid;
  gap: 160px;
}
@media screen and (max-width: 750px) {
  .p-services-main {
    gap: 80px;
  }
}

.p-services-item__content {
  container-type: inline-size;
}
.p-services-item__heading {
  --icon-size: 1.85em;
  --badge-size: 3.75;
  --badge-font-size: 2.4rem;
  --border-color: #a8dde1;
  --border-width: 4px;
  --border-length: 12px;
  --border-gap: 10px;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 2.5em;
  padding-bottom: 0.35em;
  margin-bottom: 0.9em;
  font-family: var(--font-family-kiwi);
  font-size: 3.6rem;
  line-height: 1.2;
}
.p-services-item__heading::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--border-width);
  content: "";
  background-image: linear-gradient(to right, var(--border-color), var(--border-color) var(--border-length), transparent var(--border-length));
  background-repeat: repeat-x;
  background-size: calc(var(--border-length) + var(--border-gap)) 100%;
}
:where([data-theme=forest]) .p-services-item__heading {
  --border-color: #c9e1a8;
}

@container (max-width: 500px) {
  .p-services-item__heading {
    font-size: 3rem;
  }
}
@container (max-width: 520px) {
  .p-services-item__heading {
    --badge-font-size: 1.8rem;
    --border-length: 10px;
    --border-gap: 8px;
  }
}
@container (max-width: 425px) {
  .p-services-item__heading {
    --badge-font-size: 1.5rem;
    --badge-size: 3.6;
    --border-width: 3px;
    --border-length: 8px;
    --border-gap: 6px;
    --icon-size: 2em;
    font-size: 2.5rem;
  }
}
.p-services-item__heading__icon {
  width: var(--icon-size);
  height: var(--icon-size);
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 0.5em;
}
.p-services-item__heading__text {
  flex: 1;
}
.p-services-item__heading__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--badge-font-size) * var(--badge-size));
  height: calc(var(--badge-font-size) * var(--badge-size));
  margin-top: -0.5em;
  margin-left: 0.1em;
  font-size: var(--badge-font-size);
  line-height: 1.2;
  border-radius: 50%;
}
.p-services-item__heading__badge + .p-services-item__heading__badge {
  margin-left: 0.2em;
}
.p-services-item__summery {
  margin-bottom: 1em;
  font-family: var(--font-family-kiwi);
}
.p-services-item__note {
  margin-top: 1.5em;
  line-height: 1.7;
}
.p-services-item__note > li::before {
  font-size: 1.15em;
  line-height: 1.5;
  color: #52bbf7;
}
:where([data-theme=forest]) .p-services-item__note > li::before {
  color: #6ca223;
}

.p-services-item__more {
  margin-top: 2em;
  margin-left: auto;
}

.p-services-column {
  margin-top: 80px;
}
.p-services-column__heading {
  margin-bottom: 1em;
  text-align: center;
}

.p-services-alliance {
  --stripe-width: 18px;
  --color1: #e2f4f6;
  --color2: #eef9f9;
  padding: 80px 0 160px;
  margin-top: 80px;
  background-image: repeating-linear-gradient(135deg, var(--color1), var(--color1) var(--stripe-width), var(--color2) var(--stripe-width), var(--color2) calc(var(--stripe-width) * 1.7));
}
@media screen and (max-width: 750px) {
  .p-services-alliance {
    padding-bottom: 80px;
    margin-top: 50px;
  }
}
:where([data-theme=forest]) .p-services-alliance {
  --color1: #eaf4dd;
  --color2: #f2f8e8;
}

.p-services-alliance__icon {
  display: block;
  width: 84px;
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;
}
.p-services-alliance__heading {
  margin-bottom: 1em;
  color: #75c248;
  text-align: center;
}
.p-services-alliance__heading > span {
  display: inline-block;
}
.p-services-alliance__intro {
  text-align: center;
}
.p-services-alliance__intro > span {
  display: inline-block;
}
.p-services-alliance__list {
  margin-top: 4em;
}
.p-services-alliance__item {
  max-width: 90%;
}
.p-services-alliance__link {
  display: block;
  overflow: hidden;
  border: 1px solid;
  border-radius: 12px;
}