/* Homepage section 2 staged visual layer. Scope: Dla kogo pracujemy only. */
.home .nord-segments {
  position: relative;
  background:
    linear-gradient(180deg, #f6f3ec 0%, #f4f1ea 100%);
  border-bottom-color: rgba(16, 24, 32, 0.09);
}

.home .nord-segments::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 164, 111, 0.42), transparent);
}

.home .nord-segments .content-wrap {
  padding: clamp(50px, 5.2vw, 68px) 0 clamp(46px, 4.6vw, 60px);
}

.home .nord-segments h2 {
  margin-bottom: 22px;
  font-size: clamp(1.75rem, 3.1vw, 2.45rem);
}

.home .nord-segments__grid {
  gap: 16px;
}

.home .nord-segments__grid a {
  position: relative;
  min-height: 172px;
  padding: 26px 24px 24px;
  border-color: rgba(16, 24, 32, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: 0 14px 42px rgba(16, 24, 32, 0.055);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home .nord-segments__grid a::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 20px;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--nord-gold);
  opacity: 0.72;
}

.home .nord-segments__grid a::after {
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(16, 24, 32, 0.07);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.home .nord-segments__grid a:nth-child(1)::after { content: "01"; }
.home .nord-segments__grid a:nth-child(2)::after { content: "02"; }
.home .nord-segments__grid a:nth-child(3)::after { content: "03"; }

.home .nord-segments__grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 164, 111, 0.56);
  box-shadow: 0 20px 52px rgba(16, 24, 32, 0.09);
}

.home .nord-segments__grid span {
  margin-top: 14px;
  color: #596775;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.home .nord-segments__grid strong {
  max-width: 92%;
  color: #07111c;
  font-size: clamp(1.04rem, 1.24vw, 1.16rem);
  line-height: 1.34;
}

@media (max-width: 880px) {
  .home .nord-segments .content-wrap {
    padding: 40px 0;
  }

  .home .nord-segments__grid {
    gap: 12px;
  }

  .home .nord-segments__grid a {
    min-height: 140px;
    padding: 22px 20px 20px;
  }

  .home .nord-segments__grid a::before {
    left: 20px;
    top: 18px;
  }

  .home .nord-segments__grid a::after {
    right: 18px;
    top: 16px;
    font-size: 2rem;
  }

  .home .nord-segments__grid span {
    margin-top: 12px;
  }
}

@media (max-width: 520px) {
  .home .nord-segments .content-wrap {
    padding: 34px 0;
  }

  .home .nord-segments h2 {
    margin-bottom: 16px;
  }

  .home .nord-segments__grid a {
    min-height: 124px;
    padding: 20px 18px 18px;
    gap: 14px;
  }

  .home .nord-segments__grid a::before {
    left: 18px;
    width: 32px;
  }

  .home .nord-segments__grid strong {
    max-width: 96%;
    font-size: 1.02rem;
  }
}
