html {
  scroll-behavior: smooth;
}

.main_serviceTop.serviceHub {
  padding-bottom: 0;
  background: #fff;
  color: #302433;
}

.serviceHub a {
  text-decoration: none;
}

.serviceHub__container {
  width: 1000px;
  max-width: calc(100% - 60px);
  margin: 0 auto;
}

.serviceHub__lead {
  padding: 48px 0 42px;
  background: #fff;
}

.serviceHub__lead .serviceTopHead-title {
  max-width: 100%;
  margin: 0;
  left: 0;
}

.serviceHub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #437ebb;
  font-family: 'Heebo', sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.serviceHub__eyebrow::before {
  content: '';
  width: 4px;
  height: 26px;
  border-radius: 999px;
  background: #437ebb;
}

.serviceHub__title {
  margin: 0;
  color: #302433;
  font-size: clamp(2.05rem, 2.65vw, 2.385rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.42;
}

.serviceHub__text {
  max-width: 100%;
  margin: 28px 0 0;
  color: #302433;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 2.6;
}

.serviceHub__cardLabel {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e5f6fc;
  color: #437ebb;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.serviceHub__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.serviceHub__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 44px;
  padding: 0 24px;
  border: 2px solid #437ebb;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.serviceHub__button:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

.serviceHub__button--primary {
  background: #437ebb;
  color: #fff;
}

.serviceHub__button--outline {
  background: #fff;
  color: #437ebb;
}

.serviceHub__button--light {
  border-color: #fff;
  background: #fff;
  color: #437ebb;
}

.serviceHub__issues {
  padding: 24px 0 78px;
  background: #fff;
}

.serviceHub__issues .serviceHub__eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 16px;
  padding-left: 0;
  color: #93dde5;
  font-family: 'Lobster', cursive;
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: none;
  z-index: 3;
}

.serviceHub__issues .serviceHub__eyebrow::before {
  display: none;
}

.serviceHub__issues .serviceHub__eyebrow::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: calc(100% + 10px);
  height: 6px;
  z-index: -1;
  background: url(/img/service/bg_solution_001.png) top left / cover no-repeat;
}

.serviceHub__sectionHead {
  max-width: 760px;
}

.serviceHub__sectionTitle {
  margin: 0;
  color: #302433;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.serviceHub__sectionText,
.serviceHub__groupLead {
  margin: 14px 0 0;
  color: #6f7b8c;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

.serviceHub__issueTags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: issue;
}

.serviceHub__issueTags li {
  counter-increment: issue;
}

.serviceHub__issueTags a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px 0 14px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #fff;
  color: #302433;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.serviceHub__issueTags a::before {
  content: counter(issue, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #e5f6fc;
  color: #437ebb;
  font-family: 'Heebo', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0;
}

.serviceHub__issueTags li:first-child a {
  border-color: #17437e;
  background: #17437e;
  color: #fff;
}

.serviceHub__issueTags li:first-child a::before {
  background: #fff;
  color: #17437e;
}

.serviceHub__group {
  padding: 90px 0 90px;
  background: #f5f8f8;
}

.serviceHub__group--development {
  padding-top: 90px;
}

.serviceHub__groupHead {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.serviceHub__groupLead {
  margin-top: 10px;
  text-align: right;
}

.serviceHub__groupHead > div .serviceHub__groupLead {
  text-align: left;
}

.serviceHub__cardGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: service-card;
}

.serviceHub__card {
  position: relative;
  overflow: hidden;
  counter-increment: service-card;
  display: flex;
  flex-direction: column;
  min-height: 374px;
  scroll-margin-top: 88px;
  padding: 0 0 28px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(48, 36, 51, 0.07);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.serviceHub__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 54px rgba(48, 36, 51, 0.13);
}

.serviceHub__cardAnchor {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.serviceHub__cardAnchor:focus-visible {
  outline: 2px solid #437ebb;
  outline-offset: 4px;
}

.serviceHub__card::before {
  content: none;
}

.serviceHub__card::after {
  content: counter(service-card, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: #437ebb;
  color: #fff;
  font-family: 'Heebo', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(67, 126, 187, 0.4);
  pointer-events: none;
}

.serviceHub__card--featured {
  box-shadow: 0 14px 32px rgba(48, 36, 51, 0.07);
}

.serviceHub__card:target {
  border-color: #17437e;
  box-shadow:
    0 0 0 4px rgba(126, 207, 216, 0.38),
    0 18px 40px rgba(48, 36, 51, 0.12);
}

.serviceHub__card:target::before {
  height: 6px;
  background: #17437e;
}

.serviceHub__card--featured::after {
  color: #fff;
}

.serviceHub__cardMedia {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf6ff;
}

.serviceHub__cardMedia::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(48, 36, 51, 0.18);
  pointer-events: none;
}

.serviceHub__cardMedia img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.serviceHub__card:hover .serviceHub__cardMedia img {
  transform: scale(1.06);
}

.serviceHub__card > .serviceHub__cardLabel {
  width: fit-content;
  margin: 24px 26px 0;
}

.serviceHub__cardMedia .serviceHub__cardLabel {
  position: absolute;
  left: 14px;
  bottom: 8px;
  z-index: 2;
  width: fit-content;
  margin: 0;
  background: rgba(229, 246, 252, 0.94);
  box-shadow: 0 6px 14px rgba(48, 36, 51, 0.12);
}

.serviceHub__cardTitle {
  position: relative;
  margin: 18px 26px 0;
  color: #17437e;
  font-size: clamp(1.1rem, 1.9vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.serviceHub__cardTitle span {
  display: block;
}

.serviceHub__cardText {
  position: relative;
  margin: 20px 26px 0;
  color: #302433;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 2;
}

.serviceHub__card .serviceHub__cardText {
  margin-top: 16px;
}

.serviceHub__cardList {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 24px 26px 0;
  padding: 18px 0 0;
  border-top: 1px solid #d8e2ef;
  list-style: none;
}

.serviceHub__cardList li {
  position: relative;
  padding-left: 16px;
  color: #302433;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.serviceHub__cardList li::before {
  content: '';
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ecfd8;
}

.serviceHub__cardLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: auto 26px 0;
  padding-top: 26px;
  color: #437ebb;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.serviceHub__cardLink::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media screen and (max-width: 1023px) {
  .serviceHub__cardGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .serviceHub__card {
    min-height: 0;
  }

  .serviceHub__groupHead {
    flex-direction: column;
  }

  .serviceHub__groupLead {
    max-width: 100%;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .serviceHub__container {
    max-width: calc(100% - 60px);
  }

  .serviceHub__lead {
    padding: 56px 0 28px;
  }

  .serviceHub__lead .serviceTopHead-title {
    padding-right: 0;
  }

  .serviceHub__text {
    margin-top: 24px;
    padding-right: 0;
  }

  .serviceHub__title,
  .serviceHub__sectionTitle {
    font-size: 1.625rem;
    line-height: 1.65;
  }

  .serviceHub__issues .serviceHub__eyebrow::after {
    bottom: 0;
  }

  .serviceHub__issues {
    padding-bottom: 64px;
  }

  .serviceHub__issueTags {
    gap: 10px;
  }

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

  .serviceHub__issueTags a {
    min-height: 40px;
    padding: 0 14px 0 10px;
    font-size: 0.8125rem;
  }

  .serviceHub__issueTags a::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 0.8125rem;
  }

  .serviceHub__group {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .serviceHub__groupHead {
    margin-bottom: 28px;
  }

  .serviceHub__card {
    padding-bottom: 26px;
  }

  .serviceHub__card::after {
    top: 14px;
    left: 14px;
    font-size: 1rem;
  }

  .serviceHub__cardTitle {
    margin: 20px 22px 0;
    font-size: 1.25rem;
  }

  .serviceHub__cardText {
    margin-right: 22px;
    margin-left: 22px;
  }

  .serviceHub__cardList {
    margin-right: 22px;
    margin-left: 22px;
  }

  .serviceHub__cardLink {
    margin-right: 22px;
    margin-left: 22px;
  }

  .serviceHub__btns {
    flex-direction: column;
  }

  .serviceHub__button {
    width: 100%;
  }
}

@media screen and (max-width: 374px) {
  .serviceHub__container {
    max-width: calc(100% - 40px);
  }

}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .serviceHub__card,
  .serviceHub__cardMedia img,
  .serviceHub__button {
    transition: none;
  }

  .serviceHub__card:hover,
  .serviceHub__card:hover .serviceHub__cardMedia img,
  .serviceHub__button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
