/* Panorama i nawigacja wspólne dla wszystkich stron. */
#stopka { scroll-margin-top: var(--bar-h); position: relative; overflow: hidden; background: var(--paper) var(--grain); color: var(--ink); border-top: 1px solid var(--line); }
#stopka .foot-scene {
  position: relative; display: grid; align-items: start; isolation: isolate;
  min-height: max(290px, 27vw); background: #201c1b;
}
#stopka .foot-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
#stopka .foot-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, #211c1bd9, transparent 73%); pointer-events: none; }
#stopka .foot-heading { position: relative; z-index: 1; padding-block: clamp(32px, 4vw, 76px); }
#stopka .foot-mission { font-size: clamp(38px, 4.300vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; color: #faf3e9; max-width: 12em; }
#stopka .foot-mission i { font-style: normal; color: var(--brand); }

#stopka .foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; padding-top: 44px; border-top: 1px solid var(--line); color: var(--muted); }
#stopka .foot-logo { display: inline-grid; color: var(--ink); }
#stopka .foot-logo .logo-main { font-size: 34px; }
#stopka .foot-logo small { font-size: 12px; color: var(--muted); margin-top: 6px; }
#stopka address { margin-top: 20px; font-style: normal; font-size: 14.500px; line-height: 1.7; }
#stopka .foot-contact { display: grid; justify-items: start; margin-top: 12px; }
#stopka h3 { font-size: 11px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
#stopka .foot-nav ul { display: grid; justify-items: start; }
/* odsyłacze: pole dotyku 44 px, cienkie podkreślenie wchodzi po najechaniu */
#stopka .foot-contact a, #stopka .foot-nav a, #stopka .foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); background: linear-gradient(var(--brand), var(--brand)) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
#stopka .foot-contact a { font-size: 16px; color: var(--ink); }
#stopka .foot-nav a { font-size: 15.500px; }
#stopka .foot-contact a:hover, #stopka .foot-nav a:hover, #stopka .foot-bottom a:hover,
#stopka .foot-contact a:focus-visible, #stopka .foot-nav a:focus-visible, #stopka .foot-bottom a:focus-visible { color: var(--ink); background-size: 100% 1px; }
/* znak Systemu jak w pasku: „System” małym krojem nad nazwą, kropka w karminie */
#stopka .foot-sys { display: grid; line-height: 1.08; padding-block: 3px; }
#stopka .foot-sys small { font-size: 10.500px; letter-spacing: .04em; }
#stopka .foot-sys b { font-weight: 700; }
#stopka .foot-sys i { font-style: normal; color: var(--brand); }
#stopka .foot-sys sup { font-size: .5em; }
#stopka .foot-cta p { font-size: 16px; line-height: 1.6; margin: 6px 0 22px; max-width: 22em; }

#stopka .foot-bottom { display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; margin-top: 52px; padding: 14px 0 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
#stopka .foot-bottom > span { margin-right: auto; }
#stopka .foot-top span { display: inline-block; margin-left: 6px; transition: transform .35s var(--ease); }
#stopka .foot-top:hover span { transform: translateY(-3px); }

/* ---------- mniejsze okna ---------- */
@media (max-width: 1100px) {
  #stopka .foot-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 30px; }
  #stopka .foot-cta { grid-column: 2 / 4; }
}
@media (max-width: 760px) {
  #stopka .foot-scene { min-height: clamp(240px, 54vw, 330px); align-items: start; }
  #stopka .foot-mission { font-size: clamp(30px, 8.5vw, 44px); }
  #stopka .foot-heading { padding-top: 26px; }
  #stopka .foot-art { object-position: 42% center; }
  #stopka .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 34px; gap: 34px 22px; }
  #stopka .foot-brand, #stopka .foot-cta { grid-column: 1 / -1; }
}
/* telefon: wszystkie kolumny w pionie */
@media (max-width: 560px) {
  #stopka .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  #stopka .foot-nav, #stopka .foot-cta { padding-top: 16px; border-top: 1px solid var(--line); }
  #stopka .foot-grid h3 { margin-bottom: 4px; font-size: 12px; color: var(--ink); }
  #stopka .foot-cta .btn { width: 100%; justify-content: space-between; }
  #stopka .foot-bottom { column-gap: 22px; margin-top: 36px; }
  #stopka .foot-bottom > span { width: 100%; margin-right: 0; padding: 10px 0 2px; }
}

/* bieżąca strona (aria-current ustawia main.js na podstronach) */
#stopka .foot-nav a[aria-current] { color: var(--ink); background-size: 100% 1px; }


#stopka{background:#201c1b;color:#f8f1e8;isolation:isolate}#stopka .foot-art{z-index:-2;object-position:68% center}#stopka::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#201b19ed,#201b19bc 32%,transparent 70%);z-index:-1}
#stopka .foot-scene,#stopka .foot-body{background:transparent}#stopka .foot-grid,#stopka .foot-grid a,#stopka .foot-grid h3,#stopka .foot-grid small {color:#f4e9db}#stopka .foot-second{color:#f4e9db;font-size:clamp(1.2rem,2.2vw,2rem);margin-top:1rem}.lp-footer-wheel{width:clamp(190px,27vw,390px);height:auto}

/* telefon i mały tablet: stopka jest wysoka, a panorama rozciągnięta na całą jej wysokość wchodziła jasnym szczytem pod adres
   i e-mail. Tutaj panorama zostaje w górnej części (pod hasłem) i miękko gaśnie w jednolite ciemne tło, na którym leżą dane
   i odsyłacze; górę sceny przyciemnia pas pod hasłem (przegląd 27.11.2026). */
@media (max-width: 760px) {
  #stopka { --fa: clamp(330px, 88vw, 560px); }
  #stopka .foot-art { inset: 0 0 auto 0; height: var(--fa); object-position: 74% 30%; }
  #stopka::before { background: linear-gradient(180deg, transparent 0, transparent calc(var(--fa) * .5), #201b19 calc(var(--fa) - 1px), #201b19 100%); }
  #stopka .foot-scene::after { background: linear-gradient(180deg, #211c1be0 0, #211c1bbd 48%, transparent 84%); }
}
