/* Nos services */
.nos-services {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  margin-top: 96px;
  margin-bottom: 0;
}

.nos-services__inner {
  width: 100%;
}

.nos-services__header {
  text-align: center;
  max-width: 458px;
  margin-inline: auto;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nos-services__title {
  margin: 0;
  font-family: 'Satoshi', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #262627;
}

.nos-services__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #262627;
  opacity: 0.8;
}

.nos-services__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 64px;
}

.nos-services__card {
  width: 614px;
  max-width: 100%;
  min-height: 295px;
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  flex-shrink: 0;
  position: relative;
}

.nos-services__card--cream {
  background-color: #f8f6f2;
  transition: background-color 0.2s;
}

.nos-services__card--cream:hover {
  background-color: #019255;
}

.nos-services__card--cream:hover .nos-services__card-title,
.nos-services__card--cream:hover .nos-services__card-desc {
  color: #f8f6f2;
}

.nos-services__card--cream:hover .nos-services__card-desc {
  opacity: 1;
}

.nos-services__card--cream:hover .nos-services__icon-wrap--green {
  background-color: #f8f6f2;
}

.nos-services__card--cream:hover .nos-services__icon-wrap img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(90%) saturate(500%) hue-rotate(115deg);
}

.nos-services__arrow {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nos-services__arrow img {
  display: block;
  width: 20px;
  height: 21px;
  transition: filter 0.2s;
}

.nos-services__card--cream .nos-services__arrow img {
  filter: brightness(0);
}

.nos-services__card--cream:hover .nos-services__arrow img {
  filter: none;
}

.nos-services__icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nos-services__icon-wrap--cream {
  background-color: #f8f6f2;
}

.nos-services__icon-wrap--green {
  background-color: #019255;
}

.nos-services__icon-wrap img {
  display: block;
  width: 28px;
  height: 24px;
  object-fit: contain;
}

.nos-services__card--cream .nos-services__icon-wrap img {
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}

.nos-services__icon-wrap--green {
  transition: background-color 0.2s;
}

.nos-services__card-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.nos-services__card--cream .nos-services__card-title,
.nos-services__card--cream .nos-services__card-desc {
  color: #262627;
  transition: color 0.2s;
}

.nos-services__card-title {
  margin: 0;
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.nos-services__card-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.nos-services__card--cream .nos-services__card-desc {
  opacity: 0.8;
  padding-right: 100px;
}

.nos-services__actions {
  display: flex;
  justify-content: center;
}

.nos-services__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 173px;
  text-transform: uppercase;
  height: 64px;
  padding: 0;
  background-color: #019255;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 300px;
  border: 2px solid #019255;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.nos-services__btn:hover {
  background-color: #1e386d;
  color: #f8f6f2;
  border-color: #1e386d;
}

@media (max-width: 1279px) {
  .nos-services__grid {
    flex-direction: column;
    align-items: center;
  }

  .nos-services__card {
    width: 100%;
    max-width: 614px;
  }
}

@media (max-width: 639px) {
  .nos-services {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .nos-services__header {
    margin-bottom: 40px;
  }

  .nos-services__title {
    font-size: 28px;
  }

  .nos-services__subtitle {
    font-size: 15px;
  }

  .nos-services__grid {
    gap: 16px;
    margin-bottom: 40px;
  }

  .nos-services__card {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
    gap: 32px;
  }

  .nos-services__arrow {
    right: 24px;
    bottom: 24px;
  }

  .nos-services__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 24px;
  }

  .nos-services__card-title {
    font-size: 18px;
  }

  .nos-services__card-desc {
    font-size: 15px;
  }

  .nos-services__btn {
    width: 100%;
    max-width: 200px;
    height: 56px;
  }
}
