/* Wspólny wygląd wszystkich podstron (index, akademia, polityka prywatności, 404)
   Paleta wzięta z logo: len, piasek, taupe, espresso, złoto */
:root {
  --linen: #f6f1eb;        /* główne tło */
  --ivory: #fbf8f4;        /* karty */
  --sand: #ece3d9;         /* sekcje przełamujące */
  --taupe: #cfc1b4;        /* tło logo */
  --taupe-dark: #a8978a;
  --ink: #2b231e;          /* espresso — ciemne sekcje */
  --ink-2: #3a302a;
  --ink-3: #4d4038;
  --gold: #c2a24a;         /* złoto na ciemnym */
  --gold-logo: #bfa03c;    /* złoto jak w logo */
  --gold-dark: #765e18;     /* złoto do tekstu na jasnym tle — kontrast ≥ 4,5 (WCAG AA) */
  --text: #2b231e;
  --muted: #6f6259;
  --line: rgba(43, 35, 30, .12);
  --line-light: rgba(251, 248, 244, .14);
  --on-dark: rgba(251, 248, 244, .72);
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --max: 1220px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; font-size: 16.5px; line-height: 1.7; background: var(--linen); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--taupe); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--linen); padding: 10px 16px; }
.skip:focus { left: 8px; }
.grain::before {
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Logo ---------- */
.brand { display: flex; align-items: center; gap: 13px; }
.brand svg { width: 36px; height: 36px; flex: none; color: var(--taupe-dark); }
.brand .name { font-family: var(--serif); font-size: 21px; line-height: 1; color: var(--gold-dark); }
.brand .tag { display: block; font-size: 8.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 30px; cursor: pointer;
  font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 999px;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.btn.dark:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #d3b764; border-color: #d3b764; }
.btn.line { border-color: rgba(43, 35, 30, .35); }
.btn.line:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn .ext { font-size: 13px; line-height: 1; }

/* ---------- Nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; color: var(--ink); transition: background .4s, box-shadow .4s; }
.nav.solid { background: rgba(246, 241, 235, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .4s; }
.nav.solid .wrap { height: 74px; }
.nav ul { display: flex; align-items: center; gap: 28px; list-style: none; white-space: nowrap; }
.brand { white-space: nowrap; }
.nav ul a:not(.btn) { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); transition: color .25s; position: relative; padding: 6px 0; }
.nav ul a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-dark); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:not(.btn):hover, .nav ul a.active { color: var(--ink); }
.nav ul a:not(.btn):hover::after, .nav ul a.active::after { transform: scaleX(1); }
.nav .btn { padding: 12px 22px; font-size: 10.5px; background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.nav .btn:hover { background: var(--ink-3); border-color: var(--ink-3); }
.nav.on-dark:not(.solid) { color: var(--ivory); }
.nav.on-dark:not(.solid) ul a:not(.btn) { color: rgba(251, 248, 244, .8); }
.nav.on-dark:not(.solid) .brand .name { color: var(--gold); }
.nav.on-dark:not(.solid) .brand .tag { color: rgba(251, 248, 244, .6); }
.nav.on-dark:not(.solid) .brand svg { color: var(--ivory); }
.nav.on-dark:not(.solid) .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu na telefonie */
.mobile-menu {
  position: fixed; inset: 0; z-index: 25; background: var(--linen); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.l { font-family: var(--display); font-size: 34px; line-height: 1.25; padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.mobile-menu a.l span { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold-dark); }
.mobile-menu .btn { margin-top: 36px; }
.menu-open .nav { background: transparent; box-shadow: none; color: var(--ink); }
.menu-open .nav.on-dark .brand .name { color: var(--gold-dark); }
.menu-open .nav.on-dark .brand svg { color: var(--taupe-dark); }
body.menu-open { overflow: hidden; }

.sticky-cta { display: none; }

/* ---------- Hero (strona główna) ---------- */
.hero { position: relative; overflow: hidden; padding: 0; background: radial-gradient(70% 80% at 85% 35%, #e9dccf 0%, var(--linen) 60%); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero .watermark { position: absolute; right: -160px; top: 90px; width: 560px; height: 560px; color: rgba(207, 193, 180, .2); pointer-events: none; z-index: 0; animation: spin 180s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .wrap { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; padding-top: 140px; padding-bottom: 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 6vw, 88px); line-height: 1.02; letter-spacing: -.015em; margin: 28px 0 30px; color: var(--ink); }
.hero h1 em, h2 em, .statement em { font-family: var(--serif); font-style: italic; font-size: .9em; }
.hero h1 em { color: var(--gold-dark); }
.hero .lead { max-width: 540px; font-size: 18.5px; font-weight: 300; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust div { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.trust div::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-portrait { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hero-portrait .arch { position: relative; aspect-ratio: 268 / 400; border-radius: 999px 999px 0 0; overflow: hidden; background: #fff; box-shadow: 0 50px 80px -50px rgba(43, 35, 30, .55); }
.hero-portrait .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait::before { content: ""; position: absolute; inset: -18px -18px 46px 18px; border: 1px solid var(--gold); border-radius: 999px 999px 0 0; z-index: -1; }
.hero-portrait .badge {
  position: absolute; left: -64px; bottom: 54px; background: var(--ivory); padding: 16px 22px 16px 16px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 24px 50px -24px rgba(43, 35, 30, .4); border-radius: 999px;
}
.hero-portrait .badge svg { width: 38px; height: 38px; color: var(--taupe); }
.hero-portrait .badge b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--gold-dark); line-height: 1.1; }
.hero-portrait .badge span { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.hero-portrait figcaption { position: absolute; right: -10px; top: 40px; writing-mode: vertical-rl; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }

/* ---------- Pasek z kwalifikacjami ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ivory); overflow: hidden; padding: 22px 0; }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: slide 48s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-3); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sekcje ---------- */
section { padding: 140px 0; scroll-margin-top: 60px; position: relative; }
.num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold-dark); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.num::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -.012em; }
h2 em { color: var(--gold-dark); }
h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.18; }
.head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: end; margin-bottom: 76px; }
.head p { color: var(--muted); font-size: 17.5px; font-weight: 300; max-width: 540px; }
.dark { background: var(--ink); color: var(--ivory); }
.dark .num, .dark h2 em { color: var(--gold); }
.dark .head p { color: var(--on-dark); }
.sand { background: var(--sand); }
.ivory { background: var(--ivory); }

/* Filozofia / metoda */
.statement { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.18; text-align: center; max-width: 18ch; margin: 0 auto; letter-spacing: -.01em; }
.statement em { color: var(--gold-dark); }
.statement-sub { text-align: center; color: var(--muted); font-weight: 300; font-size: 17.5px; max-width: 620px; margin: 28px auto 0; }
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 90px; border-top: 1px solid var(--line); }
.method > div { padding: 44px 40px 10px 0; position: relative; }
.method > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
.method .step-n { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--taupe); }
.method h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 18px 0 10px; }
.method h3 small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.method p { color: var(--muted); font-weight: 300; font-size: 16px; }

/* O mnie */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.logo-panel { background: var(--taupe); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.logo-panel svg { width: 58%; color: #fbf8f4; position: relative; z-index: 1; --logo-sub: #5d5047; }
.logo-panel .tagline { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(43, 35, 30, .55); }
.about-text > p { color: var(--muted); font-weight: 300; font-size: 17.5px; margin-top: 24px; }
.about-text > p.quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.5; color: var(--ink); padding-left: 26px; border-left: 1px solid var(--gold); margin-top: 32px; }
.facts { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts .k { font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts .v { font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.about-text > p.signature { margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold-dark); }

/* Zakres */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { background: var(--ivory); padding: 58px 54px; position: relative; border-radius: 2px; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.field:hover { box-shadow: 0 34px 60px -40px rgba(43, 35, 30, .4); transform: translateY(-4px); }
.field::before { content: ""; position: absolute; top: 0; left: 54px; width: 48px; height: 2px; background: var(--gold); }
.field .ico { width: 54px; height: 54px; margin-bottom: 34px; color: var(--ink); }
.field h3 { margin-bottom: 14px; }
.field > p { color: var(--muted); font-weight: 300; margin-bottom: 28px; }
.field ul { list-style: none; border-top: 1px solid var(--line); }
.field li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; }
.field li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--gold-dark); }
.also { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; color: var(--muted); font-size: 15px; }
.also b { font-weight: 500; color: var(--text); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }

/* Objawy */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.sign { padding: 40px 36px 44px 0; border-bottom: 1px solid var(--line-light); }
.sign:nth-child(3n+2), .sign:nth-child(3n) { padding-left: 36px; border-left: 1px solid var(--line-light); }
.sign .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 16px; }
.sign h3 { font-family: var(--display); font-weight: 400; font-size: 23px; margin: 10px 0 8px; }
.sign p { font-size: 15px; font-weight: 300; color: var(--on-dark); }
.note { margin-top: 44px; font-size: 13.5px; color: rgba(251, 248, 244, .5); max-width: 720px; }

/* Pierwsza wizyta */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { border-top: 1px solid var(--ink); padding-top: 26px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 46px; color: var(--gold-dark); display: block; line-height: 1; margin-bottom: 22px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; font-weight: 300; }
.bring { margin-top: 64px; padding: 34px 40px; background: var(--ivory); border-left: 2px solid var(--gold); display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: baseline; }
.bring b { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.bring p { color: var(--muted); font-weight: 300; }

/* Miejsca przyjęć */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.place { border: 1px solid var(--line); padding: 38px 40px; display: flex; flex-direction: column; gap: 16px; background: var(--ivory); transition: border-color .4s, box-shadow .4s; }
.place:hover { border-color: var(--gold); box-shadow: 0 24px 50px -36px rgba(43, 35, 30, .4); }
.place .type { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; }
.place h3 { font-size: 25px; }
.place address { font-style: normal; color: var(--muted); font-weight: 300; }
.place .booking { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.place .booking::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6f9a63; flex: none; }
.place .booking.off::before { background: var(--taupe); }
.place .links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: auto; padding-top: 6px; }
.place .links a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .25s; }
.place .links a:hover { color: var(--gold-dark); }
.place.academic { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.place.academic .type { color: var(--gold); }
.place.academic address, .place.academic p { color: var(--on-dark); font-weight: 300; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-aside { position: sticky; top: 120px; background: var(--ink); color: var(--ivory); padding: 44px 40px; }
.faq-aside h3 { font-size: 27px; margin-bottom: 12px; }
.faq-aside p { color: var(--on-dark); font-weight: 300; margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-family: var(--display); font-size: 23px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { border-color: var(--gold); background: var(--gold); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 60px 28px 0; color: var(--muted); font-weight: 300; font-size: 16.5px; }

/* Akademia — zapowiedź */
.academy { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.academy-card { border: 1px solid rgba(43, 35, 30, .2); padding: 48px; position: relative; background: rgba(251, 248, 244, .45); }
.academy-card::before { content: "Wkrótce"; position: absolute; top: -11px; left: 40px; background: var(--taupe); padding: 0 12px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.academy-card li { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(43, 35, 30, .14); font-family: var(--serif); font-size: 17px; }
.academy-card li span { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); opacity: .7; white-space: nowrap; padding-top: 5px; }
.academy-card .btn { margin-top: 36px; }
.taupe { background: var(--taupe); }
.taupe .num, .taupe h2 em { color: #6b5520; }
.taupe .lead-p { color: var(--ink-3); }

/* Umów wizytę */
.book { overflow: hidden; text-align: center; background: var(--ink); color: var(--ivory); }
.book .flower-bg { position: absolute; left: 50%; top: 50%; width: 780px; height: 780px; transform: translate(-50%, -50%); color: rgba(207, 193, 180, .04); pointer-events: none; }
.book .wrap { position: relative; }
.book h2 { font-size: clamp(44px, 6vw, 80px); margin: 8px auto 24px; max-width: 14ch; }
.book h2 em { color: var(--gold); }
.book p.sub { max-width: 580px; margin: 0 auto; font-weight: 300; color: var(--on-dark); font-size: 17.5px; }
.book .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.book .actions .btn:not(.gold) { color: var(--ivory); border-color: rgba(251, 248, 244, .4); }
.book .actions .btn:not(.gold):hover { background: var(--ivory); color: var(--ink); }
.book .num { justify-content: center; color: var(--gold); }
.book .num::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.book .small { margin-top: 30px; font-size: 13px; color: rgba(251, 248, 244, .5); }
.todo { background: rgba(194, 162, 74, .22); padding: 0 6px; font-style: italic; }

/* Stopka */
footer { background: #221c18; color: rgba(251, 248, 244, .55); padding: 80px 0 40px; font-size: 13.5px; }
footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
footer .lockup { width: 140px; color: var(--ivory); }
footer .footer-h { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin-bottom: 18px; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer a { transition: color .25s; }
footer a:hover { color: var(--ivory); }
footer .legal { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; }
footer .legal p { max-width: 640px; }

/* Formularz (Akademia) */
.form { display: grid; gap: 14px; margin-top: 28px; }
.form input, .form select { font: inherit; font-size: 15px; padding: 16px 20px; background: transparent; color: inherit; border: 1px solid var(--line-light); border-radius: 999px; outline: none; transition: border-color .25s; -webkit-appearance: none; appearance: none; }
.form input::placeholder { color: rgba(251, 248, 244, .5); }
.form input:focus, .form select:focus { border-color: var(--gold); }
.form select option { color: var(--ink); }
.form small { color: rgba(251, 248, 244, .5); font-size: 12.5px; }

/* Wejście sekcji */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s ease, transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee .track, .hero .watermark { animation: none; }
}

/* ---------- Tablet / telefon ---------- */
@media (max-width: 1100px) {
  .nav ul { display: none; }
  .burger { display: block; }
}
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .nav .wrap, .nav.solid .wrap { height: 70px; }
  .brand .tag { display: none; }
  section { padding: 92px 0; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 72px; gap: 44px; }
  .hero-portrait { order: -1; max-width: 250px; justify-self: start; margin-left: 18px; }
  .hero-portrait .badge { left: auto; right: -40px; bottom: 30px; padding: 10px 16px 10px 10px; }
  .hero-portrait .badge svg { width: 28px; height: 28px; }
  .hero-portrait .badge b { font-size: 14px; }
  .hero-portrait figcaption { display: none; }
  .hero .watermark { width: 420px; height: 420px; left: auto; right: -160px; bottom: auto; top: 60px; }
  .trust { margin-top: 40px; gap: 10px 22px; }
  .marquee span { font-size: 16px; gap: 36px; }
  .marquee .track { gap: 36px; }
  .head, .about, .fields, .academy, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .head { margin-bottom: 52px; }
  .about { gap: 56px; }
  .logo-panel { max-width: 360px; aspect-ratio: 1; }
  .method { grid-template-columns: 1fr; margin-top: 60px; }
  .method > div, .method > div + div { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .field { padding: 44px 26px 36px; }
  .field::before { left: 26px; }
  .signs { grid-template-columns: 1fr; }
  .sign, .sign:nth-child(3n+2), .sign:nth-child(3n) { padding: 28px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .bring { grid-template-columns: 1fr; padding: 28px 24px; }
  .places { grid-template-columns: 1fr; }
  .place { padding: 30px 24px; }
  .faq-aside { position: static; padding: 36px 26px; order: 2; }
  .faq summary { font-size: 20px; }
  .faq .a { padding-right: 0; }
  .academy-card { padding: 40px 24px; }
  footer .grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  footer .grid > div:first-child { grid-column: 1 / -1; }
  .sticky-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; border-radius: 999px;
    justify-content: center; padding: 16px; background: var(--ink); color: var(--ivory);
    font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
    box-shadow: 0 14px 30px -10px rgba(43, 35, 30, .55);
    transform: translateY(160%); transition: transform .45s var(--ease);
  }
  .sticky-cta.show { transform: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
}

/* ---------- Blog ---------- */
.text-link { color: var(--gold-dark); border-bottom: 1px solid currentColor; white-space: nowrap; }
.post-cat { display: inline-block; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--ivory); border: 1px solid var(--line); padding: 34px 32px 30px; transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.sand .post-card a, .ivory .post-card a { background: #fff; }
.post-card a:hover { border-color: var(--gold); box-shadow: 0 26px 50px -36px rgba(43, 35, 30, .45); transform: translateY(-4px); }
.post-card h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.25; margin: 14px 0 12px; }
.post-card p { color: var(--muted); font-weight: 300; font-size: 15px; flex: 1; }
.post-meta { margin-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.post-meta .arrow { color: var(--gold-dark); font-size: 16px; transition: transform .3s var(--ease); }
.post-card a:hover .arrow, .featured:hover .arrow { transform: translateX(4px); }

.blog-hero { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 85% 20%, #e9dccf 0%, var(--linen) 60%); padding: 180px 0 80px; }
.blog-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 6vw, 84px); line-height: 1.04; margin: 24px 0 24px; }
.blog-hero h1 em { font-family: var(--serif); font-style: italic; color: var(--gold-dark); font-size: .9em; }
.blog-hero .lead { max-width: 620px; font-size: 18px; font-weight: 300; color: var(--muted); }
.blog-list { padding-top: 40px; }
.featured { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; background: var(--ivory); border: 1px solid var(--line); padding: 28px; margin-bottom: 56px; transition: box-shadow .4s, border-color .4s; }
.featured:hover { border-color: var(--gold); box-shadow: 0 30px 60px -40px rgba(43, 35, 30, .45); }
.featured-art { background: var(--taupe); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.featured-art svg { width: 38%; height: auto; aspect-ratio: 1; color: #fbf8f4; }
.featured h2 { font-size: clamp(30px, 3vw, 42px); margin: 14px 0 16px; }
.featured p { color: var(--muted); font-weight: 300; }
.featured .post-meta { justify-content: flex-start; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { font: inherit; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-3); cursor: pointer; transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Artykuł */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.post-hero { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 85% 20%, #e9dccf 0%, var(--linen) 60%); padding: 170px 0 70px; }
.post-hero .wrap { max-width: 980px; position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 34px; }
.crumbs a { border-bottom: 1px solid transparent; transition: border-color .25s; }
.crumbs a:hover { border-color: currentColor; }
.crumbs b { font-weight: 400; color: var(--ink); }
.post-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.1; letter-spacing: -.01em; margin: 16px 0 24px; }
.post-lead { font-family: var(--serif); font-size: 21px; line-height: 1.6; color: var(--ink-3); max-width: 760px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; background: #fff; }
.byline b { display: block; font-weight: 500; font-size: 14.5px; }
.byline span { font-size: 13px; color: var(--muted); }
.post-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 80px; justify-content: center; padding-top: 70px; padding-bottom: 100px; }
.toc { position: sticky; top: 110px; align-self: start; }
.toc b { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 16px; }
.toc ol { list-style: none; counter-reset: t; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 7px 0 7px 18px; font-size: 14px; line-height: 1.45; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; transition: color .25s, border-color .25s; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--gold); }
.toc .btn { margin-top: 28px; padding: 13px 22px; font-size: 10.5px; }
.prose { font-size: 18px; line-height: 1.8; color: #3a302a; }
.prose > p:first-child { font-size: 19px; }
.prose > p:first-child::first-letter { font-family: var(--display); float: left; font-size: 78px; line-height: .8; padding: 8px 12px 0 0; color: var(--gold-dark); }
.prose p { margin: 0 0 22px; font-weight: 300; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; margin: 56px 0 18px; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--display); font-size: 23px; margin: 34px 0 10px; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 9px; font-weight: 300; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 12px; height: 1px; background: var(--gold-dark); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before { content: counter(n) "."; position: absolute; left: 0; font-family: var(--serif); color: var(--gold-dark); }
.prose a { color: var(--gold-dark); border-bottom: 1px solid rgba(140, 113, 36, .4); transition: border-color .25s; }
.prose a:hover { border-color: currentColor; }
.callout { background: var(--ivory); border-left: 2px solid var(--gold); padding: 26px 30px; margin: 34px 0; }
.callout b { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.callout p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--ink); font-weight: 400; }
.disclaimer { margin: 48px 0 0; padding: 18px 22px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); font-weight: 300; }
.prose section { padding: 0; margin-top: 56px; }
.prose section h2 { margin-top: 0; }
.post-faq .faq summary { font-size: 20px; }
.post-faq .faq .a { padding-right: 0; font-size: 16.5px; }
.sources ol li { font-size: 14px; line-height: 1.6; color: var(--muted); }
.sources ol li::before { font-size: 14px; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 26px; margin-top: 56px; padding: 32px; background: var(--ivory); border: 1px solid var(--line); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; background: #fff; }
.author-box b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; margin: 6px 0 8px; }
.author-box p { font-size: 15.5px; margin-bottom: 10px; }
.post-cta { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); text-align: center; padding: 110px 0; }
.post-cta .flower-bg { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); color: rgba(207, 193, 180, .04); }
.post-cta h2 { position: relative; font-size: clamp(36px, 4.4vw, 56px); }
.post-cta h2 em { color: var(--gold); }
.post-cta p { position: relative; max-width: 520px; margin: 18px auto 36px; color: var(--on-dark); font-weight: 300; }
.post-cta .btn { position: relative; }
.related { padding: 100px 0; }

@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 720px); }
  .toc { display: none; }
}
@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; gap: 26px; padding: 18px 18px 28px; }
  .blog-hero { padding: 120px 0 56px; }
  .post-hero { padding: 120px 0 50px; }
  .post-lead { font-size: 18.5px; }
  .post-layout { padding-top: 46px; padding-bottom: 70px; }
  .prose { font-size: 17px; }
  .author-box { grid-template-columns: 1fr; padding: 26px; }
  .related { padding: 72px 0; }
  .post-cta { padding: 84px 0; }
}

/* Publikacje */
.pubs { list-style: none; border-top: 1px solid var(--line); }
.pub { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub-y { font-family: var(--display); font-size: 26px; color: var(--gold-dark); line-height: 1.2; }
.pub a { font-family: var(--serif); font-size: 18px; line-height: 1.45; color: var(--ink); transition: color .25s; }
.pub a:hover { color: var(--gold-dark); }
.pub-a { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.pub-a b { font-weight: 500; color: var(--ink); }
.pub-j { display: block; font-size: 12px; font-style: italic; color: var(--muted); }
@media (max-width: 960px) { .pub { grid-template-columns: 1fr; gap: 6px; } .pub-y { font-size: 20px; } .pub a { font-size: 16.5px; } }

/* ---------- Akademia: granat ze złotem (osobna marka „Dental Education”) ---------- */
body.akademia, .academy-navy {
  --a-navy: #0f1d33; --a-navy-2: #132542; --a-navy-3: #1b3358; --a-deep: #0a1426;
  --a-text: #f4f7fb; --a-muted: rgba(244, 247, 251, .68); --a-line: rgba(244, 247, 251, .14); --a-gold: #c9aa4f;
}
body.akademia { background: var(--a-navy); color: var(--a-text); }
body.akademia .nav { color: var(--a-text); }
body.akademia .nav.solid { background: rgba(15, 29, 51, .94); box-shadow: 0 1px 0 var(--a-line); }
body.akademia .nav ul a:not(.btn) { color: rgba(244, 247, 251, .78); }
body.akademia .nav ul a:not(.btn):hover, body.akademia .nav ul a.active { color: #fff; }
body.akademia .nav ul a:not(.btn)::after { background: var(--a-gold); }
body.akademia .brand .name { color: var(--a-gold); }
body.akademia .brand .tag { color: rgba(244, 247, 251, .55); }
body.akademia .brand svg { color: #eef1f5; }
body.akademia .nav .btn { background: var(--a-gold); border-color: var(--a-gold); color: var(--a-navy); }
body.akademia .mobile-menu { background: var(--a-navy); color: var(--a-text); }
body.akademia .mobile-menu a.l { border-color: var(--a-line); }
body.akademia .mobile-menu a.l span { color: var(--a-gold); }
body.akademia.menu-open .nav, body.akademia.menu-open .nav .brand .name { color: var(--a-text); }
body.akademia.menu-open .nav .brand .name { color: var(--a-gold); }
body.akademia .hero.small { background: radial-gradient(80% 90% at 80% 25%, var(--a-navy-3) 0%, var(--a-navy-2) 45%, var(--a-navy) 100%); color: var(--a-text); }
body.akademia .hero.small .eyebrow, body.akademia .hero.small h1 em { color: var(--a-gold); }
body.akademia .hero.small .lead { color: var(--a-muted); }
body.akademia .hero h1 { color: var(--a-text); }
body.akademia .hero-logo svg { color: #eef1f5 !important; --logo-sub: rgba(244, 247, 251, .75) !important; }
body.akademia .btn.dark { background: var(--a-gold); border-color: var(--a-gold); color: var(--a-navy); }
body.akademia .btn.dark:hover { background: #d8bd6c; border-color: #d8bd6c; }
body.akademia .btn.line { border-color: rgba(244, 247, 251, .4); color: var(--a-text); }
body.akademia .btn.line:hover { background: var(--a-text); color: var(--a-navy); }
body.akademia .ivory, body.akademia .sand { background: var(--a-navy-2); }
body.akademia section { color: var(--a-text); }
body.akademia .num, body.akademia h2 em { color: var(--a-gold); }
body.akademia .head p { color: var(--a-muted); }
body.akademia .course { background: var(--a-navy) !important; border-color: var(--a-line); }
body.akademia .course:hover { border-color: var(--a-gold); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .6); }
body.akademia .course .meta { color: var(--a-muted); }
body.akademia .course .meta .status { color: var(--a-gold); }
body.akademia .course p { color: var(--a-muted); }
body.akademia .course ul { border-color: var(--a-line); }
body.akademia .course li { border-color: var(--a-line); }
body.akademia .course li::before { background: var(--a-gold); }
body.akademia .format .n { color: var(--a-gold); }
body.akademia .formats { border-color: var(--a-line); }
body.akademia .format + .format { border-color: var(--a-line); }
body.akademia .format p { color: var(--a-muted); }
body.akademia .dark { background: var(--a-deep); }
body.akademia .why div { border-color: var(--a-line); }
body.akademia .book { background: radial-gradient(70% 90% at 50% 0%, var(--a-navy-3), var(--a-navy) 70%); }
body.akademia .book .flower-bg { color: rgba(201, 170, 79, .05); }
body.akademia .form input, body.akademia .form select { border-color: var(--a-line); }
body.akademia .form input:focus, body.akademia .form select:focus { border-color: var(--a-gold); }
body.akademia footer { background: var(--a-deep); }
body.akademia footer .footer-h { color: var(--a-gold); }
body.akademia .progress span { background: var(--a-gold); }
body.akademia ::selection { background: var(--a-gold); color: var(--a-navy); }
@media (max-width: 960px) {
  body.akademia .format, body.akademia .format + .format { border-color: var(--a-line); }
}

/* Zapowiedź Akademii na stronie głównej — w kolorach Akademii */
.academy-navy { background: radial-gradient(80% 100% at 85% 20%, var(--a-navy-3) 0%, var(--a-navy) 70%); color: var(--a-text); }
.academy-navy .num, .academy-navy h2 em { color: var(--a-gold); }
.academy-navy .lead-p { color: var(--a-muted); }
.academy-navy .academy-card { background: rgba(244, 247, 251, .03); border-color: var(--a-line); }
.academy-navy .academy-card::before { background: var(--a-navy-2); color: var(--a-gold); }
.academy-navy .academy-card li { border-color: var(--a-line); }
.academy-navy .academy-card li span { color: var(--a-muted); opacity: 1; }
.academy-navy .btn.dark { background: var(--a-gold); border-color: var(--a-gold); color: var(--a-navy); }
.academy-navy .btn.dark:hover { background: #d8bd6c; border-color: #d8bd6c; }

/* Akademia w menu — granatowa pigułka ze złotą kropką, żeby było widać osobną markę */
.nav ul a.nav-akademia { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px !important; border-radius: 999px; background: #0f1d33; color: #f4f7fb !important; opacity: 1; }
.nav ul a.nav-akademia::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c9aa4f; }
.nav ul a.nav-akademia::after { display: none; }
.nav ul a.nav-akademia:hover { background: #1b3358; }
body.akademia .nav ul a.nav-akademia { background: rgba(201, 170, 79, .16); color: #c9aa4f !important; }
.nav ul { gap: 24px; }

/* ---------- Droga zawodowa (oś czasu) ---------- */
.timeline { background: var(--ivory); border: 1px solid var(--line); padding: 40px 36px 32px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 0; left: 36px; width: 48px; height: 2px; background: var(--gold); }
.timeline ol { list-style: none; position: relative; margin-top: 8px; }
.timeline ol::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 34px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 1.5px solid var(--gold); }
.timeline li.tl-teraz::before { background: var(--gold); }
.timeline li:last-child { padding-bottom: 0; }
.tl-rok { font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.timeline b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--ink); }
.timeline li > span:last-child { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.5; }

/* ---------- W liczbach ---------- */
.liczby { padding: 64px 0; background: var(--linen); border-bottom: 1px solid var(--line); }
.liczby-siatka { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.liczby-siatka > div { padding: 6px 28px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.liczby-siatka > div:first-child { border-left: 0; padding-left: 0; }
.liczby strong { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4vw, 54px); line-height: 1; color: var(--ink); }
.liczby span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Publikacje: zwijanie ---------- */
.pub.pub-ukryta { display: none; }
.pubs-wiecej { margin-top: 22px; }

@media (max-width: 960px) {
  .timeline { padding: 32px 22px 26px; }
  .timeline::before { left: 22px; }
  .liczby { padding: 44px 0; }
  .liczby-siatka { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .liczby-siatka > div { padding: 0 16px; }
  .liczby-siatka > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 1100px) and (min-width: 961px) { .places { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Test przesiewowy (TMD Pain Screener) ---------- */
.test-ssz { margin-top: 64px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 48px; border: 1px solid var(--line-light); background: rgba(251, 248, 244, .03); scroll-margin-top: 90px; }
.test-ssz-opis h3 { font-size: 30px; margin-bottom: 14px; }
.test-ssz-opis p { color: var(--on-dark); font-weight: 300; font-size: 15.5px; }
.test-ssz fieldset { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line-light); }
.test-ssz legend { font-family: var(--display); font-size: 19px; line-height: 1.35; margin-bottom: 12px; padding: 0; color: var(--ivory); }
.test-ssz fieldset > label { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; font-size: 15px; color: var(--on-dark); cursor: pointer; }
.test-ssz input[type="radio"] { accent-color: var(--gold); width: 17px; height: 17px; }
.test-tak-nie { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(251, 248, 244, .07); font-size: 15px; color: var(--on-dark); }
.test-tak-nie:first-of-type { border-top: 0; }
.test-tak-nie label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.test-wynik { margin-top: 24px; padding: 24px 26px; background: var(--ivory); color: var(--ink); border-left: 3px solid var(--gold); }
.test-wynik strong { font-family: var(--display); font-weight: 400; font-size: 24px; display: block; margin-bottom: 8px; }
.test-wynik p { font-size: 15.5px; color: var(--muted); margin-bottom: 10px; }
.test-wynik .text-link { color: var(--gold-dark); }
.test-akcje { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 14px; }
.test-brak { color: #f0c9a0; font-size: 14px; margin-top: 12px; }
.test-zastrzezenie { margin-top: 18px; font-size: 12.5px; color: rgba(251, 248, 244, .5); }
@media (max-width: 960px) {
  .test-ssz { grid-template-columns: 1fr; gap: 24px; padding: 32px 22px; margin-top: 44px; }
  .test-tak-nie { grid-template-columns: 1fr auto auto; gap: 12px; font-size: 14.5px; }
}

/* ---------- Schemat stawu (artykuły) ---------- */
.staw-demo { margin: 36px 0 40px; padding: 26px 26px 20px; background: var(--ivory); border: 1px solid var(--line); }
.staw-przelacznik { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.staw-przelacznik label { cursor: pointer; padding-left: 0 !important; margin: 0 !important; }
.staw-przelacznik label::before { display: none; }
.staw-przelacznik input { position: absolute; opacity: 0; pointer-events: none; }
.staw-przelacznik span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); transition: all .25s; }
.staw-przelacznik input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.staw-przelacznik input:focus-visible + span { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.staw-svg { width: 100%; height: auto; display: block; background: #fff; }
.staw-kosc { fill: var(--taupe); stroke: var(--taupe-dark); stroke-width: 1.5; }
.staw-zuchwa path, .staw-zuchwa ellipse { fill: var(--ink-3); }
.staw-krazek { fill: var(--gold); stroke: #8a6c1c; stroke-width: 1; }
.staw-podpis { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-3); }
.staw-podpis-maly { font-size: 10.5px; }
.staw-wskaznik { stroke: var(--ink-3); stroke-width: 1; opacity: .5; }
.staw-klik { font-family: var(--serif); font-style: italic; font-size: 22px; fill: var(--gold-dark); opacity: 0; }
.staw-klik.widoczny { animation: klik 1s ease-out; }
@keyframes klik { 0% { opacity: 0; transform: translateY(4px); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
.staw-sterowanie { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; margin-top: 16px; }
.staw-suwak { display: flex !important; align-items: center; gap: 12px; padding-left: 0 !important; margin: 0 !important; font-size: 13px; color: var(--muted); flex: 1; min-width: 220px; }
.staw-suwak::before { display: none; }
.staw-suwak input { flex: 1; accent-color: var(--gold-dark); }
.staw-legenda { display: flex !important; gap: 22px; margin: 14px 0 0 !important; font-size: 13px; color: var(--muted); }
.staw-legenda li { padding-left: 0 !important; margin: 0 !important; display: flex; align-items: center; gap: 8px; }
.staw-legenda li::before { display: none; }
.staw-legenda i { width: 22px; height: 8px; border-radius: 4px; display: inline-block; }
.l-krazek { background: var(--gold); } .l-zuchwa { background: var(--ink-3); }
.staw-demo figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .staw-klik.widoczny { animation: none; opacity: 1; } }

/* ---------- „W skrócie” na początku artykułu ---------- */
.w-skrocie { background: var(--ink); color: var(--ivory); padding: 26px 30px 22px; margin: 0 0 36px; border-left: 3px solid var(--gold); }
.w-skrocie b { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.prose .w-skrocie ul { margin: 0; }
.prose .w-skrocie li { font-weight: 400; font-size: 17px; line-height: 1.6; margin-bottom: 8px; color: var(--ivory); }
.prose .w-skrocie li::before { background: var(--gold); }
.prose .w-skrocie a { color: var(--gold); border-color: rgba(194, 162, 74, .5); }
.prose > .w-skrocie + p { font-size: 19px; }
.prose > .w-skrocie + p::first-letter { font-family: var(--display); float: left; font-size: 78px; line-height: .8; padding: 8px 12px 0 0; color: var(--gold-dark); }

/* Przełącznik języka w menu */
.nav ul a.nav-jezyk { font-size: 11px; letter-spacing: .14em; padding: 6px 10px !important; border: 1px solid var(--line); border-radius: 999px; }
.nav ul a.nav-jezyk::after { display: none; }

/* Wydruk artykułu (np. zasady samoopieki dla pacjenta) */
@media print {
  .nav, .mobile-menu, .sticky-cta, .toc, .progress, .post-cta, .related, footer, .staw-sterowanie, .staw-przelacznik, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .post-hero { padding: 0 0 12pt; background: none; }
  .post-layout { display: block; padding: 0; }
  .prose a { color: #000; border: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .w-skrocie { background: none; color: #000; border: 1pt solid #000; }
  .prose .w-skrocie li { color: #000; }
}
