/* Kameleon - main.css */
@charset "UTF-8";

/* === ZMIENNE === */
:root {
  --c-navy:    #1a2060;
  --c-mid:     #2d3591;
  --c-purple:  #6b3fa0;
  --c-magenta: #c4007a;
  --c-rose:    #e91e8c;
  --c-sky:     #4bb3e8;
  --c-sky-bg:  #e8f5fb;
  --c-white:   #ffffff;
  --c-off:     #f4f8fc;
  --c-txt:     #1a2060;
  --c-mid-txt: #4a5074;
  --c-lite:    #8892b0;

  --g-ribbon: linear-gradient(135deg, #1a2060 0%, #6b3fa0 50%, #c4007a 100%);
  --g-blue:   linear-gradient(160deg, #4bb3e8 0%, #7dcef5 40%, #c8e9f8 100%);
  --g-hero:   linear-gradient(135deg, #3a8fd4 0%, #5aaee0 40%, #8ecdf0 70%, #b8dff5 100%);

  --r:    16px;
  --r-sm:  8px;
  --r-pill:28px;
  --sh:   0 8px 32px rgba(26,32,96,.12);
  --sh-lg:0 20px 60px rgba(26,32,96,.18);
  --sh-sm:0 2px  8px rgba(26,32,96,.08);

  --w: 1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; scroll-padding-top: 160px; }
body  { font-family: 'Poppins', sans-serif; color: var(--c-txt); background: var(--c-white); overflow-x: hidden; line-height: 1.7; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }

/* === LOADER === */
#loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--g-blue);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#loader img.logo { width: 160px; animation: pulse 1.2s ease-in-out infinite alternate; }
#loader img.spin  { width:  52px; animation: spin  1.5s linear infinite; }
@keyframes pulse { to { transform: scale(1.07); } }
@keyframes spin  { to { transform: rotate(360deg); } }

/* === SITE WRAPPER === */
#site { opacity: 0; transition: opacity .5s ease; }
#site.ready { opacity: 1; }

/* === HEADER === */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,1);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#site-header.scrolled {
  border-color: rgba(75,179,232,.15);
  box-shadow: 0 2px 20px rgba(26,32,96,.10);
}
.nav-wrap {
  max-width: var(--w); margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: .82rem; font-weight: 600; color: var(--c-navy);
  padding: 7px 13px; border-radius: var(--r-sm);
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.is-active { background: var(--c-sky-bg); color: var(--c-sky); }
.nav-links a.nav-cta {
  background: var(--g-ribbon); color: var(--c-white) !important;
  padding: 9px 18px; border-radius: var(--r-pill);
}
.nav-links a.nav-cta:hover { opacity: .88; background: var(--g-ribbon); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--c-navy); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-mobile {
  display: none; flex-direction: column;
  position: absolute; top: 70px; left: 0; right: 0;
  background: var(--c-white); padding: 12px 24px 20px;
  box-shadow: 0 8px 32px rgba(26,32,96,.10); z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: .92rem; font-weight: 600; color: var(--c-navy); padding: 11px 0; border-bottom: 1px solid var(--c-off); }
.nav-mobile a:last-child { border-bottom: none; }

/* === CONTAINER === */
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }

/* === SHARED TYPOGRAPHY === */
.section-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--c-sky); margin-bottom: 8px; }
.section-title { font-family: 'Phudu', sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 900; color: var(--c-navy); line-height: 1.2; margin-bottom: 12px; }
.section-sub   { font-size: .95rem; color: var(--c-mid-txt); line-height: 1.7; max-width: 580px; }
.accent-rose   { color: var(--c-rose); }
.accent-sky    { color: var(--c-sky); }
.accent-navy   { color: var(--c-navy); }
.text-center   { text-align: center; }
.text-white    { color: var(--c-white); }
.text-mid      { color: var(--c-mid-txt); }
.text-lite     { color: var(--c-lite); font-size: .78rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 700; border: none; cursor: pointer;
  border-radius: var(--r-pill); transition: opacity .2s, transform .2s;
  text-decoration: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: var(--g-ribbon); color: var(--c-white); padding: 13px 30px; font-size: .9rem; box-shadow: 0 4px 20px rgba(196,0,122,.28); }
.btn-outline  { background: transparent; color: var(--c-navy); padding: 11px 24px; font-size: .88rem; border: 2px solid var(--c-sky-bg); }
.btn-outline:hover { border-color: var(--c-sky); background: var(--c-sky-bg); color: var(--c-sky); }
.btn-ghost    { background: rgba(255,255,255,.2); color: var(--c-white); padding: 9px 20px; font-size: .86rem; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.32); opacity: 1; }
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-app { display: inline-block; border-radius: 12px; overflow: hidden; box-shadow: var(--sh); transition: transform .2s, box-shadow .2s; }
.btn-app:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-app img { height: 46px; width: auto; display: block; }
.btn-pdf {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.4);
  color: var(--c-white); font-size: .84rem; font-weight: 600;
  padding: 9px 18px; border-radius: var(--r-pill); transition: background .2s;
}
.btn-pdf:hover { background: rgba(255,255,255,.32); }

/* === HERO (strona glowna) === */
#hero {
  background: none;
  padding-top: 70px;
  padding-bottom: 20px;
}
#benefits { padding-top: 36px; }
/* hero-snake ukryta - brak tla */
.hero-snake { display: none; }

.hero-slider-wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Obszar slidera - szerokosc kolumny kontentu, proporcje 16:9 (zrodlo 3840x2160) */
.slider-area { position: relative; width: 100%; }
.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
}
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.slide.is-active { opacity: 1; pointer-events: all; }
.slide-banner { position: absolute; inset: 0; }
.slide-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-cta { position: absolute; bottom: 22px; left: 28px; z-index: 5; }
.slide-btn {
  display: inline-block;
  background: var(--c-white); color: var(--c-navy);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .88rem;
  padding: 11px 26px; border-radius: var(--r-pill);
  box-shadow: 0 4px 20px rgba(26,32,96,.15); transition: transform .2s, box-shadow .2s;
}
.slide-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,32,96,.22); }
.banner-overlay-text { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); line-height: 1.3; pointer-events: none; white-space: pre-line; }
.banner-overlay-img { max-width: 100%; display: block; pointer-events: none; }

/* Strzalki - po bokach slidera */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 0 18px;
  color: var(--c-white); font-size: 5rem; font-weight: 200; line-height: 1;
  cursor: pointer; z-index: 10;
  opacity: .12; transition: opacity .25s;
  user-select: none; -webkit-user-select: none;
}
#slider-prev { left: 0; }
#slider-next { right: 0; }
.slider-area:hover .slider-arrow { opacity: .75; }
.slider-arrow:hover { opacity: 1 !important; }

/* Dolna belka - kropki + przyciski aplikacji */
.hero-bottom {
  display: flex; flex-direction: column; align-items: center;
  gap: 28px; padding: 16px 0 0;
}
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(26,32,96,.2); border: none; cursor: pointer;
  padding: 0; transition: background .3s, width .3s;
}
.slider-dot.is-active { background: var(--c-navy); width: 24px; border-radius: 4px; }
.hero-apps { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* === BENEFITS === */
#benefits { background: var(--c-white); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { background: var(--c-off); border-radius: var(--r); padding: 28px 22px; transition: transform .3s, box-shadow .3s, background .3s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--sh); background: var(--c-white); }
.benefit-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.benefit-icon svg { width: 26px; height: 26px; }
.bi-sky    { background: linear-gradient(135deg, #e8f5fb, #c8e9f8); } .bi-sky    svg { color: var(--c-sky); }
.bi-purple { background: linear-gradient(135deg, #f3e8ff, #e0c8f8); } .bi-purple svg { color: var(--c-purple); }
.bi-rose   { background: linear-gradient(135deg, #fff0f8, #ffd0ed); } .bi-rose   svg { color: var(--c-rose); }
.bi-navy   { background: linear-gradient(135deg, #e8ebff, #c8cef8); } .bi-navy   svg { color: var(--c-mid); }
.benefit-card h4 { font-family: 'Phudu', sans-serif; font-size: .97rem; font-weight: 800; color: var(--c-navy); margin-bottom: 8px; }
.benefit-card p  { font-size: .84rem; color: var(--c-mid-txt); line-height: 1.65; }
.benefit-note    { font-size: .68rem; color: var(--c-lite); margin-top: 8px; font-style: italic; }

/* === HOW (mechanika) === */
#how { background: var(--g-blue); position: relative; overflow: hidden; }
.how-snake { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.how-snake svg { width: 100%; height: 100%; }
.how-inner { position: relative; z-index: 1; }
.how-inner .section-title { color: var(--c-white); }
.how-inner .section-title span { color: var(--c-navy); }
.how-inner .section-label { color: rgba(255,255,255,.8); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.how-step {
  background: rgba(15,20,70,.75); border-radius: var(--r); padding: 30px 24px;
  border: 1px solid rgba(255,255,255,.18); position: relative; transition: transform .3s;
}
.how-step:hover { transform: translateY(-4px); }
.step-num { position: absolute; top: 12px; right: 16px; font-family: 'Phudu', sans-serif; font-size: 5.5rem; font-weight: 900; color: rgba(255,255,255,.06); line-height: 1; }
.step-icon { width: 54px; height: 54px; background: var(--c-white); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: var(--sh-sm); }
.step-icon svg { width: 27px; height: 27px; }
.how-step h3 { font-family: 'Phudu', sans-serif; font-size: .97rem; font-weight: 800; color: var(--c-white); margin-bottom: 9px; text-transform: uppercase; letter-spacing: .5px; }
.how-step p  { font-size: .86rem; color: rgba(255,255,255,.9); line-height: 1.65; }
.step-badge {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px; padding: 5px 12px; font-size: .75rem; font-weight: 700; color: var(--c-white);
}
/* Tabela poziomow */
.levels-table-wrap { margin-top: 48px; position: relative; z-index: 1; }
.levels-table-wrap h3 { font-family: 'Phudu', sans-serif; font-size: 1.35rem; font-weight: 900; color: var(--c-white); text-align: center; margin-bottom: 22px; }
.lvl-table { width: 100%; border-collapse: collapse; border-radius: var(--r); overflow: hidden; }
.lvl-table thead tr { background: rgba(10,14,50,.88); }
.lvl-table tbody tr { background: rgba(15,20,70,.62); }
.lvl-table tbody tr:nth-child(even) { background: rgba(15,20,70,.78); }
.lvl-table th { padding: 15px 18px; font-size: .82rem; font-weight: 700; border-bottom: 2px solid rgba(255,255,255,.18); }
.lvl-table th:first-child { text-align: left; color: rgba(255,255,255,.7); }
.lvl-table th.col-plus  { color: #b0cfff; text-align: center; }
.lvl-table th.col-pro   { color: #d4b0ff; text-align: center; }
.lvl-table th.col-elite { color: #ffb0d8; text-align: center; }
.lvl-table td { padding: 13px 18px; font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.lvl-table tr:last-child td { border-bottom: none; }
.lvl-table td:first-child { color: rgba(255,255,255,.88); }
.lvl-table td.col-plus  { text-align: center; font-weight: 700; color: #b0cfff; }
.lvl-table td.col-pro   { text-align: center; font-weight: 700; color: #d4b0ff; }
.lvl-table td.col-elite { text-align: center; font-weight: 700; color: #ffb0d8; }
.lvl-table td.td-na     { text-align: center; color: rgba(255,255,255,.28); font-weight: 400; }

/* === LEVELS === */
#levels { background: var(--c-off); }
.levels-header { text-align: center; margin-bottom: 44px; }
.levels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }

/* Animacja wejscia kart - stagger */
@keyframes card-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Glow fali - kazda karta swoj kolor, stagger tworzy efekt fali PLUS->PRO->ELITE */
@keyframes glow-navy {
  0%, 100% { box-shadow: 0 4px 20px rgba(26,32,96,.10), 0 2px 6px rgba(26,32,96,.05); }
  50%       { box-shadow: 0 14px 48px rgba(26,32,96,.34), 0 4px 14px rgba(26,32,96,.14); }
}
@keyframes glow-rose {
  0%, 100% { box-shadow: 0 8px 32px rgba(196,0,122,.18), 0 2px 8px rgba(26,32,96,.10); }
  50%       { box-shadow: 0 14px 52px rgba(196,0,122,.38), 0 2px 8px rgba(26,32,96,.10); }
}
@keyframes glow-elite {
  0%, 100% { box-shadow: 0 4px 20px rgba(107,63,160,.10), 0 2px 6px rgba(26,32,96,.05); }
  50%       { box-shadow: 0 14px 48px rgba(107,63,160,.32), 0 4px 14px rgba(26,32,96,.12); }
}

.level-card {
  background: var(--c-white);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh); border: 2px solid #d0d8f8;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
  opacity: 0;
  display: flex; flex-direction: column;
  animation: card-enter .5s ease forwards;
}
/* Stagger wejscia + glow-fala: PLUS(0s) -> PRO(+0.9s) -> ELITE(+1.8s), okres 2.7s */
.level-card:nth-child(1) { animation: card-enter .5s ease .05s forwards, glow-navy  2.7s ease-in-out 1.0s infinite; }
.level-card:nth-child(2) { animation: card-enter .5s ease .15s forwards, glow-rose  2.7s ease-in-out 1.9s infinite; }
.level-card:nth-child(3) { animation: card-enter .5s ease .25s forwards, glow-elite 2.7s ease-in-out 2.8s infinite; }

.level-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--sh-lg); }

/* PRO - wyroznia sie rozmiarem i pozycja; glow ustawia nth-child(2) */
.level-card.featured {
  transform: translateY(-10px) scale(1.03);
  z-index: 2;
}
.level-card.featured:hover {
  transform: translateY(-16px) scale(1.05);
  animation: card-enter .5s ease .15s forwards, glow-rose 1.4s ease-in-out infinite;
}

.level-head { padding: 24px 24px 16px; text-align: center; border-radius: var(--r) var(--r) 0 0; }
.lh-navy   { background: linear-gradient(135deg, #e8ebff, #c8cef8); border-bottom: 2px solid #b0b8f0; }
.lh-purple { background: linear-gradient(135deg, #f3e8ff, #e0c8f8); border-bottom: 2px solid #d0a8f0; }
.lh-rose   { background: linear-gradient(135deg, #fff0f8, #ffd0ed); border-bottom: 2px solid #f0a0d0; }
.level-badge-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.level-badge-icon svg { width: 21px; height: 21px; fill: white; }
.zebatka-icon { width: 64px; height: 64px; display: block; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: transform .35s ease; }
.level-card:hover .zebatka-icon { transform: rotate(18deg) scale(1.12); }
.level-name    { font-family: 'Phudu', sans-serif; font-size: 1.25rem; font-weight: 900; color: var(--c-navy); letter-spacing: 1px; }
.level-req     { font-size: .76rem; color: var(--c-mid-txt); margin-top: 3px; }
.level-body    { padding: 20px 24px 24px; flex: 1 1 auto; }
.level-mult    { text-align: center; padding: 11px; background: var(--c-sky-bg); border-radius: 10px; margin-bottom: 16px; }
.level-mult .ml { font-size: .7rem; color: var(--c-lite); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.level-mult .mv { font-family: 'Phudu', sans-serif; font-size: 1.55rem; font-weight: 900; line-height: 1.1; }
.mv-navy   { color: var(--c-navy); }
.mv-purple { color: var(--c-purple); }
.mv-rose   { color: var(--c-rose); }
.level-feats { list-style: none; }
.level-feats li { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--c-mid-txt); padding: 7px 0; border-bottom: 1px solid var(--c-off); line-height: 1.4; }
.level-feats li:last-child { border-bottom: none; }
.chk { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.chk svg { width: 9px; height: 9px; }
.chk-navy   { background: var(--c-navy); }
.chk-purple { background: var(--c-purple); }
.chk-rose   { background: var(--c-rose); }

/* === REWARDS === */
#rewards { background: var(--c-white); }
.rewards-header { text-align: center; margin-bottom: 44px; }
.rewards-grid              { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rewards-grid--two         { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.reward-card               { background: var(--c-off); border-radius: var(--r); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.reward-card:hover         { transform: translateY(-4px); box-shadow: var(--sh); }
.reward-card--large .reward-img { height: 180px; }
.reward-img                { height: 150px; display: flex; align-items: center; justify-content: center; }
.bon-holder                { width: 158px; height: 76px; border: 3px dashed rgba(255,255,255,.6); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.bon-holder--label         { width: auto; height: auto; padding: 10px 24px; border-width: 2px; }
.bon-holder span           { font-family: 'Phudu', sans-serif; font-weight: 900; color: var(--c-white); font-size: 1.55rem; }
.bon-holder--label span    { font-size: 2rem; letter-spacing: .04em; }
.reward-body               { padding: 18px 20px 22px; }
.reward-body h4            { font-family: 'Phudu', sans-serif; font-size: .97rem; font-weight: 800; color: var(--c-navy); margin-bottom: 7px; }
.reward-card--large .reward-body h4 { font-size: 1.1rem; }
.reward-body p             { font-size: .84rem; color: var(--c-mid-txt); line-height: 1.65; }
.rewards-cta    { text-align: center; margin-top: 32px; padding-bottom: 32px; border-bottom: none; }
.rewards-cta p  { font-size: .95rem; color: var(--c-mid-txt); margin-bottom: 18px; }

/* === LOCATIONS / STORE LOCATOR === */
#locations { padding: 56px 0 0; background: var(--c-off); }
.loc-head { max-width: var(--w); margin: 0 auto 26px; padding: 0 24px; text-align: center; }
.loc-head .section-sub { margin-top: 12px; }

/* Storelocator na pełną szerokość okna, niższy niż poprzednio */
.sl-wrap {
  width: 100%; margin: 0;
  display: grid; grid-template-columns: 340px 1fr;
  overflow: hidden;
  border-top: 1px solid #dbe1f2;
  background: var(--c-white);
  height: 540px;
}
.sl-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--c-off); }
.sl-controls { padding: 18px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--c-off); }
.sl-input {
  width: 100%; padding: 11px 14px; border: 2px solid #d0d8f8; border-radius: var(--r-sm);
  font-family: 'Poppins', sans-serif; font-size: .85rem; color: var(--c-navy);
  outline: none; transition: border-color .2s, box-shadow .2s; background: var(--c-white);
}
.sl-input:focus { border-color: var(--c-sky); box-shadow: 0 0 0 3px rgba(75,179,232,.18); }
.sl-zones { display: flex; border: 2px solid #d0d8f8; border-radius: var(--r-sm); overflow: hidden; }
.sl-zone { flex: 1; padding: 9px 6px; border: none; background: var(--c-white); color: var(--c-mid-txt);
  font-family: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.sl-zone + .sl-zone { border-left: 2px solid #d0d8f8; }
.sl-zone.is-active { background: var(--c-navy); color: #fff; }
.sl-count { font-size: .76rem; color: var(--c-lite); font-weight: 600; padding-top: 2px; }

.sl-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; max-height: 520px; }
.sl-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; transition: background .12s; }
.sl-item:hover { background: var(--c-sky-bg); }
.sl-item-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.sl-item-txt { display: flex; flex-direction: column; min-width: 0; }
.sl-item-txt b { font-size: .84rem; color: var(--c-navy); font-weight: 600; }
.sl-item-sub { font-size: .74rem; color: var(--c-lite); }
.sl-empty { padding: 24px 12px; text-align: center; color: var(--c-lite); font-size: .82rem; }

.sl-map { min-height: 0; height: 100%; background: #eef1f7; z-index: 0; }

/* Kropki (bez logo) na mapie i na liście */
.sl-pin { display: block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.sl-pin--city { background: var(--c-sky); }
.sl-pin--air  { background: var(--c-purple); }

/* Pin marki: zaokrąglony kwadrat (głowa) + czubek u dołu. Kwadratowe logo
   wpisuje się w kwadratową głowę bez wystających narożników. */
.sl-pinS { position: relative; display: block; width: 48px; height: 60px; }
.sl-pinS::before {         /* głowa */
  content: ''; position: absolute; top: 0; left: 0; width: 48px; height: 48px;
  background: #fff; border: 2.5px solid var(--c-sky); border-radius: 14px;
  box-shadow: 0 3px 8px rgba(26,32,96,.32);
}
.sl-pinS::after {          /* czubek wskazujący punkt */
  content: ''; position: absolute; left: 50%; top: 45px; transform: translateX(-50%);
  width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 12px solid var(--c-sky);
}
.sl-pinS--air::before  { border-color: var(--c-purple); }
.sl-pinS--air::after   { border-top-color: var(--c-purple); }
.sl-pinS--city::before { border-color: var(--c-sky); }
.sl-pinS--city::after  { border-top-color: var(--c-sky); }
/* Logo wpisane w głowę (object-fit: contain — cała grafika, proporcje zachowane) */
.sl-pinS img {
  position: absolute; left: 24px; top: 24px; transform: translate(-50%, -50%);
  width: 38px; height: 38px; min-width: 0; object-fit: contain; z-index: 1;
  /* zaokrąglone rogi grafiki, by tło logo nie wchodziło w łuk ramki pinu */
  border-radius: 9px;
}

/* Popup */
.sl-pop { font-family: 'Poppins', sans-serif; font-size: .82rem; line-height: 1.5; color: var(--c-mid-txt); }
.sl-pop strong { color: var(--c-navy); font-size: .9rem; }
.sl-pop-brand { color: var(--c-purple); font-weight: 600; margin: 2px 0 6px; }
.sl-pop-hours { margin-top: 6px; font-size: .76rem; color: var(--c-lite); }

/* === PARTNERS PREVIEW === */
#partners-preview { background: var(--c-off); }
.partners-hd  { text-align: center; margin-bottom: 36px; }
.logos-stack  { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto 28px; align-items: center; }
.logo-row     { background: var(--c-white); border-radius: var(--r); padding: 16px 28px; box-shadow: var(--sh); display: flex; align-items: center; justify-content: center; width: 100%; transition: transform .2s; position: relative; overflow: hidden; }
.logo-row:hover { transform: translateY(-2px); }
.logo-row img { height: 40px; width: auto; max-width: 100%; object-fit: contain; position: relative; z-index: 2; }

/* --- Panorama miejska (górny pasek) --- */
.logo-row--city {
  /* panorama DALEKA — wyrównane wysokości, spokojna linia dachów */
  --city-svg-far: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'%3E%3Crect x='0' y='38' width='27' height='42' fill='%231a2060'/%3E%3Crect x='28' y='44' width='19' height='36' fill='%231a2060'/%3E%3Crect x='48' y='34' width='23' height='46' fill='%231a2060'/%3E%3Crect x='50' y='28' width='14' height='8' fill='%231a2060'/%3E%3Crect x='72' y='42' width='31' height='38' fill='%231a2060'/%3E%3Crect x='104' y='36' width='21' height='44' fill='%231a2060'/%3E%3Crect x='126' y='46' width='25' height='34' fill='%231a2060'/%3E%3Crect x='152' y='32' width='19' height='48' fill='%231a2060'/%3E%3Crect x='154' y='26' width='10' height='8' fill='%231a2060'/%3E%3Crect x='172' y='44' width='29' height='36' fill='%231a2060'/%3E%3Crect x='202' y='38' width='23' height='42' fill='%231a2060'/%3E%3Crect x='226' y='48' width='21' height='32' fill='%231a2060'/%3E%3Crect x='248' y='34' width='27' height='46' fill='%231a2060'/%3E%3Crect x='276' y='42' width='19' height='38' fill='%231a2060'/%3E%3Crect x='296' y='46' width='31' height='34' fill='%231a2060'/%3E%3Crect x='328' y='36' width='25' height='44' fill='%231a2060'/%3E%3Crect x='354' y='44' width='21' height='36' fill='%231a2060'/%3E%3Crect x='376' y='32' width='29' height='48' fill='%231a2060'/%3E%3Crect x='378' y='26' width='12' height='8' fill='%231a2060'/%3E%3Crect x='406' y='42' width='23' height='38' fill='%231a2060'/%3E%3Crect x='430' y='48' width='27' height='32' fill='%231a2060'/%3E%3Crect x='458' y='36' width='19' height='44' fill='%231a2060'/%3E%3Crect x='478' y='44' width='31' height='36' fill='%231a2060'/%3E%3Crect x='510' y='38' width='25' height='42' fill='%231a2060'/%3E%3Crect x='536' y='46' width='21' height='34' fill='%231a2060'/%3E%3Crect x='558' y='34' width='27' height='46' fill='%231a2060'/%3E%3Crect x='560' y='28' width='12' height='8' fill='%231a2060'/%3E%3Crect x='586' y='42' width='13' height='38' fill='%231a2060'/%3E%3C/svg%3E");
  /* panorama BLISKA — zróżnicowana, z wieżowcami i iglicami */
  --city-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'%3E%3Crect x='0' y='44' width='18' height='36' fill='%231a2060'/%3E%3Crect x='20' y='55' width='10' height='25' fill='%231a2060'/%3E%3Crect x='32' y='30' width='16' height='50' fill='%231a2060'/%3E%3Crect x='34' y='22' width='12' height='10' fill='%231a2060'/%3E%3Crect x='50' y='50' width='22' height='30' fill='%231a2060'/%3E%3Crect x='74' y='36' width='8' height='44' fill='%231a2060'/%3E%3Crect x='84' y='58' width='18' height='22' fill='%231a2060'/%3E%3Crect x='104' y='20' width='14' height='60' fill='%231a2060'/%3E%3Crect x='106' y='12' width='10' height='10' fill='%231a2060'/%3E%3Crect x='108' y='6' width='6' height='8' fill='%231a2060'/%3E%3Crect x='120' y='42' width='20' height='38' fill='%231a2060'/%3E%3Crect x='142' y='32' width='12' height='48' fill='%231a2060'/%3E%3Crect x='156' y='50' width='20' height='30' fill='%231a2060'/%3E%3Crect x='178' y='38' width='6' height='42' fill='%231a2060'/%3E%3Crect x='186' y='14' width='18' height='66' fill='%231a2060'/%3E%3Crect x='188' y='6' width='14' height='10' fill='%231a2060'/%3E%3Crect x='190' y='0' width='10' height='8' fill='%231a2060'/%3E%3Cline x1='195' y1='-10' x2='195' y2='2' stroke='%231a2060' stroke-width='2'/%3E%3Crect x='206' y='44' width='24' height='36' fill='%231a2060'/%3E%3Crect x='232' y='26' width='10' height='54' fill='%231a2060'/%3E%3Crect x='244' y='44' width='18' height='36' fill='%231a2060'/%3E%3Crect x='264' y='56' width='22' height='24' fill='%231a2060'/%3E%3Crect x='288' y='8' width='22' height='72' fill='%231a2060'/%3E%3Crect x='290' y='2' width='18' height='8' fill='%231a2060'/%3E%3Crect x='292' y='0' width='14' height='4' fill='%231a2060'/%3E%3Cline x1='299' y1='-12' x2='299' y2='2' stroke='%231a2060' stroke-width='2.5'/%3E%3Crect x='312' y='34' width='16' height='46' fill='%231a2060'/%3E%3Crect x='330' y='52' width='20' height='28' fill='%231a2060'/%3E%3Crect x='352' y='22' width='12' height='58' fill='%231a2060'/%3E%3Crect x='354' y='14' width='8' height='10' fill='%231a2060'/%3E%3Crect x='366' y='40' width='18' height='40' fill='%231a2060'/%3E%3Crect x='386' y='56' width='24' height='24' fill='%231a2060'/%3E%3Crect x='412' y='30' width='8' height='50' fill='%231a2060'/%3E%3Crect x='422' y='46' width='20' height='34' fill='%231a2060'/%3E%3Crect x='444' y='18' width='16' height='62' fill='%231a2060'/%3E%3Crect x='446' y='10' width='12' height='10' fill='%231a2060'/%3E%3Crect x='462' y='48' width='22' height='32' fill='%231a2060'/%3E%3Crect x='486' y='36' width='10' height='44' fill='%231a2060'/%3E%3Crect x='498' y='60' width='18' height='20' fill='%231a2060'/%3E%3Crect x='518' y='24' width='20' height='56' fill='%231a2060'/%3E%3Crect x='520' y='16' width='16' height='10' fill='%231a2060'/%3E%3Crect x='540' y='42' width='12' height='38' fill='%231a2060'/%3E%3Crect x='554' y='16' width='8' height='64' fill='%231a2060'/%3E%3Crect x='555' y='8' width='6' height='10' fill='%231a2060'/%3E%3Crect x='564' y='52' width='22' height='28' fill='%231a2060'/%3E%3Crect x='588' y='36' width='12' height='44' fill='%231a2060'/%3E%3C/svg%3E");
}
/* Wspólne dla obu warstw panoramy. Szersze niż listwa, bo warstwa daleka
   zwęża się przez scaleX() i nie może odsłonić krawędzi. */
.logo-row--city::before,
.logo-row--city::after {
  content: '';
  position: absolute;
  bottom: 0;
  /* z zapasem po bokach, żeby scaleX() przy hoverze nie odsłonił krawędzi */
  left: -30%;
  width: 160%;
  height: 100%;
  background-image: var(--city-svg);
  background-repeat: repeat-x;
  pointer-events: none;
  transform-origin: 50% 100%;
  will-change: transform, opacity, background-position;
}
/* Warstwa DALEKA — osobna, wyrównana panorama (małe różnice wysokości) */
.logo-row--city::before {
  background-image: var(--city-svg-far);
  background-size: 900px 100%;
  background-position: 0 bottom;
  opacity: .085;
  transform: translateY(31%);
  animation: city-scroll 60s linear infinite;
  transition: transform 1.15s cubic-bezier(.25,.8,.3,1), opacity 1.15s ease;
  z-index: 0;
}
/* Warstwa BLISKA — schowana pod listwą, szersze bryły, lekko przesunięta w bok */
.logo-row--city::after {
  background-size: 1380px 100%;
  background-position: center bottom;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 1.15s cubic-bezier(.25,.8,.3,1) .12s, opacity 1.15s ease .12s;
  z-index: 1;
}
/* HOVER: przewijanie stoi, daleka wjeżdża w górę / blednie / cienieje,
   bliska wsuwa się od dołu przed nią (nie do samego końca) */
.logo-row--city:hover::before {
  animation-play-state: paused;
  /* dodatnia wartość = dół budynków nadal nieco poniżej dołu belki */
  transform: translateY(4%) scaleX(.7);
  opacity: .03;
}
.logo-row--city:hover::after {
  transform: translateY(22%);
  opacity: .1;
}
@keyframes city-scroll {
  from { background-position: 0 bottom; }
  to   { background-position: -900px bottom; }
}

/* --- Samolot (dolny pasek lotniskowy) — inline SVG --- */
.logo-row--airport { z-index: 0; }
/* logotypy nad samolotem */
.logo-row--airport img { position: relative; z-index: 1; }
/* Lot animowany przez `left`, żeby `transform` został wolny na hover */
.lr-plane {
  position: absolute;
  top: 80%;
  left: -140px;
  width: 120px;
  height: 60px;
  overflow: visible;
  transform: translateY(-50%) scale(.6);
  transform-origin: 50% 50%;
  opacity: .32;
  animation: fly-across 34s linear infinite;
  transition: transform .55s cubic-bezier(.3,.9,.4,1), opacity .55s ease;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 2px 5px rgba(74,120,200,.15));
}
@keyframes fly-across {
  from { left: -140px; }
  to   { left: 100%; }
}
/* HOVER: większy i wyżej. Przyspieszenie robi JS przez playbackRate —
   zmiana animation-duration w CSS restartowałaby animację od lewej krawędzi. */
.logo-row--airport:hover .lr-plane {
  transform: translateY(-85%) scale(1.05);
  opacity: .5;
}
.partners-cta { text-align: center; margin-top: 32px; padding-bottom: 0; }

/* === FAQ === */
#faq { background: var(--c-white); }
.faq-hd   { text-align: center; margin-bottom: 36px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--c-off); border-radius: var(--r-sm); margin-bottom: 10px; overflow: hidden; box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; font-family: 'Poppins', sans-serif;
  font-size: .9rem; font-weight: 600; color: var(--c-navy); transition: background .2s;
}
.faq-q:hover { background: rgba(75,179,232,.06); }
.faq-arrow { width: 25px; height: 25px; border-radius: 50%; background: var(--c-sky-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .3s; }
.faq-arrow svg { width: 11px; height: 11px; color: var(--c-sky); transition: color .3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--c-sky); }
.faq-item.open .faq-arrow svg { color: var(--c-white); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-body { max-height: 700px; }
.faq-inner { padding: 0 20px 18px; font-size: .87rem; color: var(--c-mid-txt); line-height: 1.75; }
.faq-inner ul { padding-left: 18px; margin-top: 8px; }
.faq-inner ul li { margin-bottom: 5px; }
.faq-apps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.faq-apps .btn-app img { height: 42px; }

/* === CONTACT === */
#contact { background: var(--c-off); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .section-title { margin-bottom: 10px; }
.contact-info > p { font-size: .9rem; color: var(--c-mid-txt); margin-bottom: 20px; line-height: 1.7; }
.contact-apps   { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.contact-legal  { font-size: .75rem; color: var(--c-lite); line-height: 1.65; }
.contact-legal a { color: var(--c-sky); text-decoration: underline; }
.contact-form-box h3 { font-family: 'Phudu', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--c-navy); margin-bottom: 4px; }
.contact-form-box > p { font-size: .87rem; color: var(--c-mid-txt); margin-bottom: 16px; }
.form { display: flex; flex-direction: column; gap: 11px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-field {
  width: 100%; padding: 12px 15px;
  border: 2px solid rgba(26,32,96,.1); border-radius: var(--r-sm);
  font-family: 'Poppins', sans-serif; font-size: .87rem; color: var(--c-navy);
  background: var(--c-white); transition: border-color .2s; outline: none;
}
.form-field:focus { border-color: var(--c-sky); }
.form-field::placeholder { color: var(--c-lite); }
textarea.form-field { min-height: 120px; resize: vertical; }
.form-status { font-size: .87rem; color: var(--c-sky); min-height: 1.4em; text-align: center; }
.btn-send {
  align-self: flex-start; background: var(--g-ribbon); color: var(--c-white);
  border: none; cursor: pointer; padding: 12px 30px; border-radius: var(--r-pill);
  font-family: 'Poppins', sans-serif; font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(196,0,122,.28); transition: opacity .2s, transform .2s;
}
.btn-send:hover { opacity: .9; transform: translateY(-1px); }

/* === FOOTER === */
#site-footer { background: var(--c-navy); padding: 44px 24px 26px; }
.footer-inner { max-width: var(--w); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo { height: 32px; }
.footer-tag  { color: rgba(255,255,255,.45); font-size: .8rem; }
.footer-nav  { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: .78rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-nav a:hover { color: var(--c-sky); }
.footer-hr   { width: 100%; height: 1px; background: rgba(255,255,255,.08); }
.footer-copy { font-size: .73rem; color: rgba(255,255,255,.25); text-align: center; }

/* === PAGE HERO (podstrony) === */
.page-hero {
  background: var(--g-hero);
  /* Baner podstron - jednolita wysokosc, tytul w polowie */
  min-height: 360px;
  padding: 0 0 0;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.page-snake { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.page-snake svg { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Gdy jest grafika banera: ukryj dekoracyjny snake i gradient */
.page-hero.has-banner .page-snake { display: none; }
.page-hero-inner {
  max-width: var(--w); margin: 0 auto; position: relative; z-index: 2;
  width: 100%; padding: 90px 24px 50px;
}
.page-hero-inner h1 { font-family: 'Phudu', sans-serif; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 900; color: var(--c-white); margin-bottom: 4px; text-shadow: 0 2px 12px rgba(26,32,96,.2); text-align: left; }
.page-hero-inner .meta { font-size: .84rem; color: rgba(255,255,255,.8); text-align: left; margin-top: 2px; }
.btn-pdf { margin-top: 20px; }
.hero-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hero-back { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.35); color: var(--c-white); font-size: .78rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; text-decoration: none; transition: background .2s; }
.hero-back:hover { background: rgba(255,255,255,.3); }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.22); color: var(--c-white); font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }

/* === SUBPAGE HEADER NAV === */
.sub-nav-wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.sub-nav-right { display: flex; align-items: center; gap: 14px; }
.sub-nav-home {
  display: inline-flex; align-items: center; gap: 6px; font-size: .82rem;
  font-weight: 600; color: var(--c-mid-txt); padding: 7px 12px;
  border-radius: var(--r-sm); transition: background .2s, color .2s;
}
.sub-nav-home:hover { background: var(--c-sky-bg); color: var(--c-sky); }
.sub-nav-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600; color: var(--c-white);
  background: var(--g-ribbon); padding: 8px 16px; border-radius: 20px; transition: opacity .2s;
}
.sub-nav-back:hover { opacity: .85; }

/* === DOC NAV (regulamin/polityki) === */
.doc-nav { background: var(--c-white); border-bottom: 2px solid rgba(26,32,96,.07); position: sticky; top: 70px; z-index: 150; }
.doc-nav-outer { position: relative; max-width: var(--w); margin: 0 auto; }
.doc-nav-inner {
  padding: 0 44px;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;   /* blokada pionu */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;  /* tylko poziomy dotyk */
  scrollbar-width: none;
  /* Drag mysza poziomy - obsluzone przez JS */
  cursor: grab;
  user-select: none;
}
.doc-nav-inner.is-dragging { cursor: grabbing; }
.doc-nav-inner::-webkit-scrollbar { display: none; }
.doc-nav-link { flex-shrink: 0; white-space: nowrap; font-size: .78rem; font-weight: 600; color: var(--c-lite); padding: 13px 15px; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; margin-bottom: -2px; display: inline-block; }
.doc-nav-link:hover { color: var(--c-navy); }
.doc-nav-link.is-active { color: var(--c-navy); border-bottom-color: var(--c-sky); }
.doc-nav-arrow { position: absolute; top: 0; bottom: 0; width: 40px; display: flex; align-items: center; justify-content: center; background: linear-gradient(to right, white 60%, transparent); border: none; cursor: pointer; z-index: 2; color: var(--c-navy); transition: opacity .2s; }
.doc-nav-arrow.right { right: 0; background: linear-gradient(to left, white 60%, transparent); }
.doc-nav-arrow:hover { color: var(--c-sky); }
.doc-nav-arrow svg { width: 18px; height: 18px; flex-shrink: 0; }

/* === DOC CONTENT === */
.doc-content { max-width: var(--w); margin: 0 auto; padding: 48px 24px 80px; counter-reset: doc-h2; }

/* --- Quill-native HTML (standardowy output edytora) --- */
.doc-content h2 {
  counter-increment: doc-h2;
  font-family: 'Phudu', sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--c-navy);
  margin: 52px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--c-sky-bg);
  display: flex; align-items: center; gap: 10px; scroll-margin-top: 145px;
}
.doc-content h2:first-child { margin-top: 0; }
.doc-content h2::before {
  content: counter(doc-h2);
  background: var(--g-ribbon); color: #fff; font-size: 1.2rem; font-weight: 900;
  min-width: 32px; height: 32px; border-radius: 16px; padding: 0 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; white-space: nowrap;
}
.doc-content.with-paragraph h2::before { content: "\A7" counter(doc-h2); }
.doc-content h3 {
  font-family: 'Phudu', sans-serif; font-size: .95rem; font-weight: 700; color: var(--c-navy);
  margin: 18px 0 8px;
}
.doc-content > p, .doc-content p:not([class]) {
  font-size: .9rem; color: var(--c-txt); line-height: 1.78; margin-bottom: 12px;
}
.doc-content > p strong, .doc-content p:not([class]) strong { color: var(--c-navy); font-weight: 600; }
.doc-content > p a, .doc-content p:not([class]) a { color: var(--c-sky); text-decoration: underline; }
.doc-content ol:not([class]) {
  list-style: none; padding: 0; margin: 0 0 16px; counter-reset: doc-ol;
}
.doc-content ol:not([class]) > li {
  counter-increment: doc-ol;
  display: flex; gap: 6px;
  font-size: .9rem; color: var(--c-txt); line-height: 1.75; margin-bottom: 8px;
}
.doc-content ol:not([class]) > li::before {
  content: counter(doc-ol) ".";
  font-weight: 600; color: var(--c-navy); min-width: 20px; flex-shrink: 0;
}
.doc-content ul { list-style: none; padding-left: 0; margin-bottom: 16px; }
.doc-content ul > li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .9rem; color: var(--c-txt); line-height: 1.75; margin-bottom: 4px;
}
.doc-content ul > li::before {
  content: "\2022";
  color: var(--c-sky); font-weight: 700; font-size: 1.1em;
  line-height: 1.75; flex-shrink: 0;
}
.doc-content mark {
  background: rgba(196,0,122,.12); color: #a00060; border-radius: 3px; padding: 1px 5px;
}
.doc-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.doc-content th {
  border: 1px solid #d0d8f8; padding: 8px 12px; background: #f4f5fb;
  text-align: left; font-weight: 600; color: var(--c-navy); font-size: .88rem;
}
.doc-content td { border: 1px solid #d0d8f8; padding: 8px 12px; color: var(--c-mid-txt); font-size: .88rem; }
.doc-content colgroup { display: none; }
/* --- koniec Quill-native --- */
.doc-chapter { margin-bottom: 52px; scroll-margin-top: 160px; }
.doc-chapter-title { font-family: 'Phudu', sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--c-navy); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--c-sky-bg); display: flex; align-items: center; gap: 10px; }
.doc-num { background: var(--g-ribbon); color: white; font-size: .7rem; font-weight: 900; min-width: 26px; height: 26px; border-radius: 13px; padding: 0 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-p { font-size: .9rem; color: var(--c-txt); line-height: 1.78; margin-bottom: 12px; }
.doc-p strong { color: var(--c-navy); font-weight: 600; }
.doc-p a { color: var(--c-sky); text-decoration: underline; }
.doc-section { margin-bottom: 12px; }
.doc-sec-num  { font-weight: 600; color: var(--c-navy); font-size: .9rem; }
.doc-sec-txt  { font-size: .9rem; color: var(--c-txt); line-height: 1.75; }
.doc-sub { padding-left: 22px; margin-top: 8px; }
.doc-sub-item { font-size: .88rem; color: var(--c-txt); line-height: 1.7; margin-bottom: 6px; display: flex; gap: 8px; }
.doc-sub-lbl  { font-weight: 600; color: var(--c-navy); flex-shrink: 0; }
.doc-list { list-style: none; padding: 0; margin: 10px 0 14px; }
.doc-list li { font-size: .88rem; color: var(--c-txt); line-height: 1.65; padding: 5px 0 5px 22px; border-bottom: 1px solid var(--c-off); position: relative; }
.doc-list li::before { content: "-"; position: absolute; left: 0; color: var(--c-sky); font-weight: 700; }
.doc-list li:last-child { border-bottom: none; }
.alpha-list { list-style: none; padding: 0; margin: 10px 0 14px; }
.alpha-list li { font-size: .88rem; color: var(--c-txt); line-height: 1.7; margin-bottom: 8px; display: flex; gap: 10px; }
.alpha-ltr { font-weight: 700; color: var(--c-navy); flex-shrink: 0; min-width: 18px; }
.note-box { background: var(--c-sky-bg); border-left: 3px solid var(--c-sky); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .87rem; color: var(--c-mid-txt); margin: 16px 0; }
.info-box  { background: var(--c-off); border-radius: var(--r); padding: 18px 22px; font-size: .88rem; line-height: 1.7; margin: 14px 0; }
.info-box strong { color: var(--c-navy); display: block; margin-bottom: 6px; }
.info-box a { color: var(--c-sky); text-decoration: underline; }
.doc-date  { font-size: .78rem; color: var(--c-lite); text-align: right; margin-top: 28px; font-style: italic; }
.cookies-tbl { width: 100%; border-collapse: collapse; font-size: .82rem; margin: 14px 0; border-radius: var(--r-sm); overflow: hidden; }
.cookies-tbl th { background: var(--c-navy); color: white; padding: 10px 14px; text-align: left; font-weight: 600; }
.cookies-tbl td { padding: 10px 14px; border-bottom: 1px solid var(--c-off); vertical-align: top; }
.cookies-tbl tr:nth-child(even) td { background: var(--c-off); }

/* === REGULAMINY PAGE === */
.reg-content { max-width: var(--w); margin: 0 auto; padding: 52px 24px 80px; }
.reg-section { margin-bottom: 32px; }
.reg-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 0; }
@media (min-width: 768px) { .reg-grid { grid-template-columns: 1fr 1fr; } }
.doc-card { background: var(--c-off); border-radius: var(--r); overflow: hidden; border: 2px solid transparent; transition: border-color .25s, box-shadow .25s; }
.doc-card:hover { border-color: var(--c-sky-bg); box-shadow: var(--sh); }
.doc-card-head { padding: 20px 24px; display: flex; align-items: center; gap: 16px; background: var(--c-white); border-bottom: 1px solid var(--c-off); }
.doc-card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--g-ribbon); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-card-icon svg { color: white; }
.doc-card-info h3 { font-family: 'Phudu', sans-serif; font-size: 1rem; font-weight: 800; color: var(--c-navy); margin-bottom: 3px; }
.doc-card-info p  { font-size: .78rem; color: var(--c-lite); }
.doc-card-body  { padding: 14px 24px; }
.doc-links      { display: flex; gap: 11px; flex-wrap: wrap; }
.doc-link { display: inline-flex; align-items: center; gap: 7px; background: var(--c-white); border: 2px solid var(--c-sky-bg); color: var(--c-navy); font-size: .84rem; font-weight: 600; padding: 9px 16px; border-radius: var(--r-pill); transition: border-color .2s, color .2s, background .2s; }
.doc-link:hover { border-color: var(--c-sky); color: var(--c-sky); background: var(--c-sky-bg); }
.doc-link.primary { background: var(--g-ribbon); border-color: transparent; color: white; }
.doc-link.primary:hover { opacity: .9; color: white; }
.doc-link svg { flex-shrink: 0; }
.doc-note { font-size: .78rem; color: var(--c-lite); margin-top: 10px; line-height: 1.5; }
.add-doc { border: 2px dashed rgba(75,179,232,.35); border-radius: var(--r); padding: 28px; text-align: center; margin-top: 44px; background: var(--c-off); }
.add-doc h4 { font-family: 'Phudu', sans-serif; font-size: 1rem; font-weight: 800; color: var(--c-navy); margin-bottom: 6px; }
.add-doc p  { font-size: .84rem; color: var(--c-lite); }

/* === BRANDS PAGE === */
.brands-tabs { background: var(--c-white); border-bottom: 2px solid var(--c-off); position: sticky; top: 70px; z-index: 99; }
.brands-tabs-inner { max-width: var(--w); margin: 0 auto; padding: 0 24px; display: flex; }
.tab-btn { background: none; border: none; border-bottom: 3px solid transparent; padding: 15px 22px; font-family: 'Poppins', sans-serif; font-size: .9rem; font-weight: 600; color: var(--c-lite); cursor: pointer; transition: color .2s, border-color .2s; margin-bottom: -2px; }
.tab-btn.is-active, .tab-btn:hover { color: var(--c-navy); }
.tab-btn.is-active { border-bottom-color: var(--c-sky); }
.brands-content { max-width: var(--w); margin: 0 auto; padding: 48px 24px 72px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.brands-sec-title { font-family: 'Phudu', sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--c-navy); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--c-off); display: flex; align-items: center; gap: 10px; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 14px; margin-bottom: 44px; }
.brand-card { background: var(--c-off); border-radius: var(--r); padding: 20px 16px; text-align: center; border: 2px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; }
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--sh); background: var(--c-white); border-color: var(--c-sky-bg); }
.brand-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--g-ribbon); display: flex; align-items: center; justify-content: center; margin: 0 auto 11px; font-family: 'Phudu', sans-serif; font-size: .95rem; font-weight: 900; color: white; }
.brand-name { font-family: 'Phudu', sans-serif; font-size: .97rem; font-weight: 800; color: var(--c-navy); margin-bottom: 4px; }
.brand-type { font-size: .74rem; color: var(--c-lite); }

/* Brand card z logotypem (maly box) */
.brand-card--logo { position: relative; }
.brand-logo-wrap {
  position: relative; width: 80px; height: 80px;
  margin: 0 auto 8px; border-radius: 10px; overflow: hidden;
  background: var(--c-white); border: 1px solid var(--c-off);
}
.brand-logo {
  width: 100%; height: 100%; object-fit: contain;
  display: block; transition: opacity .35s ease, transform .35s ease;
  padding: 6px;
}
.brand-logo-name {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Phudu', sans-serif; font-size: 1.05rem; font-weight: 900;
  color: var(--c-navy); background: var(--c-white);
  opacity: 0; transform: scale(.85);
  transition: opacity .35s ease, transform .35s ease;
}
.brand-card--logo:hover .brand-logo { opacity: 0; transform: scale(1.1); }
.brand-card--logo:hover .brand-logo-name { opacity: 1; transform: scale(1); }

/* === Layout: compact (poziome wiersze) === */
.brands-grid--compact { grid-template-columns: 1fr; gap: 8px; }
.brand-card--compact { display: flex; align-items: center; gap: 14px; padding: 12px 16px; text-align: left; }
.bc-media { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.bc-media .bc-thumb { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--c-border); padding: 3px; }
.bc-media .bc-initials { width: 44px; height: 44px; border-radius: 10px; background: var(--g-ribbon); display: flex; align-items: center; justify-content: center; font-family: 'Phudu', sans-serif; font-size: .9rem; font-weight: 900; color: #fff; }
.bc-info { min-width: 0; }
.bc-name { font-weight: 700; font-size: .88rem; color: var(--c-navy); }
.bc-type { font-size: .76rem; color: var(--c-mid-txt); margin-top: 1px; }
@media (min-width: 600px) { .brands-grid--compact { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .brands-grid--compact { grid-template-columns: 1fr 1fr 1fr; } }

/* === Layout: clean (samo logo, bez tekstu) === */
.brand-card--clean { background: transparent; border: 2px solid transparent; padding: 12px; display: flex; align-items: center; justify-content: center; min-height: 80px; }
.brand-card--clean:hover { background: var(--c-white); border-color: var(--c-border); box-shadow: var(--sh); }
.brand-clean-img { max-width: 100%; max-height: 60px; object-fit: contain; }
.brand-clean-init { font-family: 'Phudu', sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--c-navy); }

/* === Animacje wejścia kart brandów === */
/* fade-up: wjeżdża z dołu (wyraziste 32px) */
.brand-anim-fade-up { opacity: 0; transform: translateY(32px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.68,0,1.2); }
/* fade: czyste rozpuszczenie — powolniejsze żeby odróżnić od fade-up */
.brand-anim-fade    { opacity: 0; transition: opacity .75s ease; }
/* scale: wyrasta z małego (dramatyczne 0.7) */
.brand-anim-scale   { opacity: 0; transform: scale(.7); transition: opacity .5s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.brand-anim-fade-up.brand-anim-in,
.brand-anim-fade.brand-anim-in,
.brand-anim-scale.brand-anim-in  { opacity: 1; transform: none; }

/* === Brand card COVER: caly kafelek to logo, hover = pelny nieprzezroczysty overlay === */
.brand-card--cover {
  aspect-ratio: 1;
  padding: 0; overflow: hidden;
  background: var(--c-white);
  position: relative;
  border: 2px solid var(--c-off);
}
.brand-cover-img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  padding: 14px;
  transition: transform .35s ease, opacity .35s ease;
}
.brand-cover-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(26,32,96,1);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s ease;
  padding: 16px; gap: 6px;
}
.brand-cover-name {
  font-family: 'Phudu', sans-serif; font-weight: 900; font-size: 1.05rem;
  color: var(--c-white); text-align: center;
}
.brand-cover-type {
  font-size: .78rem; color: rgba(255,255,255,.75); text-align: center;
}
.brand-card--cover:hover .brand-cover-img { transform: scale(1.08); opacity: 0; }
.brand-card--cover:hover .brand-cover-overlay { opacity: 1; }

/* === Brand card SLIDE: logo na pelnym kaflu, hover = logo wyjezdza gora, nazwa wjezdza z dolu === */
.brand-card--slide {
  aspect-ratio: 1;
  padding: 0; overflow: hidden;
  background: var(--c-white);
  position: relative;
  border: 2px solid var(--c-off);
}
.brand-slide-logo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.brand-slide-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
}
.brand-slide-info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--c-off);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  padding: 16px; gap: 6px;
}
.brand-slide-name {
  font-family: 'Phudu', sans-serif; font-weight: 900; font-size: 1.05rem;
  color: var(--c-navy); text-align: center;
}
.brand-slide-type {
  font-size: .78rem; color: var(--c-mid-txt); text-align: center;
}
.brand-card--slide:hover .brand-slide-logo { transform: translateY(-100%); }
.brand-card--slide:hover .brand-slide-info  { transform: translateY(0); }

/* === Brand card TALL: duze logo, opis u dolu, proporcje 1:1 === */
.brand-card--tall {
  aspect-ratio: 1;
  padding: 0; overflow: hidden;
  background: var(--c-white);
  display: flex; flex-direction: column;
  border: 2px solid var(--c-off);
}
.brand-tall-logo {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.brand-tall-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
  transition: transform .3s ease;
}
.brand-card--tall:hover .brand-tall-logo img { transform: scale(1.06); }
.brand-tall-footer {
  padding: 8px 12px 10px;
  border-top: 1px solid var(--c-off);
  background: var(--c-off);
  flex-shrink: 0;
}
.brand-tall-name {
  font-family: 'Phudu', sans-serif; font-weight: 800; font-size: .88rem;
  color: var(--c-navy);
}
.brand-tall-type {
  font-size: .72rem; color: var(--c-mid-txt); margin-top: 1px;
}

/* === Brand card PEEK: caly kafelek to logo, hover = logo przesuwa sie do gory 2/3, info wjezdza od dolu 1/3 === */
.brand-card--peek {
  aspect-ratio: 1;
  padding: 0; overflow: hidden;
  background: var(--c-white);
  position: relative;
  border: 2px solid var(--c-off);
}
.brand-peek-logo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.brand-peek-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
}
.brand-peek-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 33%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--c-off);
  transform: translateY(100%);
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  padding: 8px 14px; gap: 3px;
  z-index: 2;
  border-top: 1px solid rgba(0,0,0,.06);
}
.brand-peek-name {
  font-family: 'Phudu', sans-serif; font-weight: 900; font-size: .92rem;
  color: var(--c-navy); text-align: center;
}
.brand-peek-type { font-size: .72rem; color: var(--c-mid-txt); text-align: center; line-height: 1.2; }
.brand-card--peek:hover .brand-peek-logo { transform: translateY(-16.5%); }
.brand-card--peek:hover .brand-peek-logo img { transform: scale(.82); }
.brand-card--peek:hover .brand-peek-info { transform: translateY(0); }

/* === PARTNERZY PAGE === */
.partnerzy-content { max-width: var(--w); margin: 0 auto; padding: 52px 24px 80px; }
.cms-notice { background: var(--c-sky-bg); border: 2px solid rgba(75,179,232,.25); border-radius: var(--r); padding: 24px 28px; margin-bottom: 44px; display: flex; gap: 16px; align-items: flex-start; }
.cms-notice-icon { width: 38px; height: 38px; background: var(--c-sky); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cms-notice-icon svg { color: white; }
.cms-notice h4 { font-family: 'Phudu', sans-serif; font-size: .95rem; font-weight: 800; color: var(--c-navy); margin-bottom: 4px; }
.cms-notice p  { font-size: .82rem; color: var(--c-mid-txt); line-height: 1.55; }
.promos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-bottom: 52px; }
.promo-card { background: var(--c-white); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); border: 2px solid var(--c-off); transition: transform .3s, box-shadow .3s; }
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.promo-img  { height: 175px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.promo-bg   { position: absolute; inset: 0; }
.promo-logo { position: relative; z-index: 1; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border-radius: 12px; padding: 11px 20px; border: 2px solid rgba(255,255,255,.3); }
.promo-logo-txt { font-family: 'Phudu', sans-serif; font-size: 1.5rem; font-weight: 900; color: white; letter-spacing: 1px; }
.promo-badge { position: absolute; top: 13px; right: 13px; z-index: 2; background: var(--c-white); color: var(--c-rose); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; box-shadow: var(--sh-sm); }
.promo-body { padding: 18px 20px 22px; }
.promo-partner { font-size: .72rem; font-weight: 700; color: var(--c-sky); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.promo-body h3 { font-family: 'Phudu', sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--c-navy); margin-bottom: 8px; line-height: 1.3; }
.promo-body p  { font-size: .84rem; color: var(--c-mid-txt); line-height: 1.65; margin-bottom: 12px; }
.promo-valid   { font-size: .75rem; color: var(--c-lite); display: flex; align-items: center; gap: 5px; }
.promo-placeholder { border: 2px dashed rgba(75,179,232,.3); box-shadow: none; background: var(--c-off); }
.promo-placeholder .promo-img { background: linear-gradient(135deg, var(--c-off), #ddeef7); }

/* === FADE-UP ANIMATION === */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* === GRID UTILS === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mt-5 { margin-top: 52px; }
.mb-3 { margin-bottom: 24px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
  .levels-grid    { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .level-card.featured { transform: translateY(-4px) scale(1.02); }
  .level-card:nth-child(1) { animation: card-enter .5s ease .05s forwards; }
  .level-card:nth-child(2) { animation: card-enter .5s ease .15s forwards; }
  .level-card:nth-child(3) { animation: card-enter .5s ease .25s forwards; }
  .rewards-grid   { grid-template-columns: 1fr 1fr; }
  .rewards-grid--two { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .how-steps      { grid-template-columns: 1fr; }
  .sl-wrap        { grid-template-columns: 1fr; height: auto; }
  .sl-panel       { border-right: none; border-bottom: 1px solid var(--c-off); }
  .sl-list        { max-height: 260px; }
  .sl-map         { min-height: 360px; height: 360px; }
  .contact-grid   { grid-template-columns: 1fr; }
  /* .slides height removed — aspect-ratio: 20/7 handles scaling */
}
@media (max-width: 768px) {
  /* Marginesy boczne = 24px z .container (jak baner startowy i nav-wrap),
     zamiast 20px .section + 24px .container = 44px. Więcej miejsca na treść. */
  .section { padding: 50px 0; }
  .benefits-grid, .rewards-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .promos-grid { grid-template-columns: 1fr; }
  .cms-notice  { flex-direction: column; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row2  { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .nav-burger { display: block; }
  .slide-content h1 { font-size: 1.75rem; }
  .hero-apps  { flex-direction: row; align-items: center; justify-content: center; flex-wrap: nowrap; }
  .btn-app img { height: 34px; }
  .slider-arrow { font-size: 3.5rem; padding: 0 10px; }

  /* Mobile: pionowy baner 9:16, marginesy boczne = padding nav-wrap (24px z wrappera) */
  .slides     { width: 100%; aspect-ratio: 9/16; }
  .level-card.featured { transform: none; }
}


/* === POPRAWKI NAGLOWKA PODSTRON === */
/* Usun stare style sub-nav (juz nie uzywane) */
.sub-nav-wrap { display: none; }
.sub-nav-home, .sub-nav-back { display: none; }

/* ===== DOC-CONTENT: NOTE-BOX / INFO-BOX ===== */
/* Glowny format: div.note-box / div.info-box (output postProcessContent) */
.doc-content div.note-box {
  background: var(--c-sky-bg);
  border-left: 3px solid var(--c-sky);
  padding: 10px 18px 10px 15px;
  border-radius: 0 4px 4px 0;
  font-size: .87rem;
  color: var(--c-mid-txt);
  margin: 14px 0;
  line-height: 1.65;
}
.doc-content div.info-box {
  background: var(--c-off);
  border-radius: 4px;
  border: 1px solid #dde4f5;
  padding: 10px 18px;
  font-size: .87rem;
  color: var(--c-mid-txt);
  margin: 14px 0;
  line-height: 1.65;
}
/* Neutralizuj style p wewnatrz wyroznicen */
.doc-content div.note-box p,
.doc-content div.info-box p { margin: 0 !important; padding: 0; font-size: inherit; color: inherit; line-height: inherit; }
/* Fallback: stare formaty (przed migracja do div) */
.doc-content p.note-box-line,
.doc-content aside.note-box {
  background: var(--c-sky-bg); border-left: 3px solid var(--c-sky);
  padding: 5px 18px 5px 15px; border-radius: 0 4px 4px 0;
  font-size: .87rem; color: var(--c-mid-txt); margin: 0 0 1px; line-height: 1.65;
}
.doc-content p.info-box-line,
.doc-content aside.info-box {
  background: var(--c-off); border-radius: 4px;
  padding: 5px 18px; font-size: .87rem; color: var(--c-mid-txt); margin: 0 0 1px; line-height: 1.65;
}

/* ===== DOC-CONTENT: NUMERACJA ===== */
/* Domyslnie: 1. 2. (counter ".") — with-paragraph wlacza znak § */
/* no-paragraph = backward compat (stare dokumenty bez §, teraz redundantne) */
.doc-content.no-paragraph h2::before { content: counter(doc-h2) "."; }
