/* ============================================================
 *  PARASOL - arkusz zbiorczy
 *  PLIK GENEROWANY AUTOMATYCZNIE - nie edytuj recznie.
 *  Zrodla: assets/css/_*.css  |  Budowanie: php _deploy/build-css.php
 *  Wygenerowano: 2026-08-29 01:30
 * ============================================================ */


/* ==== _tokens.css ==== */
/* ============================================================
   PARASOL - system designu

   Paleta jest celowo wyciszona. Poprzednia wersja opierala sie na
   nasyconej magencie (#C301D9), ktora w gabinecie psychologicznym
   dziala przeciwko trescią - krzyczy zamiast uspokajac. Zostal
   przykurzony fiolet jako kolor glowny i stonowany roz jako akcent.

   Motyw ma dwa warianty. Tokeny jasne siedza na bare :root, ciemne
   sa wstrzykiwane dwa razy przez skrypt budujacy (_dark.css):
   raz pod prefers-color-scheme dla osob, ktore nie wybraly nic,
   raz pod [data-theme="dark"] dla swiadomego wyboru przelacznikiem.
   ============================================================ */

:root {
  color-scheme: light;

  /* --- Fiolet marki (przykurzony) --- */
  --c-brand-50:  #F5F3F9;
  --c-brand-100: #E9E5F2;
  --c-brand-200: #D3CCE4;
  --c-brand-300: #B3A8CE;
  --c-brand-400: #8C7DB2;
  --c-brand-500: #6E5B9E;
  --c-brand-600: #5B4B8A;
  --c-brand-700: #483C6E;
  --c-brand-800: #362D53;
  --c-brand-900: #241E38;

  /* --- Akcent: stonowany roz, nie magenta --- */
  --c-accent-100: #F7EDF0;
  --c-accent-300: #DDB4C0;
  --c-accent-500: #B0708A;
  --c-accent-600: #97596F;
  --c-accent-700: #7A4759;

  /* --- Ciepla morela: sekcje dla dzieci --- */
  --c-warm-100: #FAF1EA;
  --c-warm-200: #F0DECF;
  --c-warm-400: #D9A583;
  --c-warm-600: #9C6440;

  /* --- Szalwia: spokoj, potwierdzenia --- */
  --c-mint-100: #EAF1EE;
  --c-mint-300: #AFCCC1;
  --c-mint-600: #43786A;

  /* --- Neutralne --- */
  --c-ink:       #241E38;
  --c-body:      #4E4860;
  --c-muted:     #726C85;
  --c-line:      #E5E1EC;
  --c-surface:   #FFFFFF;
  --c-surface-2: #FAF9FC;
  --c-surface-3: #F2EFF7;

  /* --- Tekst na ciemnym tle ---
     Pasek gorny, stopka i sekcja "Zasady" maja ciemne tlo w obu motywach,
     wiec ich tekst nie moze korzystac ze skali fioletu - w trybie ciemnym
     jest ona odwrocona i brand-200 robi sie prawie czarny. */
  --c-ondark:       #EBE7F3;
  --c-ondark-muted: #B9B1CC;
  --c-ondark-line:  rgba(255,255,255,.12);

  /* --- Stany --- */
  --c-ok:      #2E6B4F;
  --c-ok-bg:   #E9F2ED;
  --c-warn:    #8A6224;
  --c-warn-bg: #F8F0E2;
  --c-err:     #9C3A34;
  --c-err-bg:  #F8EBEA;

  /* --- Cienie: w jasnym motywie miekkie i chlodne --- */
  --shadow-sm:    0 1px 2px rgba(36,30,56,.05), 0 1px 3px rgba(36,30,56,.04);
  --shadow-md:    0 4px 12px rgba(36,30,56,.06), 0 2px 4px rgba(36,30,56,.04);
  --shadow-lg:    0 16px 40px rgba(36,30,56,.09), 0 5px 12px rgba(36,30,56,.05);
  --shadow-brand: 0 10px 26px rgba(91,75,138,.20);

  /* --- Typografia --- */
  --f-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9062rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.3125rem;
  --fs-2xl:  clamp(1.45rem, 1.2rem + 1.1vw, 1.85rem);
  --fs-3xl:  clamp(1.8rem, 1.35rem + 2vw, 2.6rem);
  --fs-4xl:  clamp(2.15rem, 1.5rem + 3.1vw, 3.5rem);

  --lh-tight: 1.16;
  --lh-snug:  1.35;
  --lh-body:  1.68;

  /* --- Rytm --- */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.75rem; --sp-8: 3.5rem;
  --sp-9: 5rem;    --sp-10: 7rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 6.5rem);

  /* --- Ksztalty --- */
  --r-sm: 8px;  --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* --- Uklad --- */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --header-h: 76px;

  --ease: cubic-bezier(.32,.72,.26,1);
  --dur: .28s;
}

/* Wariant ciemny dla osob, ktore nie dotknely przelacznika.
   Warunek :not([data-theme="light"]) sprawia, ze swiadomy wybor
   jasnego motywu wygrywa z ustawieniem systemu. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    /* Fiolet w ciemnym motywie musi byc jasniejszy niz tlo, inaczej
       przyciski znikaja. Odwracamy wiec kierunek skali: 50 jest
       najciemniejsze, 900 najjasniejsze. */
    --c-brand-50:  #221D30;
    --c-brand-100: #2C2540;
    --c-brand-200: #3B3255;
    --c-brand-300: #4E4370;
    --c-brand-400: #6D5F98;
    --c-brand-500: #8B7BB8;
    --c-brand-600: #A493CE;
    --c-brand-700: #BCADDD;
    --c-brand-800: #1C1828;
    --c-brand-900: #14111D;

    --c-accent-100: #33222A;
    --c-accent-300: #6E4655;
    --c-accent-500: #C58AA0;
    --c-accent-600: #D6A0B3;
    --c-accent-700: #E4BCC9;

    --c-warm-100: #2B2119;
    --c-warm-200: #3D2E22;
    --c-warm-400: #C79268;
    --c-warm-600: #E0B893;

    --c-mint-100: #1C2926;
    --c-mint-300: #3C6155;
    --c-mint-600: #8FC2B2;

    --c-ink:       #F1EEF7;
    --c-body:      #C4BED4;
    --c-muted:     #8F88A3;
    --c-line:      #322C42;
    --c-surface:   #16131F;
    --c-surface-2: #1C1829;
    --c-surface-3: #231E31;

    --c-ok:      #7FC3A0;
    --c-ok-bg:   #1B2A22;
    --c-warn:    #D9B278;
    --c-warn-bg: #2E2618;
    --c-err:     #E39A94;
    --c-err-bg:  #2E1D1C;

    /* Na ciemnym tle cien nie jest widoczny - role obramowania
       przejmuje delikatna poswiata i jasniejsza linia. */
    --shadow-sm:    0 1px 2px rgba(0,0,0,.35);
    --shadow-md:    0 4px 12px rgba(0,0,0,.40);
    --shadow-lg:    0 16px 40px rgba(0,0,0,.50);
    --shadow-brand: 0 10px 26px rgba(0,0,0,.45);
  }
}

/* Wybor przelacznikiem - ma pierwszenstwo nad ustawieniem systemu. */
:root[data-theme="dark"] {
    color-scheme: dark;

    /* Fiolet w ciemnym motywie musi byc jasniejszy niz tlo, inaczej
       przyciski znikaja. Odwracamy wiec kierunek skali: 50 jest
       najciemniejsze, 900 najjasniejsze. */
    --c-brand-50:  #221D30;
    --c-brand-100: #2C2540;
    --c-brand-200: #3B3255;
    --c-brand-300: #4E4370;
    --c-brand-400: #6D5F98;
    --c-brand-500: #8B7BB8;
    --c-brand-600: #A493CE;
    --c-brand-700: #BCADDD;
    --c-brand-800: #1C1828;
    --c-brand-900: #14111D;

    --c-accent-100: #33222A;
    --c-accent-300: #6E4655;
    --c-accent-500: #C58AA0;
    --c-accent-600: #D6A0B3;
    --c-accent-700: #E4BCC9;

    --c-warm-100: #2B2119;
    --c-warm-200: #3D2E22;
    --c-warm-400: #C79268;
    --c-warm-600: #E0B893;

    --c-mint-100: #1C2926;
    --c-mint-300: #3C6155;
    --c-mint-600: #8FC2B2;

    --c-ink:       #F1EEF7;
    --c-body:      #C4BED4;
    --c-muted:     #8F88A3;
    --c-line:      #322C42;
    --c-surface:   #16131F;
    --c-surface-2: #1C1829;
    --c-surface-3: #231E31;

    --c-ok:      #7FC3A0;
    --c-ok-bg:   #1B2A22;
    --c-warn:    #D9B278;
    --c-warn-bg: #2E2618;
    --c-err:     #E39A94;
    --c-err-bg:  #2E1D1C;

    /* Na ciemnym tle cien nie jest widoczny - role obramowania
       przejmuje delikatna poswiata i jasniejsza linia. */
    --shadow-sm:    0 1px 2px rgba(0,0,0,.35);
    --shadow-md:    0 4px 12px rgba(0,0,0,.40);
    --shadow-lg:    0 16px 40px rgba(0,0,0,.50);
    --shadow-brand: 0 10px 26px rgba(0,0,0,.45);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==== _base.css ==== */
/* ===================== RESET / BAZA ===================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-body);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  color: var(--c-ink);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); letter-spacing: -.015em; }
h4 { font-size: var(--fs-xl); letter-spacing: -.01em; }

p { text-wrap: pretty; }

a {
  color: var(--c-brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--c-accent-600); }

strong, b { font-weight: 650; color: var(--c-ink); }

ul, ol { padding-left: 1.25em; }

hr {
  border: 0;
  height: 1px;
  background: var(--c-line);
  margin: var(--sp-6) 0;
}

blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--c-brand-300);
  background: var(--c-brand-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--c-ink);
  font-size: var(--fs-lg);
}

code, pre, kbd {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .9em;
}

table { border-collapse: collapse; width: 100%; }

/* --- Dostepnosc --- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--c-accent-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  z-index: 10000;
  width: auto; height: auto;
  clip: auto; clip-path: none;
  padding: .75rem 1.25rem;
  background: var(--c-brand-700);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}


/* ===================== IKONY =====================
   Ikony SVG maja viewBox, ale nie maja atrybutow width/height - bez tej
   reguly rozciagaja sie do rozmiaru rodzica. Domyslnie skalujemy je
   do wielkosci tekstu; miejsca wymagajace innego rozmiaru nadpisuja to
   wlasna regula. */

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ===================== UKLAD ===================== */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 640px) { .wrap { width: min(100% - 4rem, var(--wrap)); } }

.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .62); }
.section--surface  { background: var(--c-surface-2); }
.section--tinted   { background: var(--c-surface-3); }
.section--brand    { background: var(--cta-a, var(--c-brand-800)); color: var(--c-ondark); }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--warm     { background: var(--c-warm-100); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* Dwa kafelki na pelnej szerokosci robia sie nieprzyjemnie dlugie -
   zwezamy siatke, zeby wiersz tekstu mial czytelna dlugosc. */
.grid--zwezony { max-width: 900px; margin-inline: auto; }

/* Gdy w siatce zostanie jedna karta, rozciaganie jej na cala szerokosc
   wyglada jak blad. Ograniczamy szerokosc i stawiamy na srodku. */
.grid > :only-child { max-width: 560px; margin-inline: auto; width: 100%; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ===================== NAGLOWEK SEKCJI ===================== */

.sec-head { max-width: 46rem; margin-bottom: var(--sp-7); }
.sec-head.center { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent-600);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.center .eyebrow::before { display: none; }
.section--brand .eyebrow { color: var(--c-accent-300); }

.sec-lead {
  font-size: var(--fs-lg);
  color: var(--c-muted);
  margin-top: var(--sp-4);
}
.section--brand .sec-lead { color: var(--c-ondark-muted); }

/* Odstep pod sekcja - uzywane tam, gdzie po siatce idzie pojedynczy przycisk. */
.mt-7 { margin-top: var(--sp-7); }
.mt-6 { margin-top: var(--sp-6); }
.mt-5 { margin-top: var(--sp-5); }

/* Dopisek pod siatka - np. informacja o konsultacjach dla rodzicow. */
.sec-note { font-size: var(--fs-sm); color: var(--c-muted); max-width: 56ch; margin-inline: auto; }

/* ==== _components.css ==== */
/* ===================== PRZYCISKI ===================== */

.btn {
  --btn-bg: var(--c-brand-600);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.6rem;
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: .005em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn--primary { box-shadow: var(--shadow-brand); }
.btn--primary:hover { --btn-bg: var(--c-brand-700); }

.btn--accent { --btn-bg: var(--c-accent-600); box-shadow: 0 12px 30px rgba(163,43,178,.26); }
.btn--accent:hover { --btn-bg: var(--c-accent-700); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-brand-700);
  --btn-bd: var(--c-brand-200);
}
.btn--ghost:hover { --btn-bg: var(--c-brand-50); --btn-bd: var(--c-brand-400); }

.btn--light { --btn-bg: var(--c-surface); --btn-fg: var(--c-brand-700); box-shadow: var(--shadow-md); }
.btn--light:hover { --btn-fg: var(--c-accent-600); }

.btn--onbrand { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--onbrand:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }

.btn--lg { padding: 1rem 2rem; font-size: var(--fs-base); }
.btn--sm { padding: .55rem 1.1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.center .btn-row { justify-content: center; }

/* ===================== KARTY ===================== */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-brand-200);
}
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--warm { background: var(--c-warm-200); color: var(--c-warm-600); }
.card__icon--mint { background: var(--c-mint-100); color: var(--c-mint-600); }
.card__icon--accent { background: var(--c-accent-100); color: var(--c-accent-700); }

.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--c-muted); font-size: var(--fs-sm); }

.card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: var(--sp-4);
  font-family: var(--f-head); font-weight: 650; font-size: var(--fs-sm);
  text-decoration: none;
}
.card__link::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.card--hover:hover .card__link::after { transform: translateX(4px); }

/* --- Odznaki --- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .7rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 650;
  font-family: var(--f-head);
  background: var(--c-brand-50);
  color: var(--c-brand-700);
}
.badge--ok   { background: var(--c-ok-bg);   color: var(--c-ok); }
.badge--warn { background: var(--c-warn-bg); color: var(--c-warn); }
.badge--err  { background: var(--c-err-bg);  color: var(--c-err); }
.badge--warm { background: var(--c-warm-200); color: var(--c-warm-600); }

/* ===================== FORMULARZE ===================== */

.field { display: block; margin-bottom: var(--sp-4); }
.field > label,
.field-label {
  display: block;
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--c-ink);
  margin-bottom: .4rem;
}
.field .req { color: var(--c-err); }

.input, .field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=password], .field input[type=date], .field input[type=number],
.field select, .field textarea {
  width: 100%;
  padding: .78rem 1rem;
  font-size: var(--fs-base);
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .field :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--c-brand-400);
  box-shadow: 0 0 0 4px var(--c-brand-100);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: var(--fs-xs); color: var(--c-muted); margin-top: .35rem; }
.field-error { font-size: var(--fs-xs); color: var(--c-err); margin-top: .35rem; font-weight: 600; }

.checkbox {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--c-muted);
  cursor: pointer;
}
.checkbox input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--c-brand-600); flex: none; }

/* ===================== KOMUNIKATY ===================== */

.notice {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  border-left: 4px solid var(--c-brand-500);
  background: var(--c-brand-50);
  font-size: var(--fs-sm);
}
.notice--ok   { border-color: var(--c-ok);   background: var(--c-ok-bg); }
.notice--warn { border-color: var(--c-warn); background: var(--c-warn-bg); }
.notice--err  { border-color: var(--c-err);  background: var(--c-err-bg); }

/* ===================== ZGODA NA CIASTECZKA =====================
   Okno na srodku ekranu, tlo strony rozmyte. Pokazujemy je przy
   pierwszej wizycie; wybor pamieta localStorage. */

.cc {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.cc[hidden] { display: none; }
.cc.is-visible { opacity: 1; }

.cc__backdrop {
  position: absolute;
  inset: 0;
  /* Kolor zapasowy dla przegladarek bez color-mix() - lepiej ciemna
     plansza niz przezroczysta, bo tekst okna musi byc czytelny. */
  background: rgba(30, 24, 46, .82);
  background: color-mix(in srgb, var(--c-brand-900) 78%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cc__card {
  position: relative;
  z-index: 1;
  width: min(680px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.5rem clamp(1.4rem, 1rem + 2vw, 3rem) 2rem;
  text-align: center;
  background: var(--c-surface);
  color: var(--c-body);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
  transform: translateY(18px) scale(.98);
  transition: transform .32s var(--ease);
}
.cc.is-visible .cc__card { transform: none; }

.cc__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
}
.cc__mark .ico { width: 1.6rem; height: 1.6rem; }

.cc__title {
  margin: 0 0 .5rem;
  font-family: var(--f-head);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.2;
  color: var(--c-ink);
}
.cc__lead { margin: 0 0 1.1rem; color: var(--c-accent-600); font-size: var(--fs-sm); }
.cc__msg { margin: 0 auto 1.25rem; max-width: 56ch; font-size: var(--fs-sm); line-height: 1.65; }

.cc__list {
  list-style: none;
  margin: 0 auto 1.6rem;
  padding: 1.1rem 1.3rem;
  max-width: 56ch;
  text-align: left;
  background: var(--c-surface-2);
  border-radius: var(--r-md);
}
.cc__list li {
  position: relative;
  margin: 0 0 .6rem;
  padding-left: 1.15rem;
  font-size: var(--fs-xs);
  line-height: 1.6;
}
.cc__list li:last-child { margin-bottom: 0; }
.cc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-brand-400);
}
.cc__list strong { color: var(--c-ink); }

.cc__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.cc__btn {
  flex: 1 1 210px;
  max-width: 270px;
  min-height: 3.1rem;
  padding: .9rem 1.5rem;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  font-weight: 650;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.cc__btn--accept { background: var(--c-brand-600); color: #fff; }
.cc__btn--accept:hover { background: var(--c-brand-700); }
.cc__btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-line);
}
.cc__btn--ghost:hover { background: var(--c-surface-2); border-color: var(--c-brand-300); }
.cc__btn:focus-visible { outline: 2px solid var(--c-brand-600); outline-offset: 3px; }

.cc__note { margin: 1.15rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.5; }
.cc__note a { color: var(--c-brand-600); margin-left: .25rem; }

/* Blokada przewijania strony pod otwartym oknem. */
html.cc-lock, html.cc-lock body { overflow: hidden !important; }

@media (max-width: 640px) {
  .cc { padding: 14px 12px; }
  .cc__card { width: 100%; max-height: 94vh; padding: 1.85rem 1.25rem 1.5rem; }
  .cc__actions { flex-direction: column; }
  .cc__btn { width: 100%; max-width: none; flex: none; }
}

/* ==== _header.css ==== */
/* ===================== PASEK GORNY ===================== */

.topbar {
  background: var(--c-brand-800);
  color: var(--c-ondark-muted);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: var(--sp-5); list-style: none; padding: 0; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: .4rem; }
.topbar__list svg { width: 14px; height: 14px; opacity: .8; flex: none; }
@media (max-width: 700px) { .topbar { display: none; } }

/* ===================== NAGLOWEK ===================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--c-surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: var(--header-h);
}

/* --- Logo --- */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.brand img { max-height: 46px; width: auto; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-brand-600), var(--c-accent-600));
  color: #fff;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name {
  font-family: var(--f-head); font-weight: 800; font-size: 1.05rem;
  color: var(--c-ink); letter-spacing: -.02em;
}
.brand__tag { font-size: .7rem; color: var(--c-muted); letter-spacing: .06em; text-transform: uppercase; }

/* --- Nawigacja --- */
.nav { margin-left: auto; }

.nav ul { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a {
  display: block;
  padding: .55rem .85rem;
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-body);
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a { color: var(--c-brand-700); background: var(--c-brand-50); }

/* --- Podmenu --- */
.nav .sub-menu {
  position: absolute; top: calc(100% + .5rem); left: 0;
  min-width: 230px;
  display: block;
  flex-direction: column;
  gap: 0;
  padding: .4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub-menu a { border-radius: var(--r-sm); padding: .55rem .75rem; font-weight: 500; }
.nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; margin-left: .35rem;
  width: .4em; height: .4em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* --- Akcje w naglowku --- */
.header-actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-actions .btn { padding: .62rem 1.15rem; }

.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-line);
  background: var(--c-surface);
  color: var(--c-brand-700);
  cursor: pointer;
  position: relative;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.icon-btn:hover { border-color: var(--c-brand-300); background: var(--c-brand-50); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 19px; height: 19px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--c-accent-600); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
}

/* --- Hamburger --- */
.nav-toggle { display: none; }

@media (max-width: 1024px) {
  .nav-toggle { display: grid; }
  .header-actions .btn--desktop { display: none; }

  /* Na waskim ekranie nic w pasku nie moze rosnac ponad miare: przyciski
     zostaja w calosci, a skraca sie nazwa marki. Wczesniej caly pasek
     wychodzil poza ekran i przycisk menu ladowal poza widokiem. */
  /* Rozmycie tla zdejmujemy na czas malych ekranow. backdrop-filter
     czyni z naglowka blok zawierajacy dla potomkow position: fixed,
     przez co panel menu pozycjonowal sie wzgledem paska zamiast okna
     i wychodzil z niego wysokosci prawie zerowej - widac bylo tylko
     pierwsza pozycje. Tutaj naglowek i tak lezy na pelnym panelu,
     wiec efekt mrozonego szkla niczego nie wnosi. */
  .site-header {
    background: var(--c-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header__inner { gap: .75rem; }
  /* Nawigacja jest tu wysunieta z ukladu (position: fixed), wiec to
     przyciski musza dosunac sie do prawej krawedzi. */
  .header-actions { gap: .4rem; margin-left: auto; }
  .brand { flex: 0 1 auto; }
  .brand__tag {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  /* Podtytul obok logo jest najdluzszym napisem w pasku - na telefonie
     ustepuje miejsca przyciskom. Nazwa gabinetu zostaje, ale lamie sie
     na dwa wiersze zamiast urywac wielokropkiem: "Centrum ..." nie mowi
     nikomu, gdzie jest. */
  .brand__tag { display: none; }
  .brand { gap: .55rem; }
  .brand__mark { width: 38px; height: 38px; border-radius: 10px; }
  .brand__mark svg { width: 21px; height: 21px; }
  .brand__name {
    font-size: .92rem;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 18px; height: 18px; }
}

@media (max-width: 1024px) {

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--c-surface);
    padding: var(--sp-5) 0 var(--sp-8);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    margin-left: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0;
            width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
  .nav > div > ul > li { border-bottom: 1px solid var(--c-line); }
  .nav a { padding: 1rem .25rem; font-size: var(--fs-lg); border-radius: 0; }
  .nav a:hover { background: transparent; }
  .nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; min-width: 0;
  }
  .nav .sub-menu a { font-size: var(--fs-base); padding: .5rem .25rem; }
}

body.nav-open { overflow: hidden; }

.burger { width: 20px; height: 14px; position: relative; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }


/* --- Przelacznik motywu ---
   Obie ikony leza na sobie; widoczna jest ta, ktora zapowiada wynik
   klikniecia, a nie ta, ktora opisuje stan biezacy. W jasnym motywie
   pokazujemy ksiezyc, bo klikniecie wlaczy ciemny. */
.theme-toggle { position: relative; }
.theme-toggle span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.theme-toggle__sun  { opacity: 0; transform: rotate(-90deg) scale(.6); }
.theme-toggle__moon { opacity: 1; transform: none; }

:root[data-theme="dark"] .theme-toggle__sun  { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.6); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun  { opacity: 1; transform: none; }
  :root:not([data-theme="light"]) .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.6); }
}

/* --- Przelacznik jezyka ---
   Lista rozwija sie na hover i na fokus klawiatury, wiec dziala takze
   bez JavaScriptu. Kod jezyka w przycisku zamiast flagi: flaga oznacza
   kraj, nie jezyk, a ukrainskim mowi sie w wielu miejscach. */

.lang { position: relative; }

.lang__toggle {
  font-family: var(--f-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
}
.lang__current { line-height: 1; }

.lang__list {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  z-index: 20;
  min-width: 168px;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.lang:hover .lang__list,
.lang:focus-within .lang__list,
.lang__toggle[aria-expanded="true"] + .lang__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang__list a {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--c-body);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.lang__list a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.lang__list a[aria-current="true"] { background: var(--c-brand-50); color: var(--c-brand-700); font-weight: 650; }

.lang__code {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  min-width: 2ch;
}
.lang__name { color: var(--c-muted); font-size: var(--fs-xs); }
.lang__list a:hover .lang__name,
.lang__list a[aria-current="true"] .lang__name { color: inherit; }

/* ==== _hero.css ==== */
/* ===================== HERO ===================== */

.hero {
  position: relative;
  padding-block: clamp(3rem, 1.5rem + 6vw, 6rem) clamp(3.5rem, 2rem + 7vw, 7rem);
  background:
    radial-gradient(1100px 620px at 78% -8%,  var(--c-accent-100) 0%, transparent 62%),
    radial-gradient(900px 560px at 4% 8%,     var(--c-brand-50)   0%, transparent 60%),
    linear-gradient(180deg, var(--c-surface) 0%, var(--c-surface-2) 100%);
  overflow: hidden;
}

/* Miekkie ksztalty w tle - dekoracja, ukryta dla czytnikow */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .38;
  pointer-events: none;
}
.hero__blob--1 { width: 460px; height: 460px; top: -160px; right: -110px;
                 background: var(--c-accent-300); }
.hero__blob--2 { width: 380px; height: 380px; bottom: -180px; left: -120px;
                 background: var(--c-warm-400); opacity: .3; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
}

.hero__title { margin-bottom: var(--sp-4); }
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--c-brand-600), var(--c-accent-600));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: var(--fs-lg);
  color: var(--c-muted);
  max-width: 34rem;
  margin-bottom: var(--sp-6);
}

/* --- Punkty zaufania --- */
.hero__points {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-6);
}
.hero__points li {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-sm); font-weight: 550; color: var(--c-ink);
}
.hero__points svg { width: 18px; height: 18px; color: var(--c-mint-600); flex: none; }

/* --- Obraz --- */
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.hero__media--placeholder {
  aspect-ratio: 4 / 3.4;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--c-brand-200), var(--c-accent-300) 55%, var(--c-warm-200));
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  color: rgba(255,255,255,.85);
}
.hero__media--placeholder svg { width: 96px; height: 96px; }

/* --- Plywajaca karta z najblizszym terminem --- */
.hero__float {
  position: absolute;
  left: -18px; bottom: -22px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: var(--sp-4);
  max-width: 300px;
}
.hero__float svg { width: 34px; height: 34px; color: var(--c-mint-600); flex: none; }
.hero__float strong { display: block; font-family: var(--f-head); font-size: var(--fs-sm); }
.hero__float span { font-size: var(--fs-xs); color: var(--c-muted); }
@media (max-width: 560px) { .hero__float { position: static; margin-top: var(--sp-4); max-width: none; } }

/* ===================== PASEK LICZB ===================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--c-brand-600), var(--c-accent-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.05;
}
.stat__label { font-size: var(--fs-sm); color: var(--c-muted); margin-top: .3rem; }

/* ===================== NAGLOWEK PODSTRONY ===================== */

.page-hero {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background:
    radial-gradient(800px 400px at 82% -20%, var(--c-accent-100) 0%, transparent 62%),
    linear-gradient(180deg, var(--c-brand-50), var(--c-surface));
  border-bottom: 1px solid var(--c-line);
}
.page-hero h1 { max-width: 24ch; }
.page-hero .sec-lead { max-width: 52ch; }

.breadcrumbs {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-bottom: var(--sp-3);
}
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-brand-600); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--c-ink); font-weight: 600; }
.breadcrumbs .sep { margin: 0 .45rem; opacity: .5; }

/* ==== _sections.css ==== */
/* ===================== USLUGI ===================== */

.service-card {
  display: flex; flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--c-brand-500), var(--c-accent-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card__meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: auto; padding-top: var(--sp-4);
}
.service-card__price {
  font-family: var(--f-head); font-weight: 800;
  font-size: var(--fs-xl); color: var(--c-ink);
}
.service-card__price small { font-size: var(--fs-xs); font-weight: 500; color: var(--c-muted); }

/* ===================== ZESPOL ===================== */

.person { text-align: center; }
.person__photo {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: var(--c-brand-100);
  margin-bottom: var(--sp-4);
}
.person__photo--ph {
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--c-brand-100), var(--c-warm-200));
  color: var(--c-brand-400);
}
.person__photo--ph svg { width: 46%; height: 46%; }
.person__name { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-lg); color: var(--c-ink); }
.person__role { font-size: var(--fs-sm); color: var(--c-accent-600); font-weight: 600; margin-bottom: .5rem; }
.person__bio  { font-size: var(--fs-sm); color: var(--c-muted); }
.person__tags { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: var(--sp-3); }

/* ===================== JAK TO DZIALA ===================== */

.steps { counter-reset: krok; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-brand-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
@media (max-width: 860px) { .steps::before { display: none; } }
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  counter-increment: krok;
  width: 64px; height: 64px; margin: 0 auto var(--sp-4);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-brand-200);
  font-family: var(--f-head); font-weight: 800; font-size: 1.3rem;
  color: var(--c-brand-600);
  box-shadow: var(--shadow-md);
}
.step__num::before { content: counter(krok); }
.step h3 { font-size: var(--fs-lg); margin-bottom: .4rem; }
.step p { font-size: var(--fs-sm); color: var(--c-muted); }

/* ===================== FAQ ===================== */

.faq { max-width: 62rem; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item[open] { border-color: var(--c-brand-300); box-shadow: var(--shadow-md); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--f-head); font-weight: 650; font-size: var(--fs-base);
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-brand-700); }
.faq__q::after {
  content: ""; flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--c-brand-500);
  border-bottom: 2px solid var(--c-brand-500);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translateY(-3px); }
.faq__a { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-muted); font-size: var(--fs-sm); }
.faq__a > * + * { margin-top: var(--sp-3); }

/* ===================== OPINIE ===================== */

.quote {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex; flex-direction: column;
}
.quote__stars { color: #E8A33D; letter-spacing: .12em; margin-bottom: var(--sp-3); font-size: var(--fs-sm); }
.quote__text { color: var(--c-body); font-size: var(--fs-sm); flex: 1; }
.quote__text::before { content: "\201E"; }
.quote__text::after  { content: "\201D"; }
.quote__who { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--c-muted); }
.quote__who strong { display: block; color: var(--c-ink); font-size: var(--fs-sm); }

/* ===================== CTA ===================== */

.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 1.5rem + 3.5vw, 4rem);
  /* Wlasne tokeny, bo w ciemnym motywie skala fioletu jest odwrocona
     i gradient z brand-600 zrobilby jasny pas na ciemnej stronie. */
  --cta-a: var(--c-brand-800);
  --cta-b: var(--c-brand-600);
  --cta-c: var(--c-accent-700);
  background: linear-gradient(125deg, var(--cta-a) 0%, var(--cta-b) 52%, var(--cta-c) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 15% 120%, rgba(255,255,255,.16), transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 48ch; margin: var(--sp-4) auto var(--sp-6); }

/* .btn-row jest flexem, wiec samo text-align rodzica go nie wysrodkuje. */
.cta-band .btn-row { justify-content: center; }

/* ===================== KONTAKT ===================== */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--c-brand-600); flex: none; margin-top: 3px; }
.contact-list__label { font-family: var(--f-head); font-weight: 650; font-size: var(--fs-sm); color: var(--c-ink); margin-bottom: .15rem; }
.contact-list__value { font-size: var(--fs-sm); color: var(--c-muted); }
.contact-list a { color: var(--c-brand-600); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Godziny otwarcia --- */
.hours { list-style: none; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  padding: .6rem 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: var(--fs-sm);
}
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--c-body); }
.hours .time { font-family: var(--f-head); font-weight: 650; color: var(--c-ink); }
.hours .is-today { color: var(--c-accent-600); }
.hours .closed { color: var(--c-muted); font-weight: 500; }

/* ===================== ALERT KRYZYSOWY ===================== */

.crisis {
  border: 1px solid var(--c-warm-200);
  background: var(--c-warm-100);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex; gap: var(--sp-4); align-items: flex-start;
}
.crisis svg { width: 26px; height: 26px; color: var(--c-warm-600); flex: none; margin-top: 2px; }
.crisis h3 { font-size: var(--fs-lg); margin-bottom: .35rem; }
.crisis p { font-size: var(--fs-sm); color: var(--c-body); }
.crisis a { font-weight: 650; }

/* ===================== LISTA Z PTASZKAMI ===================== */

.tick-list { list-style: none; padding: 0; margin-top: var(--sp-4); }
.tick-list li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--c-muted);
}
.tick-list li + li { margin-top: .5rem; }
.tick-list svg { width: 16px; height: 16px; color: var(--c-mint-600); flex: none; margin-top: 5px; }

.card__age { margin-bottom: var(--sp-3); }

/* ===================== SEKCJA ZAUFANIA ===================== */

.trust__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-ondark-line);
  color: var(--c-accent-300);
  margin-bottom: var(--sp-4);
}
.trust__icon svg { width: 24px; height: 24px; }
.trust h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.trust p { font-size: var(--fs-sm); color: var(--c-ondark-muted); }

.grow { flex: 1; }


/* Gradient wezwania do dzialania w ciemnym motywie - stale, ciemne
   odcienie zamiast odwroconej skali. */
:root[data-theme="dark"] .cta-band,
:root[data-theme="dark"] .section--brand {
  --cta-a: #2A2340;
  --cta-b: #3E3460;
  --cta-c: #5A3F52;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta-band,
  :root:not([data-theme="light"]) .section--brand {
    --cta-a: #2A2340;
    --cta-b: #3E3460;
    --cta-c: #5A3F52;
  }
}

/* ==== _woo.css ==== */
/* ===================== WOOCOMMERCE ===================== */

.woocommerce-notices-wrapper:empty { display: none; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  border-left: 4px solid var(--c-brand-500);
  background: var(--c-brand-50);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}
.woocommerce-message { border-color: var(--c-ok); background: var(--c-ok-bg); }
.woocommerce-error   { border-color: var(--c-err); background: var(--c-err-bg); }
.woocommerce-message .button, .woocommerce-info .button { float: right; }

/* --- Przyciski WooCommerce --- */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.6rem;
  font-family: var(--f-head); font-size: var(--fs-sm); font-weight: 650;
  color: #fff; background: var(--c-brand-600);
  border: 0; border-radius: var(--r-pill);
  cursor: pointer; text-decoration: none;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.woocommerce .button:hover, .woocommerce a.button:hover,
.woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--c-brand-700); color: #fff; transform: translateY(-2px);
}
.woocommerce button.button.alt,
.woocommerce #place_order { background: var(--c-accent-600); box-shadow: 0 12px 30px rgba(163,43,178,.24); }
.woocommerce button.button.alt:hover, .woocommerce #place_order:hover { background: var(--c-accent-700); }

/* --- Pola formularzy WC --- */
.woocommerce form .form-row { margin-bottom: var(--sp-4); padding: 0; }
.woocommerce form .form-row label {
  display: block; margin-bottom: .4rem;
  font-family: var(--f-head); font-weight: 650; font-size: var(--fs-sm); color: var(--c-ink);
}
.woocommerce form .form-row .required { color: var(--c-err); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
  width: 100%;
  padding: .78rem 1rem;
  height: auto;
  font-size: var(--fs-base);
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.woocommerce form .form-row :is(input, textarea, select):focus,
.select2-container--open .select2-selection--single {
  outline: none; border-color: var(--c-brand-400);
  box-shadow: 0 0 0 4px var(--c-brand-100);
}
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.5; }
.select2-container .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); right: 10px; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--c-err); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--c-ok); }

/* --- Kasa --- */
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }

#customer_details, #order_review_heading, #order_review { width: 100%; float: none; }

.checkout-layout { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-layout__side { position: sticky; top: calc(var(--header-h) + 1.25rem); }

.woocommerce-checkout-review-order,
.woocommerce .cart_totals {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.woocommerce table.shop_table {
  border: 0; border-radius: 0; font-size: var(--fs-sm); margin: 0;
}
.woocommerce table.shop_table :is(th, td) {
  padding: .75rem 0; border-top: 0; border-bottom: 1px solid var(--c-line);
}
.woocommerce table.shop_table tfoot :is(th, td) { font-weight: 650; }
.woocommerce table.shop_table .order-total :is(th, td) {
  font-size: var(--fs-lg); color: var(--c-ink); border-bottom: 0; padding-top: 1rem;
}

/* --- Metody platnosci --- */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods {
  padding: 0; border: 0; list-style: none; display: grid; gap: .6rem;
}
.woocommerce-checkout #payment ul.payment_methods li {
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  background: var(--c-surface);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
  border-color: var(--c-brand-400); background: var(--c-brand-50);
}
.woocommerce-checkout #payment ul.payment_methods li label {
  font-family: var(--f-head); font-weight: 650; font-size: var(--fs-sm);
  color: var(--c-ink); cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
}
.woocommerce-checkout #payment ul.payment_methods li input[type=radio] {
  accent-color: var(--c-brand-600); width: 18px; height: 18px;
}
.woocommerce-checkout #payment div.payment_box {
  background: transparent; padding: .75rem 0 0 1.75rem; font-size: var(--fs-sm); color: var(--c-muted);
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment .place-order { padding: var(--sp-5) 0 0; }
.woocommerce #payment #place_order { width: 100%; }

/* --- Moje konto --- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px 1fr; gap: var(--sp-6); }
@media (max-width: 780px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-MyAccount-navigation { width: 100%; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: .25rem; }
.woocommerce-MyAccount-navigation a {
  display: block; padding: .7rem 1rem;
  border-radius: var(--r-md);
  font-family: var(--f-head); font-weight: 600; font-size: var(--fs-sm);
  color: var(--c-body); text-decoration: none;
}
.woocommerce-MyAccount-navigation a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--c-brand-600); color: #fff; }
.woocommerce-MyAccount-content { width: 100%; float: none; }

/* --- Koszyk --- */
.woocommerce table.cart img { width: 64px; border-radius: var(--r-sm); }
.woocommerce a.remove {
  color: var(--c-err) !important; font-weight: 700;
  width: 26px; height: 26px; line-height: 24px; border-radius: 50%;
}
.woocommerce a.remove:hover { background: var(--c-err); color: #fff !important; }

.woocommerce .quantity input.qty {
  width: 72px; padding: .5rem; text-align: center;
  border: 1.5px solid var(--c-line); border-radius: var(--r-md);
}

/* --- Ukryj zbedne w gabinecie --- */
.woocommerce .product .woocommerce-product-rating,
.woocommerce .related.products,
.woocommerce .up-sells,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #ship-to-different-address { display: none; }

.woocommerce-price-amount, .woocommerce-Price-amount {
  font-family: var(--f-head); font-weight: 700; color: var(--c-ink);
}

/* ===================== STRONA WIZYTY =====================
   Wizyta nie jest towarem: bez galerii, ceny obok tytulu, zakladek
   i opinii. Kolumna z podsumowaniem produktu rozciaga sie na cala
   szerokosc, zeby kalendarz mial gdzie sie rozlozyc. */

body.psy-strona-wizyty div.product { display: block; }

body.psy-strona-wizyty div.product div.summary,
body.psy-strona-wizyty div.product .entry-summary {
  width: 100%;
  max-width: none;
  float: none;
  margin: 0;
}

body.psy-strona-wizyty div.product div.images,
body.psy-strona-wizyty .woocommerce-product-gallery,
body.psy-strona-wizyty .woocommerce-tabs,
body.psy-strona-wizyty div.product .product_meta,
body.psy-strona-wizyty div.product form.cart,
body.psy-strona-wizyty div.product p.price,
body.psy-strona-wizyty div.product .woocommerce-product-rating,
body.psy-strona-wizyty div.product .woocommerce-product-details__short-description,
body.psy-strona-wizyty .related.products,
body.psy-strona-wizyty .up-sells,
body.psy-strona-wizyty #reviews {
  display: none !important;
}

body.psy-strona-wizyty div.product .product_title {
  font-family: var(--f-head);
  font-size: var(--fs-3xl);
  color: var(--c-ink);
  margin-bottom: var(--sp-2);
}

/* Krotkie wprowadzenie nad kreatorem - tyle wystarczy. */
body.psy-strona-wizyty .psy-lead-in {
  font-size: var(--fs-lg);
  color: var(--c-muted);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}

body.psy-strona-wizyty .psy-wizard { margin-top: var(--sp-5); }


/* WooCommerce ustawia kolumny produktu na float. Skoro zdejmujemy
   galerie i rozciagamy podsumowanie, trzeba jeszcze domknac plywanie -
   inaczej stopka wsuwa sie pod kalendarz. */
body.psy-strona-wizyty div.product::after {
  content: "";
  display: table;
  clear: both;
}

body.psy-strona-wizyty .woocommerce-notices-wrapper:empty { display: none; }

/* ===================== LOGOWANIE I KONTO =====================
   Domyslny formularz WooCommerce to waska ramka wrzucona na srodek
   pustej strony. Ukladamy go jako dwie kolumny: po lewej powod, dla
   ktorego warto miec konto, po prawej samo logowanie. */

.woocommerce-account:not(.logged-in) .woocommerce {
  display: block;
  max-width: 980px;
  margin-inline: auto;
}

.psy-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (max-width: 820px) {
  .psy-login { grid-template-columns: 1fr; }
  .psy-login__aside { order: 2; }
}

.psy-login__aside h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}
.psy-login__aside p { color: var(--c-muted); margin-bottom: var(--sp-5); }

.psy-login__list { list-style: none; padding: 0; display: grid; gap: var(--sp-4); }
.psy-login__list li { display: flex; gap: .75rem; align-items: flex-start; }
.psy-login__list svg { width: 20px; height: 20px; color: var(--c-brand-500); flex: none; margin-top: 3px; }
.psy-login__list strong {
  display: block;
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  color: var(--c-ink);
}
.psy-login__list span { font-size: var(--fs-sm); color: var(--c-muted); }

/* --- Sama ramka logowania --- */
.woocommerce-account .u-column1.col-1,
.woocommerce-account form.woocommerce-form-login {
  width: 100%;
  float: none;
  margin: 0;
}

.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register,
.woocommerce form.lost_reset_password {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}

.woocommerce form.woocommerce-form-login .form-row { margin-bottom: var(--sp-4); }

.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce form.lost_reset_password button {
  width: 100%;
  margin: var(--sp-2) 0 0;
  float: none;
  padding: .95rem 1.5rem;
  font-size: var(--fs-base);
}

.woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  float: none;
}
.woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme input {
  width: 18px; height: 18px; margin: 0; accent-color: var(--c-brand-600);
}

.woocommerce-LostPassword {
  margin: var(--sp-4) 0 0;
  text-align: center;
  font-size: var(--fs-sm);
}
.woocommerce-LostPassword a { color: var(--c-muted); }
.woocommerce-LostPassword a:hover { color: var(--c-brand-600); }

/* Podglad hasla, ktory Woo dorzuca do pola */
.woocommerce form .password-input { display: block; position: relative; }
.woocommerce form .show-password-input {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-muted);
  cursor: pointer;
}

.psy-login__foot {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  text-align: center;
}
.psy-login__foot a { font-weight: 600; }

/* ==== _footer.css ==== */
/* ===================== STOPKA ===================== */

.site-footer {
  background: var(--c-brand-900);
  color: var(--c-ondark-muted);
  padding-block: var(--sp-8) var(--sp-5);
  font-size: var(--fs-sm);
}
.site-footer h4 {
  color: #fff; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: .09em;
  margin-bottom: var(--sp-4);
}
.site-footer a { color: var(--c-ondark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li + li { margin-top: .55rem; }

.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag  { color: var(--c-ondark-muted); }
.footer-about { margin-top: var(--sp-4); color: var(--c-ondark-muted); max-width: 34ch; }

.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; opacity: .7; flex: none; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid var(--c-ondark-line);
  padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs);
  color: var(--c-ondark-muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); list-style: none; padding: 0; margin: 0; }

.socials { display: flex; gap: .5rem; margin-top: var(--sp-5); }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.socials a:hover { background: var(--c-accent-600); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* --- Przycisk "do gory" --- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--c-brand-700); color: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-accent-600); }
.to-top svg { width: 20px; height: 20px; }

/* --- Pasek mobilny z CTA --- */
/* Wyzej niz naglowek (z-index 100), zeby pasek z telefonem i rezerwacja
   zostal widoczny takze przy otwartym menu - to sa dwie rzeczy, po ktore
   ktos siega najczesciej, wiec menu nie powinno ich zaslaniac. */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: none;
  gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--c-surface) 96%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 20px rgba(36,18,70,.08);
}
.mobile-cta .btn { flex: 1; padding: .78rem .5rem; font-size: var(--fs-xs); }
@media (max-width: 700px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .to-top { bottom: 78px; }

  /* Ostatnia pozycja menu musi dac sie doscrollowac ponad paskiem. */
  .nav { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* ===================== TRESC WPISU / STRONY ===================== */

.entry-content { font-size: var(--fs-base); }
.entry-content > * + * { margin-top: var(--sp-4); }
.entry-content > h2 { margin-top: var(--sp-7); }
.entry-content > h3 { margin-top: var(--sp-6); }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li + li { margin-top: .4rem; }
.entry-content img, .entry-content figure { border-radius: var(--r-md); }
.entry-content figcaption { font-size: var(--fs-xs); color: var(--c-muted); margin-top: .5rem; text-align: center; }
.entry-content table { font-size: var(--fs-sm); }
.entry-content :is(th, td) { padding: .7rem .85rem; border-bottom: 1px solid var(--c-line); text-align: left; }
.entry-content th { font-family: var(--f-head); color: var(--c-ink); background: var(--c-surface-3); }
.entry-content .alignwide { width: min(100vw - 3rem, 1180px); margin-inline: auto; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Wpisy blogowe --- */
.post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.post-card__thumb { aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
                    background: var(--c-brand-100); }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: .5rem; }
.post-card h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--c-brand-600); }

.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: var(--sp-7); flex-wrap: wrap; }
.pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 .75rem;
  border: 1.5px solid var(--c-line); border-radius: var(--r-md);
  font-family: var(--f-head); font-weight: 650; font-size: var(--fs-sm);
  color: var(--c-body); text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--c-brand-300); background: var(--c-brand-50); }
.pagination .current { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; }

/* --- Animacja wejscia --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* --- Druk --- */
@media print {
  .site-header, .site-footer, .mobile-cta, .to-top, .topbar { display: none !important; }
  body { padding: 0; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ===================== DROBIAZGI SZABLONOW ===================== */

.post-meta { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--sp-3); }
.post-meta .sep { margin: 0 .5rem; opacity: .5; }

.page-thumb { margin-bottom: var(--sp-6); }
.page-thumb img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

.entry-terms { display: flex; flex-wrap: wrap; gap: .4rem; }
.entry-terms a {
  display: inline-flex; padding: .28rem .75rem;
  border-radius: var(--r-pill);
  background: var(--c-brand-50); color: var(--c-brand-700);
  font-size: var(--fs-xs); font-weight: 600; text-decoration: none;
}
.entry-terms a:hover { background: var(--c-brand-100); }

.post-nav {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
}
.post-nav a { font-family: var(--f-head); font-weight: 600; text-decoration: none; }
.post-nav__next { margin-left: auto; text-align: right; }

.searchform__row { display: flex; gap: .5rem; }
.searchform__row .input { flex: 1; }

.sidebar { display: grid; gap: var(--sp-5); align-content: start; }
.widget__title { font-size: var(--fs-base); margin-bottom: var(--sp-3); }
.widget ul { list-style: none; padding: 0; font-size: var(--fs-sm); }
.widget li + li { margin-top: .5rem; }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }

/* Komentarze - na stronie gabinetu zwykle wylaczone, ale gdy sa, maja wygladac. */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.comment-list .children { list-style: none; padding-left: var(--sp-5); }
.comment-form .form-submit { margin-top: var(--sp-4); }
