/* ==========================================================================
   Foodini — strona główna foodini.com.pl

   Witryna dla dwóch czytelników naraz: klienta, który ma pobrać aplikację,
   i restauracji, która ma zrozumieć, jak działa kolejka. Barwy i kroje te same
   co w aplikacji i portalu: granat, musztarda, krem, Archivo.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/shared/fonty/archivo-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: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/shared/fonty/archivo-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: 'Martian Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/shared/fonty/martian-mono-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: 'Martian Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/shared/fonty/martian-mono-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;
}

:root {
  --atrament: #14245C;
  --atrament-glebia: #0E1A45;
  --kobalt: #2B49B8;
  --musztarda: #E8B33C;
  --musztarda-ciemna: #16130F;
  --krem: #F3EEE4;
  --papier: #FBF8F2;
  --biel: #FFFFFF;
  --linia: #E4DDCF;
  --cien: #5B6488;
  --zielen: #1B7A4C;
  --czerwien-pola: #B3261E;

  /* Makieta kiosku — te same barwy co prawdziwy tablet. */
  --kiosk-tlo: #0D1328;
  --kiosk-pasek: #172050;
  --kiosk-karta: #1D2758;
  --kiosk-linia: #2A356C;
  --kiosk-tekst: #E7EAF6;
  --kiosk-cien: #9AA3C7;

  --krok: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Martian Mono', ui-monospace, monospace;
  --szybko: 180ms;
  --plynnie: 320ms;
  --wyjscie: cubic-bezier(.2, .8, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--papier); color: var(--atrament);
  font: 17px/1.6 var(--krok);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--musztarda); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wnetrze { width: min(1140px, 100% - 40px); margin-inline: auto; }

.pomin {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--musztarda); color: var(--musztarda-ciemna); padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.pomin:focus { top: 12px; }

/* --- Znak ---------------------------------------------------------------- */

.znak {
  font-weight: 800; font-size: 20px; letter-spacing: .06em; text-decoration: none;
  line-height: 1;
}
.znak span { color: var(--musztarda); }

/* --- Pasek górny --------------------------------------------------------- */

.gora {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--atrament) 94%, transparent);
  backdrop-filter: blur(10px); color: var(--biel);
}
.gora-wnetrze {
  width: min(1140px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; gap: 28px; min-height: 64px;
}
.gora nav { display: flex; gap: 6px; margin-left: auto; }
.gora nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px;
  border-radius: 10px; opacity: .85; transition: opacity var(--szybko), background var(--szybko);
}
.gora nav a:hover { opacity: 1; background: rgb(255 255 255 / .08); }
.zaloguj {
  text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 16px;
  border: 1.5px solid rgb(255 255 255 / .35); border-radius: 11px; min-height: 44px;
  display: inline-flex; align-items: center; transition: border-color var(--szybko), background var(--szybko);
}
.zaloguj:hover { border-color: var(--musztarda); background: rgb(255 255 255 / .06); }

/* --- Przyciski ----------------------------------------------------------- */

.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 13px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform var(--szybko) var(--wyjscie), background var(--szybko), box-shadow var(--szybko);
}
.przycisk:active { transform: translateY(1px) scale(.99); }
.przycisk svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.przycisk.glowny { background: var(--atrament); color: var(--biel); }
.przycisk.glowny:hover { background: var(--kobalt); }
.przycisk.drugi { background: transparent; color: var(--atrament); box-shadow: inset 0 0 0 2px var(--atrament); }
.przycisk.drugi:hover { background: var(--atrament); color: var(--biel); }
.przycisk.musztarda { background: var(--musztarda); color: var(--musztarda-ciemna); }
.przycisk.musztarda:hover { background: #F1C25A; box-shadow: 0 8px 22px -10px rgb(232 179 60 / .8); }
.przycisk.duzy { min-height: 58px; padding: 14px 28px; font-size: 18px; }

.podtytul {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cien); margin-bottom: 12px;
}

/* --- Bohater ------------------------------------------------------------- */

.bohater {
  background:
    radial-gradient(900px 400px at 85% -10%, rgb(232 179 60 / .22), transparent 70%),
    var(--krem);
  padding: 72px 0 64px;
}
.bohater h1 { font-size: clamp(38px, 6.2vw, 72px); font-weight: 800; max-width: 21ch; }
.bohater h1 em { font-style: normal; color: var(--kobalt); }
.wstep { font-size: clamp(17px, 1.6vw, 20px); color: var(--cien); max-width: 56ch; margin-top: 22px; }
.wybor { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dalej {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; min-height: 44px;
  font-weight: 600; font-size: 15px; color: var(--cien); text-decoration: none;
}
.dalej:hover { color: var(--atrament); }
.dalej svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Prezentacja --------------------------------------------------------- */

.pokaz { padding: 80px 0; }
.pokaz h2, .restauracje h2, .pobierz h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.pokaz-glowa { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }

.rola {
  display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px;
  background: var(--krem); box-shadow: inset 0 0 0 1px var(--linia);
}
.rola button {
  border: 0; background: transparent; min-height: 44px; padding: 8px 16px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--cien);
  transition: background var(--szybko), color var(--szybko);
}
.rola button[aria-checked="true"] { background: var(--atrament); color: var(--biel); }
.rola button:not([aria-checked="true"]):hover { color: var(--atrament); }

.kroki {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 34px 0 24px;
  counter-reset: krok;
}
.kroki button {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 10px 14px; border: 0; border-radius: 14px;
  background: var(--biel); box-shadow: inset 0 0 0 1px var(--linia);
  text-align: left; font-weight: 600; font-size: 15px; color: var(--cien);
  transition: background var(--szybko), color var(--szybko), box-shadow var(--szybko);
}
.kroki button b {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--krem); color: var(--atrament); font-family: var(--mono); font-size: 13px;
  transition: background var(--szybko), color var(--szybko);
}
.kroki button:hover { color: var(--atrament); box-shadow: inset 0 0 0 1.5px var(--atrament); }
.kroki button[data-za="1"] b { background: var(--atrament); color: var(--biel); }
.kroki button[aria-selected="true"] { background: var(--atrament); color: var(--biel); box-shadow: none; }
.kroki button[aria-selected="true"] b { background: var(--musztarda); color: var(--musztarda-ciemna); }

.scena {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center;
  background: var(--atrament-glebia); border-radius: 28px; padding: 36px;
  background-image: radial-gradient(600px 300px at 20% 0%, rgb(43 73 184 / .45), transparent 70%);
}
.urzadzenia { display: grid; grid-template-columns: 30% 1fr; gap: 30px; align-items: center; }
.urzadzenia figure {
  margin: 0; container-type: inline-size;
  transition: opacity var(--plynnie), transform var(--plynnie) var(--wyjscie);
}
.urzadzenia figcaption {
  margin-top: 12px; text-align: center; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #9AA3C7;
}
.scena[data-wazne="klient"] .tablet,
.scena[data-wazne="restauracja"] .telefon { opacity: .55; transform: scale(.97); }

/* Obudowy urządzeń. Jednostki cqw liczone od szerokości figury, więc ramka,
   przyciski i kamera skalują się razem z urządzeniem. Ekran jest osobnym
   kontenerem — jego zawartość liczy się od szerokości samego ekranu. */
.obudowa {
  position: relative;
  background: linear-gradient(160deg, #1F2330 0%, #07080C 55%, #14171F 100%);
  box-shadow:
    inset 0 0 0 .35cqw #454B5C,          /* metalowy brzeg */
    inset 0 0 0 .7cqw #0B0D13,
    0 1.2cqw 2.4cqw -1cqw rgb(0 0 0 / .5),
    0 30px 60px -24px rgb(0 0 0 / .75);
}
.obudowa::before, .obudowa::after {
  content: ''; position: absolute; border-radius: 1cqw;
  background: linear-gradient(90deg, #2A2F3B, #4B5163 50%, #2A2F3B);
}

.telefon-obudowa { padding: 3.2cqw; border-radius: 14cqw; }
/* Przycisk zasilania po prawej, głośność po lewej. */
.telefon-obudowa::before { right: -1.3cqw; top: 25%; width: 1.4cqw; height: 9%; }
.telefon-obudowa::after { left: -1.3cqw; top: 17%; width: 1.4cqw; height: 15%; }
.telefon-ekran {
  container-type: inline-size; position: relative;
  aspect-ratio: 9 / 18.6; border-radius: 11cqw; overflow: hidden;
  background: var(--papier); color: var(--atrament);
}
.pasek-systemowy {
  position: absolute; z-index: 2; left: 3.2cqw; right: 3.2cqw; top: 3.2cqw; height: 9.5cqw;
  display: flex; align-items: center; justify-content: space-between; padding: 0 8cqw;
  color: var(--biel); font-size: 3.6cqw; font-weight: 600; letter-spacing: .02em;
}
.pasek-systemowy .ikony { display: flex; align-items: center; gap: 1.4cqw; }
.pasek-systemowy svg { width: 4cqw; height: 3.2cqw; fill: currentColor; }
.pasek-systemowy svg:last-child { width: 6cqw; }
.telefon-obudowa .kamera {
  position: absolute; z-index: 3; top: calc(3.2cqw + 2.8cqw); left: 50%; translate: -50% 0;
  width: 3.8cqw; height: 3.8cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2B3550 0 18%, #05060A 30%);
  box-shadow: 0 0 0 .5cqw #0B0D13;
}
.gest {
  position: absolute; z-index: 2; bottom: calc(3.2cqw + 2.2cqw); left: 50%; translate: -50% 0;
  width: 30cqw; height: 1.2cqw; border-radius: 9px; background: rgb(20 36 92 / .35);
}

.tablet-obudowa { padding: 3.4cqw; border-radius: 4.6cqw; }
/* Głośność i zasilanie na górnej krawędzi, jak w tabletach z Androidem. */
.tablet-obudowa::before { top: -.9cqw; right: 12%; width: 8cqw; height: 1cqw; }
.tablet-obudowa::after { top: -.9cqw; right: 25%; width: 4.5cqw; height: 1cqw; }
.tablet-obudowa .kamera {
  position: absolute; top: 1.3cqw; left: 50%; translate: -50% 0;
  width: 1.1cqw; height: 1.1cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2B3550 0 20%, #05060A 35%);
  box-shadow: 0 0 0 .25cqw #1A1D26;
}
.tablet-ekran {
  container-type: inline-size;
  aspect-ratio: 16 / 10; border-radius: .8cqw; overflow: hidden;
  background: var(--kiosk-tlo); color: var(--kiosk-tekst);
}

.opis { color: var(--biel); }
.opis-numer { font-family: var(--mono); font-size: 13px; color: var(--musztarda); letter-spacing: .04em; margin-bottom: 10px; }
.opis h3 { font-size: 28px; font-weight: 800; }
.opis p#opis-tresc { color: #C9CFE6; margin-top: 12px; font-size: 17px; min-height: 6.4em; }
.nawigacja { display: flex; gap: 10px; margin-top: 24px; }
.nawigacja .przycisk.glowny { background: var(--musztarda); color: var(--musztarda-ciemna); flex: 1; }
.nawigacja .przycisk.glowny:hover { background: #F1C25A; }
.strzalka {
  flex: none; width: 50px; height: 50px; border-radius: 13px; border: 0;
  background: rgb(255 255 255 / .1); color: var(--biel); display: grid; place-items: center;
  transition: background var(--szybko);
}
.strzalka:hover:not(:disabled) { background: rgb(255 255 255 / .18); }
.strzalka:disabled { opacity: .35; cursor: default; }
.strzalka svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Zmiana ekranu: krótkie wejście od dołu. Wyjście nie jest animowane — nowy
   stan ma się pojawić od razu, a nie czekać na zniknięcie starego. */
.wchodzi { animation: wejscie var(--plynnie) var(--wyjscie) both; }
@keyframes wejscie { from { opacity: 0; transform: translateY(8px); } }
.puls { animation: puls 1.4s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(1.06); } }

/* --- Ekran telefonu (jednostki cqw — skalują się z makietą) --------------- */

.t-pasek {
  background: var(--atrament); color: var(--biel); padding: 13cqw 7cqw 4cqw;
  display: flex; justify-content: space-between; align-items: center;
}
.t-pasek .znak { font-size: 6cqw; }
.t-pasek small { font-size: 4cqw; opacity: .8; }
.t-tresc { padding: 5cqw; display: grid; gap: 3.2cqw; }
.t-naglowek { font-size: 7cqw; font-weight: 800; line-height: 1.1; }
.t-szary { font-size: 3.8cqw; color: var(--cien); }
.t-etykieta { font-size: 3.4cqw; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cien); margin-top: 1cqw; }
.t-danie {
  display: grid; grid-template-columns: 15cqw 1fr auto; gap: 3cqw; align-items: center;
  background: var(--biel); border-radius: 4cqw; padding: 3cqw; box-shadow: 0 0 0 .4cqw var(--linia);
}
.t-danie i { width: 15cqw; height: 15cqw; border-radius: 3cqw; background: var(--krem); display: block; }
.t-danie i.zupa { background: radial-gradient(circle at 50% 50%, #D9502E 42%, #F6E9D2 44%); }
.t-danie i.pierogi { background: radial-gradient(ellipse 40% 26% at 38% 45%, #F2DDB0 90%, transparent 94%), radial-gradient(ellipse 40% 26% at 62% 60%, #EBCF96 90%, transparent 94%), #F6E9D2; }
.t-danie i.schab { background: radial-gradient(ellipse 36% 28% at 50% 50%, #B8752F 90%, transparent 94%), #F6E9D2; }
.t-danie b { font-size: 4.3cqw; display: block; line-height: 1.2; }
.t-danie span { font-family: var(--mono); font-size: 3.6cqw; color: var(--cien); }
.t-plus {
  width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--atrament); color: var(--biel);
  display: grid; place-items: center; font-size: 6cqw; font-weight: 600; line-height: 1;
}
.t-plus.dotyk { background: var(--musztarda); color: var(--musztarda-ciemna); box-shadow: 0 0 0 2.4cqw rgb(232 179 60 / .35); }
.t-opcja {
  border-radius: 3.6cqw; padding: 3cqw 4cqw; background: var(--biel); box-shadow: 0 0 0 .4cqw var(--linia);
  font-size: 4.2cqw; font-weight: 600;
}
.t-opcja small { display: block; font-weight: 400; font-size: 3.4cqw; color: var(--cien); }
.t-opcja.wybrana { background: #E6EBFA; box-shadow: 0 0 0 .6cqw var(--kobalt); }
.t-blik { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.6cqw; }
.t-blik span {
  aspect-ratio: 3 / 4; border-radius: 2cqw; background: var(--biel); box-shadow: 0 0 0 .4cqw var(--linia);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 5cqw;
}
.t-guzik {
  background: var(--atrament); color: var(--biel); border-radius: 4cqw; padding: 4cqw;
  text-align: center; font-weight: 700; font-size: 4.4cqw; margin-top: 1cqw;
}
.t-guzik.dotyk { background: var(--musztarda); color: var(--musztarda-ciemna); }
.t-bilet {
  background: var(--biel); border-radius: 5cqw; padding: 6cqw 5cqw; text-align: center;
  box-shadow: 0 0 0 .4cqw var(--linia); display: grid; gap: 2.4cqw; justify-items: center;
}
.t-bilet .t-numer { font-size: 30cqw; font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.t-status {
  display: inline-flex; align-items: center; gap: 2cqw; border-radius: 99px; padding: 2cqw 4cqw;
  background: #E6EBFA; font-weight: 600; font-size: 4cqw;
}
.t-status::before { content: ''; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--kobalt); }
.t-status.zolty { background: #FDF0D2; } .t-status.zolty::before { background: #C98A0B; }
.t-status.zielony { background: #DDF1E6; color: #12593A; } .t-status.zielony::before { background: var(--zielen); }
.t-sygnal {
  background: var(--musztarda); color: var(--musztarda-ciemna); border-radius: 4cqw; padding: 4cqw;
  text-align: center; font-weight: 800; font-size: 5cqw;
}
.t-postep { height: 2cqw; border-radius: 9px; background: var(--krem); overflow: hidden; width: 100%; }
.t-postep i { display: block; height: 100%; width: 55%; background: var(--kobalt); border-radius: inherit; }
.t-wiersz { display: flex; justify-content: space-between; width: 100%; font-size: 3.8cqw; }
.t-wiersz b { font-family: var(--mono); }
.t-na-zywo {
  display: flex; align-items: center; justify-content: center; gap: 2cqw;
  font-size: 3.6cqw; color: var(--cien); margin-top: 2cqw;
}
.t-na-zywo::before { content: ''; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #2DBE73; }

/* --- Ekran tabletu ------------------------------------------------------- */

.k-pasek {
  background: var(--kiosk-pasek); display: flex; align-items: center; gap: 1.6cqw;
  padding: 1.6cqw 2.4cqw; border-bottom: .15cqw solid var(--kiosk-linia);
}
.k-pasek .znak { font-size: 2.6cqw; }
.k-pasek small { font-size: 2cqw; color: var(--kiosk-cien); }
.k-otwarte {
  margin-left: auto; display: inline-flex; align-items: center; gap: .8cqw;
  background: rgb(27 122 76 / .25); color: #4CD38E; border-radius: 99px; padding: .7cqw 1.6cqw;
  font-size: 1.8cqw; font-weight: 600;
}
.k-otwarte::before { content: ''; width: 1cqw; height: 1cqw; border-radius: 50%; background: currentColor; }
.k-kolumny { display: grid; grid-template-columns: repeat(3, 1fr); height: calc(100% - 6cqw); }
.k-kolumna { border-right: .15cqw solid var(--kiosk-linia); padding: 1.6cqw; display: grid; align-content: start; gap: 1.4cqw; }
.k-kolumna:last-child { border-right: 0; }
.k-tytul {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.6cqw; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kiosk-cien);
}
.k-tytul b {
  font-family: var(--mono); font-size: 1.7cqw; min-width: 3.4cqw; text-align: center;
  background: var(--kiosk-karta); color: var(--kiosk-tekst); border-radius: .8cqw; padding: .2cqw .8cqw;
}
.k-tytul b.jest { background: var(--musztarda); color: var(--musztarda-ciemna); }
.k-pusto { text-align: center; color: var(--kiosk-cien); font-size: 2cqw; padding-top: 7cqw; }
.k-karta {
  background: var(--kiosk-karta); border-radius: 1.6cqw; padding: 1.8cqw;
  box-shadow: inset .6cqw 0 0 var(--musztarda); display: grid; gap: 1.1cqw;
}
.k-karta.realizacja { box-shadow: inset .6cqw 0 0 var(--kobalt); }
.k-karta.gotowe { box-shadow: inset .6cqw 0 0 #4CD38E; }
.k-glowa { display: flex; justify-content: space-between; align-items: baseline; }
.k-numer { font-size: 5.6cqw; font-weight: 800; line-height: 1; }
.k-glowa small { font-size: 1.8cqw; color: var(--kiosk-cien); font-family: var(--mono); }
.k-znaczki { display: flex; gap: .8cqw; }
.k-znaczki span { font-size: 1.5cqw; font-weight: 700; letter-spacing: .06em; background: #26357A; color: #B8C4F5; border-radius: .6cqw; padding: .4cqw .9cqw; }
.k-pozycja { font-size: 2.3cqw; }
.k-pozycja b { font-family: var(--mono); margin-right: 1cqw; }
.k-kwota { display: flex; justify-content: space-between; font-size: 1.8cqw; color: var(--kiosk-cien); border-top: .15cqw solid var(--kiosk-linia); padding-top: 1cqw; }
.k-kwota b { font-family: var(--mono); color: var(--kiosk-tekst); font-size: 2.3cqw; }
.k-czasy { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; }
.k-czasy span { background: #26357A; border-radius: 1cqw; padding: 1.1cqw 0; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 2.2cqw; }
.k-czasy span.dotyk { background: var(--musztarda); color: var(--musztarda-ciemna); box-shadow: 0 0 0 .8cqw rgb(232 179 60 / .3); }
.k-guzik { border-radius: 1cqw; padding: 1.4cqw; text-align: center; font-weight: 700; font-size: 2.2cqw; background: #26357A; }
.k-guzik.dotyk { background: #1B7A4C; color: var(--biel); box-shadow: 0 0 0 .8cqw rgb(76 211 142 / .25); }
.k-gong {
  display: inline-flex; align-items: center; gap: .8cqw; justify-self: start;
  color: var(--musztarda); font-size: 1.8cqw; font-weight: 700;
}
.k-gong svg { width: 2.4cqw; height: 2.4cqw; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* --- Dla restauracji ----------------------------------------------------- */

.restauracje { background: var(--krem); padding: 80px 0; }
.restauracje h2 { max-width: 30ch; }
.karty { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.karty li { background: var(--biel); border-radius: 20px; padding: 26px 24px; box-shadow: inset 0 0 0 1px var(--linia); }
.karty svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--atrament);
  fill: none; stroke: var(--musztarda); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.karty h3 { font-size: 20px; font-weight: 700; margin: 18px 0 8px; }
.karty p { color: var(--cien); font-size: 16px; }

.kontakt {
  margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px 48px;
  background: var(--biel); border-radius: 20px; padding: 34px; box-shadow: inset 0 0 0 1px var(--linia);
}
.kontakt h3 { font-size: 28px; font-weight: 800; }
.kontakt-opis p { color: var(--cien); margin-top: 10px; }
.kontakt-linki { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
.kontakt-linki .przycisk { overflow-wrap: anywhere; }

/* --- Formularz kontaktowy ------------------------------------------------ */

.formularz { display: grid; gap: 14px; }
.pola { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pole { display: grid; gap: 6px; align-content: start; }
.pole.szerokie { grid-column: 1 / -1; }
.pole label { font-size: 14px; font-weight: 600; }
.formularz input:not([type="checkbox"]), .formularz textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid var(--linia); background: var(--papier); color: var(--atrament);
  font: inherit; font-size: 16px;
  transition: border-color var(--szybko), background var(--szybko), box-shadow var(--szybko);
}
.formularz textarea { min-height: 124px; resize: vertical; }
.formularz input::placeholder, .formularz textarea::placeholder { color: #7C839F; }
.formularz input:not([type="checkbox"]):focus-visible, .formularz textarea:focus-visible {
  outline: none; border-color: var(--kobalt); background: var(--biel); box-shadow: 0 0 0 3px rgb(43 73 184 / .18);
}
.formularz [aria-invalid="true"] { border-color: var(--czerwien-pola) !important; background: #FFF6F5 !important; }
.blad-pola { color: var(--czerwien-pola); font-size: 14px; font-weight: 600; }
.podpowiedz { color: var(--cien); font-size: 14px; margin-top: -4px; }
.zgoda { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--cien); cursor: pointer; }
.zgoda input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--atrament); cursor: pointer; }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formularz .przycisk { justify-self: start; }
.formularz .przycisk[disabled] { opacity: .65; cursor: progress; }
.formularz-wynik:empty { display: none; }
.formularz-wynik { font-size: 15px; font-weight: 600; color: var(--czerwien-pola); }
.podziekowanie { align-self: center; background: #E5F3EB; color: #12593A; border-radius: 16px; padding: 30px; }
.podziekowanie h4 { margin: 0 0 8px; font-size: 22px; }
.podziekowanie:focus { outline: none; }

/* --- Pobieranie ---------------------------------------------------------- */

.pobierz { padding: 88px 0; }
.pobierz .wnetrze {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  background: var(--atrament); color: var(--biel); border-radius: 28px; padding: 52px;
  background-image: radial-gradient(500px 260px at 100% 0%, rgb(232 179 60 / .2), transparent 70%);
}
.pobierz .podtytul { color: #B9C1E0; }
.pobierz-tekst > p:not(.podtytul):not(.drobne) { color: #D3D8EC; margin-top: 14px; max-width: 48ch; font-size: 18px; }
.pobierz-przyciski { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.sklep {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 20px;
  border-radius: 13px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); color: var(--biel);
  text-decoration: none;
}
a.sklep:hover { box-shadow: inset 0 0 0 1.5px var(--musztarda); }
.sklep svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sklep > span { display: grid; line-height: 1.15; }
.sklep small { font-size: 12px; opacity: .8; }
.sklep b { font-size: 16px; }
.drobne { margin-top: 18px; font-size: 14px; color: #AEB6D6; max-width: 56ch; }
.qr { margin: 0; text-align: center; }
.qr img {
  width: 208px; height: 208px; padding: 16px; background: var(--biel); border-radius: 20px;
  image-rendering: pixelated;
}
.qr figcaption { margin-top: 12px; font-size: 14px; color: #D3D8EC; }

/* --- Stopka -------------------------------------------------------------- */

.stopka { background: var(--atrament-glebia); color: #C9CFE6; padding: 36px 0; }
.stopka .wnetrze { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.stopka .znak { color: var(--biel); font-size: 18px; }
.stopka nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.stopka nav a { font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.stopka nav a:hover { color: var(--biel); text-decoration: underline; }
.stopka small { margin-left: auto; font-size: 14px; }

/* --- Szerokości ---------------------------------------------------------- */

@media (max-width: 1040px) {
  .scena { grid-template-columns: 1fr; }
  .opis p#opis-tresc { min-height: 0; }
  .karty { grid-template-columns: repeat(2, 1fr); }
  .kontakt { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .gora nav { display: none; }
  .zaloguj { margin-left: auto; }
  .bohater { padding: 48px 0 44px; }
  .wybor .przycisk { flex: 1 1 100%; }
  .pokaz, .restauracje { padding: 56px 0; }
  .kroki { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .kroki button { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 2px; font-size: 12px; min-height: 64px; text-align: center; }
  .scena { padding: 20px; border-radius: 22px; gap: 22px; }
  .urzadzenia { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .telefon { width: min(62%, 240px); }
  .tablet { width: calc(100% - 22px); }
  .scena[data-wazne="klient"] .tablet,
  .scena[data-wazne="restauracja"] .telefon { opacity: 1; transform: none; }
  .scena[data-wazne="restauracja"] .urzadzenia .tablet { order: -1; }
  .opis h3 { font-size: 24px; }
  .karty { grid-template-columns: 1fr; }
  .kontakt { padding: 24px 20px; }
  .kontakt h3 { font-size: 24px; }
  .kontakt-linki { align-items: stretch; }
  .pola { grid-template-columns: 1fr; }
  .formularz .przycisk { justify-self: stretch; }
  .pobierz { padding: 56px 0; }
  .pobierz .wnetrze { grid-template-columns: 1fr; padding: 30px 22px; width: calc(100% - 24px); }
  .pobierz-przyciski > * { flex: 1 1 100%; justify-content: center; }
  /* Na telefonie kodu nie ma kto zeskanować — przycisk wystarcza. */
  .qr { display: none; }
  .stopka small { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
