*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: Georgia, serif; }

.problem-card-title {
  color: #2f5c51;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
  margin-bottom: 0.25rem;
}

.snap-section {
  display: block;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h, 56px));
}
.hero-background {
  background-image: url("ustawieni.jpg");
}
@media (max-width: 767px) {
  #hero { background-color: #f9f6f1; }
  .hero-background {
    background-size: contain;
    background-repeat: no-repeat;
  }
  .hero-overlay { display: none; }
}
@supports (height: 100svh) {
  #hero { min-height: calc(100svh - var(--nav-h, 56px)); }
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: var(--nav-h, 56px);
    scroll-snap-type: y proximity;
  }
  .snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: calc(100vh - var(--nav-h, 56px));
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  #kontakt { justify-content: space-between; }
}

.nav-link { transition: color .2s, border-color .2s; }
.nav-link.active { color: #c8a96e; border-bottom-color: #c8a96e; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-btn.active { background: #2f5c51; color: #fff; }
.badge {
  position: absolute; top: -1px; right: 16px;
  background: #c8a96e; color: #fff;
  font-family: Inter, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 0 0 6px 6px;
}
