/* serumdorzes.eu — arkusz stylów portalu
   Język wizualny przeniesiony z artboardów Claude Design:
   chłodna paleta błękitów, karty glass, miękkie cienie, ostre dane. */

:root {
  --paper: #F6FAFE;
  --paper-2: #EAF3FA;
  --card: #FFFFFF;
  --ink: #1B2430;
  --deep: #123A5E;
  --accent: #0B4E8C;
  --accent-dark: #083A69;
  --soft: #8FB6D4;
  --tint: #E4EFF7;
  --tint-2: #DCE9F3;
  --tint-3: #EFF6FC;
  --line: #D5E5F0;
  --line-2: #E1EBF3;
  --muted: #40536B;
  --muted-2: #5A6E85;
  --gold: #C99A2E;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 38px rgba(18, 58, 94, 0.08);
  --shadow-sm: 0 10px 26px rgba(18, 58, 94, 0.05);
  --pad-x: clamp(16px, 4vw, 48px);
  --gap: clamp(20px, 3vw, 44px);
  --max: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
table { border-collapse: collapse; }
input[type="range"] { accent-color: var(--accent); }

/* ---------- układ ---------- */
.section { padding: clamp(50px, 6vw, 90px) var(--pad-x); }
.section--tight { padding-top: clamp(32px, 4vw, 56px); }
.section--tint { background: var(--paper-2); }
.section--fade { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.inner { max-width: var(--max); margin: 0 auto; }
.inner--narrow { max-width: 880px; }
.center { text-align: center; }
.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
h1.display, h2.display {
  font-size: clamp(28px, 4.6vw, 52px); font-weight: 400;
  line-height: 1.08; text-transform: uppercase; letter-spacing: 0.005em;
}
h2.display { font-size: clamp(26px, 4.4vw, 50px); }
.sub { margin-top: 14px; font-size: 15px; color: var(--muted); }
.center .sub { max-width: 68ch; margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: var(--gap); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cols-pair { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.tight { gap: 16px; }
/* Kolumna boczna (kalkulator) podąża za długą listą rankingu na desktopie */
@media (min-width: 900px) {
  .sticky-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 86px); align-self: start; }
}

/* ---------- nagłówek ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 14px var(--pad-x);
  background: rgba(246, 250, 254, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 229, 240, 0.8);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); display: block; }
.logo-text {
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--deep);
}
.mainnav {
  display: flex; flex-wrap: wrap; gap: 4px; max-width: 100%;
  padding: 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 13.5px; font-weight: 500;
}
.mainnav a { padding: 6px 13px; border-radius: 999px; color: #2B4463; }
.mainnav a:hover { background: var(--tint-3); color: var(--accent); text-decoration: none; }
.mainnav a[aria-current="page"] { background: #FFFFFF; color: var(--accent); box-shadow: var(--shadow-sm); }
.topcta {
  padding: 11px 20px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
}
.topcta:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #D8E8F3 0%, #C8DFED 48%, #E3F0F8 100%); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,46,76,0.74) 0%, rgba(16,52,84,0.42) 42%, rgba(120,170,205,0.14) 100%);
}
.hero-body {
  position: relative; z-index: 2;
  padding: clamp(56px, 9vw, 130px) var(--pad-x) clamp(120px, 14vw, 190px);
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(42px, 8vw, 96px); font-weight: 300; line-height: 0.94;
  letter-spacing: -0.02em; text-transform: uppercase; color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(18, 58, 94, 0.35);
}
.hero h1 b { display: block; font-weight: 600; color: #BFE0F7; }
.hero p {
  margin-top: 20px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6;
  color: rgba(255, 255, 255, 0.94); max-width: 480px;
}
.btn {
  display: inline-block; margin-top: 30px; padding: 18px 36px; border-radius: 10px;
  background: #FFFFFF; color: var(--deep);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(18, 58, 94, 0.18);
}
.btn:hover { background: var(--accent); color: #fff; text-decoration: none; }
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); color: #fff; }
.btn--sm { margin-top: 0; padding: 13px 24px; font-size: 11.5px; }

.pick {
  position: absolute; right: var(--pad-x); bottom: 30px; z-index: 3;
  display: flex; gap: 14px; max-width: 420px; padding: 14px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(11, 78, 140, 0.86), rgba(143, 182, 212, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
}
.pick img { flex: none; width: 92px; height: 92px; object-fit: contain; border-radius: 10px; background: rgba(255,255,255,0.92); padding: 6px; }
.pick-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.pick-name { margin-top: 5px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.94); }
.pick-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 10px; padding: 10px 14px; border-radius: 8px;
  background: #fff; color: var(--accent);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.pick-link:hover { background: var(--tint-3); text-decoration: none; }
@media (max-width: 900px) {
  .pick { position: static; margin: 0 var(--pad-x) 34px; max-width: none; }
  .hero-body { padding-bottom: clamp(40px, 8vw, 70px); }
}

/* ---------- karty ---------- */
.card {
  padding: 26px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}
.card--solid { background: var(--card); backdrop-filter: none; }
.card h3 { font-size: 15.5px; font-weight: 600; color: var(--deep); }
.card h3.label { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.card p { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--soft); display: grid; place-items: center; }
.icon span { width: 14px; height: 14px; border-radius: 4px; background: #fff; display: block; }
.card .icon + h3 { margin-top: 20px; }

figure { margin: 0; }
.shot { border-radius: var(--radius); overflow: hidden; background: var(--tint); box-shadow: var(--shadow-sm); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--1x1 { aspect-ratio: 1 / 1; }
.shot--4x3 { aspect-ratio: 4 / 3; }
.shot--16x9 { aspect-ratio: 16 / 9; }
.shot--tall { aspect-ratio: 3 / 4; }

/* ---------- treść artykułu ---------- */
.prose { max-width: 74ch; }
.inner--narrow.prose { max-width: 880px; }
.prose p, .prose li { font-size: 15px; line-height: 1.85; color: var(--muted); }
.prose p + p, .prose ul, .prose ol { margin-top: 16px; }
.prose h2 { margin-top: 44px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; color: var(--ink); }
.prose h3 { margin-top: 30px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; color: var(--deep); }
.prose h2 + p, .prose h3 + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 9px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose strong { color: var(--accent); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.callout {
  margin-top: 26px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--tint-3); border-left: 3px solid var(--accent);
}
.callout p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.callout .eyebrow + p { margin-top: 10px; }

/* ---------- ranking ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filters button {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, 0.7); color: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-sm);
}
.filters button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.count-note { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); }

.rank-list { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.rank {
  display: grid; grid-template-columns: 152px 1fr; gap: 22px;
  padding: 22px; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2);
}
.rank--top { border: 1px solid var(--soft); box-shadow: 0 20px 46px rgba(18, 58, 94, 0.13); background: linear-gradient(140deg, #FFFFFF 0%, #F2F8FD 100%); }
.rank-photo { position: relative; align-self: start; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line-2); padding: 10px; }
.rank-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.rank-pos {
  position: absolute; top: -10px; left: -10px;
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.rank-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.rank-name { font-size: 20px; font-weight: 500; color: var(--deep); }
.rank-type { margin-top: 4px; font-size: 12.5px; color: var(--muted-2); }
.rank-score { font-size: 26px; font-weight: 600; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.rank-score small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.tag {
  display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 999px;
  background: var(--tint); color: var(--accent);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag--warn { background: #FBEDE3; color: #9A4B22; }
.rank-note { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.rank-rows { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
.rank-rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding-bottom: 7px; border-bottom: 1px dashed var(--line); font-size: 13px;
}
.rank-rows b { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.procon { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.procon div { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 12.5px; line-height: 1.6; }
.procon .pro { background: #ECF6F0; color: #1F5B41; }
.procon .con { background: #FBF0EA; color: #8A4620; }
.bars { display: grid; gap: 8px; margin-top: 16px; }
.bars div { display: grid; grid-template-columns: 116px 1fr 34px; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted-2); }
.bars i { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bars i b { display: block; height: 100%; background: var(--accent); }
.bars em { font-style: normal; font-weight: 600; color: var(--deep); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
  .rank { grid-template-columns: 1fr; }
  .rank-photo { max-width: 180px; }
}

.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 30px; }
.podium article { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.62); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.85); box-shadow: var(--shadow); }
.podium article:first-child { background: linear-gradient(160deg, #0B4E8C 0%, #2E79B8 100%); }
.podium article:first-child .podium-badge { color: #BFD8EA; }
.podium article:first-child .podium-name, .podium article:first-child .podium-score { color: #fff; }
.podium article:first-child .podium-sum, .podium article:first-child .podium-price { color: rgba(255,255,255,0.88); }
.podium-badge { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.podium-score { margin-top: 12px; font-size: 38px; font-weight: 500; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.podium-name { margin-top: 8px; font-size: 17px; font-weight: 500; color: var(--deep); }
.podium-sum { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.podium-price { margin-top: 10px; font-size: 12.5px; font-weight: 500; color: var(--muted-2); }

/* ---------- tabela ---------- */
.table-wrap {
  margin-top: 20px; overflow-x: auto; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow);
}
table { width: 100%; min-width: 720px; font-size: 13.5px; }
caption { padding: 20px 22px 0; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
th, td { padding: 14px 20px; text-align: left; vertical-align: top; }
thead th { font-weight: 600; color: var(--deep); border-bottom: 1px solid var(--line-2); }
tbody th { font-weight: 600; color: var(--ink); border-bottom: 1px solid #EEF4F9; }
tbody td { color: var(--muted); border-bottom: 1px solid #EEF4F9; }
.yes { color: #9A4B22; font-weight: 600; }
.no { color: #1F5B41; font-weight: 600; }

/* ---------- kalkulator ---------- */
.calc { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius); background: rgba(255,255,255,0.65); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.85); box-shadow: var(--shadow); }
.calc label { display: block; margin-top: 18px; }
.calc .row { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 500; color: var(--deep); }
.calc .row b { color: var(--accent); font-variant-numeric: tabular-nums; }
.calc input { width: 100%; margin-top: 10px; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 10px; margin-top: 22px; }
.calc-out div { padding: 14px; border-radius: var(--radius-sm); background: var(--tint-3); }
.calc-out div:last-child { background: var(--accent); }
.calc-out div:last-child p { color: #fff; }
.calc-out div:last-child small { color: #BFD8EA; }
.calc-out p { font-size: 21px; font-weight: 500; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-out small { display: block; margin-top: 7px; font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #3E5570; }
.calc .fine { margin-top: 14px; font-size: 11px; line-height: 1.6; color: var(--muted-2); }

/* ---------- statystyki ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 26px; }
.stats div { padding: 18px; border-radius: 14px; background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.85); text-align: center; }
.stats p { font-size: 24px; font-weight: 500; line-height: 1; color: var(--accent); }
.stats small { display: block; margin-top: 8px; font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #3E5570; }

/* ---------- karuzela ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: 16px; margin-top: 30px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.rail-nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.rail-nav button {
  width: 46px; height: 46px; border: 0; border-radius: var(--radius-sm);
  background: var(--tint-2); color: var(--deep); font-family: inherit; font-size: 16px; cursor: pointer;
}
.rail-nav button:last-child { background: var(--accent); color: #fff; }
.rail-nav button:hover { filter: brightness(0.95); }

.person { padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,0.62); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.85); box-shadow: var(--shadow-sm); }
.person .shot { aspect-ratio: 3 / 4; }
.person-role { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.person-name { margin-top: 6px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.person-spec { margin-top: 5px; font-size: 12.5px; color: var(--muted-2); }
.person-rating { margin-top: 8px; font-size: 12px; color: var(--gold); }
.person p.bio { margin-top: 10px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }

.quote { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.62); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.85); box-shadow: var(--shadow-sm); }
.quote .stars { font-size: 13px; letter-spacing: 0.1em; color: var(--gold); }
.quote .meta { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.quote blockquote { margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted); }
.quote footer { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.quote footer span { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; color: var(--muted-2); }

/* ---------- FAQ i słownik ---------- */
.faq { display: grid; gap: 10px; max-width: 920px; margin: 30px auto 0; }
.faq details { padding: 18px 22px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15.5px; font-weight: 500; color: var(--deep); }
.faq summary::after { content: "⌄"; flex: none; font-size: 15px; font-weight: 300; color: var(--accent); }
.faq details[open] summary::after { content: "⌃"; }
.faq p { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--muted); }

.glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 26px; }
.glossary > div { padding: 22px; border-radius: 14px; background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.8); }
.glossary dt { font-size: 14.5px; font-weight: 600; color: var(--deep); }
.glossary dd { margin: 9px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* ---------- oś czasu ---------- */
.timeline { list-style: none; display: grid; gap: 0; margin-top: 26px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-size: 12.5px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.timeline p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

.checklist { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.checklist li { display: flex; gap: 10px; font-size: 13px; line-height: 1.6; }
.checklist li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

.weights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 26px; }
.weights article { padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.weights .w { font-size: 30px; font-weight: 500; line-height: 1; color: var(--accent); }
.weights h3 { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--deep); }
.weights p { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- okruszki ---------- */
.crumbs { padding: 16px var(--pad-x) 0; font-size: 12.5px; color: var(--muted-2); }
.crumbs a { color: var(--muted-2); }
.crumbs span { margin: 0 8px; opacity: .6; }

.page-head { padding: clamp(28px, 4vw, 52px) var(--pad-x) clamp(20px, 3vw, 34px); }
.page-head .meta { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- stopka ---------- */
footer.site { padding: clamp(36px, 4.5vw, 64px) var(--pad-x) 0; background: var(--paper-2); }
.foot-inner {
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #F1F8FD 0%, #E3EEF7 100%);
  padding: clamp(30px, 4vw, 54px) clamp(20px, 4vw, 56px) 26px;
}
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--gap); max-width: var(--max); margin: 0 auto; }
.foot-grid p.brand-note { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--muted); max-width: 260px; }
.foot-grid nav p { font-size: 13px; font-weight: 600; color: var(--deep); }
.foot-grid nav ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; font-size: 12.5px; }
.foot-grid nav a { color: var(--muted); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  max-width: var(--max); margin: 30px auto 0; padding: 20px 0 24px;
  border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted-2);
}

/* Wąskie ekrany: nawigacja przewijana poziomo zamiast łamanej na trzy rzędy */
@media (max-width: 860px) {
  .mainnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .mainnav::-webkit-scrollbar { display: none; }
  .mainnav a { white-space: nowrap; }
  .topbar { gap: 10px; }
  .topcta { padding: 10px 16px; font-size: 11.5px; }
}
