.hib-service-ecosystem {
  --service-primary: #1E8A8A;
  --service-dark: #0C1E21;
  --service-light: #D8E5E5;
  position: relative;
  padding: clamp(36px, 4vw, 52px) 0 40px;
  overflow: visible;
  color: var(--service-dark);
  background: transparent;
  box-shadow: none;
}

.hib-service-ecosystem::before,
.hib-service-ecosystem::after {
  content: none;
}

.hib-service-ecosystem__heading {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hib-service-ecosystem__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--service-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hib-service-ecosystem__heading h2 {
  margin: 0;
  color: var(--service-dark);
  font-size: var(--hib-section-title-size, clamp(26px, 2vw, 32px));
  font-weight: var(--hib-section-title-weight, 650);
  line-height: var(--hib-section-title-line-height, 1.2);
  letter-spacing: -0.035em;
}

.hib-service-ecosystem__heading p {
  max-width: 720px;
  margin: 12px auto 0;
  color: rgba(12, 30, 33, 0.66);
  font-size: 15px;
  line-height: 1.7;
}

.hib-service-ecosystem__map {
  position: relative;
  z-index: 3;
  width: min(1220px, 100%);
  height: 684px;
  margin: 26px auto 0;
}

.hib-service-ecosystem__globe {
  position: absolute;
  top: calc(50% - 15px);
  left: 50%;
  width: 560px;
  height: 520px;
  border: 1px solid rgba(30, 138, 138, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hib-service-ecosystem__globe::before,
.hib-service-ecosystem__globe::after,
.hib-service-ecosystem__globe span,
.hib-service-ecosystem__globe i {
  content: "";
  position: absolute;
  border: 1px solid rgba(30, 138, 138, 0.055);
  border-radius: 50%;
}

.hib-service-ecosystem__globe::before { inset: 12%; }
.hib-service-ecosystem__globe::after { inset: 25%; }
.hib-service-ecosystem__globe span:nth-child(1) { inset: 18% -4%; }
.hib-service-ecosystem__globe span:nth-child(2) { inset: 35% -8%; }
.hib-service-ecosystem__globe i:nth-of-type(1) { inset: -5% 27%; }
.hib-service-ecosystem__globe i:nth-of-type(2) { inset: -5% 38%; }

.hib-service-ecosystem__connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translateY(-15px);
}

.hib-service-ecosystem__connectors path {
  fill: none;
  stroke: var(--service-primary);
  stroke-width: 1.25;
  opacity: 0.72;
}

.hib-service-ecosystem__connectors circle {
  fill: #7ac8c8;
  stroke: #ffffff;
  stroke-width: 5;
  filter: drop-shadow(0 3px 6px rgba(30, 138, 138, 0.35));
}

.hib-service-ecosystem__core {
  position: absolute;
  z-index: 5;
  top: calc(50% - 21px);
  left: 50%;
  width: 284px;
  aspect-ratio: 1;
  border: 4px solid #7ac8c8;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--service-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(12, 30, 33, 0.12), inset 0 0 0 6px rgba(30, 138, 138, 0.08), 0 0 0 14px rgba(255, 255, 255, 0.58);
  transform: translate(-50%, -50%);
}

.hib-service-ecosystem__core img {
  width: 72%;
  max-width: 205px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

.hib-service-ecosystem__card {
  position: absolute;
  z-index: 6;
  width: 380px;
  min-height: 188px;
  padding: 24px 25px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px 48px 48px 22px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 32px rgba(12, 30, 33, 0.09), inset 0 0 24px rgba(216, 229, 229, 0.28);
  backdrop-filter: blur(10px);
  color: inherit;
  text-decoration: none;
}

.hib-service-ecosystem__card:hover,
.hib-service-ecosystem__card:focus {
  color: inherit;
  text-decoration: none;
}

.hib-service-ecosystem__card:focus-visible {
  outline: 3px solid var(--service-primary);
  outline-offset: 3px;
}

.hib-service-ecosystem__copy {
  min-width: 0;
  flex: 1;
}

.hib-service-ecosystem__number {
  display: block;
  margin-bottom: 7px;
  color: var(--service-primary);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.hib-service-ecosystem__card h3 {
  margin: 0;
  color: var(--service-dark);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.hib-service-ecosystem__card p {
  margin: 9px 0 0;
  color: rgba(12, 30, 33, 0.65);
  font-size: 11px;
  line-height: 1.55;
}

.hib-service-ecosystem__icon {
  width: 78px;
  height: 78px;
  margin-left: 18px;
  border: 7px solid #edf5f5;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #8bd1d1;
  background: var(--service-dark);
  box-shadow: 0 7px 14px rgba(12, 30, 33, 0.2), 0 0 0 1px rgba(30, 138, 138, 0.2);
}

.hib-service-ecosystem__icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hib-service-ecosystem__card--1,
.hib-service-ecosystem__card--2,
.hib-service-ecosystem__card--3 {
  flex-direction: row-reverse;
  border-radius: 48px 22px 22px 48px;
}

.hib-service-ecosystem__card--1 .hib-service-ecosystem__icon,
.hib-service-ecosystem__card--2 .hib-service-ecosystem__icon,
.hib-service-ecosystem__card--3 .hib-service-ecosystem__icon {
  margin: 0 18px 0 0;
}

.hib-service-ecosystem__card--6 { left: 34px; top: 0; }
.hib-service-ecosystem__card--5 { left: 0; top: 232px; }
.hib-service-ecosystem__card--4 { left: 34px; top: 468px; }
.hib-service-ecosystem__card--1 { right: 34px; top: 0; }
.hib-service-ecosystem__card--2 { right: 0; top: 232px; }
.hib-service-ecosystem__card--3 { right: 34px; top: 468px; }

.hib-service-ecosystem__values {
  position: relative;
  z-index: 7;
  width: min(720px, calc(100% - 40px));
  min-height: 62px;
  margin: 28px auto 0;
  padding: 0 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
  background: var(--service-dark);
  box-shadow: 0 12px 24px rgba(12, 30, 33, 0.16);
}

.hib-service-ecosystem__values div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hib-service-ecosystem__values span {
  color: #7ac8c8;
  font-size: 10px;
  font-weight: 750;
}

.hib-service-ecosystem__values strong {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.hib-service-ecosystem__values > i {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
}

.hib-service-ecosystem__action {
  position: relative;
  z-index: 7;
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.hib-service-ecosystem__action a {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--service-primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #ffffff;
  background: var(--service-primary);
  box-shadow: 0 10px 24px rgba(30, 138, 138, 0.2);
  font-size: 13px;
  font-weight: 650;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.hib-service-ecosystem__action a:hover {
  color: #ffffff;
  border-color: var(--service-dark);
  background: var(--service-dark);
  transform: translateY(-2px);
}

.hib-service-ecosystem__svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1180px) and (min-width: 881px) {
  .hib-service-ecosystem__map {
    margin-bottom: -82px;
    transform: scale(0.87);
    transform-origin: top center;
  }
}

@media (max-width: 880px) {
  .hib-service-ecosystem {
    padding: 34px 0px 40px;
  }

  .hib-service-ecosystem__map {
    height: auto;
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hib-service-ecosystem__globe,
  .hib-service-ecosystem__connectors {
    display: none;
  }

  .hib-service-ecosystem__core {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 250px;
    aspect-ratio: auto;
    grid-column: 1 / -1;
    border-radius: 18px;
    transform: none;
  }

  .hib-service-ecosystem__card,
  .hib-service-ecosystem__card--1,
  .hib-service-ecosystem__card--2,
  .hib-service-ecosystem__card--3 {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 222px;
    padding: 22px;
    border-radius: 15px;
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .hib-service-ecosystem__icon,
  .hib-service-ecosystem__card--1 .hib-service-ecosystem__icon,
  .hib-service-ecosystem__card--2 .hib-service-ecosystem__icon,
  .hib-service-ecosystem__card--3 .hib-service-ecosystem__icon {
    width: 66px;
    height: 66px;
    margin: 0 0 17px;
    border-width: 6px;
  }

  .hib-service-ecosystem__icon svg {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 600px) {
  .hib-service-ecosystem__map {
    grid-template-columns: 1fr;
  }

  .hib-service-ecosystem__core {
    grid-column: auto;
  }

  .hib-service-ecosystem__card,
  .hib-service-ecosystem__card--1,
  .hib-service-ecosystem__card--2,
  .hib-service-ecosystem__card--3 {
    min-height: 0;
  }

  .hib-service-ecosystem__values {
    width: 100%;
    padding: 18px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hib-service-ecosystem__values > i {
    width: 100%;
    height: 1px;
  }

  .hib-service-ecosystem__action a {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hib-service-ecosystem *,
  .hib-service-ecosystem *::before,
  .hib-service-ecosystem *::after {
    transition-duration: 0.01ms !important;
  }
}
