.hnc-services-page {
  padding: 70px 0 90px;
  background: #f6f9fc;
}

.hnc-services-page__intro {
  max-width: 780px;
  margin: 0 auto 42px;
  color: var(--mediox-text, #707882);
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.hnc-services-page__list {
  display: grid;
  gap: 34px;
}

.hnc-service-figures {
  margin-bottom: 54px;
  padding: 38px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--mediox-primary, #2c51a3), #173d92);
  box-shadow: 0 20px 48px rgba(44, 81, 163, .2);
}

.hnc-service-figures__heading {
  margin-bottom: 28px;
  text-align: center;
}

.hnc-service-figures__heading span {
  display: block;
  margin-bottom: 5px;
  color: #f3b7d8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hnc-service-figures__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.hnc-service-figures__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hnc-service-figure {
  min-width: 0;
  padding: 12px 15px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  text-align: center;
}

.hnc-service-figure:last-child { border-right: 0; }

.hnc-service-figure strong {
  display: block;
  color: #fff;
  font-size: clamp(27px, 3.2vw, 43px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.hnc-service-figure strong small {
  color: #f3b7d8;
  font-size: .55em;
  font-weight: 800;
}

.hnc-service-figure > span {
  margin-top: 10px;
  display: block;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.hnc-service-entry {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(44, 81, 163, .1);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(40, 35, 91, .08);
}

.hnc-service-entry:nth-child(even) .hnc-service-entry__image { order: 2; }

.hnc-service-entry__image {
  min-height: 410px;
  margin: 0;
  background: linear-gradient(145deg, #eaf4fb, #f8fbfd);
}

.hnc-service-entry__image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  display: block;
  object-fit: cover;
}

.hnc-service-entry__image.is-placeholder img {
  padding: 78px;
  object-fit: contain;
}

.hnc-service-entry__content {
  padding: 48px clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hnc-service-entry__label {
  margin-bottom: 12px;
  color: var(--mediox-base, #c466a4);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hnc-service-entry__title {
  margin: 0 0 22px;
  color: var(--mediox-black, #28235b);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.hnc-service-entry__description,
.hnc-service-entry__description p {
  margin: 0;
  color: var(--mediox-text, #707882);
  font-size: 16px;
  line-height: 1.8;
}

.hnc-service-entry__description strong {
  color: var(--mediox-primary, #2c51a3);
  font-weight: 750;
}

.hnc-services-page__empty {
  padding: 60px 24px;
  border-radius: 24px;
  background: #fff;
  color: var(--mediox-text, #707882);
  text-align: center;
}

@media (max-width: 991px) {
  .hnc-service-figures__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hnc-service-figure:nth-child(3) { border-right: 0; }
  .hnc-service-figure:nth-child(-n+3) { margin-bottom: 18px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .hnc-service-entry { grid-template-columns: 1fr; }
  .hnc-service-entry:nth-child(even) .hnc-service-entry__image { order: 0; }
  .hnc-service-entry__image,
  .hnc-service-entry__image img { min-height: 330px; }
}

@media (max-width: 575px) {
  .hnc-services-page { padding: 50px 0 70px; }
  .hnc-services-page__intro { margin-bottom: 30px; font-size: 15px; }
  .hnc-services-page__list { gap: 24px; }
  .hnc-service-figures { margin-bottom: 36px; padding: 28px 16px; border-radius: 20px; }
  .hnc-service-figures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hnc-service-figure,
  .hnc-service-figure:nth-child(3),
  .hnc-service-figure:nth-child(-n+3) { margin-bottom: 0; padding: 18px 8px; border-right: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .hnc-service-figure:nth-child(even) { border-right: 0; }
  .hnc-service-figure:nth-last-child(-n+2) { border-bottom: 0; }
  .hnc-service-figure strong { font-size: 30px; }
  .hnc-service-entry { border-radius: 20px; }
  .hnc-service-entry__image,
  .hnc-service-entry__image img { min-height: 230px; }
  .hnc-service-entry__image.is-placeholder img { padding: 48px; }
  .hnc-service-entry__content { padding: 30px 24px 34px; }
  .hnc-service-entry__title { margin-bottom: 16px; }
  .hnc-service-entry__description,
  .hnc-service-entry__description p { font-size: 14px; line-height: 1.7; }
}
