/* ==========================================================================
   Instytut Zdrowia dr Boczarska-Jedynak — makieta strony głównej (v2)
   Kierunek: „ciepła porcelana + złoto” · Host Grotesk + Geist Mono
   ========================================================================== */

/* ---------- Fonty (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/host-grotesk-normal-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: "Host Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/host-grotesk-normal-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;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/host-grotesk-italic-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: "Host Grotesk";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/host-grotesk-italic-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;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/geist-mono-normal-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: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/geist-mono-normal-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;
}

/* ---------- Tokeny ---------- */
:root {
  --bg: #F5F2EC;
  --bg-soft: #ECE6DB;
  --surface: #FFFFFF;
  --ink: #16140F;
  --ink-2: #3B372F;
  --muted: #6B6458;
  --line: rgba(22, 20, 15, .1);
  --line-2: rgba(22, 20, 15, .18);

  --gold-50: #F8F1E3;
  --gold-100: #F0E3C8;
  --gold-200: #E4CFA2;
  --gold-300: #D5B780;
  --gold-400: #C5A16A;
  --gold-500: #B08A4E;
  --gold-600: #946F37;
  --gold-700: #775727;
  --gold-grad: linear-gradient(115deg, #8C6630 0%, #C9A462 26%, #F1DDA8 50%, #C29B5B 74%, #8C6630 100%);
  --gold-grad-soft: linear-gradient(135deg, #FBF6EA 0%, #F1E4C7 100%);

  --night: #100F0D;
  --night-2: #191713;
  --night-3: #26231D;
  --on-dark: #F3EEE6;
  --on-dark-2: rgba(243, 238, 230, .7);
  --line-dark: rgba(243, 238, 230, .12);

  --success: #3F7D5A;
  --danger: #B3412E;

  --font-sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(1.125rem, 4vw, 3.5rem);
  --inset: clamp(.5rem, 1.2vw, 1rem);
  --panel-r: clamp(28px, 4vw, 56px);
  --section-y: clamp(5rem, 10vw, 9.5rem);
  --topbar-h: 40px;
  --navbar-h: 84px;
  --header-h: calc(var(--topbar-h) + var(--navbar-h));

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-s: 0 1px 2px rgba(40, 28, 10, .05), 0 6px 16px -8px rgba(40, 28, 10, .12);
  --shadow-m: 0 2px 6px rgba(40, 28, 10, .04), 0 28px 56px -28px rgba(40, 28, 10, .28);
  --shadow-l: 0 50px 100px -40px rgba(40, 28, 10, .42), 0 10px 30px -12px rgba(40, 28, 10, .12);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html[data-fs="1"] { font-size: 112.5%; }
html[data-fs="2"] { font-size: 125%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after { /* subtelne ziarno — dodaje „materiałowości” */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--gold-200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 500;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }

.section-title {
  font-size: clamp(2.35rem, 1.3rem + 3.6vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.section-title em, .hero__title em, .footer__title em, .gold-text {
  font-style: italic;
  font-weight: 400;
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.section-lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow span {
  display: inline-grid; place-items: center;
  min-width: 2.35rem; height: 1.5rem; padding: 0 .5rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .6875rem; letter-spacing: .06em;
}
.eyebrow--light { color: var(--gold-300); }

/* SplitText — maska linii bez ucinania polskich znaków */
.line-mask, .split-line-mask { padding-block: .08em .14em; margin-block: -.08em -.14em; }

/* ---------- Przyciski i linki ---------- */
.btn {
  --h: 3.25rem;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: var(--h); padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 1rem; font-weight: 500; line-height: 1; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), background-position .8s var(--ease);
}
.btn:has(> .btn__icon) { padding-right: .375rem; }
.btn__icon {
  display: grid; place-items: center;
  width: calc(var(--h) - .75rem); height: calc(var(--h) - .75rem);
  border-radius: 50%;
  transition: transform .6s var(--ease), background-color .4s var(--ease);
}
.btn__icon .icon { width: 1.05rem; height: 1.05rem; stroke-width: 2; transition: transform .6s var(--ease); }
.btn:hover .btn__icon .icon { transform: rotate(45deg); }
.btn--sm { --h: 2.875rem; font-size: .9375rem; padding-left: 1.25rem; }
.btn--lg { --h: 3.75rem; font-size: 1.0625rem; padding-left: 1.75rem; }
.btn--lg:not(:has(> .btn__icon)) { padding-right: 1.75rem; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary .btn__icon { background: var(--gold-grad); background-size: 160% 100%; color: var(--ink); }
.btn--primary:hover { background: #2B271F; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(241, 221, 168, .16) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--gold { background: var(--gold-grad); background-size: 180% 100%; background-position: 0 0; color: var(--ink); }
.btn--gold .btn__icon { background: var(--ink); color: var(--gold-200); }
.btn--gold:hover { background-position: 100% 0; }

.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .45); }
.btn--ghost .btn__icon { background: var(--ink); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: var(--gold-200); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding-block: .25rem;
  font-weight: 500; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow .icon { width: 1.05rem; height: 1.05rem; transition: transform .5s var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--on-dark); }

.chip {
  display: inline-flex; align-items: center; gap: .375rem;
  height: 2.5rem; padding: 0 1rem;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .55);
  font-size: .9375rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.chip:hover { border-color: var(--gold-500); background: #fff; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Status „otwarte teraz” ---------- */
.status { display: inline-flex; align-items: center; gap: .55rem; }
.status__dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
}
.status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: inherit; animation: ping 2.2s var(--ease) infinite;
}
.status.is-closed .status__dot { background: var(--gold-500); }
.status.is-closed .status__dot::after { animation: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.status--pill {
  height: 2.375rem; padding: 0 1rem 0 .875rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  font-size: .875rem; font-weight: 500; color: var(--ink);
}
.status--inline { margin-top: .375rem; font-size: .875rem; color: var(--muted); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .7s var(--ease);
}
.topbar {
  height: var(--topbar-h);
  font-size: .8125rem; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.75rem; }
.topbar__link { display: inline-flex; align-items: center; gap: .4rem; transition: color .3s; }
.topbar__link:hover { color: var(--gold-700); }
.topbar__link .icon { width: 1rem; height: 1rem; color: var(--gold-600); }

.a11y { display: flex; align-items: center; gap: .25rem; }
.a11y__label { margin-right: .375rem; color: var(--muted); }
.a11y__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-width: 1.875rem; height: 1.625rem; padding: 0 .4rem;
  border-radius: 999px; font-size: .75rem; font-weight: 600; color: var(--ink-2);
  transition: background-color .3s, color .3s;
}
.a11y__btn .icon { width: .9rem; height: .9rem; }
.a11y__btn:hover { background: rgba(22, 20, 15, .06); }
.a11y__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.a11y__btn--wide { padding: 0 .65rem; margin-left: .25rem; }

.lang { display: flex; gap: .125rem; font-size: .75rem; font-weight: 600; }
.lang a { padding: .25rem .45rem; border-radius: 999px; color: var(--muted); transition: color .3s, background-color .3s; }
.lang a[aria-current="true"] { color: var(--ink); background: rgba(22, 20, 15, .06); }
.lang a:hover { color: var(--ink); }

.social { display: flex; gap: .5rem; }
.social a {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; border: 1px solid var(--line-2);
  transition: background-color .35s, color .35s, border-color .35s;
}
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social .icon { width: 1.05rem; height: 1.05rem; }
.social--top { gap: .125rem; }
.social--top a { width: 1.875rem; height: 1.875rem; border: 0; }
.social--top .icon { width: .95rem; height: .95rem; }

.navbar {
  position: relative; height: var(--navbar-h);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.navbar__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { flex: none; display: block; }
.brand img { height: 58px; width: auto; transition: height .5s var(--ease); }

.site-header.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); }
.site-header.is-scrolled .navbar,
.site-header.is-mega-open .navbar {
  background: rgba(245, 242, 236, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .brand img { height: 50px; }
.site-header.is-hidden { transform: translateY(calc(var(--header-h) * -1 - 4px)); }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: .125rem; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .3rem;
  height: 2.75rem; padding: 0 .9rem;
  border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  transition: background-color .3s var(--ease);
}
.nav__link .icon { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(22, 20, 15, .06); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.navbar__actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav + .navbar__actions { margin-left: 0; }
.navbar__phone { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.navbar__phone-icon {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--gold-300); color: var(--gold-700);
  transition: background-color .35s, color .35s;
}
.navbar__phone-icon .icon { width: 1.1rem; height: 1.1rem; }
.navbar__phone:hover .navbar__phone-icon { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.navbar__phone-text { display: flex; flex-direction: column; font-weight: 600; font-size: .9375rem; line-height: 1.2; white-space: nowrap; }
.navbar__phone-text small { font-family: var(--font-mono); font-size: .625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.burger {
  display: none; position: relative;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .5);
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px;
  background: var(--ink); border-radius: 2px;
  transition: transform .5s var(--ease), opacity .3s;
}
.burger__lines { top: 50%; margin-top: -.75px; background: transparent; }
.burger__lines::before, .burger__lines::after { content: ""; left: 0; margin-left: 0; }
.burger__lines::before { transform: translateY(-4px); }
.burger__lines::after { transform: translateY(4px); }
.burger[aria-expanded="true"] .burger__lines::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: rotate(-45deg); }

.header-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.header-progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding-top: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__panel {
  display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 1rem;
  padding: .75rem;
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow-l);
}
.mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 1.75rem 1.5rem 1.5rem; }
.mega__title {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700);
}
.mega__title .icon { width: 1.1rem; height: 1.1rem; }
.mega__col ul { display: grid; gap: .125rem; margin-bottom: 1rem; }
.mega__col ul a {
  display: inline-block; padding: .35rem 0;
  font-size: .9375rem; color: var(--ink);
  transition: color .25s, transform .4s var(--ease);
}
.mega__col ul a:hover { color: var(--gold-700); transform: translateX(4px); }
.mega__more { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; font-weight: 600; color: var(--gold-700); }
.mega__more .icon { width: .95rem; height: .95rem; transition: transform .4s var(--ease); }
.mega__more:hover .icon { transform: translateX(3px); }
.mega__feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  min-height: 320px; padding: 1.75rem;
  border-radius: 20px; color: var(--on-dark-2);
  background: var(--night) url("../img/interior-flowers.webp") center 30% / cover;
}
.mega__feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 15, 13, .05) 10%, rgba(16, 15, 13, .92) 75%); }
.mega__feature strong { font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; color: var(--on-dark); line-height: 1.1; }
.mega__feature > span:not(.mega__feature-tag):not(.mega__feature-cta) { font-size: .875rem; line-height: 1.45; }
.mega__feature-tag {
  position: absolute; top: 1.25rem; left: 1.25rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.mega__feature-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; font-weight: 600; font-size: .875rem; color: var(--gold-200); }
.mega__feature-cta .icon { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.mega__feature:hover .mega__feature-cta .icon { transform: rotate(45deg); }
.mega__strip {
  display: flex; align-items: center; gap: 2rem;
  margin-top: .5rem; padding: 1rem 1.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-m);
  font-size: .9375rem;
}
.mega__strip p { display: flex; align-items: center; gap: .6rem; margin-right: auto; color: var(--muted); }
.mega__strip p .icon { color: var(--gold-600); }
.mega__strip a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); }
.mega__strip a .icon { width: 1rem; height: 1rem; color: var(--gold-600); transition: transform .4s var(--ease); }
.mega__strip a:hover .icon { transform: translateX(3px); }

/* ---------- Menu mobilne ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  padding-top: var(--navbar-h);
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mobile-menu__inner {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 2rem;
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
}
.mobile-menu__list > li { border-bottom: 1px solid var(--line); }
.mobile-menu__link, .mobile-menu__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1rem 0;
  font-size: 1.75rem; font-weight: 500; letter-spacing: -.035em; color: var(--ink); text-align: left;
}
.mobile-menu__toggle .icon { width: 1.5rem; height: 1.5rem; transition: transform .5s var(--ease); }
.mobile-menu__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mobile-menu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mobile-menu__sub > * { overflow: hidden; }
.mobile-menu__toggle[aria-expanded="true"] + .mobile-menu__sub { grid-template-rows: 1fr; }
.mobile-menu__sub a { display: block; padding: .45rem 0; font-size: 1.0625rem; color: var(--ink-2); }
.mobile-menu__sub a:last-child { padding-bottom: 1.25rem; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 1.25rem; }
.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mobile-menu__actions .btn { width: 100%; padding-inline: 1rem; }
.mobile-menu__actions .btn--primary { padding-right: .375rem; }
.mobile-menu__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  /* przycinamy tylko w poziomie (drzewo), w pionie lista podpowiedzi może wyjść poza hero */
  position: relative; overflow-x: clip; overflow-y: visible;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(55% 60% at 80% 38%, rgba(222, 196, 142, .30), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(236, 230, 219, .9), transparent 70%),
    var(--bg);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__copy { position: relative; z-index: 3; }
.hero__eyebrow { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.hero__title {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(3.4rem, 1.2rem + 6.1vw, 7.25rem);
  line-height: .92; letter-spacing: -.058em; font-weight: 500;
}
.hero__line { display: block; overflow: hidden; padding: .06em .08em .13em 0; margin: -.06em 0 -.13em; }
.hero__title em { padding-right: .02em; margin-right: -.04em; }
.hero__line > span { display: inline-block; will-change: transform; }
.hero__lead {
  max-width: 33rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  font-size: clamp(1.0625rem, .98rem + .38vw, 1.3125rem); line-height: 1.55; color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1.25rem clamp(1.25rem, 2.6vw, 2.5rem); }
.hero__stats > div { display: flex; align-items: center; gap: .75rem; }
.hero__stats > div + div { padding-left: clamp(1.25rem, 2.6vw, 2.5rem); border-left: 1px solid var(--line-2); }
.hero__stats dt { font-size: 2.35rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__stats dd { font-size: .8125rem; line-height: 1.35; color: var(--muted); }

.hero__visual {
  position: relative; z-index: 2;
  justify-self: center; width: min(100%, 470px);
  aspect-ratio: 470 / 590;
}
.hero__glow {
  position: absolute; inset: -12% -18%; z-index: 0;
  background: radial-gradient(closest-side, rgba(233, 211, 160, .6), rgba(233, 211, 160, 0));
  filter: blur(10px);
}
.hero__tree {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 190%; height: 150%; max-width: none;
  transform: translate(-50%, -54%);
  pointer-events: none;
}
.hero__arch {
  position: absolute; z-index: 2; left: 10%; bottom: 0;
  width: 80%; aspect-ratio: 3 / 4;
  border-radius: 50% 50% 26px 26px / 37.5% 37.5% 26px 26px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-l);
}
.hero__arch::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(255, 244, 220, .45);
  border-radius: 50% 50% 18px 18px / 37.5% 37.5% 18px 18px;
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }

.ring-badge {
  position: absolute; z-index: 4; left: -3%; top: 16%;
  display: grid; place-items: center;
  width: clamp(104px, 11vw, 132px); aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-m);
}
.ring-badge__text { position: absolute; inset: 6%; animation: spin 22s linear infinite; }
.ring-badge__text text { font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; letter-spacing: .06em; fill: var(--ink); }
.ring-badge__core {
  display: grid; place-items: center; width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--gold-200);
  transition: transform .6s var(--ease), background-color .4s;
}
.ring-badge__core .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2; }
.ring-badge:hover .ring-badge__core { transform: scale(1.12); background: var(--gold-600); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.125rem .75rem .75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-m);
  white-space: nowrap;
}
.float-card__icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px;
  background: var(--gold-grad); color: var(--ink);
}
.float-card__icon .icon { width: 1.15rem; height: 1.15rem; }
.float-card__text { display: flex; flex-direction: column; line-height: 1.25; }
.float-card__text strong { font-size: .875rem; font-weight: 600; color: var(--ink); }
.float-card__text small { font-size: .75rem; color: var(--muted); }
.float-card--trials { left: -10%; bottom: 13%; }
.float-card--diag { right: -9%; top: 47%; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .875rem 1.125rem; }
.float-card__ekg { width: 104px; height: 30px; fill: none; stroke: var(--gold-600); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 190; stroke-dashoffset: 190; animation: ekg 2.8s var(--ease-io) infinite; }
@keyframes ekg { 0% { stroke-dashoffset: 190; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -190; } }

/* ---------- Wyszukiwarka ---------- */
.quick-search {
  position: relative; z-index: 6;
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1rem 2.25rem; align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.25rem 1.25rem 1.25rem 2rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line); border-radius: 30px;
  box-shadow: var(--shadow-m);
}
.quick-search__label { font-size: 1.3125rem; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.quick-search__kicker {
  display: block; margin-bottom: .35rem;
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700);
}
.quick-search__field {
  position: relative; display: flex; align-items: center; gap: .625rem;
  height: 4rem; padding: 0 .4rem 0 1.25rem;
  border-radius: 999px; background: var(--bg); border: 1px solid transparent;
  transition: border-color .35s, box-shadow .35s, background-color .35s;
}
.quick-search__field:focus-within { background: #fff; border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(213, 183, 128, .25); }
.quick-search__icon { color: var(--gold-600); }
.quick-search__field input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: none; background: transparent;
  font-size: 1.0625rem; color: var(--ink);
}
.quick-search__field input::placeholder { color: var(--muted); opacity: 1; }
.quick-search__field input::-webkit-search-cancel-button { display: none; }
.quick-search__popular {
  grid-column: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--muted);
}
.quick-search__popular > span { margin-right: .25rem; }
.quick-search__popular .chip { height: 2.25rem; font-size: .875rem; padding: 0 .9rem; }
.quick-search__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 30;
  max-height: min(380px, 60vh); overflow-y: auto; overscroll-behavior: contain;
  padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-l);
  animation: panelIn .4s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } }
.qs-group { padding: .75rem .875rem .35rem; font-family: var(--font-mono); font-size: .625rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qs-option {
  display: flex; align-items: center; gap: .875rem;
  padding: .625rem .875rem; border-radius: 14px; cursor: pointer;
  transition: background-color .2s;
}
.qs-option[aria-selected="true"], .qs-option:hover { background: var(--bg); }
.qs-option__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--gold-50); color: var(--gold-700); flex: none; }
.qs-option__icon .icon { width: 1.05rem; height: 1.05rem; }
.qs-option__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.qs-option__text strong { font-weight: 500; color: var(--ink); }
.qs-option__text small { font-size: .8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-option mark { background: none; color: var(--gold-700); font-weight: 700; }
.qs-option__go { margin-left: auto; color: var(--muted); }
.qs-empty { padding: 1rem; font-size: .9375rem; color: var(--muted); }
.qs-empty a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Hero — stan początkowy intro (z bezpiecznikiem, gdy JS zawiedzie) */
.js .hero [data-hero-in], .js .hero__line > span, .js .hero__arch, .js .hero .float-card, .js .ring-badge {
  opacity: 0;
  animation: failsafe .01s 3.2s forwards;
}
.is-ready .hero [data-hero-in], .is-ready .hero__line > span, .is-ready .hero__arch, .is-ready .hero .float-card, .is-ready .ring-badge { animation: none; }
@keyframes failsafe { to { opacity: 1; transform: none; } }

/* ==========================================================================
   O NAS
   ========================================================================== */
.about__intro {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.about__statement {
  font-size: clamp(1.75rem, 1.05rem + 2.5vw, 3.35rem);
  font-weight: 450; line-height: 1.16; letter-spacing: -.035em; color: var(--ink);
  text-wrap: pretty;
}
.about__statement .word, .about__statement .nb { opacity: .16; }
.about__statement .word .nb { opacity: 1; }
.nb { white-space: nowrap; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.founder { position: relative; }
.founder__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 30px; background: var(--bg-soft); }
.founder__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.founder__quote {
  position: relative; margin: -6rem 1.5rem 0; padding: 2rem 2rem 1.75rem;
  border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
}
.founder__mark { width: 38px; height: auto; fill: var(--gold-300); margin-bottom: 1rem; }
.founder__quote blockquote p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); margin-bottom: 1.25rem; }
.founder__quote figcaption { display: flex; flex-direction: column; padding-top: 1rem; border-top: 1px solid var(--line); }
.founder__quote figcaption strong { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.founder__quote figcaption span { font-size: .875rem; color: var(--muted); }

.principles__title {
  margin-bottom: 1.25rem;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.principle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--gold-50); border: 1px solid var(--gold-100); color: var(--gold-700);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.principle:hover .principle__icon { background: var(--ink); color: var(--gold-200); transform: rotate(-8deg) scale(1.05); }
.principle h4 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.025em; margin-bottom: .4rem; }
.principle p { color: var(--muted); max-width: 32rem; }

.about { padding-bottom: calc(var(--section-y) * .55); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(4rem, 8vw, 7rem); }
.stat__star { width: .42em; height: .42em; margin-left: .12em; align-self: flex-start; margin-top: .12em; fill: var(--gold-500); stroke: none; }
.stat { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.4s var(--ease) .2s;
}
.stat.is-in::before { transform: scaleX(1); }
.stat strong {
  display: flex; align-items: baseline; margin-bottom: .75rem;
  font-size: clamp(3.25rem, 2rem + 3.6vw, 5.75rem); font-weight: 400; letter-spacing: -.06em; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat strong small { margin-left: .08em; font-size: .38em; letter-spacing: -.02em; color: var(--gold-600); }
.stat > span { display: block; max-width: 15rem; font-size: .9375rem; color: var(--muted); }

/* ==========================================================================
   OBSZARY — karty nakładające się przy przewijaniu
   ========================================================================== */
.section-head { display: grid; gap: 1.25rem; max-width: 58rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .eyebrow, .section-head .section-title { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.pillars { padding-bottom: calc(var(--section-y) * .6); }
.pillars__stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.pillar {
  --pad: clamp(1.5rem, 3.6vw, 3.25rem);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(.625rem, 1vw, .875rem);
  border-radius: clamp(26px, 3vw, 40px);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  transform-origin: 50% 0;
}
.pillar::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; background: #100F0D; opacity: var(--dim, 0);
}
.pillar__content { display: flex; flex-direction: column; padding: var(--pad) 0 var(--pad) var(--pad); min-width: 0; }
.pillar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(1.25rem, 2.2vw, 2rem); }
.pillar__num { font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; color: var(--gold-700); }
.pillar__num span { color: var(--muted); }
.pillar__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); }
.pillar__title { max-width: 15ch; margin-bottom: 1.125rem; font-size: clamp(2rem, 1.25rem + 2.3vw, 3.5rem); line-height: 1; letter-spacing: -.048em; }
.pillar__text { max-width: 34rem; margin-bottom: 1.75rem; color: var(--ink-2); }
.pillar__label { margin-bottom: .75rem; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.tags a {
  display: inline-flex; align-items: center; height: 2.25rem; padding: 0 .9rem;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .875rem; font-weight: 500; color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.tags a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pillar__methods { max-width: 36rem; margin-bottom: 2rem; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.pillar__methods span { margin-right: .625rem; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.pillar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: auto; }
.pillar__media { position: relative; min-width: 0; min-height: 340px; overflow: hidden; border-radius: clamp(20px, 2.4vw, 30px); background: var(--bg-soft); isolation: isolate; }
.pillar__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.04); }
.pillar__media--duotone { background: #17110A; }
.pillar__media--duotone img { filter: grayscale(1) contrast(1.25) brightness(1.1); object-position: 50% 45%; }
.pillar__media--duotone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #F2DDAA 0%, #B8914F 45%, #3A2A14 100%); mix-blend-mode: multiply; pointer-events: none; }
.media-chip {
  position: absolute; z-index: 2; left: 1rem; bottom: 1rem; right: auto;
  display: inline-flex; align-items: center; gap: .5rem; max-width: calc(100% - 2rem);
  padding: .625rem 1rem .625rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .8125rem; font-weight: 600; color: var(--ink);
}
.media-chip .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-600); }

.pillar--dark { background: var(--night); border-color: var(--night-3); color: var(--on-dark-2); }
.pillar--dark .pillar__title { color: var(--on-dark); }
.pillar--dark .pillar__text { color: var(--on-dark-2); }
.pillar--dark .pillar__num, .pillar--dark .pillar__methods span { color: var(--gold-300); }
.pillar--dark .pillar__num span, .pillar--dark .pillar__label, .pillar--dark .pillar__methods { color: rgba(243, 238, 230, .55); }
.pillar--dark .pillar__icon { border-color: var(--line-dark); color: var(--gold-200); }
.pillar--dark .tags a { border-color: var(--line-dark); color: var(--on-dark); }
.pillar--dark .tags a:hover { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.pillar--dark .link-arrow { color: var(--on-dark); }
.pillar--sand { background: var(--bg-soft); }
.pillar--gold { background: linear-gradient(135deg, #FCF7EC 0%, #F1E3C4 100%); border-color: rgba(176, 138, 78, .2); }

.diag-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: 2rem; }
.diag-list li { padding: .8rem .875rem; border-radius: 14px; background: rgba(255, 255, 255, .65); border: 1px solid var(--line); transition: background-color .35s, transform .5s var(--ease); }
.diag-list li:hover { background: #fff; transform: translateY(-3px); }
.diag-list strong { display: block; font-family: var(--font-mono); font-size: .9375rem; font-weight: 500; color: var(--ink); }
.diag-list span { display: block; margin-top: .15rem; font-size: .75rem; line-height: 1.3; color: var(--muted); }

.pillar__media--monitor { display: grid; grid-template-columns: minmax(0, 1fr); padding: clamp(.75rem, 1.6vw, 1.25rem); background: radial-gradient(120% 90% at 50% 0%, #2B241A 0%, #0E0D0B 70%); }
.monitor { display: flex; flex-direction: column; min-width: 0; min-height: 100%; border-radius: 18px; overflow: hidden; background: #0A0908; border: 1px solid rgba(213, 183, 128, .18); box-shadow: inset 0 0 60px rgba(213, 183, 128, .06); }
.monitor__bar {
  display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem;
  border-bottom: 1px solid rgba(213, 183, 128, .12);
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300);
}
.monitor__rec { width: 7px; height: 7px; border-radius: 50%; background: #E0574A; box-shadow: 0 0 8px #E0574A; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.monitor__time { margin-left: auto; color: rgba(243, 238, 230, .55); font-variant-numeric: tabular-nums; }
.monitor__canvas {
  flex: 1; width: 100%; min-width: 0; min-height: 220px;
  background-image: linear-gradient(rgba(213, 183, 128, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(213, 183, 128, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.monitor__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .7rem 1rem; border-top: 1px solid rgba(213, 183, 128, .12); font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em; color: rgba(243, 238, 230, .45); }

/* ==========================================================================
   FINDER
   ========================================================================== */
.finder { margin-inline: var(--inset); border-radius: var(--panel-r); background: var(--bg-soft); }
.finder__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.finder__head .section-title { margin: 0; }
.finder__app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.finder__side { position: sticky; top: calc(var(--navbar-h) + 1.25rem); display: flex; flex-direction: column; gap: 1rem; }
.finder__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; padding: .375rem; border-radius: 22px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); }
.finder__tab {
  display: flex; align-items: center; gap: .6rem; height: 3.25rem; padding: 0 1rem;
  border-radius: 16px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-align: left;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.finder__tab .icon { color: var(--gold-600); transition: color .4s; }
.finder__tab:hover { background: rgba(255, 255, 255, .8); }
.finder__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.finder__tab[aria-selected="true"] .icon { color: var(--gold-300); }
.finder__chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .5rem; min-height: 212px; padding: 1.25rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.finder__chips .chip { background: var(--bg); border-color: transparent; }
.finder__chips .chip:hover { background: var(--gold-50); border-color: var(--gold-200); }
.finder__chips .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.finder__help { display: flex; align-items: center; gap: 1rem; padding: 1.125rem 1.25rem; border-radius: 22px; border: 1px dashed var(--line-2); font-size: .9375rem; color: var(--muted); }
.finder__help a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.finder__help-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: #fff; color: var(--gold-700); }

.finder__result {
  position: relative; overflow: hidden;
  min-height: 600px; padding: clamp(1.5rem, 3.4vw, 3rem);
  border-radius: clamp(24px, 3vw, 36px);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-m);
}
.finder__result::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(228, 207, 162, .45), transparent); pointer-events: none;
}
.result { position: relative; }
.result__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.result__cat { display: inline-flex; align-items: center; gap: .45rem; padding: .375rem .875rem .375rem .6rem; border-radius: 999px; background: var(--gold-50); color: var(--gold-700); font-size: .8125rem; font-weight: 600; }
.result__cat .icon { width: 1rem; height: 1rem; }
.result__label { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.result__title { margin-bottom: .875rem; font-size: clamp(2rem, 1.35rem + 2.1vw, 3.35rem); line-height: 1; letter-spacing: -.048em; }
.result__lead { max-width: 38rem; margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--ink-2); }
.result__alert { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.5rem; padding: .9rem 1.125rem; border-radius: 16px; background: #FBEDE9; color: #7A2A1D; font-size: .9375rem; font-weight: 500; }
.result__alert .icon { margin-top: .1rem; color: var(--danger); }
.result__steps { position: relative; display: grid; margin-bottom: 1.75rem; }
.result__steps::before, .result__steps::after { content: ""; position: absolute; left: 1.25rem; top: 1.75rem; bottom: 1.75rem; width: 1px; margin-left: -.5px; background: var(--line-2); }
.result__steps::after { background: var(--gold-500); transform-origin: 50% 0; transform: scaleY(var(--progress, 0)); transition: transform 1.2s var(--ease) .2s; }
.result__step { position: relative; z-index: 1; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1.25rem; padding: .8rem 0; }
.result__num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; border: 1px solid var(--gold-300); font-family: var(--font-mono); font-size: .75rem; font-weight: 500; color: var(--gold-700); }
.result__step h4 { margin-bottom: .2rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -.015em; }
.result__step p { font-size: .9688rem; color: var(--muted); }
.result__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .625rem; margin-bottom: 1.75rem; }
.result__meta > div { padding: 1rem 1.125rem; border-radius: 16px; background: var(--bg); }
.result__meta small { display: block; margin-bottom: .25rem; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.result__meta strong { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.result__meta .is-trial { background: var(--night); }
.result__meta .is-trial small { color: var(--gold-300); }
.result__meta .is-trial strong { color: var(--on-dark); }
.result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 1.5rem; }
.result__note { display: flex; gap: .5rem; align-items: flex-start; font-size: .8125rem; color: var(--muted); }
.result__note .icon { width: 1rem; height: 1rem; margin-top: .15rem; }

/* ==========================================================================
   TECHNOLOGIE (poziomy scroll)
   ========================================================================== */
.tech {
  position: relative; overflow: hidden;
  margin: var(--inset) var(--inset) 0;
  border-radius: var(--panel-r);
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(176, 138, 78, .22), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(176, 138, 78, .12), transparent 70%),
    var(--night);
  color: var(--on-dark-2);
}
.tech__pin { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding-block: clamp(2.75rem, 7vh, 5.5rem); }
.tech__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(1.75rem, 4.5vh, 3.25rem); }
.tech__head .eyebrow { margin-bottom: 1.1rem; }
.tech .section-title { color: var(--on-dark); margin: 0; }
.tech .section-lead { color: var(--on-dark-2); }
.tech__progress { height: 2px; margin-top: 1.5rem; border-radius: 2px; background: var(--line-dark); overflow: hidden; }
.tech__progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; }
.tech__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tech__viewport::-webkit-scrollbar { display: none; }
.tech-card { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.tech.is-pinned .tech__viewport { overflow: hidden; scroll-snap-type: none; }
.tech:not(.is-pinned) .tech__progress { display: none; }
.tech__track {
  display: flex; gap: clamp(1rem, 1.6vw, 1.5rem); width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--inset) * 2 - var(--container)) / 2));
}
.tech-card {
  flex: none; width: clamp(290px, 27vw, 410px);
  display: flex; flex-direction: column;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--night-2), #131210);
  border: 1px solid var(--line-dark);
  transition: border-color .5s var(--ease), transform .7s var(--ease);
}
.tech-card:hover { border-color: rgba(213, 183, 128, .4); transform: translateY(-6px); }
.tech-card__visual { position: relative; height: clamp(150px, 21vh, 220px); overflow: hidden; background: radial-gradient(80% 90% at 50% 100%, rgba(176, 138, 78, .2), transparent 70%), #0D0C0A; border-bottom: 1px solid var(--line-dark); }
.tech-card__body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.5rem 1.75rem 1.4rem; }
.tech-card__num { font-family: var(--font-mono); font-size: .75rem; color: var(--gold-300); }
.tech-card h3 { font-size: 1.75rem; letter-spacing: -.035em; color: var(--on-dark); }
.tech-card__sub { font-size: .9375rem; font-weight: 500; color: var(--gold-200); }
.tech-card p:not(.tech-card__sub) { font-size: .9375rem; line-height: 1.55; }
.tech-card__tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: auto; padding-top: 1rem; }
.tech-card__tags li { padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .75rem; color: var(--on-dark-2); }

/* Wizualizacje w kartach */
.tv--vr { perspective: 220px; }
.tv-vr__sun {
  position: absolute; left: 50%; bottom: 44%; width: 130px; height: 65px; margin-left: -65px;
  border-radius: 130px 130px 0 0;
  background: linear-gradient(180deg, #F6E3B4, #B08A4E);
  box-shadow: 0 0 70px rgba(213, 183, 128, .55);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 9px, transparent 9px 12px);
  mask-image: repeating-linear-gradient(180deg, #000 0 9px, transparent 9px 12px);
}
.tv-vr__grid {
  position: absolute; left: -60%; right: -60%; bottom: -10%; height: 58%;
  background-image: linear-gradient(rgba(213, 183, 128, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(213, 183, 128, .55) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotateX(62deg); transform-origin: 50% 0;
  animation: gridMove 1.6s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
}
@keyframes gridMove { to { background-position: 0 36px; } }

.tv--balance span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(213, 183, 128, .3); transform: translate(-50%, -50%); }
.tv--balance span:nth-child(1) { width: 60px; height: 60px; border-color: rgba(213, 183, 128, .6); }
.tv--balance span:nth-child(2) { width: 120px; height: 120px; }
.tv--balance span:nth-child(3) { width: 180px; height: 180px; border-style: dashed; }
.tv--balance i { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold-200); box-shadow: 0 0 18px 4px rgba(213, 183, 128, .7); animation: sway 5s var(--ease-io) infinite; }
@keyframes sway { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(34px, -12px); } 45% { transform: translate(-22px, 26px); } 70% { transform: translate(18px, 30px); } 85% { transform: translate(-30px, -18px); } }

.tv--pulse span { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 1px solid rgba(213, 183, 128, .7); animation: wave 3s var(--ease) infinite; }
.tv--pulse span:nth-child(2) { animation-delay: 1s; }
.tv--pulse span:nth-child(3) { animation-delay: 2s; }
@keyframes wave { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.tv--pulse b { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); box-shadow: 0 0 40px rgba(213, 183, 128, .5); }
.tv--pulse b .icon { width: 28px; height: 28px; }

.tv--molecule svg { position: absolute; width: 64px; height: 64px; fill: none; stroke: var(--gold-300); stroke-width: 2.2; stroke-linecap: round; animation: float 6s var(--ease-io) infinite; }
.tv--molecule svg:nth-child(1) { left: 18%; top: 22%; }
.tv--molecule svg:nth-child(2) { left: 46%; top: 44%; width: 84px; height: 84px; stroke: var(--gold-200); animation-delay: -2s; animation-duration: 7s; }
.tv--molecule svg:nth-child(3) { right: 14%; top: 14%; width: 48px; height: 48px; opacity: .6; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(12deg); } }

.tv--wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv--wave path { fill: none; stroke: var(--gold-300); stroke-width: 1.6; stroke-dasharray: 60 12; animation: dash 3s linear infinite; }
.tv--wave path + path { stroke: rgba(213, 183, 128, .35); stroke-dasharray: 4 8; animation-duration: 5s; }
@keyframes dash { to { stroke-dashoffset: -144; } }

.tv--glow span { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; background: radial-gradient(circle at 30% 30%, #F6E3B4, #B08A4E 55%, transparent 72%); filter: blur(6px); animation: morph 9s var(--ease-io) infinite; }
.tv--glow span + span { width: 110px; height: 110px; margin: -30px 0 0 -10px; background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .8), rgba(213, 183, 128, .2) 60%, transparent 72%); animation-duration: 7s; animation-direction: reverse; }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; transform: rotate(0); } 50% { border-radius: 60% 40% 38% 62% / 55% 60% 40% 45%; transform: rotate(160deg) scale(1.08); } }

/* ==========================================================================
   PAKIETY
   ========================================================================== */
.packages__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.packages__head .section-title { margin: 0; }
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; padding: .375rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.tabs__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem;
  height: 2.875rem; padding: 0 1.25rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2);
  transition: color .45s var(--ease);
}
.tabs__btn span { padding: .1rem .45rem; border-radius: 999px; background: var(--bg-soft); font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); transition: background-color .45s, color .45s; }
.tabs__btn[aria-selected="true"] { color: #fff; }
.tabs__btn[aria-selected="true"] span { background: rgba(255, 255, 255, .14); color: var(--gold-200); }
.tabs__ink { position: absolute; z-index: 0; left: 0; top: .375rem; bottom: .375rem; width: 0; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.no-js .tabs__btn[aria-selected="true"], .tabs:not(.is-ready) .tabs__btn[aria-selected="true"] { background: var(--ink); }
.pack-panel:focus-visible { outline-offset: 8px; }
.pack-panel__intro { max-width: 46rem; margin-bottom: 2rem; font-size: 1.0625rem; color: var(--muted); }
.pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  min-height: 272px; padding: 1.75rem;
  border-radius: 26px; background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s;
}
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: var(--gold-200); }
.pack__icon { display: grid; place-items: center; width: 3.125rem; height: 3.125rem; margin-bottom: auto; border-radius: 16px; background: var(--gold-50); color: var(--gold-700); transition: background-color .5s var(--ease), color .5s var(--ease); }
.pack:hover .pack__icon { background: var(--ink); color: var(--gold-200); }
.pack__name { margin-top: 1.75rem; font-size: 1.3125rem; letter-spacing: -.025em; }
.pack p { font-size: .9375rem; color: var(--muted); }
.pack__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: .875rem; font-weight: 600; color: var(--ink); }
.pack__link .icon { width: 1rem; height: 1rem; color: var(--gold-600); transition: transform .5s var(--ease); }
.pack:hover .pack__link .icon { transform: translateX(4px); }
.pack__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pack--cta { background: var(--night); border-color: var(--night); color: var(--on-dark-2); justify-content: flex-end; }
.pack--cta .pack__name { margin-top: 0; color: var(--on-dark); }
.pack--cta p { color: var(--on-dark-2); margin-bottom: .75rem; }
.pack--cta .btn { align-self: flex-start; }
.pack--photo { padding: 0; overflow: hidden; border: 0; }
.pack--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack--photo span { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: .6rem .9rem; border-radius: 14px; background: rgba(16, 15, 13, .6); backdrop-filter: blur(8px); font-size: .8125rem; font-weight: 500; color: #fff; }

/* ==========================================================================
   BADANIA KLINICZNE
   ========================================================================== */
.trials { padding-bottom: var(--section-y); }
.trials__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: clamp(28px, 4vw, 48px);
  background: radial-gradient(70% 90% at 12% 50%, #2E2417 0%, var(--night) 62%);
  color: var(--on-dark-2);
}
.trials__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(213, 183, 128, .14); pointer-events: none; }
.trials .section-title { margin-bottom: 1.25rem; color: var(--on-dark); }
.trials__lead { max-width: 36rem; font-size: 1.125rem; }
.trials__visual { position: relative; }
.orbits { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: auto; }
.orbit { position: absolute; inset: var(--o); border-radius: 50%; border: 1px solid rgba(213, 183, 128, .2); animation: spin var(--d) linear infinite; }
.orbit i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-200); box-shadow: 0 0 14px 3px rgba(213, 183, 128, .7); }
.orbit i + i { top: auto; bottom: -4px; }
.orbit--1 { --o: 0%; --d: 46s; border-style: dashed; }
.orbit--2 { --o: 13%; --d: 30s; animation-direction: reverse; }
.orbit--3 { --o: 26%; --d: 22s; }
.orbit--4 { --o: 37%; --d: 14s; animation-direction: reverse; border-color: rgba(213, 183, 128, .35); }
.orbits__core { position: absolute; inset: 43%; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: var(--ink); box-shadow: 0 0 80px 10px rgba(213, 183, 128, .35); }
.orbits__core .icon { width: 42%; height: 42%; }
.orbit-labels li {
  position: absolute; left: var(--x); top: var(--y);
  padding: .4rem .8rem; border-radius: 999px;
  background: rgba(16, 15, 13, .7); border: 1px solid rgba(213, 183, 128, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-200);
  white-space: nowrap;
}
.checklist { display: grid; gap: .8rem; margin: 2rem 0; }
.checklist li { display: flex; align-items: flex-start; gap: .8rem; color: var(--on-dark); }
.checklist .icon { width: 1.4rem; height: 1.4rem; padding: 4px; margin-top: .05rem; border-radius: 50%; background: var(--gold-300); color: var(--ink); stroke-width: 3; }
.trials__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.trials__badges span { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .875rem; color: var(--on-dark); }
.trials__badges .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-300); }
.trials__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

/* ==========================================================================
   ZESPÓŁ
   ========================================================================== */
.team { padding-top: 0; }
.team__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: 1.5rem 3rem; align-items: end; margin-bottom: 2.25rem; }
.team__head .section-title { margin: 0; }
.team__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.doc {
  position: relative; display: flex; flex-direction: column;
  padding: .5rem;
  border-radius: 26px; background: #fff; border: 1px solid var(--line);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease), border-color .5s;
}
.doc:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); border-color: var(--gold-200); }
.doc.is-hidden { display: none; }
.doc__photo {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 auto; min-height: 0;
  aspect-ratio: 4 / 5; border-radius: 20px;
  background: var(--bg-soft);
}
.doc__photo img { position: absolute; inset: 0; }
.doc__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: saturate(.86) contrast(1.02);
  transition: transform 1.4s var(--ease), filter .8s var(--ease);
}
.doc__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(16, 15, 13, .16)); }
.doc:hover .doc__photo img { transform: scale(1.045); filter: saturate(1.02) contrast(1.04); }
.doc__body { padding: 1rem 3.5rem .6rem .75rem; }
.doc__degree { margin-bottom: .2rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); }
.doc__name { margin-bottom: .3rem; font-size: 1.1875rem; line-height: 1.2; letter-spacing: -.025em; }
.doc__spec { font-size: .875rem; line-height: 1.4; color: var(--muted); }
.doc__cta {
  position: absolute; right: 1rem; bottom: 1.1rem;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s, transform .6s var(--ease);
}
.doc__cta .icon { width: 1rem; height: 1rem; }
.doc:hover .doc__cta, .doc__cta:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }

.doc--featured {
  grid-column: span 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  background: var(--night); border-color: var(--night); color: var(--on-dark-2);
}
.doc--featured .doc__photo { aspect-ratio: auto; min-height: 320px; }
.doc--featured .doc__photo img { position: absolute; inset: 0; object-position: 50% 18%; }
.doc--featured .doc__body { display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem 1.25rem 1.1rem 1.75rem; }
.doc__tag {
  margin-bottom: auto; padding: .3rem .7rem; border-radius: 999px;
  background: var(--gold-grad);
  font-family: var(--font-mono); font-size: .625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.doc--featured .doc__degree { margin-top: 1.5rem; color: var(--gold-300); }
.doc--featured .doc__name { font-size: clamp(1.5rem, 1.15rem + .9vw, 2.1rem); line-height: 1.08; letter-spacing: -.035em; color: var(--on-dark); }
.doc--featured .doc__spec { color: var(--gold-200); }
.doc__bio { margin: .9rem 0 1.4rem; font-size: .875rem; line-height: 1.55; color: var(--on-dark-2); }
.team__grid.is-animating { overflow: clip; overflow-clip-margin: 24px; }
.team__grid.is-animating .doc, .is-anim { transition: none !important; }
.team__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; }
.team__foot [data-team-more][aria-expanded="true"] .icon { transform: rotate(45deg); }

/* ==========================================================================
   DLA CIEBIE — bento
   ========================================================================== */
.offers { margin-inline: var(--inset); border-radius: var(--panel-r); background: var(--bg-soft); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.bento__item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .7rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border-radius: 28px; background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.bento__item h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -.03em; }
.bento__item p { color: var(--muted); max-width: 30rem; }
.bento__item .link-arrow { margin-top: auto; align-self: flex-start; }
.bento__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.5rem; border-radius: 16px; background: var(--gold-50); color: var(--gold-700); }
.bento__tag { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.bento__item--loyal { grid-column: span 6; grid-row: span 2; min-height: 520px; justify-content: flex-end; background: var(--night); border-color: var(--night); color: var(--on-dark-2); }
.bento__item--loyal h3 { font-size: clamp(2.75rem, 1.6rem + 3.4vw, 4.75rem); line-height: 1; letter-spacing: -.055em; }
.bento__item--loyal h3 { font-style: italic; font-weight: 400; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .1em; }
.bento__item--loyal p { color: var(--on-dark-2); }
.bento__item--loyal .link-arrow { color: var(--on-dark); margin-top: 1rem; }
.bento__visual { position: absolute; right: -60px; top: -60px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed rgba(213, 183, 128, .3); display: grid; place-items: center; animation: spin 60s linear infinite; }
.bento__visual::before, .bento__visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(213, 183, 128, .18); }
.bento__visual::before { inset: 50px; }
.bento__visual::after { inset: 100px; border-color: rgba(213, 183, 128, .32); }
.hourglass { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); box-shadow: 0 0 80px rgba(213, 183, 128, .35); animation: spin 60s linear infinite reverse; }
.hourglass .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.bento__item--gift { grid-column: span 6; background: var(--gold-grad-soft); border-color: rgba(176, 138, 78, .2); }
.bento__item--plan, .bento__item--finance { grid-column: span 3; }
.bento__item--foundation { grid-column: span 12; flex-direction: row; align-items: center; gap: 1.5rem; }
.bento__item--foundation .bento__icon { margin: 0; }
.bento__item--foundation p { max-width: none; }
.bento__item--foundation .link-arrow { margin: 0 0 0 auto; align-self: center; white-space: nowrap; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--navbar-h) + 2rem); }
.faq__card { margin-top: 2.25rem; padding: 1.75rem; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.faq__card p { color: var(--muted); }
.faq__phone { display: inline-flex; align-items: center; gap: .6rem; margin: .75rem 0 .3rem; font-size: 1.85rem; font-weight: 500; letter-spacing: -.035em; color: var(--ink); }
.faq__phone .icon { color: var(--gold-600); width: 1.4rem; height: 1.4rem; }
.faq__mail { display: block; font-weight: 500; color: var(--gold-700); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; list-style: none; cursor: pointer;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; color: var(--ink);
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-700); }
.faq__icon { position: relative; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .45s var(--ease), border-color .45s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease), background-color .45s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); border-color: var(--ink); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__answer { overflow: hidden; }
.faq__answer p { max-width: 42rem; padding-bottom: 1.5rem; color: var(--muted); }
.faq__answer a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.contact__rows { margin: 2.25rem 0; }
.contact__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.contact__row:last-child { border-bottom: 1px solid var(--line); }
.contact__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gold-50); color: var(--gold-700); }
.contact__row small { display: block; margin-bottom: .35rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__row address { font-size: 1.25rem; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }
.contact__hint { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.contact__big { display: block; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.contact__big--mail { font-size: 1.125rem; word-break: break-word; }
a.contact__big:hover { color: var(--gold-700); }
.contact__small { display: block; margin-top: .15rem; font-size: .9375rem; color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact__map { position: relative; min-height: 560px; overflow: hidden; border-radius: 34px; background: var(--bg-soft) radial-gradient(circle at 50% 50%, rgba(213, 183, 128, .25), transparent 60%); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.22) contrast(.95) brightness(1.03); }
.contact__photo { position: absolute; right: 1.25rem; bottom: 1.25rem; width: min(46%, 290px); padding: .5rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow-l); }
.contact__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px; }
.contact__photo figcaption { padding: .55rem .35rem .25rem; font-size: .75rem; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { margin: 0 var(--inset) var(--inset); overflow: hidden; border-radius: var(--panel-r); background: var(--night); color: var(--on-dark-2); }
.footer__cta { position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 9.5rem) clamp(4rem, 8vw, 6.5rem); border-bottom: 1px solid var(--line-dark); text-align: center; }
.footer__cta::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: 70%; height: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(176, 138, 78, .28), transparent); pointer-events: none; }
.footer__tree {
  position: absolute; left: 50%; bottom: 0; width: min(1500px, 150%); max-width: none; height: 100%;
  transform: translateX(-50%); pointer-events: none;
  -webkit-mask-image: radial-gradient(42% 50% at 50% 58%, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .45) 55%, #000 100%);
  mask-image: radial-gradient(42% 50% at 50% 58%, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .45) 55%, #000 100%);
}
.footer__cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.footer__title { margin-bottom: 1.5rem; font-size: clamp(3rem, 1.4rem + 6.4vw, 7.75rem); line-height: .94; letter-spacing: -.058em; color: var(--on-dark); }
.footer__lead { max-width: 32rem; margin-bottom: 2.5rem; font-size: 1.125rem; }
.footer__cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.75rem; }
.footer__phone { display: flex; flex-direction: column; align-items: flex-start; font-size: 2rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.15; color: var(--on-dark); transition: color .3s; }
.footer__phone:hover { color: var(--gold-200); }
.footer__phone small { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.footer__main { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 2.5rem 2rem; padding-block: 4rem 3.25rem; }
.footer__brand img { width: 150px; margin-bottom: 1.5rem; }
.footer__brand p { max-width: 20rem; margin-bottom: 1.5rem; font-size: .9375rem; }
.footer .social a { border-color: var(--line-dark); color: var(--on-dark); }
.footer .social a:hover { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.footer__heading { margin-bottom: 1.1rem; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; font-size: .9375rem; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--on-dark); }
.footer__col address { color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(243, 238, 230, .5); }
.footer__top { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark); font-weight: 500; }
.footer__top .icon { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.footer__top:hover .icon { transform: translateY(-3px); }

/* ==========================================================================
   Pasek mobilny
   ========================================================================== */
.mobile-bar {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 90;
  display: none; grid-template-columns: 1fr 1.35fr; gap: .4rem;
  padding: .4rem; border-radius: 999px;
  background: rgba(22, 20, 15, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-l);
  transform: translateY(160%);
  transition: transform .7s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.qs-open .mobile-bar { transform: translateY(160%); }
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 3.125rem; border-radius: 999px; font-size: .9375rem; font-weight: 600; color: #fff; }
.mobile-bar__btn .icon { width: 1.1rem; height: 1.1rem; }
.mobile-bar__btn--primary { background: var(--gold-grad); color: var(--ink); }

/* ==========================================================================
   Rezerwacja (drawer)
   ========================================================================== */
.booking { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end; }
.booking__backdrop { position: absolute; inset: 0; background: rgba(16, 15, 13, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .6s var(--ease); }
.booking.is-open .booking__backdrop { opacity: 1; }
.booking__panel {
  position: relative; display: flex; flex-direction: column;
  width: min(560px, 100%); height: 100%;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); box-shadow: var(--shadow-l);
  transform: translateX(105%);
  transition: transform .8s var(--ease);
}
.booking.is-open .booking__panel { transform: none; }
.booking__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.75rem 1.75rem 1.1rem; }
.booking__kicker { margin-bottom: .35rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.booking__title { font-size: 2.1rem; letter-spacing: -.045em; }
.booking__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .35s, color .35s, transform .6s var(--ease); }
.booking__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.booking__progress { height: 3px; margin: 0 1.75rem; border-radius: 3px; background: var(--line); overflow: hidden; }
.booking__progress span { display: block; width: 33.34%; height: 100%; background: var(--gold-grad); transition: width .7s var(--ease); }
.booking__form { flex: 1; display: flex; flex-direction: column; padding: 1.75rem; }
.booking__step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.booking__step.is-active { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.booking__step legend { margin-bottom: 1.25rem; padding: 0; font-size: 1.375rem; font-weight: 500; letter-spacing: -.025em; color: var(--ink); }
.booking__sub { margin: .25rem 0 .7rem; font-size: .875rem; font-weight: 600; color: var(--ink); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.choice { position: relative; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: flex; flex-direction: column; gap: .2rem; height: 100%;
  padding: 1rem 1.05rem; border-radius: 18px;
  background: #fff; border: 1.5px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.choice:hover .choice__box { border-color: var(--gold-300); }
.choice__box .icon { width: 1.4rem; height: 1.4rem; margin-bottom: .45rem; color: var(--gold-600); }
.choice__box strong { font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.choice__box small { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.choice input:checked + .choice__box { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 20, 15, .08); }
.choice input:checked + .choice__box .icon { color: var(--ink); }
.choice input:focus-visible + .choice__box, .pill input:focus-visible + span { outline: 2px solid var(--gold-600); outline-offset: 2px; }
.choice--wide { grid-column: 1 / -1; }
.pill-group { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.pill { position: relative; }
.pill span { display: inline-flex; align-items: center; height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: .9375rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field__label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem;
  border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff;
  font-size: 1rem; color: var(--ink); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(213, 183, 128, .25); }
.field.has-error input { border-color: var(--danger); }
.field__error { font-size: .8125rem; font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: .75rem; font-size: .8125rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: 1.25rem; height: 1.25rem; flex: none; margin: .05rem 0 0; accent-color: var(--ink); }
.consent a { color: var(--ink); text-decoration: underline; }
.booking__nav { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1.75rem; }
.booking__nav [data-booking-next], .booking__nav [data-booking-submit] { margin-left: auto; }
.booking__nav .btn--ghost .icon { width: 1rem; height: 1rem; }
.booking__aside { display: flex; align-items: center; gap: 1rem; margin: 0 1.75rem 1.75rem; padding: 1.1rem 1.25rem; border-radius: 18px; background: var(--bg-soft); font-size: .9375rem; }
.booking__aside a { font-weight: 700; color: var(--ink); }
.booking__aside small { color: var(--muted); }
.booking__aside-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: #fff; color: var(--gold-700); }
.booking__success { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem 0; text-align: center; outline: none; }
.booking__success h3 { font-size: 2rem; letter-spacing: -.04em; }
.booking__success p { max-width: 26rem; color: var(--muted); }
.booking__summary { padding: .75rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .875rem; }
.booking__check svg { width: 76px; height: 76px; fill: none; stroke: var(--success); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.booking__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .9s var(--ease) forwards; }
.booking__check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .5s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.booking.is-success .booking__nav, .booking.is-success .booking__progress, .booking.is-success [data-booking-step-label] { visibility: hidden; }

html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); z-index: 300;
  display: flex; align-items: center; gap: .6rem;
  max-width: min(92vw, 34rem); padding: .85rem 1.25rem .85rem 1rem;
  border-radius: 18px; background: var(--ink); color: #fff;
  box-shadow: var(--shadow-l);
  font-size: .9375rem; line-height: 1.4;
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.toast .icon { color: var(--gold-300); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   Tryb wysokiego kontrastu
   ========================================================================== */
.hc {
  --ink-2: #16140F; --muted: #37322A;
  --line: rgba(22, 20, 15, .3); --line-2: rgba(22, 20, 15, .5);
  --gold-700: #5A3F15; --gold-600: #5A3F15;
  --on-dark-2: #F3EEE6; --line-dark: rgba(243, 238, 230, .35);
}
.hc body::after { display: none; }
.hc .section-title em, .hc .hero__title em, .hc .footer__title em, .hc .gold-text, .hc .bento__item--loyal h3 {
  background: none; color: var(--gold-700); -webkit-text-fill-color: currentColor;
}
.hc .tech .section-title em, .hc .trials .section-title em, .hc .footer__title em, .hc .bento__item--loyal h3 { color: var(--gold-200); }
.hc .about__statement .word { opacity: 1 !important; }
.hc main p a, .hc .footer__col a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   RWD
   ========================================================================== */
@media (max-width: 1320px) {
  .navbar__phone-text { display: none; }
  .nav__link { padding: 0 .7rem; }
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
  .footer__brand img, .footer__brand p { margin: 0; }
}

/* Przy powiększonym tekście menu przechodzi w hamburger wcześniej */
.nav__link { white-space: nowrap; }
@media (max-width: 1520px) {
  html[data-fs="2"] .nav, html[data-fs="2"] .navbar__phone-text, html[data-fs="2"] .topbar .a11y__label { display: none; }
  html[data-fs="2"] .burger { display: grid; }
  html[data-fs="2"] .navbar .navbar__actions { margin-left: auto; }
}
@media (max-width: 1360px) {
  html[data-fs="1"] .nav, html[data-fs="1"] .topbar .a11y__label { display: none; }
  html[data-fs="1"] .burger { display: grid; }
  html[data-fs="1"] .navbar .navbar__actions { margin-left: auto; }
}

@media (max-width: 1180px) {
  .nav, .topbar .a11y__label { display: none; }
  .navbar .navbar__actions { margin-left: auto; }
  .burger { display: grid; }
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega { display: none; }
  .float-card--diag { right: -4%; }
  .float-card--trials { left: -4%; }
}

@media (max-width: 1023px) {
  :root { --topbar-h: 0px; --navbar-h: 72px; }
  .topbar { display: none; }
  .brand img { height: 48px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 400px); margin-top: 1.5rem; }
  .quick-search { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
  .quick-search__popular { grid-column: 1; }
  .about__intro, .about__grid, .finder__head, .finder__app, .tech__head, .team__head, .faq__grid, .contact__grid, .trials__card { grid-template-columns: 1fr; }
  .about__intro { gap: 0; }
  .founder { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .pillar { grid-template-columns: minmax(0, 1fr); }
  .pillar__content { padding: var(--pad) var(--pad) calc(var(--pad) * .6); order: 2; }
  .pillar__media { order: 1; min-height: 0; aspect-ratio: 16 / 10; }
  .pillar__media--monitor { aspect-ratio: auto; min-height: 320px; }
  .finder__side { position: static; }
  .finder__result { min-height: 0; }
  .tech__pin { min-height: 0; }
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trials__visual { order: 2; max-width: 420px; width: 100%; margin: 0 auto; }
  .bento__item--loyal, .bento__item--gift { grid-column: span 12; }
  .bento__item--loyal { min-height: 420px; }
  .bento__item--plan, .bento__item--finance { grid-column: span 6; }
  .faq__intro { position: static; }
  .contact__map { min-height: 440px; }
  .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .mobile-bar { display: grid; }
  .hero { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__title { font-size: clamp(3.4rem, 17vw, 5.5rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__stats > div + div { padding-left: 1rem; }
  .hero__stats { gap: 1rem; }
  .hero__stats > div { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .hero__stats dt { font-size: 1.85rem; }
  .hero__stats dd { font-size: .75rem; }
  .hero__visual { width: min(88%, 360px); }
  .float-card { scale: .86; }
  .float-card--trials { left: -8%; bottom: 8%; transform-origin: left bottom; }
  .float-card--diag { right: -8%; top: 40%; transform-origin: right center; }
  .ring-badge { left: -6%; top: 8%; width: 96px; }
  .ring-badge__text text { font-size: 15px; }
  .quick-search { border-radius: 24px; }
  .quick-search__label { font-size: 1.125rem; }
  .quick-search__field { height: 3.5rem; padding-left: 1rem; }
  .quick-search__submit { padding-left: .5rem; }
  .quick-search__submit { font-size: 0; gap: 0; }
  .quick-search__popular { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none; }
  .quick-search__popular::-webkit-scrollbar { display: none; }
  .quick-search__popular .chip { flex: none; }
  .principle { gap: 1rem; }
  .principle__icon { width: 2.75rem; height: 2.75rem; }
  .founder__quote { margin: -4rem .75rem 0; padding: 1.5rem; }
  .stats { gap: 2rem 1.25rem; }
  .diag-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar__actions .btn { width: 100%; }
  .finder__tabs { grid-template-columns: 1fr 1fr; }
  .finder__tab { height: 3rem; font-size: .875rem; padding: 0 .75rem; }
  .finder__chips { min-height: 0; padding: 1rem; }
  .result__actions .btn { width: 100%; }
  .packages__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pillar__media { width: 100%; }
  .pillar__media:not(.pillar__media--monitor) { aspect-ratio: 4 / 3; }
  .navbar__actions > .btn { display: none; }
  .navbar__actions { gap: .6rem; }
  .tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__btn { flex: none; padding: 0 1rem; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack { min-height: 0; }
  .pack__name { margin-top: 1.25rem; }
  .pack--photo { min-height: 220px; }
  .orbit-labels li { font-size: .5625rem; padding: .3rem .6rem; }
  .trials__actions .btn { width: 100%; white-space: normal; text-align: left; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .doc { padding: .375rem; border-radius: 20px; }
  .doc__photo { border-radius: 15px; }
  .doc__body { padding: .7rem .4rem 2.9rem; }
  .doc__name { font-size: 1rem; }
  .doc__spec { font-size: .8125rem; }
  .doc__cta { right: .6rem; bottom: .6rem; width: 2.25rem; height: 2.25rem; }
  .doc--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .doc--featured .doc__photo { aspect-ratio: 4 / 3; min-height: 0; }
  .doc--featured .doc__body { padding: 1rem .75rem .9rem; }
  .doc--featured .doc__degree { margin-top: 1rem; }
  .team__foot { flex-direction: column; align-items: stretch; }
  .team__foot .btn { width: 100%; }
  .bento__item--plan, .bento__item--finance { grid-column: span 12; }
  .bento__item--foundation { flex-direction: column; align-items: flex-start; }
  .bento__item--foundation .link-arrow { margin: .5rem 0 0; }
  .bento__visual { width: 280px; height: 280px; right: -70px; top: -70px; }
  .hourglass { width: 84px; height: 84px; }
  .contact__map { min-height: 380px; border-radius: 26px; }
  .contact__photo { width: 52%; right: .75rem; bottom: .75rem; }
  .contact__actions .btn { flex: 1 1 auto; }
  .footer__phone { align-items: center; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; padding-block: 3rem 2.5rem; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 6rem; }
  .booking__head, .booking__form { padding-inline: 1.25rem; }
  .booking__progress, .booking__aside { margin-inline: 1.25rem; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hero__stats > div:nth-child(3) { display: none; }
  .mobile-menu__actions { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .doc--featured .doc__photo { aspect-ratio: 1 / 1; }
  .doc:not(.doc--featured) { flex-direction: row; align-items: center; gap: .9rem; }
  .doc:not(.doc--featured) .doc__photo { width: 5.25rem; flex: none; border-radius: 14px; }
  .doc:not(.doc--featured) .doc__body { padding: 0 3rem 0 0; }
  .doc:not(.doc--featured) .doc__cta { top: 50%; bottom: auto; margin-top: -1.125rem; }
}

@media (min-width: 768px) {
  .booking__panel { height: calc(100% - 1.5rem); margin: .75rem; border-radius: 30px; }
}

/* Karty „stos” na desktopie — tylko gdy ekran jest wystarczająco wysoki */
@media (min-width: 1024px) and (min-height: 820px) {
  .pillar {
    position: sticky;
    top: calc(var(--navbar-h) + 1.25rem + var(--i) * .875rem);
    min-height: min(640px, calc(100vh - var(--navbar-h) - 6rem));
  }
}

/* ==========================================================================
   Ograniczony ruch
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .hero [data-hero-in], .js .hero__line > span, .js .hero__arch, .js .hero .float-card, .js .ring-badge { opacity: 1; transform: none; }
}
