/* ==========================================================================
   Pralnia Przemysłowa – main.css
   Jedyny arkusz stylów strony (front + edytor). Design system v2 (03-design/tokens-v2.md).
   Kolejność: 1 fonty · 2 tokeny · 3 reset/base · 4 typografia · 5 layout
              6 komponenty · 7 header/nawigacja · 8 stopka · 9 treść wpisu (bloki) · 10 utility
   Mobile-first: media queries tylko min-width (576 / 768 / 992 / 1200).
   ========================================================================== */

/* 1. FONTY ----------------------------------------------------------------- */
/* Bez osobnej kursywy (D47): przeglądarka pochyla zwykły Roboto – 44 KB mniej na ścieżce krytycznej. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. TOKENY ---------------------------------------------------------------- */
:root {
  /* kolory */
  --c-primary: #007abd;
  --c-primary-dark: #00649b;
  --c-primary-soft: #e6f2f9;
  --c-accent: #03c4eb;          /* z logo – tylko dekoracyjnie, nie dla tekstu */
  --c-accent-soft: #e3f8fd;
  --c-ink: #111a1f;             /* nagłówki, przycisk dark */
  --c-text: #3d3d3d;
  --c-muted: #5f6b70;           /* kontrast 5.6:1 */
  --c-bg: #ffffff;
  --c-bg-alt: #f2f6f6;
  --c-border: #e3eaea;
  --c-border-strong: #cfd8d8;
  --c-danger: #c0392b;
  --c-danger-soft: #fdf0ee;
  --c-success: #1e8e5a;
  --c-code: #b03a40;
  --c-code-bg: #eef1f2;
  --c-footer: #0f1a1f;
  --c-footer-bottom: #0a1216;
  --c-footer-text: #b8c4c8;

  /* typografia */
  --f-base: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: ui-monospace, Consolas, Monaco, "Andale Mono", monospace;
  --fs-hero: clamp(2.25rem, 1.2rem + 4.2vw, 4rem);
  --fs-h1: clamp(1.875rem, 1.3rem + 2.3vw, 2.75rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.5vw, 2.125rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h4: clamp(1.125rem, 1.08rem + 0.2vw, 1.1875rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;
  --lh-base: 1.65;

  /* odstępy (skala 4px) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section-y: clamp(56px, 8vw, 96px);
  --gutter: 16px;
  --container: 1140px;
  --reading: 760px;
  --header-h: 72px;

  /* kształty */
  --r-sm: 6px;
  --r-md: 10px;
  --r-btn: 12px;
  --r-card: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --sh-card: 0 4px 16px rgba(16, 24, 40, 0.06);
  --sh-card-hover: 0 10px 28px rgba(16, 24, 40, 0.1);
  --sh-btn: 0 4px 12px rgba(0, 0, 0, 0.14);
  --sh-header: 0 4px 16px rgba(16, 24, 40, 0.06);
  --focus: 0 0 0 3px rgba(0, 122, 189, 0.35);
  --t: 0.18s ease;
}
@media (min-width: 576px) { :root { --gutter: 20px; } }
@media (min-width: 992px) { :root { --header-h: 84px; } }

/* 3. RESET / BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-base);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(p, ul, ol, dl, figure, blockquote, table, pre) { margin: 0 0 var(--s-4); }
:where(ul, ol) { padding-left: 1.4em; }
li + li { margin-top: var(--s-1); }
hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--s-6) 0; }
a { color: var(--c-primary); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--t); }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--c-primary); color: #fff; }
strong, b { font-weight: 600; color: var(--c-ink); }

/* 4. TYPOGRAFIA ------------------------------------------------------------ */
:where(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 var(--s-4);
  font-family: var(--f-base);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
h4, .h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; }
h5, h6 { font-size: var(--fs-base); font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-text); }
.small, small { font-size: var(--fs-sm); }
.muted { color: var(--c-muted); }
.eyebrow {
  display: block;
  margin-bottom: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
}
code, kbd, pre { font-family: var(--f-mono); font-size: 0.9em; }
:not(pre) > code {
  padding: 0.15em 0.45em;
  border-radius: var(--r-sm);
  background: var(--c-code-bg);
  color: var(--c-code);
  overflow-wrap: anywhere;
}
pre { padding: var(--s-4); border-radius: var(--r-md); background: var(--c-code-bg); overflow-x: auto; }

/* 5. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--reading { max-width: calc(var(--reading) + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section__head { max-width: 720px; margin: 0 auto var(--s-7); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__head p { color: var(--c-muted); }
.stack > * + * { margin-top: var(--s-4); }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
  .split--aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
}
@media (min-width: 992px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Układ treść + sidebar (wpis, strony klasyczne) */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); padding-block: var(--s-7) var(--section-y); }
.layout-sidebar > *, .grid > *, .split > * { min-width: 0; } /* tabele/kod nie rozpychają kolumn */
@media (min-width: 992px) {
  .layout-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-8); }
}

/* 6. KOMPONENTY ------------------------------------------------------------ */

/* 6.1 Przyciski */
.btn {
  --btn-bg: var(--c-primary);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-btn);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--sh-btn);
  transition: background-color var(--t), border-color var(--t), color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { --btn-bg: var(--c-primary-dark); color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--dark { --btn-bg: var(--c-ink); }
.btn--dark:hover { --btn-bg: #000; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: #f2f6f6; --btn-bd: #f2f6f6; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-bd: var(--c-primary); box-shadow: none; }
.btn--outline:hover { --btn-bg: var(--c-primary); --btn-fg: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* 6.2 Pigułki / etykiety */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
}
.pill--soft { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.pill--outline { background: #fff; color: var(--c-ink); border: 1px solid var(--c-border-strong); }
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  text-decoration: none;
}

/* 6.3 Ikona w kółku */
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-primary);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--lg { width: 88px; height: 88px; background: var(--c-accent); color: #fff; }
.icon-badge--lg svg { width: 40px; height: 40px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* 6.4 Karty */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--sh-card);
  transition: box-shadow var(--t), transform var(--t);
}
.card > :last-child { margin-bottom: 0; }
.card h3, .card h4 { margin: 0; }
.card p { margin: 0; color: var(--c-muted); }
.card--link:hover { box-shadow: var(--sh-card-hover); transform: translateY(-2px); }
.card--center { align-items: center; text-align: center; }
.card__media { margin: calc(var(--s-6) * -1) calc(var(--s-6) * -1) var(--s-2); border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* cała karta klikalna */
.card__title-row { display: flex; align-items: center; gap: var(--s-3); }

/* Krok procesu */
.step__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
}

/* 6.5 Listy z ikonami */
.list-check, .list-dot, .list-icon { list-style: none; padding: 0; }
.list-check li, .list-dot li, .list-icon li { position: relative; padding-left: 30px; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23007abd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.list-dot li::before { content: ""; position: absolute; left: 8px; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.list-icon li > svg { position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; color: var(--c-primary); }
.features-inline { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--c-muted); }
.features-inline li { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0; }
.features-inline svg { width: 18px; height: 18px; color: var(--c-primary); }

/* 6.6 Boxy informacyjne (Uwaga / Wskazówka) */
.notice {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--c-primary-soft);
  color: var(--c-text);
}
.notice > :last-child { margin-bottom: 0; }
.notice--warning { border-color: var(--c-danger); background: var(--c-danger-soft); }
.notice__title { display: block; margin-bottom: var(--s-1); font-weight: 700; color: var(--c-ink); }

/* 6.7 Spis treści „Na skróty” */
.toc { margin: var(--s-5) 0 var(--s-6); padding: var(--s-5); border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-bg-alt); }
.toc__title { margin: 0 0 var(--s-3); font-size: var(--fs-h4); font-weight: 700; color: var(--c-ink); }
.toc ol, .toc ul { margin: 0; padding: 0; list-style: none; }
.toc li { margin: 0; border-bottom: 1px solid var(--c-border-strong); }
.toc li:last-child { border-bottom: 0; }
.toc a { display: flex; gap: var(--s-2); align-items: center; padding: var(--s-2) 0; text-decoration: none; font-weight: 500; }
.toc a::before { content: "→"; color: var(--c-accent); font-weight: 700; }

/* 6.8 Akordeon (FAQ) – <details>/<summary> */
.accordion { display: grid; gap: var(--s-3); margin: var(--s-4) 0 var(--s-6); }
.accordion details { border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-sm); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23007abd' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform var(--t);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details[open] summary { border-bottom: 1px solid var(--c-border); }
.accordion .accordion__body { padding: var(--s-4) var(--s-5) var(--s-5); }
.accordion .accordion__body > :last-child { margin-bottom: 0; }

/* 6.9 Tabele */
.table-wrap { margin: var(--s-5) 0; overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table-wrap table { margin: 0; }
th, td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
th { background: var(--c-bg-alt); color: var(--c-ink); font-weight: 600; }
tbody th { background: none; }
tr:last-child td { border-bottom: 0; }

/* 6.10 Formularze */
.form { display: grid; gap: var(--s-4); }
@media (min-width: 576px) { .form--2col { grid-template-columns: 1fr 1fr; } .form--2col .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--s-1); }
.field label, .field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); }
.field .req { color: var(--c-danger); }
.input, .field input:not([type="checkbox"], [type="radio"]), .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: #fff;
  font-size: var(--fs-base);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-primary); box-shadow: var(--focus); }
.field input::placeholder, .field textarea::placeholder { color: #8a979c; }
.field--error input, .field--error textarea { border-color: var(--c-danger); }
.field__error { font-size: var(--fs-sm); color: var(--c-danger); }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--c-muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--c-primary); }
.form__hp { position: absolute !important; left: -9999px !important; } /* honeypot */
.form-card { padding: var(--s-6); border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-card); }
.form-msg { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font-weight: 500; }
.form-msg--ok { background: #e8f6ef; color: var(--c-success); }
.form-msg--err { background: var(--c-danger-soft); color: var(--c-danger); }

/* 6.11 Liczniki */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-5); text-align: center; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { display: block; font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: 700; line-height: 1; color: var(--c-primary); letter-spacing: -0.02em; }
.stat__label { display: block; margin-top: var(--s-2); color: var(--c-muted); }

/* 6.12 Lista wpisów (blog, kategoria, strona główna) */
.post-list { display: grid; gap: var(--s-5); }
.post-item { display: grid; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid var(--c-border); }
.post-item:last-child { border-bottom: 0; }
@media (min-width: 576px) { .post-item { grid-template-columns: 240px 1fr; gap: var(--s-5); align-items: start; } }
.post-item__thumb { border-radius: var(--r-md); overflow: hidden; }
.post-item__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.3s ease; }
.post-item:hover .post-item__thumb img { transform: scale(1.03); }
.post-item__title { margin: var(--s-1) 0 var(--s-2); font-size: var(--fs-h4); line-height: 1.35; }
.post-item__title a { color: var(--c-ink); text-decoration: none; }
.post-item__title a:hover { color: var(--c-primary); }
.post-item__excerpt { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.pagination, .pagination-wrap .nav-links { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.pagination .page-numbers, .pagination-wrap .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 var(--s-3); border: 1px solid var(--c-border); border-radius: var(--r-md); text-decoration: none; font-weight: 600; }
.pagination .current, .pagination-wrap .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Nawigacja poprzedni/następny wpis */
.post-nav { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
@media (min-width: 768px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav__next { grid-column: 2; text-align: right; } }
.post-nav .card { gap: var(--s-1); padding: var(--s-5); color: var(--c-ink); text-decoration: none; }
.post-nav strong { font-weight: 600; line-height: 1.35; }

/* 6.13 Sidebar */
.sidebar { display: grid; gap: var(--s-6); align-content: start; }
@media (min-width: 992px) { .sidebar { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.widget { padding: var(--s-5); border: 1px solid var(--c-border); border-radius: var(--r-card); background: #fff; }
.widget__title { margin-bottom: var(--s-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { margin: 0; padding: var(--s-2) 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-sm); line-height: 1.45; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--c-text); text-decoration: none; }
.widget a:hover { color: var(--c-primary); }
.search-form { display: flex; gap: var(--s-2); }
.search-form input { flex: 1; min-width: 0; }

/* 6.14 Nagłówek strony (podstrony, blog, archiwa) */
.page-hero { padding-block: var(--s-7); background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); }
.page-hero h1 { margin: 0; }
.page-hero p, .page-hero__desc { margin: var(--s-3) 0 0; color: var(--c-muted); }
.page-hero__desc > :last-child { margin-bottom: 0; }
.breadcrumbs .breadcrumb_last { color: var(--c-text); }
.breadcrumbs { margin-bottom: var(--s-3); font-size: var(--fs-sm); color: var(--c-muted); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-primary); }

/* 6.15 Hero (strona główna / usługi) */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(420px, 60vh, 620px);
  padding-block: var(--s-8);
  overflow: hidden;
  color: #fff;
  background: var(--c-ink);
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 22, 0.72), rgba(10, 18, 22, 0.25)); }
.hero > .container { position: relative; z-index: 1; }
.hero h1, .hero .hero__title { margin: 0; color: #fff; font-size: var(--fs-hero); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.hero .lead { max-width: 640px; margin-top: var(--s-4); color: rgba(255, 255, 255, 0.92); }
.hero--light { color: var(--c-text); background: var(--c-bg-alt); }
.hero--light::after { background: linear-gradient(90deg, rgba(242, 246, 246, 0.96) 35%, rgba(242, 246, 246, 0.4)); }
.hero--light h1, .hero--light .hero__title { color: var(--c-ink); }
.hero--light .lead { color: var(--c-text); }
.rotator { color: var(--c-accent); }

/* 6.16 Pasek logotypów klientów */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-6) var(--s-8); }
.logos img { height: 44px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter var(--t), opacity var(--t); }
.logos img:hover { filter: none; opacity: 1; }
.logos__label { width: 100%; margin: 0; text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); }

/* 6.17 Blok CTA */
.cta {
  display: grid;
  gap: var(--s-4);
  padding: clamp(var(--s-6), 5vw, var(--s-8));
  border-radius: var(--r-lg);
  background: var(--c-ink);
  color: #fff;
}
.cta h2, .cta h3 { margin: 0; color: #fff; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.cta .btn-row { margin-top: var(--s-2); }
.sidebar .cta { padding: var(--s-5); }
.cta--soft { background: var(--c-primary-soft); color: var(--c-text); }
.cta--soft h2, .cta--soft h3 { color: var(--c-ink); }
.cta--soft p { color: var(--c-text); }

/* 6.18 Pływający przycisk */
.floating-cta { position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 50; }
.nav-open .floating-cta { display: none; }
.floating-cta { transition: opacity var(--t), transform var(--t); }
.floating-cta.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 575px) { .floating-cta { left: var(--s-4); } .floating-cta .btn { width: 100%; } }

/* 6.19 Obraz z zaokrągleniem */
.media-rounded { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); }
.media-rounded img { width: 100%; }

/* 6.20 Dane kontaktowe (NAP) */
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-3); }
.contact-list li { display: flex; gap: var(--s-3); align-items: center; margin: 0; }
.contact-list a { color: inherit; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--c-primary); }
.contact-list .icon-badge { width: 40px; height: 40px; }
.contact-list .icon-badge svg { width: 18px; height: 18px; }

/* 6.21 Mapa (facade – iframe ładowany po kliknięciu) */
.map-facade { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-alt) center / cover; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 7. HEADER / NAWIGACJA ---------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: var(--s-3) var(--s-4); background: #fff; }
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); box-shadow: var(--sh-header); backdrop-filter: saturate(1.4) blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--header-h); }
.site-logo { display: block; flex: none; }
.site-logo img { width: auto; height: 44px; }
@media (min-width: 992px) { .site-logo img { height: 56px; } }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open, .nav-toggle[aria-expanded="false"] .nav-toggle__close { display: none; }

.main-nav { display: none; }
.main-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: var(--s-2) var(--gutter) var(--s-5);
  background: #fff;
  border-top: 1px solid var(--c-border);
  box-shadow: var(--sh-header);
}
.menu, .menu ul { margin: 0; padding: 0; list-style: none; }
.menu li { margin: 0; }
.menu a {
  display: block;
  padding: var(--s-3) 0;
  color: var(--c-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase; /* menu wielkimi literami jak na starej stronie (B1) */
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--c-primary); }
.menu .sub-menu a { padding-left: var(--s-5); color: var(--c-muted); }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.is-open { position: static; display: flex; align-items: center; gap: var(--s-5); max-height: none; overflow: visible; padding: 0; border: 0; box-shadow: none; background: none; }
  .menu { display: flex; align-items: center; gap: var(--s-1); }
  .menu > li { position: relative; }
  .menu > li > a { padding: var(--s-2) var(--s-3); border: 0; border-radius: var(--r-sm); }
  .menu > li > a:hover { background: var(--c-bg-alt); }
  .menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
  .menu .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
  .menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: var(--s-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--sh-card-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .menu .sub-menu a { padding: var(--s-2) var(--s-3); border: 0; border-radius: var(--r-sm); color: var(--c-text); }
  .menu .sub-menu a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
}

/* 8. STOPKA ---------------------------------------------------------------- */
.site-footer { background: var(--c-footer); color: var(--c-footer-text); font-size: var(--fs-sm); }
.site-footer a { color: var(--c-footer-text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__main { display: grid; gap: var(--s-6); padding-block: var(--s-8); }
@media (min-width: 768px) { .site-footer__main { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__brand { margin: 0 0 var(--s-3); color: #fff; font-size: var(--fs-h4); font-weight: 700; }
.site-footer__title { margin: 0 0 var(--s-3); color: #fff; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 var(--s-2); }
.social { display: flex; gap: var(--s-2); }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; }
.social a:hover { background: var(--c-primary); }
.social svg { width: 18px; height: 18px; }
.site-footer__bottom { padding-block: var(--s-4); background: var(--c-footer-bottom); font-size: var(--fs-xs); }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }

/* 9. TREŚĆ WPISU / BLOKI GUTENBERGA -------------------------------------- */
.entry-header { margin-bottom: var(--s-6); }
.entry-header h1 { margin-bottom: var(--s-3); }
.entry-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); }
.entry-thumb { margin: 0 0 var(--s-6); border-radius: var(--r-lg); overflow: hidden; }
.entry-thumb img { width: 100%; }

.entry-content { max-width: var(--reading); }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: var(--s-7); color: var(--c-primary); }
.entry-content h3 { margin-top: var(--s-6); }
.entry-content h4 { margin-top: var(--s-5); }
.entry-content > :first-child { margin-top: 0; }
.entry-content li::marker { color: var(--c-primary); }
.entry-content svg:not([width]):not([class]) { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; } /* inline SVG bez wymiarów (stara treść Elementora) */
.entry-content img { border-radius: var(--r-md); }
.entry-content figure { margin: var(--s-6) 0; }
.entry-content figcaption { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-muted); text-align: center; }
.entry-content blockquote:not(.wp-block-quote) { margin: var(--s-6) 0; padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 4px solid var(--c-accent); font-size: var(--fs-lead); color: var(--c-ink); }

/* mapowanie bloków core → komponenty */
.wp-block-table { margin: var(--s-5) 0; overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-md); }
.wp-block-table table { margin: 0; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-image img { border-radius: var(--r-md); }
.wp-block-image.aligncenter, .aligncenter { margin-inline: auto; text-align: center; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0; }
.wp-block-button__link { /* = .btn */
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px;
  border: 1.5px solid var(--c-primary); border-radius: var(--r-btn); background: var(--c-primary); color: #fff;
  font-weight: 600; text-decoration: none; box-shadow: var(--sh-btn); transition: background-color var(--t), transform var(--t);
}
.wp-block-button__link:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; transform: translateY(-1px); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--c-primary); box-shadow: none; }
.is-style-outline .wp-block-button__link:hover { background: var(--c-primary); color: #fff; }
.wp-block-group.is-style-notice { /* = .notice */
  margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-primary-soft);
}
.wp-block-group.is-style-notice-warning { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); border-left: 4px solid var(--c-danger); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-danger-soft); }
.wp-block-group.is-style-notice > :last-child, .wp-block-group.is-style-notice-warning > :last-child { margin-bottom: 0; }
/* style bloków = komponenty */
.wp-block-group.is-style-toc { margin: var(--s-5) 0 var(--s-6); padding: var(--s-5); border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-bg-alt); }
.entry-content .is-style-toc .toc__title { margin: 0 0 var(--s-3); color: var(--c-ink); font-size: var(--fs-h4); }
.is-style-toc ul { margin: 0; padding: 0; list-style: none; }
.is-style-toc li { margin: 0; border-bottom: 1px solid var(--c-border-strong); }
.is-style-toc li:last-child { border-bottom: 0; }
.is-style-toc li a { display: flex; gap: var(--s-2); align-items: center; padding: var(--s-2) 0; text-decoration: none; font-weight: 500; }
.is-style-toc li a::before { content: "→"; color: var(--c-accent); font-weight: 700; }
.wp-block-group.is-style-cta { display: grid; gap: var(--s-4); margin: var(--s-7) 0; padding: clamp(var(--s-6), 5vw, var(--s-8)); border-radius: var(--r-lg); background: var(--c-ink); color: rgba(255, 255, 255, 0.85); }
.entry-content .is-style-cta :is(h2, h3) { margin: 0; color: #fff; }
.is-style-cta p { margin: 0; }
.is-style-cta .wp-block-buttons { margin: var(--s-2) 0 0; }
:not(.is-style-cta) > .wp-block-buttons .is-style-light .wp-block-button__link { border-color: var(--c-border-strong); box-shadow: none; } /* jasny przycisk poza CTA = obrys */
p.is-style-pill { display: inline-flex; justify-self: start; width: fit-content; margin: 0; padding: 6px 14px; border-radius: var(--r-pill); background: var(--c-ink); color: #fff; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.is-style-cta p.is-style-pill { background: #fff; color: var(--c-ink); }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; border-color: #fff; color: var(--c-ink); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--c-bg-alt); border-color: var(--c-bg-alt); color: var(--c-ink); }
ul.is-style-check { list-style: none; padding-left: 0; }
ul.is-style-check > li { position: relative; padding-left: 30px; }
ul.is-style-check > li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23007abd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wp-block-quote { margin: var(--s-6) 0; padding: var(--s-4) var(--s-5); border-left: 4px solid var(--c-accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-accent-soft); color: var(--c-ink); }
.wp-block-quote > :last-child { margin-bottom: 0; }
.entry-content .wp-block-quote { font-size: var(--fs-base); }
.wp-block-details summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23007abd' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform var(--t); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details[open] summary { border-bottom: 1px solid var(--c-border); margin-bottom: var(--s-4); }
.wp-block-details > p:last-child { padding-bottom: var(--s-3); }
.wp-block-image figure, figure.wp-block-image { margin: var(--s-6) 0; }
.wp-block-image img { margin-inline: auto; }
.wp-block-table table.has-fixed-layout { table-layout: auto; }
.wp-block-details { margin: 0 0 var(--s-3); border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-sm); }
.wp-block-details summary { padding: var(--s-4) var(--s-5); font-weight: 600; color: var(--c-ink); cursor: pointer; }
.wp-block-details > :not(summary) { padding-inline: var(--s-5); }
.wp-block-details[open] { padding-bottom: var(--s-2); }
.wp-block-separator { border: 0; border-top: 1px solid var(--c-border); }
.has-text-align-center { text-align: center; }
.alignwide { max-width: var(--container); }
.alignleft { float: left; margin: 0 var(--s-5) var(--s-4) 0; }
.alignright { float: right; margin: 0 0 var(--s-4) var(--s-5); }

/* Kolumny (core/columns) – własny CSS, bo biblioteka bloków WP jest wyłączona */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: var(--s-6); margin: 0 0 var(--s-5); }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column[style*="flex-basis"] { flex-grow: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
@media (max-width: 767px) { .wp-block-columns { flex-wrap: wrap !important; } .wp-block-column { flex-basis: 100% !important; } } /* WP dokleja inline flex-wrap:nowrap */
@media (min-width: 768px) { .wp-block-columns { flex-wrap: nowrap; gap: var(--s-7); } }

/* Galeria (2 zdjęcia obok siebie) */
.wp-block-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin: 0 0 var(--s-5); }
.wp-block-gallery .wp-block-image { margin: 0; }
.wp-block-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--sh-card); }

/* 9b. STRONA USŁUGI (page-templates/usluga.php) ---------------------------- */
.hero--usluga { min-height: 0; padding-block: var(--s-6) var(--s-8); }
.hero--usluga::after { background: linear-gradient(90deg, rgba(242, 246, 246, 0.97) 30%, rgba(242, 246, 246, 0.55)); }
.hero--usluga .hero__title { font-size: var(--fs-h1); margin-top: var(--s-4); }
.hero--usluga .breadcrumbs { margin-bottom: var(--s-4); }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 992px) { .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-8); } }
.hero__tagline { display: flex; align-items: center; gap: var(--s-2); margin: var(--s-3) 0 0; font-size: var(--fs-h4); font-weight: 600; color: var(--c-primary); }
.hero__tagline svg { width: 1.1em; height: 1.1em; }
.hero--usluga .lead { max-width: 600px; }
.hero--usluga .lead > :last-child { margin-bottom: 0; }
.hero--usluga .features-inline { margin: var(--s-5) 0 0; color: var(--c-text); }
.hero__media img { width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(16, 24, 40, 0.18)); }
@media (max-width: 991px) { .hero__media img { max-width: 360px; } }
.logos-band { padding-block: var(--s-6); border-bottom: 1px solid var(--c-border); }
.logos-band .logos img { height: 48px; max-width: 180px; object-fit: contain; }

/* Sekcje z bloków: każdy blok najwyższego poziomu ma szerokość kontenera; Sekcja = pas na całą szerokość */
.landing > * { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.landing > .wp-block-group:is(.is-style-section, .is-style-section-alt) {
  max-width: none;
  margin: 0;
  padding: var(--section-y) max(var(--gutter), calc((100% - var(--container)) / 2));
}
.landing > .is-style-section-alt { background: var(--c-bg-alt); }
.landing > .is-style-section + .is-style-section { padding-top: 0; } /* dwie białe sekcje pod rząd – bez podwójnego odstępu */
.landing > .wp-block-group > :last-child { margin-bottom: 0; }
.landing h2 { margin-bottom: var(--s-4); }
.landing h2 + p { max-width: 760px; color: var(--c-muted); }
.landing .wp-block-image img { border-radius: var(--r-card); }
.landing .wp-block-column > .wp-block-image img { box-shadow: var(--sh-card); }
.landing figure.wp-block-image { margin: 0 0 var(--s-5); }
.landing .wp-block-details summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); }
.landing .wp-block-details { max-width: 860px; }

/* Siatka kart + karta */
.wp-block-group.is-style-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--s-5); margin: var(--s-6) 0 0; }
.wp-block-column > .is-style-cards:first-child { margin-top: 0; }
.wp-block-group.is-style-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  margin: var(--s-5) 0; padding: var(--s-6);
  border: 1px solid var(--c-border); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card);
}
.is-style-cards > .is-style-card { margin: 0; }
.is-style-card > * { margin: 0; }
.is-style-card h3 { font-size: var(--fs-h4); }
.is-style-card p, .is-style-card li { color: var(--c-muted); }
.is-style-card .wp-block-buttons { margin-top: auto; padding-top: var(--s-3); }
.is-style-card .icon-badge { width: 48px; height: 48px; margin-bottom: var(--s-1); }
.is-style-card .icon-badge svg { width: 22px; height: 22px; }
.is-style-card .wp-block-group.is-style-card { padding: var(--s-4) var(--s-5); box-shadow: none; background: var(--c-primary-soft); border-color: transparent; }
.is-style-card .is-style-card h3 { color: var(--c-ink); }
/* referencje: cytat jako karta */
.is-style-cards > .wp-block-quote { margin: 0; padding: var(--s-6); border: 1px solid var(--c-border); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); }
.wp-block-quote cite { display: block; margin-top: var(--s-3); font-style: normal; font-weight: 600; color: var(--c-ink); }

/* Pigułki w rzędzie */
ul.is-style-pills { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0; list-style: none; }
ul.is-style-pills > li { margin: 0; padding: 6px 14px; border-radius: var(--r-pill); background: var(--c-primary-soft); color: var(--c-primary-dark); font-size: var(--fs-sm); font-weight: 600; }
ul.is-style-pills > li:first-child { background: var(--c-ink); color: #fff; }

/* 9c. STRONA GŁÓWNA (front-page.php) --------------------------------------- */
/* Hero jak na starej stronie (B2): hasło wielkimi literami na środku, wysokość z proporcji szerokości */
.hero--home { min-height: 0; padding-block: clamp(2.5rem, 10vw, 9rem); text-align: center; }
.hero--home::after { background: rgba(0, 0, 0, 0.3); }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero--home .hero__title { font-size: clamp(2rem, 0.9rem + 4.5vw, 4.7rem); font-weight: 700; line-height: 1.3; letter-spacing: 0.02em; text-transform: uppercase; }
.hero--home .rotator { color: #fff; }
.rotator { display: inline-block; transition: opacity 0.3s ease, transform 0.3s ease; }
.rotator.is-out { opacity: 0; transform: perspective(400px) rotateX(90deg); }

/* Kropki bocznej nawigacji po sekcjach (B3) – jasne na zdjęciu hero, ciemne na reszcie strony */
.dots-nav { position: fixed; top: 50%; right: clamp(8px, 2.5vw, 36px); z-index: 30; display: flex; flex-direction: column; gap: 4px; transform: translateY(-50%); --dot: var(--c-ink); }
.dots-nav.is-inverse { --dot: #fff; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.55)); } /* białe kropki widoczne też poniżej zdjęcia */
.dots-nav__dot { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
.dots-nav__dot::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--dot); border-radius: 50%; transition: background-color var(--t), transform var(--t); }
.dots-nav__dot:hover::before { transform: scale(1.2); }
.dots-nav__dot.is-active::before { background: var(--dot); }
.dots-nav__label { position: absolute; right: 100%; top: 50%; margin-right: 6px; padding: 4px 10px; border-radius: var(--r-sm); background: var(--c-ink); color: #fff; font-size: var(--fs-sm); white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(-50%); transition: opacity var(--t), visibility var(--t); pointer-events: none; }
.dots-nav__dot:hover .dots-nav__label, .dots-nav__dot:focus-visible .dots-nav__label { opacity: 1; visibility: visible; }

/* O nas – H1 strony (nazwa firmy) pod nagłówkiem sekcji */
.home-about h2 { margin-bottom: var(--s-2); }
.home-about__name { margin: 0 0 var(--s-4); font-size: var(--fs-h3); line-height: 1.3; color: var(--c-primary); }
.home-about__text > :last-child { margin-bottom: 0; }
.home-about--center { text-align: center; }

/* Usługi – karta z ikoną obok tekstu */
.service-card { flex-direction: row; align-items: flex-start; gap: var(--s-5); }
.service-card h3 a { color: var(--c-ink); text-decoration: none; }
.service-card h3 { margin-bottom: var(--s-2); }
.service-card__more { display: inline-flex; align-items: center; gap: var(--s-1); margin-top: var(--s-3); font-size: var(--fs-sm); font-weight: 600; color: var(--c-primary); }
.service-card__more svg { width: 1em; height: 1em; transition: transform var(--t); }
.service-card:hover .service-card__more svg { transform: translateX(3px); }
@media (max-width: 575px) { .service-card { flex-direction: column; gap: var(--s-3); } .service-card .icon-badge--lg { width: 64px; height: 64px; } }

/* Liczniki */
.home-counter__title { margin-bottom: var(--s-6); text-align: center; }

/* Blog */
.home-news { gap: var(--s-6) var(--s-7); }
.home-news .post-item { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 576px) { .home-news .post-item { grid-template-columns: 200px 1fr; } }
.home-news__more { margin: var(--s-7) 0 0; text-align: center; }

/* Kontakt */
.split--contact { display: grid; gap: var(--s-7); }
@media (min-width: 992px) { .split--contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
@media (min-width: 768px) and (max-width: 991px) { .split--contact { grid-template-columns: 1fr; } }
.home-contact h3 { font-size: var(--fs-h4); letter-spacing: 0.02em; }
.home-contact__name { margin: var(--s-5) 0 0; font-weight: 700; color: var(--c-ink); }

/* 9d. KONTAKT -------------------------------------------------------------- */
.kontakt-dane .contact-list { gap: var(--s-4); }
.form-card > h2 { margin-top: 0; }
.map-facade { position: relative; aspect-ratio: 16 / 7; min-height: 320px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-primary-soft) radial-gradient(circle at 30% 40%, var(--c-accent-soft), transparent 60%); }
.map-facade__btn { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3); padding: var(--s-5); border: 0; background: none; font: inherit; color: var(--c-ink); text-align: center; cursor: pointer; }
.map-facade__btn:hover .map-facade__title, .map-facade__btn:focus-visible .map-facade__title { color: var(--c-primary); text-decoration: underline; }
.map-facade__title { font-size: var(--fs-h4); font-weight: 600; }
.map-facade__note { color: var(--c-muted); font-size: 0.9375rem; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade__link { margin: var(--s-3) 0 0; text-align: right; }
.map-facade__link a { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; }
.map-facade__link .icon { width: 16px; height: 16px; }
@media (max-width: 575px) { .map-facade { aspect-ratio: 4 / 5; } .map-facade__link { text-align: center; } }

/* 10. UTILITY -------------------------------------------------------------- */
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
