/* /nieruchomosci/ – moduły tej podstrony (prefiks nr-) */

/* Katalog typów nieruchomości: wiersze jak w rejestrze */
.nr-types{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.nr-types li{display:grid;grid-template-columns:72px minmax(0,3.2fr) minmax(0,5.5fr) minmax(0,2.3fr);gap:20px clamp(20px,3vw,40px);align-items:baseline;padding:26px 0;border-bottom:1px solid var(--mist-line);transition:background .25s var(--ease)}
.nr-types__no{font-family:var(--f-display);font-size:18px;color:var(--brass-deep)}
.nr-types h3{font-size:clamp(28px,3vw,42px);line-height:1.05}
.nr-types p{margin:0;font-size:15.5px;color:#2c3a41}
.nr-types a{justify-self:end;display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--ink);font-size:15px;font-weight:600;text-underline-offset:5px;white-space:nowrap}
.nr-types a::after{content:"→";color:var(--brass-deep);transition:transform .25s var(--ease)}
.nr-types a:hover::after{transform:translateX(4px)}
.nr-types li:hover{background:linear-gradient(90deg,rgba(201,171,112,.10),rgba(201,171,112,0) 70%)}

/* Trzy etapy ze strzałkami */
.nr-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.nr-flow li{position:relative;padding:30px clamp(28px,3vw,48px) 32px clamp(24px,2.6vw,36px);border:1px solid var(--line-dark-soft);background:rgba(8,19,26,.3)}
.nr-flow li + li{border-left:0}
.nr-flow li:not(:last-child)::after{content:"";position:absolute;z-index:1;right:-12px;top:50%;width:22px;height:22px;background:var(--petrol-900);border-top:1px solid var(--brass);border-right:1px solid var(--brass);transform:translateY(-50%) rotate(45deg)}
.nr-flow li:last-child{background:linear-gradient(180deg,rgba(54,92,111,.3),rgba(54,92,111,.1));border-color:var(--line-dark)}
.nr-flow small{display:block;font-size:13px;letter-spacing:.04em;color:var(--brass);margin-bottom:10px}
.nr-flow h3{margin-bottom:10px}
.nr-flow p{margin:0;color:#c3cbcf;font-size:15.5px}
.nr-go{display:flex;flex-wrap:wrap;gap:14px;margin-top:clamp(32px,4vw,48px)}

.nr-inv .need a{color:var(--brass-deep);text-underline-offset:4px}

@media (max-width:1020px){
  .nr-types li{grid-template-columns:56px minmax(0,1fr) minmax(0,1.6fr)}
  .nr-types a{grid-column:2/-1;justify-self:start}
}
@media (max-width:760px){
  .nr-types li{grid-template-columns:40px minmax(0,1fr);gap:8px 12px;padding:22px 0}
  .nr-types p{grid-column:2}
  .nr-types a{grid-column:2;margin-top:-4px}
  .nr-flow{grid-template-columns:1fr}
  .nr-flow li + li{border-left:1px solid var(--line-dark-soft);border-top:0}
  .nr-flow li:last-child{border-color:var(--line-dark)}
  .nr-flow li:not(:last-child)::after{right:auto;left:50%;top:auto;bottom:-12px;transform:translateX(-50%) rotate(135deg)}
  .nr-go .btn{flex:1 1 100%}
}
