.servicesBlock {
  padding: 112px 0;
}
.servicesBlock__container {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}
.servicesBlock__header {
  margin: 0 0 24px 0;
  color: #1b2335;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}
.servicesBlock__text {
  margin: 0 0 24px 0;
  color: #363636;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  max-width: 770px;
  margin: 0 auto;
  margin-bottom: 90px;
}

.servicesBlock__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 24px;
  align-items: start;
  box-sizing: border-box;
}

.servicesBlock__list {
  display: grid;
  gap: 30px;
}
.serviceItem {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 40px;
  align-items: center;
  padding: 20px 30px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #e8f2fa;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}
.serviceItem:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.serviceItem.is-active {
  border-color: #1b2335;
  box-shadow: 0 0 0 2px rgba(27, 35, 53, 0.1) inset;
  background: #1b2335;
  color: #fff;
}
.serviceItem.is-active .serviceItem__title {
  color: #e8f2fa;
}
.serviceItem.is-active .serviceItem__desc {
  color: #e8f2fa;
}
.serviceItem.is-active .serviceItem__icon {
  filter: brightness(0) invert(1);
}

.serviceItem__icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}
.serviceItem__title {
  color: #1b2335;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}
.serviceItem__desc {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: #4a5568;
  margin-top: 10px;
}

.servicesBlock__details {
  position: relative;
}
.servicePanel {
  display: none;
  padding: 0px 24px;
  box-sizing: border-box;
}
.servicePanel.is-active {
  display: block;
}
.servicePanel__icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
}
.servicePanel__title {
  margin: 0 0 30px 0;
  color: #1b2335;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}
.servicePanel__desc {
  color: #363636;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 50px;
}
.servicePanel__button {
  display: inline-flex;
  padding: 12px 20px;
  background: #1b2335;
  color: #fff;
  border: 1px solid #1b2335;
  border-radius: 2px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.servicePanel__button:hover {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
.servicePanel__image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 50px;
  border-radius: 16px;
}

@media (max-width: 900px) {
  .servicesBlock__grid {
    grid-template-columns: 1fr;
  }
  .serviceItem {
    grid-template-columns: 1fr;
  }
  .servicePanel__title {
    font-size: 32px;
  }
}
