/* ==========================================================================
   base.css: reset, typografia, przyciski, narzędzia
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0 0 .5em;
  color: var(--c-ink);
  line-height: 1.12;
  text-wrap: balance;
}
h1, h2 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-family: var(--f-display); font-weight: 700; line-height: 1.2; }

a { color: var(--c-link); text-underline-offset: 3px; }
a:hover { color: var(--c-navy); }
strong, b { color: var(--c-ink); font-weight: 700; }

:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--c-orange); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Eyebrow (nadtytuł) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 .75rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-orange);
}
.eyebrow--light { color: #ffd3b5; }

/* ---------- Przyciski ---------- */
.btn {
  --btn-bg: var(--c-navy); --btn-fg: #fff; --btn-bg-hover: var(--c-navy-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 var(--fs-sm)/1.2 var(--f-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.btn--orange { --btn-bg: var(--c-orange); --btn-bg-hover: var(--c-orange-dark); }
.btn--blue   { --btn-bg: var(--c-navy);   --btn-bg-hover: var(--c-navy-dark); }
.btn--fb     { --btn-bg: var(--c-fb);     --btn-bg-hover: #0f63d0; }
.btn--white  { --btn-bg: #fff; --btn-fg: var(--c-plum); --btn-bg-hover: #ffe9f3; }
.btn--sm { min-height: 36px; padding: .45em 1.1em; font-size: var(--fs-xs); border-radius: 6px; }
.btn--lg { min-height: 56px; padding: .85em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--c-navy); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: #ffe1ec; }

/* ---------- Lista z ptaszkami ---------- */
.checklist { list-style: none; display: grid; gap: .6rem; margin: 1.25rem 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat;
}
.checklist--light { color: #fff; }
.checklist--light li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e95b00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
