/* ================================
   Bezpieczne Miejsce Pracy
   Czysty CSS, bez zewnętrznych fontów
   ================================ */

:root {
  --navy: #0f2742;
  --navy-2: #173b61;
  --ink: #17212b;
  --muted: #5d6874;
  --line: #dce2e8;
  --soft: #f4f7f9;
  --white: #ffffff;
  --accent: #2e6f78;
  --accent-soft: #dfeff0;
  --max-width: 1180px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 226, 232, 0.85);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-text {
  font-size: 16px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: #3e4a55;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--navy);
}

.hero {
  padding: 104px 0 94px;
  background:
    radial-gradient(circle at 88% 12%, rgba(46, 111, 120, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 830px;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover {
  background: var(--navy-2);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(15, 39, 66, 0.08);
}

.card-kicker {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.principles-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.principles-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.principles-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.principles-list li:last-child {
  padding-bottom: 0;
}

.principles-list strong,
.principles-list span {
  display: block;
}

.principles-list strong {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 16px;
}

.principles-list span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.prose {
  color: #36424d;
  font-size: 18px;
}

.prose p {
  margin: 0 0 22px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 64px;
}

.section-heading-row > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.info-card {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.number {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.info-card h3,
.steps h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.info-card p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  list-style: none;
  margin: 54px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
  font-size: 13px;
}

.statement {
  padding: 100px 0;
  color: var(--white);
  background: var(--navy);
}

.statement-inner {
  max-width: 960px;
}

.section-label-light {
  color: #9fd0d3;
}

.statement blockquote {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 720;
}

.statement p:last-child {
  max-width: 760px;
  margin: 34px 0 0;
  color: #d7e0e9;
  font-size: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.contact-panel > div:first-child > p:last-child {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
}

.contact-box {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-caption {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-box a {
  display: inline-block;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-box p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.footer-inner strong {
  color: var(--navy);
}

.footer-inner p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-note {
  max-width: 520px;
  text-align: right;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .section-heading-row,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split,
  .contact-panel {
    gap: 48px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text {
    font-size: 14px;
  }

  .hero {
    padding: 72px 0 68px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-card {
    padding: 25px;
  }

  .section {
    padding: 72px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .number {
    margin-bottom: 28px;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .statement {
    padding: 76px 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-note {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
