/* ───────── shell.css ─────────
   Wspolna powloka podstron Digana w jasnym wariancie: pasek marki, pasek
   strony, stopka i podstawy typografii. Landingi produktowe dokladaja wlasny
   arkusz, strony informacyjne korzystaja z samej powloki.
   Kolor akcentu podmienia zmienna --accent. */

:root {
  --font-display: 'Onest', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --tlo: #ffffff;
  --tlo-2: #f5f8f6;
  --karta: #ffffff;
  --linia: #e3eae6;
  --txt: #0b1310;
  --txt-2: #55665d;
  --txt-3: #8b9c93;
  --accent: #16a34a;
  --accent-ciemny: #15803d;
  --accent-tlo: #f0faf4;
  --kolumna: 1560px;
  --margines: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tlo);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(var(--kolumna), calc(100% - var(--margines) * 2)); margin-inline: auto; }

/* ── pasek marki ── */
.shell-head { position: sticky; top: 0; z-index: 60; }
.brand-bar {
  display: flex; align-items: center; gap: 4px;
  padding: 12px max(var(--margines), calc((100% - var(--kolumna)) / 2));
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--linia);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
.brand-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 16px; }
.brand-logo img { height: 42px; width: auto; display: block; }
.brand-nav { display: flex; align-items: center; gap: 2px; padding-left: 18px; border-left: 1px solid var(--linia); }
.brand-item, .brand-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 9px;
  background: none; border: 0;
  color: var(--txt-2);
  font-family: var(--font-body); font-size: 15px;
  text-decoration: none; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.brand-item:hover, .brand-trigger:hover { color: var(--txt); background: rgba(11,19,16,.05); }
.brand-item[aria-current] { color: var(--txt); font-weight: 600; }
.brand-cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 18px; border-radius: 13px;
  background: var(--accent); color: #fff;
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.brand-cta:hover { background: var(--accent-ciemny); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(22,163,74,.6); }
.brand-cta span {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.22);
}

/* ── pasek strony ── */
.page-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px max(var(--margines), calc((100% - var(--kolumna)) / 2));
  background: var(--tlo-2);
  border-bottom: 1px solid var(--linia);
  position: relative; z-index: 50;
}
.page-name { color: var(--accent); font-family: var(--font-display); font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.page-sep { width: 1px; height: 15px; background: var(--linia); }
.page-crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--txt-3); }
.page-crumbs a { text-decoration: none; transition: color .2s ease; }
.page-crumbs a:hover { color: var(--txt); }
.page-crumbs i { font-style: normal; color: #c3d0c9; }
.page-crumbs [aria-current] { color: var(--txt-2); font-weight: 600; }

/* ── stopka ── */
.shell-foot {
  padding: clamp(56px,7vw,88px) 0 26px;
  background: var(--tlo-2);
  border-top: 1px solid var(--linia);
}
.foot-top { display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(120px,.7fr)); gap: clamp(30px,5vw,68px); }
.foot-logo img { height: 52px; width: auto; opacity: .68; display: block; }
.foot-about { max-width: 31ch; margin-top: 20px; color: var(--txt-2); font-size: 15px; }
.foot-col-title { margin-bottom: 12px; color: var(--txt-3); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-col a { color: var(--txt-2); font-size: 14px; text-decoration: none; min-height: 36px; display: flex; align-items: center; transition: color .2s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(40px,5vw,64px); padding-top: 22px;
  border-top: 1px solid var(--linia);
  color: var(--txt-3); font-size: 12px;
}
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--accent); }

@media (max-width: 900px) {
  :root { --margines: 20px; }
  .brand-nav { display: none; }
  .brand-logo img { height: 32px; }
  .page-sep, .page-crumbs { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-col a { min-height: 44px; }
  .foot-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }


/* Stopka: assets/css/footer.css */

/* ───────── klasy pomocnicze uzywane przez stopke ─────────
   Stopka pochodzi ze strony glownej, ktora ma wlasny zestaw klas narzedziowych
   w arkuszu wewnetrznym. Tutaj tylko te, ktorych stopka faktycznie uzywa. */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.btn-glow { display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; background: #111827; transition: all 240ms ease; position: relative; color: #FFFFFF !important; text-shadow: none; box-shadow: 0 2px 12px rgba(17,24,39,0.06); font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; border-radius: 100px; white-space: nowrap; }
.btn-glow:hover { background: #1F2937; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(17,24,39,0.15); }
.btn-glow-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.15); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Pelna nazwa panelu nie miescila sie w kolumnie stopki i lamala na dwie linie. */
.ft-login { padding: 11px 16px; font-size: 13px; gap: 7px; white-space: nowrap; }
