.hinit-tjenester-hero {
  margin-bottom: 120px;
  padding: 210px 0 160px;
  background-color: #1d2233;
  background-image: linear-gradient(rgba(29, 34, 51, 0.8), rgba(29, 34, 51, 0.8)), url("/assets/media/backgrounds/lines-background-2.svg");
  background-position: center center;
  background-size: cover;
}

.hinit-tjenester-hero__inner,
.hinit-tjenester-services__inner,
.hinit-tjenester-cta-shelf__inner {
  width: min(100%, 1290px);
  margin: 0 auto;
}

.hinit-tjenester-hero__title {
  margin: 0;
  color: var(--theme-palette-color-8);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.hinit-tjenester-services {
  margin-top: -67px;
  margin-bottom: 120px;
}

.hinit-tjenester-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.hinit-tjenester-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  scroll-margin-top: 140px;
  padding: 100px 60px 60px;
  background: var(--theme-palette-color-5);
  color: var(--theme-palette-color-4);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hinit-tjenester-card__icon {
  margin: 0 0 50px;
  color: inherit;
}

.hinit-tjenester-card__icon svg {
  display: block;
  width: 60px;
  height: 60px;
  fill: none;
  stroke: currentColor;
}

.hinit-tjenester-card__title {
  margin: 0 0 20px;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.hinit-tjenester-card__description {
  color: var(--theme-palette-color-3);
  font-size: 18px;
  line-height: 1.65;
}

.hinit-tjenester-card__description p {
  margin: 0;
}

.hinit-tjenester-card:hover {
  background: var(--theme-palette-color-1);
  background-image: linear-gradient(rgba(49, 84, 196, 0.94), rgba(49, 84, 196, 0.94)), url("/assets/media/backgrounds/card-lines-background.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--theme-palette-color-8);
}

.hinit-tjenester-card:hover .hinit-tjenester-card__description {
  color: var(--theme-palette-color-8);
}

.hinit-tjenester-cta-shelf {
  margin-bottom: 0;
  padding-bottom: 72px;
  background-image: linear-gradient(180deg, var(--theme-palette-color-8) 50%, #f6f6f6 50%);
}

.hinit-tjenester-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 69px 78px 64px;
  background: var(--theme-palette-color-1);
}

.hinit-tjenester-cta-card__content {
  max-width: 74%;
}

.hinit-tjenester-cta-card__title {
  margin: 0 0 20px;
  color: var(--theme-palette-color-8);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
}

.hinit-tjenester-cta-card__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.hinit-tjenester-cta-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 0 34px;
  background: var(--theme-palette-color-8);
  border: 2px solid transparent;
  color: var(--theme-palette-color-1);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hinit-tjenester-cta-card__button:hover {
  background: #eef2ff;
  color: var(--theme-palette-color-1);
}

@media (max-width: 1024px) {
  .hinit-tjenester-hero {
    margin-bottom: 100px;
    padding: 180px 0 130px;
  }

  .hinit-tjenester-services {
    margin-top: -40px;
    margin-bottom: 100px;
  }

  .hinit-tjenester-services__grid {
    grid-template-columns: 1fr;
  }

  .hinit-tjenester-card {
    padding: 50px 35px 35px;
  }

  .hinit-tjenester-card__icon {
    margin-bottom: 40px;
  }

  .hinit-tjenester-card__icon svg {
    width: 40px;
    height: 40px;
  }

  .hinit-tjenester-cta-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
  }

  .hinit-tjenester-cta-card__content {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hinit-tjenester-hero {
    min-height: 360px;
    margin-bottom: 80px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .hinit-tjenester-hero__title {
    font-size: 35px;
    text-align: center;
  }

  .hinit-tjenester-hero__inner,
  .hinit-tjenester-services__inner,
  .hinit-tjenester-cta-shelf__inner {
    width: 100%;
  }

  .hinit-tjenester-services {
    margin-top: -20px;
    margin-bottom: 80px;
  }

  .hinit-tjenester-services__inner,
  .hinit-tjenester-hero__inner,
  .hinit-tjenester-cta-shelf__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hinit-tjenester-card {
    align-items: center;
    text-align: center;
  }

  .hinit-tjenester-card__icon {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hinit-tjenester-cta-shelf {
    padding-bottom: 48px;
  }

  .hinit-tjenester-cta-card {
    padding: 40px 24px;
  }

  .hinit-tjenester-cta-card__button {
    width: 100%;
    min-height: 56px;
  }
}
