/* ============================================================================
   Położna Wie Co Można — site.css (jedyny arkusz serwisu; D23)
   Źródło wyglądu: _reference/handoff-v3/makiety/*.dc.html (1:1). Mapa klas: _reference/design-system-notes.md.
   Kolory wyłącznie przez zmienne ról (K5). Tryb ciemny: light-dark() + color-scheme sterowany
   atrybutem data-theme na <html> (D27). Rozmiary tekstu w rem (16 px = 1 rem).
   Breakpointy z makiet: 640 px i 920 px (nav zwija się ≤ 920).
   ============================================================================ */

/* ---------- 0. Fonty self-hosted (D26) — fonty zmienne, subset „pl" (Basic Latin + Latin-1 + Latin Ext-A + interpunkcja);
   blok generowany przez tools/fonts/subset.py (źródło: google/fonts). Jeden plik na rodzinę, oba preloadowane w head.html. ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/assets/fonts/nunito-pl.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0100-017F, U+0218-021B, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-pl.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0100-017F, U+0218-021B, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. Tokeny (role) ---------- */
:root {
  color-scheme: light dark;

  /* Fallback dla przeglądarek bez light-dark(): wartości jasne. Nadpisywane niżej. */
  --bg: #FFF3EB; --bg-alt: #fff; --bg-peach: #FFE5D2; --card: #fff; --raised: #fff;
  --text: #1F0515; --text-2: #4A3A40; --text-3: #6A5A60; --path: #FFCDD9;
  --seg-ciaza: #D9E6F0; --seg-polog: #FFE5D2; --seg-karmienie: #FFCDD9;
  --rule: rgba(31,5,21,.08); --rule-soft: rgba(31,5,21,.06); --rule-strong: rgba(31,5,21,.12);
  --focus: #1F0515; --sq: #fff; --chip-bg: #fff; --chip-border: rgba(31,5,21,.12);
  --chip-active-bg: #1F0515; --chip-active-text: #FFF3EB; --nav-bg: rgba(255,243,235,.92); --footer: #1F0515;

  /* Role: jasny / ciemny (wartości z handoff-v3/README.md „Design tokens" + „Tryb ciemny") */
  --bg:             light-dark(oklch(97.1% 0.017 56.2), oklch(19% 0.035 345));     /* krem — tło strony */
  --bg-alt:         light-dark(#fff, oklch(23% 0.035 345));                         /* duże białe sekcje */
  --bg-peach:       light-dark(oklch(93.8% 0.038 58.4), oklch(23% 0.035 345));      /* duże brzoskwiniowe tła */
  --card:           light-dark(#fff, oklch(26% 0.04 345));                          /* karty, boksy */
  --raised:         light-dark(#fff, oklch(31% 0.045 345));                         /* element nad zdjęciem (pigułka oceny) */
  --text:           light-dark(oklch(17.3% 0.053 345.3), oklch(93% 0.015 56));      /* śliwka → krem */
  --text-2:         light-dark(#4A3A40, oklch(80% 0.02 40));                        /* tekst drugorzędny */
  --text-3:         light-dark(#6A5A60, oklch(80% 0.02 40));                        /* mały, meta, podpisy */
  --path:           light-dark(oklch(89.5% 0.058 2.3), oklch(32% 0.07 2));          /* róż — sekcja ścieżki (konsultacja, CTA) */
  --seg-ciaza:      light-dark(#D9E6F0, oklch(30% 0.04 240));
  --seg-polog:      light-dark(oklch(93.8% 0.038 58.4), oklch(30% 0.04 58));
  --seg-karmienie:  light-dark(oklch(89.5% 0.058 2.3), oklch(30% 0.05 2));
  --rule:           light-dark(rgba(31,5,21,.08), oklch(93% 0.015 56 / .16));
  --rule-soft:      light-dark(rgba(31,5,21,.06), oklch(93% 0.015 56 / .16));
  --rule-strong:    light-dark(rgba(31,5,21,.12), oklch(93% 0.015 56 / .35));
  --focus:          light-dark(oklch(17.3% 0.053 345.3), oklch(73.2% 0.165 21.5));  /* fokus: śliwka → koral */
  --sq:             light-dark(#fff, oklch(93% 0.015 56));                          /* małe białe kwadraty/kółka → krem */
  --chip-bg:        light-dark(#fff, oklch(26% 0.04 345));
  --chip-border:    light-dark(rgba(31,5,21,.12), oklch(93% 0.015 56 / .35));
  --chip-active-bg: light-dark(oklch(17.3% 0.053 345.3), oklch(93% 0.015 56));
  --chip-active-text: light-dark(oklch(97.1% 0.017 56.2), oklch(17.3% 0.053 345.3));
  --nav-bg:         light-dark(rgba(255,243,235,.92), oklch(19% 0.035 345 / .92));
  --footer:         light-dark(oklch(17.3% 0.053 345.3), oklch(14.5% 0.03 345));    /* stopka, menu mobilne */

  /* Stałe (te same w obu motywach) */
  --accent: oklch(73.2% 0.165 21.5);        /* koral #FF7879 — akcja */
  --accent-hover: oklch(89.5% 0.058 2.3);   /* róż #FFCDD9 — hover przycisku */
  --on-accent: #fff;
  --plum: oklch(17.3% 0.053 345.3);         /* śliwka #1F0515 — tekst na jasnych stałych elementach */
  --cream: oklch(97.1% 0.017 56.2);         /* krem #FFF3EB */
  --peach: #FFE5D2;                         /* kółko „+" w FAQ/TOC (zawsze jasne) */
  --tag-cia: #D9E6F0; --tag-pol: #FFE5D2; --tag-lak: #FFCDD9;   /* pigułki tagów, kropki, zawsze jasne + śliwkowy tekst */
  --on-footer: oklch(97.1% 0.017 56.2); --on-footer-2: rgba(255,243,235,.75); --on-footer-3: rgba(255,243,235,.5);
  --footer-rule: rgba(255,243,235,.12); --footer-rule-2: rgba(255,243,235,.25);
  --messenger: #3A6FC4; --messenger-hover: #2D5AA3; --whatsapp: #1B8048; --whatsapp-hover: #13693A;
  --shadow-static: 0 14px 40px rgba(31,5,21,.14);   /* tylko elementy statyczne (D01) */
  --img-filter: none;

  --ff-head: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 40px);
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

/* Tokeny nie-kolorowe i podmiana logo w trybie ciemnym (auto + wymuszony) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --shadow-static: 0 0 0 1px oklch(93% 0.015 56 / .18), 0 14px 40px rgba(0,0,0,.45); --img-filter: brightness(.88); }
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] { --shadow-static: 0 0 0 1px oklch(93% 0.015 56 / .18), 0 14px 40px rgba(0,0,0,.45); --img-filter: brightness(.88); }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* ---------- 2. Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
p, li, h1, h2, h3, blockquote, figcaption, summary { text-wrap: pretty; }
::selection { background: var(--accent-hover); color: var(--plum); }
.on-dark ::selection { background: var(--accent); color: var(--plum); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--on-footer); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -100px; z-index: 400; padding: 12px 16px; background: var(--chip-active-bg); color: var(--chip-active-text); border-radius: var(--r-pill); font-weight: 600; }
.skip:focus { top: 8px; }
.photo { filter: var(--img-filter); }
.desk-only { display: block; }
.mob-only { display: none; }
@media (max-width: 640px) { .desk-only { display: none !important; } .mob-only { display: block; } }

/* ---------- 3. Layout i typografia ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.section { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.bg-cream { background: var(--bg); }
.bg-white { background: var(--bg-alt); }
.bg-peach { background: var(--bg-peach); }
.bg-path { background: var(--path); }
.eyebrow { font-size: .875rem; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.eyebrow-plum { color: var(--text); }
.display { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.125rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -.015em; margin: 16px 0 0; }
.h2 { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; margin: 12px 0 0; color: var(--text); }
.lead { font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.6; color: var(--text-2); margin: 16px 0 0; }
.small { font-size: .875rem; line-height: 1.5; color: var(--text-3); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 40px); }
.sec-head-text { max-width: 580px; }
.sec-head-center { max-width: 620px; margin: 0 auto clamp(32px, 4vw, 40px); text-align: center; }
.grid3 { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.anchor-offset { scroll-margin-top: 80px; } /* kotwica pod przyklejonym menu (English #about, makieta) */

/* ---------- 4. Akcje ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border: 0; border-radius: var(--r-pill); font-family: var(--ff-head); font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease; -webkit-tap-highlight-color: transparent; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:active { background: var(--accent-hover); color: var(--plum); }
.btn-messenger { background: var(--messenger); color: #fff; padding: 14px 22px; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; padding: 14px 22px; }
.btn-messenger:active { background: var(--messenger-hover); }
.btn-whatsapp:active { background: var(--whatsapp-hover); }
.btn svg { width: 20px; height: 20px; display: block; flex: none; }
.btn-block { display: flex; width: 100%; padding: 16px; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-hover); color: var(--plum); }
  .btn-messenger:hover { background: var(--messenger-hover); }
  .btn-whatsapp:hover { background: var(--whatsapp-hover); }
}
.cta-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.cta-btns .btn { display: flex; }
.link-sec { display: inline-block; padding: 12px 0; margin: -12px 0; font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: var(--text); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color .15s ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .link-sec:hover { text-decoration-color: var(--text); } }
.on-dark .link-sec { color: var(--on-footer); }
@media (hover: hover) { .on-dark .link-sec:hover { text-decoration-color: var(--on-footer); } }

/* ---------- 5. Nawigacja ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--nav-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule-soft); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: block; }
.logo { display: block; height: clamp(34px, 4vw, 44px); width: auto; }
.logo-dark { display: none; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-family: var(--ff-head); font-size: 1rem; font-weight: 700; }
.navlink { color: var(--text); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color .15s ease; -webkit-tap-highlight-color: transparent; }
.navlink[aria-current="page"] { text-decoration-color: var(--accent); }
@media (hover: hover) { .navlink:hover { text-decoration-color: var(--accent); } }
.menu-btn { display: none; background: transparent; border: 0; font-size: 26px; line-height: 1; color: var(--text); width: 44px; height: 44px; padding: 0; margin-right: -8px; align-items: center; justify-content: center; }
@media (max-width: 920px) { .nav-links, .nav-cta { display: none; } .menu-btn { display: inline-flex; } }

/* Menu mobilne (dialog pełnoekranowy; jedna z dozwolonych animacji — D03) */
.mobile-menu { position: fixed; inset: 0; z-index: 300; transform: translateX(100%); visibility: hidden; background: var(--footer); color: var(--on-footer); display: flex; flex-direction: column; padding: 24px clamp(20px, 6vw, 40px) 40px; }
.mobile-menu.open { transform: none; visibility: visible; animation: menuIn .35s cubic-bezier(.4, 0, .2, 1); }
@keyframes menuIn { from { transform: translateX(100%); } to { transform: none; } }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-head img { height: 48px; width: auto; display: block; }
.menu-close { background: rgba(255,243,235,.1); border: 0; color: var(--on-footer); width: 48px; height: 48px; border-radius: 50%; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.mobile-menu-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.menu-link { color: var(--on-footer); font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.75rem, 8vw, 2.375rem); padding: 8px 0; align-self: flex-start; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 6px; transition: text-decoration-color .15s ease; }
.menu-link:hover, .menu-link:active, .menu-link:focus-visible, .menu-link[aria-current="page"] { text-decoration-color: var(--accent); }
.mobile-menu-social { display: flex; justify-content: center; gap: 24px; margin-top: 24px; font-size: .875rem; font-weight: 600; }
.mobile-menu-social .link-sec { font-family: var(--ff-body); font-weight: 600; font-size: .875rem; }

/* ---------- 6. Hero ---------- */
.hero-grid { max-width: var(--maxw); margin: 0 auto; padding: clamp(24px, 5vw, 56px) var(--gut) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero-text .lead { max-width: 460px; margin-top: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; }
.hero-photo { position: relative; width: 100%; max-width: 416px; justify-self: end; }
.hero-photo > .photo { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; border-radius: var(--r-lg); object-fit: cover; object-position: 50% 30%; }
.trust-pill { position: absolute; left: -28px; bottom: 28px; width: max-content; max-width: calc(100% - 24px); background: var(--raised); border-radius: var(--r-pill); padding: 8px 20px 8px 8px; box-shadow: var(--shadow-static); display: flex; align-items: center; gap: 12px; }
.trust-avatars { display: flex; flex: none; }
.trust-avatars img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--raised); display: block; position: relative; }
.trust-avatars img + img { margin-left: -8px; }
.trust-text { line-height: 1.3; }
.trust-row { display: flex; align-items: center; gap: 8px; }
.stars { color: var(--accent); font-size: .875rem; letter-spacing: 1px; }
.trust-score { font-family: var(--ff-head); font-weight: 800; font-size: .9375rem; }
.trust-sub { font-size: .875rem; line-height: 1.5; color: var(--text-3); white-space: nowrap; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-photo { justify-self: center; } .trust-pill { left: 12px; bottom: 12px; } }
@media (max-width: 640px) { .hero-ctas { flex-direction: column; align-items: stretch; gap: 16px; } .hero-ctas .btn { display: flex; } .hero-ctas .link-sec { align-self: center; } }

/* ---------- 7. Karty ---------- */
.card { display: block; color: var(--text); border-radius: var(--r-md); transition: border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.card:active { border-color: var(--accent); }
@media (hover: hover) { .card:hover { border-color: var(--accent); } .card:hover .card-arrow { transform: translateX(5px); } }
.card-arrow { display: inline-block; transition: transform .2s ease; }
/* Karta segmentu (router „Czego teraz potrzebujesz") */
.card-seg { border: 2px solid transparent; padding: clamp(24px, 3vw, 32px); }
.seg-ciaza { background: var(--seg-ciaza); }
.seg-polog { background: var(--seg-polog); }
.seg-karmienie { background: var(--seg-karmienie); }
.emoji-sq { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--sq); display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; }
.card-seg h3 { font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; line-height: 1.25; margin: 16px 0 8px; }
.card-seg p { font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 0 0 16px; }
.card-more { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: var(--accent); }
/* Karta wpisu (wariant 2a: tag, tytuł, zajawka, czas; bez obrazka — D06) */
.card-post { display: flex; flex-direction: column; gap: 12px; background: var(--card); padding: 24px; border: 1px solid var(--rule); }
.card-post .card-title { font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; line-height: 1.25; margin: 0; }
.card-post p { font-size: .9375rem; line-height: 1.55; color: var(--text-2); margin: 0; }
.card-meta { font-size: .875rem; line-height: 1.5; color: var(--text-3); margin-top: auto; }
.tag { align-self: flex-start; display: inline-block; font-size: .75rem; font-weight: 700; line-height: 1.5; padding: 4px 12px; border-radius: var(--r-pill); color: var(--plum); background: var(--tag-lak); }
.tag-cia { background: var(--tag-cia); }
.tag-pol { background: var(--tag-pol); }
.tag-lak { background: var(--tag-lak); }
.tag-white { background: var(--sq); }

/* ---------- 8. Konsultacja (sekcja ścieżki, róż) ---------- */
.cons-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head card" "steps card"; gap: 0 56px; align-items: start; }
.cons-head { grid-area: head; }
.cons-card { grid-area: card; background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); margin-top: 32px; }
.cons-steps { grid-area: steps; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--ff-head); font-weight: 800; font-size: 2.5rem; color: var(--accent); }
.price-note { font-size: .875rem; color: var(--text-3); }
.cons-card ul { font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 16px 0 24px; padding-left: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { font-family: var(--ff-head); font-weight: 800; color: var(--accent); font-size: 1.0625rem; background: var(--sq); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.step h3 { font-family: var(--ff-head); font-weight: 700; font-size: 1.125rem; line-height: 1.3; min-height: 36px; display: flex; align-items: center; margin: 0; }
.step p { font-size: 1rem; color: var(--text-2); line-height: 1.6; margin: 4px 0 0; }
@media (max-width: 920px) { .cons-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "steps"; gap: 0; } }

/* ---------- 9. Opinie ---------- */
.t-head { max-width: 640px; margin: 0 auto clamp(32px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.t-head img { width: clamp(64px, 8vw, 84px); height: auto; display: block; }
.t-head .eyebrow { margin-top: 16px; }
.t-rating { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .875rem; color: var(--text-3); }
.t-rating .stars { font-size: 1rem; }
.t-rating strong { color: var(--text); }
.t-card { background: var(--card); border-radius: var(--r-md); padding: 24px; border: 1px solid var(--rule-soft); }
.t-card p { font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 12px 0 16px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; display: block; }
.t-name { font-weight: 700; font-size: .875rem; }
.t-src { font-size: .875rem; color: var(--text-3); }
/* Tablet: 2 kolumny, 9. karta ukryta (parzysta siatka). Telefon: 1 kolumna, 5 kart oznaczonych .t-mobile (te same osoby co w pigułce oceny) —
   decyzja AD 2026-11-09 (makieta pokazywała 2; opinie to ważny element, więc większość zestawu zostaje). */
@media (max-width: 920px) and (min-width: 641px) { .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-grid > :nth-child(9) { display: none; } }
@media (max-width: 640px) { .t-grid { grid-template-columns: minmax(0, 1fr); } .t-card:not(.t-mobile) { display: none; } }

/* ---------- 10. Stopka ---------- */
.footer { background: var(--footer); color: var(--on-footer); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 6vw, 64px) var(--gut) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 40px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-tag { font-size: .875rem; line-height: 1.6; color: rgba(255,243,235,.72); margin: 16px 0 0; max-width: 300px; }
.footer h2 { font-family: var(--ff-head); font-weight: 700; font-size: .875rem; margin: 0 0 12px; color: var(--on-footer); }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: .875rem; }
.foot-link { color: var(--on-footer-2); transition: color .15s ease; }
.foot-link-accent { color: var(--accent); font-weight: 600; }
@media (hover: hover) { .foot-link:hover { color: var(--on-footer); } }
.footer-social { display: flex; flex-wrap: wrap; gap: 4px; color: var(--on-footer-2); }
.footer-bottom { border-top: 1px solid var(--footer-rule); }
.footer-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gut); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .75rem; color: var(--on-footer-3); }
.footer-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-tools .foot-link { color: var(--on-footer-3); }
.sw-group { display: flex; align-items: center; gap: 8px; }
.lang-sw, .theme-sw { display: inline-flex; align-items: center; border: 1px solid var(--footer-rule-2); border-radius: var(--r-pill); }
.lang-opt { position: relative; min-height: 22px; padding: 0 9px; border-radius: var(--r-pill); display: flex; align-items: center; }
.lang-opt[aria-current="true"] { background: var(--cream); }
.lang-opt img { display: block; width: 16px; height: 11px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,243,235,.2); }
@media (hover: hover) { a.lang-opt:hover { background: rgba(255,243,235,.14); } }
.theme-opt { position: relative; min-height: 22px; padding: 0 9px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--on-footer-2); font-family: var(--ff-body); font-size: .75rem; line-height: 1; font-weight: 600; cursor: pointer; }
.theme-opt[aria-pressed="true"] { background: var(--cream); color: var(--plum); }
@media (hover: hover) { .theme-opt[aria-pressed="false"]:hover { background: rgba(255,243,235,.14); color: var(--on-footer); } }
.theme-opt::after, .lang-opt::after { content: ""; position: absolute; inset: -11px 0; }   /* pole dotyku 44 px przy pigułce 22 px (H 2.30) */

/* ---------- 11. Nagłówek podstrony, okruszki, chipy ---------- */
.page-head-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gut) 0; }
.page-head-text { max-width: 740px; margin-top: 24px; }
.page-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 5.5vw, 3rem); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; line-height: 1.5; color: var(--text-3); }
.crumb { color: var(--text-3); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .15s ease; }
.crumb-current { color: var(--text); }
@media (hover: hover) { .crumb:hover { text-decoration-color: var(--accent); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border-radius: var(--r-pill); background: var(--chip-bg); border: 1px solid var(--chip-border); color: var(--text); font-size: .875rem; font-weight: 600; transition: border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.chip[aria-current="page"] { background: var(--chip-active-bg); border-color: var(--chip-active-bg); color: var(--chip-active-text); }
.chip:active { border-color: var(--accent); }
@media (hover: hover) { .chip:hover { border-color: var(--accent); } .chip[aria-current="page"]:hover { border-color: var(--chip-active-bg); } }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(31,5,21,.14); }
.dot-ciaza { background: var(--tag-cia); }
.dot-polog { background: var(--tag-pol); }
.dot-karmienie { background: var(--tag-lak); }

/* ---------- 12. Lista Wiedza ---------- */
.list { max-width: var(--maxw); margin: 0 auto; padding: clamp(24px, 3vw, 32px) var(--gut) clamp(48px, 7vw, 80px); display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--card); overflow: hidden; border: 1px solid var(--rule); }
.feat-img { height: 100%; min-height: 320px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.feat-img .card-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.2; margin: 0; text-wrap: balance; }
.feat-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.feat-label { font-size: .875rem; line-height: 1.5; color: var(--text-3); }
.feat-body p { font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 0; }
.feat-body .card-meta { margin-top: 0; }
@media (max-width: 640px) { .feat { grid-template-columns: minmax(0, 1fr); } .feat-img { height: auto; min-height: 200px; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: clamp(8px, 2vw, 16px); }
.pager .chip { min-width: 44px; padding: 8px 16px; gap: 0; } /* strzałka odsunięta tylko &nbsp; (makieta), bez gap z .chip */
.pager .chip-num { width: 44px; padding: 0; }
.empty { background: var(--card); border-radius: var(--r-md); border: 1px solid var(--rule); padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.empty img { height: 96px; width: auto; display: block; }
.empty h2 { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.375rem); line-height: 1.25; margin: 0; }
.empty p { font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 460px; }
.empty-links { display: flex; gap: 16px 32px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
/* Newsletter — zbudowany, ukryty w MVP (D40) */
.nl-inner { max-width: 740px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gut); display: flex; flex-direction: column; align-items: center; text-align: center; }
.nl-inner .h2 { margin: 0; }
.nl-inner .lead { color: var(--text); max-width: 560px; }
.nl-form { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; width: 100%; max-width: 520px; }
.nl-row { display: flex; gap: 12px; }
.nl-row input { flex: 1; min-width: 0; height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--card); color: var(--text); font-size: 1rem; font-family: inherit; }
.nl-row input[aria-invalid="true"] { border-color: var(--text); }
.nl-row .btn { height: 48px; padding: 0 24px; }
.nl-note { font-size: .875rem; line-height: 1.5; color: var(--text-2); margin: 16px 0 0; max-width: 520px; }
.nl-note a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 640px) { .nl-row { flex-direction: column; } .nl-row input, .nl-row .btn { width: 100%; } }

/* ---------- 13. Wpis ---------- */
.post-head-inner { max-width: 740px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gut) 0; }
.post-tag { margin-top: 24px; }
.post-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 5.5vw, 3rem); line-height: 1.12; letter-spacing: -.01em; margin: 16px 0 0; }
.post-lead { font-size: clamp(1.3125rem, 2.4vw, 1.4375rem); line-height: 1.45; color: var(--text-2); margin: 16px 0 0; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; display: block; }
.byline-name { font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.byline-meta { font-size: .875rem; color: var(--text-3); line-height: 1.4; }
.prose { max-width: 740px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) var(--gut) clamp(48px, 7vw, 80px); font-size: clamp(1.0625rem, 1.6vw, 1.125rem); line-height: 1.7; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.625rem, 3.4vw, 2rem); line-height: 1.2; margin: clamp(40px, 5vw, 56px) 0 16px; scroll-margin-top: 96px; }
.prose h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.1875rem, 2vw, 1.3125rem); line-height: 1.3; margin: 32px 0 8px; scroll-margin-top: 96px; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; }
.prose ol { margin: 0 0 1em; padding-left: 1.5em; }
.prose li { margin: 0 0 .5em; padding-left: .25em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { font-family: var(--ff-head); font-weight: 800; color: var(--accent); }
.prose strong { font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .15s ease; }
@media (hover: hover) { .prose a:hover { text-decoration-color: var(--text); } }
/* Przyciski wewnątrz .prose (CTA wpisu) nie dziedziczą podkreślenia ani koloru linków prozy */
.prose a.btn, .prose a.btn:hover { text-decoration: none; }
.prose a.btn-primary { color: var(--on-accent); }
.prose a.btn-messenger, .prose a.btn-whatsapp { color: #fff; }
.prose a.btn-primary:active, .prose a.btn-primary:hover { color: var(--plum); }
.prose figure { margin: 40px 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--r-md); filter: var(--img-filter); }
.prose figcaption { font-size: .875rem; line-height: 1.5; color: var(--text-3); margin-top: 12px; }
.prose blockquote { margin: 48px 0; padding: 0; }
.prose blockquote::before { content: "„"; display: block; font-family: var(--ff-head); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--accent); margin: -36px 0 8px; }
.prose blockquote p { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.375rem, 2.6vw, 1.625rem); line-height: 1.35; margin: 0; }
.prose blockquote footer, .prose blockquote cite { display: block; font-size: .875rem; line-height: 1.5; color: var(--text-3); margin-top: 16px; font-style: normal; font-family: var(--ff-body); font-weight: 400; }
.table-wrap { background: var(--card); border-radius: var(--r-md); padding: 8px clamp(16px, 3vw, 24px); margin: 24px 0 32px; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: clamp(.9375rem, 1.5vw, 1rem); line-height: 1.5; min-width: 440px; }
.prose > table { display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; }
.prose thead th { font-family: var(--ff-head); font-weight: 800; }
.prose tbody th, .prose tbody td { border-top: 1px solid var(--rule); }
.prose tbody th, .table-wrap tbody td:first-child { font-weight: 600; white-space: nowrap; }
.prose tr > :last-child { padding-right: 0; }
/* Akordeon (TOC, FAQ) — natywne <details>, bez JS (H 6.9) */
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; -webkit-tap-highlight-color: transparent; }
.acc > summary::-webkit-details-marker { display: none; }
.acc-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--peach); display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; line-height: 1; color: var(--plum); flex: none; transition: background-color .15s ease; }
.acc-ic::before { content: "+"; }
.acc[open] > summary .acc-ic::before { content: "−"; }
.acc > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 8px; }
@media (hover: hover) { .acc > summary:hover .acc-ic { background: var(--accent-hover); } }
.toc { margin: 32px 0 0; }
.toc-box { background: var(--card); border-radius: var(--r-md); }
.toc-box > summary { padding: 16px clamp(20px, 3vw, 28px); }
.toc-label { font-size: .875rem; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.toc-label span { font-weight: 400; color: var(--text-3); }
.toc-box ol { margin: 0; padding: 0 clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) calc(clamp(20px, 3vw, 28px) + 1.5em); font-size: 1rem; line-height: 1.5; }
.toc-box li { margin: 0 0 8px; padding-left: .25em; }
.toc-box li:last-child { margin-bottom: 0; }
.toc-box a { text-decoration: none; }
@media (hover: hover) { .toc-box a:hover { text-decoration: underline; text-decoration-color: var(--accent); } }
/* Ramki w treści (H 2.17 troska, 2.18 radość) — literalny HTML w .md */
.box { background: var(--card); border-radius: var(--r-md); padding: clamp(20px, 3vw, 28px); margin: 24px 0 32px; font-size: 1rem; line-height: 1.6; }
.box-care { margin: 16px 0 32px; }
.box-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.box-head img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.box-title { font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; line-height: 1.3; margin: 0; }
.box p { margin: 0; }
.box p + p { margin-top: .75em; }
.box ul, .box ol { margin: 0; padding-left: 1.3em; }
.box li { margin: 0 0 8px; }
.box li:last-child { margin-bottom: 0; }
/* FAQ (H 2.13: zawsze na końcu wpisu) */
.faq-head { display: flex; align-items: center; gap: 12px; margin: clamp(40px, 5vw, 56px) 0 16px; }
.faq-head img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.faq-head h2 { margin: 0; }
.faq { background: var(--card); border-radius: var(--r-md); padding: 0 clamp(20px, 3vw, 28px); }
.faq .acc + .acc { border-top: 1px solid var(--rule); }
.faq .acc > summary { padding: 20px 0; }
.faq-q { font-family: var(--ff-head); font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.faq-a { padding: 0 48px 20px 0; font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: .75em; }
/* CTA wpisu (H 2.20) */
.cta-post { background: var(--path); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); margin: 48px 0 0; }
.cta-post-head { display: flex; align-items: center; gap: 16px; }
.cta-post-head img { width: clamp(56px, 7vw, 68px); height: auto; object-fit: contain; flex: none; }
.cta-post .eyebrow { color: var(--text); }
.cta-post-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.375rem, 3vw, 1.75rem); line-height: 1.2; margin: 8px 0 0; }
.cta-post p { font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 16px 0 0; }
.cta-post-price { font-size: .875rem; line-height: 1.5; color: var(--text-2); margin-top: 12px; }
.cta-post-price strong { font-family: var(--ff-head); font-weight: 800; font-size: 1.125rem; color: var(--text); }
.cta-post .cta-btns { margin-top: 24px; }
.prose .sources { font-size: .875rem; line-height: 1.5; color: var(--text-3); margin: 40px 0 0; }
.prose .sources strong { font-weight: 600; color: var(--text); }
/* Rytm: 40 px odstępu od CTA; gdy są źródła, zastrzeżenie siedzi 12 px pod nimi. Selektory z .prose, bo oba to <p> w article.prose
   i bez tego wygrywa .prose p { margin: 0 0 1em } (audyt UI 2026-11-10, A1) */
.prose .disclaimer { font-size: .875rem; line-height: 1.5; color: var(--text-3); margin: 40px 0 0; }
.prose .sources + .disclaimer { margin-top: 12px; }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--rule-strong); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; display: block; }
.author-box-text { min-width: 0; }
.author-box-label { font-size: .875rem; line-height: 1.5; color: var(--text-3); }
.author-box-name { font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; line-height: 1.25; margin-top: 4px; }
.author-box p { font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 8px 0 12px; }
.related { background: var(--bg); border-top: 1px solid var(--rule); }
.related-inner { max-width: 1040px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gut); }
.related-inner .h2 { margin: 0 0 clamp(32px, 4vw, 40px); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }

/* ---------- 14. 404 ---------- */
.err { max-width: 640px; margin: 0 auto; padding: clamp(56px, 8vw, 80px) var(--gut); display: flex; flex-direction: column; align-items: center; text-align: center; }
.err img { height: clamp(96px, 12vw, 128px); width: auto; display: block; }
.err .eyebrow { margin-top: 24px; }
.err .page-title { margin-top: 12px; }
.err .hero-ctas { justify-content: center; align-self: stretch; }
.err-topics { font-size: .875rem; line-height: 1.5; color: var(--text-3); margin-top: 48px; }
.err .chips { justify-content: center; margin-top: 12px; }

/* ---------- 15. O mnie ---------- */
.about-head-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gut) clamp(48px, 7vw, 80px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: clamp(24px, 4vw, 40px); }
.about-title { font-size: clamp(2.125rem, 6vw, 3.5rem); margin-top: 12px; }
.about-sign { font-size: .875rem; line-height: 1.5; color: var(--text-3); margin-top: 16px; }
.about-photo { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; border-radius: var(--r-lg); object-fit: cover; object-position: 50% 25%; }
@media (max-width: 640px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.prose-top { border-top: 1px solid var(--rule); padding-top: clamp(48px, 7vw, 80px); }
.prose-top h2:first-child { margin-top: 0; }
.social-inner { max-width: 740px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gut); display: flex; flex-direction: column; align-items: center; text-align: center; }
.social-inner .h2 { margin: 0; }
.social-inner .link-sec { margin-top: 32px; }   /* .link-sec ma margin -12px 0 (kompensacja paddingu) — tu nadpisujemy odstęp od pigułek */
.lead-plum { color: var(--text); max-width: 560px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
/* English: about + FAQ na bieli */
.about-text { max-width: 720px; margin: 0 auto; }
.about-paras { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.about-paras .lead { margin: 0; }
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-head-sub { margin: 0 0 24px; }
/* Selektor z .faq-head, bo .faq-head h2 { margin: 0 } zjadał 4 px pod etykietą (audyt UI 2026-11-10, A3) */
.faq-head .faq-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.625rem, 3.4vw, 2rem); line-height: 1.2; margin: 4px 0 0; }
.faq-cream { background: var(--bg); }
.pill-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill); background: var(--sq); color: var(--plum); border: 1px solid transparent; font-family: var(--ff-head); font-weight: 700; font-size: 1rem; transition: border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.pill-link:active { border-color: var(--accent); }
@media (hover: hover) { .pill-link:hover { border-color: var(--accent); } }
