#hero .hero__stats {
  position: static;
  width: min(100%, 560px);
  min-width: 0;
  margin: var(--space-5) 0 0;
  padding: var(--space-3) 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#hero .hero__stat {
  min-width: 0;
  padding-inline: clamp(8px, 1.5vw, 20px);
}

#hero .hero__stat:first-child {
  padding-left: 0;
}

#hero .hero__stat:last-child {
  padding-right: 0;
}

@media (min-width: 768px) {
  #hero {
    align-items: flex-start;
  }

  #hero .hero__content {
    padding-top: clamp(100px, 13vh, 144px);
    padding-bottom: var(--space-3);
  }
}

@media (max-width: 767px) {
  #hero .hero__content {
    padding-top: calc(64px + var(--space-4)) !important;
  }

  #hero .hero__stats {
    padding-inline: 0 !important;
  }
}

@media (min-width: 1200px) and (min-aspect-ratio: 4/3) and (max-aspect-ratio: 5/2) {
  #hero .hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(7, 23, 41, 0.38) 0%,
        rgba(7, 23, 41, 0.12) 28%,
        rgba(7, 23, 41, 0.12) 57%,
        rgba(7, 23, 41, 0.68) 100%),
      linear-gradient(90deg,
        rgba(7, 23, 41, 0.83) 0%,
        rgba(7, 23, 41, 0.68) 35%,
        rgba(7, 23, 41, 0.18) 65%,
        rgba(7, 23, 41, 0.0) 76%);
  }
}

#hero .hero__stat--certificate {
  min-height: 44px;
  cursor: pointer !important;
}

.hero__stat--certificate .hero__stat-label {
  text-decoration: underline;
  text-decoration-color: rgba(200, 216, 234, 0.75);
  text-underline-offset: 0.2em;
}

.hero__stat--certificate:hover .hero__stat-label {
  text-decoration-color: #fff;
}

.hero__stat-arrow {
  display: inline-block;
  margin-inline-start: 4px;
  margin-inline-end: -15px;
  vertical-align: -0.12em;
  color: inherit;
}

.hero__stat--certificate:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#certificates {
  scroll-margin-block-start: 84px;
}

#services {
  cursor: default;
}

#services :is(a, button) {
  cursor: pointer !important;
}
