.service-page-lead {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.ecosystem {
  background: #f4f4f4;
}

.ecosystem__hero {
  display: grid;
  gap: 34px;
  align-items: center;
  margin-bottom: 34px;
}

.ecosystem__eyebrow {
  margin: 0 0 12px;
  color: #48b47c;
  font-weight: 500;
  text-transform: uppercase;
}

.ecosystem__lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #3d3d58;
  font-size: 20px;
  line-height: 1.52;
}

.ecosystem__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 700px;
  margin-top: 28px;
}

.ecosystem__stats div {
  padding: 18px;
  background: #fff;
  border-left: 4px solid #48b47c;
}

.ecosystem__stats strong {
  display: block;
  color: #030268;
  font-size: 34px;
  line-height: 1;
}

.ecosystem__stats span {
  display: block;
  margin-top: 8px;
  color: #3d3d58;
}

.ecosystem__media img,
.ecosystem-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ecosystem__media picture,
.ecosystem-card--image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ecosystem__media {
  overflow: hidden;
  min-height: 320px;
}

.ecosystem__grid {
  display: grid;
  gap: 22px;
  margin-bottom: 22px;
}

.ecosystem-card {
  min-width: 0;
  padding: 26px;
  background: #fff;
}

.ecosystem-card--image {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.ecosystem-card h3,
.ecosystem-roles h3,
.ecosystem-result h3 {
  margin: 0 0 18px;
  color: #030268;
  font-size: 26px;
  line-height: 1.15;
}

.ecosystem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecosystem-tags span {
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid #dfe5ee;
  color: #161624;
  background: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ecosystem-roles {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.ecosystem-roles article,
.ecosystem-result {
  padding: 26px;
  background: #fff;
}

.ecosystem-roles ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #161624;
  line-height: 1.45;
}

.ecosystem-result {
  display: grid;
  gap: 20px;
  margin-top: 22px;
  border-left: 5px solid #030268;
}

.ecosystem-result p {
  margin: 0;
  color: #161624;
  font-size: 18px;
  line-height: 1.56;
}

.ecosystem-result p + p {
  margin-top: 12px;
}

.service-page-lead__text,
.reviews-page-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #3d3d58;
}

.service-card__summary {
  margin: -4px 0 18px;
  padding-right: 10px;
  font-size: 16px;
  line-height: 1.45;
  color: #3d3d58;
}

.service-card__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.service-card__link {
  font-weight: 500;
  color: #030268;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-detail-layout {
  display: grid;
  gap: 30px;
}

.service-detail-card,
.service-detail-side,
.review-list-card {
  background: #fff;
}

.service-detail-card {
  padding: clamp(28px, 4vw, 52px);
  border-radius: 0 70px 0 0;
  background-image: url("./images/decor3.svg");
  background-position: right top;
  background-repeat: no-repeat;
}

.service-detail-card__eyebrow {
  margin: 0 0 10px;
  font-weight: 500;
  color: #48b47c;
  text-transform: uppercase;
}

.service-detail-card__title {
  margin: 0 0 18px;
  color: #030268;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.service-detail-card__price {
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 500;
}

.service-detail-card__summary {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 1.45;
  color: #3d3d58;
}

.service-detail-card__description {
  max-width: 820px;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.62;
  color: #161624;
}

.service-seo-blocks {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 0 34px;
}

.service-seo-block {
  padding: 22px;
  border: 1px solid #e2e6ef;
  background: rgba(255,255,255,.82);
}

.service-seo-block h3 {
  margin: 0 0 12px;
  color: #030268;
  font-size: 24px;
}

.service-seo-block p {
  margin: 0;
  color: #161624;
  line-height: 1.58;
}

.service-seo-block p + p,
.service-seo-block details + details {
  margin-top: 12px;
}

.service-seo-block summary {
  cursor: pointer;
  color: #030268;
  font-weight: 500;
}

.service-seo-block details p {
  margin-top: 8px;
}

.service-detail-side {
  padding: 28px;
  border-left: 4px solid #48b47c;
}

.service-detail-side__title {
  margin-bottom: 10px;
  color: #030268;
  font-size: 22px;
  font-weight: 500;
}

.service-detail-side p {
  margin: 0 0 16px;
  color: #3d3d58;
}

.service-detail-side a {
  color: #030268;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reviews-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.review-list-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  align-items: start;
}

.review-list-card .review-card__img {
  margin: 0;
}

.review-list-card .review-card__img img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
}

.review-list-card h3 {
  margin: 0 0 10px;
  color: #030268;
  font-size: 22px;
}

.review-list-card p {
  margin: 0;
  color: #161624;
  line-height: 1.55;
}

@media (min-width: 1100px) {
  .ecosystem__hero {
    grid-template-columns: minmax(0, 1fr) 42%;
  }

  .ecosystem__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .ecosystem-card--image {
    grid-row: span 2;
  }

  .ecosystem-roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ecosystem-result {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .service-detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .ecosystem .u-slide__title {
    font-size: 34px;
    line-height: 1.08;
  }

  .ecosystem__lead,
  .ecosystem-result p {
    font-size: 17px;
  }

  .ecosystem__stats {
    grid-template-columns: 1fr;
  }

  .ecosystem__media {
    min-height: 220px;
  }

  .ecosystem-card,
  .ecosystem-roles article,
  .ecosystem-result {
    padding: 20px;
  }

  .ecosystem-card--image {
    min-height: 280px;
  }

  .ecosystem-card h3,
  .ecosystem-roles h3,
  .ecosystem-result h3 {
    font-size: 23px;
  }

  .service-card__header {
    margin-bottom: 28px;
    padding-right: 30px;
  }

  .review-list-card {
    grid-template-columns: 1fr;
  }
}
