/* Kolory i fonty wg brand/identyfikacja-wizualna.pdf (v3). Nie dodawaj czwartego koloru. */
:root {
  --krem: #FFF7EE;     /* jasne tło, zawsze zamiast bieli */
  --magenta: #88084E;  /* kolor główny, słowo akcentowe na kremie */
  --szampan: #E1B46F;  /* tylko cienkie linie i słowo akcentowe na magencie; nigdy tło, nigdy tekst na kremie */
  --grafit: #16151B;   /* tekst na kremie */
  --bialy: #fff;       /* tylko tekst na magencie */
  --linia: rgb(22 21 27 / .15); /* grafit rozjaśniony, do podziałów */

  --font: "Inter", system-ui, sans-serif;
  --font-akcent: "Source Serif 4", Georgia, serif; /* jedno słowo w nagłówku, nigdy całe zdanie */
  --font-logo: "Marcellus", serif;                 /* wyłącznie logotyp */
  --szerokosc: 42rem;
}

/* Fonty serwowane z repo (bez Google Fonts – RODO). latin-ext zawiera polskie znaki. */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02FF, U+1E00-1EFF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02FF, U+1E00-1EFF; }
@font-face { font-family: "Marcellus"; font-display: swap; src: url(fonts/marcellus-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Marcellus"; font-display: swap; src: url(fonts/marcellus-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02FF, U+1E00-1EFF; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--krem);
  color: var(--grafit);
  font: 1.0625rem/1.45 var(--font);
}

/* Tekst zawsze do lewej – brandbook zakazuje centrowania. */
h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 9vw, 3.75rem); }
h2 { font-size: clamp(1.625rem, 6vw, 2.25rem); }
h3 { font-size: 1.125rem; margin-bottom: .25rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Słowo akcentowe: dokładnie jedno na nagłówek. */
h1 em, h2 em { font-family: var(--font-akcent); font-weight: 600; font-style: italic; color: var(--magenta); }

.kicker { margin-bottom: 1.25rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; }

/* Górny pasek */
.pasek {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: .625rem 1.25rem;
  background: var(--krem);
  border-bottom: 1px solid var(--linia);
}
/* Logotyp roboczy: poniżej 120 px szerokości tylko sygnet „A". */
.logo { font-family: var(--font-logo); line-height: 1; text-decoration: none; }
.logo .sygnet { font-size: 2rem; }
.logo .pelne { display: none; }

/* Przyciski */
.btn {
  display: inline-block;
  padding: .9rem 1.75rem;
  border: 2px solid var(--magenta);
  background: var(--magenta);
  color: var(--bialy);
  font: inherit; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-maly { padding: .5rem 1.1rem; font-size: .9375rem; }
.btn-obrys { background: transparent; color: var(--magenta); }

/* Sekcje: jedna kolumna */
section {
  max-width: var(--szerokosc);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  scroll-margin-top: 4rem; /* wysokość przyklejonego paska */
}

/* Placeholdery na zdjęcia i panel */
.foto, .zencal {
  display: grid; place-items: center;
  padding: 1rem;
  border: 1.5px dashed var(--grafit);
  font-size: .875rem;
}
.foto { aspect-ratio: 4 / 5; margin-bottom: 1.5rem; }
.zencal { min-height: 30rem; }
/* Zdjęcia marki są czarno-białe. */
img { max-width: 100%; height: auto; filter: grayscale(1); }

.hero { display: grid; gap: 2rem; }
.slogan { font-size: 1.1875rem; margin-bottom: 1.75rem; }

.fakty { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0 0; }
.fakty div { padding-top: .75rem; border-top: 2px solid var(--szampan); }
.fakty dt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; }
.fakty dd { margin: .25rem 0 0; font-weight: 600; }

.korzysci { display: grid; gap: 1.5rem; }
.korzysci p { margin: 0; }

.branze { display: flex; flex-wrap: wrap; gap: .5rem; }
.branze span { padding: .35rem .9rem; border: 1.5px solid var(--grafit); font-weight: 600; }

.lista li { padding: .7rem 0; border-bottom: 1px solid var(--linia); }

/* Blok kryzysowy: pełna magenta, tekst biały */
.kryzys { margin-top: 2rem; padding: 1.5rem; background: var(--magenta); color: var(--bialy); }
.kryzys a { font-weight: 600; color: var(--szampan); }

.kroki { counter-reset: krok; display: grid; gap: 1.25rem; }
.kroki li { counter-increment: krok; display: flex; align-items: baseline; gap: 1rem; font-weight: 600; }
.kroki li::before {
  content: counter(krok);
  flex: none; width: 1.5rem;
  font: italic 600 2rem/1 var(--font-akcent);
  color: var(--magenta);
}

.opinie { display: grid; gap: 1.5rem; }
blockquote { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--szampan); }

.cena { font-size: 2rem; font-weight: 700; }

details { border-bottom: 1px solid var(--linia); }
summary { padding: 1rem 0; font-weight: 600; cursor: pointer; }

/* Zamknięcie: kafel magentowy – tekst biały, akcent szampanowy */
.zamkniecie { max-width: none; background: var(--magenta); color: var(--bialy); }
.zamkniecie > * { max-width: var(--szerokosc); margin-inline: auto; }
.zamkniecie h2 { margin-bottom: 1.5rem; }
.zamkniecie h2 em { color: var(--szampan); }
.zamkniecie .btn { display: block; width: fit-content; margin-left: max(0px, (100% - var(--szerokosc)) / 2); background: var(--krem); border-color: var(--krem); color: var(--magenta); }

footer {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  padding: 2rem 1.25rem;
  font-size: .9375rem;
}
footer button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

.cookies {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--krem);
  border-top: 2px solid var(--grafit);
}
.cookies p { margin: 0; flex: 1 1 16rem; font-size: .9375rem; }
.cookies div { display: flex; gap: .5rem; }

/* Tablet i desktop: nadal jedna kolumna treści; hero dzielony ok. 55/45 */
@media (min-width: 48rem) {
  :root { --szerokosc: 46rem; }
  section { padding: 4.5rem 1.5rem; }
  .logo .sygnet { display: none; }
  .logo .pelne { display: block; font-size: 1.5rem; min-width: 120px; }
  .hero { max-width: 68rem; grid-template-columns: 55fr 45fr; align-items: center; }
  .hero .foto { margin: 0; }
  .fakty { grid-template-columns: repeat(4, 1fr); }
  .korzysci { grid-template-columns: 1fr 1fr; }
  .kim .foto { float: right; width: 40%; margin: 0 0 1rem 2rem; }
}
