.service-shortcuts-expanded { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-shortcuts-expanded a { border-right: 1px solid #d8e2e7; border-bottom: 1px solid #d8e2e7; }
.service-shortcuts-expanded a:nth-child(3n) { border-right: 0; }
.service-shortcuts-expanded a:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 900px) {
  .service-shortcuts-expanded { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-shortcuts-expanded a:nth-child(n) { border-right: 1px solid #d8e2e7; border-bottom: 1px solid #d8e2e7; }
  .service-shortcuts-expanded a:nth-child(2n) { border-right: 0; }
  .service-shortcuts-expanded a:nth-last-child(-n+2) { border-bottom: 0; }
}

.hero { background-image: linear-gradient(90deg,rgba(4,13,23,.93),rgba(4,13,23,.75) 46%,rgba(4,13,23,.3)),url('../images/hero-monitoring-dom.webp'); }
.domofony-hero { color:#fff; background:linear-gradient(90deg,rgba(4,13,23,.96),rgba(4,13,23,.82) 60%,rgba(4,13,23,.5)),url('../media/realizacje-20261030/panel-z-kamera-1280.webp') center/cover; }

/* Show the full installation in project previews, without cropping portrait photos. */
.project-card img { object-fit: contain; object-position: center; background: #edf2f5; }
