.nw-work,
.nw-work * {
  box-sizing: border-box;
}

.nw-work {
  width: 100%;
  padding: 80px 24px;
  background: transparent;
  color: #222222;
  font-family: inherit;
}

.nw-work__container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.nw-work__head {
  margin: 0 0 32px;
  text-align: center;
}

.nw-work__title {
  margin: 0 0 10px;
  color: #222222;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.nw-work__title-accent {
  color: #F5593D;
}

.nw-work__subtitle {
  max-width: 820px;
  margin: 0 auto;
  color: #595959;
  font-size: 18px;
  line-height: 1.5;
}

.nw-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.nw-work__card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ECECEC;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 12px 34px rgba(28, 28, 28, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.nw-work__card:hover {
  transform: translateY(-4px);
  border-color: #F5593D;
  box-shadow: 0 18px 46px rgba(28, 28, 28, .11);
}

.nw-work__image-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #F2F2F2;
}

.nw-work__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--nw-work-image-y, 50%);
  transition: transform .35s ease;
}

.nw-work__card:hover .nw-work__image {
  transform: scale(1.025);
}

.nw-work__badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 36px);
  padding: 8px 14px;
  border-radius: 8px;
  background: #F5593D;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.nw-work__body {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
}

.nw-work__card-title {
  margin: 0 0 18px;
  color: #222222;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.nw-work__metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nw-work__metric {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
}

.nw-work__metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  color: #343434;
}

.nw-work__metric-icon i {
  font-size: 18px;
}

.nw-work__metric-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nw-work__metric-text {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.nw-work__metric-label {
  color: #676767;
}

.nw-work__metric-value {
  color: #343434;
  font-weight: 600;
}

.nw-work__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 18px 0 14px;
  background: #E5E5E5;
}

.nw-work__description {
  margin: 0 0 18px;
  color: #5F5F5F;
  font-size: 14px;
  line-height: 1.45;
}

.nw-work__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 18px 28px;
  border-radius: 14px;
  background: #F5593D;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nw-work__button:hover {
  background: #D94A2F;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.nw-work__button--static {
  cursor: default;
}

.nw-work__trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 24px 22px 28px;
  border: 1px solid #ECECEC;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(28, 28, 28, .055);
}

.nw-work__trust-text {
  min-width: 0;
  color: #222222;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.nw-work__trust-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 18px 28px;
  border-radius: 14px;
  background: #F5593D;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.nw-work__trust-button:hover {
  color: #FFFFFF;
  background: #D94A2F;
  transform: translateY(-1px);
}

.nw-work__trust-button--static { cursor: default; }

@media (max-width: 1024px) {
  .nw-work {
    padding: 68px 22px;
  }

  .nw-work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 767px) {
  .nw-work {
    padding: 54px 16px;
  }

  .nw-work__head {
    margin-bottom: 26px;
  }

  .nw-work__title {
    font-size: clamp(32px, 10vw, 44px);
  }

  .nw-work__subtitle {
    font-size: 18px;
  }

  .nw-work__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nw-work__image-wrap {
    height: 230px;
  }

  .nw-work__body {
    min-height: 0;
    padding: 18px;
  }

  .nw-work__card-title {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .nw-work__metric {
    font-size: 14px;
  }

  .nw-work__description {
    font-size: 13px;
  }

  .nw-work__trust {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .nw-work__trust-button {
    width: 100%;
  }
}
