.nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.3s ease;
}

.nav--hidden {
  transform: translateY(-100%);
}

/* Smooth scroll globally */
html {
  scroll-behavior: smooth;
}

/* Center button groups inside centered text containers */
.utility-text-align-center .button-group {
  justify-content: center;
}

/* Secondary button on dark/inverse background — readable white outline style */
.utility-background-inverse .button.secondary-button {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.utility-background-inverse .button.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Zarząd — karty zarządu z większymi zdjęciami i akcentem marki */
#zarzad .board-card {
  height: 100%;
  padding: 2.5rem 1.5rem 2rem;
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgba(20, 16, 15, 0.04), 0 12px 28px rgba(20, 16, 15, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#zarzad .board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(20, 16, 15, 0.06), 0 20px 36px rgba(20, 16, 15, 0.12);
}
#zarzad .avatar.board-avatar {
  width: 9rem;
  height: 9rem;
  border: 3px solid var(--ai-gen-82921b10-4b39-48f0-b346-808cf4903d29-1748718217009---core-accent-color--accent-primary);
}
@media screen and (max-width: 479px) {
  #zarzad .avatar.board-avatar {
    width: 7rem;
    height: 7rem;
  }
}

/* Pływający przycisk "Wróć na górę" */
.back-to-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 100rem;
  background-color: var(--ai-gen-82921b10-4b39-48f0-b346-808cf4903d29-1748718217009---core-accent-color--accent-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(20, 16, 15, 0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  z-index: 999;
}
.back-to-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top-btn:hover {
  background-color: var(--ai-gen-82921b10-4b39-48f0-b346-808cf4903d29-1748718217009---core-accent-color--accent-primary-hover);
}
.back-to-top-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}
@media screen and (max-width: 479px) {
  .back-to-top-btn {
    right: 1rem;
    bottom: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* Stats / liczby w sekcji "Kim jesteśmy" */
.stat-value {
  font-family: inherit;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.375rem;
  color: var(--ai-gen-82921b10-4b39-48f0-b346-808cf4903d29-1748718217009---text-color--text-secondary);
  opacity: 0.6;
}
