.expertise {
  min-height: 980px;
  padding-top: 110px;
  background:
    linear-gradient(90deg, rgba(2, 15, 24, 0.99) 0%, rgba(2, 15, 24, 0.9) 48%, rgba(2, 15, 24, 0.35) 100%),
    url("images/herobg.png") center 32% / cover no-repeat;
}

.expertise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 15, 24, 0.82) 62%, #03131e 100%);
  pointer-events: none;
}

.expertise .technical-grid {
  opacity: 0.35;
}

.expertise .wrap {
  z-index: 1;
}

.expertise .section-heading {
  display: block;
  margin-bottom: 44px;
}

.expertise .section-heading > div {
  max-width: 780px;
}

.expertise .section-heading h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(46px, 4.2vw, 68px);
  line-height: 1.05;
}

.expertise .section-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.expertise-lead {
  max-width: 520px;
  color: #b3c0c7;
  font-size: 15px;
}

.expertise .service-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 520px;
  gap: 16px;
}

.expertise .service {
  grid-column: auto;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(163, 194, 208, 0.36);
  border-radius: 4px;
  background: #061a27;
}

.expertise .service img {
  height: 58%;
}

.expertise .service-shade {
  background: linear-gradient(180deg, rgba(3, 18, 28, 0.02) 20%, rgba(3, 18, 28, 0.3) 48%, #061a27 65%);
}

.expertise .service .number {
  top: 278px;
  color: var(--blue2);
  font-size: 22px;
}

.expertise .service div {
  min-height: 130px;
  padding-top: 20px;
}

.expertise .service h3 {
  font-size: 24px;
  font-weight: 500;
}

.expertise .service p {
  color: #afbec5;
  font-size: 12px;
}

.expertise .service-link {
  position: relative;
  align-self: flex-start;
  color: var(--blue2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .expertise .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .expertise {
    padding-top: 90px;
    background-position: 64% top;
  }

  .expertise .section-heading h2 {
    font-size: 42px;
  }

  .expertise .service-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 500px;
  }
}
